.faq-item{border-top:1px solid #40543e;padding:14px 0}.faq-item summary{cursor:pointer;color:#e1d3a6;font-size:13px;line-height:1.6}.faq-item p{margin-bottom:0}.event-card,.bonus-panel{border:1px solid #9c9c6666;background:#c4b27612;border-radius:9px;margin:16px 0;padding:14px}.event-card b{display:block;margin-top:12px;color:#dfcd9d}.event-card p{font-size:12px;line-height:1.6;color:#b5c5b0}.bonus-panel>b{font-size:12px;color:#dfcd9d}.bonus-row{display:flex;gap:6px;align-items:center;margin:7px 0}.bonus-row>span{flex:1;font-size:11px}.bonus-row button{padding:8px 12px}.player-count input{width:90px;background:#243c2c;color:#e6e9da;border:1px solid #53634a;border-radius:6px;padding:8px}.forest-board{width:max-content;min-width:100%}.lane{min-width:640px}.track-ruler{gap:60px}.modal{width:min(650px,100%)}
/* Forest race: illustrated runners on a readable, continuous woodland path. */
.hedge-online .forest-board{box-sizing:border-box;width:100%;padding:15px 12px 8px;border:1px solid #80916b55;background:radial-gradient(ellipse at 10% 0,#8a9e6540,transparent 60%),repeating-linear-gradient(115deg,#ffffff02 0 2px,transparent 2px 22px),#294331;box-shadow:inset 0 0 35px #142c2166}
.hedge-online .lane{min-width:0;gap:12px;margin:0 0 16px;padding-top:5px}.hedge-online .lane-info{width:90px}.hedge-online .lane-info b{font-size:11px;color:var(--hedge)}.hedge-online .lane-info small{margin:5px 0 0;font-size:10px}.hedge-online .track{position:relative;gap:2px;padding:8px 0;background:linear-gradient(transparent 8px,#bba16c55 8px,#aa92624d calc(100% - 8px),transparent calc(100% - 8px));border-radius:20px}.hedge-online .cell{height:39px;border:1px solid #d4c28c20;border-bottom:2px solid #5c634344;background:linear-gradient(145deg,#bdb58928,#73845b38);border-radius:40% 30% 35% 25%;color:#d8d1ab}.hedge-online .cell:nth-child(3n){border-radius:27% 40% 23% 35%;background-color:#c9b47e10}.hedge-online .cell.bonus{background:#a9b36c40;border-color:#c0ce8060}.hedge-online .cell.random{background:#a39fb04a;border-color:#c9bed65c}.hedge-online .cell.finish{background:#cfbc7c55;border:1px solid #dec88e8c;border-radius:4px}.hedge-online .hedge-token{position:absolute;left:50%;top:50%;width:47px;height:40px;margin-left:-24px;margin-top:-23px;z-index:4;animation:none;filter:none}.hedge-token .forest-sprite{display:block;width:100%;height:100%}.track-mark{width:21px;height:25px;display:block;opacity:.9}.hedge-online .track-ruler{padding-left:102px;gap:0;display:flex;justify-content:space-between;font-size:9px;color:#c7cba5;margin-bottom:7px}.hedge-online .private-goal p .forest-sprite{width:30px;height:25px;display:inline-block;vertical-align:middle;margin:0 3px}.hedge-online .die>span{display:grid;place-items:center;height:60px;font-size:32px}.hedge-online .die .forest-sprite{width:75px;height:60px;max-width:100%}.hedge-online .die.held{box-shadow:inset 0 0 0 2px var(--hedge);background:#36523b}.hedge-online .event-card{position:relative;min-height:64px;padding-left:75px}.hedge-online .event-card b{margin-top:0}.event-card-art{position:absolute;left:14px;top:14px;transform:rotate(-9deg)}.event-card-art .track-mark{width:42px;height:53px}.bonus-row>span{display:flex;align-items:center;gap:5px}.bonus-row .forest-sprite{width:30px;height:25px;flex-shrink:0}
@media(max-width:620px){.hedge-online .lane-info{width:78px}.hedge-online .lane{gap:8px;margin-bottom:14px}.hedge-online .forest-board{padding:12px 8px 5px}.hedge-online .track-ruler{padding-left:86px}.hedge-online .die>span{height:55px}.hedge-online .die .forest-sprite{width:67px;height:55px}.hedge-online .private-goal p{font-size:11px;line-height:1.9}.hedge-online .event-card{padding-left:62px}.event-card-art .track-mark{width:34px;height:45px}}
.hedge-online .cell:has(>.hedge-token){outline:1px solid var(--hedge);outline-offset:-1px;background-color:#d2c28b25}
/* One forest clearing, five trails and a single shared finish ribbon. */
.hedge-online .forest-board{position:relative;isolation:isolate;overflow:hidden;background-color:#43503a;background-image:linear-gradient(#233d2e80,#263b2d99),url('/src/games/hedgehogs/assets/forest-floor.png');background-size:auto,420px 420px;box-shadow:inset 0 0 35px #12271d77,0 3px 8px #0c1d1740;border:2px solid #74805c;border-radius:13px}.forest-stream{position:absolute;left:36%;width:140px;top:40px;bottom:15px;pointer-events:none;z-index:0;opacity:.85}.forest-stream svg{display:block;width:100%;height:100%;filter:drop-shadow(2px 2px 2px #172c2380)}.race-lanes{position:relative;z-index:1}.hedge-online .track-ruler{position:relative;z-index:2}.hedge-online .lane{position:relative;margin-bottom:15px}.hedge-online .lane-info{padding:5px 3px;background:#193021bd;border:1px solid #a5a77c26;border-radius:7px;box-sizing:border-box;position:relative;z-index:2}.hedge-online .track{background:linear-gradient(transparent 8px,#b39b6c85 8px,#ac966b80 calc(100% - 8px),transparent calc(100% - 8px));box-shadow:none}.hedge-online .track:after{content:'';position:absolute;left:calc(36% - 70px);width:140px;top:5px;bottom:5px;background:repeating-linear-gradient(90deg,#8e724b 0 11px,#4b4a31 11px 13px,#b19967 13px 24px,#4b4a31 24px 26px);border-block:3px solid #d0b482;box-shadow:0 3px 3px #16261b80;border-radius:3px;z-index:0;pointer-events:none}.hedge-online .cell{position:relative;z-index:1;background:linear-gradient(145deg,#bcb18a28,#707c4928);border:1px solid #d5c18c26;border-bottom:2px solid #4c543055}.hedge-online .cell.bonus{background:radial-gradient(ellipse,#ddc48166,#97a65730);box-shadow:inset 0 0 0 1px #ddcf8b44}.hedge-online .cell.random{background:radial-gradient(ellipse,#d4c1a34d,#8d9baf40);box-shadow:inset 0 0 0 1px #d3c7ac44}.hedge-online .cell.finish{background:transparent;border-color:#cbbf8c20;border-radius:4px}.hedge-online .mark-bonus{width:25px;height:29px;opacity:1;filter:drop-shadow(0 2px 1px #27382199)}.hedge-online .mark-random{width:24px;height:28px;opacity:1;filter:drop-shadow(0 2px 1px #27382199)}.race-finish{position:absolute;top:8px;bottom:22px;right:4px;width:24px;z-index:3;pointer-events:none}.finish-ribbon{position:absolute;top:6px;bottom:8px;left:6px;width:14px;background:conic-gradient(#e8dcb7 25%,#38503a 0 50%,#e8dcb7 0 75%,#38503a 0) 0 0/14px 14px;border-inline:1px solid #e9d8a0;box-shadow:2px 0 2px #152a1b66;transform:rotate(.4deg);border-radius:2px}.finish-post{position:absolute;width:7px;height:27px;background:linear-gradient(90deg,#6d5036,#c6a36b 45%,#8a6742);border:1px solid #59482d;border-radius:4px;right:0;z-index:2}.post-top{top:-8px}.post-bottom{bottom:-9px}.finish-caption{position:absolute;right:-2px;top:-16px;font-size:7px;font-weight:700;letter-spacing:1px;color:#ecdfb5;background:#32482acb;padding:3px;border-radius:3px}.hedge-online .hedge-token{z-index:5}.hedge-online .board-legend{padding:6px 0;color:#c4c6a3}
@media(max-width:620px){.hedge-online .forest-board{background-size:auto,340px 340px}.hedge-online .lane-info{padding:4px 2px}.forest-stream{width:125px}.hedge-online .track:after{width:125px;left:calc(36% - 60px)}}
