:root {
  color-scheme: light;
  --ink: #21352c;
  --jade: #143e32;
  --paper: #faf2dd;
  --gold: #a9864b;
  --muted: #66573d;
  font: 16px/1.5 "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--ink);
  background: #e9dfc8;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
header {
  display: flex; justify-content: space-between; align-items: center; gap: .75rem;
  padding: .8rem max(1rem, calc((100% - 1260px) / 2));
  background: var(--jade); color: var(--paper); border-bottom: 2px solid var(--gold);
}
header a { color: inherit; font-weight: 700; text-decoration: none; }
header span { color: #e7cea0; font-size: .875rem; }
main { max-width: 1324px; margin: auto; padding: clamp(.75rem, 2.5vw, 2rem); }
h1, h2, p { margin: 0; }
h2 { font-size: 1.35rem; }
.cover-page {
  min-height: 100vh; min-height: 100dvh;
  padding-inline: env(safe-area-inset-left) env(safe-area-inset-right);
  padding-bottom: env(safe-area-inset-bottom);
  background: radial-gradient(ellipse at 50% 48%, #fff9eb 0%, #f3e5c8 74%);
}
.cover-page .cover-header { padding-top: max(.15rem, env(safe-area-inset-top)); }
.cover-main { max-width: none; padding: 0; }
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(15rem, 20vw, 23rem); align-items: center;
  gap: 1rem; min-height: clamp(29rem, 31.8vw, 43rem); padding: 1.4rem 1.6vw 2.75rem;
  background: #e5d1a9 url('/river.svg') center / cover;
}
.hero-cover { position: absolute; inset: 0; z-index: -1; }
.hero-cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; color: transparent; }
.masthead {
  position: absolute; top: clamp(1.1rem, 1.45vw, 2rem); left: 31.9%; width: 34.4%;
  color: #342316; text-align: center;
}
.masthead h1 { position: relative; z-index: 1; font: 900 clamp(2.4rem, 5.8vw, 8rem)/1.1 "KaiTi", "STKaiti", serif; }
.masthead h1 img {
  display: block; width: 100%; height: auto;
  /* Remove the draft stamp from the visible layer without touching the calligraphy. */
  clip-path: polygon(0 0, 87.7% 0, 87.7% 32%, 91.8% 32%, 91.8% 0, 100% 0, 100% 100%, 0 100%);
}
.cover-title-seal {
  position: absolute; top: 8%; left: 90.1%; width: 3.15%; height: 22%;
  display: grid; align-content: center; justify-content: center;
  border: 1px solid #a7392d; outline: 1px solid #a7392d55; outline-offset: .5px; border-radius: 22% 28% 26% 20%;
  background: #a4362b; box-shadow: inset 0 0 0 1px #f3d5b2;
  color: #fff0d1; font: 700 clamp(7px, .72vw, 17px)/1 "KaiTi", "STKaiti", serif;
}
.masthead p {
  display: grid; place-items: center; width: 62%; min-height: clamp(1.8rem, 2.35vw, 2.65rem);
  margin: -1.1rem auto 0; padding: .15rem .8rem; transform: translateX(-4.5%);
  background: url('/art/branding/subtitle-frame.svg') center / 100% 100% no-repeat;
  font: 700 clamp(.8rem, 1.25vw, 1.25rem)/1.25 "KaiTi", "STKaiti", serif;
}
.cover-tagline {
  position: absolute; inset: auto 12% .85rem; margin-inline: auto; width: fit-content;
  max-width: 76%; padding: .38rem 1.4rem; text-align: center; color: #503419;
  border-block: 1px solid #b49051; background: linear-gradient(90deg, #fff0d5c9, #fff6df 14% 86%, #fff0d5c9);
  font: 700 clamp(.875rem, 1.28vw, 1.25rem)/1.35 "KaiTi", "STKaiti", serif;
}
.eyebrow { color: #773a2e; font-size: .875rem; font-weight: 700; letter-spacing: .12em; }
.panel { background: var(--paper); border: 1px solid var(--gold); }
.access {
  grid-column: 2; padding: clamp(1rem, 1.6vw, 1.6rem);
  background: radial-gradient(ellipse at top, #fff9e9, #f5e7c9);
  border: 3px double #a9864b; outline: 1px solid #ffefcd; outline-offset: 2px;
  box-shadow: 0 .35rem 1.1rem #402b1c44; border-radius: 9px 2px;
}
.access h2 { text-align: center; color: #4b2c18; font: 800 clamp(1.4rem, 1.9vw, 1.9rem)/1.3 "KaiTi", "STKaiti", serif; }
.access h2::before, .access h2::after { content: "◇"; color: #9b7139; font-size: .65em; margin-inline: .65em; }
.access p, #creation-status, #empty { margin: .5rem 0; color: var(--muted); }
.access p { font-size: .875rem; text-align: center; }
label { display: grid; gap: .25rem; font-weight: 600; }
input:not([type="radio"]), select, button {
  min-height: 44px; font: inherit; border: 1px solid var(--gold); border-radius: 4px;
}
input:not([type="radio"]), select { width: 100%; padding: .5rem; color: var(--ink); background: #fffaf0; }
button { padding: .5rem 1rem; color: #fff8e9; background: var(--jade); cursor: pointer; }
button.secondary { background: #fff9e9; color: var(--ink); }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid #986123; outline-offset: 3px; }
#account { display: grid; gap: .75rem; }
.actions { display: grid; grid-template-columns: 1fr; gap: .4rem; }
.access .actions button:first-child {
  border: 3px double #ddbc73; background: linear-gradient(180deg, #285141, #10392d);
  color: #fff2c9; font: 800 1.4rem/1.2 "KaiTi", "STKaiti", serif;
}
.access .actions .secondary { background: none; border-color: transparent; color: #254c3c; text-decoration: underline; text-underline-offset: 3px; }
.chapter { margin-top: 1rem; padding: clamp(.75rem, 2.5vw, 1.5rem); }
.cover-creation {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start;
  column-gap: clamp(1rem, 2.4vw, 2.5rem); margin: 0 4.3vw; padding: clamp(.7rem, 1vw, 1.05rem) clamp(.8rem, 1.65vw, 1.7rem);
  border: 4px double #ab884e; border-radius: 12px 2px;
  background: linear-gradient(120deg, #fffaeb, #f6e9ca 65%, #fcf1da);
}
.creation-seal {
  grid-row: span 2; writing-mode: vertical-rl; padding: .8rem .52rem; justify-self: center;
  color: #f8df9c; background: #174234; border: 4px double #dbb56d; border-radius: 10px 3px;
  font: 800 clamp(1.25rem, 1.8vw, 1.8rem)/1.1 "KaiTi", "STKaiti", serif; letter-spacing: .13em;
}
.cover-choices { display: grid; grid-template-columns: minmax(9rem, 21%) minmax(0, 1fr); gap: clamp(1rem, 2vw, 2rem); }
.cover-choices legend { padding: 0; margin-bottom: .7rem; color: #503419; font: 800 clamp(1.1rem, 1.45vw, 1.4rem)/1.25 "KaiTi", "STKaiti", serif; }
.cover-choices legend small { font: 400 .78rem/1.35 "Microsoft YaHei", sans-serif; }
.cover-gender { border-right: 1px solid #b89d70; padding-right: clamp(.65rem, 1.8vw, 1.75rem); }
.gender-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.gender-options label { position: relative; cursor: pointer; }
.gender-options span {
  display: flex; gap: .45em; align-items: center; justify-content: center; min-height: 48px;
  color: #56391f; border: 3px double #b99b62; border-radius: 6px 2px; background: #fff8e5;
  font: 800 1.3rem/1 "KaiTi", "STKaiti", serif;
}
.gender-options span::before { content: ""; width: .65em; height: .65em; border-radius: 50%; border: 1px solid currentColor; }
.gender-options input:checked + span { color: #fae2a5; background: #194334; border-color: #d7ae60; }
.gender-options input:checked + span::before { background: currentColor; box-shadow: inset 0 0 0 .14em #194334; }
.gender-options input:focus-visible + span { outline: 3px solid #986123; outline-offset: 2px; }
.cover-creation > #creation-status { grid-column: 2; margin: .3rem 0 0; font-size: .82rem; }
.cover-main #roster { margin-inline: 4.3vw; }
fieldset { margin: 0; border: 0; padding: 0; min-width: 0; }
fieldset:disabled .details { opacity: .72; }
.origins { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.origin { position: relative; cursor: pointer; }
.origin input, .portrait-choice input, .gender-options input, .sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
}
.origin-content {
  display: grid; grid-template-rows: minmax(4.25rem, auto) auto; overflow: hidden;
  background: #fff9e9; border: 1px solid #bda370; border-radius: 6px 2px;
}
.origin-heading { display: flex; align-items: center; gap: .65rem; padding: .65rem .75rem; }
.origin-art { display: block; width: 100%; height: clamp(3rem, 4vw, 4.4rem); object-fit: cover; object-position: center 64%; border-top: 1px solid #c3ad7f; filter: sepia(.42) saturate(.66); }
.origin-content strong, .origin-content small { display: block; }
.origin-content small { font-size: .75rem; font-weight: 400; color: var(--muted); }
.origin input:checked + .origin-content { background: #e4e9d6; border-color: var(--jade); box-shadow: inset 0 0 0 1px var(--jade); }
.origin input:focus-visible + .origin-content { outline: 3px solid #986123; outline-offset: 2px; }
.seal {
  display: grid; flex: 0 0 2rem; place-items: center; height: 2rem; border: 1px solid currentColor;
  color: #773a2e; font-family: "KaiTi", serif;
}
.details { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; align-items: end; margin-top: .75rem; }
.details > label { max-width: 26rem; }
.details button { grid-column: 1 / -1; justify-self: end; }
.portrait-picker { grid-column: 1 / -1; }
.portrait-picker legend { margin-bottom: .35rem; padding: 0; font-weight: 600; }
.portrait-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; max-width: 40rem; }
.portrait-choice { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.portrait-choice-card { display: grid; justify-items: center; padding: .25rem; text-align: center; font-size: .875rem; background: #fff9e9; border: 1px solid #c3ad7f; }
.portrait-choice-card img { width: 100%; max-width: 6rem; aspect-ratio: 1; object-fit: contain; }
.portrait-choice input:checked + .portrait-choice-card { background: #e4e9d6; border-color: var(--jade); box-shadow: inset 0 0 0 1px var(--jade); }
.portrait-choice input:focus-visible + .portrait-choice-card { outline: 3px solid #986123; outline-offset: 2px; }
#portrait-description { margin-top: .5rem; font-size: .875rem; color: var(--muted); }
#characters { padding: 0; margin: .75rem 0 0; list-style: none; display: grid; gap: .5rem; }
#characters li { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem 1rem; padding: .7rem; border: 1px solid #c3ad7f; overflow-wrap: anywhere; }
.roster-portrait { width: 3.5rem; height: 3.5rem; object-fit: contain; background: #ece4ce; }
.town-entry {
  display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; padding: .4rem .75rem;
  color: var(--paper); background: var(--jade); text-decoration: none; border-radius: 4px;
}
.town-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 320px); gap: 1rem; }
.town-scene { position: relative; isolation: isolate; min-height: 340px; overflow: hidden; background: #e8dfbd; }
.town-art { position: absolute; z-index: -1; inset: auto 0 0; width: 100%; height: 75%; }
.town-art.has-town-scene-art { display: none; }
.town-scene-art { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.town-heading { padding: clamp(1rem, 4vw, 2rem); }
.town-scene:has(.has-town-scene-art) .town-heading {
  width: fit-content; max-width: calc(100% - 2rem); margin: 1rem; padding: .65rem .9rem;
  background: #faf2dded; border: 1px solid var(--gold);
}
.town-scene:has(.has-town-scene-art) .town-heading p:last-child { padding: 0; background: none; }
.town-heading h1 { font: 700 clamp(2.2rem, 6vw, 4.5rem)/1.2 "KaiTi", serif; }
.town-heading p:last-child { width: fit-content; margin-top: .35rem; padding: .2rem .4rem; background: #faf2ddeb; }
.world-date { color: #534931; font-size: .875rem; }
.town-scene .mountains { fill: var(--ridge); }
.town-scene .foreground { fill: var(--ground); }
.town-scene .landmark { display: none; }
.town-scene[data-city="yangzhou"] { --ridge: #9faf92; --ground: #638e78; }
.town-scene[data-city="guangzhou"] { --ridge: #a6ac7a; --ground: #6d906c; }
.town-scene[data-city="fuzhou"] { --ridge: #8fa9a2; --ground: #5e8d98; }
.town-scene[data-city="capital"] { --ridge: #b7aa93; --ground: #ad8d65; }
.town-scene[data-city="suzhou"] { --ridge: #a6b8a8; --ground: #699688; }
.town-scene[data-city="hangzhou"] { --ridge: #a3ad87; --ground: #67898f; }
.town-scene[data-city="quanzhou"] { --ridge: #9eb1a5; --ground: #56888f; }
.town-scene[data-city="pengwan"] { --ridge: #96aaa2; --ground: #447b8c; }
[data-city="yangzhou"] .yangzhou, [data-city="guangzhou"] .guangzhou,
[data-city="fuzhou"] .fuzhou, [data-city="capital"] .capital,
[data-city="suzhou"] .suzhou, [data-city="hangzhou"] .hangzhou,
[data-city="quanzhou"] .quanzhou, [data-city="pengwan"] .pengwan { display: inline; }
.profile, .landmarks { padding: 1rem; }
.profile-identity { margin-top: .5rem; overflow-wrap: anywhere; }
.profile-identity.has-portrait { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: .5rem; align-items: start; }
.profile-portrait { width: 100%; aspect-ratio: 2 / 3; object-fit: contain; background: #efe6cd; }
.profile-appearance { margin-top: .5rem; padding-top: .45rem; border-top: 1px solid #c3ad7f; color: var(--muted); font-size: .875rem; }
.profile h3, .arrival h3 { margin-bottom: .25rem; font-size: 1rem; }
.profile ul { margin: .5rem 0 0; padding-left: 1.25rem; }
#levy-list { padding-left: 0; list-style: none; }
#levy-list li + li { margin-top: .65rem; }
#levy-list button { display: block; margin-top: .3rem; }
.landmarks { grid-column: 1; }
.landmarks button[aria-current="location"] { background: var(--jade); color: var(--paper); }
.arrival { border-top: 1px solid var(--gold); padding-top: .75rem; }
.arrival h3 { margin-top: 0; }
#practice, #duel-start, #party-duel-start, #travel-routes, #travel-status:not(:empty) { margin-top: .75rem; }
.duel { grid-column: 1 / -1; padding: 1rem; }
#sect-enrollment, .sect-columns { margin-top: .75rem; }
.sect-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: .75rem; }
.sect-columns section { padding: .75rem; border: 1px solid var(--gold); background: #fff9e9; }
.sect-columns h3 { margin: 0 0 .4rem; }
.sect-columns button, .sect-leave-note, #sect-status:not(:empty) { margin-top: .5rem; }
.duel-grid { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: .75rem; margin: .75rem 0; }
.fighter { display: grid; place-content: center; text-align: center; background: #e6e9d8; border: 1px solid var(--gold); padding: .75rem; }
.fighter span { font: 700 2rem "KaiTi", serif; }
.fighter-portrait { justify-self: center; width: 5rem; max-width: 100%; aspect-ratio: 1; object-fit: contain; }
.npc-fighter-portrait { justify-self: center; width: min(100%, 6.5rem); height: 8.25rem; object-fit: contain; }
ul.fighter-roster { display: grid; gap: .35rem; margin: 0; padding: .65rem; list-style: none; }
.fighter-roster li { display: flex; align-items: center; gap: .35rem; text-align: left; overflow-wrap: anywhere; }
.fighter-roster-portrait { flex: 0 0 auto; width: 2.35rem; height: 2.35rem; object-fit: contain; }
.fighter.coach { grid-column: 3; background: #f2dfcc; }
#duel-player-energy { color: #234d65; }
#fleet-title { margin: .6rem 0 .35rem; }
.fleet-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: .5rem; margin-bottom: .5rem; }
.fleet-card { padding: .55rem; border: 1px solid var(--gold); background: #fff9e9; }
.fleet-card button { margin-top: .35rem; }
#escort-choice { display: flex; align-items: center; min-height: 44px; cursor: pointer; }
#with-escort { width: 1.2rem; min-height: auto; padding: 0; accent-color: var(--jade); }
#duel-log, #pvp-log, #naval-log { grid-column: 2; grid-row: 1; max-height: 13rem; min-height: 7rem; overflow: auto; margin: 0; padding: .75rem .75rem .75rem 2.2rem; background: #fff9e9; border: 1px solid var(--gold); }
#player-duel-invite, #pvp-actions { margin-top: .75rem; }
#player-duel-requests { list-style: none; padding: 0; }
#player-duel-requests li { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin-bottom: .5rem; }
#market-goods, #market-ledger { list-style: none; padding: 0; }
#market-goods li { padding: .75rem; border: 1px solid var(--gold); margin-bottom: .5rem; }
.item-art-line { display: flex; align-items: center; gap: .5rem; }
.item-art { flex: 0 0 auto; width: 2rem; height: 2rem; object-fit: contain; }
.item-art-main { width: clamp(3.5rem, 9vw, 5.5rem); height: auto; aspect-ratio: 1; }
#fishing-upgrade.item-art-line { display: inline-flex; }
#inventory { list-style: none; padding-left: 0; }
#inventory li + li { margin-top: .3rem; }
#fishing-hold-panel { margin: .5rem 0; }
#fishing-hold-freshness { font-size: .875rem; color: var(--muted); }
.item-process-pair { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin: .5rem 0; }
#restaurant-menu { list-style: none; padding: 0; }
#restaurant-menu li { padding: .75rem; border: 1px solid var(--gold); margin-bottom: .5rem; }
.restaurant-ingredients { display: flex; flex-wrap: wrap; gap: .3rem .85rem; margin: .25rem 0; }
#restaurant-menu .duel-actions { margin-top: .5rem; }
#eatery-license, #eatery-operate { margin-top: .75rem; }
.eatery-staff-actions { margin-top: .5rem; }
#eatery-stock { list-style: none; padding: 0; }
#eatery-stock li { padding: .5rem 0; border-bottom: 1px solid var(--gold); }
#eatery-stock .duel-actions { margin-top: .4rem; }
#eatery-stock input { width: 6rem; }
#eatery-last-shift:not(:empty) { margin-top: .65rem; }
#market-goods form { margin-top: .5rem; }
#market-goods input { width: 6rem; }
.market-estimate { display: block; margin-top: .5rem; color: var(--muted); }
.market-budget { margin-left: .75rem; color: var(--muted); }
.market-demand, .market-season { display: block; width: fit-content; margin-top: .35rem; padding: .15rem .4rem; background: #e9dfc8; color: var(--ink); }
.market-season { background: #e5e8d5; }
#market-ledger li { border-top: 1px solid var(--gold); padding: .45rem 0; }
#fishing-cast, #dry-fish { margin: .65rem 0; }
.duel-actions { display: flex; flex-wrap: wrap; align-items: end; gap: .5rem; }
#duel-target-label { min-width: min(100%, 10rem); }
#duel-team, #duel-enemies { margin: .35rem 0 0; padding: 0; list-style: none; overflow-wrap: anywhere; }
#duel-turn:not(:empty) { margin-bottom: .5rem; }
.social { grid-column: 2; grid-row: 2; padding: 1rem; min-width: 0; }
.social form { display: flex; flex-wrap: wrap; align-items: end; gap: .5rem; margin: .75rem 0; }
.social form label { flex: 1 1 6rem; min-width: 0; }
.social ul { list-style: none; margin: .5rem 0; padding: 0; }
#friend-list li, #party-invites li { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: .25rem .5rem; padding: .35rem 0; }
#friend-list span, #party-invites span, #messages li { overflow-wrap: anywhere; }
.party { border-top: 1px solid var(--gold); margin-top: .75rem; padding-top: .75rem; }
.party h3 { margin: 0 0 .35rem; font-size: 1rem; }
#party-leave { margin-bottom: .75rem; }
#conversation-title { font-size: 1rem; margin-bottom: .5rem; }
#messages { min-height: 3.5rem; max-height: 10rem; overflow: auto; padding: .45rem; border: 1px solid var(--gold); background: #fff9e9; }
#messages li + li { margin-top: .35rem; }
#duel-status:not(:empty) { margin-top: .5rem; }
#visit-status:not(:empty) { margin-top: .5rem; color: var(--muted); }
@media (max-width: 850px) {
  .hero { grid-template-columns: minmax(0, 1fr); align-items: stretch; min-height: auto; padding: 0; gap: .65rem; background: var(--paper); }
  .hero-cover { position: static; z-index: auto; background: #d6d2aa url('/river.svg') center / cover; }
  .hero-cover img { aspect-ratio: 8 / 5; height: auto; }
  .masthead { position: static; width: auto; padding: .15rem .65rem; }
  .masthead h1 { width: min(100%, 30rem); margin-inline: auto; font-size: clamp(2.4rem, 8.7vw, 4rem); }
  .cover-title-seal { font-size: clamp(7px, 2.05vw, 10px); }
  .masthead p { width: min(74%, 22rem); min-height: 2rem; margin-top: -.28rem; transform: none; font-size: clamp(.82rem, 3.5vw, 1.2rem); }
  .access { grid-column: 1; margin-inline: clamp(.8rem, 4vw, 2rem); }
  .cover-tagline { position: static; max-width: none; margin: 0; width: auto; }
  .origins { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .access { padding: 1rem; }
  .cover-creation { grid-template-columns: minmax(0, 1fr); margin: .65rem .75rem 0; }
  .cover-creation > #creation-status { grid-column: 1; }
  .creation-seal { grid-row: auto; writing-mode: horizontal-tb; justify-self: start; margin-bottom: .75rem; padding: .35rem .6rem; }
  .cover-choices { grid-template-columns: minmax(0, 1fr); gap: .8rem; }
  .cover-gender { padding: 0; border: 0; }
  .gender-options { max-width: 18rem; }
  .origins { gap: .5rem; }
  .origin-heading { gap: .4rem; padding: .5rem; }
  .origin-art { height: 2.75rem; }
  .seal { flex-basis: 1.45rem; height: 1.65rem; }
  .details { grid-template-columns: minmax(0, 1fr); }
  .details button { justify-self: stretch; }
  .town-layout { grid-template-columns: minmax(0, 1fr); }
  .town-scene { min-height: 290px; }
  .town-scene:has(.has-town-scene-art) { min-height: 0; }
  .town-scene:has(.has-town-scene-art) .town-heading {
    width: auto; max-width: none; margin: 0; padding: .65rem .85rem;
    background: var(--paper); border: 0;
  }
  .town-scene-art { position: static; display: block; height: auto; }
  .town-entry { margin-left: 0; }
  .social { grid-column: 1; grid-row: auto; }
  .duel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fighter.coach { grid-column: 2; }
  #duel-log, #pvp-log, #naval-log { grid-column: 1 / -1; grid-row: 2; }
}

.preview-badge {
  display: inline-flex; align-items: center; width: fit-content; padding: .15rem .5rem;
  border: 1px solid #ba9a59; border-radius: 3px; background: #fff5d7;
  color: #61452a; font-size: .75rem; font-weight: 700; white-space: nowrap;
}
.access .preview-badge { display: table; margin: 0 auto .3rem; }