:root{--db-green:#176451;--db-ink:#142b25;--db-muted:#60746d;--db-line:#dfe8e2}*{box-sizing:border-box}html,body{margin:0;max-width:100%;overflow-x:clip}.db-page{background:#f7faf7;color:var(--db-ink);font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}.db-wrap{max-width:1320px;margin:auto;padding:0 28px}.db-nav{display:flex;justify-content:space-between;align-items:center;padding:24px 0 15px;gap:12px}.db-nav a{color:#164f42;text-decoration:none;font-weight:750;font-size:15px}.db-head{padding:25px 0 21px}.db-overline{font-size:12px;letter-spacing:.145em;color:#427764;font-weight:850}.db-head h1{font-size:clamp(33px,4.4vw,58px);letter-spacing:-.045em;line-height:1.12;margin:7px 0 12px;font-weight:850}.db-head p{max-width:700px;font-size:clamp(15px,1.5vw,19px);line-height:1.6;color:#536c62;margin:0}.db-app{border:1px solid #d8e5dc;background:white;border-radius:24px;overflow:hidden;box-shadow:0 15px 50px #142d1b0d}.db-tabs{background:#eaf3eb;padding:9px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.db-tabs button{background:none;color:#487060;border:0;border-radius:11px;padding:13px 7px;font-size:15px;font-weight:800;cursor:pointer;min-width:0}.db-tabs button.selected{color:#124434;background:white;box-shadow:0 4px 15px #17473413}.db-options{display:flex;flex-wrap:wrap;align-items:end;gap:13px;padding:21px 24px 19px;border-bottom:1px solid #ecf0ed}.db-options label{display:flex;flex-direction:column;gap:7px;color:#5b776b;font-size:11px;letter-spacing:.07em;font-weight:850;text-transform:uppercase}.db-options select{min-width:136px;max-width:100%;border:1px solid #cee0d4;border-radius:10px;background:white;color:#203b30;padding:10px 32px 10px 12px;font-size:14px;font-weight:700;letter-spacing:0;text-transform:none;min-height:42px}.db-options button,.db-actions button,.db-wide{border:1px solid #c9ddce;background:#fff;color:#205a45;border-radius:10px;min-height:42px;padding:10px 15px;font-size:14px;font-weight:770;cursor:pointer}.db-options .db-new{margin-left:auto;background:#1a6952;color:#fff;border-color:#1a6952}.db-content{display:grid;grid-template-columns:minmax(0,1fr) 270px;min-width:0}.db-main{min-width:0;padding:23px}.db-scoreboard{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.db-player{border:2px solid #e2eae4;border-radius:13px;background:#f7faf7;padding:13px 16px;display:flex;gap:11px;align-items:center;justify-content:space-between;min-width:0}.db-player.active{border-color:#79ac94;background:#edf6f0}.db-player .db-pname{display:flex;align-items:center;gap:8px;min-width:0;font-weight:790;font-size:15px}.db-player .db-dot{width:12px;height:12px;border-radius:50%;display:inline-block;flex-shrink:0}.db-player strong{font-size:26px;font-variant-numeric:tabular-nums}.db-banner{padding:18px 3px 14px;display:flex;justify-content:space-between;align-items:center;gap:12px}.db-banner strong{font-size:16px}.db-banner span{font-size:12px;font-weight:700;color:#657e70}.db-arena{padding:17px;display:flex;justify-content:center;background:#eef5ef;border:1px solid #d8e6dd;border-radius:20px}.db-board{width:min(100%,565px);aspect-ratio:1;position:relative;--n:4;touch-action:manipulation;user-select:none}.db-box{position:absolute;display:grid;place-items:center;z-index:0;border-radius:13px;background:#f9fcfa;border:1px solid #e4ede7;transform:translate(-50%,-50%);transition:background .18s}.db-box.owned0{background:#d6ece5;border-color:#a7d4c6}.db-box.owned1{background:#fbe3d8;border-color:#edbcaa}.db-box.owned2{background:#ecdefb;border-color:#d2b5ef}.db-box.owned3{background:#fff0c5;border-color:#f2d491}.db-box span{font-size:clamp(16px,3vw,28px);font-weight:900;color:#264539}.db-dotnode{position:absolute;width:clamp(9px,1.7vw,15px);height:clamp(9px,1.7vw,15px);border-radius:50%;background:#1b5546;transform:translate(-50%,-50%);z-index:4;pointer-events:none;box-shadow:0 1px 2px #153a2d2e}.db-edge{border:0;position:absolute;background:transparent;color:inherit;padding:0;display:grid;place-items:center;cursor:pointer;z-index:2;touch-action:manipulation;transform:translate(-50%,-50%);outline-offset:-2px}.db-edge.h{width:calc(90% / var(--n));height:24px}.db-edge.v{height:calc(90% / var(--n));width:24px}.db-edge .stroke{display:block;background:#c3d4c8;border-radius:12px;transition:background .08s,height .08s,width .08s}.db-edge.h .stroke{width:100%;height:5px}.db-edge.v .stroke{height:100%;width:5px}.db-edge:not(:disabled):hover .stroke,.db-edge:not(:disabled):focus-visible .stroke{background:#84b59d}.db-edge.danger:not(.taken) .stroke{background:#e7ad9c}.db-edge.taken{cursor:default}.db-edge.taken .stroke{background:#3c9677}.db-edge.taken.p1 .stroke{background:#dd8e69}.db-edge.taken.p2 .stroke{background:#a87bd0}.db-edge.taken.p3 .stroke{background:#dcac42}.db-edge.taken.h .stroke{height:8px}.db-edge.taken.v .stroke{width:8px}.db-edge.hint:not(.taken) .stroke{background:#e0a72d;box-shadow:0 0 0 4px #f9e6a5}.db-edge:focus-visible{outline:3px solid #256552;border-radius:5px}.db-bottom{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:center;padding:17px 0 4px}.db-bottom>span{font-size:14px;line-height:1.5;color:#385e4a;max-width:430px}.db-actions{display:flex;flex-wrap:wrap;gap:7px}.db-panel{padding:24px 19px;border-left:1px solid #e0e9e2;background:#fbfdfb}.db-paneltitle{font-weight:850;font-size:20px;margin-bottom:17px}.db-rule{display:flex;gap:12px;align-items:start;margin:15px 0;color:#557365;line-height:1.6;font-size:13px}.db-rule b{width:28px;height:28px;flex:none;border-radius:9px;background:#e1f0e6;color:#287153;display:grid;place-items:center}.db-divider{height:1px;background:#e1e9e4;margin:20px 0}.db-mini{display:flex;justify-content:space-between;gap:8px;align-items:center;margin:16px 0}.db-mini span{font-size:11px;color:#688074;font-weight:850;letter-spacing:.06em}.db-mini strong{font-size:20px;font-variant-numeric:tabular-nums}.db-check{display:flex;gap:9px;align-items:center;color:#4b6657;margin:12px 0;font-size:13px;cursor:pointer}.db-check input{accent-color:#1a7254;min-width:17px;min-height:17px}.db-wide{width:100%;margin:16px 0 10px}.db-stat{font-size:12px;color:#6d8275;line-height:1.65}.db-article{max-width:980px;margin:42px auto 55px;line-height:1.75;font-size:16px;color:#3d5a4c}.db-article h2{font-size:29px;line-height:1.3;color:#142f23;letter-spacing:-.025em}.db-article h3{font-size:18px;color:#1a4834}.db-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:22px 0}.db-features>div{background:#fff;border:1px solid #e0ebe2;border-radius:16px;padding:18px}.db-features p{font-size:14px}.db-article details{border-bottom:1px solid #d7e3da;padding:14px 0}.db-article summary{cursor:pointer;font-weight:780}.db-disclaimer{font-size:12px;color:#75887b;margin-top:32px}.db-footer{padding:30px 0 45px;border-top:1px solid #dae5dd;color:#819488;font-size:13px}.db-footer a{color:#527861;margin:0 8px}@media(max-width:910px){.db-content{grid-template-columns:minmax(0,1fr)}.db-panel{border-left:0;border-top:1px solid #e0e9e2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 22px}.db-paneltitle{grid-column:1/-1;margin-bottom:0}.db-rule{margin:6px 0}.db-divider{display:none}.db-features{grid-template-columns:1fr}.db-scoreboard{gap:7px}}@media(max-width:560px){.db-wrap{padding:0 12px}.db-nav{padding:14px 4px}.db-nav a{font-size:13px}.db-head{padding:17px 5px 18px}.db-head h1{font-size:37px}.db-head p{font-size:15px}.db-app{border-radius:16px}.db-tabs{padding:6px;gap:4px}.db-tabs button{font-size:12px;padding:13px 3px}.db-options{gap:9px;padding:13px}.db-options label{flex:1 1 124px;min-width:0}.db-options select{width:100%;min-width:0;font-size:13px}.db-options .db-new{flex:1 1 100%;margin:0}.db-main{padding:12px}.db-scoreboard{gap:6px}.db-player{padding:10px 8px}.db-player strong{font-size:20px}.db-player .db-pname{font-size:12px;gap:5px}.db-player .db-dot{width:9px;height:9px}.db-banner{padding:14px 2px 10px;align-items:flex-start}.db-banner strong{font-size:14px}.db-banner span{font-size:11px}.db-arena{padding:13px;border-radius:14px}.db-board{width:100%}.db-edge.h{height:24px}.db-edge.v{width:24px}.db-box{border-radius:7px}.db-bottom{padding:13px 2px}.db-bottom>span{font-size:13px}.db-actions{width:100%}.db-actions button{flex:1;padding:9px 7px;font-size:12px}.db-panel{padding:18px 14px;grid-template-columns:1fr 1fr}.db-rule{grid-column:1/-1}.db-article{margin-top:28px;font-size:14px;padding:0 4px}.db-article h2{font-size:25px}.db-footer{font-size:12px;line-height:2}}@media(prefers-reduced-motion:reduce){.db-page *, .db-page *:before,.db-page *:after{transition:none!important;animation:none!important}}
.db-page [hidden]{display:none!important}
@media(max-width:560px){.db-scoreboard:has(.db-player:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))!important}.db-board{touch-action:manipulation}}

.db-edge.taken.neutral .stroke{background:#85a597}
