:root { --bg:#0b1422; --top:#070e18; --card:#121e30; --gold:#e8c27a; --line:#22344c; --muted:#8ea4bd; }
* { box-sizing:border-box; }
body { margin:0; background:var(--bg); color:#e8eef6; font-family:"PingFang SC","Noto Sans SC",system-ui,sans-serif; }
button,input { font:inherit; color:inherit; }
.top { position:sticky; top:0; z-index:30; background:var(--top); border-bottom:1px solid #142033; }
.row1,.hall-wrap { max-width:1200px; margin:0 auto; }
.row1 { display:flex; align-items:center; gap:8px; padding:10px 16px; }
.logo { font-weight:800; letter-spacing:.12em; cursor:pointer; font-size:22px; }
.logo span { color:var(--gold); font-weight:600; letter-spacing:0; margin-left:4px; font-size:14px; }
.grow { flex:1; }
.pill,.btn { border-radius:999px; border:1px solid #314863; background:transparent; padding:7px 14px; cursor:pointer; }
.btn.gold { background:linear-gradient(#f6e3b4,#d7ae62); color:#2a1e0b; border:0; font-weight:700; }
.btn.line { background:#101a28; }
.bal { display:flex; align-items:center; gap:8px; color:var(--gold); }
.bal em { font-style:normal; color:var(--muted); font-size:12px; }
.bal button { background:none; border:0; color:var(--muted); cursor:pointer; }
#nav { display:flex; gap:6px; overflow:auto; padding:0 16px 10px; max-width:1200px; margin:0 auto; }
#nav button { background:#101a28; border:1px solid transparent; color:#d5deea; border-radius:10px; padding:8px 14px; cursor:pointer; white-space:nowrap; }
#nav button.on { color:#1c1408; background:linear-gradient(#f3d7a0,#e6c27a); font-weight:700; }
#hall { max-width:1200px; margin:0 auto; padding:14px 16px 40px; }
.hero { height:240px; border-radius:16px; position:relative; overflow:hidden; background:#102033 center/cover url("../assets/banner.jpg"); }
.slide { position:absolute; inset:0; padding:36px; display:flex; flex-direction:column; justify-content:center; opacity:0; }
.slide.on { opacity:1; }
.slide h2 { margin:0 0 6px; font-size:32px; }
.slide p { margin:0; color:#d7e3f2; }
.h1,.h2 { background:linear-gradient(90deg, rgba(6,12,20,.82), rgba(6,12,20,.15)); }
.marquee { margin:12px 0; background:#0e1928; border:1px solid var(--line); border-radius:10px; padding:8px 12px; color:var(--muted); font-size:13px; }
.sec h3 { display:flex; justify-content:space-between; align-items:center; font-size:16px; }
.sec h3 b { font-weight:600; }
.sec h3 b::before { content:""; display:inline-block; width:3px; height:14px; background:var(--gold); margin-right:8px; vertical-align:-2px; }
.sec h3 button { background:none; border:0; color:var(--gold); cursor:pointer; }
.grid { display:grid; grid-template-columns:repeat(6,1fr); gap:12px; }
.card { height:200px; border-radius:14px; border:1px solid #1b3048; padding:12px; display:flex; flex-direction:column; justify-content:flex-end; cursor:pointer; position:relative; background-size:cover; background-position:center; }
.card:hover { outline:1px solid var(--gold); }
.card small { color:#f6e7c8; }
.card .hot { position:absolute; top:10px; left:10px; background:#e23d3d; border-radius:6px; font-size:11px; padding:2px 6px; }
.t0{background:linear-gradient(160deg,#4a2d6a,#152033)} .t1{background:linear-gradient(160deg,#1d5a4c,#101c2b)}
.t2{background:linear-gradient(160deg,#6a4520,#161e2c)} .t3{background:linear-gradient(160deg,#1d4e86,#101826)}
.t4{background:linear-gradient(160deg,#6a2848,#161824)} .t5{background:linear-gradient(160deg,#2f5a28,#121c18)}
#game { min-height:100vh; background:#060d16; }
.gbar { display:flex; align-items:center; gap:12px; padding:10px 16px; background:#070e18; border-bottom:1px solid #142033; position:sticky; top:0; }
.gbar b { flex:1; }
.cabinet { max-width:920px; margin:16px auto; padding:0 12px 24px; }
.frame { background:linear-gradient(#3a2a14,#1a1208); border-radius:18px; padding:10px; }
.screen { background:#071018; border-radius:12px; padding:10px; }
.reels { display:grid; gap:6px; }
.reel { background:#0c1826; border-radius:8px; min-height:210px; display:flex; flex-direction:column; align-items:center; justify-content:space-evenly; font-size:36px; }
.dock { display:flex; gap:8px; align-items:center; margin-top:12px; flex-wrap:wrap; }
.msg { color:var(--gold); min-height:22px; margin-top:8px; }
.felt { background:radial-gradient(circle at 50% 40%,#1f7a4d,#0c3d2b 72%); border-radius:24px; padding:20px; display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.hand { text-align:center; }
.cards { display:flex; gap:8px; justify-content:center; margin-top:8px; }
.pc { width:54px; height:76px; background:#f7f4ee; color:#111; border-radius:6px; display:grid; place-items:center; font-weight:800; }
.pc.r { color:#c0392b; }
.list .m { display:flex; justify-content:space-between; gap:8px; align-items:center; border-bottom:1px solid #1c334d; padding:10px 0; }
.pond { height:360px; border-radius:16px; background:linear-gradient(#0a4564,#06202e); position:relative; overflow:hidden; }
.fish { position:absolute; font-size:30px; cursor:crosshair; }
dialog { border:0; border-radius:14px; background:#121e30; color:#fff; width:min(380px,92vw); }
dialog::backdrop { background:rgba(0,0,0,.6); }
form { display:flex; flex-direction:column; gap:10px; }
input { background:#0b1422; border:1px solid var(--line); border-radius:8px; padding:10px; }
form p { margin:0; color:var(--muted); font-size:12px; }
.actions { display:flex; justify-content:flex-end; gap:8px; }
.balls { display:flex; flex-wrap:wrap; gap:8px; }
.ball { width:36px; height:36px; border-radius:50%; border:1px solid #314863; display:grid; place-items:center; cursor:pointer; }
.ball.on { background:var(--gold); color:#1c1408; font-weight:800; }
@media (max-width:900px){ .grid{grid-template-columns:repeat(3,1fr);} .felt{grid-template-columns:1fr;} }
@media (max-width:560px){ .grid,.reels{grid-template-columns:repeat(2,1fr)!important;} #nav{padding-bottom:8px;} }
