/* 积少成多（小游戏，贪吃蛇玩法）：主题取自世界银行 Global Practice；标题行 / 进度概览用 course.css，棋盘是像素风 canvas */
.sn-main { width: 100%; }
.sn-seg { display: inline-flex; background: #EEF1F6; border-radius: 10px; padding: 3px; gap: 3px; }
.sn-seg button { border: 0; background: transparent; font: inherit; font-size: 0.8rem; font-weight: 800; color: #5B6B7C; padding: 6px 12px; border-radius: 8px; cursor: pointer; }
.sn-seg button.on { background: var(--dark); color: #fff; }
.sn-seg button:disabled { cursor: not-allowed; opacity: .6; }

.sn-row { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.sn-stage { display: flex; flex-direction: row; gap: 20px; align-items: center; justify-content: center; background: #fff; border-radius: 18px; padding: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.sn-hud { width: 100%; max-width: min(100%, calc(100vh - 420px)); display: flex; align-items: center; gap: 10px; }
.sn-hud-item { flex: 1; display: flex; align-items: baseline; gap: 8px; background: #F5F7FA; border-radius: 12px; padding: 8px 14px; }
.sn-hud-item span { font-size: 0.78rem; font-weight: 700; color: #5B6B7C; }
.sn-hud-item b { font-size: 1.4rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.sn-pause { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; border: 2px solid #E3E8EF; background: #fff; display: grid; place-items: center; cursor: pointer; }
.sn-pause svg { width: 20px; height: 20px; fill: var(--dark); }
.sn-pause:hover { border-color: var(--dark); }

.sn-board { position: relative; width: 100%; max-width: min(100%, calc(100vh - 420px)); min-width: min(100%, 300px); aspect-ratio: 1; border: 3px solid var(--dark); border-radius: 16px; overflow: hidden; background: #F5F7FA; touch-action: none; }
.sn-board canvas { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
.sn-board.no-walls { border-style: dashed; }
.sn-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(245, 247, 250, 0.82); backdrop-filter: blur(2px); }
.sn-overlay.hidden { display: none; }
.sn-ov { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 20px; }
.sn-ov h3 { margin: 0; font-size: 1.7rem; font-weight: 900; }
.sn-ov p { margin: 0; font-size: 0.9rem; color: #5B6B7C; }
.sn-ov .sn-big { font-size: 3.2rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.sn-ov .sn-badge { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--yellow); border: 2px solid var(--dark); font-size: 0.85rem; font-weight: 900; animation: sn-pop .5s ease; }
.sn-ov .btn { min-width: 160px; }
.sn-ov-tip { font-size: 0.78rem !important; color: #8795A3 !important; }
@keyframes sn-pop { 0% { transform: scale(.4); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }

/* 方向键：手机、平板显示 */
.sn-pad { display: none; grid-template-columns: repeat(3, 64px); grid-template-rows: repeat(2, 56px); gap: 8px; justify-content: center; grid-template-areas: ". up ." "left down right"; }
.sn-pad button { border-radius: 14px; border: 2px solid var(--dark); background: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 3px 0 var(--dark); -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.sn-pad button:active { transform: translateY(3px); box-shadow: none; }
.sn-pad svg { width: 26px; height: 26px; fill: none; stroke: var(--dark); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sn-pad .up { grid-area: up; } .sn-pad .down { grid-area: down; } .sn-pad .left { grid-area: left; } .sn-pad .right { grid-area: right; }

.sn-side { display: flex; flex-direction: column; gap: 14px; }
.sn-card { background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.sn-card h3 { margin: 0 0 10px; font-size: 0.95rem; font-weight: 900; }
.sn-how { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 0.82rem; color: #46535F; }
.sn-how li { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sn-key { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 6px; border: 1.5px solid #C6CDD6; border-bottom-width: 3px; font-size: 0.72rem; font-weight: 800; color: var(--dark); background: #fff; }
.sn-dot { width: 14px; height: 14px; border-radius: 3px; border: 2px solid var(--dark); display: inline-block; }
.sn-spr { width: 20px; height: 20px; image-rendering: pixelated; flex-shrink: 0; }
.sn-theme-card { border-top: 0; background: var(--dark); color: #fff; }
.sn-theme-card h3 { color: #fff; display: flex; align-items: center; gap: 8px; }
.sn-theme-card h3 small { font-size: 0.7rem; font-weight: 700; color: rgba(255,255,255,.6); }
.sn-theme-card p { margin: 0; font-size: 0.82rem; line-height: 1.6; color: rgba(255,255,255,.82); }
.sn-theme-card .gp { display: inline-flex; margin-top: 10px; font-size: 0.7rem; font-weight: 800; letter-spacing: .5px; color: rgba(255,255,255,.55); }
.sn-rank, .sn-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sn-rank li, .sn-recent li { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; padding: 6px 8px; border-radius: 10px; }
.sn-rank li.me { background: #E7F8EF; }
.sn-rank .n { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 0.72rem; font-weight: 900; background: #EEF1F6; color: #5B6B7C; flex-shrink: 0; }
.sn-rank li:first-child .n { background: var(--yellow); color: var(--dark); }
.sn-rank .who { flex: 1; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sn-rank b, .sn-recent b { font-variant-numeric: tabular-nums; font-weight: 900; }
.sn-recent li { background: #F5F7FA; }
.sn-recent .meta { flex: 1; color: #8795A3; font-size: 0.75rem; }
.sn-empty { color: #8795A3; font-size: 0.82rem !important; background: none !important; }

@media (max-width: 1080px) and (orientation: portrait), (max-width: 899px) {
  .sn-row { grid-template-columns: 1fr; }
  .sn-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}
@media (hover: none), (max-width: 720px) {
  .sn-pad { display: grid; }
}
@media (max-width: 520px) {
  .sn-stage { padding: 10px; }
  .sn-hud-item { padding: 6px 10px; }
  .sn-hud-item b { font-size: 1.15rem; }
}
.sn-board.shake { animation: sn-shake .35s ease; }
@keyframes sn-shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
.sn-ov-icon svg { display: block; }

/* ── 农业专题 ── */
.sn-green { color: var(--success); }
.sn-spr { width: 24px; height: 24px; image-rendering: pixelated; flex-shrink: 0; }
.sn-spr.glow { filter: drop-shadow(0 0 3px #FFC400) drop-shadow(0 0 6px #FF8A00); }
.sn-spr.big { width: 56px; height: 56px; }
.sn-fx { display: flex; gap: 6px; flex: 1.4; justify-content: flex-end; min-height: 32px; }
.sn-badge-fx { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 10px 0 5px; border-radius: 999px; font-size: 0.8rem; font-weight: 900; white-space: nowrap; }
.sn-badge-fx.gold { background: #FFF6DD; color: #8A6240; box-shadow: inset 0 0 0 2px #FFC400, 0 0 12px rgba(255,196,0,.6); }
.sn-badge-fx.shield { background: #E7F8EF; color: #00692A; box-shadow: inset 0 0 0 2px #2EB872, 0 0 10px rgba(46,184,114,.45); }
.sn-badge-fx .sn-spr { width: 22px; height: 22px; }
.sn-note { width: 100%; max-width: min(100%, calc(100vh - 420px)); font-size: 0.78rem; font-weight: 800; color: #8795A3; }
.sn-note.gold { color: #B98500; }
.sn-order { background: var(--dark); color: #fff; }
.sn-order h3 { color: #fff; display: flex; justify-content: space-between; align-items: center; }
.sn-order h3 small { font-size: 0.7rem; color: rgba(255,255,255,.6); font-weight: 700; }
.sn-needs { display: flex; flex-direction: column; gap: 6px; }
.sn-need { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border-radius: 10px; padding: 6px 10px; font-size: 0.85rem; font-weight: 800; }
.sn-need.done { background: rgba(46,184,114,.28); }
.sn-need .ok { margin-left: auto; color: #7CE3A8; }
.sn-order p { margin: 10px 0 0; font-size: 0.72rem; color: rgba(255,255,255,.6); line-height: 1.5; }
.sn-legend { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; }
.sn-legend li { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px dashed #E3E8EF; font-size: 0.8rem; color: #46535F; }
.sn-legend li:last-child { border-bottom: 0; }
.sn-legend b { color: var(--dark); min-width: 46px; }
.sn-ov-train { display: flex; gap: 0; }
.sn-crops { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.sn-crop { display: flex; flex-direction: column; align-items: center; gap: 2px; background: #fff; border-radius: 12px; padding: 8px 12px; min-width: 64px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.sn-crop .sn-spr { width: 36px; height: 36px; }
.sn-crop b { font-size: 1.2rem; font-weight: 900; }
.sn-crop span { font-size: 0.72rem; color: #5B6B7C; }
.sn-train { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; max-width: 460px; }
.sn-train .sn-spr { width: 22px; height: 22px; }
.sn-train span { font-size: 0.78rem; font-weight: 800; color: #5B6B7C; margin-left: 8px; }
.sn-board { background: #EAF5DF; }
@media (max-width: 520px) { .sn-fx { flex: none; } .sn-badge-fx { font-size: 0.7rem; } }

/* 棋盘跟着屏幕放大：电脑、Pad、3440 带鱼屏都尽量把田铺大（高度留给顶栏、标题、数字卡） */
@media (min-width: 1600px) { .sn-row { grid-template-columns: minmax(0, 1fr) 340px; } }
@media (min-width: 2400px) {
  .sn-row { grid-template-columns: minmax(0, 1fr) 380px; }
  .sn-hud-item b { font-size: 1.8rem; }
  .sn-badge-fx { height: 38px; font-size: 0.95rem; }
}
/* Pad 竖屏 / 手机：棋盘按宽度铺满，高度留给方向键 */
@media (max-width: 1080px) and (orientation: portrait), (max-width: 899px) {
  .sn-board, .sn-hud, .sn-note { max-width: min(100%, calc(100vh - 460px)); }
}
@media (max-width: 1080px) and (orientation: portrait) {
  .sn-board, .sn-hud, .sn-note { max-width: 100%; }
}

.sn-play { display: flex; flex-direction: column; gap: 12px; align-items: center; flex: 0 1 auto; width: min(100%, calc(100vh - 420px)); min-width: min(100%, 300px); }
.sn-play .sn-board, .sn-play .sn-hud, .sn-play .sn-note { max-width: 100%; }
/* 棋盘右边：你现在在哪个国家 */
.sn-place { flex: 1 1 0; min-width: 200px; max-width: 520px; align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px 12px; }
.sn-place-k { font-size: clamp(1rem, 1.4vw, 1.6rem); font-weight: 800; color: #8795A3; }
.sn-place-name { font-size: clamp(2.2rem, 4vw, 5rem); font-weight: 900; line-height: 1.1; color: var(--dark); }
.sn-place-en { font-size: clamp(0.85rem, 1vw, 1.2rem); font-weight: 700; color: #8795A3; letter-spacing: .5px; }
.sn-place-flag { width: min(100%, clamp(140px, 16vw, 360px)); aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; border: 3px solid var(--dark); box-shadow: 0 6px 0 rgba(44,62,80,.15); margin-top: 6px; background: #F5F7FA; }
.sn-place-sub { font-size: clamp(0.8rem, 0.9vw, 1rem); font-weight: 800; color: var(--success); }
@media (max-width: 1080px) and (orientation: portrait), (max-width: 899px) {
  .sn-stage { flex-direction: column-reverse; }
  .sn-play { width: min(100%, calc(100vh - 460px)); }
  .sn-place { flex-direction: row; flex-wrap: wrap; padding: 4px 0 0; gap: 8px 12px; min-width: 0; max-width: none; align-self: center; }
  .sn-place-name { font-size: 1.8rem; }
  .sn-place-flag { width: 72px; margin-top: 0; border-width: 2px; }
  .sn-place-en, .sn-place-sub { display: none; }
}
@media (max-width: 1080px) and (orientation: portrait) { .sn-play { width: 100%; } }

/* 右边一栏：国家 + 速度 / 撞墙设置 */
.sn-right { flex: 1 1 0; min-width: 200px; max-width: 520px; align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.sn-right .sn-place { flex: none; align-self: auto; max-width: none; min-width: 0; padding: 0; }
.sn-settings { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sn-settings .sn-seg button { padding: 7px 14px; }
/* 「今天玩了」卡片下面：最近去过的国家 */
.sn-flags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.sn-flags img { width: 26px; height: 18px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
.sn-flags span { font-size: 0.7rem; color: rgba(255,255,255,.75); background: rgba(255,255,255,.1); border-radius: 4px; padding: 1px 5px; }
@media (max-width: 1080px) and (orientation: portrait), (max-width: 899px) {
  .sn-right { flex-direction: row; flex-wrap: wrap; max-width: none; min-width: 0; gap: 10px 16px; align-self: center; }
  .sn-settings { flex-direction: row; }
}

/* Pad / 手机：屏幕上的方向键 + 中间的暂停键（电脑上不显示）。Pad 横屏时放在棋盘右边，竖屏放在棋盘下面 */
.sn-pad { grid-template-columns: repeat(3, 72px); grid-template-rows: repeat(3, 64px); grid-template-areas: ". up ." "left mid right" ". down ."; }
.sn-pad .mid { grid-area: mid; background: #EEF1F6; display: flex; flex-direction: column; gap: 0; font: inherit; font-size: 0.66rem; font-weight: 800; color: #5B6B7C; }
.sn-pad .mid svg { width: 20px; height: 20px; }
@media (hover: none) and (min-width: 700px) {
  .sn-pad { grid-template-columns: repeat(3, 88px); grid-template-rows: repeat(3, 80px); gap: 10px; }
  .sn-pad svg { width: 32px; height: 32px; }
}

/* Pad 竖屏：棋盘让出下面方向键的位置，一屏放得下 */
@media (hover: none) and (orientation: portrait) and (min-width: 700px) {
  .sn-play { width: min(100%, calc(100vh - 660px)); }
  .sn-pad { grid-template-columns: repeat(3, 76px); grid-template-rows: repeat(3, 66px); gap: 8px; }
}
/* Pad 横屏：方向键在右边一栏（国家缩成一行），棋盘按高度铺满 */
@media (hover: none) and (orientation: landscape) and (min-width: 900px) {
  .sn-play { width: min(100%, calc(100vh - 330px)); }
  .sn-right { gap: 12px; justify-content: flex-start; }
  .sn-right .sn-place { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 6px 10px; }
  .sn-right .sn-place-name { font-size: 1.9rem; }
  .sn-right .sn-place-flag { width: 72px; margin-top: 0; border-width: 2px; }
  .sn-right .sn-place-en, .sn-right .sn-place-sub { display: none; }
  .sn-right .sn-settings { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .sn-right .sn-pad { display: grid; grid-template-columns: repeat(3, 70px); grid-template-rows: repeat(3, 64px); gap: 8px; }
}

/* ── Pad：把空间留给棋盘 ── */
@media (hover: none) and (min-width: 700px) {
  /* 顶上数字卡缩小 */
  .sn-main .cs-stats { gap: 8px; }
  .sn-main .cs-stat { padding: 8px 12px; border-radius: 12px; }
  .sn-main .cs-stat-v { font-size: 1.25rem; margin-top: 0; }
  .sn-main .cs-stat-s { display: none; }
  .sn-main .sn-flags { margin-top: 3px; }
  .sn-main .sn-flags img { width: 20px; height: 14px; }
  /* 右边一栏：窄一点、只留订单和作物说明（键盘说明、最近几局在 Pad 上用不到） */
  .sn-row { grid-template-columns: minmax(0, 1fr) 230px; gap: 12px; }
  .sn-side { gap: 10px; }
  .sn-card { padding: 10px 12px; border-radius: 14px; }
  .sn-card h3 { font-size: 0.85rem; margin-bottom: 6px; }
  .sn-how, .sn-recent-card { display: none; }
  .sn-legend { margin: 0; }
  .sn-legend li { padding: 4px 0; font-size: 0.72rem; gap: 6px; }
  .sn-legend b { min-width: 0; white-space: nowrap; }
  .sn-legend .sn-spr { width: 20px; height: 20px; }
  .sn-need { padding: 4px 8px; font-size: 0.78rem; }
  .sn-order p { display: none; }
  .sn-stage { padding: 12px; gap: 12px; }
}
@media (hover: none) and (orientation: landscape) and (min-width: 900px) {
  .sn-play { width: min(100%, calc(100vh - 250px)); }
  /* 方向键离棋盘留点距离 */
  .sn-right { padding-left: 14px; min-width: 250px; }
  .sn-right .sn-settings { gap: 6px; }
  .sn-right .sn-seg button { padding: 6px 10px; font-size: 0.75rem; }
}
@media (hover: none) and (orientation: portrait) { .sn-row { grid-template-columns: 1fr; } }

/* ══ 全屏游戏页：没有站点顶栏和左边导航 ══ */
body.sn-full { margin: 0; min-height: 100vh; background: #EEF5E6; }
.sn-top { height: 52px; display: flex; align-items: center; gap: 12px; padding: 0 16px; background: var(--dark); color: #fff; position: sticky; top: 0; z-index: 5; }
.sn-back, .sn-fsbtn { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 14px 0 10px; border-radius: 10px; border: 2px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; font: inherit; font-size: 0.9rem; font-weight: 800; cursor: pointer; flex-shrink: 0; }
.sn-back:hover, .sn-fsbtn:hover { background: rgba(255,255,255,.18); }
.sn-back svg, .sn-fsbtn svg { width: 18px; height: 18px; }
.sn-fsbtn { margin-left: auto; padding: 0 12px; gap: 6px; }
.sn-fsbtn[hidden] { display: none; }
.sn-title { margin: 0; font-size: 1.15rem; font-weight: 900; display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sn-title .sn-green { color: #7CE3A8; }
.sn-title-ico svg { display: block; width: 28px; height: 28px; }
body.sn-full .sn-full-main { padding: 12px 16px; width: 100%; box-sizing: border-box; }
body.sn-full .sn-row { grid-template-columns: minmax(0, 1fr) 280px; gap: 14px; align-items: stretch; min-height: calc(100vh - 52px - 24px); }
body.sn-full .sn-stage { box-shadow: none; }
body.sn-full .sn-play { width: min(100%, calc(100vh - 160px)); }
body.sn-full .sn-side { gap: 10px; }
/* 数字卡缩进右边栏顶上，2 × 2 */
.sn-stats-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sn-stats-mini .cs-stat { padding: 8px 12px; border-radius: 12px; }
.sn-stats-mini .cs-stat-l { font-size: 0.72rem; }
.sn-stats-mini .cs-stat-v { font-size: 1.3rem; margin-top: 0; }
.sn-stats-mini .cs-stat-s { display: none; }
.sn-stats-mini .sn-flags img { width: 20px; height: 14px; }
@media (min-width: 2400px) { body.sn-full .sn-row { grid-template-columns: minmax(0, 1fr) 360px; } }
/* Pad 横屏：方向键在棋盘右边，棋盘按高度铺满 */
@media (hover: none) and (orientation: landscape) and (min-width: 900px) {
  body.sn-full .sn-play { width: min(100%, calc(100vh - 140px)); }
  body.sn-full .sn-row { grid-template-columns: minmax(0, 1fr) 220px; gap: 10px; }
  body.sn-full .sn-full-main { padding: 10px 12px; }
}
/* Pad 竖屏 / 窄屏：右边栏放到下面 */
@media (max-width: 1080px) and (orientation: portrait), (max-width: 899px) {
  body.sn-full .sn-row { grid-template-columns: 1fr; min-height: 0; }
  body.sn-full .sn-play { width: min(100%, calc(100vh - 300px)); }
  .sn-stats-mini { grid-template-columns: repeat(4, 1fr); }
  .sn-title { font-size: 1rem; }
}
@media (hover: none) and (orientation: portrait) and (min-width: 700px) {
  body.sn-full .sn-play { width: min(100%, calc(100vh - 470px)); }
}
@media (max-width: 560px) { .sn-title-ico { display: none; } .sn-fsbtn span { display: none; } }

/* 去过的国家：国家下面一排小国旗 */
.sn-visited { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 5px; max-width: 300px; }
.sn-visited:empty { display: none; }
.sn-visited-k { font-size: 0.75rem; font-weight: 800; color: #8795A3; margin-right: 2px; }
.sn-visited img { width: 28px; height: 19px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1.5px rgba(44,62,80,.25); }
.sn-visited-n { font-size: 0.72rem; font-weight: 700; color: #5B6B7C; background: #EEF1F6; border-radius: 4px; padding: 1px 6px; }
/* 全屏页：右边栏太长就自己滚，不把棋盘撑出屏幕 */
body.sn-full .sn-stage { align-items: center; align-self: start; height: calc(100vh - 52px - 24px); box-sizing: border-box; }
body.sn-full .sn-side { max-height: calc(100vh - 52px - 24px); overflow-y: auto; }
body.sn-full .sn-play { width: min(100%, calc(100vh - 175px)); }
.sn-legend li { display: grid; grid-template-columns: 22px auto 1fr; align-items: center; }
@media (hover: none) and (orientation: landscape) and (min-width: 900px) {
  body.sn-full .sn-play { width: min(100%, calc(100vh - 150px)); }
}
@media (max-width: 1080px) and (orientation: portrait), (max-width: 899px) {
  body.sn-full .sn-stage { height: auto; align-self: stretch; }
  body.sn-full .sn-side { max-height: none; overflow: visible; }
  .sn-visited { max-width: none; }
}

.sn-title-t { overflow: hidden; text-overflow: ellipsis; }
@media (hover: none) and (orientation: portrait) and (min-width: 700px) {
  body.sn-full .sn-play { width: min(100%, calc(100vh - 530px)); }
}

/* ══ 全屏页第三版：长方形棋盘、右边一栏定宽、Pad 适配（iPad mini / iPad / 小米平板） ══ */
body.sn-full { --board-off: 175px; }
body.sn-full .sn-stage { justify-content: flex-start; gap: 16px; padding: 14px; }
body.sn-full .sn-play { flex: 1 1 auto; width: auto; max-width: calc((100vh - var(--board-off)) * var(--ar, 1)); margin: 0 auto; }
body.sn-full .sn-board { max-width: none; min-width: 0; aspect-ratio: auto; }
body.sn-full .sn-hud, body.sn-full .sn-board { width: 100%; }
/* 右边一栏：国家在上，速度 / 撞墙 / 方向键往下放 */
body.sn-full .sn-right { flex: 0 0 240px; max-width: 240px; min-width: 0; align-self: stretch; justify-content: space-between; padding: 6px 0 4px; }
body.sn-full .sn-right .sn-place { padding: 0; }
.sn-right-bottom { display: flex; flex-direction: column; align-items: center; gap: 14px; }
/* 顶栏：返回贴左、标题紧跟 */
.sn-top { padding: 0 12px; gap: 10px; }
.sn-back { height: 34px; padding: 0 12px 0 8px; border-radius: 999px; background: #fff; color: var(--dark); border-color: #fff; }
.sn-back:hover { background: #EEF1F6; }
body.sn-full .sn-full-main { padding: 10px 12px; }
/* 方向键：中间的暂停键图标、字都居中 */
.sn-pad .mid { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; line-height: 1; }
.sn-pad .mid svg { width: 22px; height: 22px; }
/* 作物说明的字小一点 */
.sn-legend li { font-size: 0.72rem; }
.sn-legend b { font-size: 0.76rem; }

/* Pad 横屏（iPad mini 1133×744、iPad 1194×834、小米平板 1280×800 左右） */
@media (hover: none) and (orientation: landscape) and (min-width: 900px) {
  body.sn-full { --board-off: 128px; }
  body.sn-full .sn-row { grid-template-columns: minmax(0, 1fr) 200px; gap: 10px; }
  body.sn-full .sn-stage { padding: 10px; gap: 12px; height: calc(100vh - 52px - 20px); }
  body.sn-full .sn-side { max-height: calc(100vh - 52px - 20px); }
  body.sn-full .sn-right { flex-basis: 250px; max-width: 250px; }
  body.sn-full .sn-right .sn-place-name { font-size: 1.6rem; }
  body.sn-full .sn-right .sn-place-flag { width: 60px; }
  body.sn-full .sn-right .sn-visited img { width: 22px; height: 15px; }
  body.sn-full .sn-right .sn-pad { grid-template-columns: repeat(3, 80px); grid-template-rows: repeat(3, 74px); gap: 8px; }
  body.sn-full .sn-right .sn-pad svg { width: 34px; height: 34px; }
  .sn-legend li { font-size: 0.66rem; padding: 3px 0; }
  .sn-legend b { font-size: 0.7rem; }
  .sn-card h3 { font-size: 0.8rem; }
}
/* 小一点的 Pad 横屏（iPad mini）：方向键略小 */
@media (hover: none) and (orientation: landscape) and (min-width: 900px) and (max-height: 760px) {
  body.sn-full .sn-right { flex-basis: 236px; max-width: 236px; }
  body.sn-full .sn-right .sn-pad { grid-template-columns: repeat(3, 74px); grid-template-rows: repeat(3, 66px); }
  body.sn-full .sn-row { grid-template-columns: minmax(0, 1fr) 188px; }
}
/* 竖屏 / 窄屏：国家和设置一行在上，棋盘正方形，方向键在下 */
@media (max-width: 1080px) and (orientation: portrait), (max-width: 899px) {
  body.sn-full { --board-off: 300px; }
  body.sn-full .sn-right { flex: none; max-width: none; flex-direction: row; justify-content: center; padding: 0; }
  .sn-right-bottom { flex-direction: row; }
}
@media (hover: none) and (orientation: portrait) and (min-width: 700px) {
  body.sn-full { --board-off: 520px; }
  body.sn-full .sn-play .sn-pad { grid-template-columns: repeat(3, 92px); grid-template-rows: repeat(3, 80px); gap: 10px; }
  body.sn-full .sn-play .sn-pad svg { width: 36px; height: 36px; }
}
body.sn-full .sn-right { justify-content: flex-start; }
body.sn-full .sn-right .sn-right-bottom { margin-top: auto; }
@media (max-width: 1080px) and (orientation: portrait), (max-width: 899px) { body.sn-full .sn-right .sn-right-bottom { margin-top: 0; } }
body.sn-full .sn-right .sn-place-name { font-size: clamp(1.6rem, 2.4vw, 2.6rem); white-space: nowrap; }
body.sn-full .sn-right .sn-place-flag { width: min(100%, 200px); }
@media (min-width: 2400px) { body.sn-full .sn-right { flex-basis: 340px; max-width: 340px; } body.sn-full .sn-right .sn-place-flag { width: 300px; } }

/* ── 分数奖励弹窗：四档颜色越来越亮（2000 年灰 → 2010 年青 → 2020 年绿 → 未来金） ── */
.sn-overlay:has(.sn-rw) { background: rgba(44, 62, 80, .55); backdrop-filter: blur(3px); }
.sn-rw { background: #fff; border-radius: 20px; padding: 18px 20px 20px; max-width: min(92%, 560px); box-shadow: 0 18px 50px rgba(0,0,0,.25); border: 4px solid var(--rw, #A0A6B0); animation: sn-pop .45s ease; }
.sn-rw h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
.sn-rw-badge { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--rw, #A0A6B0); color: #fff; font-size: 0.82rem; font-weight: 900; }
.sn-rw-art { width: 100%; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #F5F7FA; display: grid; place-items: center; }
.sn-rw-img { width: 100%; height: 100%; object-fit: cover; display: block; animation: sn-fadein .6s ease; }
.sn-rw-ph { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0; padding: 12px; }
.sn-rw-ph span { flex-basis: 100%; text-align: center; font-size: 0.85rem; font-weight: 800; color: #8795A3; margin-top: 10px; }
.sn-rw-cap { font-size: 1rem !important; font-weight: 700; color: var(--dark) !important; line-height: 1.6; }
.sn-rw-got { font-size: 0.85rem !important; font-weight: 800; color: #B98500 !important; }
.sn-rw.tier-1 { --rw: #8795A3; }
.sn-rw.tier-1 .sn-rw-img { filter: grayscale(.85) contrast(.95); }
.sn-rw.tier-2 { --rw: #14B8A6; }
.sn-rw.tier-3 { --rw: #2EB872; }
.sn-rw.tier-4 { --rw: #F5B800; box-shadow: 0 0 0 6px rgba(255,217,61,.35), 0 18px 50px rgba(0,0,0,.25); }
@keyframes sn-fadein { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
@media (hover: none) and (orientation: landscape) { .sn-rw { max-width: min(80%, 620px); padding: 14px 18px 16px; gap: 8px; } .sn-rw-art { aspect-ratio: 16 / 9; } }
/* 开屏：不透明（看不到后面停着的拖拉机），副标题贴着主标题，开始按钮离远一点 */
.sn-overlay.solid { background: #F1F7EA; backdrop-filter: none; }
.sn-ov-head { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.sn-ov-head p { margin: 0; }
.sn-ov-start { margin-top: 14px; }
.sn-gold { color: #E6A700; font-weight: 900; text-shadow: 0 0 8px rgba(255,196,0,.45); }
/* 全屏页：游戏区不再套白色容器，直接放在页面底色上（不用算容器的内边距） */
body.sn-full .sn-stage { background: transparent; box-shadow: none; border-radius: 0; padding: 0; }
body.sn-full .sn-hud-item { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
body.sn-full .sn-board { box-shadow: 0 4px 16px rgba(44,62,80,.12); }
@media (hover: none) and (orientation: landscape) and (min-width: 900px) {
  body.sn-full .sn-stage { padding: 0; height: calc(100vh - 52px - 20px); }
  body.sn-full { --board-off: 120px; }
}
/* 游戏区不要白色大容器：直接放在页面底色上，里面的分数、暂停、设置用白色小块 */
body.sn-full .sn-stage { background: transparent; box-shadow: none; border-radius: 0; padding: 0; }
body.sn-full .sn-hud-item, body.sn-full .sn-pause { background: #fff; }
body.sn-full .sn-seg { background: #fff; box-shadow: 0 1px 3px rgba(44,62,80,.08); }
body.sn-full .sn-pad button { background: #fff; }
body.sn-full .sn-pad .mid { background: #E3EBDA; }
body.sn-full { --board-off: 150px; }
@media (hover: none) and (orientation: landscape) and (min-width: 900px) {
  body.sn-full { --board-off: 108px; }
  body.sn-full .sn-stage { padding: 0; height: calc(100vh - 52px - 20px); }
}
@media (max-width: 1080px) and (orientation: portrait), (max-width: 899px) { body.sn-full { --board-off: 280px; } }
@media (hover: none) and (orientation: portrait) and (min-width: 700px) { body.sn-full { --board-off: 500px; } }
@media (max-width: 1080px) and (orientation: portrait), (max-width: 899px) {
  body.sn-full .sn-right .sn-place-flag { width: 64px; }
  body.sn-full .sn-right .sn-place-name { font-size: 1.7rem; }
  body.sn-full .sn-right { gap: 8px 14px; }
}
@media (hover: none) and (orientation: portrait) and (min-width: 700px) { body.sn-full { --board-off: 470px; } }
@media (hover: none) and (orientation: portrait) and (min-width: 700px) {
  body.sn-full { --board-off: 640px; }
  body.sn-full .sn-play .sn-pad { grid-template-columns: repeat(3, 84px); grid-template-rows: repeat(3, 70px); gap: 8px; }
}

/* ── 开始前的设置：弹层右下角，右对齐；开始后收起 ── */
.sn-settings.in-ov { position: absolute; right: 14px; bottom: 14px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; z-index: 2; }
.sn-settings.in-ov .sn-seg { background: #fff; box-shadow: 0 1px 4px rgba(44,62,80,.12); }
/* ── 暂停：继续（绿）/ 结束本局（红） ── */
.sn-ov-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.sn-btn-go { background: var(--success); color: #fff; border: 0; min-width: 150px; box-shadow: 0 4px 0 #1F8F57; }
.sn-btn-go:hover { filter: brightness(1.05); }
.sn-btn-end { background: var(--red); color: #fff; border: 0; min-width: 150px; box-shadow: 0 4px 0 #C53030; }
/* ── 奖励弹窗：铺满屏幕、大照片、暖金色「希望」的感觉 ── */
.sn-overlay.rw-fixed { position: fixed; inset: 0; z-index: 60; background: radial-gradient(ellipse at 50% 30%, rgba(255,214,102,.55), rgba(44,62,80,.78) 70%); backdrop-filter: blur(4px); }
.sn-overlay.rw-fixed::before { content: ''; position: absolute; inset: -50%; background: repeating-conic-gradient(from 0deg, rgba(255,236,170,.18) 0deg 8deg, transparent 8deg 22deg); animation: sn-rays 40s linear infinite; pointer-events: none; }
@keyframes sn-rays { to { transform: rotate(360deg); } }
.sn-rw { position: relative; width: min(94vw, 1180px); max-width: none; max-height: 94vh; box-sizing: border-box; padding: 18px 22px 20px; gap: 10px;
  background: linear-gradient(180deg, #FFFDF5, #FFFFFF 40%); border: 0; border-radius: 26px;
  box-shadow: 0 0 0 4px #FFD24A, 0 0 60px rgba(255,200,60,.55), 0 30px 80px rgba(0,0,0,.35); }
.sn-rw-badge { height: 38px; padding: 0 20px; font-size: 1.15rem; letter-spacing: 1px; color: #6B4500;
  background: linear-gradient(180deg, #FFE68A, #F5B800); box-shadow: inset 0 -3px 0 rgba(155,100,0,.35), 0 0 18px rgba(255,200,40,.7); border: 2px solid #C98F00; }
.sn-rw h3 { font-size: clamp(1.4rem, 2.6vw, 2.2rem); margin: 0; }
.sn-rw-art { aspect-ratio: auto; height: min(60vh, 620px); width: 100%; border-radius: 18px; box-shadow: 0 8px 24px rgba(0,0,0,.18); background: #EEF1F6; }
.sn-rw-img { object-fit: cover; }
.sn-rw-cap { font-size: clamp(1rem, 1.6vw, 1.3rem) !important; margin: 0; }
.sn-rw-src { margin: 0; font-size: 0.75rem !important; color: #8795A3 !important; }
.sn-rw.tier-1 .sn-rw-img { filter: none; }
.sn-rw.tier-4 { box-shadow: 0 0 0 5px #FFD24A, 0 0 90px rgba(255,200,60,.8), 0 30px 80px rgba(0,0,0,.35); }
@media (orientation: landscape) and (max-height: 900px) { .sn-rw-art { height: min(56vh, 520px); } .sn-rw { padding: 12px 18px 14px; gap: 6px; } }
/* 奖励弹窗里的车头升级 */
.sn-rw-up { display: inline-flex; align-items: center; gap: 10px; background: #FFF6DD; border: 2px solid #F5B800; border-radius: 999px; padding: 6px 16px; }
.sn-rw-up .sn-spr { width: 44px; height: 44px; }
.sn-rw-up .up-from { opacity: .5; }
.sn-rw-up .up-to { width: 56px; height: 56px; animation: sn-pop .6s ease .2s both; }
.sn-rw-arrow { font-size: 1.4rem; font-weight: 900; color: #B98500; }
.sn-rw-up b { font-size: 1.05rem; color: #6B4500; }
.sn-legend li.sn-legend-up { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.sn-heads { display: flex; gap: 2px; }
.sn-heads .sn-spr { width: 26px; height: 26px; }
.sn-rw-fact { margin: 0; max-width: 760px; font-size: 0.95rem !important; color: #46535F !important; background: #F1F8EA; border-radius: 12px; padding: 8px 14px; line-height: 1.6; }
.sn-rw-fact b { display: inline-block; margin-right: 8px; padding: 0 8px; border-radius: 999px; background: var(--success); color: #fff; font-size: 0.78rem; }
/* 结束页标题：国旗 + 在「XX」丰收啦！ + 右边新纪录 */
.sn-end-head { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.sn-end-head h3 { margin: 0; }
.sn-end-flag { width: 54px; height: 36px; object-fit: cover; border-radius: 4px; border: 2px solid var(--dark); }
.sn-end-place { color: var(--success); font-weight: 900; margin: 0 4px; }
.sn-badge-best { height: 34px; padding: 0 14px; font-size: 1rem; background: linear-gradient(180deg, #FFE68A, #F5B800); color: #6B4500; border-color: #C98F00; box-shadow: 0 0 14px rgba(255,200,40,.7); animation: sn-pop .5s ease, sn-glow 1.2s ease-in-out .5s infinite alternate; }
@keyframes sn-glow { to { box-shadow: 0 0 26px rgba(255,200,40,1); transform: scale(1.06); } }
/* 换一个国家 */
.sn-swap { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; border: 2px solid #E3E8EF; background: #fff; font: inherit; font-size: 0.85rem; font-weight: 800; color: var(--dark); cursor: pointer; }
.sn-swap svg { width: 16px; height: 16px; }
.sn-swap:hover:not(:disabled) { border-color: var(--dark); }
.sn-swap:disabled { opacity: .4; cursor: not-allowed; }
/* 游戏区上下留点距离：分数 / 暂停离顶栏、棋盘离页面底边 */
body.sn-full .sn-play { padding: 10px 0 14px; box-sizing: border-box; }
body.sn-full { --board-off: 175px; }
@media (hover: none) and (orientation: landscape) and (min-width: 900px) { body.sn-full { --board-off: 132px; } }
/* 奖励弹窗：配的那句话做标题下面的副标题 */
.sn-rw h3 + .sn-rw-cap { margin-top: -4px; color: #5B6B7C !important; font-weight: 700; }
.sn-rw-art { position: relative; }
.sn-rw-credit { position: absolute; right: 8px; bottom: 8px; font-size: 0.68rem; color: #fff; background: rgba(0,0,0,.45); border-radius: 6px; padding: 2px 6px; }

/* 奖励弹窗换图时不再重播动画（避免闪两下） */
.sn-rw.static, .sn-rw.static * { animation: none !important; }
/* 结束页：最终车头 */
.sn-end-head2 { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 6px 0 4px; }
.sn-end-head2 .sn-spr { width: 64px; height: 64px; }
.sn-end-head2 span { font-size: 1rem; font-weight: 800; color: #5B6B7C; }
.sn-end-head2 b { color: #2EB872; font-size: 1.15rem; }

/* 我的车头（车库）：最高等级大图 + 六个车头一排（解锁的点亮）+ 下一个怎么解锁 */
.sn-garage-top { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; background: linear-gradient(135deg, #FFF6D6, #E7F8EF); }
.sn-garage-top .garage-big { width: 52px; height: 52px; flex-shrink: 0; }
.sn-garage-top span { display: block; font-size: 0.72rem; font-weight: 800; color: #8795A3; }
.sn-garage-top b { font-size: 1.05rem; font-weight: 900; color: #1F8F57; }
.sn-garage-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-top: 8px; }
.sn-garage-row span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 8px; background: #F2F4F7; }
.sn-garage-row .sn-spr { width: 70%; height: 70%; filter: grayscale(1); opacity: .35; }
.sn-garage-row span.on { background: #E7F8EF; }
.sn-garage-row span.on .sn-spr { filter: none; opacity: 1; }
.sn-garage-row span.cur { box-shadow: 0 0 0 2px #2EB872; }
.sn-garage-next { margin: 8px 0 0; font-size: 0.76rem; color: #5B6B7C; }
.sn-garage-next b { color: #B98500; }
.sn-rank .rank-head { width: 22px; height: 22px; flex-shrink: 0; }

/* 方向键：上下左右挤在一起（倒 T 形），暂停单独放在下面、隔开一段，免得点方向时误按暂停 */
.sn-pad { grid-template-areas: ". up ." "left down right" "mid mid mid" !important; }
.sn-pad .mid { margin-top: 26px; flex-direction: row !important; gap: 6px !important; font-size: 0.8rem !important; border-radius: 999px; }

/* 世界银行项目：那句话里标红的是知识点 */
.sn-red { color: #E53935; font-weight: 900; }
.sn-rw-cap b { font-weight: 900; }

/* 结束答题卡 */
.sn-quiz { max-width: min(92%, 620px); text-align: center; }
.sn-quiz-badge { display: inline-block; padding: 4px 14px; border-radius: 999px; background: linear-gradient(135deg, #FFD93D, #FFB300); border: 2px solid var(--dark); font-weight: 900; font-size: 0.9rem; }
.sn-quiz-q { font-size: 1.15rem; line-height: 1.7; font-weight: 700; color: var(--dark); margin: 14px 0 16px; }
.sn-blank { display: inline-block; min-width: 72px; margin: 0 4px; border-bottom: 3px solid #E53935; color: #E53935; font-weight: 900; }
.sn-quiz-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sn-quiz-opt { padding: 14px 10px; border-radius: 14px; border: 2px solid var(--dark); background: #fff; font: inherit; font-size: 1rem; font-weight: 800; cursor: pointer; box-shadow: 0 3px 0 var(--dark); }
.sn-quiz-opt:hover:not(:disabled) { background: #FFF6D6; }
.sn-quiz-opt.right { background: #2EB872; color: #fff; }
.sn-quiz-opt.wrong { background: #FF5A5A; color: #fff; }
.sn-quiz-opt.dim { opacity: .45; }
.sn-quiz-res { font-size: 1.1rem; font-weight: 900; margin: 14px 0 8px; }
.sn-quiz-res.ok { color: #1F8F57; } .sn-quiz-res.no { color: #E53935; }

/* 奖励弹窗：继续按钮先倒数 10 秒 */
.sn-rw-go:disabled { opacity: 1; background: #DCE3EA; color: #5B6B7C; box-shadow: none; cursor: default; }
.sn-rw-count { display: inline-block; min-width: 1.4em; color: #E53935; font-size: 1.2em; }

/* 答题卡放大（小朋友看）：年份 · 国家做成标签，「考考你」大标题，题目和选项都放大 */
.sn-quiz { max-width: min(94%, 820px); padding: 26px 28px 28px !important; }
.sn-quiz-head { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.sn-quiz-tag { display: inline-block; padding: 5px 16px; border-radius: 999px; background: #E7F8EF; border: 2px solid #2EB872; color: #1F8F57; font-weight: 900; font-size: 1.05rem; }
.sn-quiz-title { margin: 0 !important; font-size: 2.6rem !important; font-weight: 900; color: #B98500; letter-spacing: .08em; text-shadow: 0 3px 0 #FFE48A; }
.sn-quiz .sn-quiz-q { font-size: 1.6rem; line-height: 1.75; margin: 18px 0 22px; }
.sn-quiz .sn-blank { min-width: 110px; border-bottom-width: 4px; }
.sn-quiz .sn-quiz-opts { gap: 14px; }
.sn-quiz .sn-quiz-opt { padding: 18px 12px; font-size: 1.4rem; border-radius: 18px; border-width: 3px; box-shadow: 0 4px 0 var(--dark); }
.sn-quiz .sn-quiz-res { font-size: 1.5rem; margin: 18px 0 12px; }
.sn-quiz .btn-big { font-size: 1.25rem; padding: 14px 36px; }
@media (max-width: 899px) {
  .sn-quiz-title { font-size: 2rem !important; }
  .sn-quiz .sn-quiz-q { font-size: 1.25rem; }
  .sn-quiz .sn-quiz-opt { font-size: 1.15rem; padding: 14px 10px; }
}
.sn-quiz .sn-quiz-q { color: #2C3E50 !important; font-weight: 800; }
.sn-quiz .sn-quiz-opts { min-width: min(100%, 460px); }

/* 农田里会长什么：名字一列固定 3 个字宽，说明文字都左对齐在同一条线上 */
.sn-legend li { display: grid !important; grid-template-columns: 24px 3.4em 1fr !important; gap: 8px !important; align-items: center; }
.sn-legend b { min-width: 0 !important; white-space: nowrap; }
.sn-legend span { line-height: 1.45; }

/* 答题卡：喇叭按钮 */
.sn-speak { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: 10px; vertical-align: middle; border-radius: 50%; border: 2px solid var(--dark); background: #FFD93D; cursor: pointer; box-shadow: 0 3px 0 var(--dark); }
.sn-speak svg { width: 24px; height: 24px; color: var(--dark); }
.sn-speak:active { transform: translateY(2px); box-shadow: none; }

/* 结束页：查看排行榜（蓝色）+ 排行榜弹层 */
.sn-btn-rank { background: #4A90FF !important; color: #fff !important; border-color: #2C3E50; }
.sn-rank-ov { min-width: min(92%, 620px); }
.sn-rank-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; text-align: left; margin: 8px 0 16px; }
.sn-rank-cols h4 { margin: 0 0 8px; font-size: 1rem; font-weight: 900; }
.sn-rank-ov .sn-rank li { font-size: 1rem; padding: 8px 10px; background: #F5F7FA; }
.sn-rank-ov .sn-rank li.me { background: #E7F8EF; }
@media (max-width: 640px) { .sn-rank-cols { grid-template-columns: 1fr; } }

/* 分数挪到右边「你现在在」下面：棋盘上面不再有一条分数栏，棋盘更高 */
body.sn-full { --board-off: 118px; }
@media (hover: none) and (orientation: landscape) and (min-width: 900px) { body.sn-full { --board-off: 78px; } }
@media (orientation: portrait) and (max-width: 1080px), (max-width: 899px) { body.sn-full { --board-off: 175px; } }
.sn-hud.sn-hud-side { max-width: none !important; width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.sn-hud-side .sn-hud-item { flex: 1 1 auto; justify-content: center; background: #fff; border: 2px solid #E3E8EF; border-radius: 14px; padding: 8px 16px; }
.sn-hud-side .sn-hud-item b { font-size: 2rem; }
.sn-hud-side .sn-fx { flex-basis: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.sn-hud-side .sn-fx:empty { display: none; }
/* 有屏幕方向键（平板 / 手机）就用方向键下面的暂停，这里的暂停藏起来 */
@media (hover: none), (max-width: 1080px) { .sn-hud-side .sn-pause { display: none; } }

/* 右边一列卡片撑满整个页面高度；我的车头一行 4 个，最多两行 */
@media (min-width: 1081px) {
  body.sn-full .sn-side { height: calc(100vh - 52px - 24px); max-height: none !important; overflow: hidden; display: flex; flex-direction: column; }
  body.sn-full .sn-side > .sn-card { flex: 0 0 auto; }
  body.sn-full .sn-side > .sn-recent-card { flex: 1 1 0; min-height: 0; overflow: hidden; }
}
.sn-garage-row { grid-template-columns: repeat(4, 1fr) !important; }

/* 右边一列放得下：车头格子矮一点；排行、车头卡片把剩下的高度分掉 */
.sn-garage-row span { aspect-ratio: auto !important; height: 40px; }
.sn-garage-row .sn-spr { width: 30px !important; height: 30px !important; }
.sn-garage-top { padding: 6px 10px !important; }
.sn-garage-top .garage-big { width: 42px !important; height: 42px !important; }
.sn-garage-next { margin-top: 6px !important; }
@media (min-width: 1081px) {
  body.sn-full .sn-side > .sn-card:not(.sn-recent-card) { flex: 1 1 auto; }
  body.sn-full .sn-side > .sn-card:first-child { flex: 0 0 auto; }
  body.sn-full .sn-side > .sn-recent-card { flex: 1 1 0; }
  body.sn-full .sn-side .sn-how { margin-bottom: 0; }
}
/* 右边放不下「最近几局」：大屏全屏版不显示（成绩在排行和我的车头里看） */
@media (min-width: 1081px) { body.sn-full .sn-side > .sn-recent-card { display: none; } }

/* 排行：名字不再带「（我）」（自己那一行本来就是绿底），名字优先显示完整，车头小图标缩小 */
.sn-rank .who { min-width: 0; overflow: visible; text-overflow: clip; white-space: nowrap; }
.sn-rank .rank-head { width: 18px !important; height: 18px !important; }
.sn-rank li { gap: 6px; }
.sn-h3-sub { font-size: 0.7rem; font-weight: 700; color: #8795A3; margin-left: 4px; }

/* 农业大发展弹窗：标题下面那句话再大一点 */
.sn-rw .sn-rw-cap { font-size: clamp(1.25rem, 2.1vw, 1.7rem) !important; line-height: 1.6; color: #2C3E50 !important; font-weight: 800; }
.sn-rw h3 + .sn-rw-cap { color: #2C3E50 !important; font-weight: 800; }

/* 分数下面：下一站（下一个事件点）+ 进度条 + 还差几分 */
.sn-next { flex-basis: 100%; background: #fff; border: 2px solid #E3E8EF; border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.sn-next:empty { display: none; }
.sn-next-top { display: flex; align-items: center; gap: 8px; }
.sn-next-k { flex-shrink: 0; padding: 2px 8px; border-radius: 999px; background: #FFF6D6; color: #8A6400; font-size: 0.72rem; font-weight: 900; }
.sn-next-top b { flex: 1; min-width: 0; font-size: 0.95rem; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sn-next-head { width: 30px; height: 30px; flex-shrink: 0; }
.sn-next-bar { position: relative; height: 18px; border-radius: 999px; background: #EEF1F6; overflow: hidden; }
.sn-next-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: linear-gradient(90deg, #FFD93D, #FFB300); transition: width .3s ease; }
.sn-next-bar span { position: relative; display: block; text-align: center; font-size: 0.72rem; font-weight: 900; line-height: 18px; color: #5B4500; font-variant-numeric: tabular-nums; }
.sn-next-left { font-size: 0.8rem; color: #5B6B7C; text-align: center; }
.sn-next-left b { color: #E53935; font-size: 1.1rem; }
.sn-next-done { display: flex; align-items: center; justify-content: center; gap: 8px; color: #1F8F57; font-weight: 900; }

/* 喇叭：没在读显示喇叭，正在读显示暂停（绿色、轻轻跳） */
.sn-speak .ic-stop { display: none; }
.sn-speak.playing { background: #2EB872; animation: sn-speak-pulse 1s ease-in-out infinite; }
.sn-speak.playing .ic-play { display: none; }
.sn-speak.playing .ic-stop { display: block; color: #fff; }
@keyframes sn-speak-pulse { 50% { transform: scale(1.08); } }

/* 继续前的 3、2、1 */
.sn-count { font-size: clamp(6rem, 18vh, 12rem); font-weight: 900; color: #fff; -webkit-text-stroke: 6px #2C3E50; paint-order: stroke fill; text-shadow: 0 8px 0 #2C3E50; animation: sn-count-pop 1s ease-out both; line-height: 1; }
@keyframes sn-count-pop { 0% { transform: scale(1.8); opacity: 0; } 25% { transform: scale(1); opacity: 1; } 80% { opacity: 1; } 100% { transform: scale(.85); opacity: 0; } }

/* 倒数的时候不盖住棋盘：看得见车停在哪 */
.sn-overlay.counting { background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; pointer-events: none; }
.sn-overlay.counting::before, .sn-overlay.counting::after { display: none !important; }
.sn-quiz-over { color: #E53935; text-shadow: 0 3px 0 #FFC9C9; }

/* 今日排行：标题可以点，打开全部 */
.sn-more { all: unset; cursor: pointer; display: flex; align-items: baseline; gap: 4px; width: 100%; }
.sn-more-go, .sn-more-inline { margin-left: auto; font-size: 0.75rem; font-weight: 800; color: #4A90FF; }
.sn-more-inline { all: unset; cursor: pointer; margin-left: 8px; font-size: 0.8rem; font-weight: 800; color: #4A90FF; }
.sn-more:hover .sn-more-go { text-decoration: underline; }

.sn-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(44, 62, 80, .45); display: flex; align-items: center; justify-content: center; padding: 20px; }
.sn-modal-card { background: #fff; border-radius: 20px; border: 3px solid #2C3E50; width: min(100%, 640px); max-height: 86vh; overflow: auto; padding: 18px 20px 20px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.sn-modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sn-modal-head h3 { margin: 0; font-size: 1.3rem; font-weight: 900; }
.sn-modal-x { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #E3E8EF; background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.sn-today-table { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-size: 0.95rem; }
.sn-today-table th { text-align: left; font-size: 0.75rem; color: #8795A3; font-weight: 800; padding: 0 8px; }
.sn-today-table td { background: #F5F7FA; padding: 8px; vertical-align: middle; }
.sn-today-table tr td:first-child { border-radius: 10px 0 0 10px; }
.sn-today-table tr td:last-child { border-radius: 0 10px 10px 0; }
.sn-today-table tr.me td { background: #E7F8EF; }
.sn-today-table .n span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: #EEF1F6; font-weight: 900; font-size: 0.75rem; }
.sn-today-table tr:first-child .n span { background: #FFD93D; }
.sn-today-table .who { font-weight: 800; }
.sn-today-table .t { color: #5B6B7C; font-variant-numeric: tabular-nums; }
.sn-today-table .hd { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: #46535F; white-space: nowrap; }
.sn-today-table .today-head { width: 26px; height: 26px; }
.sn-today-table .sc { font-weight: 900; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
/* 速度标签：越快越绿，越慢越灰 */
.sn-sp { display: inline-block; padding: 3px 10px; border-radius: 8px; border: 2px solid; font-size: 0.78rem; font-weight: 900; white-space: nowrap; }
.sp-turbo { background: #1F8F57; border-color: #1F8F57; color: #fff; }
.sp-fast { background: #2EB872; border-color: #2EB872; color: #fff; }
.sp-normal { background: #E7F8EF; border-color: #9ED6B5; color: #1F8F57; }
.sp-slow { background: #F2F4F7; border-color: #C9D3E0; color: #8795A3; }
@media (max-width: 560px) { .sn-today-table .hd span { display: none; } }

/* 我的车头弹窗：每一级一行 */
.sn-lv-list { display: flex; flex-direction: column; gap: 8px; }
.sn-lv { display: grid; grid-template-columns: 54px 128px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: #F2F4F7; border: 2px solid transparent; }
.sn-lv:not(.on) .lv-head, .sn-lv:not(.on) .lv-cargo { filter: grayscale(1); opacity: .45; }
.sn-lv.on { background: #F3FCF7; }
.sn-lv.cur { border-color: #2EB872; }
.sn-lv-n { font-size: 0.78rem; font-weight: 900; color: #5B6B7C; }
.sn-lv-train { display: flex; align-items: center; }
.sn-lv-train .lv-head { width: 44px; height: 44px; }
.sn-lv-train .lv-cargo { width: 40px; height: 40px; }
.sn-lv-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.sn-lv-name b { font-size: 1.05rem; font-weight: 900; }
.sn-lv-name span { font-size: 0.78rem; color: #5B6B7C; font-weight: 700; }
.sn-lv-name em { font-style: normal; font-size: 0.78rem; font-weight: 900; color: #B98500; background: #FFF6D6; padding: 1px 8px; border-radius: 999px; }
.sn-lv-txt p { margin: 4px 0 0; font-size: 0.85rem; line-height: 1.55; color: #2C3E50; }
.sn-lv-state { font-size: 0.8rem; font-weight: 900; color: #1F8F57; white-space: nowrap; }
.sn-lv:not(.on) .sn-lv-state { color: #8795A3; }
@media (max-width: 600px) { .sn-lv { grid-template-columns: 1fr; } }

/* 农业大发展弹窗 · 左右两栏：左边图（约七成），右边标题 + 那句话 + 朗读 + 车头升级 + 继续 */
.sn-rw.sn-rw2 { width: min(96vw, 1360px); max-height: 94vh; display: grid; grid-template-columns: minmax(0, 7fr) minmax(260px, 3fr); gap: 22px; align-items: center; text-align: left; padding: 20px 24px; }
.sn-rw2 .sn-rw-l { min-width: 0; }
.sn-rw2 .sn-rw-art { height: auto; aspect-ratio: 4 / 3; max-height: calc(94vh - 40px); width: 100%; margin: 0 auto; }
.sn-rw2 .sn-rw-r { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.sn-rw2 .sn-rw-badge { height: 48px; padding: 0 24px; font-size: 1.6rem; }
.sn-rw2 h3 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); margin: 0; }
.sn-rw2 .sn-rw-cap, .sn-rw2 h3 + .sn-rw-cap { font-size: clamp(1.15rem, 1.8vw, 1.5rem) !important; font-weight: 500 !important; line-height: 1.7; color: #2C3E50 !important; margin: 0; }
.sn-rw2 .sn-rw-cap .sn-red { font-weight: 900; }
.sn-rw2 .sn-rw-speak { margin-left: 0; }
.sn-rw2 .sn-rw-up { flex-wrap: wrap; border-radius: 18px; }
.sn-rw2 .sn-rw-go { align-self: stretch; }
/* 竖屏：上面图、下面文字 */
@media (orientation: portrait), (max-width: 760px) {
  .sn-rw.sn-rw2 { grid-template-columns: 1fr; width: min(94vw, 720px); overflow-y: auto; gap: 14px; padding: 16px; }
  .sn-rw2 .sn-rw-art { aspect-ratio: 16 / 10; max-height: 42vh; }
  .sn-rw2 .sn-rw-badge { height: 40px; font-size: 1.3rem; }
}

/* 开始页：专题（现在只有农业）+ 这一局在哪 */
.sn-topics { display: flex; gap: 8px; justify-content: center; overflow-x: auto; max-width: 100%; }
.sn-topic { flex-shrink: 0; display: inline-flex; align-items: center; height: 34px; padding: 0 16px; border-radius: 999px; border: 2px solid #2C3E50; background: #fff; font-weight: 900; font-size: 0.95rem; }
.sn-topic.on { background: #2EB872; border-color: #2EB872; color: #fff; }
.sn-ov-where { margin: 6px 0 0; font-size: 1rem; color: #5B6B7C; }
.sn-ov-where b { color: #1F8F57; }

/* 下一站：标签灰色，进度条浅绿（不扎眼），还差几分红色 */
.sn-next-k { background: #EEF1F6 !important; color: #5B6B7C !important; }
.sn-next-bar i { background: linear-gradient(90deg, #BFEBD0, #8ED9AE) !important; }
.sn-next-bar span { color: #1F6B45 !important; }
/* 今日排行没人的名次 */
.sn-rank li.sn-rank-empty { background: #F7F9FC; color: #A0A9B5; }
.sn-rank li.sn-rank-empty .who { font-weight: 600; }

/* 结束页 / 排行榜按钮统一成同一种立体样式 */
.sn-btn-rank { background: #4A90FF !important; color: #fff !important; border: 0 !important; min-width: 150px; box-shadow: 0 4px 0 #2F6FD6 !important; }
.sn-btn-rank:hover { filter: brightness(1.05); }

/* 中间一列（国家 / 分数 / 下一站 / 方向键）贴着棋盘和右边栏，不再两边空一大块：棋盘不再自己居中 */
body.sn-full .sn-stage { justify-content: center; gap: 16px; padding-left: 12px; padding-right: 12px; }
body.sn-full .sn-play { margin: 0 !important; }

/* 没在玩的时候，手指在棋盘上上下滑可以滚动整个页面（竖屏要往下看右边那些卡片） */
.sn-board:not(.playing) { touch-action: pan-y; }

/* 竖屏：分数和下一站放一行 */
@media (orientation: portrait) and (max-width: 1080px), (max-width: 899px) {
  .sn-hud.sn-hud-side { flex-wrap: wrap; align-items: stretch; }
  .sn-hud-side .sn-hud-item { flex: 0 0 auto; min-width: 150px; }
  .sn-hud-side .sn-next { flex: 1 1 260px; flex-basis: auto; }
  .sn-hud-side .sn-fx { order: 3; }
}

/* Pad 竖屏：方向键更大，暂停放到方向键右边（左右排） */
@media (hover: none) and (orientation: portrait) and (min-width: 700px) {
  body.sn-full .sn-play .sn-pad, .sn-pad { grid-template-columns: repeat(3, 118px) 150px !important; grid-template-rows: repeat(2, 104px) !important; gap: 12px !important;
    grid-template-areas: ". up . mid" "left down right mid" !important; justify-content: center; }
  .sn-pad svg { width: 44px !important; height: 44px !important; }
  .sn-pad .mid { margin: 0 0 0 24px !important; flex-direction: column !important; font-size: 1rem !important; border-radius: 22px !important; }
  .sn-pad .mid svg { width: 36px !important; height: 36px !important; }
}

/* 开始页：专题标签（麦穗图标 + 农业），离顶和离拖拉机都留开一点；最后一行地球图标 + N 个世界银行项目 */
.sn-ov .sn-ov-train { margin-bottom: 18px; }
.sn-topics { margin: 6px 0 14px; }
.sn-topic { gap: 6px; height: 36px; padding: 0 18px; font-size: 1rem; }
.sn-topic-ic { width: 20px; height: 20px; }
.sn-ov-where { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px !important; }
.sn-ov-where b { font-size: 1.15rem; }
.sn-wb-ic { width: 22px; height: 22px; color: #0F6CBD; }

/* 棋盘右上角：金色时刻 / 护盾（这两格不长作物） */
.sn-corner { position: absolute; top: 0; right: 0; z-index: 2; display: flex; align-items: center; justify-content: flex-end; gap: 2px; padding: 2px; box-sizing: border-box; pointer-events: none; }
.sn-corner:empty { display: none; }
.sn-corner-b { height: 100%; aspect-ratio: 1; display: grid; place-items: center; position: relative; border-radius: 8px; background: rgba(255,255,255,.9); border: 2px solid #2EB872; box-sizing: border-box; }
.sn-corner-b.gold { border-color: #F5B800; background: #FFF6D6; box-shadow: 0 0 10px rgba(255,196,0,.7); }
.sn-corner-b .sn-spr { width: 70%; height: 70%; }
.sn-corner-b b { position: absolute; right: -2px; bottom: -4px; font-size: 0.7rem; font-weight: 900; color: #8A6400; background: #FFD93D; border-radius: 999px; padding: 0 4px; line-height: 1.3; }
.sn-hud-side .sn-fx { display: none !important; }
#sn-score.gold { color: #E6A700; text-shadow: 0 0 12px rgba(255,196,0,.6); }
.sn-wb-logo { height: 26px; width: auto; display: inline-block; vertical-align: middle; }

/* 分数格：分数在左，右边是金玉米倒计时 / 护盾（以前在棋盘右上角） */
.sn-hud-side .sn-hud-item { align-items: center; }
.sn-status { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.sn-status:empty { display: none; }
.sn-st { display: inline-flex; align-items: center; gap: 3px; height: 34px; padding: 0 8px; border-radius: 10px; font-weight: 900; font-size: 0.95rem; }
.sn-st .sn-spr { width: 24px; height: 24px; }
.sn-st.gold { background: #FFF6D6; color: #8A6400; box-shadow: 0 0 10px rgba(255,196,0,.5); }
.sn-st.shield { background: #E7F8EF; padding: 0 6px; }
.sn-st.shield svg { width: 24px; height: 24px; }
.sn-hud-side .sn-st b { font-size: 1rem !important; font-variant-numeric: tabular-nums; }

/* 农业大发展弹窗：车头升级 + 车厢升级两行，图标和字都小一点 */
.sn-rw2 .sn-rw-up2 { display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 8px 12px; border-radius: 14px; }
.sn-up-row { display: flex; align-items: center; gap: 8px; }
.sn-rw2 .sn-up-row .sn-spr { width: 34px; height: 34px; }
.sn-rw2 .sn-up-row .up-to { width: 40px; height: 40px; }
.sn-up-row .sn-rw-arrow { font-size: 1.05rem; }
.sn-up-row > span:last-child { font-size: 0.85rem; color: #8A6400; font-weight: 700; display: flex; flex-direction: column; line-height: 1.25; }
.sn-up-row > span:last-child b { font-size: 1rem; color: #6B4500; font-weight: 900; }

/* 农业大发展弹窗：那句话放在固定大小的框里（字多自动变小）；喇叭跟在句末同一行 */
.sn-rw2 .sn-rw-capbox { width: 100%; height: clamp(150px, 26vh, 260px); overflow: hidden; }
.sn-rw2 .sn-rw-capbox .sn-rw-cap { font-size: 26px; line-height: 1.6 !important; margin: 0; }
.sn-rw-ask { display: inline; margin-left: 0.3em; color: #1F8F57; font-weight: 700; }
.sn-rw2 .sn-rw-cap .sn-rw-speak { display: inline-grid; width: 1.6em; height: 1.6em; margin-left: 0.3em; vertical-align: -0.35em; box-shadow: 0 2px 0 var(--dark); }
.sn-rw2 .sn-rw-cap .sn-rw-speak svg { width: 0.9em; height: 0.9em; }
@media (orientation: portrait), (max-width: 760px) { .sn-rw2 .sn-rw-capbox { height: clamp(110px, 16vh, 200px); } }
.sn-rw2 .sn-rw-cap .sn-rw-speak { min-width: 38px; min-height: 38px; } .sn-rw2 .sn-rw-cap .sn-rw-speak svg { min-width: 20px; min-height: 20px; }

/* 速度标签再分得开一点：超快深绿 + 闪电，快速绿，中速浅绿，慢速灰 */
.sp-turbo { background: #0E6B3A !important; border-color: #0E6B3A !important; }
.sp-turbo::before { content: '⚡'; margin-right: 2px; }
.sp-fast { background: #2EB872 !important; border-color: #2EB872 !important; }

/* 答题卡：「答对啦 / 差一点」上下多留空，和选项、「看成绩」按钮分开（Pad 上之前太挤） */
.sn-quiz .sn-quiz-res { margin: 26px 0 20px !important; line-height: 1.4; }
.sn-quiz .sn-quiz-res + .btn { margin-top: 4px; margin-bottom: 4px; }
.sn-quiz { padding-top: 30px !important; padding-bottom: 30px !important; }
@media (hover: none) { .sn-quiz .sn-quiz-res { margin: 30px 0 24px !important; } .sn-quiz .sn-quiz-head { margin-bottom: 6px; } }
/* 矮一点的屏幕（Pad 横屏）：答题卡整体收一点，上下跟棋盘边留出空，不再顶到边 */
@media (max-height: 900px) {
  .sn-quiz { padding: 20px 24px !important; max-height: calc(100% - 40px); overflow-y: auto; }
  .sn-quiz-title { font-size: 2.1rem !important; }
  .sn-quiz-tag { font-size: 0.95rem; padding: 3px 14px; }
  .sn-quiz .sn-quiz-q { font-size: 1.3rem; margin: 12px 0 14px; }
  .sn-quiz .sn-quiz-q .sn-speak { width: 38px; height: 38px; }
  .sn-quiz .sn-quiz-opt { padding: 12px 10px; font-size: 1.15rem; }
  .sn-quiz .sn-quiz-res { margin: 18px 0 14px !important; font-size: 1.3rem; }
}

/* 小红旗提示条：棋盘顶上滑下来，3.5 秒后收起 */
.sn-banner { position: absolute; left: 50%; top: 10px; z-index: 3; transform: translate(-50%, -140%); transition: transform .3s ease; display: flex; align-items: center; gap: 6px;
  max-width: calc(100% - 24px); padding: 8px 14px; border-radius: 12px; background: #fff; border: 2px solid #E53935; box-shadow: 0 6px 18px rgba(0,0,0,.15);
  font-size: 0.95rem; font-weight: 700; color: #2C3E50; pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sn-banner::before { content: ''; flex-shrink: 0; width: 18px; height: 18px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 2v20' stroke='%236B7480' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M6 3h12l-3 4.5L18 12H6z' fill='%23E53935'/%3E%3C/svg%3E"); }
.sn-banner b { color: #E53935; }
.sn-banner.on { transform: translate(-50%, 0); }
