:root {
  --ink: #4b4d69;
  --ink-soft: #74758d;
  --paper: #fffefa;
  --pink: #ff9abb;
  --pink-dark: #ef6798;
  --pink-soft: #fff0f5;
  --blue: #7dcef5;
  --blue-dark: #4c9fd2;
  --blue-soft: #e7f7ff;
  --mint: #7bd6bd;
  --mint-soft: #e8faf4;
  --yellow: #ffd66f;
  --yellow-soft: #fff6cf;
  --purple: #b8a4ef;
  --orange: #ffb76a;
  --red: #ef7281;
  --shadow: 0 22px 70px rgba(110, 78, 118, 0.16);
  --small-shadow: 0 10px 28px rgba(88, 71, 103, 0.12);
  --border: rgba(80, 69, 105, 0.16);
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  color: var(--ink);
  background: #fff8dc;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 7% 4%, rgba(255, 208, 82, .52) 0 7%, transparent 22%),
    radial-gradient(circle at 94% 9%, rgba(74, 169, 225, .34) 0 9%, transparent 25%),
    radial-gradient(circle at 50% 46%, rgba(255, 232, 146, .34), transparent 35%),
    linear-gradient(135deg, #fff4bd 0%, #ffe6a0 20%, #f8fbef 48%, #dff3ff 73%, #f9e7a8 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(57, 113, 151, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 113, 151, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

[hidden] {
  display: none !important;
}

button:focus-visible,
a:focus-visible {
  outline: 4px solid rgba(72, 159, 196, 0.26);
  outline-offset: 3px;
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.sky-decor {
  position: fixed;
  z-index: -1;
  opacity: .22;
  pointer-events: none;
  filter: blur(0.2px);
}

.sky-decor--one {
  top: 145px;
  left: 4%;
  color: #246f9d;
  font-size: 72px;
  animation: float 4s ease-in-out infinite;
}

.sky-decor--two {
  top: 390px;
  right: 2%;
  color: #c58b15;
  font-size: 92px;
  animation: float 6s ease-in-out infinite reverse;
}

.sky-decor--three {
  top: 760px;
  left: 2%;
  color: #d59b1f;
  font-size: 48px;
  animation: spinSoft 9s linear infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-13px) rotate(4deg); }
}

@keyframes spinSoft {
  to { transform: rotate(1turn); }
}

.site-header {
  width: min(1520px, calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(84, 74, 105, 0.1);
}

.brand {
  color: inherit;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand > span:last-child {
  display: grid;
  gap: 1px;
}

.brand strong {
  letter-spacing: 0.04em;
  font-size: 18px;
}

.brand small {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.brand-mark {
  display: none;
  position: relative;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 2px solid rgba(97, 64, 81, 0.2);
  border-radius: 17px 17px 20px 20px;
  color: white;
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(145deg, #7fd5f5 0 43%, #ffb5ca 43% 70%, #ffd76d 70%);
  box-shadow: inset 0 3px rgba(255,255,255,.45), 0 8px 16px rgba(84,123,158,.18);
}

.brand-mark__ear {
  position: absolute;
  z-index: -1;
  top: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #91d9f5;
  border: 2px solid rgba(97, 64, 81, 0.2);
}

.brand-mark__ear--left { left: 1px; }
.brand-mark__ear--right { right: 1px; }

.brand-mark__face {
  transform: translateY(1px);
  text-shadow: 0 2px rgba(81,50,46,.18);
}

.header-actions {
  display: flex;
  gap: 9px;
}

.icon-button {
  min-height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(79,85,113,.12);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(68,80,113,.06);
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.icon-button:hover {
  transform: translateY(-1px);
  border-color: rgba(125,206,245,.5);
  background: #fff;
  box-shadow: 0 10px 24px rgba(68,80,113,.11);
}

.icon-button:active { transform: translateY(0) scale(.98); }

.icon-button > span:first-child {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: var(--blue-dark);
  font-weight: 900;
  background: var(--blue-soft);
}

.icon-button--danger > span:first-child { color: var(--pink-dark); background: var(--pink-soft); }
.button-label { font-size: 12px; font-weight: 800; }

main {
  width: min(1520px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 235px;
  margin: 8px 0 20px;
  padding: 44px 40px 48px;
  display: grid;
  align-content: center;
  justify-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  text-align: center;
  background: transparent;
  box-shadow: none;
}

.hero > * {
  position: relative;
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  top: 66px;
  width: 170px;
  height: 64px;
  opacity: .72;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 70'%3E%3Cpath d='M7 53c20-5 35-18 50-36M52 18l2 14M51 18l-14 1M172 53c-20-5-35-18-50-36M127 18l-2 14M128 18l14 1' fill='none' stroke='%2372cbe8' stroke-width='3' stroke-linecap='round' stroke-dasharray='4 8'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hero::before,
.hero::after {
  display: none;
}

.hero::before { left: 4%; }
.hero::after { right: 4%; transform: scaleX(-1); }

.hero-eyebrow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: #9d6c0f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
}

.hero-eyebrow span {
  width: 30px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  margin: 13px auto 4px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  line-height: 1;
}

.title-small {
  margin-bottom: 9px;
  writing-mode: vertical-rl;
  color: var(--blue-dark);
  font-family: Georgia, serif;
  font-size: 13px;
  letter-spacing: .08em;
}

.title-main {
  color: var(--ink);
  font-size: clamp(48px, 5.7vw, 78px);
  font-weight: 1000;
  letter-spacing: -.07em;
  background: linear-gradient(92deg, #384a68 0 30%, #c58d19 50%, #397fae 78%, #2f628b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.title-main::first-letter { color: inherit; }

.hero > p {
  margin: 15px 0 21px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

.hero-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-pills span {
  padding: 9px 14px;
  border: 1px solid rgba(161,116,25,.17);
  border-radius: 999px;
  color: #6c637d;
  background: rgba(255,255,255,.72);
  box-shadow: 0 7px 20px rgba(113,88,38,.07);
  backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 800;
}

.live-datetime-pill time {
  color: #397fae;
  font-variant-numeric: tabular-nums;
  font-weight: 1000;
}

.hero-symbols {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-symbols span {
  position: absolute;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 24px;
  background: rgba(255,255,255,.2);
  box-shadow: 0 18px 45px rgba(91,77,42,.08);
  font-size: 36px;
  opacity: .5;
  backdrop-filter: blur(8px);
}

.hero-symbols span:nth-child(1) { left: 7%; top: 18%; color: #357fae; transform: rotate(-12deg); animation: heroFloat 5s ease-in-out infinite; }
.hero-symbols span:nth-child(2) { right: 8%; top: 13%; transform: rotate(10deg); animation: heroFloat 6s ease-in-out infinite reverse; }
.hero-symbols span:nth-child(3) { left: 17%; bottom: 4%; transform: rotate(7deg) scale(.72); animation: heroFloat 5.6s ease-in-out infinite .4s; }
.hero-symbols span:nth-child(4) { right: 19%; bottom: 2%; transform: rotate(-8deg) scale(.74); animation: heroFloat 6.4s ease-in-out infinite reverse; }

@keyframes heroFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}

.game-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
  align-items: start;
}

.board-shell {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(84,74,105,.16);
  border-radius: 22px;
  background: rgba(255,255,255,.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.board-toolbar {
  min-height: 48px;
  padding: 0 11px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: var(--ink-soft);
  font-size: 11px;
}

.board-toolbar > div:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #61cf9a;
  box-shadow: 0 0 0 5px rgba(97,207,154,.14);
  animation: pulseDot 1.8s ease-out infinite;
}

@keyframes pulseDot {
  50% { box-shadow: 0 0 0 8px rgba(97,207,154,0); }
}

.toolbar-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.toolbar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 3px;
}

.legend-dot--asia { background: var(--pink); }
.legend-dot--europe { background: var(--blue); }
.legend-dot--america { background: var(--mint); }
.legend-dot--africa { background: var(--orange); }
.legend-dot--oceania { background: var(--purple); }

.board-scroll {
  width: 100%;
  overflow: auto;
  border-radius: 22px;
  scrollbar-width: thin;
  scrollbar-color: rgba(251,121,169,.55) transparent;
}

.board {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-width: 820px;
  aspect-ratio: 1;
  padding: 5px;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  grid-template-rows: repeat(9, minmax(0, 1fr));
  gap: 3px;
  overflow: hidden;
  border: 3px solid #55516a;
  border-radius: 9px;
  background: #5a566d;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.7);
}

.board::before {
  content: "";
  position: absolute;
  z-index: 7;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle 150px at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(255,255,255,.34), rgba(125,206,245,.12) 32%, transparent 70%);
  transition: opacity .25s ease;
}

.board.has-pointer::before { opacity: 1; }

.board::after {
  content: "";
  position: absolute;
  z-index: 8;
  inset: 5px;
  border-radius: 15px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.68);
}

.tile {
  position: relative;
  z-index: 2;
  min-width: 0;
  min-height: 0;
  padding: 5px 4px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(155deg, #fffefa, #fbfbff);
  box-shadow: inset 0 -3px rgba(69,62,87,.04);
  cursor: pointer;
  outline: none;
  transform-origin: center;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.tile:hover,
.tile:focus-visible,
.tile.is-preview {
  z-index: 16;
  transform: translateY(-3px) scale(1.035);
  filter: saturate(1.08);
  box-shadow: 0 13px 26px rgba(57,63,92,.22), inset 0 0 0 2px rgba(255,255,255,.82);
}

.tile:focus-visible { box-shadow: 0 0 0 3px rgba(125,206,245,.72), 0 13px 26px rgba(57,63,92,.2); }
.tile.is-preview { animation: tilePreview .72s ease both; }

@keyframes tilePreview {
  0%, 100% { transform: translateY(-3px) scale(1.035); }
  50% { transform: translateY(-7px) scale(1.06); }
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .9;
  background:
    linear-gradient(135deg, rgba(255,255,255,.4), transparent),
    radial-gradient(circle at 85% 80%, rgba(70,61,86,.055) 0 14%, transparent 15%);
}

.tile--city::after {
  content: "";
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  right: 0;
  height: 9px;
  background: var(--tile-color, var(--pink));
  box-shadow: 0 2px 7px color-mix(in srgb, var(--tile-color, var(--pink)) 30%, transparent);
}

.tile--city.tile--owned {
  background: #fff9ce;
}

.tile--city.tile--owned::before {
  background:
    linear-gradient(135deg, rgba(255,255,255,.5), transparent),
    repeating-linear-gradient(-45deg, transparent 0 7px, rgba(251,121,169,.07) 7px 9px);
}

.tile--asia { --tile-color: var(--pink); }
.tile--europe { --tile-color: var(--blue); }
.tile--america { --tile-color: var(--mint); }
.tile--africa { --tile-color: var(--orange); }
.tile--oceania { --tile-color: var(--purple); }

.tile-flag {
  color: var(--ink);
  font-family: ui-rounded, "Microsoft YaHei UI", sans-serif;
  font-size: clamp(15px, 1.65vw, 25px);
  font-weight: 1000;
  letter-spacing: .06em;
  line-height: 1;
  filter: drop-shadow(0 2px 1px rgba(60,50,80,.1));
}

.tile-country {
  max-width: 100%;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: clamp(6px, .62vw, 9px);
  font-weight: 800;
  letter-spacing: .05em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tile-name {
  max-width: 100%;
  overflow: hidden;
  color: var(--ink);
  font-size: clamp(7px, .78vw, 11px);
  font-weight: 1000;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tile-name--country {
  margin: 3px 0 1px;
  font-size: clamp(9px, 1vw, 14px);
  letter-spacing: .03em;
}

.tile-price {
  margin-top: 2px;
  padding: 2px 7px;
  border: 1px solid rgba(229,180,55,.22);
  border-radius: 999px;
  color: #8b6d28;
  background: var(--yellow-soft);
  font-family: ui-rounded, "Microsoft YaHei UI", sans-serif;
  font-size: clamp(6px, .65vw, 9px);
  font-weight: 900;
}

.tile-price::before {
  content: "￥";
  color: #bd8a1f;
  display: inline-block;
  margin-right: 1px;
}

.owned-pin {
  position: absolute;
  top: 7px;
  right: 3px;
  width: 12px;
  height: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 50%;
  color: white;
  background: #f0b832;
  box-shadow: 0 2px 5px rgba(85,64,30,.2);
  font-size: 7px;
  font-weight: 1000;
}

.tile--special {
  color: var(--ink);
  background: var(--special-bg, #fff);
}

.tile--event { --special-bg: #ffe1ed; }
.tile--chance { --special-bg: #dbf4fb; }
.tile--airport { --special-bg: #e3f7f0; }
.tile--station { --special-bg: #fff0c6; }
.tile--start { --special-bg: #ffe5ef; }
.tile--prison { --special-bg: #e7f5fb; }
.tile--destiny { --special-bg: #ffe7ef; }

.special-icon {
  width: clamp(24px, 2.9vw, 40px);
  height: clamp(24px, 2.9vw, 40px);
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: var(--special-color, var(--pink));
  box-shadow: 0 4px 0 color-mix(in srgb, var(--special-color, var(--pink)) 55%, #6e6783), inset 0 2px rgba(255,255,255,.6);
  font-size: clamp(13px, 1.6vw, 22px);
  line-height: 1;
  transform: rotate(-3deg);
}

.tile--event .special-icon { --special-color: var(--pink); }
.tile--chance .special-icon { --special-color: var(--blue); }
.tile--airport .special-icon { --special-color: var(--mint); }
.tile--station .special-icon { --special-color: var(--yellow); color: #775d25; }
.tile--start .special-icon { --special-color: var(--pink); }
.tile--prison .special-icon { --special-color: var(--blue); }
.tile--destiny .special-icon { --special-color: var(--pink); }

.special-kicker {
  margin-top: 4px;
  color: var(--pink-dark);
  font-size: clamp(6px, .55vw, 8px);
  font-weight: 1000;
  letter-spacing: .08em;
}

.special-name {
  max-width: 100%;
  overflow: hidden;
  font-size: clamp(7px, .76vw, 11px);
  font-weight: 1000;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.special-note {
  max-width: 94%;
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: clamp(5px, .52vw, 8px);
  font-weight: 800;
  line-height: 1.14;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tile--corner .special-icon {
  width: clamp(32px, 4vw, 58px);
  height: clamp(32px, 4vw, 58px);
  border-radius: 17px;
  font-size: clamp(18px, 2.2vw, 31px);
}

.tile--corner .special-name {
  margin-top: 4px;
  font-size: clamp(8px, .9vw, 13px);
}

.tile--corner .special-kicker {
  font-size: clamp(6px, .62vw, 9px);
}

.tile.is-current {
  animation: tileGlow 1s ease-in-out infinite alternate;
}

@keyframes tileGlow {
  to { box-shadow: inset 0 0 0 4px rgba(255, 211, 76, .85), 0 0 18px rgba(255,211,76,.75); }
}

.player-token {
  position: absolute;
  z-index: 12;
  right: 1px;
  bottom: 1px;
  width: clamp(29px, 3vw, 42px);
  height: clamp(29px, 3vw, 42px);
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50% 50% 45% 45%;
  color: white;
  background: linear-gradient(145deg, #b97853, #7b4b39);
  box-shadow: 0 5px 0 #5d3f4a, 0 7px 14px rgba(64,48,64,.26);
  font-size: clamp(17px, 1.8vw, 25px);
  transition: transform .18s ease;
}

.player-token.is-hopping {
  transform: translateY(-10px) rotate(8deg) scale(1.08);
}

.board-center {
  position: relative;
  z-index: 1;
  grid-column: 2 / 9;
  grid-row: 2 / 9;
  padding: 4.5% 5%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 16%, rgba(255,255,255,.94) 0 8%, transparent 9%),
    linear-gradient(145deg, #fff6fa 0, #f1fbff 44%, #fffaf0 100%);
  transition: box-shadow .25s ease, filter .25s ease;
}

.board.is-moving .board-center {
  filter: saturate(1.06);
  box-shadow: inset 0 0 70px rgba(125,206,245,.18);
}

.board-particle {
  position: absolute;
  z-index: 24;
  left: var(--particle-x, 50%);
  top: var(--particle-y, 50%);
  pointer-events: none;
  color: var(--particle-color, #f3bd37);
  font-size: clamp(13px, 1.5vw, 22px);
  font-weight: 1000;
  text-shadow: 0 3px 12px rgba(71,60,91,.2);
  animation: boardParticle .9s cubic-bezier(.16,.8,.32,1) forwards;
}

@keyframes boardParticle {
  0% { opacity: 0; transform: translate(-50%, -10%) scale(.45) rotate(0); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--particle-dx, 0px)), -95px) scale(1.15) rotate(var(--particle-rotate, 24deg)); }
}

.board-center::before {
  content: "";
  position: absolute;
  inset: 13px;
  z-index: -1;
  border: 2px dashed rgba(88,129,155,.13);
  border-radius: 28px;
}

.center-cloud {
  position: absolute;
  width: 120px;
  height: 35px;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  filter: blur(.2px);
}

.center-cloud::before,
.center-cloud::after {
  content: "";
  position: absolute;
  bottom: 0;
  border-radius: 50%;
  background: inherit;
}

.center-cloud::before { width: 52px; height: 52px; left: 20px; }
.center-cloud::after { width: 69px; height: 69px; right: 8px; }
.center-cloud--one { left: -25px; top: 29%; }
.center-cloud--two { right: -34px; top: 12%; transform: scale(.7); }

.center-brand {
  position: relative;
  z-index: 1;
  text-align: center;
}

.center-brand__kicker {
  color: var(--pink-dark);
  font-family: Georgia, serif;
  font-size: clamp(7px, .75vw, 11px);
  font-weight: 900;
  letter-spacing: .18em;
}

.center-brand__line {
  margin-top: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
}

.center-brand__line > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.center-brand__line strong,
.center-brand__line span:not(.plane-doodle) {
  color: #fff;
  font-size: clamp(26px, 3.5vw, 51px);
  font-weight: 1000;
  letter-spacing: -.07em;
  -webkit-text-stroke: 6px #4f4a63;
  paint-order: stroke fill;
}

.center-brand__line span:not(.plane-doodle) {
  color: #fff6b8;
}

.plane-doodle {
  width: clamp(32px, 4vw, 55px);
  height: clamp(32px, 4vw, 55px);
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--blue);
  box-shadow: 0 6px 0 #4b98b7;
  font-size: clamp(17px, 2.2vw, 31px);
  transform: rotate(-12deg);
}

.center-brand p {
  margin: 3px 0 0;
  color: var(--blue-dark);
  font-family: Georgia, serif;
  font-size: clamp(7px, .8vw, 12px);
  font-weight: 900;
  letter-spacing: .24em;
}

.world-map-card,
.center-footer {
  display: none !important;
}

.board-guide {
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: 0;
  margin-top: 2%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 1.8%;
}

.board-guide-plans,
.board-guide-copy {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(82,72,103,.14);
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 7px 18px rgba(82,69,96,.08);
}

.board-guide-plans {
  padding: 10px 19% 10px 12px;
  background:
    radial-gradient(circle at 94% 42%, rgba(251,121,169,.19), transparent 24%),
    linear-gradient(135deg, rgba(255,255,255,.9), rgba(242,250,254,.86));
}

.board-guide-title {
  display: flex;
  align-items: center;
  gap: 7px;
}

.board-guide-title > span {
  width: clamp(23px, 2.4vw, 35px);
  height: clamp(23px, 2.4vw, 35px);
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--pink-soft);
  font-size: clamp(12px, 1.3vw, 18px);
}

.board-guide-title strong {
  font-size: clamp(9px, 1.05vw, 15px);
}

.board-guide-title small {
  margin-left: auto;
  color: var(--pink-dark);
  font-family: Georgia, serif;
  font-size: clamp(5px, .48vw, 7px);
  font-weight: 900;
  letter-spacing: .12em;
}

.board-plan-row {
  min-height: clamp(23px, 2.4vw, 35px);
  margin-top: 4px;
  padding: 3px 8px;
  display: grid;
  grid-template-columns: minmax(60px,.65fr) 1fr minmax(80px,.9fr);
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(251,121,169,.17);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
}

.board-plan-row b {
  color: var(--pink-dark);
  font-size: clamp(7px, .76vw, 11px);
}

.board-plan-row span,
.board-plan-row em {
  color: var(--ink);
  font-size: clamp(6px, .68vw, 10px);
  font-style: normal;
  font-weight: 900;
}

.board-plan-row em { text-align: right; }
.board-guide-beaver {
  position: absolute;
  right: 2.5%;
  bottom: 4%;
  font-size: clamp(38px, 6vw, 82px);
  filter: drop-shadow(0 6px 8px rgba(85,61,81,.15));
  transform: rotate(-4deg);
}

.board-guide-columns {
  min-height: 0;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1.8%;
}

.board-guide-copy {
  min-height: 0;
  padding: 10px 12px;
}

.board-guide-copy--profit {
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,248,222,.85));
}

.board-guide-copy--rules {
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(229,249,240,.88));
}

.board-guide-copy--profit .board-guide-title > span { background: var(--yellow-soft); }
.board-guide-copy--rules .board-guide-title > span { background: var(--mint-soft); }
.board-guide-copy ul {
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
  list-style: none;
}

.board-guide-copy li {
  position: relative;
  padding-left: 10px;
  color: #686076;
  font-size: clamp(5.5px, .59vw, 8.5px);
  font-weight: 700;
  line-height: 1.45;
}

.board-guide-copy li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--pink-dark);
  font-weight: 1000;
}

.board-guide-copy--rules li::before { color: #4da989; }

.board-guide {
  display: none;
}

.center-extraction-shell {
  position: relative;
  z-index: 3;
  flex: 1;
  min-height: 0;
  margin-top: 2.2%;
  padding: 2.2%;
  display: flex;
  flex-direction: column;
  gap: 2.1%;
  overflow: hidden;
  border: 1px solid rgba(82,72,103,.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 93% 8%, rgba(251,121,169,.2), transparent 23%),
    radial-gradient(circle at 8% 92%, rgba(114,203,232,.2), transparent 22%),
    linear-gradient(145deg, rgba(255,255,255,.92), rgba(246,252,255,.9) 55%, rgba(255,249,239,.9));
  box-shadow: 0 12px 28px rgba(80,66,93,.1), inset 0 0 0 5px rgba(255,255,255,.42);
}

.center-extraction-shell::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: -1;
  border: 1px dashed rgba(83,124,151,.13);
  border-radius: 18px;
  pointer-events: none;
}

.center-extraction-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.center-extraction-heading > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.center-extraction-icon {
  width: clamp(34px, 3.8vw, 52px);
  height: clamp(34px, 3.8vw, 52px);
  display: grid;
  place-items: center;
  border: 2px solid white;
  border-radius: 15px;
  background: linear-gradient(145deg, #bcecf7, #75cce6);
  box-shadow: 0 6px 0 #4fa2c0;
  font-size: clamp(18px, 2vw, 27px);
  transform: rotate(-3deg);
}

.center-extraction-heading > div > span:last-child {
  display: grid;
  gap: 1px;
}

.center-extraction-heading small,
.center-live-kicker {
  color: var(--pink-dark);
  font-family: Georgia, serif;
  font-size: clamp(5px, .55vw, 8px);
  font-weight: 900;
  letter-spacing: .15em;
}

.center-extraction-heading strong {
  font-size: clamp(14px, 1.6vw, 23px);
}

.center-extraction-badge {
  padding: 6px 10px;
  border: 1px solid rgba(251,121,169,.24);
  border-radius: 999px;
  color: var(--pink-dark);
  background: rgba(255,255,255,.72);
  font-size: clamp(6px, .64vw, 9px);
  font-weight: 900;
}

.center-extraction-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(150px, .7fr);
  gap: 2%;
}

.center-extraction-mount {
  min-width: 0;
  min-height: 0;
}

.center-extraction-mount .extraction-panel {
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: clamp(10px, 1.3vw, 17px);
  align-content: center;
  gap: clamp(6px, .7vw, 10px);
  border-radius: 18px;
  background: rgba(255,255,255,.8);
  box-shadow: inset 0 0 18px rgba(112,196,220,.08);
}

.center-extraction-mount .extraction-heading > span { font-size: clamp(9px, .9vw, 13px); }
.center-extraction-mount .extraction-field > span,
.center-extraction-mount .extraction-extras label > span { font-size: clamp(6px, .62vw, 9px); }
.center-extraction-mount .extraction-panel select,
.center-extraction-mount .extraction-panel input[type="number"] {
  min-height: clamp(30px, 3vw, 42px);
  font-size: clamp(7px, .75vw, 10px);
}

.center-extraction-mount .special-loot { font-size: clamp(6px, .63vw, 9px); }
.center-extraction-mount .settlement-actions button {
  min-height: clamp(34px, 3.4vw, 47px);
  font-size: clamp(7px, .78vw, 11px);
}

.center-live-panel {
  position: relative;
  min-width: 0;
  padding: clamp(12px, 1.5vw, 21px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  overflow: hidden;
  border: 1px solid rgba(176,130,31,.2);
  border-radius: 19px;
  text-align: left;
  background:
    radial-gradient(circle at 82% 8%, rgba(255,225,119,.35), transparent 22%),
    linear-gradient(160deg, rgba(255,250,220,.9), rgba(255,255,255,.88) 45%, rgba(226,245,255,.92));
}

.center-live-panel::after {
  content: "";
  position: absolute;
  right: -35px;
  top: -35px;
  width: 95px;
  height: 95px;
  border: 16px solid rgba(114,203,232,.12);
  border-radius: 50%;
}

.center-beaver {
  position: absolute;
  z-index: 2;
  top: clamp(9px, 1.1vw, 15px);
  right: clamp(9px, 1.1vw, 15px);
  width: clamp(38px, 4.2vw, 58px);
  height: clamp(38px, 4.2vw, 58px);
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 15px;
  background: rgba(255,255,255,.58);
  box-shadow: 0 8px 22px rgba(83,60,79,.08);
  font-size: clamp(25px, 3.1vw, 43px);
  filter: drop-shadow(0 5px 6px rgba(83,60,79,.12));
  transform: rotate(3deg);
}

.center-live-kicker,
.center-live-panel h3 { padding-right: clamp(46px, 5vw, 68px); }

.center-live-panel h3 {
  margin: 2px 0 1px;
  font-size: clamp(13px, 1.25vw, 18px);
}

.center-coin-display {
  width: 100%;
  padding: clamp(9px, .9vw, 13px);
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 5px;
  border: 1px solid rgba(226,177,61,.25);
  border-radius: 15px;
  color: #956f23;
  background: linear-gradient(110deg, rgba(255,247,198,.95), rgba(255,255,255,.82));
  box-shadow: 0 8px 18px rgba(151,111,28,.07);
}

.center-coin-display > span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  align-self: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(145deg, #f6ce66, #dba832);
  font-family: Georgia, serif;
  font-size: 12px;
  font-weight: 900;
}

.center-coin-display strong {
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: clamp(20px, 2.4vw, 34px);
}

.center-coin-display small { font-size: 7px; font-weight: 900; }
.center-live-stats {
  width: 100%;
  margin-top: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.center-live-stats > div,
.center-effect-row {
  min-width: 0;
  padding: clamp(8px, .75vw, 11px);
  display: grid;
  gap: 2px;
  border: 1px solid rgba(82,72,103,.09);
  border-radius: 11px;
  background: rgba(255,255,255,.76);
}

.center-live-stats small,
.center-effect-row small { color: var(--ink-soft); font-size: clamp(7px, .65vw, 9px); font-weight: 900; }
.center-live-stats strong,
.center-effect-row strong { overflow: hidden; font-size: clamp(9px, .82vw, 12px); text-overflow: ellipsis; white-space: nowrap; }
.center-effect-row { width: 100%; margin-top: 0; }

.center-journey-progress {
  margin-top: auto;
  padding: clamp(7px, .7vw, 10px);
  border: 1px solid rgba(60,143,193,.15);
  border-radius: 13px;
  background: rgba(255,255,255,.75);
}

.center-journey-progress > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.center-journey-progress small { color: var(--ink-soft); font-size: clamp(7px, .65vw, 9px); font-weight: 900; }
.center-journey-progress strong { color: #397fae; font-size: clamp(9px, .82vw, 12px); }
.center-journey-progress > span {
  height: 7px;
  margin-top: 7px;
  display: block;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(57,127,174,.12);
}

.center-journey-progress i {
  width: 3.125%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #e6b53d, #4b9dcc);
  box-shadow: 0 0 12px rgba(71,153,203,.28);
  transition: width .35s ease;
}

.center-route-stack { display: grid; gap: 6px; }
.center-route-item {
  min-width: 0;
  padding: clamp(6px, .65vw, 9px);
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(82,72,103,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.72);
}

.center-route-item > span {
  width: clamp(25px, 2.3vw, 32px);
  height: clamp(25px, 2.3vw, 32px);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(255,221,113,.36);
  font-size: clamp(12px, 1.2vw, 17px);
}

.center-route-copy { min-width: 0; flex: 1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 5px; }
.center-route-copy > i { color: #b79236; font-size: 11px; font-style: normal; transform: rotate(-90deg); }
.center-route-item p,
.center-next-action p { min-width: 0; margin: 0; display: grid; gap: 1px; }
.center-route-item small,
.center-next-action small { color: var(--ink-soft); font-size: clamp(6px, .58vw, 8px); font-weight: 900; }
.center-route-item strong,
.center-next-action strong { overflow: hidden; font-size: clamp(8px, .78vw, 11px); text-overflow: ellipsis; white-space: nowrap; }

.center-next-action {
  padding: clamp(7px, .7vw, 10px);
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(62,142,188,.18);
  border-radius: 13px;
  color: #354966;
  background: linear-gradient(110deg, rgba(255,222,113,.52), rgba(213,240,255,.84));
}

.center-next-action > span {
  width: clamp(28px, 2.7vw, 38px);
  height: clamp(28px, 2.7vw, 38px);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(145deg, #e5b43b, #3f91c3);
  font: 900 clamp(7px, .7vw, 10px) Georgia, serif;
}

.center-extraction-steps {
  min-height: clamp(42px, 4.8vw, 66px);
  padding: 7px 10px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(82,72,103,.1);
  border-radius: 15px;
  background: rgba(255,255,255,.72);
}

.center-extraction-steps > div {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.center-extraction-steps > div > span {
  width: clamp(24px, 2.5vw, 34px);
  height: clamp(24px, 2.5vw, 34px);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: white;
  background: var(--pink);
  font-family: Georgia, serif;
  font-size: clamp(7px, .7vw, 10px);
  font-weight: 900;
}

.center-extraction-steps > div:nth-of-type(2) > span { background: var(--blue); }
.center-extraction-steps > div:nth-of-type(3) > span { background: var(--mint); }
.center-extraction-steps p { min-width: 0; margin: 0; display: grid; gap: 1px; }
.center-extraction-steps small { color: var(--ink-soft); font-size: clamp(5px, .48vw, 7px); font-weight: 800; }
.center-extraction-steps strong { overflow: hidden; font-size: clamp(6px, .62vw, 9px); text-overflow: ellipsis; white-space: nowrap; }
.center-extraction-steps > i { color: #c5bdca; font-size: clamp(15px, 1.8vw, 25px); font-style: normal; }

.world-map-card {
  position: relative;
  flex: 1;
  min-height: 0;
  margin-top: 2%;
  border: 1px solid rgba(83,102,128,.12);
  border-radius: 23px;
  overflow: hidden;
  background: rgba(255,255,255,.55);
  box-shadow: inset 0 0 22px rgba(124,192,212,.1);
}

.world-map-card > svg:first-child {
  width: 79%;
  height: 100%;
  display: block;
}

.map-grid path {
  fill: none;
  stroke: #5485a0;
  stroke-width: 1;
  stroke-dasharray: 4 7;
}

.land { stroke: rgba(82,73,103,.16); stroke-width: 2; }
.land--asia { fill: #ffc3da; }
.land--europe { fill: #bdebf7; }
.land--america { fill: #aee8d3; }
.land--africa { fill: #ffd1aa; }
.land--oceania { fill: #d7c9f6; }

.flight-paths path {
  fill: none;
  stroke: #fa77a8;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 7 8;
}

.map-pins circle {
  fill: white;
  stroke: #f66f9e;
  stroke-width: 4;
}

.world-map-card text {
  fill: #766f85;
  font-size: 13px;
  font-weight: 900;
}

.world-map-card .plane-on-route {
  fill: #489ec0;
  font-size: 24px;
  transform-box: fill-box;
  transform-origin: center;
  animation: planeBob 1.7s ease-in-out infinite;
}

@keyframes planeBob {
  50% { transform: translateY(-7px) rotate(-7deg); }
}

.mascot {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: -5%;
  width: 29%;
  max-height: 103%;
  filter: drop-shadow(0 8px 10px rgba(70,55,80,.15));
}

.mascot svg {
  width: 100%;
  height: auto;
  display: block;
}

.mascot-person {
  display: block;
  font-size: clamp(74px, 11vw, 150px);
  line-height: 1;
  text-align: center;
  transform: rotate(3deg);
  filter: drop-shadow(0 10px 10px rgba(70,55,80,.16));
}

.center-footer {
  margin-top: 1.7%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3%;
}

.travel-card {
  min-width: 0;
  padding: 7px 9px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(79,73,98,.11);
  border-radius: 14px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 5px 12px rgba(81,69,97,.06);
}

.travel-card__icon {
  width: clamp(24px, 2.8vw, 38px);
  height: clamp(24px, 2.8vw, 38px);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--pink-soft);
  font-size: clamp(12px, 1.5vw, 20px);
}

.travel-card:nth-child(2) .travel-card__icon { background: var(--yellow-soft); }
.travel-card:nth-child(3) .travel-card__icon { background: var(--blue-soft); }

.travel-card > span:last-child {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.travel-card small {
  color: var(--ink-soft);
  font-size: clamp(5px, .57vw, 8px);
  font-weight: 800;
}

.travel-card strong {
  overflow: hidden;
  font-size: clamp(6px, .72vw, 10px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.swipe-hint {
  display: none;
  margin: 8px 0 0;
  color: var(--ink-soft);
  text-align: center;
  font-size: 10px;
  font-weight: 700;
}

.control-panel {
  display: grid;
  gap: 13px;
}

.panel-card,
.wallet-card {
  padding: 18px;
  border: 1px solid rgba(82,72,103,.13);
  border-radius: 22px;
  background: rgba(255,255,255,.82);
  box-shadow: var(--small-shadow);
  backdrop-filter: blur(15px);
}

.player-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  background:
    radial-gradient(circle at 88% 10%, rgba(255,255,255,.75) 0 7%, transparent 8%),
    linear-gradient(135deg, #ffe6ef, #fff8f8 55%, #e7f8fc);
}

.player-card::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -28px;
  width: 94px;
  height: 94px;
  border: 18px solid rgba(114,203,232,.12);
  border-radius: 50%;
}

.player-avatar {
  position: relative;
  z-index: 1;
  width: 57px;
  height: 57px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 19px;
  background: linear-gradient(145deg, #ffcfdd, #f19aba);
  box-shadow: 0 8px 15px rgba(177,95,127,.2);
  font-size: 33px;
}

.player-info { min-width: 0; }
.status-pill {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 99px;
  color: white;
  background: var(--pink);
  font-family: Georgia, serif;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .12em;
}

.player-info h2 {
  margin: 4px 0 2px;
  font-size: 19px;
}

.player-info p {
  margin: 0;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.level-badge {
  position: relative;
  z-index: 1;
  width: 47px;
  height: 47px;
  display: grid;
  place-content: center;
  text-align: center;
  border: 2px solid white;
  border-radius: 50%;
  color: white;
  background: linear-gradient(145deg, #65c2e3, #469bbd);
  box-shadow: 0 6px 12px rgba(65,151,184,.22);
}

.level-badge span { font-size: 7px; font-weight: 900; letter-spacing: .1em; }
.level-badge strong { font-size: 17px; line-height: 1; }

.wallet-card {
  padding: 13px 15px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.wallet-card > div {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.wallet-card > div + div {
  padding-left: 12px;
  border-left: 1px solid rgba(84,74,105,.12);
}

.wallet-icon {
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #886626;
  background: linear-gradient(145deg, #ffe991, #f2bd4f);
  box-shadow: 0 4px 9px rgba(137,94,28,.18);
  font-family: ui-rounded, "Microsoft YaHei UI", sans-serif;
  font-size: 15px;
  font-weight: 900;
}

.wallet-icon--pink {
  color: #fff;
  background: linear-gradient(145deg, #ffa8c8, #ef6c9e);
}

.wallet-card span:last-child { min-width: 0; display: grid; }
.wallet-card small { color: var(--ink-soft); font-size: 8px; font-weight: 800; }
.wallet-card strong { font-size: 16px; font-variant-numeric: tabular-nums; }

.dice-card {
  padding: 20px;
  background:
    radial-gradient(circle at 90% 10%, rgba(114,203,232,.12), transparent 25%),
    rgba(255,255,255,.92);
}

.card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.section-kicker,
.dialog-kicker {
  color: var(--pink-dark);
  font-family: Georgia, serif;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .16em;
}

.card-heading h3,
.landing-card h3 {
  margin: 3px 0 0;
  font-size: 17px;
}

.turn-counter,
.stamp-count {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--ink-soft);
  background: #f4f2f6;
  font-size: 9px;
  font-weight: 800;
}

.turn-counter strong { color: var(--pink-dark); }

.dice-stage {
  margin: 17px 0;
  padding: 17px;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px dashed rgba(76,113,139,.2);
  border-radius: 19px;
  background: linear-gradient(135deg, #fff9fb, #f0fbfe);
}

.extraction-panel {
  margin: 0 0 17px;
  padding: 13px;
  display: grid;
  gap: 9px;
  border: 1px solid rgba(82,72,103,.12);
  border-radius: 17px;
  background: linear-gradient(145deg, #fffaf2, #f5fcff);
}

.extraction-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.extraction-heading > span {
  font-size: 12px;
  font-weight: 1000;
}

.extraction-heading small {
  color: var(--pink-dark);
  font-family: Georgia, serif;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .13em;
}

.extraction-field,
.extraction-extras label {
  display: grid;
  gap: 4px;
}

.extraction-field > span,
.extraction-extras label > span {
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 900;
}

.extraction-panel select,
.extraction-panel input[type="number"] {
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(82,72,103,.14);
  border-radius: 11px;
  color: var(--ink);
  outline: none;
  background: rgba(255,255,255,.9);
  font: 800 10px "Microsoft YaHei UI", sans-serif;
}

.extraction-panel select:focus,
.extraction-panel input[type="number"]:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(114,203,232,.15);
}

.extraction-extras {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.extraction-extras:not(.has-chance-record) .big-red-field,
.extraction-extras.has-two-chance-records .big-red-field {
  grid-column: 1 / -1;
}

.chance-record-field[hidden] { display: none; }

.chance-record-field > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.chance-record-field > span strong {
  color: var(--pink-dark);
  font-size: .9em;
  white-space: nowrap;
}

.special-loot {
  padding: 8px 9px;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  border: 1px dashed rgba(251,121,169,.28);
  border-radius: 11px;
  color: var(--ink-soft);
  background: rgba(255,255,255,.65);
  cursor: pointer;
  font-size: 8px;
  font-weight: 800;
  line-height: 1.45;
}

.special-loot input {
  margin: 2px 0 0;
  accent-color: var(--pink);
}

.special-loot strong { color: var(--pink-dark); }
.settlement-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.settlement-actions button {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(64,164,199,.2);
  border-radius: 13px;
  color: white;
  background: linear-gradient(135deg, #64cde8, #549fd8);
  box-shadow: 0 9px 22px rgba(68,153,194,.2);
  cursor: pointer;
  font-size: 10px;
  font-weight: 1000;
  transition: transform .15s ease, box-shadow .15s ease;
}

.settlement-actions button + button {
  border-color: rgba(220,94,132,.18);
  background: linear-gradient(135deg, #f38eab, #dc6689);
  box-shadow: 0 9px 22px rgba(208,79,121,.18);
}

.settlement-actions button:hover { transform: translateY(-1px); filter: saturate(1.08); box-shadow: 0 12px 26px rgba(68,153,194,.26); }
.settlement-actions button + button:hover { box-shadow: 0 12px 26px rgba(208,79,121,.23); }
.settlement-actions button:active,
.settlement-actions button + button:active { transform: translateY(1px) scale(.985); box-shadow: 0 4px 12px rgba(68,79,105,.14); }
.settlement-actions button:disabled { cursor: not-allowed; filter: grayscale(.5); opacity: .65; }

.dice {
  position: relative;
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  border: 2px solid rgba(82,72,103,.16);
  border-radius: 20px;
  background: #fff;
  box-shadow: inset 0 -7px rgba(103,82,112,.055), 0 8px 0 #d9cfd9, 0 13px 24px rgba(75,59,84,.15);
  transform: rotate(-3deg);
}

.dice.is-rolling {
  animation: diceRoll .18s linear infinite;
}

@keyframes diceRoll {
  0% { transform: rotate(-8deg) scale(.95); }
  50% { transform: rotate(10deg) translateY(-5px) scale(1.04); }
  100% { transform: rotate(-8deg) scale(.95); }
}

.pip {
  position: absolute;
  width: 11px;
  height: 11px;
  display: none;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: inset 0 -2px rgba(115,55,82,.18);
}

.pip--1 { left: 12px; top: 12px; }
.pip--2 { left: 30px; top: 12px; }
.pip--3 { right: 12px; top: 12px; }
.pip--4 { left: 12px; top: 30px; }
.pip--5 { left: 30px; top: 30px; }
.pip--6 { right: 12px; top: 30px; }
.pip--7 { left: 12px; bottom: 11px; }
.dice::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 11px;
  width: 11px;
  height: 11px;
  display: none;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: inset 0 -2px rgba(115,55,82,.18);
}

.dice[data-face="1"] .pip--5 { display: block; }
.dice[data-face="2"] .pip--1,
.dice[data-face="2"]::after { display: block; }
.dice[data-face="3"] .pip--1,
.dice[data-face="3"] .pip--5,
.dice[data-face="3"]::after { display: block; }
.dice[data-face="4"] .pip--1,
.dice[data-face="4"] .pip--3,
.dice[data-face="4"] .pip--7,
.dice[data-face="4"]::after { display: block; }
.dice[data-face="5"] .pip--1,
.dice[data-face="5"] .pip--3,
.dice[data-face="5"] .pip--5,
.dice[data-face="5"] .pip--7,
.dice[data-face="5"]::after { display: block; }
.dice[data-face="6"] .pip--1,
.dice[data-face="6"] .pip--3,
.dice[data-face="6"] .pip--4,
.dice[data-face="6"] .pip--6,
.dice[data-face="6"] .pip--7,
.dice[data-face="6"]::after { display: block; }

.dice-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.dice-copy strong { font-size: 13px; }
.dice-copy span { color: var(--ink-soft); font-size: 9px; font-weight: 700; line-height: 1.5; }

.primary-button,
.buy-button {
  position: relative;
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  overflow: hidden;
  border: 1px solid rgba(61,135,184,.18);
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, #65cae8, #718bdc);
  box-shadow: 0 12px 28px rgba(71,126,180,.24);
  cursor: pointer;
  font-weight: 1000;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.primary-button:hover,
.buy-button:hover {
  transform: translateY(-1px);
  filter: saturate(1.08);
  box-shadow: 0 16px 32px rgba(71,126,180,.3);
}

.primary-button:active,
.buy-button:active {
  transform: translateY(1px) scale(.99);
  box-shadow: 0 6px 16px rgba(71,126,180,.2);
}

.primary-button:disabled,
.buy-button:disabled {
  cursor: not-allowed;
  filter: grayscale(.55);
  opacity: .68;
}

.primary-button__shine {
  position: absolute;
  top: -20px;
  left: -70px;
  width: 50px;
  height: 100px;
  background: rgba(255,255,255,.25);
  transform: rotate(25deg);
  animation: buttonShine 3.4s ease-in-out infinite;
}

@keyframes buttonShine {
  0%, 58% { left: -70px; }
  80%, 100% { left: calc(100% + 40px); }
}

.primary-button__icon { font-size: 20px; }
.primary-button kbd {
  position: absolute;
  right: 10px;
  padding: 3px 5px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 5px;
  color: rgba(255,255,255,.78);
  background: rgba(70,36,58,.12);
  font-size: 7px;
}

.buy-button {
  min-height: 44px;
  margin-top: 13px;
  justify-content: space-between;
  background: linear-gradient(135deg, #75cfe9, #4caccd);
  box-shadow: 0 10px 24px rgba(63,152,185,.2);
  font-size: 12px;
}

.buy-button:hover { box-shadow: 0 14px 28px rgba(63,152,185,.26); }
.buy-button:active { box-shadow: 0 5px 14px rgba(63,152,185,.18); }

.landing-card {
  display: flex;
  align-items: center;
  gap: 13px;
  transition: background .25s ease, transform .25s ease;
}

.landing-card.is-updated {
  background: var(--yellow-soft);
  transform: scale(1.015);
}

.landing-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, #e5f7fd, #c4ebf5);
  font-size: 27px;
}

.landing-card > div:last-child { min-width: 0; }
.landing-card p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.45;
}

.passport-card { padding-bottom: 20px; }
.stamp-count { color: var(--pink-dark); font-size: 11px; }
.stamp-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.stamp {
  position: relative;
  aspect-ratio: .78;
  display: grid;
  place-content: center;
  gap: 2px;
  text-align: center;
  border: 1.5px dashed #c9c3cf;
  border-radius: 50% 50% 46% 46%;
  color: #bbb5c0;
  background: #faf9fa;
  transform: rotate(-3deg);
  transition: .3s ease;
}

.stamp:nth-child(even) { transform: rotate(3deg); }
.stamp span { font-family: Georgia, serif; font-size: 13px; font-weight: 900; }
.stamp small { font-size: 7px; font-weight: 900; }
.stamp.is-collected {
  color: var(--stamp-color, var(--pink-dark));
  border-color: currentColor;
  background: color-mix(in srgb, var(--stamp-color, var(--pink)) 11%, white);
  box-shadow: inset 0 0 0 3px white, 0 4px 8px rgba(88,67,100,.08);
  animation: stampIn .45s cubic-bezier(.2,1.65,.45,1);
}

.stamp[data-region="asia"] { --stamp-color: var(--pink); }
.stamp[data-region="europe"] { --stamp-color: var(--blue-dark); }
.stamp[data-region="america"] { --stamp-color: #49ac89; }
.stamp[data-region="africa"] { --stamp-color: #e38747; }
.stamp[data-region="oceania"] { --stamp-color: #8d72cd; }
.stamp[data-region="world"] { --stamp-color: #d6a122; }

@keyframes stampIn {
  0% { opacity: .2; transform: scale(1.9) rotate(-16deg); }
  100% { opacity: 1; }
}

.settlement-card { display: none; }
.settlement-status-grid {
  margin-top: 13px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.settlement-status-grid > div {
  min-width: 0;
  padding: 10px;
  display: grid;
  gap: 3px;
  border: 1px solid rgba(82,72,103,.1);
  border-radius: 13px;
  background: #faf9fb;
}

.settlement-status-grid > div:last-child { grid-column: 1 / -1; }
.settlement-status-grid small { color: var(--ink-soft); font-size: 7px; font-weight: 900; }
.settlement-status-grid strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; }

.tiny-plane {
  color: var(--blue-dark);
  font-size: 24px;
  transform: rotate(-12deg);
}

.trip-log {
  max-height: 165px;
  margin: 13px 0 0;
  padding: 0;
  overflow: auto;
  display: grid;
  gap: 0;
  list-style: none;
  scrollbar-width: thin;
}

.trip-log li {
  position: relative;
  padding: 9px 0 9px 55px;
  display: grid;
  min-height: 42px;
  border-top: 1px dashed rgba(85,74,105,.13);
  font-size: 9px;
  line-height: 1.4;
}

.trip-log li::before {
  content: "";
  position: absolute;
  left: 43px;
  top: 18px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 3px var(--pink-soft);
}

.trip-log time {
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--blue-dark);
  font-family: Georgia, serif;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .04em;
}

.trip-log span { color: var(--ink-soft); font-weight: 700; }

.poster-details {
  position: relative;
  margin: 26px 0 0;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(82,72,103,.13);
  border-radius: 30px;
  background:
    radial-gradient(circle at 3% 4%, rgba(255,200,61,.2), transparent 18%),
    radial-gradient(circle at 96% 11%, rgba(70,162,214,.2), transparent 19%),
    linear-gradient(155deg, rgba(255,251,232,.95), rgba(244,251,255,.95) 55%, rgba(255,246,205,.94));
  box-shadow: var(--shadow);
}

.poster-details::before {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  border: 2px dashed rgba(81,119,145,.09);
  border-radius: 23px;
}

.poster-details::after {
  content: "✦";
  position: absolute;
  top: 84px;
  right: 26%;
  color: rgba(255,191,60,.65);
  font-size: 35px;
  transform: rotate(12deg);
}

.poster-section-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  padding: 3px 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.poster-section-heading > div:first-child {
  position: relative;
  padding-left: 70px;
}

.poster-heading-icon {
  position: absolute;
  left: 0;
  top: 3px;
  width: 53px;
  height: 53px;
  display: grid;
  place-items: center;
  border: 2px solid white;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, var(--blue), #4fa7c6);
  box-shadow: 0 7px 0 #3b89a7, 0 12px 22px rgba(62,145,177,.19);
  font-size: 27px;
  transform: rotate(-4deg);
}

.poster-section-heading h2 {
  margin: 4px 0 4px;
  font-size: clamp(23px, 2.2vw, 34px);
  letter-spacing: -.04em;
}

.poster-section-heading p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
}

.poster-ticket {
  min-width: 190px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(82,72,103,.13);
  border-radius: 16px;
  background: rgba(255,255,255,.75);
  box-shadow: var(--small-shadow);
  transform: rotate(2deg);
}

.poster-ticket > span {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: white;
  background: var(--pink);
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 900;
}

.poster-ticket > div { display: grid; gap: 2px; }
.poster-ticket small { color: var(--ink-soft); font-family: Georgia, serif; font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.poster-ticket strong { font-size: 14px; }

.poster-card {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(82,72,103,.13);
  border-radius: 23px;
  background: rgba(255,255,255,.79);
  box-shadow: 0 10px 26px rgba(84,67,95,.09);
}

.plans-card {
  padding: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 96% 12%, rgba(255,204,66,.2), transparent 20%),
    radial-gradient(circle at 4% 90%, rgba(64,157,211,.15), transparent 22%),
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(247,251,239,.9) 46%, rgba(235,248,255,.92));
}

.poster-card-title {
  min-height: 47px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.poster-card-title > div {
  display: grid;
  gap: 1px;
}

.poster-card-title > div > span {
  color: #a37116;
  font-family: Georgia, serif;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .16em;
}

.poster-card-title h3 {
  margin: 0;
  font-size: 18px;
}

.poster-card-title > p {
  margin: 0 0 0 auto;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
}

.poster-card-title > p strong { color: #76520f; }

.poster-card-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 22px;
  box-shadow: inset 0 -3px rgba(75,62,84,.05);
}

.poster-card-icon--pink { color: #fff; background: linear-gradient(145deg, #edc45d, #3e9dcc); }
.poster-card-icon--gold { background: var(--yellow-soft); }
.poster-card-icon--mint { background: var(--mint-soft); }

.plan-list {
  margin-top: 15px;
  display: grid;
  gap: 10px;
}

.plan-row {
  --plan-accent: #7dcef5;
  --plan-accent-strong: #4c9fd2;
  --plan-soft: #e7f7ff;
  position: relative;
  width: 100%;
  min-height: 78px;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: 44px minmax(130px, 1.2fr) minmax(90px, .75fr) minmax(105px, .8fr) minmax(125px, .9fr) 118px;
  align-items: center;
  gap: 10px;
  border: 1px solid color-mix(in srgb, var(--plan-accent) 34%, transparent);
  border-radius: 16px;
  color: var(--ink);
  text-align: left;
  background: rgba(255,255,255,.78);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.plan-row::after {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 5px;
  border-radius: 0 9px 9px 0;
  background: var(--plan-accent);
}

.plan-row:nth-child(2) { --plan-accent: #ff9abb; --plan-accent-strong: #ef6798; --plan-soft: #fff0f5; }
.plan-row:nth-child(3) { --plan-accent: #ffd66f; --plan-accent-strong: #d9a62f; --plan-soft: #fff6cf; }
.plan-row:nth-child(2)::after,
.plan-row:nth-child(3)::after { background: var(--plan-accent); }
.plan-row:hover {
  z-index: 2;
  transform: translateY(-2px);
  border-color: var(--plan-accent-strong);
  background: #fff;
  box-shadow: 0 11px 25px rgba(65,94,122,.12);
}

.plan-row.is-selected {
  z-index: 3;
  transform: translateY(-2px);
  border: 2px solid var(--plan-accent-strong);
  background: linear-gradient(105deg, var(--plan-soft), rgba(255,255,255,.98) 56%, var(--plan-soft));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--plan-accent) 25%, transparent), 0 15px 32px rgba(55,118,158,.16);
}

.plan-list.has-selection .plan-row:not(.is-selected) {
  opacity: .64;
  filter: saturate(.7);
}

.plan-list.has-selection .plan-row:not(.is-selected):hover {
  opacity: 1;
  filter: none;
}

.plan-row:disabled { cursor: not-allowed; }
.plan-list.is-locked .plan-row { pointer-events: none; }
.plan-list.is-locked .plan-row:not(.is-selected),
.plan-list.is-locked .plan-row:not(.is-selected):hover {
  opacity: .42;
  filter: grayscale(.22) saturate(.45);
  transform: none;
  box-shadow: none;
}
.plan-list.is-locked .plan-row.is-selected { opacity: 1; }

.plan-row--featured {
  border-color: rgba(239,103,152,.28);
  background: linear-gradient(90deg, #fff, var(--pink-soft));
}

.plan-row--featured .plan-tag {
  color: var(--pink-dark);
  background: #fff;
}

.plan-index {
  color: var(--plan-accent-strong);
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 900;
  text-shadow: 0 2px 0 rgba(255,255,255,.8);
}

.plan-row:nth-child(2) .plan-index,
.plan-row:nth-child(3) .plan-index { color: var(--plan-accent-strong); }
.plan-name { display: grid; gap: 1px; }
.plan-name small { color: #60788e; font-family: Georgia, serif; font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.plan-name strong { font-size: 17px; }
.plan-price { display: grid; }
.plan-price strong { color: var(--pink-dark); font-family: Georgia, serif; font-size: 20px; }
.plan-price small { color: var(--ink-soft); font-size: 7px; font-weight: 800; }
.plan-guarantee,
.plan-spots {
  font-size: 10px;
  font-weight: 800;
}

.plan-guarantee strong,
.plan-spots strong {
  color: var(--ink);
  font-size: 15px;
}

.plan-tag {
  min-height: 34px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid color-mix(in srgb, var(--plan-accent) 42%, transparent);
  border-radius: 99px;
  color: var(--plan-accent-strong);
  background: #fff;
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}

.plan-tag i { font-size: 14px; font-style: normal; line-height: 1; }
.plan-tag b { font-weight: 900; }
.plan-row.is-selected .plan-tag {
  border-color: transparent;
  color: #fff;
  background: var(--plan-accent-strong);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--plan-accent) 38%, transparent);
}

.plan-row:nth-child(3) .plan-tag { color: var(--plan-accent-strong); background: #fff; }
.plan-row:nth-child(3).is-selected .plan-tag { color: #fff; background: var(--plan-accent-strong); }

.route-order-panel {
  margin-top: 16px;
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(60,132,177,.18);
  border-radius: 17px;
  background: linear-gradient(110deg, rgba(255,241,178,.72), rgba(255,255,255,.9) 50%, rgba(220,243,255,.78));
}

.route-order-panel.is-confirmed {
  border-color: rgba(61,146,112,.35);
  box-shadow: 0 0 0 4px rgba(80,183,141,.1);
}

.route-selection-summary { min-width: 0; display: flex; align-items: center; gap: 12px; }
.route-selection-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(76,104,126,.1);
  font-size: 23px;
}

.route-selection-summary p { min-width: 0; margin: 0; display: grid; gap: 2px; }
.route-selection-summary small { color: #8b6518; font: 900 8px Georgia, serif; letter-spacing: .11em; }
.route-selection-summary strong { font-size: 17px; }
.route-selection-summary em { overflow: hidden; color: var(--ink-soft); font-size: 10px; font-style: normal; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }

.route-confirm-button {
  min-width: 190px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(42,113,158,.18);
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #dba72d, #3d8fc0);
  box-shadow: 0 10px 24px rgba(54,127,172,.2);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.route-confirm-button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(54,127,172,.26); }
.route-confirm-button:active:not(:disabled) { transform: translateY(1px) scale(.99); }
.route-confirm-button:disabled { color: #8a8c98; background: #ececf0; box-shadow: none; cursor: not-allowed; }
.route-confirm-button.is-confirmed,
.route-confirm-button.is-confirmed:disabled {
  color: #fff;
  background: linear-gradient(135deg, #4bb78b, #397fae);
  box-shadow: 0 10px 24px rgba(54,127,172,.18);
  opacity: 1;
}

.route-order-flow {
  margin-top: 11px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  border: 1px dashed rgba(67,143,189,.22);
  border-radius: 16px;
  background: rgba(255,255,255,.64);
}

.route-order-flow > div { min-width: 0; display: flex; align-items: center; gap: 9px; }
.route-order-flow > div > span {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(145deg, #e5b43b, #4b99c5);
  font: 900 9px Georgia, serif;
}
.route-order-flow p { min-width: 0; margin: 0; display: grid; gap: 1px; }
.route-order-flow small { color: #a17317; font: 900 7px Georgia, serif; letter-spacing: .1em; }
.route-order-flow strong { font-size: 10px; }
.route-order-flow > i { color: #b1a67e; font-size: 22px; font-style: normal; }
.plan-mascot {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 142px;
  display: grid;
  place-items: center;
  text-align: center;
}

.plan-mascot::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 125px;
  height: 125px;
  border: 2px dashed rgba(251,121,169,.3);
  border-radius: 50%;
  background: rgba(255,255,255,.57);
}

.plan-mascot > span {
  font-size: 78px;
  filter: drop-shadow(0 8px 8px rgba(91,61,84,.13));
  animation: mascotWave 2.8s ease-in-out infinite;
}

@keyframes mascotWave {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(4deg) translateY(-5px); }
}

.plan-mascot small {
  margin-top: -7px;
  padding: 5px 8px;
  border-radius: 99px;
  color: white;
  background: var(--pink);
  box-shadow: 0 4px 9px rgba(205,77,126,.2);
  font-size: 8px;
  font-weight: 900;
}

.poster-rules-grid {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.guide-card {
  min-height: 350px;
  padding: 21px;
  overflow: hidden;
}

.guide-card--profit {
  background:
    radial-gradient(circle at 96% 90%, rgba(255,217,118,.23), transparent 25%),
    linear-gradient(145deg, rgba(255,255,255,.9), rgba(255,252,234,.88));
}

.guide-card--rules {
  background:
    radial-gradient(circle at 97% 91%, rgba(129,215,186,.22), transparent 26%),
    linear-gradient(145deg, rgba(255,255,255,.9), rgba(238,252,247,.88));
}

.poster-rule-list {
  margin: 13px 0 0;
  padding: 0;
  display: grid;
  gap: 7px;
  list-style: none;
}

.poster-rule-list li {
  position: relative;
  padding: 10px 12px 10px 47px;
  border: 1px solid rgba(82,72,103,.08);
  border-radius: 13px;
  background: rgba(255,255,255,.64);
}

.poster-rule-list li > span {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: white;
  background: #e8b64a;
  font-family: Georgia, serif;
  font-size: 9px;
  font-weight: 900;
}

.guide-card--rules .poster-rule-list li > span { background: #63bea0; }
.poster-rule-list p {
  margin: 0;
  color: #686076;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.65;
}

.poster-rule-list strong { color: var(--ink); }
.poster-rule-list em {
  color: #c17c24;
  font-style: normal;
  font-weight: 900;
}

.guide-sticker {
  position: absolute;
  right: -20px;
  bottom: -22px;
  width: 88px;
  height: 88px;
  display: grid;
  place-content: center;
  border: 7px double rgba(255,255,255,.7);
  border-radius: 50%;
  color: white;
  text-align: center;
  font-family: Georgia, serif;
  font-size: 8px;
  font-weight: 900;
  transform: rotate(-13deg);
}

.guide-sticker strong { font-size: 23px; }
.guide-sticker--gold { background: #efbd50; }
.guide-sticker--map { background: #62bea0; }

.order-notice {
  position: relative;
  z-index: 1;
  min-height: 152px;
  margin-top: 14px;
  padding: 22px 190px 22px 155px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-color: rgba(251,121,169,.22);
  background:
    radial-gradient(circle at 88% 50%, rgba(251,121,169,.17), transparent 22%),
    linear-gradient(105deg, rgba(255,255,255,.95), rgba(255,244,249,.93));
}

.notice-ribbon {
  position: absolute;
  left: 19px;
  top: 22px;
  bottom: 22px;
  width: 112px;
  display: grid;
  place-content: center;
  justify-items: center;
  border-radius: 18px;
  color: white;
  text-align: center;
  background: linear-gradient(145deg, #fb8db6, #e95d93);
  box-shadow: 0 8px 0 #c94778, 0 13px 20px rgba(197,72,119,.18);
}

.notice-ribbon > span { font-size: 20px; }
.notice-ribbon small { font-family: Georgia, serif; font-size: 5px; font-weight: 900; letter-spacing: .1em; }
.notice-ribbon h3 { margin: 2px 0 0; font-size: 19px; }
.order-notice ol {
  width: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
  list-style: none;
}

.order-notice li {
  position: relative;
  min-height: 28px;
  padding: 4px 0 4px 37px;
  display: flex;
  align-items: center;
}

.order-notice li > span {
  position: absolute;
  left: 0;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(251,121,169,.3);
  border-radius: 8px;
  color: var(--pink-dark);
  background: white;
  font-family: Georgia, serif;
  font-size: 11px;
  font-weight: 900;
}

.order-notice p {
  margin: 0;
  color: #686076;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.55;
}

.order-notice strong { color: var(--pink-dark); }
.notice-illustration {
  position: absolute;
  right: 21px;
  bottom: 19px;
  width: 145px;
  height: 105px;
}

.notice-bag {
  position: absolute;
  left: 5px;
  bottom: 0;
  width: 73px;
  height: 63px;
  display: grid;
  place-items: center;
  border: 5px solid white;
  border-radius: 25px 25px 18px 18px;
  color: #f6ad45;
  background: linear-gradient(145deg, #ffe698, #f7c461);
  box-shadow: 0 7px 14px rgba(151,104,46,.16);
  font-size: 25px;
  font-weight: 900;
  transform: rotate(-4deg);
}

.notice-bag::before {
  content: "";
  position: absolute;
  top: -24px;
  width: 37px;
  height: 30px;
  border: 8px solid #72cbea;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}

.notice-car {
  position: absolute;
  right: 0;
  bottom: 2px;
  font-size: 59px;
  filter: drop-shadow(0 7px 6px rgba(75,58,82,.13));
  transform: rotate(3deg);
}

.info-strip {
  margin: 24px 0 60px;
  padding: 19px 23px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(82,72,103,.12);
  border-radius: 23px;
  background: rgba(255,255,255,.72);
  box-shadow: var(--small-shadow);
}

.info-strip article {
  padding: 5px 25px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.info-strip article + article { border-left: 1px solid rgba(82,72,103,.12); }
.info-number {
  color: #fff;
  font-family: Georgia, serif;
  font-size: 36px;
  font-weight: 900;
  -webkit-text-stroke: 2px var(--pink);
  paint-order: stroke fill;
}

.info-strip article:nth-child(2) .info-number { -webkit-text-stroke-color: var(--blue); }
.info-strip article:nth-child(3) .info-number { -webkit-text-stroke-color: var(--mint); }
.info-strip h3 { margin: 0 0 4px; font-size: 13px; }
.info-strip p { margin: 0; color: var(--ink-soft); font-size: 9px; font-weight: 700; line-height: 1.45; }

footer {
  width: min(1520px, calc(100% - 48px));
  min-height: 110px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 13px;
  border-top: 1px solid rgba(84,74,105,.1);
  color: var(--ink-soft);
}

.footer-logo {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: white;
  background: #9a6147;
  font-family: Georgia, serif;
  font-weight: 900;
}

footer p { display: grid; gap: 2px; margin: 0; }
footer strong { color: var(--ink); font-size: 11px; }
footer span { font-family: Georgia, serif; font-size: 7px; letter-spacing: .08em; }
.footer-note { margin-left: auto; text-align: right; font-size: 9px; font-weight: 700; }

dialog {
  color: var(--ink);
}

dialog::backdrop {
  background: rgba(58, 50, 71, .42);
  backdrop-filter: blur(7px);
}

.rules-dialog,
.result-dialog {
  width: min(520px, calc(100% - 30px));
  padding: 38px;
  border: 1px solid rgba(82,72,103,.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 5%, rgba(114,203,232,.18), transparent 24%),
    linear-gradient(145deg, #fffafb, #fff 58%, #f1fbfd);
  box-shadow: 0 35px 100px rgba(50,39,57,.3);
}

.rules-dialog[open],
.result-dialog[open] {
  animation: dialogIn .28s cubic-bezier(.2,.9,.3,1.1);
}

@keyframes dialogIn {
  from { opacity: 0; transform: translateY(18px) scale(.96); }
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 35px;
  height: 35px;
  border: 0;
  border-radius: 12px;
  color: var(--ink-soft);
  background: #f2eef2;
  cursor: pointer;
  font-size: 21px;
}

.rules-dialog h2,
.result-dialog h2 {
  margin: 6px 0 21px;
  font-size: 28px;
}

.rules-list { display: grid; gap: 10px; }
.rules-list > div {
  padding: 12px;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 9px;
  align-items: center;
  border: 1px solid rgba(82,72,103,.1);
  border-radius: 15px;
  background: rgba(255,255,255,.8);
}

.rules-list > div > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--pink-soft);
  font-size: 20px;
}

.rules-list > div:nth-child(even) > span { background: var(--blue-soft); }
.rules-list p { margin: 0; color: var(--ink-soft); font-size: 10px; line-height: 1.5; }
.rules-list strong { display: block; color: var(--ink); font-size: 12px; }
.rules-dialog .primary-button { margin-top: 22px; }

.result-dialog {
  max-width: 430px;
  text-align: center;
  overflow: hidden;
}

.result-dialog::before,
.result-dialog::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border: 30px solid rgba(251,121,169,.08);
  border-radius: 50%;
}

.result-dialog::before { left: -90px; bottom: -95px; }
.result-dialog::after { right: -90px; top: -95px; border-color: rgba(114,203,232,.09); }
.result-burst { position: absolute; left: 34px; top: 35px; color: var(--yellow); font-size: 35px; }
.result-icon {
  width: 82px;
  height: 82px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 25px;
  background: linear-gradient(145deg, var(--pink-soft), #fff);
  box-shadow: 0 10px 30px rgba(113,80,105,.12);
  font-size: 43px;
  transform: rotate(-4deg);
}

.result-dialog h2 { margin-bottom: 9px; }
.result-dialog > p { margin: 0; color: var(--ink-soft); font-size: 12px; font-weight: 700; line-height: 1.6; }
.result-amount {
  margin: 14px 0 23px;
  display: block;
  color: var(--pink-dark);
  font-family: Georgia, serif;
  font-size: 23px;
}

.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 28px;
  max-width: calc(100% - 30px);
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  color: white;
  background: rgba(62, 54, 77, .94);
  box-shadow: 0 15px 40px rgba(43,33,52,.28);
  opacity: 0;
  pointer-events: none;
  font-size: 11px;
  font-weight: 800;
  transform: translate(-50%, 20px);
  transition: .25s ease;
}

.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1240px) {
  .game-layout { grid-template-columns: minmax(0, 1fr) 330px; }
  .control-panel { gap: 10px; }
  .panel-card, .wallet-card { border-radius: 18px; }
  .stamp-grid { gap: 3px; }
  .plans-card { padding-right: 20px; }
  .plan-mascot { display: none; }
}

@media (max-width: 1020px) {
  .hero { padding: 48px 28px; }
  .game-layout { grid-template-columns: 1fr; }
  .control-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
  .player-card,
  .wallet-card { grid-column: span 1; }
  .dice-card { grid-row: span 2; }
  .log-card { grid-column: span 2; }
  .poster-rules-grid { grid-template-columns: 1fr; }
  .guide-card { min-height: 0; }
}

@media (max-width: 760px) {
  .site-header,
  main,
  footer {
    width: min(100% - 24px, 1520px);
  }

  .site-header { min-height: 74px; }
  .brand { min-width: 0; flex: 1 1 auto; }
  .brand > span:last-child { min-width: 0; }
  .brand strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
  .brand small { display: none; }
  .header-actions { flex: 0 0 auto; gap: 5px; }
  .button-label { display: none; }
  .icon-button { min-width: 35px; min-height: 35px; padding: 0; justify-content: center; }
  .hero {
    min-height: 238px;
    margin: 14px 0 24px;
    padding: 38px 18px;
    border-radius: 20px;
  }
  .hero::before, .hero::after { display: none; }
  .title-main { font-size: clamp(40px, 13vw, 62px); }
  .title-small { display: none; }
  .hero > p { padding: 0 8px; font-size: 9px; line-height: 1.6; }
  .hero-pills span { font-size: 9px; }
  .hero-symbols span { width: 52px; height: 52px; border-radius: 17px; font-size: 25px; opacity: .34; }
  .hero-symbols span:nth-child(3), .hero-symbols span:nth-child(4) { display: none; }
  .board-shell { padding: 8px; border-radius: 22px; }
  .board-toolbar { align-items: flex-start; flex-direction: column; padding: 6px 5px 11px; }
  .toolbar-legend { justify-content: flex-start; gap: 7px; }
  .board { min-width: 760px; }
  .swipe-hint { display: block; }
  .control-panel { grid-template-columns: 1fr; }
  .player-card, .wallet-card, .dice-card, .log-card { grid-column: auto; grid-row: auto; }
  .landing-card { order: 4; }
  .passport-card { order: 5; }
  .log-card { order: 6; }
  .poster-details { padding: 16px; border-radius: 22px; }
  .poster-details::before { inset: 7px; border-radius: 17px; }
  .poster-details::after { display: none; }
  .poster-section-heading { padding: 3px 2px; }
  .poster-section-heading > div:first-child { padding-left: 56px; }
  .poster-heading-icon { width: 43px; height: 43px; border-radius: 14px; font-size: 21px; }
  .poster-section-heading h2 { font-size: 22px; }
  .poster-section-heading p { max-width: 260px; font-size: 9px; line-height: 1.5; }
  .poster-ticket { display: none; }
  .plans-card { padding: 15px; border-radius: 18px; }
  .poster-card-title > p { display: none; }
  .plan-row {
    min-height: 106px;
    padding: 10px 9px;
    grid-template-columns: 32px minmax(0, 1fr) minmax(72px, auto);
    grid-template-rows: auto auto auto;
    gap: 4px 8px;
  }
  .plan-index { grid-row: 1 / 4; align-self: center; font-size: 21px; }
  .plan-name { grid-column: 2; }
  .plan-price { grid-column: 3; justify-self: end; text-align: right; }
  .plan-guarantee { grid-column: 2; }
  .plan-spots { grid-column: 3; justify-self: end; }
  .plan-tag { grid-column: 2 / 4; justify-self: start; }
  .plan-name strong { font-size: 15px; }
  .plan-price strong { font-size: 17px; }
  .plan-guarantee strong, .plan-spots strong { font-size: 13px; }
  .route-order-panel { grid-template-columns: 1fr; gap: 12px; padding: 13px; }
  .route-selection-summary { align-items: flex-start; }
  .route-selection-summary em { white-space: normal; line-height: 1.5; }
  .route-confirm-button { width: 100%; min-width: 0; }
  .route-order-flow { grid-template-columns: 1fr; gap: 7px; }
  .route-order-flow > i { display: none; }
  .route-order-flow > div { padding: 7px; border-radius: 11px; background: rgba(255,255,255,.68); }
  .route-order-flow strong { font-size: 11px; }
  .poster-rules-grid { gap: 10px; }
  .guide-card { padding: 16px; border-radius: 18px; }
  .poster-rule-list li { padding: 10px 9px 10px 43px; }
  .poster-rule-list p { font-size: 9px; }
  .order-notice { min-height: 0; padding: 15px; display: block; border-radius: 18px; }
  .notice-ribbon {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 62px;
    padding: 10px 16px;
    display: flex;
    place-content: initial;
    justify-content: flex-start;
    gap: 10px;
    text-align: left;
    box-shadow: 0 6px 0 #c94778, 0 10px 17px rgba(197,72,119,.16);
  }
  .notice-ribbon > div { display: grid; }
  .notice-ribbon h3 { font-size: 17px; }
  .order-notice ol { margin-top: 17px; }
  .order-notice p { font-size: 9px; }
  .notice-illustration { display: none; }
  .info-strip { grid-template-columns: 1fr; padding: 10px 17px; }
  .info-strip article { padding: 13px 5px; }
  .info-strip article + article { border-left: 0; border-top: 1px solid rgba(82,72,103,.12); }
  footer { padding: 25px 0; min-height: 0; flex-wrap: wrap; }
  .footer-note { width: 100%; margin: 5px 0 0; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
