/* NUSHI — halaman depan. Danau 3D tetap di belakang seluruh halaman; gulir = satu hari di danau.
   Teks selalu di atas kartu washi/sumi supaya terbaca di atas 3D. */
:root {
  --washi: #f4eddd;
  --washi-2: #ebe2cf;
  --paper: #fbf7ee;
  --ink: #1d1b19;
  --ink-2: #4b463f;
  --ink-3: #7c7466;
  --shu: #c8463a;
  --shu-d: #a8352b;
  --ai: #2c3a5c;
  --gold: #c9973a;
  --gold-l: #e6c271;
  --line: rgba(29, 27, 25, 0.14);
  --line-l: rgba(244, 237, 221, 0.2);
  /* huruf sama dengan game: Alegreya (judul), Alegreya Sans (teks), Alegreya Sans SC (label), Yuji Syuku (kanji) */
  --display: 'Alegreya', 'Yuji Syuku', 'Hiragino Mincho ProN', serif;
  --ui: 'Alegreya Sans', 'Yuji Syuku', system-ui, -apple-system, sans-serif;
  --sc: 'Alegreya Sans SC', 'Alegreya Sans', system-ui, sans-serif;
  --kanji: 'Yuji Syuku', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --mono: 'Alegreya Sans', system-ui, sans-serif; /* angka: lnum+tnum di blok akhir */
  --gut: clamp(16px, 4vw, 48px);
  --nav-h: 64px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #1b1a18; color: var(--ink); font-family: var(--ui); font-size: 17px; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--shu); outline-offset: 3px; }
/* logo: kail + Sang Nushi (SVG satu warna sebagai mask → ikut warna teks) */
.mark { display: inline-block; width: 30px; height: 35px; flex: none; background: currentColor; -webkit-mask: url('../assets/brand/nushi-mark.svg?v=1') center / contain no-repeat; mask: url('../assets/brand/nushi-mark.svg?v=1') center / contain no-repeat; }
.kj { font-family: var(--kanji); font-weight: 400; }

/* ── latar danau ── */
.lake-poster { position: fixed; inset: 0; z-index: 0; background: #1b1a18 url('../assets/art/lake.webp') center / cover no-repeat; }
#lake { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 0.9s ease; }
body.gl #lake { opacity: 1; }
.show-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 6; pointer-events: none; }
main, .foot { position: relative; z-index: 2; }

/* ── nav ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: var(--nav-h); display: flex; align-items: center; gap: 22px; padding: 0 var(--gut); color: var(--washi); transition: background 0.3s, color 0.3s, box-shadow 0.3s; background: linear-gradient(180deg, rgba(14, 12, 10, 0.42), rgba(14, 12, 10, 0)); }
.nav.solid { background: rgba(244, 237, 221, 0.96); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .word { font: 800 19px var(--display); letter-spacing: 0.26em; }
.nav-links { display: flex; gap: 24px; margin-left: 18px; font-size: 14px; font-weight: 500; }
.nav-links a { text-decoration: none; opacity: 0.82; }
.nav-links a:hover { opacity: 1; }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.ca-chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 6px; border-radius: 99px; border: 1px solid currentColor; border-color: rgba(244, 237, 221, 0.4); background: rgba(14, 12, 10, 0.25); font: 500 12.5px var(--mono); cursor: pointer; white-space: nowrap; }
.nav.solid .ca-chip { border-color: var(--line); background: var(--paper); }
.ca-chip .tk { display: inline-grid; place-items: center; height: 24px; padding: 0 8px; border-radius: 99px; background: var(--shu); color: var(--washi); font: 700 11px var(--ui); letter-spacing: 0.06em; }
.ca-chip:disabled { cursor: default; }
.ca-chip.ok .tk { background: #3f7f52; }
.soc { position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 99px; border: 1px solid rgba(244, 237, 221, 0.4); text-decoration: none; cursor: pointer; }
.nav.solid .soc { border-color: var(--line); }
.soc svg { width: 15px; height: 15px; }
.soc.off { opacity: 0.55; cursor: default; }
.soc.off::after { content: 'soon'; position: absolute; top: -5px; right: -9px; padding: 1px 5px; border-radius: 6px; background: var(--ink-2); color: var(--washi); font: 700 8.5px var(--ui); letter-spacing: 0.06em; text-transform: uppercase; }
.nav-play { display: inline-flex; align-items: center; height: 38px; padding: 0 22px; border-radius: 99px; background: var(--shu); color: var(--washi); text-decoration: none; font-weight: 700; font-size: 14.5px; letter-spacing: 0.04em; }
.nav-play:hover, .btn.play:hover { background: var(--shu-d); }

/* ── hero ── */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; padding: calc(var(--nav-h) + 30vh) var(--gut) 0; color: var(--washi); }
.hero::before { content: ''; position: absolute; inset: 0 0 -24vh; pointer-events: none; background: linear-gradient(90deg, rgba(14, 12, 10, 0.62) 0%, rgba(14, 12, 10, 0.3) 26%, rgba(14, 12, 10, 0) 44%), linear-gradient(180deg, rgba(14, 12, 10, 0) 44%, rgba(14, 12, 10, 0.6) 68%, rgba(14, 12, 10, 0.6) 79%, rgba(14, 12, 10, 0) 100%); -webkit-mask: linear-gradient(180deg, #000 80%, transparent 100%); mask: linear-gradient(180deg, #000 80%, transparent 100%); }
.rail { position: absolute; left: 14px; top: 50%; margin: 0; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; font-size: 10.5px; letter-spacing: 0.32em; text-transform: uppercase; opacity: 0.7; }
.hero-grid { position: relative; flex: 1; width: min(1360px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 580px) minmax(0, 1fr) minmax(0, 360px); gap: 28px; align-items: end; padding-bottom: 22px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 16px; padding: 6px 12px; border-radius: 99px; background: rgba(14, 12, 10, 0.38); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--shu); }
.hero h1 { font: 800 clamp(32px, 3.15vw, 46px)/1.1 var(--display); margin: 0 0 16px; letter-spacing: -0.005em; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); }
.hero h1 span { display: block; color: #f6d6c6; }
.lede { max-width: 520px; font-size: clamp(15px, 1.15vw, 16.5px); line-height: 1.62; margin: 0 0 24px; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45); }
.cta { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 24px; border-radius: 14px; text-decoration: none; font-weight: 700; font-size: 15px; letter-spacing: 0.03em; }
.btn.play { flex-direction: column; align-items: flex-start; gap: 1px; height: 64px; padding: 0 34px 0 26px; background: var(--shu); color: var(--washi); box-shadow: 0 12px 30px rgba(120, 30, 20, 0.3); }
.btn.play b { font: 800 22px var(--display); letter-spacing: 0.06em; }
.btn.play small { font-size: 12px; font-weight: 500; opacity: 0.88; letter-spacing: 0.02em; }
.btn.play.small { height: 46px; padding: 0 26px; align-items: center; box-shadow: none; }
.btn.play.small b { font-size: 17px; }
.btn.ghost { height: 64px; border: 1.5px solid rgba(244, 237, 221, 0.55); color: var(--washi); background: rgba(14, 12, 10, 0.22); }
.btn.ghost:hover { background: rgba(14, 12, 10, 0.4); }

