:root{--ink:#081315;--panel:#112528;--gold:#d7ba78;--muted:#9bb4aa;--jade:#86d9b3;--red:#ff947d;--blue:#77e0e1}*{box-sizing:border-box}body{margin:0;background:var(--ink);color:#e2e6cf;font-family:Georgia,Times New Roman,serif;overflow:hidden}button{font:inherit;color:inherit;cursor:pointer;border:1px solid #586c5d;background:#1a302f;padding:10px 18px;transition:background .15s,transform .15s}button:hover{border-color:var(--gold);background:#2c453b}button:active{transform:translateY(2px)}button:focus-visible{outline:2px solid var(--jade);outline-offset:2px}button:disabled{opacity:.4;cursor:default}.selected{border-color:#ffe4a4!important;background:#514c30!important;box-shadow:inset 0 0 0 1px #d7ba78}.primary{background:#d1b376;color:#14211d;border-color:#f2d899}.primary:hover{background:#ecd59d;color:#14211d}#app{height:100dvh;display:flex;flex-direction:column;padding:0 24px;gap:0}header{height:65px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #43564a;gap:10px}.brand{font-size:24px;color:var(--gold);letter-spacing:4px}.brand small{font-size:9px;display:block;letter-spacing:6px;margin:4px 0 0 32px}nav{display:flex;gap:7px}nav button{font:12px system-ui;padding:8px 12px;background:transparent}main{position:relative;flex:1;min-height:0;overflow:hidden;border:1px solid #4c6654;background:#0a1b1d}canvas{width:100%;height:100%;display:block;image-rendering:pixelated}.vignette{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;box-shadow:inset 0 0 80px #020d1066}#chapter{position:absolute;left:17px;top:14px;font:10px system-ui;letter-spacing:3px;color:#8caa9f;pointer-events:none}#notice{position:absolute;top:12px;left:25%;right:5%;text-align:right;font-size:14px;color:#f2d89a;pointer-events:none;text-shadow:0 2px 4px #000}#overlay{position:absolute;top:0;right:0;bottom:0;left:0;height:100%;display:flex;align-items:center;justify-content:center;pointer-events:none}.panel{pointer-events:auto;background:#0c2024f5;border:1px solid #b29b64;box-shadow:0 12px 60px #000b;padding:25px;text-align:center;max-width:700px;max-height:calc(100% - 14px);overflow:auto;min-height:0}.eyebrow{font:10px system-ui;color:var(--jade);letter-spacing:4px}h1{font-size:clamp(30px,4vw,52px);color:#edcf8d;letter-spacing:7px;font-weight:500;margin:16px 0 8px}h2{font-size:23px;color:#e2c789;font-weight:500;margin:12px 0;letter-spacing:2px}.sub{color:var(--muted);font-size:13px;line-height:1.75}.options{display:flex;gap:12px;justify-content:center;margin-top:18px}.mode{min-width:145px;padding:16px}.mode strong{display:block;font-size:18px}.mode small{display:block;margin-top:8px;font-size:12px}.panel select{color:#d9d7be;background:#19312e;border:1px solid #72846b;padding:8px;margin-top:15px}footer{flex-shrink:0;min-height:142px;padding:14px 0;display:grid;grid-template-columns:180px minmax(0,1fr) 150px;gap:8px 16px;align-content:center;align-items:center}.turn{grid-column:1;grid-row:1/3}.turn small{font:10px system-ui;color:var(--gold);letter-spacing:2px}.turn p{font-size:16px;margin:8px 0}.treasures{display:flex;gap:10px;grid-column:2;grid-row:1}.item{flex:1;min-width:0;display:flex;align-items:center;text-align:left;padding:10px 12px;gap:12px}.item b{font-size:31px;color:var(--gold);border:1px solid #738263;padding:3px 6px}.item span{font-size:15px}.item small{display:block;font:11px system-ui;color:#b4c5ae;margin-top:5px}.prediction{font:12px system-ui;color:#e8cf93;grid-column:2;grid-row:2;min-height:17px}.confirm{grid-column:3;grid-row:1/3;font-size:14px;padding:15px 10px}footer>span.sub{grid-column:1/3;text-align:center}footer>#next,footer>#private{grid-column:3}.grid{display:grid;grid-template-columns:repeat(12,1fr);gap:5px;margin:15px 0}.tile{padding:8px 0;min-width:30px;font:12px system-ui}.frequent{color:#f6d48b}.setup{width:94%;max-width:750px;padding:20px}.gate{width:100%;height:100%;max-width:none;max-height:none;border:10px ridge #6c7556;background:repeating-linear-gradient(90deg,#18342f 0,#18342f 55px,#2b4538 56px,#2b4538 60px);display:flex;align-items:center;justify-content:center;flex-direction:column;animation:drop .45s ease-out}.gate:before{content:"◈";font-size:60px;color:#7c8b5c;letter-spacing:25px;text-shadow:3px 4px #081a15}.hero-row>strong{display:block;text-align:left;font:13px system-ui;margin:10px 0}.hero-options{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.hero{display:flex;flex-direction:column;align-items:center;padding:4px 16px;min-width:90px}.hero img{height:72px;width:58px;object-fit:contain;image-rendering:pixelated}.hero span{font-size:13px}.characters{width:min(620px,95%)}#enterTomb{margin-top:16px}.duel{display:flex;align-items:center;justify-content:center;gap:35px;padding:15px}.duel>div{display:flex;flex-direction:column;gap:10px}.duel b{font-size:65px;line-height:1.3;padding:10px 20px;border:2px solid currentColor;background:#203731;animation:stamp .45s cubic-bezier(.16,.8,.3,1.2)}.duel small{font:12px system-ui}.reveal{border-width:2px;animation:reveal .3s ease-out}#privateItems{display:block}.panel .treasures{margin-top:14px}.panel .prediction{margin:12px 0}.panel .confirm{width:100%}#modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;background:#020e12e8;display:flex;align-items:center;justify-content:center;padding:20px}#modal[hidden]{display:none}.rules{text-align:left;max-height:92dvh;width:760px}.rules p{line-height:1.7;font-size:14px;color:#c1d0bd}.rules strong{color:#efd696}.rule-cycle{display:flex;align-items:center;justify-content:space-between;gap:8px}.rule-cycle>div{background:#243e36;border:1px solid #778665;padding:10px;text-align:center;flex:1;font-size:25px;color:var(--gold)}.rule-cycle b{display:block;font-size:14px;margin:6px 0}.rule-cycle small{display:block;font:10px system-ui;color:#bacbb5}.legend{display:flex;gap:8px;flex-wrap:wrap;font:12px system-ui}.legend>span{padding:8px;background:#213a34;border:1px solid #687d6b}.legend .danger{border-color:#e88c75;color:#ffc7a2}.gold{color:var(--gold)}.red{color:var(--red)}.blue{color:var(--blue)}@keyframes drop{0%{transform:translateY(-100%)}to{transform:translateY(0)}}@keyframes stamp{0%{transform:scale(1.8) rotate(-12deg);opacity:0}to{transform:scale(1);opacity:1}}@keyframes reveal{0%{transform:scale(.9);opacity:0}to{transform:scale(1);opacity:1}}@media(max-width:700px){#app{padding:0 9px}header{height:58px}.brand{font-size:17px;letter-spacing:1px}.brand small{font-size:8px;letter-spacing:3px;margin-left:23px}nav{gap:4px}nav button{padding:7px;font-size:10px}#home{font-size:0;padding:7px}#home:after{content:"Menu";font-size:10px}footer{min-height:183px;grid-template-columns:1fr 1fr;gap:7px;padding:9px 0}.turn{grid-column:1/-1;grid-row:1;display:flex;align-items:center;justify-content:space-between;gap:6px}.turn p{font-size:13px;margin:0}.turn small{font-size:9px;letter-spacing:0}.treasures{grid-column:1/-1;grid-row:2;gap:5px}.item{padding:7px 4px;gap:5px}.item b{font-size:24px;padding:3px}.item span{font-size:12px}.item small{font-size:9px;margin-top:4px}.prediction{grid-column:1;grid-row:3;font-size:10px}.confirm{grid-column:2;grid-row:3;font-size:12px;padding:10px}footer>#next,footer>#private{grid-column:2}footer>span.sub{grid-column:1;font-size:11px}.panel{padding:16px 12px}.panel h2{font-size:19px}.panel .sub{font-size:11px}.grid{grid-template-columns:repeat(8,1fr);gap:4px;margin:10px 0}.tile{padding:7px 0}.hero{min-width:0;padding:3px 7px}.hero img{height:58px;width:45px}.hero-options{gap:5px}.hero-row>strong{font-size:12px;margin:7px 0}.hero-row{margin:6px 0}#chapter{font-size:9px;left:10px;top:10px;letter-spacing:1px}#notice{top:30px;left:10px;right:10px;font-size:11px;text-align:center}.duel{gap:14px;padding:8px}.duel b{font-size:44px;padding:5px 12px}.duel small{font-size:10px}.rule-cycle{gap:4px}.rule-cycle>div{padding:7px 3px}.rule-cycle b{font-size:12px}.rule-cycle small{font-size:9px}.rules p{font-size:12px}}@media(max-height:530px){header{height:43px}footer{min-height:95px;padding:6px 0}.panel{padding:10px 18px}.panel h1{font-size:26px;margin:0}.panel h2{font-size:18px;margin:5px}.panel>.sub,.panel>.eyebrow{display:none}.panel .options{margin-top:8px}.mode{padding:8px}.panel select{margin-top:6px;padding:4px}.hero-row{display:inline-block;width:49%;padding:0 5px}.hero-row>strong{font-size:10px;margin:4px 0}.hero img{height:40px;width:32px}.hero{min-width:0;padding:2px}.hero-options{gap:3px}.hero span{font-size:10px}#enterTomb{margin-top:6px;padding:6px 15px}.setup .sub{display:none}.grid{grid-template-columns:repeat(12,1fr);gap:3px;margin:5px 0}.tile{padding:3px 0;font-size:11px}.setup #seal{padding:5px 15px}.gate:before{font-size:24px}.gate h2{font-size:17px}.duel{padding:0;gap:20px}.duel b{font-size:30px;padding:0 15px}.duel>div{gap:4px}.item{padding:6px 10px}.item b{font-size:23px}.item small{font-size:9px;margin-top:3px}.turn p{font-size:13px}.rules p{font-size:12px}.rules>.sub{display:block}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}.board-legend{position:absolute;left:14px;bottom:10px;display:flex;gap:12px;pointer-events:none;font:10px system-ui;color:#a9b9a7}.board-legend span:first-child{color:var(--red)}.board-legend span:nth-child(2){color:var(--blue)}.board-legend .danger{color:#ffbc9a}@media(max-width:700px){.board-legend{font-size:8px;gap:7px;left:8px;bottom:7px}}@media(max-height:530px){.board-legend{font-size:8px;bottom:4px}}.strategy-tip{flex-shrink:0;display:flex;justify-content:center;align-items:baseline;gap:10px;margin-top:8px;padding:5px 12px;color:#b8c6af;font:12px/1.6 system-ui;background:#132a27;border-left:2px solid var(--gold)}.strategy-tip strong{color:var(--gold);white-space:nowrap;font-weight:500}.strategy-tip span{min-width:0}.setup-tip{color:#ead091;font-size:14px;line-height:1.6;margin:8px 0}@media(max-width:700px){.strategy-tip{font-size:10px;gap:7px;margin-top:6px;padding:5px 8px}.setup-tip{font-size:12px}}@media(max-height:530px){.strategy-tip{font-size:10px;margin-top:3px;padding:3px 8px}.setup-tip{font-size:11px;margin:3px 0}}:root{--radius-sm:10px;--radius:16px;--radius-lg:24px;--edge:#647d66;--surface:linear-gradient(145deg,#203a36ee,#102725f5)}body{background:radial-gradient(ellipse at 50% 0,#18312e 0,#0b1d20 40%,#071114 90%)}button{border-radius:var(--radius-sm);background:linear-gradient(145deg,#243e36,#142b29);box-shadow:inset 0 1px #c9e4bc12,0 3px 7px #020c0b33;transition:background .16s,border-color .16s,box-shadow .16s,transform .16s}button:hover{background:linear-gradient(145deg,#365047,#203d35);box-shadow:inset 0 1px #e0e6bc22,0 4px 12px #020c0b55}button:active{transform:translateY(1px) scale(.985)}button:disabled{box-shadow:none}.primary{background:linear-gradient(135deg,#f0d493,#c4a263);box-shadow:inset 0 1px #fff0bd77,0 4px 12px #080f0e44;color:#17251e}.primary:hover{background:linear-gradient(135deg,#ffe6ac,#d6b16d);box-shadow:0 4px 18px #d2b56b22}.selected{background:linear-gradient(145deg,#625735,#343e2b)!important;box-shadow:inset 0 0 0 1px #f3d58b88,0 0 16px #d6b97016!important}main{border-radius:var(--radius-lg);border-color:#57705d;box-shadow:0 10px 32px #0004,inset 0 1px #d7e4bc18}.vignette{border-radius:inherit;box-shadow:inset 0 0 70px #020d1055}.panel{border-radius:var(--radius-lg);background:radial-gradient(ellipse at 50% 0,#31504455,transparent 65%),linear-gradient(150deg,#173332fa,#0b2025fa);border-color:#b69f64;box-shadow:inset 0 1px #f2d69a33,0 20px 65px #0009;scrollbar-width:thin;scrollbar-color:#6c8061 transparent}.panel select{border-radius:10px;background:#17332e;min-height:34px}.panel h2{text-wrap:balance}.panel .eyebrow{letter-spacing:3px}.mode small{opacity:.85}.hero{border-radius:14px;background:linear-gradient(160deg,#24443a,#152c2c)}.hero img{filter:drop-shadow(0 4px 3px #00140f99)}.hero-row>strong{letter-spacing:1px}.item{border-radius:16px;border-color:#57765f;position:relative}.item b{border-radius:10px;background:#071c1966;border-color:#7f946a;box-shadow:inset 0 1px #f8dba722}.item small{color:#baccb7}.item.selected:after{content:"✓";position:absolute;right:8px;top:5px;color:#f7dda3;font:12px system-ui}.turn{border-left:2px solid #b9a86f;padding-left:12px}.turn p{letter-spacing:1px}.prediction{line-height:1.65;color:#e3d4a9}.tile{border-radius:7px;box-shadow:inset 0 1px #bfe3b312}.tile.selected{color:#ffe3a1}.setup-tip{padding:6px 12px;border-radius:9px;background:#bca46712}.gate{border-radius:21px;border:8px solid #556b51;background:repeating-linear-gradient(90deg,#18342ffb 0,#18342ffb 55px,#2b4538fb 56px,#2b4538fb 60px);box-shadow:inset 0 0 0 2px #b4a06a,inset 0 0 70px #03110ee6}.gate:before{color:#87966b}.duel b{border-radius:20px;box-shadow:inset 0 1px #fff3,0 6px 18px #0005}.duel>div{min-width:100px}.rule-cycle>div{border-radius:14px;background:linear-gradient(145deg,#29493b,#19362d)}.legend>span{border-radius:8px}.rules strong{font-weight:600}.strategy-tip{border:1px solid #4e665133;border-left:3px solid #c9ae6e;border-radius:11px;background:linear-gradient(90deg,#29443488,#152d2866);margin-top:10px;box-shadow:inset 0 1px #d9e7b70a}nav button{border-radius:99px;background:#122b2788;border-color:#506956;min-height:32px}nav button[aria-pressed=true]{border-color:#94835a;color:#e4cc94}nav button[aria-pressed=false]{color:#8fa89c}@media(max-width:700px){#app{padding:0 10px}main,.panel{border-radius:18px}.hero-options{gap:5px}.hero{border-radius:10px}.item{border-radius:12px}.item b{border-radius:8px}.turn{padding-left:8px}.item.selected:after{right:5px;top:2px;font-size:9px}.duel>div{min-width:80px}.duel b{border-radius:15px}.strategy-tip{margin-top:7px;border-radius:10px}.setup-tip{padding:4px 8px}nav{gap:4px}nav button{padding:6px;font-size:10px}.brand{letter-spacing:0;font-size:16px}#home{padding:6px}#home:after{font-size:10px}.rule-cycle>div{border-radius:10px}}@media(max-width:400px){.brand{font-size:14px}.brand small{font-size:7px;letter-spacing:2px;margin-left:18px}nav button{padding:5px;font-size:9px}#home{padding:5px}#home:after{font-size:9px}}@media(max-height:530px){main,.panel{border-radius:14px}.item{border-radius:10px}.mode{border-radius:12px}.strategy-tip{margin-top:4px}.setup-tip{padding:2px 8px;margin:2px 0}.panel select{min-height:26px}.hero-options{gap:3px}.hero{border-radius:7px}.duel b{border-radius:10px}}#speechLayer{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:2;overflow:hidden}#speechLayer[hidden],.speech[hidden],#talkModal[hidden]{display:none}#overlay{z-index:3}.speech{position:absolute;width:max-content;max-width:210px;min-width:126px;padding:9px 12px;border:1px solid currentColor;border-radius:13px;background:linear-gradient(145deg,#18332ff5,#0a1e23f7);box-shadow:0 5px 20px #0009;line-height:1.5;font-size:13px;animation:reveal .16s ease-out}.speech small{display:block;font:9px/1.4 system-ui;margin-bottom:3px;opacity:.85;letter-spacing:.5px}.speech span{display:block;color:#efe6ca}.speech:after{content:"";position:absolute;top:19px;width:8px;height:10px;background:currentColor;clip-path:polygon(0 0,100% 50%,0 100%)}.speech[data-side=left]:after{right:-8px}.speech[data-side=right]:after{left:-8px;transform:rotate(180deg)}.banter-open{font:11px system-ui;padding:4px 10px;border-radius:99px;color:#e2c88c;margin-top:5px;min-height:25px}.banter-open:before{content:"◌ ";color:#a5dac1}.banter-open:disabled{opacity:.55}#privateItems>.banter-open{margin-top:9px}.public-claim{font:11px/1.6 system-ui;color:#d5bf8e;background:#233d3255;border-radius:9px;padding:8px}.banter-epilogue{font-size:13px;color:#d4c89f;line-height:1.8}#talkModal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:12;background:#020d12cc;display:flex;align-items:center;justify-content:center;padding:18px}.talk-panel{width:min(520px,100%);max-height:92dvh}.talk-panel strong{color:#f2d99c}.talk-options{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0}.talk-options button{font-size:13px;padding:13px 10px;min-height:44px;text-align:left}.talk-options .claim-option{border-color:#b69c63;color:#f0d18c;background:linear-gradient(145deg,#3e4630,#1c342d)}.talk-options .claim-option:first-child{grid-column:1/-1}.talk-panel #closeTalk{min-width:120px}@media(max-width:700px){.speech{max-width:148px;min-width:114px;font-size:11px;padding:7px 9px;border-radius:11px}.speech small{font-size:8px}.turn{flex-wrap:wrap}.banter-open{font-size:10px;margin:0;padding:4px 8px}.talk-options{gap:6px;margin:10px 0}.talk-options button{font-size:12px;padding:11px 8px}.public-claim{font-size:10px}.talk-panel .sub{display:block}.banter-epilogue{font-size:11px}}@media(max-height:530px){.speech{max-width:175px;min-width:100px;font-size:10px;padding:5px 8px}.speech small{font-size:8px;margin-bottom:1px}.banter-open{margin-top:0;font-size:10px;padding:3px 8px;min-height:22px}.talk-panel{max-height:95dvh;padding:10px 18px}.talk-panel .sub{display:block;font-size:11px;margin:7px 0}.talk-options{grid-template-columns:repeat(3,1fr);margin:8px 0;gap:5px}.talk-options button{padding:6px 8px;min-height:34px;font-size:11px}.talk-options .claim-option:first-child{grid-column:auto}}#dialogueLog{position:absolute;z-index:2;right:12px;top:48px;width:270px;max-width:32%;border:1px solid #78937866;border-radius:14px;background:linear-gradient(145deg,#142f2ff5,#091d22f2);box-shadow:0 8px 24px #0005;font:12px/1.6 system-ui;overflow:hidden}#dialogueLog[hidden],#ownTrapAlert[hidden]{display:none}#dialogueLog summary{cursor:pointer;padding:9px 12px;color:#efd698;-webkit-user-select:none;user-select:none}#dialogueLog summary span{float:right;font-size:10px;color:#9db5a7}#dialogueEntries{list-style:none;margin:0;padding:0 10px 10px;max-height:260px;overflow:auto;scrollbar-width:thin}#dialogueEntries li{padding:8px 2px;border-top:1px solid #6a886b33}#dialogueEntries small{display:block;font-size:10px}#dialogueEntries p{color:#e6dfc8;margin:3px 0 0}#dialogueEntries strong{display:block;font-size:10px;color:#f3d18b;font-weight:500}.self-trap-entry{background:#ba81331a;border-radius:7px;padding:8px!important}#ownTrapAlert{position:absolute;z-index:2;top:48px;left:50%;transform:translate(-50%);width:max-content;max-width:48%;padding:10px 16px;border:1px solid #edc878;border-radius:12px;background:#302d19f5;box-shadow:0 0 24px #dfb76333;text-align:center;pointer-events:none;animation:reveal .2s ease-out}#ownTrapAlert strong{display:block;font-size:14px}#ownTrapAlert span{display:block;font:11px/1.6 system-ui;color:#f0d49a;margin-top:3px}@media(max-width:1000px){#dialogueLog{width:235px;max-width:30%;font-size:11px}#dialogueEntries small{font-size:9px}}@media(max-width:700px),(max-height:530px){#dialogueLog{top:52px;right:8px;width:220px;max-width:65%;font-size:11px}#dialogueLog summary{padding:6px 9px}#dialogueEntries{max-height:150px}#dialogueEntries li{padding:6px 2px}#dialogueLog summary span{font-size:9px}#ownTrapAlert{top:90px;max-width:90%;padding:8px 12px}#ownTrapAlert strong{font-size:12px}#ownTrapAlert span{font-size:10px}}#ownTrapAlert{animation:none}.difficulty-options{display:flex;justify-content:center;gap:7px;margin-top:15px}.difficulty-options button{flex:1;max-width:135px;padding:9px 12px;font-size:13px}.difficulty-options small{display:block;font:10px/1.6 system-ui;color:#b7c9b8;margin-top:3px}#difficulty-hell{border-color:#a86653;color:#ffc19c}#difficultyHint{font-size:11px;margin-bottom:0}@media(max-height:530px){.difficulty-options{margin-top:8px}.difficulty-options button{padding:4px 10px;font-size:11px}.difficulty-options small{font-size:9px;margin-top:0}#difficultyHint{display:block;font-size:10px;margin-top:5px}}body{font-family:Georgia,Times New Roman,serif}button,.sub,.prediction,.public-claim,.speech,.rules,.strategy-tip,.session-note{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}h1,h2,.brand{letter-spacing:.025em}.brand{font-size:23px}.brand small{letter-spacing:.3em;margin-left:30px}.game-title{font-size:clamp(30px,4vw,48px);letter-spacing:.01em;line-height:1.05}.game-subtitle{color:var(--gold);font:600 12px/1.5 system-ui;letter-spacing:.35em;margin-top:8px}.eyebrow{letter-spacing:.15em}.session-note{font-size:10px;color:#90a99d;margin:15px 0 0}.mode{min-width:135px}.mode strong{font-size:17px}.item b{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:48px;padding:5px}.item svg,.rule-cycle svg,.duel svg{display:block;width:100%;height:100%;max-height:80px}.item span{font-size:13px}.duel b{width:108px;height:112px;display:flex;align-items:center;justify-content:center}.duel>div{max-width:190px;font:14px system-ui}.rule-cycle>div{min-width:0}.rule-cycle svg{width:36px;height:36px;margin:0 auto}.rule-cycle b{font-size:13px}.turn{min-width:0}.turn p{font-size:13px;letter-spacing:0}.turn small{letter-spacing:.04em}.speech{font-size:12px;max-width:222px}.speech small{letter-spacing:0}#chapter{letter-spacing:.08em;font-size:9px}#notice{font:12px/1.4 system-ui;max-width:65%;left:auto}.setup-tip{font-family:system-ui,sans-serif;font-size:13px}.gate:before{font-size:46px;letter-spacing:0}.gate h2{max-width:560px;font-family:system-ui,sans-serif;line-height:1.5}#pauseModal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:14;display:flex;align-items:center;justify-content:center;background:#031014ed;padding:16px}#pauseModal[hidden]{display:none}.pause-panel{width:min(420px,100%)}.pause-panel .options{flex-wrap:wrap}.pause-panel h2{font-size:28px}#app.platform-blocked{pointer-events:none}#platformStatus{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:grid;place-content:center;background:#081719f5;text-align:center;padding:25px;font:16px/1.6 system-ui;color:#e6d2a2}#platformStatus[hidden]{display:none}#platformStatus button{margin-top:16px}main{isolation:isolate}html,body,#app{overscroll-behavior:none}#app{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}.panel,#dialogueEntries{overscroll-behavior:contain}.grid button{touch-action:manipulation}@media(max-width:700px){header{height:66px;flex-wrap:wrap;align-content:center;gap:5px}.brand{font-size:17px;line-height:1}.brand small{display:none}nav{gap:4px}nav button{font-size:10px;padding:6px 7px;min-height:30px}#home:after{content:none}#home{font-size:10px}#rules{font-size:0}#rules:after{content:attr(data-short);font-size:10px}.panel{max-width:calc(100% - 12px);padding:17px 14px}.mode{min-width:0;flex:1}.options{gap:8px}.mode small{font-size:11px}.game-title{font-size:34px}.game-subtitle,.panel .sub{font-size:11px}.hero img{height:54px;width:44px}.hero span{font-size:10px}.hero-row>strong{font-size:10px}.hero-row{margin:4px 0}.hero-options{gap:4px}.characters h2{font-size:20px}.item{padding:7px 4px;gap:5px}.item b{width:28px;height:35px;padding:3px}.item span{font-size:10px}.item small{font-size:9px;line-height:1.3}.prediction{font-size:10px}.turn{gap:4px}.turn p{font-size:11px}.turn small{font-size:9px}.speech{max-width:146px;min-width:106px;font-size:10px}.speech small{font-size:8px}.strategy-tip{font-size:10px;line-height:1.4;align-items:center}.strategy-tip strong{font-size:9px}#chapter{max-width:52%;font-size:8px}#notice{max-width:95%;left:8px;right:8px;top:28px;font-size:10px}#dialogueLog{width:215px;max-width:65%;top:56px}#dialogueLog:not([open]){width:158px;max-width:46%}#ownTrapAlert strong{font-size:11px}#ownTrapAlert{max-width:92%;width:270px}.duel b{width:74px;height:76px;padding:9px}.duel>div{font-size:11px;min-width:80px}.rule-cycle b{font-size:10px}.rule-cycle small{font-size:9px}.rule-cycle svg{width:30px;height:30px}.talk-options button{font-size:11px}.talk-panel h2{font-size:21px}.difficulty-options button{font-size:11px;padding:8px 5px}.difficulty-options small{font-size:9px}.setup-tip{font-size:11px}footer{min-height:177px}.banter-open{white-space:nowrap}}@media(max-height:530px){header{height:38px;flex-wrap:nowrap}.brand{font-size:18px}.brand small{display:none}nav button{min-height:27px;font-size:10px;padding:5px 8px}footer{min-height:96px;padding:5px 0;grid-template-columns:150px minmax(0,1fr) 110px;gap:5px 10px}.turn{grid-column:1;grid-row:1/3;display:block}.treasures{grid-column:2;grid-row:1}.prediction{grid-column:2;grid-row:2}.confirm{grid-column:3;grid-row:1/3}.item b{width:27px;height:30px;padding:3px}.item{padding:5px 6px;gap:5px}.item span{font-size:10px}.item small{font-size:9px}.game-title{font-size:29px}.game-subtitle{margin-top:3px;font-size:10px}.panel{max-height:calc(100% - 8px)}.panel h2{font-size:17px}.mode strong{font-size:14px}.mode small{font-size:10px;margin-top:3px}.mode{padding:6px 15px}.session-note{display:none}.difficulty-options{margin-top:7px}.difficulty-options button{padding:4px 8px}.difficulty-options small{margin:0}.characters .hero-row{display:inline-block;width:49%}.characters .sub{display:none}.hero img{height:32px;width:26px}.hero span{font-size:9px}.hero-row>strong{font-size:9px}.hero{padding:2px;min-width:0}.grid{gap:2px;margin:4px 0}.tile{padding:2px 0;font-size:10px}.setup{display:flex;flex-direction:column;padding:8px 16px}.setup h2{font-size:16px;margin:3px}.setup .setup-tip{font-size:10px;margin:2px}.setup .grid{flex-shrink:0}.setup #seal{flex-shrink:0;min-height:28px;padding:3px 12px;margin:3px auto 0}.gate:before{display:none}.gate h2{font-size:17px}.gate .sub{display:block;font-size:11px}.gate button{padding:7px 14px}.duel b{width:58px;height:53px;padding:5px}.duel>div{font-size:10px;gap:3px}.reveal h2{font-size:16px}.board-legend{font-size:8px}.speech{font-size:10px;max-width:172px}.speech small{font-size:8px}#notice{font-size:10px}#chapter{font-size:8px}.talk-panel .sub,.rules .sub{display:block}#dialogueLog{top:42px}.strategy-tip{font-size:9px;margin-top:3px;padding:3px 8px}.setup>.sub{display:none}.pause-panel .sub{display:block}}#app[data-phase=STATE_MENU] footer,#app[data-phase^=STATE_SETUP] footer,#app[data-phase=STATE_MENU] .strategy-tip,#app[data-phase^=STATE_SETUP] .strategy-tip{display:none}.rules-close{float:right;position:sticky;top:0;z-index:1;font:11px system-ui;padding:7px 12px;background:#214138}.rules h2{padding-right:65px}.setup .sub{line-height:1.5}.setup{max-height:calc(100% - 10px)}@media(max-height:530px){#app[data-phase=STATE_MENU] main{min-height:240px}#app[data-phase^=STATE_SETUP] main{min-height:245px}.setup .setup-tip{line-height:1.3}.setup .tile{min-height:21px}.setup #seal{min-height:28px}.setup>.sub{display:none}}#overlay:has(#privateItems){position:fixed;top:0;right:0;bottom:0;left:0;height:100dvh;z-index:6;background:#041316d9;padding:10px}#overlay .panel:has(#privateItems){max-height:calc(100dvh - 20px);width:min(650px,96vw)}@media(max-height:530px){#privateItems .item b{width:28px;height:30px}#privateItems .prediction{font-size:10px;margin:6px 0}#privateItems .treasures{margin-top:7px}#privateItems>.confirm{padding:6px;min-height:30px}#privateItems>.banter-open{margin-top:5px}.panel:has(#privateItems)>.sub{display:block;font-size:10px;margin:6px 0}.panel:has(#privateItems) .public-claim{padding:5px;margin:5px 0;font-size:10px}}.language-picker{position:relative;z-index:18;font:12px system-ui;flex-shrink:0;color:#e7d09c}.language-picker summary{list-style:none;cursor:pointer;border:1px solid #6f8065;border-radius:99px;padding:8px 12px;background:#112c28;white-space:nowrap}.language-picker summary::-webkit-details-marker{display:none}.language-picker summary:before{content:"◎ ";color:#a9dcc4}.language-picker summary:focus-visible{outline:2px solid var(--jade);outline-offset:2px}.language-options{position:absolute;top:calc(100% + 6px);right:0;min-width:130px;padding:6px;border:1px solid #9a9165;border-radius:12px;background:#102a29;box-shadow:0 8px 24px #0008;display:grid;gap:5px}.language-options button{padding:9px 12px;text-align:left;font:12px system-ui}.language-options button[aria-pressed=true]{color:#ffe3a1;background:#4e4931;border-color:#d6ba78}html[lang=zh-CN] body{font-family:system-ui,-apple-system,Songti SC,serif}html[lang=zh-CN] .game-subtitle{letter-spacing:.3em}html[lang=zh-CN] .brand{letter-spacing:.06em}@media(max-width:700px){header{height:70px;gap:4px}.brand{flex:1}.language-picker{font-size:10px;margin-left:auto}.language-picker summary{padding:5px 9px}nav{flex-basis:100%;justify-content:flex-start}.language-options{min-width:120px}.language-options button{min-height:36px}html[lang=zh-CN] .turn small{letter-spacing:0}}@media(max-height:530px){header{height:38px;flex-wrap:nowrap}.brand{flex:1;white-space:nowrap;font-size:17px}nav{flex-basis:auto}.language-picker{margin-left:0;font-size:10px}.language-picker summary{padding:5px 8px}}.quick-start{display:block;width:100%;margin:12px 0 8px;font-size:20px}.quick-start small{display:block;font:11px/1.5 system-ui}.tutorial{width:min(560px,95%)}.practice-path{display:flex;position:relative;margin:38px 0 18px;gap:4px}.practice-tile{flex:1;border:1px solid #b5a56a;border-radius:7px;background:#29463e;padding:12px 0;text-align:center;position:relative}.practice-tile.armed{background:#713b31;box-shadow:0 0 15px #ff806755}.practice-tile small{display:block;color:#ffd58a}.practice-pawn{position:absolute;z-index:2;left:3%;top:-28px;color:#77e0e1;font-size:24px}.practice-path.moving .practice-pawn{animation:practice-route 2.4s ease-in-out forwards}.practice-actions{display:flex;gap:6px}.practice-actions button{flex:1}.practice-actions svg{width:30px;height:30px;display:block;margin:0 auto 5px}.practice-actions span{font:11px system-ui}.tutorial p{line-height:1.5}.tutorial #skipPractice{margin-top:12px;font-size:12px}#customize,#learnAgain{margin:4px;padding:6px 9px;font-size:11px}@keyframes practice-route{0%,15%{left:3%}50%,65%{left:89%}to{left:3%}}@media(max-height:530px){.tutorial{max-height:95%;padding:12px 18px}.tutorial h2{font-size:20px;margin:5px}.tutorial .practice-path{margin:28px 0 8px}.tutorial .sub{font-size:11px;margin:6px 0}.quick-start{margin:5px 0;padding:8px}.quick-start small{font-size:10px}.game-title{font-size:30px!important}.difficulty-options{margin-top:6px}}@media(prefers-reduced-motion:reduce){.practice-path.moving .practice-pawn{animation-duration:.01ms}}#app[data-paused=true] .practice-pawn{animation-play-state:paused}#app[data-phase=STATE_TUTORIAL] footer,#app[data-phase=STATE_TUTORIAL] .strategy-tip{display:none}.tutorial>.sub,.tutorial>.eyebrow{display:block}.tutorial{font-family:system-ui,sans-serif}.tutorial h2{font-family:Georgia,serif}.tutorial #practiceHint:empty{display:none}@media(max-height:530px){.tutorial>.eyebrow{font-size:9px}.tutorial>.sub{font-size:11px;line-height:1.35}.tutorial .practice-tile{padding:6px 0}.tutorial .practice-actions button{padding:5px}.tutorial .practice-actions svg{width:23px;height:23px;margin-bottom:2px}.tutorial #skipPractice{margin-top:7px;padding:6px 12px}.tutorial h2{font-size:18px}}.practice-tile.spent{background:#394644;border-color:#83918a;color:#b2b9ad}.practice-path.moving .armed{animation:practice-flash 2.4s ease-out}@keyframes practice-flash{50%,65%{box-shadow:0 0 24px #ff9c5c;background:#9c4838}to{background:#394644}}@media(max-height:530px){#app[data-phase=STATE_CLASH_INPUT] footer{grid-template-columns:110px minmax(0,1fr) 105px}.treasures .item{min-width:0}.treasures .item span{overflow-wrap:anywhere}}body{-webkit-user-select:none;user-select:none}#adStatus{position:fixed;top:0;right:0;bottom:0;left:0;z-index:25;display:grid;place-content:center;background:#081719d9;color:var(--gold);font:16px system-ui}#adStatus[hidden]{display:none}#tacticsModal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:13;display:flex;align-items:center;justify-content:center;padding:16px;background:#031014e8}#tacticsModal[hidden]{display:none}.tactics-panel{width:min(650px,100%);max-height:94dvh;text-align:left;font:13px/1.5 system-ui}.tactics-panel>.sub{display:block}.tactics-panel h2{padding-right:55px}.forecast-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.forecast-card{border:1px solid #6e8167;border-radius:12px;padding:10px;background:#203b3444;min-width:0}.forecast-card strong{font-size:12px}.forecast-card>span{float:right;color:var(--gold)}.forecast-card b{display:block;color:#f3dfaa;font:600 16px/1.8 monospace;overflow-wrap:anywhere}.forecast-card small{display:block;color:#b5c7b8;font-size:11px}.tactics-panel h3{font-size:13px;color:var(--gold);margin:14px 0 6px}.round-reports{list-style:none;margin:0;padding:0}.round-reports li{border-top:1px solid #647b6355;padding:8px 0;display:flex;gap:6px;flex-wrap:wrap}.round-reports strong{font-size:11px;color:#d9dfcb}.round-reports span{font:12px monospace;color:var(--gold)}.round-reports small{width:100%;font-size:11px;color:#afc3b5}@media(max-height:530px){.tactics-panel{padding:12px 16px}.forecast-card{padding:6px 9px}.forecast-card b{font-size:14px}.tactics-panel>.sub{font-size:11px}.tactics-panel h2{font-size:19px}}@media(max-width:420px){.forecast-grid{gap:5px}.forecast-card{padding:7px}.forecast-card strong{font-size:10px}.forecast-card b{font-size:13px}.forecast-card small{font-size:10px}}#leaveModal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:22;display:flex;align-items:center;justify-content:center;padding:16px;background:#031014ed}#leaveModal[hidden]{display:none}.leave-panel{width:min(440px,100%)}.leave-panel>.sub,.leave-panel>.eyebrow{display:block}.leave-panel .options{flex-wrap:wrap}.leave-panel button{min-height:42px}#leaveMatch{color:#f6b5a4;border-color:#98675b}#commandHUD{position:absolute;z-index:3;left:12px;top:44px;width:230px;padding:12px;border:1px solid #9e9867;border-radius:14px;background:#112c2af5;box-shadow:0 6px 20px #0005;font:12px/1.5 system-ui}#commandHUD[hidden]{display:none}#commandHUD .turn{display:flex;flex-wrap:wrap;gap:7px}#commandHUD .turn>small,#commandHUD .turn>p{width:100%;margin:0}#commandHUD .turn>p{font-size:13px;font-weight:600;color:var(--gold)}#commandHUD .banter-open{font-size:12px;padding:6px 12px;min-height:32px}#commandHUD .own-trap-list{margin:10px 0 0;padding-top:7px;border-top:1px solid #bba56655;font:11px/1.5 system-ui;color:#ffe0a0}.practice-legend{font:11px/1.4 system-ui;color:#86dfdf}.practice-help{padding:9px;border:1px solid #a69865;border-radius:8px;color:#e5d2a4;font:12px/1.5 system-ui;background:#283c2a}.reveal>.sub{display:block}.reveal #continueReveal{margin-top:8px;min-height:40px}#app[data-mode=pve][data-phase=STATE_CLASH_INPUT] footer{grid-template-columns:minmax(0,1fr) 150px}#app[data-mode=pve][data-phase=STATE_CLASH_INPUT] footer .treasures{grid-column:1;grid-row:1}#app[data-mode=pve][data-phase=STATE_CLASH_INPUT] footer .prediction{grid-column:1;grid-row:2}#app[data-mode=pve][data-phase=STATE_CLASH_INPUT] footer .confirm{grid-column:2;grid-row:1/3}@media(max-width:700px){#commandHUD{top:42px;left:8px;width:225px;padding:8px}#commandHUD .turn{gap:5px}#commandHUD .turn>small{font-size:9px}#commandHUD .turn>p{font-size:11px}#commandHUD .banter-open{font-size:11px;padding:4px 10px;min-height:29px}#commandHUD .own-trap-list{font-size:10px;margin-top:6px;padding-top:4px}#app[data-mode=pve][data-phase=STATE_CLASH_INPUT] footer{min-height:123px;grid-template-columns:1fr 1fr}#app[data-mode=pve][data-phase=STATE_CLASH_INPUT] footer .treasures{grid-column:1/-1;grid-row:1}#app[data-mode=pve][data-phase=STATE_CLASH_INPUT] footer .prediction{grid-column:1;grid-row:2}#app[data-mode=pve][data-phase=STATE_CLASH_INPUT] footer .confirm{grid-column:2;grid-row:2}}@media(max-height:530px){#commandHUD{top:32px;width:215px;padding:7px}#commandHUD .turn{gap:4px}#commandHUD .turn>small{font-size:9px}#commandHUD .turn>p{font-size:10px}#commandHUD .banter-open{font-size:10px;min-height:25px;padding:3px 8px}#commandHUD .own-trap-list{font-size:9px;margin-top:4px;padding-top:3px}#app[data-mode=pve][data-phase=STATE_CLASH_INPUT] footer{min-height:86px;grid-template-columns:minmax(0,1fr) 110px}#app[data-mode=pve][data-phase=STATE_CLASH_INPUT] footer .treasures{grid-column:1;grid-row:1}#app[data-mode=pve][data-phase=STATE_CLASH_INPUT] footer .prediction{grid-column:1;grid-row:2}#app[data-mode=pve][data-phase=STATE_CLASH_INPUT] footer .confirm{grid-column:2;grid-row:1/3}.practice-help{font-size:10px;padding:6px;margin:5px 0}.practice-legend{font-size:10px;margin:5px 0}.reveal .sub{font-size:11px}.tutorial{overflow:auto}}#app[data-mode=pvp][data-phase=STATE_CLASH_INPUT] footer:empty{display:none}#commandHUD #private{min-height:34px;font-size:12px;padding:6px 10px}footer:empty{display:none}@media(max-width:700px)and (min-height:531px){#commandHUD{width:195px}#dialogueLog:not([open]){width:124px;max-width:35%}#dialogueLog:not([open]) summary span{display:none}#app[data-phase=STATE_CLASH_INPUT] #dialogueLog[open]{top:180px}}:root{--ink:#15253d;--panel:#203752;--gold:#ffca76;--muted:#afc2d5;--jade:#70e0d5;--red:#ff956e;--blue:#6ce5dc;--edge:#5b7994;--surface:linear-gradient(145deg,#2c4664,#1b304b);--cream:#fff0cf;--navy:#21344d}body{font-family:Trebuchet MS,Arial,Microsoft YaHei,sans-serif;color:#f7edd9;background:radial-gradient(ellipse at 45% 0,#35516d,#15253d 75%)}header{border-color:#6e8ba344}.brand{font-family:Trebuchet MS,sans-serif;font-weight:900;letter-spacing:1px;color:#ffe0a2;text-shadow:0 3px 0 #111e34}.brand small{letter-spacing:5px;color:#b8cede}h1,h2{font-family:Trebuchet MS,Arial,sans-serif;font-weight:900;letter-spacing:.5px;color:#273b54;text-shadow:none}h1{font-size:clamp(30px,4vw,52px)}button{background:linear-gradient(#385471,#243d59);border:1px solid #7891a6;border-bottom:3px solid #14253e;color:#f8eed7;border-radius:13px;box-shadow:inset 0 1px #ffffff25,0 3px #0c1a2d66;font-weight:700}button:hover{background:linear-gradient(#466583,#304c6a);border-color:#b7d5dd;box-shadow:inset 0 1px #ffffff35,0 3px #0c1a2d66}button:active{transform:translateY(2px);box-shadow:none}button:focus-visible{outline:3px solid #75eee1;outline-offset:3px}.primary{background:linear-gradient(#ffbb69,#f68b4e);color:#302d3a;border-color:#ffd69a;border-bottom:4px solid #b95e34;box-shadow:inset 0 2px #fff4b966,0 4px #14243b66}.primary:hover{background:linear-gradient(#ffd287,#ffa45f);color:#302d3a}.selected{background:linear-gradient(#557b85,#365b6b)!important;border-color:#9cf5e5!important;box-shadow:inset 0 0 0 2px #8bede166,0 4px #0b213666!important}nav button{background:#213a55;border-color:#638399;color:#f6edd9;box-shadow:none}nav button[aria-pressed=true]{color:#ffe2a5;border-color:#aa9473}nav button[aria-pressed=false]{color:#9bb1c8}main{border:1px solid #7898ae66;box-shadow:0 8px #0a192d55,0 14px 32px #06122166;background:#233d59;border-radius:23px}canvas,.hero img{image-rendering:auto}.vignette{box-shadow:inset 0 0 70px #08172b33}#chapter{color:#c3d8e3;font-weight:700;letter-spacing:1px}#notice{color:#ffe4ad;font-weight:700;text-shadow:0 2px 2px #10233c}.board-legend{color:#d4deea}.board-legend .danger{color:#ffbd9a}.panel{background:linear-gradient(145deg,#fff5df,#f0dfbb);color:#293b50;border:2px solid #fff8e6;border-bottom:6px solid #bd9f78;border-radius:25px;box-shadow:0 16px #0b1d3355,0 24px 65px #08162b88,inset 0 0 0 3px #dbbc8744}.panel .eyebrow{color:#3d787f;font-weight:900;letter-spacing:2px}.panel .sub,.panel p{color:#596576}.panel .gold,.setup-tip{color:#946b37}.panel .red{color:#bc4f35}.panel .blue{color:#187c84}.panel select{background:#fff6e4;color:#293e56;border:2px solid #cbb795;border-radius:11px;font-weight:700}.panel button:not(.primary){background:linear-gradient(#fff9e9,#e9d7b7);color:#34475c;border-color:#c8b38d;border-bottom-color:#a38a64}.panel button:not(.primary):hover{background:#fffaf0}.panel button.selected{background:linear-gradient(#d2f0e6,#9ed8d0)!important;color:#234658;border-color:#479c9f!important;box-shadow:inset 0 0 0 2px #fff8,0 3px #487d85!important}.panel .setup-tip{background:#d8c3a63d;padding:10px;font-weight:700}.panel .sub strong{color:#364b60}.panel .banter-epilogue{border-top:1px solid #bda57d;padding-top:12px;color:#796044}.mode{border-radius:18px}.mode strong{font-weight:900}.hero{background:#fff5df!important;border-radius:14px}.hero img{height:90px;width:70px;filter:drop-shadow(0 4px 3px #63544133)}.hero span{color:#34475c;font-weight:700}.hero-row>strong{letter-spacing:.5px}.hero-options{gap:10px}.hero.selected img{transform:translateY(-3px);filter:drop-shadow(0 6px 3px #34595e44)}.item{background:linear-gradient(145deg,#fff3d9,#ead7b2);border:2px solid #fff3d8;border-bottom:5px solid #a98b65;color:#263c55;border-radius:17px;box-shadow:0 4px #0d1b2b44;padding:10px;gap:10px}.item:hover{background:#fff7e6;border-color:#ffca76}.item b{border:none;background:transparent;box-shadow:none;padding:0;flex-shrink:0;line-height:0}.item small{color:#596775;font-weight:600}.item.selected{background:linear-gradient(#d5f6eb,#abd9d0)!important;border-color:#7dd8c8!important;box-shadow:inset 0 0 0 2px #fff8,0 4px #276f78!important}.item.selected:after{color:#226c78;font-size:16px}.relic-art{display:block;object-fit:contain;width:52px;height:62px;filter:drop-shadow(0 3px 2px #84613c33)}.duel .relic-art{width:100px;height:110px;margin:auto}.duel b{background:linear-gradient(#fff9e9,#e2cba2);border:3px solid currentColor;box-shadow:0 7px #977c5344;border-radius:21px;padding:12px}.duel>strong{color:#b1763f;font-size:20px;font-style:italic}.duel>div{font-weight:900}.rule-cycle>div{background:#eadcbe;border:1px solid #c9b38b;color:#3c5063}.rule-cycle .relic-art{width:52px;height:65px;margin:auto}.rule-cycle small{color:#596a79}.rule-cycle>span{color:#996532}.legend>span{background:#eadbbd;border-color:#c0aa82;color:#465a6b}.legend .danger{background:#ffe0bf;color:#9d3b28;border-color:#d37853}.strategy-tip{background:#2a425c;border:1px solid #67829455;border-left:4px solid #ffac69;color:#c8d5df;box-shadow:none}.strategy-tip strong{color:#ffcf88;font-weight:900}.prediction{color:#ffe4b8}.confirm{font-weight:900}.turn{border-left-color:#ffa875}.turn p{letter-spacing:0}.turn small{color:#ffd28a}#commandHUD{background:linear-gradient(145deg,#2e4866f5,#1b304bf5)!important;border:1px solid #7494ab!important;border-left:4px solid #ffad73!important;box-shadow:0 6px #0b1c3044!important;border-radius:17px!important}#commandHUD .turn{border:none}#commandHUD .own-trap-list{color:#ffe4a9}.banter-open{background:#345570;color:#ffe1a2;border-color:#688fa6}.banter-open:before{color:#7ae2d4}.public-claim{background:#e4d5b7;color:#765c39}.talk-options .claim-option{background:#dfc99f;color:#704c25;border-color:#bba16d}#dialogueLog{background:linear-gradient(145deg,#2d4662f5,#1a3049f5)!important;border:1px solid #698da5!important;box-shadow:0 6px #0b1c3044!important;border-radius:17px}#dialogueLog summary{color:#ffdb9d}#dialogueEntries li{border-color:#6b82964d}#dialogueEntries p{color:#fff0d3}#dialogueEntries .sub{color:#b3cbd9}.speech{background:#fff3d8;color:#d57148;border:2px solid currentColor;border-radius:18px;box-shadow:0 5px #14233855;font-weight:700;min-height:80px;padding-left:62px;max-width:250px}.speech.blue{color:#3c9ba2}.speech span{color:#33445a}.speech small{color:#73644b;font-weight:900}.comic-portrait{position:absolute;left:5px;bottom:0;width:57px;height:80px;object-fit:cover;object-position:50% 5%;filter:drop-shadow(0 2px 0 #b9a27c55)}.speech:after{height:15px;width:12px}.speech[data-side=left]:after{right:-12px}.speech[data-side=right]:after{left:-12px}.talk-panel strong{color:#8d5f30}.talk-options button{line-height:1.5}.gate{background:repeating-linear-gradient(90deg,#30465d 0,#30465d 55px,#263c52 56px,#263c52 60px);border:8px solid #c2a16c;box-shadow:inset 0 0 0 3px #ffdc97,inset 0 0 80px #0e2138;color:#fff0cf}.gate h2,.gate .sub{color:#ffebc2}.gate:before{color:#e1bd76}.gate .eyebrow{color:#9ae7db}.tile.frequent{color:#9e632e}.tile.selected{color:#23566a}.rules .rules-close{color:#34485c}.panel .tactic-route,.panel .tactic-block,.panel .tactic-summary,.panel .route-card{background:#e9dbbc;color:#3a4d60;border-color:#c2a97f}@media(max-width:700px){.relic-art{width:34px;height:44px}.item{padding:7px 5px;gap:5px;border-radius:13px;border-bottom-width:4px}.item span{font-size:12px}.item small{font-size:9px}.hero img{height:64px;width:49px}.duel .relic-art{width:70px;height:80px}.duel b{padding:8px}.speech{font-size:11px;padding:8px 9px 8px 49px;min-height:65px;max-width:200px}.comic-portrait{width:43px;height:64px}.speech small{font-size:8px}.brand{font-size:16px}.rule-cycle .relic-art{width:40px;height:48px}.panel h1{letter-spacing:.5px}}@media(max-height:530px){.hero img{height:45px;width:35px}.relic-art{width:31px;height:37px}.duel .relic-art{width:49px;height:55px}.duel b{padding:4px}.speech{min-height:58px;padding-left:42px;font-size:10px}.comic-portrait{width:36px;height:56px}.rule-cycle .relic-art{width:30px;height:36px}.panel{border-bottom-width:4px}.item{padding:5px 8px}.hero-options{gap:3px}}@media(prefers-reduced-motion:reduce){.hero.selected img{transform:none}}.panel .difficulty-options small{color:#647184}.panel #difficulty-hell{color:#ae472f;border-color:#ca9673}.panel .game-subtitle{color:#9a6933}.panel .session-note{color:#627184}.panel .forecast-card{background:#e9ddc1;border-color:#bea983}.panel .forecast-card>span,.panel .forecast-card b,.panel .tactics-panel h3,.tactics-panel h3,.panel .round-reports span{color:#886131}.panel .forecast-card small,.panel .round-reports small{color:#607080}.panel .round-reports strong{color:#34485e}.panel .practice-help{background:#e4d4b1;color:#5c5360;border-color:#b39c72}.panel .practice-legend{color:#247e88}.panel #leaveMatch{color:#a34432}.panel .relic-art{max-width:none;flex-shrink:0}#languageButton{background:#28435f;color:#f7e9cc;border-color:#7692a6}.duel-face{width:86px;height:75px;object-fit:cover;object-position:50% 10%;margin:0 auto -16px;z-index:1;filter:drop-shadow(0 2px 0 #92795655)}.duel>div{align-items:center}.duel{gap:32px}.reveal{min-width:min(480px,94%)}.duel>div:first-child{animation:card-left .35s cubic-bezier(.2,.8,.2,1)}.duel>div:last-child{animation:card-right .35s cubic-bezier(.2,.8,.2,1)}@keyframes card-left{0%{transform:translate(-55px) rotate(-9deg);opacity:0}to{transform:none;opacity:1}}@keyframes card-right{0%{transform:translate(55px) rotate(9deg);opacity:0}to{transform:none;opacity:1}}@media(max-height:530px){.duel-face{width:48px;height:42px;margin-bottom:-10px}.duel{gap:18px}.reveal{min-width:min(400px,94%)}}@media(max-width:700px){.duel-face{width:70px;height:60px}.duel{gap:20px}}.panel.rules strong{color:#815830}.practice-actions .relic-art{margin:auto}.language-picker>summary{background:#29445f;color:#ffebc2;border-color:#6b8aa2}.language-options{background:#233e58;border-color:#7695ab}.language-options button{background:#314e6a;color:#fff0d3}.speech .comic-portrait{object-fit:contain}.panel .quick-start small{color:#61422d}#ownTrapAlert{background:linear-gradient(#fff0cc,#f2c68e);border:2px solid #fff4d7;box-shadow:0 5px #14263e66;color:#a5442c}#ownTrapAlert span{color:#6c4e32}#ownTrapAlert strong{color:#ac4a30}#app[data-phase=STATE_ACTION_ANIM] footer{min-height:48px;display:flex;justify-content:center;padding:8px 0;gap:12px}#app[data-phase=STATE_GAME_OVER] footer{display:none}#app[data-mode=pve][data-phase=STATE_CLASH_INPUT] footer{grid-template-columns:minmax(0,1fr)}#app[data-mode=pve][data-phase=STATE_CLASH_INPUT] footer .treasures,#app[data-mode=pve][data-phase=STATE_CLASH_INPUT] footer .prediction{grid-column:1/-1}.item .landing-preview{font-size:12px;font-weight:800;color:#2c6573;background:#fff9e580;border-radius:7px;padding:4px 6px;margin-top:6px}.item .landing-risk{color:#a83c27;font-weight:800}.item{min-height:94px}.prediction{padding:3px 0}.item:active{transform:translateY(3px) scale(.98)}@media(max-width:700px){.item .landing-preview{font-size:10px;padding:4px 2px}.item{min-height:102px}.item .landing-risk{font-size:9px}}@media(max-height:530px){.item{min-height:70px}.item .landing-preview{font-size:10px;margin-top:3px;padding:2px 4px}}.own-trap-list:before{content:"✦ ";color:#ffab71;font-size:15px}#app[data-board-locked=true]{--match-footer-height:180px}#app[data-board-locked=true] footer{display:grid!important;flex:0 0 var(--match-footer-height);height:var(--match-footer-height);min-height:var(--match-footer-height)!important;max-height:var(--match-footer-height);overflow:auto}#app[data-board-locked=true][data-phase=STATE_ACTION_ANIM] footer,#app[data-board-locked=true][data-phase=STATE_GAME_OVER] footer{display:flex!important;align-items:center;justify-content:center}.item:focus-visible{outline:3px solid #91f5e1;outline-offset:3px}@media(max-width:700px){#app[data-board-locked=true]{--match-footer-height:190px}}@media(max-height:530px){#app[data-board-locked=true]{--match-footer-height:112px}}#app[data-board-locked=true][data-phase=STATE_CLASH_INPUT] footer{grid-template-columns:minmax(0,1fr)}#app[data-board-locked=true][data-phase=STATE_CLASH_INPUT] footer .treasures,#app[data-board-locked=true][data-phase=STATE_CLASH_INPUT] footer .prediction{grid-column:1/-1}.private-claim{font:11px/1.5 system-ui;margin-top:6px}.private-claim summary{cursor:pointer;color:#c9e7e3}.private-claim .public-claim{color:#f2dfb7;background:#142d47;padding:6px}#app[data-board-locked=true] .strategy-tip{flex:0 0 32px;height:32px;min-height:32px;max-height:32px;overflow:auto}@media(max-width:700px){#app[data-board-locked=true] .strategy-tip{flex-basis:44px;height:44px;min-height:44px;max-height:44px}}@media(max-height:530px){#app[data-board-locked=true] .strategy-tip{flex-basis:22px;height:22px;min-height:22px;max-height:22px}}.service-dialog{position:fixed;top:0;right:0;bottom:0;left:0;z-index:24;background:#142338ed;display:grid;place-items:center;padding:12px}.service-dialog .panel{width:min(530px,96%);max-height:92dvh;overflow:auto}.service-dialog ol{text-align:left;line-height:2}.service-dialog select,.online-panel select,.online-panel input{font:16px system-ui;max-width:100%;padding:10px;border:1px solid #7e999b;border-radius:10px;margin:5px;color:#24394c;background:#fff6e2;-webkit-user-select:text;user-select:text}.online-panel{width:min(620px,96%);font:14px/1.5 system-ui}.online-panel button{margin:4px;min-height:42px}.online-panel input{display:block;width:100%}.service-error{color:#a53122}.close-service{float:right}#app[data-mode=online] footer{grid-template-columns:1fr;align-content:center}#app[data-mode=online] footer>p{margin:0;font:12px system-ui}#app[data-mode=online] .strategy-tip{visibility:hidden}@media(max-width:700px)and (min-height:531px){#app[data-board-locked=true]{--match-footer-height:144px}#app[data-board-locked=true] .strategy-tip{flex-basis:0;height:0;min-height:0;max-height:0;visibility:hidden;margin:0;padding:0;border:0}#commandHUD{top:30px;width:calc(100% - 16px);padding:7px 9px;box-shadow:none}#commandHUD .turn{align-items:center;gap:4px 8px}#commandHUD .turn>small{width:auto;font-size:9px}#commandHUD .turn>p{width:auto;font-size:11px;flex:1}#commandHUD .banter-open{min-height:30px;padding:3px 9px}#commandHUD .own-trap-list{margin:4px 0 0;padding-top:3px}#dialogueLog:not([open]){top:120px;right:8px;width:128px;max-width:45%;padding:6px;font-size:10px}#app[data-phase=STATE_CLASH_INPUT] #dialogueLog[open]{top:120px;max-height:200px}#notice{top:10px;max-width:70%;font-size:10px}.treasures .item{min-height:92px;display:flex;flex-direction:column;gap:3px;padding:5px 3px;text-align:center}.treasures .item .relic-art{width:28px;height:30px}.treasures .item span{font-size:11px}.treasures .item .landing-preview{font-size:10px;margin-top:3px;padding:2px}.prediction{font-size:10px;margin:0}.board-legend{font-size:8px}#app[data-mode=online] .online-panel{max-height:95%;padding:12px}.online-panel h2{font-size:20px;margin:4px}.online-panel .grid{margin:4px 0;gap:3px}.online-panel .tile{min-height:28px;padding:4px 0;margin:0;font-size:12px}}@media(max-width:700px)and (min-height:531px){#chapter{display:none}#notice{left:12px;right:12px;max-width:calc(100% - 24px);text-align:left;top:8px}#commandHUD .turn>p{white-space:nowrap;font-size:10px}}@media(max-width:700px)and (min-height:531px){#overlay:has(.setup){position:fixed;top:72px;right:8px;bottom:8px;left:8px;z-index:6;padding:0}.setup{width:100%;max-height:100%;padding:12px}.setup h2{font-size:18px;margin:6px 0}.setup .eyebrow{font-size:9px}.setup .setup-tip{padding:6px;margin:6px 0;font-size:11px}.setup .sub{font-size:11px;margin:6px 0}.setup .grid{gap:4px;margin:8px 0}.setup .tile{min-height:31px;padding:5px 0;font-size:12px}.setup #seal{min-height:40px;margin-top:5px}}@media(max-width:380px)and (min-height:531px){.speech{max-width:145px;min-height:0;padding:6px;font-size:10px;line-height:1.3}.speech .comic-portrait{display:none}.speech small{font-size:8px}.treasures .item span{font-size:10px}.treasures .item small{font-size:8px}.treasures .item .landing-preview{font-size:9px}.treasures .item .relic-art{width:25px;height:28px}.treasures .item{gap:1px;padding:4px 2px}.board-legend{font-size:7px}#commandHUD .own-trap-list{font-size:9px}}.menu-home{width:min(480px,96%);padding:28px;max-height:calc(100% - 16px);font-family:system-ui,sans-serif}.menu-home>.eyebrow{font-size:10px;letter-spacing:.18em;margin:0 0 12px}.menu-home .game-title{font-size:46px;line-height:1.12;margin:0;letter-spacing:.02em}.menu-home .game-subtitle{margin-top:9px;font-size:12px}.menu-home>.sub{margin:18px 0 22px;font-size:13px;line-height:1.7}.menu-home .quick-start{margin:0 0 18px;min-height:68px;width:100%;padding:12px;border-radius:15px;font-size:21px}.menu-home .quick-start small{font-size:11px;font-weight:500;margin-top:4px}.menu-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.menu-modes>button{width:100%;min-width:0;margin:0;min-height:66px;padding:12px 8px;border-radius:14px;font-size:15px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;line-height:1.25}.menu-modes>button strong{font-size:16px}.menu-modes>button small{font-size:10px;margin:0;font-weight:500}.menu-modes #pve[aria-expanded=true]{background:#d3ece6;border-color:#64b6b7;color:#23556c}.menu-tools{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px;padding-top:16px;border-top:1px solid #b8a17c55}.menu-home .menu-tools button{margin:0;padding:8px;min-height:40px;width:100%;font-size:12px;background:transparent;border:1px solid #b8a17c66;box-shadow:none;border-radius:10px;color:#596b7c}.menu-home .session-note{font-size:10px;margin:14px 0 0;line-height:1.5}.solo-settings{margin-top:16px;padding:14px 0 0;border-top:1px solid #b8a17c55}.solo-settings[hidden]{display:none}.menu-home .difficulty-options{margin:0;gap:8px}.menu-home .difficulty-options button{min-width:0;min-height:56px;padding:8px 4px;border-radius:10px;font-size:12px}.menu-home .difficulty-options small{font-size:9px;line-height:1.4}.menu-home #difficultyHint{margin:12px 0;font-size:11px;line-height:1.6;min-height:18px}.menu-home #soloPlay{width:100%;min-height:44px;font-size:14px;padding:9px}@media(max-width:420px){.menu-home{padding:22px 18px}.menu-home .game-title{font-size:36px}.menu-home>.sub{margin:14px 0 18px;font-size:12px}.menu-home .quick-start{min-height:62px;margin-bottom:14px}.menu-modes{gap:10px}.menu-modes>button{min-height:60px;font-size:13px}.menu-modes>button strong{font-size:14px}.menu-tools{margin-top:16px;padding-top:12px;gap:10px}.menu-home .session-note{margin-top:12px}}@media(max-height:600px){.menu-home{padding:16px 22px}.menu-home>.eyebrow{margin-bottom:6px}.menu-home .game-title{font-size:30px!important}.menu-home .game-subtitle{margin-top:5px}.menu-home>.sub{margin:10px 0 12px;font-size:11px}.menu-home .quick-start{min-height:52px;padding:8px;margin-bottom:12px;font-size:18px}.menu-modes{gap:8px}.menu-modes>button{min-height:50px;padding:8px;font-size:13px}.menu-modes>button strong{font-size:14px}.menu-tools{margin-top:12px;padding-top:10px}.menu-home .menu-tools button{min-height:36px}.menu-home .session-note{margin-top:8px}}.menu-home #customize,.menu-home #learnAgain{margin:0;width:100%}.menu-home.solo-open>:not(.solo-settings){display:none!important}.menu-home.solo-open .solo-settings{margin:0;padding:0;border:0}.solo-settings h2{margin:0 0 16px;font-size:24px}.menu-home #soloBack{display:block;margin:0 0 20px;padding:7px 16px;min-height:36px;box-shadow:none;background:transparent;font-size:12px}.menu-home.solo-open .difficulty-options{margin-bottom:16px}.menu-home.solo-open .difficulty-options button{min-height:70px}
