/* Bridge Atlas V0.722: one-game visual and interaction shell only */
.hashi-page{--ocean:#103c3d;--deep:#092c30;--mint:#c8eedc;--sand:#f1c879;--ink:#153a38;background:#f3f5f1;color:var(--ink)}
.hashi-page .preview-note{background:#fff3dc;color:#654914;font-size:.72rem;padding:.22rem .4rem;text-align:center}
.hashi-page .gamepage{max-width:1140px;padding-top:1rem}
.hashi-page .ha-compact-head{margin:0 0 .35rem}
.hashi-page .ha-compact-head .eyebrow{background:#e0f1e6;color:#246b53;border:1px solid #cce6d8;letter-spacing:.16em;font-weight:850}
.hashi-page .ha-compact-head h1{letter-spacing:-.04em;margin:.22rem 0 .1rem;color:#103d3a;font-size:clamp(1.8rem,3vw,2.6rem)}
.hashi-page .ha-compact-head h1 small{font-size:.46em;color:#3c7b6b;font-weight:800}
.hashi-page .ha-compact-head p{color:#53736d;margin:0;font-size:.88rem}
.hashi-page .ha-mode-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:min(480px,100%);gap:.3rem;margin:.36rem 0 .33rem}
.hashi-page .ha-mode-tabs a{text-align:center;border-radius:9px;padding:.47rem .4rem;border-color:#cfded6;color:#29564d;font-size:.86rem}
.hashi-page .ha-mode-tabs a.active{background:#103e37;border-color:#103e37;color:#fff;box-shadow:0 3px 10px #123f3620}
.hashi-page .ha-daynav{margin:.15rem 0 .3rem;gap:.4rem}.hashi-page .ha-daynav button{min-height:30px;min-width:36px;border-radius:9px}
.hashi-page .ha-daynav strong{font-size:.8rem}
.hashi-page .ha-config{margin:0 0 .4rem;gap:.27rem}.hashi-page .ha-config-row{gap:.35rem}
.hashi-page .ha-config-row small{color:#5b7b72}.hashi-page .ha-config-row a{padding:.35rem .62rem;border-radius:10px;border-color:#cedfd5;background:#fff;font-size:.83rem}
.hashi-page .ha-config-row a.active{background:#e1f1e5;border-color:#8dc5a4;color:#1e6046}
.hashi-page .ha-gamecard{padding:.55rem;background:var(--deep);border:1px solid #255751;border-radius:18px;box-shadow:0 16px 35px #1e4e4330;color:#f2faf5;overflow:visible}
.hashi-page .ha-statusbar{display:flex;gap:.5rem;align-items:center;justify-content:space-between;margin:0 0 .45rem;padding:.12rem .26rem}
.hashi-page .ha-statusbar strong{font-size:.95rem;color:#fff}
.hashi-page .ha-statusbar small{color:#b5d5ca;font-size:.73rem}
.hashi-page .ha-badges{gap:.25rem;justify-content:flex-end;flex-wrap:wrap}
.hashi-page .ha-pill,.hashi-page .ha-time-pill{color:#e4f5ee;border-color:#436a5c;background:#1c4d47;font-size:.71rem;min-height:26px;padding:.16rem .38rem}
.hashi-page .ha-time-pill small{color:#c5e6db}
.hashi-page .ha722-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.7fr);gap:.6rem;align-items:stretch}
.hashi-page .ha722-stage{border-radius:13px;padding:.32rem;background:#164a45;border:1px solid #3e6e63;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:center}
.hashi-page .ha722-stage-top{font-size:.64rem;font-weight:850;letter-spacing:.13em;color:#b7dbc5;text-align:center;margin:0 0 .28rem}
.hashi-page .ha-board-shell{margin:0 auto!important;border:1px solid #315e55!important;border-radius:12px;background:#123e3b;max-width:100%;width:min(100%,620px);min-height:0;box-shadow:none;overscroll-behavior:contain}
.hashi-page .ha-board{background:radial-gradient(circle at 43% 27%,#21584b,#123d3b 72%);background-image:linear-gradient(#ffffff07 1px,transparent 1px),linear-gradient(90deg,#ffffff07 1px,transparent 1px),radial-gradient(circle at 43% 27%,#235d4f,#103a3a 72%);background-size:24px 24px,24px 24px,auto;border-radius:10px}
.hashi-page .ha-island{background:#f8f6e9;border-color:#e9d5a6;color:#153e3a;box-shadow:0 2px 0 #95784c,0 5px 14px #051f1e90;transition:transform .13s,background .13s}
.hashi-page .ha-island.satisfied{background:#c6eecf;color:#174f3d;border-color:#7bc6a4}
.hashi-page .ha-island.selected{outline:4px solid #e9c26b88;border-color:#f0c776;background:#fff6db}
.hashi-page .ha-island.conflict{background:#ffe6e4;border-color:#dc6b5f;color:#93291d}
.hashi-page .ha-island:focus-visible,.hashi-page .ha-edge:focus-visible{outline:3px solid #ffc979!important;outline-offset:2px}
.hashi-page .ha-edge.v1::before,.hashi-page .ha-edge.v2::before,.hashi-page .ha-edge.v2::after{background:#94e5cd}
.hashi-page .ha-edge.available.v0:not(.excluded)::before{background:#c8efd445}
.hashi-page .ha-edge.h.v0:not(.excluded):hover::before,.hashi-page .ha-edge.v.v0:not(.excluded):hover::before{background:#fad28d}
.hashi-page .ha-edge.hinted::before,.hashi-page .ha-edge.hinted::after{background:#fbd47a!important}
.hashi-page .ha722-sidebar{display:flex;flex-direction:column;gap:.5rem;min-width:0}
.hashi-page .ha722-steps{border:1px solid #54766b;border-radius:10px;color:#d5eee4;background:#24534e;font-size:.7rem;padding:.65rem;font-weight:750;line-height:1.5}
.hashi-page .ha-primary-actions{margin:0!important;padding:0!important;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.4rem;background:transparent;border:0;box-shadow:none;max-width:none;align-items:stretch}
.hashi-page .ha-primary-actions>button,.hashi-page .ha-more>summary{min-width:0;min-height:46px;padding:.45rem .28rem;border-radius:10px;border:1px solid #567d6f;background:#eff6ef;color:#16423b;font-size:.85rem;font-weight:850;display:grid;place-items:center}
.hashi-page .ha-primary-actions #haHint,.hashi-page .ha-primary-actions #haCheck{background:#f4d894;border-color:#e3bc68;color:#493514}
.hashi-page .ha-primary-actions button:disabled{opacity:.45;cursor:not-allowed}
.hashi-page .ha-primary-actions button:focus-visible,.hashi-page .ha-more>summary:focus-visible{outline:3px solid #ffd17c;outline-offset:2px}
.hashi-page .ha-more>summary{height:100%}.hashi-page .ha-more-menu{background:#fdfcf5;color:#234a41;border-color:#cbdad0}
.hashi-page .ha-message{margin:0;max-width:none;display:flex;flex-wrap:wrap;background:#e8f7ed;color:#12493b;border-color:#89b5a2;padding:.55rem .65rem}
.hashi-page .ha-message p{color:#385a50;font-size:.8rem}
.hashi-page .ha-message.warn{background:#fff2d4;color:#654a18}.hashi-page .ha-message.bad{background:#ffe4dd;color:#743329}
.hashi-page .ha-logic{margin:0;padding:0;background:transparent;border:0;max-width:none}
.hashi-page .ha-logic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem}
.hashi-page .ha-logic-grid>div{background:#1c514b;border:1px solid #386a5c;padding:.54rem;border-radius:9px}
.hashi-page .ha-logic-grid small{color:#b8d9cd;font-size:.7rem}.hashi-page .ha-logic-grid strong{color:#fff;font-size:1rem}
.hashi-page .ha-status{margin:0;text-align:left;color:#c8e4d8;line-height:1.4;font-size:.81rem;padding:.46rem .5rem;background:#1b4945;border:1px solid #37655a;border-radius:9px;min-height:0}
.hashi-page .ha-below{border-color:#d3e1d5;background:#fffef7}
.hashi-page .ha-below>summary{padding:.8rem .95rem;color:#214e43}
.hashi-page .ha-pause-overlay{border-radius:16px}
@media(max-width:760px){
 .hashi-page .gamepage{padding:0 .58rem}
 .hashi-page .ha-compact-head{margin:.5rem 0 .1rem}
 .hashi-page .ha-compact-head h1{font-size:1.8rem!important;line-height:1.05;margin:.16rem 0!important}
 .hashi-page .ha-compact-head p{display:none}
 .hashi-page .ha-compact-head .eyebrow{font-size:.57rem;padding:.26rem .44rem}
 .hashi-page .ha-mode-tabs{margin:.24rem 0 .26rem}
 .hashi-page .ha-mode-tabs a{padding:.37rem .2rem;font-size:.79rem}
 .hashi-page .ha-daynav{margin:0 0 .3rem}
 .hashi-page .ha-config{margin:0 0 .3rem}
 .hashi-page .ha-config-row{flex-wrap:nowrap;gap:.28rem;padding:0;overflow-x:auto;scrollbar-width:none}
 .hashi-page .ha-config-row small{display:none}
 .hashi-page .ha-config-row a{white-space:nowrap;padding:.3rem .44rem;font-size:.75rem}
 .hashi-page .ha-gamecard{padding:.44rem;border-radius:14px}
 .hashi-page .ha-statusbar{padding:.05rem .15rem;margin:0 0 .27rem;gap:.2rem}
 .hashi-page .ha-statusbar strong{font-size:.8rem}
 .hashi-page .ha-statusbar small{font-size:.65rem;max-width:42vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .hashi-page .ha-time-pill{display:none}
 .hashi-page .ha-pill{font-size:.61rem;padding:.13rem .28rem;min-height:22px}
 .hashi-page .ha722-workspace{display:flex;flex-direction:column;gap:.34rem}
 .hashi-page .ha722-stage{padding:.24rem .18rem}
 .hashi-page .ha722-stage-top{font-size:.56rem;margin-bottom:.16rem}
 .hashi-page .ha-board-shell{width:100%;max-height:none;border-radius:9px}
 .hashi-page .ha722-sidebar{gap:.32rem}
 .hashi-page .ha722-steps{display:none}
 .hashi-page .ha-primary-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:.24rem;padding:0!important;flex-wrap:unset}
 .hashi-page .ha-primary-actions>button,.hashi-page .ha-more>summary{min-height:37px;font-size:.72rem;padding:.24rem 0;border-radius:8px}
 .hashi-page .ha-logic-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.2rem}
 .hashi-page .ha-logic-grid>div{padding:.28rem .18rem}
 .hashi-page .ha-logic-grid small{font-size:.57rem;line-height:1.15}
 .hashi-page .ha-logic-grid strong{font-size:.8rem}
 .hashi-page .ha-status{padding:.35rem .45rem;font-size:.74rem}
 .hashi-page .ha-message{font-size:.8rem;padding:.42rem}
 .hashi-page .ha-below{margin-top:.5rem}
 .hashi-page .ha-compact-head h1 small{font-size:.46em}
 .hashi-page .ha-campaign-nav{margin:.15rem 0 .35rem}
}
@media (min-width:761px) and (max-height:820px){.hashi-page .gamepage{padding-top:.55rem}.hashi-page .ha-compact-head p{display:none}.hashi-page .ha-mode-tabs{margin:.2rem 0}.hashi-page .ha-config{margin-bottom:.25rem}.hashi-page .ha-gamecard{padding:.48rem}.hashi-page .ha722-stage-top{margin-bottom:.12rem}}
@media print{.hashi-page .ha722-workspace{display:block}.hashi-page .ha722-sidebar,.hashi-page .ha722-stage-top{display:none!important}.hashi-page .ha722-stage{background:#fff;border:0}.hashi-page .ha-board-shell{overflow:visible!important}.hashi-page .ha-board{background:#fff!important}}

@media(max-width:760px){.hashi-page .ha-board-shell.fit.dense,.hashi-page .ha-board-shell.dense{overflow:auto!important;max-height:min(44vh,304px)!important;overscroll-behavior:contain;scrollbar-width:thin}.hashi-page .ha-board.dense.fit .ha-island{width:29px;height:29px;font-size:.78rem}.hashi-page .ha-board.dense.fit .ha-edge.h{height:32px}.hashi-page .ha-board.dense.fit .ha-edge.v{width:32px}.hashi-page .ha-board.dense.fit .ha-edge.h::before,.hashi-page .ha-board.dense.fit .ha-edge.h::after{top:14px;left:14px;right:14px}.hashi-page .ha-board.dense.fit .ha-edge.v::before,.hashi-page .ha-board.dense.fit .ha-edge.v::after{left:14px;top:14px;bottom:14px}.hashi-page .ha-board.dense.fit .ha-edge.h.v2::before{top:11px}.hashi-page .ha-board.dense.fit .ha-edge.h.v2::after{top:18px}.hashi-page .ha-board.dense.fit .ha-edge.v.v2::before{left:11px}.hashi-page .ha-board.dense.fit .ha-edge.v.v2::after{left:18px}}
@media(max-width:350px){.hashi-page .ha-board-shell.dense,.hashi-page .ha-board-shell.fit.dense{max-height:260px!important}}
