Skip to content
1        10        20        30        40        50        60        70        80        90        100       110       120       130       140       150       160       170       180       190       200       210       220       230       240       250       260       270       280       290       300       310       3201:root {2  --ink: #0a0710;3  --panel: rgba(17, 11, 24, 0.92);4  --panel-soft: rgba(28, 20, 38, 0.88);5  --gold: #e0bd76;6  --gold-dim: #a98d58;7  --violet: #b79bff;8  --rose: #ff6f83;9  --mint: #74e39b;10  --text: #ece5da;11  --muted: #a99fae;12  --line: rgba(224, 189, 118, 0.24);13  --shadow: 0 18px 50px rgba(0, 0, 0, 0.55);14  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;15  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;16}1718* {19  box-sizing: border-box;20}2122html,23body {24  margin: 0;25  height: 100%;26  background: var(--ink);27  color: var(--text);28  font-family: var(--sans);29  overflow: hidden;30}3132#scene {33  position: fixed;34  inset: 0;35  width: 100%;36  height: 100%;37  display: block;38}3940#ui {41  position: fixed;42  inset: 0;43  pointer-events: none;44  z-index: 2;45}4647/* Cinematic framing: a soft vignette plus a breath of film grain. */48#ui::before {49  content: "";50  position: absolute;51  inset: 0;52  pointer-events: none;53  background:54    radial-gradient(ellipse at 50% 42%, rgba(5, 3, 10, 0) 34%, rgba(5, 3, 10, 0.3) 68%, rgba(3, 2, 7, 0.72) 100%),55    linear-gradient(to bottom, rgba(3, 2, 7, 0.42), transparent 16%, transparent 84%, rgba(3, 2, 7, 0.5));56}5758#ui::after {59  content: "";60  position: absolute;61  inset: 0;62  pointer-events: none;63  opacity: 0.035;64  mix-blend-mode: overlay;65  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");66  background-size: 180px 180px;67}6869.hidden {70  display: none !important;71}7273button {74  font: inherit;75  color: inherit;76}7778/* ------------------------------------------------------------------ top bar */7980#topbar {81  position: absolute;82  top: 0;83  left: 0;84  right: 0;85  display: flex;86  align-items: center;87  justify-content: space-between;88  gap: 24px;89  padding: 14px 24px 26px;90  background: linear-gradient(to bottom, rgba(7, 4, 12, 0.92), rgba(7, 4, 12, 0));91  pointer-events: none;92}9394.topbar-left {95  display: flex;96  align-items: baseline;97  gap: 16px;98  min-width: 220px;99}100101.wordmark {102  font-family: var(--serif);103  font-size: 15px;104  letter-spacing: 0.42em;105  text-transform: uppercase;106  color: var(--gold);107}108109.encounter-name {110  font-family: var(--serif);111  font-size: 20px;112  color: var(--text);113  opacity: 0.9;114}115116.topbar-center {117  flex: 1;118  display: flex;119  justify-content: center;120}121122.turn-order {123  display: flex;124  flex-wrap: wrap;125  gap: 6px;126  margin: 0;127  padding: 0;128  list-style: none;129}130131.turn-order li {132  display: flex;133  align-items: center;134  gap: 6px;135  min-width: 0;136  padding: 4px 10px 4px 5px;137  border: 1px solid transparent;138  border-radius: 999px;139  background: rgba(16, 10, 22, 0.6);140  opacity: 0.62;141  transition: opacity 0.2s, border-color 0.2s, transform 0.2s;142}143144.turn-order li.current {145  opacity: 1;146  border-color: var(--gold);147  transform: translateY(-2px);148  background: rgba(42, 28, 51, 0.9);149  box-shadow: 0 0 0 1px rgba(224, 189, 118, 0.22), 0 0 26px rgba(224, 189, 118, 0.18);150  animation: turn-glow 2.8s ease-in-out infinite;151}152153@keyframes turn-glow {154  50% {155    box-shadow: 0 0 0 1px rgba(224, 189, 118, 0.42), 0 0 34px rgba(224, 189, 118, 0.3);156  }157}158159.turn-order li.dead {160  opacity: 0.24;161  text-decoration: line-through;162}163164.turn-portrait {165  position: relative;166  width: 25px;167  height: 25px;168  flex: none;169  display: grid;170  place-items: center;171  overflow: visible;172  border-radius: 50%;173  border: 1px solid rgba(224, 189, 118, 0.28);174  background: radial-gradient(circle at 40% 35%, rgba(183, 155, 255, 0.28), rgba(10, 7, 15, 0.9));175}176177.turn-portrait img {178  width: 16px;179  height: 16px;180  border-radius: 50%;181  filter: invert(0.86) sepia(0.4) saturate(1.35) hue-rotate(340deg);182}183184.turn-order li.enemy .turn-portrait {185  border-color: rgba(255, 111, 131, 0.42);186  background: radial-gradient(circle at 40% 35%, rgba(255, 80, 100, 0.22), rgba(12, 6, 10, 0.9));187}188189.turn-order .who {190  font-size: 11px;191  letter-spacing: 0.03em;192  white-space: nowrap;193}194195.turn-order li.enemy .who {196  color: #e7c7cc;197}198199@media (max-width: 1180px) {200  .turn-order .who {201    display: none;202  }203204  .turn-order li {205    gap: 0;206    padding: 4px;207  }208}209210.turn-order .initiative {211  position: absolute;212  right: -4px;213  bottom: -4px;214  min-width: 14px;215  height: 14px;216  padding: 0 3px;217  border-radius: 999px;218  font-family: var(--sans);219  font-size: 9px;220  font-weight: 700;221  line-height: 14px;222  text-align: center;223  color: #241708;224  background: radial-gradient(circle at 35% 30%, #ffe9b3, #d9a94c);225  box-shadow: 0 0 8px rgba(217, 169, 76, 0.4);226}227228.round-chip {229  padding: 7px 14px;230  border: 1px solid var(--line);231  border-radius: 999px;232  font-family: var(--serif);233  letter-spacing: 0.08em;234  font-size: 13px;235  background: var(--panel);236}237238/* ---------------------------------------------------------------- chronicle */239240#chronicle {241  position: absolute;242  top: 88px;243  right: 22px;244  width: 268px;245  max-height: 42vh;246  padding: 12px 14px;247  border: 1px solid rgba(224, 189, 118, 0.18);248  border-radius: 12px;249  background:250    linear-gradient(180deg, rgba(36, 24, 44, 0.5), rgba(12, 8, 17, 0.82)),251    rgba(12, 8, 17, 0.72);252  box-shadow: inset 0 1px 0 rgba(255, 232, 185, 0.06), 0 16px 36px rgba(0, 0, 0, 0.42);253  backdrop-filter: blur(4px);254  overflow: hidden;255  pointer-events: none;256}257258#chronicle h2 {259  margin: 0 0 8px;260  font-family: var(--serif);261  font-size: 12px;262  font-weight: 400;263  letter-spacing: 0.26em;264  text-transform: uppercase;265  color: var(--gold-dim);266}267268#log {269  margin: 0;270  padding: 0;271  list-style: none;272  display: flex;273  flex-direction: column;274  gap: 4px;275  font-size: 11.5px;276  line-height: 1.35;277  color: var(--muted);278}279280#log li.latest {281  color: var(--text);282}283284/* --------------------------------------------------------------- hand panel */285286#hand-panel {287  position: absolute;288  left: 0;289  right: 0;290  bottom: 0;291  display: flex;292  flex-direction: column;293  gap: 10px;294  padding: 38px 24px 16px;295  background: linear-gradient(to top, rgba(7, 4, 12, 0.97) 30%, rgba(7, 4, 12, 0.72) 70%, rgba(7, 4, 12, 0));296  pointer-events: auto;297}298299.hero-strip {300  display: flex;301  align-items: center;302  gap: 14px;303  min-height: 58px;304  padding: 8px 14px;305  border: 1px solid var(--line);306  border-radius: 12px;307  background:308    linear-gradient(180deg, rgba(46, 32, 58, 0.55), rgba(17, 11, 24, 0.94)),309    var(--panel);310  box-shadow: inset 0 1px 0 rgba(255, 232, 185, 0.07), 0 16px 40px rgba(0, 0, 0, 0.42);311  width: fit-content;312  max-width: 100%;313}314315.hero-portrait {316  width: 46px;317  height: 46px;318  border-radius: 50%;319  border: 1px solid var(--line);320  background: radial-gradient(circle at 40% 35%, #3a2b4d, #140e1d);321  display: grid;322  place-items: center;323  flex: none;324}325326.hero-portrait img {327  width: 30px;328  height: 30px;329  filter: invert(0.86) sepia(0.4) saturate(1.4) hue-rotate(340deg);330}331332.hero-details h2 {333  margin: 0;334  font-family: var(--serif);335  font-size: 18px;336  font-weight: 500;337}338339.hero-details h2 span {340  font-family: var(--sans);341  font-size: 11px;342  letter-spacing: 0.16em;343  text-transform: uppercase;344  color: var(--violet);345  margin-left: 8px;346}347348.hero-stats {349  display: flex;350  flex-wrap: wrap;351  gap: 4px 12px;352  margin-top: 3px;353  font-size: 11.5px;354  color: var(--muted);355}356357.hero-stats b {358  color: var(--text);359  font-weight: 600;360}361362.fervor {363  display: flex;364  align-items: center;365  gap: 4px;366  margin-left: auto;367  padding-left: 18px;368}369370.fervor-label {371  font-size: 10px;372  letter-spacing: 0.16em;373  text-transform: uppercase;374  color: var(--gold-dim);375  margin-right: 4px;376}377378.pip {379  width: 11px;380  height: 11px;381  border-radius: 50%;382  border: 1px solid rgba(224, 189, 118, 0.5);383  background: transparent;384}385386.pip.filled {387  background: radial-gradient(circle at 35% 30%, #ffecb8, #e0a544);388  box-shadow: 0 0 7px rgba(224, 165, 68, 0.65);389}390391.status-list {392  display: flex;393  gap: 6px;394  margin-left: 12px;395}396397.status {398  font-size: 10px;399  letter-spacing: 0.08em;400  text-transform: uppercase;401  padding: 2px 7px;402  border-radius: 999px;403  border: 1px solid currentColor;404  opacity: 0.9;405}406407.status.ward { color: #7fd7ff; }408.status.poison { color: #8ade6c; }409.status.marked { color: #ffb15c; }410.status.rooted { color: #b98a5c; }411412.enemy-turn {413  display: flex;414  align-items: center;415  gap: 12px;416  color: var(--rose);417  font-family: var(--serif);418  font-size: 19px;419  letter-spacing: 0.04em;420}421422.enemy-turn::before {423  content: "";424  width: 9px;425  height: 9px;426  border-radius: 50%;427  background: var(--rose);428  box-shadow: 0 0 12px var(--rose);429  animation: pulse 1s ease-in-out infinite;430}431432@keyframes pulse {433  50% { opacity: 0.25; }434}435436.hand {437  display: flex;438  justify-content: center;439  gap: 10px;440  overflow-x: auto;441  padding: 8px 4px 6px;442  scrollbar-width: thin;443}444445.card {446  /* Overridden inline per card with the active heroine's palette. */447  --hero-h: 39;448  --hero-s: 68%;449  --hero-l: 62%;450  --hero-icon: -1deg;451  position: relative;452  flex: 0 0 152px;453  width: 152px;454  height: 192px;455  display: flex;456  flex-direction: column;457  gap: 4px;458  padding: 10px 10px 9px;459  border: 1px solid hsl(var(--hero-h) var(--hero-s) var(--hero-l) / 0.36);460  border-radius: 12px;461  background:462    radial-gradient(circle at 50% -8%, hsl(var(--hero-h) var(--hero-s) var(--hero-l) / 0.2), transparent 52%),463    radial-gradient(circle at 50% 8%, hsl(var(--hero-h) 70% 70% / 0.13), transparent 64%),464    linear-gradient(168deg, hsl(var(--hero-h) 26% 16%) 0%, #160f21 62%, #100b19 100%);465  box-shadow:466    inset 0 1px 0 hsl(var(--hero-h) 80% 88% / 0.13),467    0 10px 22px rgba(0, 0, 0, 0.45);468  text-align: left;469  cursor: pointer;470  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;471}472473.card::before {474  content: "";475  position: absolute;476  inset: 4px;477  border: 1px solid hsl(var(--hero-h) var(--hero-s) var(--hero-l) / 0.15);478  border-radius: 9px;479  pointer-events: none;480}481482.card:hover:not(:disabled) {483  transform: translateY(-7px);484  border-color: hsl(var(--hero-h) var(--hero-s) var(--hero-l) / 0.82);485  box-shadow:486    inset 0 1px 0 hsl(var(--hero-h) 80% 88% / 0.18),487    0 18px 32px rgba(0, 0, 0, 0.55),488    0 0 24px hsl(var(--hero-h) var(--hero-s) var(--hero-l) / 0.32);489}490491.card.selected {492  border-color: hsl(var(--hero-h) var(--hero-s) var(--hero-l));493  transform: translateY(-9px);494  box-shadow:495    inset 0 1px 0 hsl(var(--hero-h) 80% 90% / 0.22),496    0 0 0 1px hsl(var(--hero-h) var(--hero-s) var(--hero-l)),497    0 0 30px hsl(var(--hero-h) var(--hero-s) var(--hero-l) / 0.5);498}499500.card:disabled {501  opacity: 0.42;502  cursor: not-allowed;503  filter: saturate(0.5);504}505506.card-art {507  height: 50px;508  display: grid;509  place-items: center;510  border-radius: 8px;511  background: radial-gradient(circle at 50% 45%, hsl(var(--hero-h) var(--hero-s) var(--hero-l) / 0.2), transparent 70%);512  box-shadow: inset 0 -1px 0 hsl(var(--hero-h) 70% 75% / 0.16);513}514515.card-art img {516  width: 42px;517  height: 42px;518  filter:519    invert(0.86) sepia(0.45) saturate(1.45)520    hue-rotate(var(--hero-icon))521    drop-shadow(0 0 6px hsl(var(--hero-h) var(--hero-s) var(--hero-l) / 0.4));522}523524.card-cost {525  position: absolute;526  top: 8px;527  right: 8px;528  width: 24px;529  height: 24px;530  border-radius: 50%;531  display: grid;532  place-items: center;533  font-family: var(--serif);534  font-size: 13px;535  font-weight: 700;536  color: hsl(var(--hero-h) 60% 12%);537  background: radial-gradient(circle at 35% 30%, hsl(var(--hero-h) 90% 88%), hsl(var(--hero-h) 70% 60%));538  box-shadow: 0 0 10px hsl(var(--hero-h) var(--hero-s) var(--hero-l) / 0.45);539}540541.card-name {542  font-family: var(--serif);543  font-size: 14px;544  font-weight: 600;545  letter-spacing: 0.01em;546  color: hsl(var(--hero-h) 60% 92%);547  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);548}549550.card-text {551  font-size: 10.5px;552  line-height: 1.35;553  color: hsl(var(--hero-h) 14% 76%);554}555556.controls {557  display: flex;558  align-items: center;559  justify-content: center;560  gap: 10px;561}562563.hint {564  position: absolute;565  left: 26px;566  font-size: 11px;567  letter-spacing: 0.04em;568  color: var(--muted);569  opacity: 0.75;570}571572.btn {573  border: 1px solid var(--line);574  border-radius: 9px;575  padding: 9px 18px;576  background: var(--panel-soft);577  box-shadow: inset 0 1px 0 rgba(255, 232, 185, 0.06);578  cursor: pointer;579  font-size: 13px;580  letter-spacing: 0.04em;581  transition: background 0.15s, border-color 0.15s, opacity 0.15s;582}583584.btn:hover:not(:disabled) {585  border-color: var(--gold);586  background: rgba(46, 32, 58, 0.9);587}588589.btn:disabled {590  opacity: 0.4;591  cursor: not-allowed;592}593594.btn.primary {595  color: #241708;596  background: linear-gradient(180deg, #ecd08d, #c79a4b);597  border-color: #f0d695;598  box-shadow: inset 0 1px 0 rgba(255, 248, 214, 0.75), 0 4px 16px rgba(199, 154, 75, 0.24);599  font-weight: 650;600}601602.btn.primary:hover:not(:disabled) {603  background: linear-gradient(180deg, #ffe6a8, #d7a957);604}605606.btn.ghost {607  background: transparent;608}609610kbd {611  font-family: var(--sans);612  font-size: 10px;613  padding: 1px 5px;614  margin-left: 5px;615  border-radius: 4px;616  border: 1px solid rgba(255, 255, 255, 0.22);617  opacity: 0.7;618}619620/* ----------------------------------------------------------------- unit tip */621622.unit-tip {623  position: absolute;624  z-index: 4;625  width: 238px;626  padding: 10px 12px;627  border: 1px solid rgba(224, 189, 118, 0.34);628  border-radius: 12px;629  background: linear-gradient(180deg, rgba(42, 29, 52, 0.96), rgba(11, 7, 16, 0.97));630  box-shadow: inset 0 1px 0 rgba(255, 232, 185, 0.08), 0 18px 44px rgba(0, 0, 0, 0.62);631  backdrop-filter: blur(6px);632  pointer-events: none;633}634635.unit-tip.enemy {636  border-color: rgba(255, 111, 131, 0.4);637}638639.tip-head {640  display: flex;641  align-items: center;642  gap: 10px;643}644645.tip-portrait {646  width: 36px;647  height: 36px;648  flex: none;649  display: grid;650  place-items: center;651  border-radius: 50%;652  border: 1px solid rgba(224, 189, 118, 0.32);653  background: radial-gradient(circle at 40% 35%, rgba(183, 155, 255, 0.28), rgba(10, 7, 15, 0.9));654}655656.tip-portrait img {657  width: 24px;658  height: 24px;659  filter: invert(0.86) sepia(0.4) saturate(1.35) hue-rotate(340deg);660}661662.unit-tip.enemy .tip-portrait {663  border-color: rgba(255, 111, 131, 0.45);664  background: radial-gradient(circle at 40% 35%, rgba(255, 80, 100, 0.25), rgba(12, 6, 10, 0.9));665}666667.tip-ident {668  display: flex;669  flex-direction: column;670  gap: 2px;671  min-width: 0;672}673674.tip-name {675  font-family: var(--serif);676  font-size: 16px;677  font-weight: 500;678  color: var(--text);679}680681.tip-title {682  font-size: 9.5px;683  letter-spacing: 0.16em;684  text-transform: uppercase;685  color: var(--violet);686}687688.unit-tip.enemy .tip-title {689  color: #e79aa8;690}691692.tip-hp {693  height: 5px;694  margin: 9px 0 7px;695  border-radius: 999px;696  background: rgba(255, 255, 255, 0.09);697  overflow: hidden;698}699700.tip-hp i {701  display: block;702  height: 100%;703  border-radius: inherit;704  background: linear-gradient(90deg, #74e39b, #3fae68);705  box-shadow: 0 0 8px rgba(116, 227, 155, 0.5);706}707708.unit-tip.enemy .tip-hp i {709  background: linear-gradient(90deg, #ff8a9a, #c43f57);710  box-shadow: 0 0 8px rgba(255, 111, 131, 0.5);711}712713.tip-stats {714  display: flex;715  flex-wrap: wrap;716  gap: 4px 10px;717  font-size: 10.5px;718  color: var(--muted);719}720721.tip-stats b {722  color: var(--text);723  font-weight: 600;724}725726.tip-status {727  display: flex;728  flex-wrap: wrap;729  gap: 4px;730  margin-top: 7px;731}732733/* ------------------------------------------------------------------ overlays */734735.overlay {736  position: absolute;737  inset: 0;738  display: grid;739  place-items: center;740  padding: 44px 22px;741  overflow-y: auto;742  background:743    radial-gradient(circle at 50% 24%, rgba(98, 64, 136, 0.36), transparent 58%),744    radial-gradient(circle at 50% 100%, rgba(224, 189, 118, 0.07), transparent 52%),745    rgba(6, 4, 10, 0.84);746  backdrop-filter: blur(3px);747  pointer-events: auto;748}749750/* ------------------------------------------------------------------ village */751752.eyebrow {753  margin: 0 0 6px;754  font-size: 11px;755  letter-spacing: 0.44em;756  text-transform: uppercase;757  color: var(--gold-dim);758}759760.lede {761  margin: 14px auto 22px;762  max-width: 660px;763  font-size: 14px;764  line-height: 1.65;765  color: var(--muted);766}767768#menu {769  display: block;770  padding: 0;771  background: none;772  backdrop-filter: none;773  overflow: hidden;774  pointer-events: none;775}776777.village-title {778  position: absolute;779  top: 34px;780  left: 42px;781  max-width: 430px;782  pointer-events: none;783  text-shadow: 0 2px 18px rgba(8, 4, 8, 0.8);784}785786.village-title .eyebrow {787  margin: 0 0 8px;788  font-size: 10px;789  letter-spacing: 0.34em;790  color: var(--gold-dim);791}792793.village-title h1 {794  margin: 0;795  font-family: var(--serif);796  font-weight: 500;797  font-size: clamp(46px, 6vw, 74px);798  line-height: 0.9;799  letter-spacing: 0.16em;800  text-transform: uppercase;801  color: #f6ead4;802  text-shadow: 0 0 40px rgba(255, 170, 90, 0.25), 0 4px 22px rgba(0, 0, 0, 0.8);803}804805.village-lede {806  margin: 14px 0 0;807  max-width: 400px;808  font-size: 13px;809  line-height: 1.6;810  color: #d8c7b4;811}812813.wall-markers {814  position: absolute;815  inset: 0;816  pointer-events: none;817}818819.wall-marker {820  position: absolute;821  left: 50%;822  top: 42%;823  z-index: 2;824  padding: 0 0 26px;825  border: 0;826  background: none;827  color: inherit;828  cursor: pointer;829  pointer-events: auto;830  transform: translate(-50%, -100%);831  transition: transform 0.18s ease, filter 0.18s ease;832}833834.wall-marker::after {835  content: "";836  position: absolute;837  left: 50%;838  bottom: 0;839  width: 1px;840  height: 26px;841  background: linear-gradient(to bottom, rgba(224, 189, 118, 0.9), rgba(224, 189, 118, 0));842}843844.wall-marker::before {845  content: "";846  position: absolute;847  left: 50%;848  bottom: -3px;849  width: 7px;850  height: 7px;851  transform: translateX(-50%) rotate(45deg);852  background: var(--gold);853  box-shadow: 0 0 12px rgba(224, 189, 118, 0.85);854}855856.wall-marker:hover,857.wall-marker:focus-visible {858  z-index: 3;859  transform: translate(-50%, -100%) translateY(-3px);860}861862.wall-marker:focus-visible {863  outline: none;864}865866.wall-marker:focus-visible .marker-plaque {867  box-shadow: inset 0 1px 0 rgba(255, 226, 170, 0.18), 0 0 0 2px var(--gold), 0 16px 34px rgba(0, 0, 0, 0.6);868}869870.marker-plaque {871  display: block;872  min-width: 132px;873  max-width: 250px;874  padding: 8px 12px 9px;875  border: 1px solid rgba(224, 189, 118, 0.42);876  border-radius: 4px 4px 10px 10px;877  background: linear-gradient(180deg, rgba(42, 27, 22, 0.97), rgba(16, 9, 10, 0.98));878  box-shadow: inset 0 1px 0 rgba(255, 226, 170, 0.14), 0 14px 34px rgba(0, 0, 0, 0.55);879  text-align: left;880  backdrop-filter: blur(2px);881  transition: border-color 0.16s ease, background 0.16s ease;882}883884.wall-marker:hover .marker-plaque {885  border-color: var(--gold);886  background: linear-gradient(180deg, rgba(62, 39, 28, 0.97), rgba(22, 12, 11, 0.98));887}888889.marker-head {890  display: flex;891  align-items: baseline;892  gap: 8px;893}894895.marker-roman {896  font-family: var(--serif);897  font-size: 18px;898  color: var(--gold);899}900901.marker-approach {902  font-size: 10px;903  letter-spacing: 0.22em;904  text-transform: uppercase;905  color: #e9d3b0;906  white-space: nowrap;907}908909.marker-lock {910  margin-left: auto;911  font-size: 8px;912  letter-spacing: 0.18em;913  text-transform: uppercase;914  color: #c58a72;915  border: 1px solid rgba(197, 138, 114, 0.45);916  border-radius: 3px;917  padding: 1px 4px;918}919920.marker-detail {921  display: none;922  margin-top: 6px;923}924925.wall-marker:hover .marker-detail,926.wall-marker:focus-visible .marker-detail {927  display: block;928}929930.marker-detail strong {931  display: block;932  font-family: var(--serif);933  font-size: 15px;934  font-weight: 500;935  color: #f2e6d2;936}937938.marker-detail small {939  display: block;940  margin-top: 4px;941  font-size: 11px;942  line-height: 1.45;943  color: #c9b6a4;944}945946.marker-foes {947  display: block;948  margin-top: 6px;949  font-size: 9.5px;950  letter-spacing: 0.16em;951  text-transform: uppercase;952  color: #e3937f;953}954955.wall-marker:disabled {956  cursor: not-allowed;957}958959.wall-marker:disabled .marker-plaque {960  border-color: rgba(224, 189, 118, 0.2);961  background: linear-gradient(180deg, rgba(30, 21, 18, 0.97), rgba(12, 8, 9, 0.98));962  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);963}964965.wall-marker:disabled .marker-roman {966  color: var(--gold-dim);967}968969.wall-marker:disabled .marker-approach {970  color: #a99380;971}972973.wall-marker:disabled .marker-detail strong {974  color: #c8b7a4;975}976977.wall-marker:disabled .marker-detail small {978  color: #94837a;979}980981.wall-marker:disabled .marker-foes {982  color: #a88274;983}984985.wall-marker:disabled:hover {986  transform: translate(-50%, -100%);987}988989.chip-portrait {990  width: 28px;991  height: 28px;992  flex: none;993  display: grid;994  place-items: center;995  border-radius: 50%;996  border: 1px solid rgba(224, 189, 118, 0.3);997  background: radial-gradient(circle at 40% 35%, rgba(183, 155, 255, 0.28), rgba(10, 7, 15, 0.9));998}9991000.chip-portrait img {1001  width: 18px;1002  height: 18px;1003  filter: invert(0.86) sepia(0.4) saturate(1.35) hue-rotate(340deg);1004}10051006.chip-name {1007  font-size: 10px;1008  letter-spacing: 0.14em;1009  text-transform: uppercase;1010  color: #e5d6c4;1011  white-space: nowrap;1012}10131014.village-notice {1015  position: absolute;1016  right: 34px;1017  bottom: 28px;1018  display: flex;1019  flex-direction: column-reverse;1020  align-items: flex-end;1021  gap: 10px;1022  width: min(360px, calc(100vw - 68px));1023  pointer-events: auto;1024}10251026.notice-toggle {1027  display: flex;1028  align-items: center;1029  gap: 9px;1030  padding: 9px 16px;1031  border: 1px solid rgba(224, 189, 118, 0.36);1032  border-radius: 4px;1033  background: linear-gradient(180deg, rgba(44, 28, 22, 0.92), rgba(20, 12, 12, 0.94));1034  box-shadow: inset 0 1px 0 rgba(255, 226, 170, 0.1), 0 10px 24px rgba(0, 0, 0, 0.45);1035  font-size: 10.5px;1036  letter-spacing: 0.2em;1037  text-transform: uppercase;1038  color: #e9d3b0;1039  cursor: pointer;1040  transition: border-color 0.16s ease;1041}10421043.notice-toggle:hover,1044.notice-toggle:focus-visible {1045  border-color: var(--gold);1046  outline: none;1047}10481049.notice-toggle:focus-visible {1050  box-shadow: 0 0 0 2px rgba(224, 189, 118, 0.85), 0 10px 24px rgba(0, 0, 0, 0.45);1051}10521053.notice-toggle[aria-expanded="true"] {1054  border-color: var(--gold);1055}10561057.notice-mark {1058  color: var(--gold);1059}10601061.notice-panel {1062  max-height: min(46vh, 420px);1063  overflow-y: auto;1064  padding: 14px 16px;1065  border: 1px solid rgba(224, 189, 118, 0.28);1066  border-radius: 10px;1067  background: rgba(14, 9, 10, 0.94);1068  box-shadow: inset 0 1px 0 rgba(255, 226, 170, 0.08), 0 16px 40px rgba(0, 0, 0, 0.55);1069  backdrop-filter: blur(3px);1070}10711072.notice-panel ul {1073  margin: 0;1074  padding-left: 16px;1075  display: flex;1076  flex-direction: column;1077  gap: 6px;1078  font-size: 11.5px;1079  line-height: 1.5;1080  color: #c9b6a4;1081}10821083.notice-panel b {1084  color: #f0e4d0;1085  font-weight: 600;1086}10871088/* ------------------------------------------------------ title and new game */10891090#title {1091  align-content: center;1092  background:1093    radial-gradient(circle at 50% 30%, rgba(98, 64, 136, 0.22), transparent 60%),1094    linear-gradient(180deg, rgba(6, 4, 10, 0.5), rgba(6, 4, 10, 0.74));1095  backdrop-filter: none;1096}10971098.title-page {1099  width: min(760px, 100%);1100  text-align: center;1101  text-shadow: 0 2px 18px rgba(8, 4, 8, 0.85);1102}11031104.title-page h1 {1105  margin: 0;1106  font-family: var(--serif);1107  font-weight: 500;1108  font-size: clamp(54px, 8vw, 96px);1109  line-height: 0.9;1110  letter-spacing: 0.16em;1111  text-transform: uppercase;1112  color: #f6ead4;1113  text-shadow: 0 0 40px rgba(255, 170, 90, 0.25), 0 4px 22px rgba(0, 0, 0, 0.8);1114}11151116.title-page .village-lede {1117  margin: 16px auto 0;1118  max-width: 520px;1119}11201121.title-menu {1122  display: flex;1123  justify-content: center;1124  gap: 12px;1125  margin-top: 30px;1126  flex-wrap: wrap;1127}11281129.title-menu .btn {1130  min-width: 160px;1131  pointer-events: auto;1132}11331134.title-rules {1135  margin: 22px auto 0;1136  max-width: 640px;1137  text-align: left;1138}11391140.choose-title {1141  font-size: clamp(30px, 4.6vw, 48px) !important;1142  letter-spacing: 0.08em !important;1143  text-transform: none !important;1144}11451146.choose-row {1147  display: grid;1148  grid-template-columns: repeat(3, minmax(0, 1fr));1149  gap: 14px;1150  margin-top: 26px;1151  text-align: left;1152}11531154.choose-card {1155  display: flex;1156  flex-direction: column;1157  align-items: flex-start;1158  gap: 8px;1159  text-align: left;1160  padding: 16px 16px 14px;1161  border: 1px solid rgba(224, 189, 118, 0.26);1162  border-radius: 12px;1163  background: linear-gradient(180deg, rgba(38, 24, 22, 0.92), rgba(12, 8, 10, 0.96));1164  color: inherit;1165  cursor: pointer;1166  text-shadow: none;1167  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;1168}11691170.choose-card:hover,1171.choose-card:focus-visible {1172  border-color: rgba(224, 189, 118, 0.7);1173  outline: none;1174}11751176.choose-card[aria-pressed="true"] {1177  border-color: var(--gold);1178  box-shadow: 0 0 0 1px rgba(224, 189, 118, 0.5), 0 0 26px rgba(224, 189, 118, 0.18);1179  transform: translateY(-2px);1180}11811182.choose-portrait {1183  width: 56px;1184  height: 56px;1185  display: grid;1186  place-items: center;1187  border-radius: 50%;1188  border: 1px solid rgba(224, 189, 118, 0.36);1189  background: radial-gradient(circle at 40% 35%, rgba(183, 155, 255, 0.28), rgba(10, 7, 15, 0.9));1190}11911192.choose-portrait img {1193  width: 34px;1194  height: 34px;1195  filter: invert(0.86) sepia(0.4) saturate(1.35) hue-rotate(340deg);1196}11971198.choose-ident {1199  display: flex;1200  flex-direction: column;1201}12021203.choose-ident strong {1204  font-family: var(--serif);1205  font-weight: 500;1206  font-size: 18px;1207  color: #f2e6d2;1208}12091210.choose-ident span {1211  font-size: 10px;1212  letter-spacing: 0.2em;1213  text-transform: uppercase;1214  color: var(--gold-dim);1215}12161217.choose-card p {1218  margin: 0;1219  font-size: 12px;1220  line-height: 1.5;1221  color: #d8c7b4;1222}12231224.choose-stats,1225.choose-cards {1226  font-size: 10.5px;1227  letter-spacing: 0.04em;1228  color: var(--muted);1229}12301231/* ------------------------------------------------------------ village panels */12321233.village-bar {1234  position: absolute;1235  top: 30px;1236  right: 34px;1237  display: flex;1238  align-items: center;1239  gap: 8px;1240  pointer-events: auto;1241}12421243.currency {1244  padding: 7px 12px;1245  border: 1px solid rgba(224, 189, 118, 0.3);1246  border-radius: 999px;1247  background: rgba(14, 9, 12, 0.82);1248  font-size: 11px;1249  letter-spacing: 0.12em;1250  text-transform: uppercase;1251  color: #d8c7b4;1252}12531254.currency b {1255  margin-right: 4px;1256  font-family: var(--serif);1257  font-size: 15px;1258  font-weight: 500;1259  color: var(--gold);1260}12611262.currency.honor b {1263  color: #e9b6c8;1264}12651266.village-bar .btn {1267  padding: 7px 14px;1268  font-size: 12px;1269  background: rgba(14, 9, 12, 0.82);1270}12711272.village-party {1273  position: absolute;1274  left: 34px;1275  bottom: 28px;1276  width: min(360px, calc(100vw - 68px));1277}12781279.party-row {1280  display: flex;1281  flex-wrap: wrap;1282  gap: 8px;1283}12841285.party-chip {1286  display: flex;1287  align-items: center;1288  gap: 8px;1289  padding: 5px 13px 5px 5px;1290  border: 1px solid rgba(224, 189, 118, 0.28);1291  border-radius: 999px;1292  background: rgba(18, 11, 14, 0.82);1293}12941295.village-party .eyebrow {1296  margin-bottom: 8px;1297}12981299/* ----------------------------------------------------------------- dialogs */13001301.dialog-scrim {1302  z-index: 20;1303  background: rgba(4, 2, 8, 0.62);1304}13051306.dialog-card {1307  width: min(680px, 100%);1308  max-height: 86vh;1309  display: flex;1310  flex-direction: column;1311  border: 1px solid rgba(224, 189, 118, 0.36);1312  border-radius: 14px;1313  background: linear-gradient(180deg, rgba(34, 22, 26, 0.97), rgba(12, 8, 11, 0.98));1314  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 226, 170, 0.1);1315  overflow: hidden;1316}13171318.dialog-head {1319  padding: 22px 26px 4px;1320}13211322.dialog-head h2 {1323  margin: 0;1324  font-family: var(--serif);1325  font-weight: 500;1326  font-size: 26px;1327  color: #f2e6d2;1328}13291330.dialog-sub {1331  margin: 8px 0 0;1332  font-size: 12.5px;1333  line-height: 1.5;1334  color: #c9b6a4;1335}13361337.dialog-body {1338  flex: 1;1339  min-height: 0;1340  overflow-y: auto;1341  padding-bottom: 8px;1342}13431344.dialog-card h3 {1345  margin: 18px 26px 6px;1346  font-family: var(--serif);1347  font-weight: 500;1348  font-size: 17px;1349  color: #f2e6d2;1350}13511352.dialog-card h3 span {1353  font-family: var(--sans);1354  font-size: 10px;1355  letter-spacing: 0.2em;1356  text-transform: uppercase;1357  color: var(--gold-dim);1358}13591360.dialog-foot {1361  display: flex;1362  justify-content: flex-end;1363  padding: 14px 26px 18px;1364  border-top: 1px solid rgba(224, 189, 118, 0.14);1365}13661367.shop-list,1368.recruit-list,1369.slot-list {1370  margin: 0;1371  padding: 0 26px;1372  list-style: none;1373}13741375.shop-row,1376.recruit-row,1377.slot-row {1378  display: flex;1379  align-items: center;1380  gap: 12px;1381  padding: 9px 0;1382  border-bottom: 1px solid rgba(224, 189, 118, 0.1);1383}13841385.shop-row.owned {1386  opacity: 0.6;1387}13881389.shop-art {1390  width: 34px;1391  height: 34px;1392  flex: none;1393  display: grid;1394  place-items: center;1395  border-radius: 8px;1396  border: 1px solid rgba(224, 189, 118, 0.3);1397  background: rgba(10, 7, 15, 0.9);1398}13991400.shop-art img {1401  width: 22px;1402  height: 22px;1403  filter: invert(0.86) sepia(0.4) saturate(1.35) hue-rotate(340deg);1404}14051406.shop-text,1407.recruit-text,1408.slot-info {1409  display: flex;1410  flex-direction: column;1411  flex: 1;1412  min-width: 0;1413}14141415.shop-text strong,1416.recruit-text strong {1417  font-size: 13.5px;1418  font-weight: 600;1419  color: #f0e4d0;1420}14211422.shop-text strong em {1423  margin-left: 6px;1424  font-style: normal;1425  font-size: 10px;1426  letter-spacing: 0.1em;1427  text-transform: uppercase;1428  color: var(--gold-dim);1429}14301431.shop-text small,1432.recruit-text small,1433.slot-info small {1434  margin-top: 3px;1435  font-size: 11.5px;1436  line-height: 1.45;1437  color: #b7a797;1438}14391440.shop-owned {1441  font-size: 10.5px;1442  letter-spacing: 0.16em;1443  text-transform: uppercase;1444  color: var(--mint);1445  white-space: nowrap;1446}14471448.shop-row .btn,1449.recruit-row .btn,1450.slot-row .btn {1451  white-space: nowrap;1452}14531454.recruit-portrait {1455  width: 44px;1456  height: 44px;1457  flex: none;1458  display: grid;1459  place-items: center;1460  border-radius: 50%;1461  border: 1px solid rgba(224, 189, 118, 0.36);1462  background: radial-gradient(circle at 40% 35%, rgba(183, 155, 255, 0.28), rgba(10, 7, 15, 0.9));1463}14641465.recruit-portrait img {1466  width: 26px;1467  height: 26px;1468  filter: invert(0.86) sepia(0.4) saturate(1.35) hue-rotate(340deg);1469}14701471.recruit-text strong span {1472  margin-left: 6px;1473  font-weight: 400;1474  font-size: 10px;1475  letter-spacing: 0.2em;1476  text-transform: uppercase;1477  color: var(--gold-dim);1478}14791480.slot-num {1481  width: 56px;1482  flex: none;1483  font-size: 10px;1484  letter-spacing: 0.2em;1485  text-transform: uppercase;1486  color: var(--gold-dim);1487}14881489.slot-info {1490  font-size: 12.5px;1491  color: #e6d8c6;1492}14931494.slot-info em {1495  color: var(--muted);1496}14971498.rewards {1499  display: flex;1500  justify-content: center;1501  gap: 26px;1502  margin: 18px 0 26px;1503}15041505.reward {1506  display: flex;1507  flex-direction: column;1508  align-items: center;1509  font-size: 11px;1510  letter-spacing: 0.16em;1511  text-transform: uppercase;1512  color: #d8c7b4;1513}15141515.reward b {1516  font-family: var(--serif);1517  font-size: 26px;1518  font-weight: 500;1519  color: var(--gold);1520}15211522.reward.honor b {1523  color: #e9b6c8;1524}15251526.reward small {1527  margin-top: 3px;1528  font-size: 9.5px;1529  letter-spacing: 0.06em;1530  text-transform: none;1531  color: var(--muted);1532}15331534.topbar-btn {1535  pointer-events: auto;1536  padding: 6px 13px;1537  font-size: 12px;1538}15391540/* -------------------------------------------------------------------- result */15411542.result-card {1543  width: min(540px, 100%);1544  padding: 30px 32px 26px;1545  border-radius: 16px;1546  border: 1px solid var(--line);1547  background: linear-gradient(180deg, rgba(30, 20, 42, 0.97), rgba(12, 8, 18, 0.98));1548  box-shadow: var(--shadow);1549  text-align: center;1550}15511552.result-card.victory {1553  border-color: rgba(116, 227, 155, 0.5);1554  box-shadow: 0 0 60px rgba(116, 227, 155, 0.12), var(--shadow);1555}15561557.result-card.defeat {1558  border-color: rgba(255, 111, 131, 0.45);1559  box-shadow: 0 0 60px rgba(255, 111, 131, 0.12), var(--shadow);1560}15611562.result-card h2 {1563  margin: 4px 0 10px;1564  font-family: var(--serif);1565  font-size: 52px;1566  font-weight: 500;1567  letter-spacing: 0.08em;1568  text-transform: uppercase;1569}15701571.result-card.victory h2 { color: var(--mint); }1572.result-card.defeat h2 { color: var(--rose); }15731574.result-card p {1575  margin: 0 0 6px;1576  color: var(--muted);1577  font-size: 13px;1578  line-height: 1.55;1579}15801581.result-card .tally {1582  display: flex;1583  justify-content: center;1584  gap: 26px;1585  margin: 18px 0 22px;1586}15871588.result-card .tally div {1589  display: flex;1590  flex-direction: column;1591  gap: 2px;1592}15931594.result-card .tally b {1595  font-family: var(--serif);1596  font-size: 22px;1597  font-weight: 500;1598  color: var(--text);1599}16001601.result-card .tally span {1602  font-size: 9.5px;1603  letter-spacing: 0.18em;1604  text-transform: uppercase;1605  color: var(--gold-dim);1606}16071608.result-actions {1609  display: flex;1610  justify-content: center;1611  gap: 9px;1612  flex-wrap: wrap;1613}16141615/* --------------------------------------------------------------------- misc */16161617#toast {1618  position: absolute;1619  left: 50%;1620  bottom: 286px;1621  transform: translate(-50%, 8px);1622  padding: 9px 18px;1623  border: 1px solid rgba(255, 111, 131, 0.5);1624  border-radius: 999px;1625  background: rgba(30, 12, 20, 0.94);1626  color: #ffc4cc;1627  font-size: 12.5px;1628  opacity: 0;1629  transition: opacity 0.25s, transform 0.25s;1630  pointer-events: none;1631  white-space: nowrap;1632  max-width: 90vw;1633  overflow: hidden;1634  text-overflow: ellipsis;1635}16361637#toast.show {1638  opacity: 1;1639  transform: translate(-50%, 0);1640}16411642.float {1643  position: fixed;1644  transform: translate(-50%, -50%);1645  font-family: var(--serif);1646  font-size: 21px;1647  font-weight: 700;1648  letter-spacing: 0.02em;1649  pointer-events: none;1650  z-index: 5;1651  animation: float-up 0.95s ease-out forwards;1652  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);1653}16541655.float.damage { color: #ff6f83; }1656.float.heal { color: var(--mint); }1657.float.status { color: var(--violet); font-size: 15px; }16581659@keyframes float-up {1660  0% { opacity: 0; transform: translate(-50%, -40%) scale(0.85); }1661  18% { opacity: 1; transform: translate(-50%, -55%) scale(1.05); }1662  100% { opacity: 0; transform: translate(-50%, -145%) scale(1); }1663}16641665@media (max-width: 1180px) {1666  .village-title {1667    max-width: 340px;1668  }16691670  .marker-detail {1671    max-width: 220px;1672  }1673}16741675@media (max-width: 880px) {1676  .choose-row {1677    grid-template-columns: 1fr;1678  }16791680  .village-bar {1681    position: relative;1682    top: auto;1683    right: auto;1684    flex-wrap: wrap;1685    margin: 16px 22px 0;1686  }16871688  #menu {1689    overflow-y: auto;1690    pointer-events: auto;1691  }16921693  .village-title {1694    position: relative;1695    top: auto;1696    left: auto;1697    margin: 22px 22px 0;1698    max-width: none;1699  }17001701  .village-title h1 {1702    font-size: 44px;1703  }17041705  .village-lede {1706    max-width: none;1707    font-size: 12.5px;1708  }17091710  .wall-markers {1711    position: relative;1712    inset: auto;1713    display: flex;1714    flex-direction: column;1715    gap: 10px;1716    margin: 22px 22px 0;1717  }17181719  .wall-marker {1720    position: static;1721    width: 100%;1722    padding: 0;1723    transform: none;1724  }17251726  .wall-marker::after {1727    display: none;1728  }17291730  .wall-marker::before {1731    display: none;1732  }17331734  .wall-marker:hover,1735  .wall-marker:disabled:hover {1736    transform: none;1737  }17381739  .marker-plaque {1740    max-width: none;1741  }17421743  .marker-detail {1744    display: block;1745    max-width: none;1746  }17471748  .village-notice {1749    position: relative;1750    right: auto;1751    bottom: auto;1752    width: auto;1753    margin: 0 22px 30px;1754    align-items: stretch;1755  }17561757  .notice-toggle {1758    justify-content: center;1759  }17601761  .notice-panel {1762    max-height: none;1763  }1764}17651766@media (max-width: 980px) {1767  #chronicle { display: none !important; }1768  .turn-order li { min-width: 48px; padding: 5px 5px 4px; }1769  .card { flex-basis: 132px; width: 132px; height: 178px; }1770  .card-text { font-size: 10px; }1771  .hint { display: none; }1772}17731774@media (max-width: 680px) {1775  .topbar-left .encounter-name { display: none; }1776  #hand-panel { padding-left: 10px; padding-right: 10px; }1777  .hero-strip { width: 100%; }1778  .fervor { padding-left: 8px; }1779}