/* tombol tahan-untuk-melempar */
.cast-zone { position: relative; justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 10px; padding-bottom: 4px; }
.hold { position: relative; width: 104px; height: 104px; border-radius: 50%; border: 0; padding: 0; background: rgba(244, 237, 221, 0.95); color: var(--ink); cursor: pointer; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28); touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; transition: transform 0.15s; }
.hold:active, .hold.down { transform: scale(0.96); }
.hold svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.hold circle { fill: none; stroke-width: 4; }
.hold .trk { stroke: rgba(29, 27, 25, 0.12); }
.hold .val { stroke: var(--shu); stroke-linecap: round; stroke-dasharray: 182.2; stroke-dashoffset: 182.2; }
.hold-in { position: relative; display: grid; place-items: center; height: 100%; padding: 0 14px; text-align: center; }
.hold-in b { font: 800 15px/1.15 var(--display); }
.hold[disabled] { cursor: default; opacity: 0.92; }
.hold-hint { margin: 0; max-width: 260px; text-align: center; font-size: 12.5px; line-height: 1.4; padding: 5px 12px; border-radius: 99px; background: rgba(14, 12, 10, 0.42); }
.draw { position: absolute; bottom: calc(100% + 12px); left: 50%; width: min(360px, calc(100vw - 32px)); transform: translateX(-50%); display: grid; grid-template-columns: 92px 1fr; gap: 4px 14px; padding: 14px; border-radius: 18px; background: var(--paper); color: var(--ink); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); animation: rise 0.35s ease; }
.draw[hidden] { display: none; }
@keyframes rise { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
.draw-art { width: 92px; height: 70px; object-fit: contain; border-radius: 10px; background: var(--washi); grid-row: span 2; }
.draw-k { margin: 0 0 3px; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--shu-d); font-weight: 700; }
.draw-h { margin: 0 0 4px; font: 700 16px/1.3 var(--display); }
.draw-s { margin: 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.45; }
.draw-cta { grid-column: 1 / -1; display: flex; gap: 8px; margin-top: 8px; }
.mini { flex: 1; display: inline-grid; place-items: center; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--washi); font-weight: 700; font-size: 13.5px; text-decoration: none; cursor: pointer; }
.mini.dark { background: var(--ink); color: var(--washi); border-color: var(--ink); }

