:root{--ink:#1d2936;--paper:#fffaf2;--line:#e5ded2;--coral:#e9655a;--sun:#efb945;--leaf:#52a56d;--violet:#8064bc;--blue:#4e9fbe}.site-header,.site-footer{width:100%;max-width:none;padding-left:clamp(1.25rem,4vw,3rem);padding-right:clamp(1.25rem,4vw,3rem)}.game-layout{display:grid;grid-template-columns:355px minmax(0,1fr);width:100%;max-width:none;margin:0;min-height:calc(100svh - 86px)}.game-layout aside{padding:30px 27px;border-right:1px solid var(--line);z-index:2;background:#fffdf9}.game-layout h1{font-size:47px;line-height:1;margin:0 0 13px;letter-spacing:-2.5px}.game-layout .eyebrow{margin:0 0 7px;color:#c54d43;text-transform:uppercase;font-size:11px;letter-spacing:1.3px;font-weight:800}.intro{color:#61707a}.panel{margin-top:19px;padding:15px;border:1px solid var(--line);border-radius:13px;background:#fff}.game-layout h2{margin:0 0 9px;font-size:16px}.setup label{display:flex;justify-content:space-between;align-items:center;padding:5px 0;font-size:14px}.setup select{padding:4px 7px;border-radius:6px;border:1px solid #cfc7ba;background:white;font:inherit;font-size:13px}button{font:inherit;cursor:pointer;border:1px solid #b9b3a8;border-radius:8px;padding:9px 12px;background:#fff;color:var(--ink)}button:hover:not(:disabled){border-color:#566c7d;transform:translateY(-1px)}button:disabled{cursor:not-allowed;opacity:.48}.setup button{width:100%;margin-top:10px}.primary{width:100%;background:#213c4c;border-color:#213c4c;color:white;font-weight:750}.status{text-align:center}.status p{min-height:44px;margin:0 0 9px;color:#56646d;font-size:14px}.status h2{color:#233f4f}.rules p{font-size:12px;color:#65727a;margin:7px 0}.note{font-size:11px;color:#8a918f;margin:19px 2px}.play-area{display:grid;place-items:start center;overflow:hidden;min-height:680px;padding:8px 24px 24px;background:linear-gradient(145deg,#d9f0e5,#b6d9dd)}.game-stage{position:relative;width:min(100%,calc(100svh - 108px));aspect-ratio:1}.board{position:absolute;inset:0;z-index:2}.field{position:absolute;width:48px;height:48px;border-radius:50%;border:3px solid #fffaf2;box-shadow:0 3px 0 #52606433,0 6px 12px #42625022;transform:translate(-50%,-50%);display:grid;place-items:center;font-weight:850;color:#ffffff;font-size:13px}.field.coral{background:var(--coral)}.field.sun{background:var(--sun);color:#5d4615}.field.leaf{background:var(--leaf)}.field.violet{background:var(--violet)}.field.blue{background:var(--blue)}.pawn{position:absolute;width:22px;height:22px;border-radius:50%;border:3px solid #fff;box-shadow:0 2px 5px #26374799;z-index:3;transform:translate(-50%,-50%);transition:left .25s ease,top .25s ease}.pawn.selected{outline:3px solid #243f50;outline-offset:3px}.pawn:disabled{opacity:.55}.score{position:absolute;z-index:5;top:12px;left:15px;display:flex;gap:8px;flex-wrap:wrap}.score div{font-size:12px;padding:6px 10px;border-radius:99px;background:#ffffffe8;border:1px solid #ffffff;box-shadow:0 2px 7px #4760531f}.camps{position:absolute;inset:0;z-index:4;pointer-events:none}.camp{position:absolute;width:128px;padding:9px;border-radius:13px;background:#fffdf9ed;border:1px solid #fff;font-size:11px;text-align:center;box-shadow:0 3px 12px #3651532b}.camp .dots{display:flex;justify-content:center;gap:5px;margin-top:5px}.dot{width:15px;height:15px;border-radius:50%;border:2px solid #fff;box-shadow:0 1px 2px #3444}.dot.home{opacity:.28}.camp .hideout{margin-top:6px;color:#46606a;font-weight:750}.hideout-core{position:absolute;z-index:1;left:50%;top:50%;width:178px;height:168px;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding-bottom:11px;border-radius:46% 46% 36% 36%;background:radial-gradient(circle at 50% 88%,#e9bd4d 0 13%,transparent 13.5%),radial-gradient(circle,#fff9e7 0 57%,#e8c76f 58% 61%,transparent 62%);filter:drop-shadow(0 9px 7px #36515325);color:#4b3b20;text-align:center}.roof{position:absolute;top:16px;width:126px;height:71px;overflow:hidden}.roof:before{content:"";position:absolute;left:13px;top:14px;width:94px;height:94px;background:#d7684f;transform:rotate(45deg);border-radius:10px;box-shadow:0 4px 0 #a64e3f}.roof i{position:absolute;width:14px;height:19px;bottom:1px;background:#f4d27b;border:3px solid #4d6570;border-radius:8px 8px 3px 3px;z-index:2}.roof i:first-child{left:24px}.roof i:last-child{right:24px}.house{position:absolute;top:71px;width:101px;height:59px;border:4px solid #4d6570;border-top:0;border-radius:0 0 13px 13px;background:#f5d77c;display:flex;align-items:flex-end;justify-content:space-around;padding:0 12px}.door{width:24px;height:34px;border:3px solid #4d6570;border-bottom:0;border-radius:13px 13px 0 0;background:#d86f51}.window{width:14px;height:17px;margin-bottom:17px;border:3px solid #4d6570;border-radius:5px;background:#bce6e4}.hideout-core b{position:relative;font-size:13px}.hideout-core small{position:relative;font-size:10px;color:#79613b}.die{width:112px;height:112px;margin:10px auto 16px;border-radius:23px;display:grid;place-items:center;background:#f7f3e9;border:3px solid #d3c9b8;box-shadow:0 6px 0 #c7bcaa,0 13px 18px #4d5c5426;font-weight:900;overflow:hidden}.die-face{width:100%;height:100%;display:grid;place-items:center;align-content:center;gap:4px;border-radius:18px;color:#fff;text-shadow:0 1px 1px #0003}.die-face .pip{width:28px;height:28px;border-radius:50%;background:#fff;box-shadow:inset 0 -3px #0002}.die-face b{font-size:15px;letter-spacing:.04em}.die.coral .die-face{background:linear-gradient(145deg,#f37a6d,#cc4f49)}.die.sun .die-face{background:linear-gradient(145deg,#f8d368,#dd9d24);color:#624310}.die.leaf .die-face{background:linear-gradient(145deg,#6cc989,#378958)}.die.violet .die-face{background:linear-gradient(145deg,#a289d5,#66509d)}.die.blue .die-face{background:linear-gradient(145deg,#76c7dc,#3789a8)}.die.star .die-face{background:linear-gradient(145deg,#315d70,#193b4d)}.die-star{font-size:42px;line-height:.8}.die-star+p{font-size:13px;margin:0;font-weight:800}dialog{border:0;border-radius:16px;max-width:330px;box-shadow:0 12px 40px #1237}dialog::backdrop{background:#16313b77}@media(max-width:900px){.game-layout{grid-template-columns:1fr}.game-layout aside{border-right:0;border-bottom:1px solid var(--line)}.play-area{min-height:620px;padding-top:8px}.game-stage{width:min(100%,calc(100svh - 78px))}}@media(max-width:560px){.game-stage{width:100%}.field{width:38px;height:38px}.camp{transform:scale(.82);transform-origin:center}.hideout-core{transform:translate(-50%,-50%) scale(.8)}}
.field.gate{outline:3px solid #fef6d9;outline-offset:2px;box-shadow:0 0 0 6px #25455666,0 3px 0 #52606433,0 6px 12px #42625022;font-size:19px}.lap-progress{margin-top:5px;padding-top:5px;border-top:1px dashed #cad4cf;color:#59706d;font-size:10px;letter-spacing:.01em}.hideout-core .lap-badge{position:absolute;bottom:-20px;white-space:nowrap;padding:4px 9px;border-radius:99px;background:#fffdf1;border:1px solid #dfbd5c;color:#6e5420;font-size:10px;font-weight:800;box-shadow:0 2px 5px #5a52201f}
.score{top:1%;left:50%;max-width:62%;justify-content:center;transform:translateX(-50%)}.score div{font-size:10px;padding:4px 7px}.camp{width:92px;padding:5px 4px;border-radius:10px;font-size:10px;line-height:1.15}.camp .dots{gap:3px;margin-top:3px}.dot{width:11px;height:11px;border-width:1px}.lap-progress{margin-top:3px;padding-top:3px;font-size:9px}.pawn{width:38px;height:42px;padding:0;border:0!important;border-radius:50% 50% 42% 42%;background:transparent!important;box-shadow:none;cursor:pointer;z-index:6}.pawn:before{content:"";position:absolute;left:50%;top:5px;width:23px;height:23px;transform:translateX(-50%);border:3px solid #fff;border-radius:50%;background:radial-gradient(circle at 34% 28%,#ffffffc9 0 11%,transparent 12%),var(--pawn-color);box-shadow:0 3px 5px #1b2a3477}.pawn:after{content:"";position:absolute;left:50%;bottom:3px;width:29px;height:15px;transform:translateX(-50%);border:3px solid #fff;border-radius:50% 50% 42% 42%;background:var(--pawn-color);box-shadow:0 3px 5px #1b2a3477}.pawn:hover:not(:disabled):before,.pawn:hover:not(:disabled):after{filter:brightness(1.12)}.pawn.selected:before,.pawn.selected:after{outline:3px solid #fff2a8;outline-offset:3px;filter:drop-shadow(0 0 6px #294b5c)}.pawn:disabled{opacity:1;cursor:default}.field{z-index:2}.hideout-core{z-index:1}.camps{z-index:4}.score{z-index:7}@media(max-width:560px){.camp{transform:scale(.76);transform-origin:center}.score{max-width:80%}.pawn{transform:translate(-50%,-50%) scale(.84)}}
@media(min-width:901px){body:has(.game-layout){overflow:hidden}.site-header{min-height:58px;height:58px}.game-layout{height:calc(100svh - 58px);min-height:0}.game-layout+.site-footer{display:none}.game-layout aside{padding:14px 22px;overflow:hidden}.game-layout h1{font-size:38px;margin-bottom:7px}.game-layout .eyebrow{margin-bottom:3px}.intro{margin-bottom:0;font-size:14px;line-height:1.35}.panel{margin-top:9px;padding:10px 12px;border-radius:10px}.game-layout h2{margin-bottom:5px;font-size:14px}.setup label{padding:2px 0;font-size:13px}.setup select{padding:2px 5px}.setup button{margin-top:6px;padding:6px 9px}.status p{min-height:25px;margin-bottom:4px;font-size:12px}.die{width:72px;height:72px;margin:5px auto 9px;border-radius:16px;box-shadow:0 4px 0 #c7bcaa,0 8px 12px #4d5c5420}.die-face b{font-size:11px}.die-face .pip{width:20px;height:20px}.die-star{font-size:31px}.die-star+p{font-size:10px}.primary{padding:7px 10px}.rules p{font-size:10px;line-height:1.28;margin:4px 0}.note{margin:8px 2px 0;font-size:9px}.play-area{min-height:0;padding-top:4px}.game-stage{width:min(100%,calc(100svh - 72px))}}
