
:root { --ink: #251a15; --red: #7a201d; --linen: #cdbb95; --gold: #a88142; }
* { box-sizing: border-box; }
html { background: #211a16; }
body { margin: 0; color: var(--ink); font-family: Georgia, "Times New Roman", serif; }
button { font: inherit; }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 48px);
  border-bottom: 1px solid #e4e2dc;
  background: rgba(250, 250, 248, .82);
  backdrop-filter: blur(10px);
  font: 500 14px/1.2 Arial, sans-serif;
}
.nav a { color: #141414; text-decoration: none; }
.nav a:hover { color: #3f7ff4; }
.nav .home { font-weight: 500; }

.tapestry-shell {
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(68,42,22,.12) 1px, transparent 1px),
    linear-gradient(rgba(68,42,22,.09) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, #e2d5b6 0, #cbb993 52%, #ac9872 100%);
  background-size: 4px 4px, 4px 4px, auto;
  box-shadow: inset 0 0 120px rgba(37,24,17,.45);
  padding: 34px clamp(24px, 5vw, 82px) 24px;
  position: relative;
}
.tapestry-shell::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .42; mix-blend-mode: multiply;
  background-image: repeating-linear-gradient(7deg, transparent 0 8px, rgba(63,43,29,.08) 9px 10px);
}
.masthead { max-width: 1400px; margin: auto; display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 20px; }
.sigil { width: 58px; height: 58px; border: 1px solid var(--red); outline: 1px solid var(--red); outline-offset: -6px; border-radius: 50%; display: grid; place-items: center; color: var(--red); font-weight: 700; font-size: 24px; transform: rotate(-9deg); }
.eyebrow, .section-heading p { margin: 0; text-transform: uppercase; letter-spacing: .24em; font: 700 11px/1.4 Arial, sans-serif; color: var(--red); }
h1 { margin: 2px 0 0; font-weight: 400; font-size: clamp(28px, 3vw, 48px); line-height: .95; letter-spacing: .02em; }
.folio { text-align: right; text-transform: uppercase; letter-spacing: .14em; font: 10px/1.7 Arial, sans-serif; }
.rule { max-width: 1400px; margin: 23px auto 20px; height: 10px; border-top: 1px solid rgba(79,43,26,.6); position: relative; text-align: center; }
.rule span { background: #cdbc97; color: var(--red); padding: 0 14px; position: relative; top: -9px; }

.workspace { max-width: 1400px; min-height: 680px; margin: auto; display: grid; grid-template-columns: minmax(270px, 390px) 1fr; border: 1px solid rgba(70,40,24,.42); background: rgba(218,204,173,.28); box-shadow: 0 20px 60px rgba(47,28,18,.16); }
.dragon-index { border-right: 1px solid rgba(70,40,24,.4); padding: 28px 26px 22px; display: flex; flex-direction: column; }
.section-heading { display: flex; gap: 14px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid rgba(70,40,24,.25); }
.section-heading > span { color: var(--gold); font: 19px/1 Georgia, serif; }
.section-heading small { color: #655345; font: italic 12px/1.5 Georgia, serif; }
nav { padding: 12px 0; flex: 1; }
.dragon-option { width: 100%; min-height: 49px; border: 0; border-bottom: 1px solid rgba(80,51,32,.16); color: #44352b; background: transparent; cursor: pointer; display: grid; grid-template-columns: 36px 1fr auto; align-items: center; text-align: left; transition: .25s ease; padding: 0 10px; position: relative; }
.dragon-option::before { content: ""; position: absolute; left: -26px; top: 6px; bottom: 6px; width: 3px; background: var(--red); transform: scaleY(0); transition: .25s; }
.dragon-option:hover { color: var(--red); padding-left: 15px; }
.dragon-option.active { background: rgba(122,32,29,.09); color: var(--red); }
.dragon-option.active::before { transform: scaleY(1); }
.dragon-option .index { font: 9px/1 Arial, sans-serif; letter-spacing: .1em; opacity: .55; }
.dragon-option .name { font-size: 20px; }
.stitch-mark { letter-spacing: 2px; font: 9px Arial, sans-serif; opacity: 0; transition: .25s; }
.active .stitch-mark { opacity: .8; }
.technique { margin: 10px 0 0; font-size: 11px; font-style: italic; color: #5d4d41; line-height: 1.7; }
.technique span { display: block; text-transform: uppercase; font: 700 9px Arial, sans-serif; letter-spacing: .18em; color: var(--red); }

.embroidery-station { position: relative; padding: 28px clamp(20px, 4vw, 58px) 24px; display: flex; flex-direction: column; align-items: center; }
.stage-heading { width: 100%; }
.stage-heading div { margin-right: auto; }
.replay { border: 1px solid rgba(94,54,30,.4); background: transparent; padding: 8px 12px; color: var(--red); text-transform: uppercase; letter-spacing: .12em; font: 700 9px Arial, sans-serif; cursor: pointer; }
.replay:hover { background: rgba(122,32,29,.08); }
.hoop { width: min(520px, 64vh, 70vw); aspect-ratio: 1; margin: 28px auto 14px; position: relative; filter: drop-shadow(0 22px 20px rgba(47,28,15,.25)); }
.hoop-ring { width: 100%; height: 100%; border: clamp(13px, 1.5vw, 19px) solid #714a27; border-radius: 50%; padding: 8px; background: linear-gradient(125deg, #a67843, #5c381d 35%, #9f7340 60%, #583419); box-shadow: inset 0 0 0 3px #d3a667, inset 0 0 0 8px #543117, 0 0 0 2px #3f2818; }
.fabric { width: 100%; height: 100%; overflow: hidden; position: relative; border-radius: 50%; background: repeating-linear-gradient(90deg, rgba(85,55,37,.10) 0 1px, transparent 1px 4px), repeating-linear-gradient(0deg, rgba(85,55,37,.08) 0 1px, transparent 1px 4px), #c9b68f; box-shadow: inset 0 0 35px rgba(67,43,28,.35); }
.fabric::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 35px rgba(61,38,22,.4); pointer-events: none; }
.guide { position: absolute; border: 1px dashed rgba(92,55,32,.14); border-radius: 50%; }
.guide-one { inset: 12%; }.guide-two { inset: 18%; }
.hoop-clasp { position: absolute; width: 34px; height: 49px; border: 4px solid #6b4727; border-bottom: 0; border-radius: 5px 5px 0 0; background: #a47743; left: 50%; top: -29px; transform: translateX(-50%); z-index: -1; }

.dragon-head { --dragon: #333; --accent: #8d2b28; position: absolute; width: 74%; height: 51%; top: 18%; left: 13%; filter: drop-shadow(2px 3px 0 rgba(63,36,22,.22)); transform-origin: center; }
.head, .neck, .jaw, .horn, .brow { position: absolute; background-color: var(--dragon); background-image: repeating-linear-gradient(8deg, transparent 0 5px, rgba(244,225,185,.19) 6px 8px); }
.neck { width: 45%; height: 48%; right: 7%; bottom: -9%; clip-path: polygon(38% 0, 100% 23%, 82% 100%, 0 100%); }
.head { width: 75%; height: 58%; top: 17%; left: 3%; clip-path: polygon(0 44%, 15% 18%, 46% 4%, 73% 16%, 100% 46%, 83% 70%, 53% 76%, 33% 100%, 14% 83%); }
.jaw { width: 58%; height: 35%; left: 1%; top: 57%; transform: rotate(4deg); clip-path: polygon(0 0, 100% 15%, 83% 70%, 25% 100%, 4% 66%); background-color: color-mix(in srgb, var(--dragon) 76%, #17120f); }
.horn { width: 43%; height: 21%; clip-path: polygon(0 73%, 100% 0, 86% 75%); background-color: var(--accent); }
.horn-one { left: 36%; top: 2%; transform: rotate(-9deg); }.horn-two { left: 49%; top: 9%; transform: rotate(9deg) scale(.75); }
.brow { width: 23%; height: 12%; left: 23%; top: 37%; transform: rotate(-7deg); background-color: var(--accent); clip-path: polygon(0 20%,100% 0,80% 100%,8% 70%); }
.eye { position: absolute; width: 8px; height: 5px; left: 33%; top: 45%; background: #e3bb52; border-radius: 60% 10%; box-shadow: 0 0 7px #d68724; z-index: 4; }
.teeth { position: absolute; width: 34%; height: 9%; left: 6%; top: 69%; z-index: 4; background: repeating-linear-gradient(105deg, #d9cba7 0 3px, transparent 3px 8px); clip-path: polygon(0 0,100% 0,90% 100%,4% 70%); }
.badge-copy { position: absolute; bottom: 8%; left: 12%; right: 12%; text-align: center; color: var(--red); text-shadow: 1px 1px rgba(237,220,181,.4); }
.badge-copy span { display: block; text-transform: uppercase; letter-spacing: .24em; font: 700 8px Arial, sans-serif; }
.badge-copy strong { display: block; font-size: clamp(25px, 3.2vw, 42px); font-weight: 400; line-height: 1; margin: 4px 0; }
.badge-copy em { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; }

.caraxes { transform: rotate(-4deg) scaleX(1.08); }.caraxes .neck { height: 76%; width: 28%; right: 10%; bottom: -36%; }
.vhagar .head { transform: scaleY(1.18); }.vhagar .horn { opacity: .55; transform: scale(.65); }
.vermithor .horn-one { transform: rotate(-22deg) scale(1.2); }.vermithor .brow { width: 34%; }
.dreamfyre .head { transform: scale(.92); }.dreamfyre .horn { height: 30%; }
.meleys .horn-one { transform: rotate(-30deg) scale(1.35); }.meleys .horn-two { transform: rotate(24deg); }
.seasmoke .head { transform: scaleX(.9); }.seasmoke .horn { width: 50%; height: 14%; }
.syrax .head { transform: scale(.9) rotate(3deg); }
.drogon .head { transform: scaleY(1.08); }.drogon .horn-one { width: 52%; }
.rhaegal .head { transform: scaleX(1.02) rotate(2deg); }

.sewing .dragon-head { animation: reveal-head 2.55s .35s both; }
.sewing .dragon-head::after { content:""; position:absolute; inset:-2%; background:#c8b58e; animation: stitch-away 2.6s .25s steps(18) both; z-index:9; }
.sewing .badge-copy { animation: letters 1s 2.7s both; }
.needle { display: none; position: absolute; z-index: 12; width: 3px; height: 42px; background: linear-gradient(#eee2bf,#5f574e); box-shadow: 8px 28px 0 -1px var(--red); transform: rotate(28deg); }
.needle i { position: absolute; width: 95px; height: 45px; border: 2px solid var(--red); border-color: var(--red) transparent transparent; border-radius: 50%; top: 34px; left: -2px; }
.sewing .needle { display: block; animation: needle-path 2.7s .2s ease-in-out both; }
@keyframes stitch-away { 0% { clip-path: inset(0); } 100% { clip-path: inset(0 0 0 105%); } }
@keyframes reveal-head { 0% { opacity: .15; filter: grayscale(1) drop-shadow(2px 3px 0 rgba(63,36,22,.1)); } 65% { opacity: .75; } 100% { opacity: 1; } }
@keyframes letters { from { opacity: 0; transform: translateY(8px); clip-path: inset(0 100% 0 0); } to { opacity: 1; transform: none; clip-path: inset(0); } }
@keyframes needle-path { 0% { left: 18%; top: 48%; } 25% { left: 37%; top: 27%; } 50% { left: 63%; top: 39%; } 75% { left: 68%; top: 60%; } 100% { left: 49%; top: 73%; opacity: 0; } }
.stitch-progress { width: min(480px, 95%); display: grid; grid-template-columns: auto 1fr auto 1fr auto; gap: 9px; align-items: center; color: #695546; text-transform: uppercase; letter-spacing: .12em; font: 700 8px Arial, sans-serif; }
.stitch-progress span { display: flex; align-items: center; gap: 6px; }
.stitch-progress i { width: 19px; height: 19px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-style: normal; }
.stitch-progress b { height: 1px; background: rgba(83,52,32,.3); }
.stitch-progress .current, .stitch-progress .done { color: var(--red); }
.sewing + .stitch-progress .fill-step { animation: activate .1s 1.6s forwards; }
.sewing + .stitch-progress .letter-step { animation: activate .1s 2.8s forwards; }
@keyframes activate { to { color: var(--red); opacity: 1; } }

footer { max-width: 1400px; margin: 18px auto 0; display: flex; justify-content: center; gap: 18px; color: #59483c; text-transform: uppercase; letter-spacing: .13em; font: 8px Arial, sans-serif; }
footer span { color: var(--red); }

@media (max-width: 760px) {
  .tapestry-shell { padding: 22px 14px; overflow: auto; }
  .masthead { grid-template-columns: 50px 1fr; }.sigil { width: 44px; height: 44px; }.folio { display: none; }
  .workspace { grid-template-columns: 1fr; }
  .dragon-index { border-right: 0; border-bottom: 1px solid rgba(70,40,24,.4); padding: 20px; }
  nav { display: grid; grid-template-columns: 1fr 1fr; }
  .dragon-option { min-height: 42px; }.dragon-option::before { left: -20px; }
  .dragon-option .name { font-size: 16px; }.stitch-mark { display: none; }
  .technique { display: none; }.embroidery-station { padding: 20px 12px; }
  .hoop { width: min(88vw, 470px); margin-top: 30px; }
  .replay { padding: 7px; font-size: 8px; }
  footer { flex-wrap: wrap; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; }
}

/* Single-dragon archival study */
.caraxes-page {
  min-height: 100vh;
  padding: 30px clamp(24px, 5vw, 84px) 24px;
  color: #271915;
  background:
    radial-gradient(circle, rgba(63, 127, 244, .16) 1px, transparent 1.4px) 0 0 / 24px 24px,
    #fafaf8;
}
.caraxes-header {
  max-width: 1420px;
  margin: auto;
  display: grid;
  grid-template-columns: 62px 1fr auto;
  align-items: center;
  gap: 20px;
}
.archive-mark {
  width: 53px;
  height: 53px;
  display: grid;
  place-items: center;
  border: 1px solid #76231f;
  border-radius: 50%;
  color: #76231f;
  outline: 1px solid #76231f;
  outline-offset: -6px;
  transform: rotate(-7deg);
}
.archive-mark span { font-size: 17px; letter-spacing: -.08em; }
.kicker, .chapter {
  margin: 0;
  color: #76231f;
  text-transform: uppercase;
  letter-spacing: .25em;
  font: 700 10px/1.4 Arial, sans-serif;
}
.caraxes-header h1 {
  margin: 3px 0 0;
  font: 400 clamp(30px, 3.2vw, 47px)/.9 Georgia, serif;
}
.edition {
  text-align: right;
  text-transform: uppercase;
  letter-spacing: .16em;
  font: 9px/1.7 Arial, sans-serif;
}
.ornament {
  max-width: 1420px;
  height: 10px;
  margin: 23px auto 16px;
  border-top: 1px solid rgba(81, 48, 29, .6);
  text-align: center;
}
.ornament span {
  position: relative;
  top: -9px;
  padding: 0 14px;
  background: #fafaf8;
  color: #76231f;
}
.caraxes-layout {
  max-width: 1420px;
  min-height: 690px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(360px, 460px) 1fr;
  border: 1px solid rgba(75, 43, 25, .45);
  background: rgba(222, 210, 182, .25);
  box-shadow: 0 24px 70px rgba(42, 25, 17, .2);
}
.caraxes-notes {
  padding: clamp(38px, 5vw, 76px) clamp(28px, 4vw, 54px);
  border-right: 1px solid rgba(75, 43, 25, .38);
  display: flex;
  flex-direction: column;
}
.specimen-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: -28px 0 40px;
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(72, 46, 30, .2);
}
.specimen-tabs button {
  padding: 10px 7px;
  border: 1px solid rgba(91, 56, 35, .28);
  background: rgba(224, 211, 182, .2);
  color: #5c493d;
  cursor: pointer;
  text-align: left;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: clamp(10px, 0.85vw, 12px);
  line-height: 1.15;
  transition: background .2s, color .2s, border-color .2s;
}
.specimen-tabs button span {
  margin-right: 8px;
  color: #9a7b57;
  font: 8px Arial, sans-serif;
}
.specimen-tabs button:hover,
.specimen-tabs button.selected {
  color: #76231f;
  border-color: #76231f;
  background: rgba(118, 35, 31, .08);
}
.caraxes-notes h2 {
  margin: 7px 0 2px;
  color: #76231f;
  max-width: 100%;
  overflow-wrap: anywhere;
  font: 400 clamp(38px, 4.1vw, 64px)/.95 Georgia, serif;
  letter-spacing: -.035em;
}
.high-valyrian { margin: 3px 0 0; color: #695346; font-size: 12px; font-style: italic; }
.note-rule { width: 48px; margin: 32px 0; border-top: 3px double #8a6642; }
.caraxes-notes dl { margin: 0; }
.caraxes-notes dl div {
  padding: 11px 0;
  display: grid;
  grid-template-columns: 82px 1fr;
  border-bottom: 1px solid rgba(72, 46, 30, .18);
}
.caraxes-notes dt {
  color: #8a6a4d;
  text-transform: uppercase;
  letter-spacing: .16em;
  font: 700 8px/1.6 Arial, sans-serif;
}
.caraxes-notes dd { margin: 0; font-size: 13px; }
.caraxes-notes blockquote {
  margin: 34px 0 26px;
  padding-left: 18px;
  border-left: 2px solid #76231f;
  color: #4b3930;
  font-size: 15px;
  font-style: italic;
  line-height: 1.55;
}
.desktop-details .fiber-key { margin-top: 22px; }
.fiber-key { margin-top: auto; display: flex; flex-wrap: wrap; gap: 13px; color: #5c493d; font: 8px Arial, sans-serif; text-transform: uppercase; letter-spacing: .12em; }
.fiber-key span { display: flex; align-items: center; gap: 5px; }
.swatch { width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(43, 27, 18, .25); }
.crimson { background: #751f20; }.flax { background: #cab894; }.bone { background: #d8c69d; }
.badge-display {
  margin: 0;
  padding: clamp(28px, 4vw, 55px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.mobile-identity { display: none; text-align: center; }
.mobile-identity h2 {
  margin: 2px 0 0;
  color: #76231f;
  font: 400 clamp(36px, 7vw, 54px)/1 Georgia, serif;
  letter-spacing: -.035em;
}
.badge-display::before, .badge-display::after {
  content: "";
  position: absolute;
  width: 62px;
  height: 62px;
  opacity: .32;
  border-color: #76231f;
}
.badge-display::before { top: 24px; left: 24px; border-top: 1px solid; border-left: 1px solid; }
.badge-display::after { right: 24px; bottom: 55px; border-right: 1px solid; border-bottom: 1px solid; }
.badge-shadow {
  width: min(610px, 69vh, 65vw);
  aspect-ratio: 1;
  position: relative;
  border-radius: 50%;
  filter: drop-shadow(0 30px 25px rgba(52, 26, 18, .33));
}
.badge-shadow img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}
.badge-actions {
  min-height: 52px;
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-family: Arial, sans-serif;
}
.badge-actions button {
  padding: 9px 13px;
  border: 1px solid rgba(118, 35, 31, .55);
  background: rgba(250, 250, 248, .72);
  color: #76231f;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .12em;
  font: 700 9px/1 Arial, sans-serif;
  transition: color .2s, background .2s, border-color .2s;
}
.badge-actions button:hover {
  border-color: #76231f;
  background: #76231f;
  color: #fafaf8;
}
.badge-actions button:focus-visible {
  outline: 2px solid #3f7ff4;
  outline-offset: 2px;
}
#badge-action-status {
  flex-basis: 100%;
  min-height: 14px;
  margin: 0;
  color: #5c493d;
  text-align: center;
  font: 10px/1.4 Arial, sans-serif;
}
#badge-action-status.error { color: #8d211d; }
.badge-display figcaption {
  width: min(610px, 65vw);
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  text-align: center;
  color: #60483a;
}
.badge-display figcaption span {
  text-transform: uppercase;
  letter-spacing: .16em;
  font: 8px Arial, sans-serif;
}
.badge-display figcaption span:first-child { text-align: right; }
.badge-display figcaption span:last-child { text-align: left; }
.badge-display figcaption b { color: #76231f; font-size: 15px; font-weight: 400; }
.badge-details {
  width: min(690px, 68vw);
  margin-top: 22px;
  padding: 17px 20px 15px;
  border-top: 1px solid rgba(72, 46, 30, .28);
  border-bottom: 1px solid rgba(72, 46, 30, .2);
  background: rgba(225, 212, 183, .22);
}
.mobile-details { display: none; }
.badge-details dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.badge-details dl div {
  padding: 0 17px;
  border-right: 1px solid rgba(72, 46, 30, .2);
}
.badge-details dl div:first-child { padding-left: 0; }
.badge-details dl div:last-child { padding-right: 0; border-right: 0; }
.badge-details dt {
  margin-bottom: 4px;
  color: #8a6a4d;
  text-transform: uppercase;
  letter-spacing: .16em;
  font: 700 8px/1.6 Arial, sans-serif;
}
.badge-details dd { margin: 0; color: #34241d; font-size: 12px; }
.badge-details .fiber-key {
  margin-top: 14px;
  padding-top: 11px;
  border-top: 1px solid rgba(72, 46, 30, .14);
  justify-content: center;
}
.caraxes-footer {
  max-width: 1420px;
  margin: 17px auto 0;
  display: flex;
  justify-content: center;
  gap: 18px;
  color: #584538;
  text-transform: uppercase;
  letter-spacing: .13em;
  font: 8px Arial, sans-serif;
}
.caraxes-footer b { color: #76231f; font-weight: 400; }
@media (max-width: 1024px) {
  .caraxes-page { padding: 14px 12px 18px; }
  .caraxes-header { grid-template-columns: 42px 1fr; gap: 12px; }
  .caraxes-header h1 { font-size: clamp(26px, 5vw, 36px); }
  .archive-mark { width: 40px; height: 40px; }
  .edition { display: none; }
  .ornament { margin: 14px auto 10px; }
  .caraxes-layout { display: flex; flex-direction: column; min-height: 0; }
  .caraxes-notes {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 10px 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(75, 43, 25, .38);
    background: rgba(250, 250, 248, .96);
    backdrop-filter: blur(8px);
  }
  .specimen-tabs {
    display: flex;
    gap: 7px;
    margin: 0;
    padding: 0 0 2px;
    overflow-x: auto;
    border-bottom: 0;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }
  .specimen-tabs::-webkit-scrollbar { display: none; }
  .specimen-tabs button {
    flex: 0 0 auto;
    min-width: max-content;
    padding: 9px 12px;
    font-size: 11px;
    scroll-snap-align: start;
  }
  .caraxes-notes > .chapter,
  .caraxes-notes > h2,
  .caraxes-notes > .high-valyrian,
  .caraxes-notes > .note-rule,
  .caraxes-notes > blockquote,
  .desktop-details { display: none; }
  .fiber-key { margin-top: 0; }
  .badge-display { padding: 16px 12px 20px; justify-content: flex-start; }
  .mobile-identity { display: block; margin-bottom: 10px; }
  .badge-shadow { width: min(68vw, 560px); }
  .badge-actions { margin-top: 12px; }
  .badge-display figcaption { display: none; }
  .mobile-details { display: block; }
  .badge-details { width: min(88vw, 680px); margin-top: 14px; padding: 14px 16px; }
  .badge-details dl { grid-template-columns: 1fr 1fr; gap: 14px 0; }
  .badge-details dl div:nth-child(2) { border-right: 0; }
  .badge-details dl div:nth-child(3) { padding-left: 0; }
  .badge-details blockquote {
    margin: 14px 0 0;
    padding: 12px 0 0 14px;
    border-top: 1px solid rgba(72, 46, 30, .14);
    border-left: 2px solid #76231f;
    color: #4b3930;
    font: italic 13px/1.5 Georgia, serif;
  }
  .caraxes-footer { margin-top: 12px; flex-wrap: wrap; gap: 8px 12px; }
}

@media (max-width: 600px) {
  .caraxes-page { padding-inline: 8px; }
  .kicker { font-size: 8px; letter-spacing: .18em; }
  .caraxes-notes { padding-inline: 8px; }
  .badge-display { padding-inline: 6px; }
  .badge-shadow { width: min(88vw, 520px); }
  .badge-details { width: 92vw; }
  .badge-details dl { grid-template-columns: 1fr; gap: 0; }
  .badge-details dl div,
  .badge-details dl div:first-child,
  .badge-details dl div:nth-child(3) {
    padding: 9px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(72, 46, 30, .14);
  }
  .badge-details dl div:last-child { border-bottom: 0; }
}