/* kartu CA */
.ca { align-self: end; padding: 18px 18px 16px; border-radius: 20px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32); }
.ca-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.ca-tk { font: 800 22px var(--display); letter-spacing: 0.02em; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 99px; background: var(--washi-2); font-size: 11.5px; font-weight: 700; color: var(--ink-2); text-align: right; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }
.pill.live { background: #e3efe3; color: #2f6b40; }
.pill.live i { background: #3f9a57; }
.ca-label { margin: 0 0 6px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.ca-addr { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 6px 6px 6px 12px; border-radius: 12px; background: var(--washi); border: 1px dashed rgba(29, 27, 25, 0.25); }
.ca.is-live .ca-addr { border-style: solid; border-color: var(--line); }
.ca-addr code { flex: 1; min-width: 0; font: 500 13px/1.35 var(--mono); color: var(--ink-3); overflow-wrap: anywhere; }
.ca.is-live .ca-addr code { color: var(--ink); }
.ca-copy { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 0; border-radius: 9px; background: var(--ink); color: var(--washi); font-weight: 700; font-size: 12.5px; cursor: pointer; flex: none; }
.ca-copy svg { width: 13px; height: 13px; }
.ca-copy.ok { background: #3f7f52; }
.ca-note { margin: 10px 0 14px; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
.ca-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.ca-buy { display: flex; flex-direction: column; justify-content: center; height: 54px; padding: 0 16px; border-radius: 12px; background: var(--shu); color: var(--washi); text-decoration: none; cursor: pointer; }
.ca-buy b { font-size: 15.5px; }
.ca-buy small { font-size: 11.5px; opacity: 0.85; }
.ca-buy[aria-disabled='true'] { background: rgba(200, 70, 58, 0.07); color: var(--shu-d); border: 1.5px solid var(--shu); cursor: default; }
.ca-chart { display: inline-grid; place-items: center; min-width: 88px; height: 54px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; cursor: pointer; }
.ca-chart[aria-disabled='true'] { border-color: var(--line); color: var(--ink-3); cursor: default; }
.ca-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.ca-meta dt { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.ca-meta dd { margin: 2px 0 0; font-size: 13px; font-weight: 500; }

/* angka langsung */
.stats { position: relative; width: min(1360px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-l); }
.st { padding: 14px 18px 16px; border-left: 1px solid var(--line-l); min-width: 0; }
.st:first-child { border-left: 0; padding-left: 0; }
.st-l { display: block; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.72; font-weight: 700; }
.st-v { display: block; margin: 4px 0 2px; font: 500 19px var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-v.jp { color: var(--gold-l); }
.st-s { display: block; font-size: 12px; opacity: 0.72; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cue { position: relative; align-self: center; display: inline-flex; align-items: center; gap: 10px; margin: 2px 0 18px; font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; opacity: 0.75; }
.cue i { width: 1px; height: 22px; background: currentColor; }

/* ── bagian halaman ── */
.sec { position: relative; min-height: 105vh; display: flex; align-items: center; padding: 18vh var(--gut); }
.panel { position: relative; width: min(560px, 100%); padding: clamp(24px, 3vw, 40px); border-radius: 24px; background: rgba(251, 247, 238, 0.97); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22); }
.panel.wide { width: min(1240px, 100%); margin: 0 auto; }
.sec:nth-of-type(odd) .panel:not(.wide) { margin-left: auto; }
.panel.dark { background: rgba(24, 22, 20, 0.95); color: var(--washi); }
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--shu-d); font-weight: 700; }
.kicker .kj { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; border: 1.5px solid currentColor; font-size: 15px; letter-spacing: 0; }
.panel.dark .kicker { color: var(--gold-l); }
.sec h2 { font: 800 clamp(30px, 3.6vw, 46px)/1.08 var(--display); margin: 0 0 14px; }
.sub { margin: 0 0 24px; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); max-width: 640px; }
.panel.dark .sub { color: rgba(244, 237, 221, 0.82); }
.fine { margin: 14px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: end; margin-bottom: 26px; }
.sec-head h2, .sec-head .sub { margin-bottom: 0; }

/* tide */
.steps { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 1px; background: var(--line); border-radius: 16px; overflow: hidden; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 18px 18px 18px 14px; background: var(--paper); }
.steps .n { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--shu); border-radius: 10px; font: 800 22px/1 var(--display); color: var(--shu); }
.steps h3 { font: 800 19px var(--display); margin: 2px 0 6px; }
.steps p { margin: 0; color: var(--ink-2); line-height: 1.6; font-size: 14.5px; }
.clock { margin: 0 0 22px; }
.clock-bar { position: relative; height: 6px; border-radius: 9px; background: var(--washi-2); overflow: hidden; }
.clock-bar i { position: absolute; inset: 0 auto 0 0; width: 72%; background: var(--ai); border-radius: 9px; animation: tide 12s linear infinite; }
@keyframes tide { from { width: 0; } 80% { width: 72%; } to { width: 72%; } }
.clock-marks { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 8px; font-size: 12px; color: var(--ink-2); line-height: 1.35; }
.clock-marks span:nth-child(2) { text-align: center; }
.clock-marks span:nth-child(3) { text-align: right; }
.clock-marks b { display: block; font: 500 12.5px var(--mono); color: var(--ink); }
.split-k { margin: 0 0 8px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.split { display: flex; gap: 3px; min-height: 58px; }
.split div { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 8px 12px; border-radius: 10px; color: var(--washi); overflow: hidden; }
.split b { font: 500 16px var(--mono); }
.split span { font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0.9; }
.s-mk { background: var(--ai); }
.s-jp { background: var(--shu); }
.s-tm { background: var(--ink-2); }
.s-tn { background: var(--gold); }
/* turnamen mingguan */
.weekly { margin-top: 22px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: color-mix(in srgb, var(--gold) 7%, transparent); }
.wk-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.wk-k { margin: 0; font: 700 11px var(--ui); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.wk-k .kj { margin-right: 8px; }
.wk-clock { margin: 0; font: 500 12.5px var(--mono); color: var(--ink-2); }
.wk-sub { margin: 8px 0 12px; font-size: 14px; line-height: 1.6; }
.wk-top { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.wk-top li { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: var(--washi); font-size: 13.5px; }
.wk-top li b { font: 700 14px var(--display); color: var(--gold); }
.wk-top li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wk-top li em { font: 500 12.5px var(--mono); font-style: normal; color: var(--ink-2); }

/* ikan */
.fish { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: 12px; }
.fish-card { position: relative; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.fish-card.lord { grid-column: span 2; grid-row: span 2; background: linear-gradient(180deg, #fffaf0, #f5efe0); }
.fish-card.legend { grid-column: span 2; }
.fish-stage { position: relative; flex: 1; min-height: 150px; }
.fish-stage img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: contain; transition: opacity 0.6s; }
.fish-card.live .fish-stage img { opacity: 0; }
.fish-card .kanji { position: absolute; right: 12px; top: 8px; font: 800 30px var(--display); color: rgba(29, 27, 25, 0.1); pointer-events: none; }
.fish-card.lord .kanji { font-size: 64px; color: rgba(200, 70, 58, 0.16); }
.fish-meta { padding: 12px 14px 14px; border-top: 1px solid var(--line); background: var(--paper); }
.rar { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }
.rar i { width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); }
.fish-meta b { display: block; margin: 3px 0 0; font: 800 17px var(--display); }
.fish-card.lord .fish-meta b { font-size: 24px; }
.fish-meta p { margin: 4px 0 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.45; }
.nums { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; font: 500 12.5px var(--mono); color: var(--ink-2); }
.nums em { font-style: normal; color: var(--ink-3); }

/* ruang ganti */
.panel.split2 { width: min(1080px, 100%); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 32px; align-items: stretch; }
.seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--washi-2); margin-bottom: 18px; }
.seg button { height: 40px; padding: 0 22px; border: 0; border-radius: 9px; background: transparent; font-weight: 700; font-size: 14.5px; cursor: pointer; color: var(--ink-2); }
.seg button.on { background: var(--ink); color: var(--washi); }
.sw-k { margin: 0 0 10px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.sw-k b { color: var(--ink); letter-spacing: 0.04em; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.sw { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
.sw.on { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.sw.gold { background: conic-gradient(from 30deg, #b8862c, #f3d488, #c8973a, #f7e2a6, #b8862c); }
.sw.gold::after { content: '主'; position: absolute; right: -4px; bottom: -4px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: var(--ink); color: var(--gold-l); font: 800 10px var(--display); }
.ward-stage { position: relative; min-height: 440px; border-radius: 18px; background: radial-gradient(120% 80% at 50% 100%, #e9dfca 0%, #f6f0e3 55%, #fbf7ee 100%); border: 1px solid var(--line); cursor: grab; touch-action: pan-y; overflow: hidden; }
.ward-stage:active { cursor: grabbing; }
.ward-tip { position: absolute; left: 14px; bottom: 12px; margin: 0; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.ward-fallback { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 24px; text-align: center; font-size: 13.5px; color: var(--ink-3); }
.ward-stage.live .ward-fallback, .ward-stage.loading .ward-fallback { display: none; }

/* bersama */
.online { display: grid; gap: 6px; margin: 0 0 18px; padding: 16px 18px; border-radius: 16px; background: var(--washi); border: 1px solid var(--line); }
.on-big { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.on-big b { font: 500 40px/1 var(--mono); }
.on-big span, .on-row span { font-size: 14px; color: var(--ink-2); }
.on-big em { font-style: normal; font-weight: 700; color: var(--ink); }
.on-row { display: flex; gap: 8px; align-items: baseline; }
.on-row b { font: 500 16px var(--mono); }
.live-dot { align-self: center; width: 9px; height: 9px; border-radius: 50%; background: #3f9a57; box-shadow: 0 0 0 4px rgba(63, 154, 87, 0.18); }
.recent { margin: 0 0 18px; }
.recent-k { margin: 0 0 8px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.recent ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.recent li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.recent li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent li em { font-style: normal; font: 500 13px var(--mono); }
.recent li small { grid-column: 1 / -1; color: var(--ink-3); font-size: 11.5px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.ticks li { padding-left: 22px; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 9px; height: 9px; border-radius: 2px; background: var(--shu); transform: rotate(45deg); }
.ticks b { color: var(--ink); }

/* $NUSHI */
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 20px; }
.perk { padding: 14px; border-radius: 16px; background: rgba(244, 237, 221, 0.06); border: 1px solid var(--line-l); }
.perk h3 { margin: 12px 0 4px; font: 800 16px var(--display); }
.perk p { margin: 0; font-size: 12.5px; line-height: 1.5; color: rgba(244, 237, 221, 0.72); }
.perk-art { height: 74px; border-radius: 12px; background: rgba(244, 237, 221, 0.05); display: grid; place-items: center; }
.seal-art span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 9px; transform: rotate(-5deg); background: linear-gradient(135deg, #f3d488, #b8862c 60%, #e6c271); color: #2a2018; font: 800 24px var(--display); }
.leaf-art { background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0) 0 9px, rgba(255, 245, 210, 0.35) 9px 11px), conic-gradient(from 200deg at 40% 60%, #b8862c, #f3d488, #c8973a, #f7e2a6, #b8862c); }
.rod-art { position: relative; overflow: hidden; }
.rod-art i { position: absolute; left: 12%; top: 50%; width: 78%; height: 5px; border-radius: 3px; background: linear-gradient(90deg, #3a2a20 0 16%, #f3d488 16%, #b8862c 70%, #e6c271); transform: rotate(-16deg); transform-origin: left; }
.honest { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line-l); display: grid; gap: 7px; font-size: 13.5px; color: rgba(244, 237, 221, 0.86); }
.honest li { padding-left: 20px; position: relative; }
.honest li::before { content: '—'; position: absolute; left: 0; color: var(--gold-l); }

/* fairness */
.sec-fair p { color: var(--ink-2); line-height: 1.7; font-size: 15px; }
.sec-fair code { font-family: var(--mono); font-size: 12.5px; background: var(--washi-2); padding: 1px 6px; border-radius: 5px; }
.fair-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 18px 0; background: var(--line); border-radius: 14px; overflow: hidden; }
.fair-grid div { padding: 12px 14px; background: var(--paper); }
.fair-grid b { display: block; font: 800 14.5px var(--display); margin-bottom: 3px; }
.fair-grid span { font-size: 12px; color: var(--ink-2); line-height: 1.4; }
.links { margin-bottom: 0; font-size: 14px; }
.links a { color: var(--shu-d); font-family: var(--mono); }

/* mulai + FAQ */
.start { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.start li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 18px; border-radius: 16px; background: var(--washi); border: 1px solid var(--line); }
.start li > b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--washi); font: 500 15px var(--mono); }
.start h3 { margin: 4px 0 6px; font: 800 17px var(--display); }
.start p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.start a { display: inline-block; margin-top: 8px; color: var(--shu-d); font-weight: 700; font-size: 14px; text-decoration: none; }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.faq details { border-top: 1px solid var(--line); }
.faq summary { position: relative; padding: 16px 32px 16px 0; font: 700 16px var(--display); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 13px; font: 400 22px var(--ui); color: var(--shu); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -4px 0 16px; font-size: 14px; line-height: 1.65; color: var(--ink-2); }

/* footer: fajar */
.foot { min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 30vh var(--gut) 28px; color: var(--washi); background: linear-gradient(180deg, rgba(14, 12, 10, 0) 0%, rgba(14, 12, 10, 0.55) 45%, rgba(14, 12, 10, 0.9) 100%); }
.foot-in { width: min(1240px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; padding-bottom: 28px; border-bottom: 1px solid var(--line-l); }
.foot-brand p { margin: 14px 0 18px; max-width: 340px; font-size: 14.5px; line-height: 1.6; opacity: 0.85; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot-cols p { margin: 0 0 10px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.6; font-weight: 700; }
.foot-cols a { display: block; margin: 0 0 9px; font-size: 14px; text-decoration: none; opacity: 0.9; }
.foot-cols a:hover { opacity: 1; text-decoration: underline; }
.foot-cols a[aria-disabled='true'] { opacity: 0.5; text-decoration: none; cursor: default; }
.official { width: min(1240px, 100%); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--line-l); }
.official > p { margin: 0 8px 0 0; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.6; font-weight: 700; }
.off-site { font: 500 13px var(--mono); text-decoration: none; padding: 8px 12px; border-radius: 99px; border: 1px solid var(--line-l); }
.soc.wide { display: inline-flex; width: auto; gap: 8px; padding: 0 14px; font-size: 13px; font-weight: 700; }
.soc.wide.off::after { position: static; margin-left: 2px; }
.foot > .fine { width: min(1240px, 100%); margin: 16px auto 0; color: rgba(244, 237, 221, 0.6); }

/* penanda waktu di danau (desktop) */
.daybar { position: fixed; right: 16px; top: 50%; z-index: 8; transform: translateY(-50%); display: grid; gap: 14px; padding: 12px 6px; border-radius: 99px; background: rgba(14, 12, 10, 0.32); color: var(--washi); opacity: 0; transition: opacity 0.4s; }
body.gl.past-hero .daybar { opacity: 1; }
.daybar span { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font: 800 14px var(--display); opacity: 0.45; transition: opacity 0.3s, background 0.3s; }
.daybar span.on { opacity: 1; background: rgba(244, 237, 221, 0.16); }
.daybar em { position: absolute; right: 40px; font: 700 10.5px var(--ui); font-style: normal; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; opacity: 0; transition: opacity 0.3s; }
.daybar span.on em { opacity: 0; }
.daybar:hover span.on em { opacity: 0.9; }
/* desktop lebar: isi bagian tidak boleh tertimpa penanda waktu di kanan */
@media (min-width: 1181px) { .sec { padding-right: max(var(--gut), 84px); } }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 50; transform: translate(-50%, 20px); padding: 10px 18px; border-radius: 99px; background: var(--ink); color: var(--washi); font-size: 14px; opacity: 0; pointer-events: none; transition: 0.25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ── tablet & HP ── */
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .hero h1 { font-size: clamp(32px, 4.6vw, 46px); }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
  .cast-zone { grid-column: 1 / -1; grid-row: 1; margin-bottom: 8px; }
  .daybar { display: none; }
}
@media (max-width: 860px) {
  :root { --nav-h: 58px; }
  .nav { gap: 10px; }
  .brand .word { font-size: 16px; letter-spacing: 0.2em; }
  .nav-end .soc { display: none; }
  .nav-play { height: 36px; padding: 0 16px; }
  .ca-chip { height: 34px; padding-right: 10px; font-size: 11.5px; }
  .rail { display: none; }
  .hero { padding-top: calc(var(--nav-h) + 47svh); }
  .hero::before { background: linear-gradient(180deg, rgba(14, 12, 10, 0) 0%, rgba(14, 12, 10, 0) 34%, rgba(14, 12, 10, 0.55) 50%, rgba(14, 12, 10, 0.82) 86%, rgba(14, 12, 10, 0) 100%); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .cast-zone { grid-row: auto; order: -1; margin-bottom: 4px; }
  .hold { width: 88px; height: 88px; }
  .hold-in b { font-size: 13.5px; }
  .ca { align-self: stretch; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st, .st:first-child { padding: 12px 12px 14px 0; }
  .st:nth-child(even) { padding-left: 14px; }
  .st:nth-child(odd) { border-left: 0; }
  .st:nth-child(n + 3) { border-top: 1px solid var(--line-l); }
  .st-v { font-size: 16px; }
  .sec { min-height: 0; padding: 46vh var(--gut) 12vh; }
  .sec-head { grid-template-columns: 1fr; }
  .fish { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(210px, auto); gap: 10px; }
  .fish-card.lord { grid-row: span 1; min-height: 300px; }
  .fish-meta p { display: none; }
  .nums { flex-direction: column; gap: 2px; }
  .fish-card.lord .fish-meta p { display: block; }
  .panel.split2 { grid-template-columns: 1fr; gap: 20px; }
  .ward-stage { min-height: 380px; order: -1; }
  .perks { grid-template-columns: 1fr; }
  .perk { display: grid; grid-template-columns: 74px 1fr; gap: 0 14px; align-items: center; }
  .perk-art { grid-row: span 2; height: 64px; }
  .perk h3 { margin: 0 0 3px; }
  .fair-grid, .start, .faq { grid-template-columns: 1fr; }
  .foot { min-height: 90vh; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .btn.play { flex: 1 1 100%; }
  .btn.ghost { flex: 1 1 100%; height: 50px; }
  .split span { display: none; }
  .clock-marks { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .clock-bar i { animation: none; }
  .draw { animation: none; }
  #lake { transition: none; }
}

/* ── tipografi bersama dengan game (ditimpa di akhir supaya aturan lama tetap utuh) ── */
/* label kecil: kapital kecil asli, bukan huruf besar paksa */
.eyebrow, .rail, .draw-k, .ca-label, .ca-meta dt, .st-l, .cue, .kicker, .split-k, .wk-k, .rar, .sw-k, .ward-tip, .recent-k, .foot-cols p, .official > p, .daybar em, .soc.off::after, .ca-chip .tk {
  font-family: var(--sc); text-transform: none; letter-spacing: 0.08em;
}
.eyebrow, .draw-k, .ca-label, .ca-meta dt, .st-l, .split-k, .wk-k, .rar, .sw-k, .ward-tip, .recent-k, .foot-cols p, .official > p { font-size: 14px; }
.kicker { font-size: 15px; }
.cue, .rail { font-size: 13.5px; }
.daybar em { font-size: 13px; }
/* angka: figur lurus & sama lebar */
.ca-chip, .ca-addr code, .st-v, .clock-marks b, .split b, .wk-clock, .wk-top li em, .nums, .on-big b, .on-row b, .recent li em, .start li > b, .off-site, .links a {
  font-family: var(--ui); font-variant-numeric: lining-nums tabular-nums;
}
.st-v, .on-big b, .on-row b, .split b { font-family: var(--display); font-weight: 800; }
.btn.play b, .nav-play, .btn { letter-spacing: 0.06em; }
.btn.play b { font-family: var(--sc); font-weight: 800; }
/* kanji memakai huruf kuas */
.fish-card .kanji, .sw.gold::after, .seal-art span, .daybar span { font-family: var(--kanji); font-weight: 400; }
.nav-links { font-size: 15.5px; }
.nav-play { font-size: 15.5px; }
.ca-addr code { font-size: 14.5px; }
