:root{--ink:#25382f;--green:#255e50;--white:#fffdfa;background:#f2f1e9}.site-header{gap:12px}.site-header nav{flex-wrap:wrap;justify-content:center}.site-header nav button{padding:10px 11px}.header-local{display:flex;align-items:center;gap:7px;cursor:pointer;max-width:150px}.header-local span{overflow:hidden;text-overflow:ellipsis}.header-avatar{width:34px;height:34px;border-radius:50%;background:#e6eade;object-fit:contain}.hero{background-size:cover;background-position:center 47%;min-height:268px}.hero-text{max-width:680px;padding:42px 36px}.hero h1{text-shadow:0 2px 6px #0004}.trail{padding:0;background:none;overflow:hidden}.trail-list{display:block;position:relative;width:100%;aspect-ratio:768/1376;min-height:970px;background-size:100% 100%;background-position:center;overflow:hidden;border-radius:16px;padding:0}.trail-row,.trail-row.right{position:absolute;left:var(--map-x);top:var(--map-y);transform:translate(-50%,-50%);display:block;padding:0;min-height:0;z-index:2}.trail-node{width:58px;height:58px;border:3px solid #fff6df;box-shadow:0 4px 0 #503b2c88,0 7px 18px #27190866}.trail-node.locked{background:#706f65;color:#fff;box-shadow:0 4px 0 #3b3c37b0}.trail-label,.trail-row.right .trail-label{position:absolute;left:calc(100% + 8px);top:50%;transform:translateY(-50%);background:#fff9e9ef;padding:5px 9px;border-radius:9px;min-width:112px;max-width:155px;text-align:left;align-items:flex-start;box-shadow:0 2px 7px #33250e45;gap:2px}.trail-row.map-left .trail-label{left:auto;right:calc(100% + 8px);text-align:right;align-items:flex-end}.node-name{font-size:.78rem;white-space:normal}.node-desc{font-size:.67rem}.node-stars{font-size:.7rem}.node-number{bottom:-5px}.play-indicator{font-size:.61rem}.lock-note{position:absolute;z-index:4;top:0;margin:10px;padding:9px;border-radius:10px;background:#fff8e8f5}.catalog-card{padding:0 0 17px;overflow:hidden;gap:8px}.catalog-card>*:not(.catalog-cover){margin-left:16px;margin-right:16px}.catalog-cover{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}.catalog-card .button{width:calc(100% - 32px);margin-top:0}.catalog-card h2{margin-top:0;margin-bottom:0}.personal-score{font-size:.78rem;color:#326b57;font-weight:750;margin-top:auto;margin-bottom:0}.v3-board{background-image:linear-gradient(#fffdf5d9,#fffdf5eb),var(--game-bg,none);background-size:cover;background-position:center}.game-root[data-game=memory] .eg-card:not(.open){background-image:linear-gradient(#1f332b13,#1f332b13),var(--card-back);background-size:100% 100%;background-color:#265747;color:#fff8df;text-shadow:0 1px 5px #221c13;min-height:118px}.game-root[data-game=memory] .eg-card.open{animation:cardturn .18s ease-out}.eg-card.matched{animation:cardturn .2s ease-out}@keyframes cardturn{0%{transform:rotateY(75deg)}100%{transform:rotateY(0)}}.eg-word-grid{touch-action:none;user-select:none;-webkit-user-select:none;gap:1px;background:#f6eedacc;padding:6px;border-radius:12px}.eg-letter-cell{touch-action:none;font-weight:750}.eg-letter-cell.selected{background:#efb946;border-color:#e0a234;box-shadow:inset 0 0 0 2px #a66e1c;color:#292012}.eg-letter-cell.found{background:var(--found-color,#b4d7b9);color:#25392d;border-color:#0001}.game-root[data-game=hangman] .eg-shell{background:#fffdf3de;border:1px solid #9d79483d;border-radius:16px;padding:14px}.secret-seal{width:min(170px,38vw);aspect-ratio:1;border-radius:50%;object-fit:cover;align-self:center;box-shadow:0 2px 24px #c6a74d66;border:3px solid #d5b674;transition:filter .2s,transform .2s}.game-root[data-game=hangman] .eg-body{align-items:center}.game-root[data-game=hangman] .eg-slot{background:#f2e7c8;border-bottom:3px solid #a87e43;border-radius:7px;min-width:27px}.dialogue-scene{width:min(100%,600px);max-height:240px;object-fit:cover;display:block;margin:0 auto 10px;border-radius:12px}.game-root[data-game=millionaire] .eg-million{background:linear-gradient(#0b1536dc,#101d3ee8),var(--game-bg);background-size:cover;padding:16px;border-radius:14px;color:#f1f4ff}.game-root[data-game=millionaire] .eg-prompt{color:#fff}.game-root[data-game=millionaire] .eg-choice{background:#112448;border:1px solid #c4a365;color:#fff}.game-root[data-game=millionaire] .eg-choice.correct{background:#27714d}.game-root[data-game=millionaire] .eg-choice.incorrect{background:#9c3847}.game-root[data-game=millionaire] .eg-rung{background:#192b4a;color:#e7d7ab}.game-root[data-game=millionaire] .eg-rung.current{background:#d2a852;color:#17213b}.game-root[data-game=scramble] .eg-token{background:#f9e4b6;border-color:#b78b56;color:#583717;box-shadow:0 2px 0 #a27b45}.game-root[data-game=sentence-puzzle] .eg-token{border-radius:11px;background:#eff6ff;border-color:#92b0d0;color:#234a69}.escape-room-art{object-fit:fill;width:100%;height:100%}.eofle-escape__room{aspect-ratio:16/9;min-height:0!important}.escape-closeup{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:9px;margin-bottom:10px}.eofle-cherche__svg{width:100%;height:auto;max-height:none}.eofle-cherche__hotspot:hover rect[fill=transparent]{stroke:#fff8;stroke-width:2}.arcade-action{background:#101e35;color:#f8f9ff;padding:14px;border-radius:17px;max-width:700px;margin:auto}.action-hud{display:flex;gap:8px;justify-content:space-between;flex-wrap:wrap;font-size:.8rem;font-weight:750;padding:8px 10px;background:#203650;border-radius:10px;margin-bottom:8px}.action-prompt{display:flex;align-items:center;gap:10px;padding:10px;background:#213b59;border-radius:9px;margin-bottom:8px}.action-prompt small{font-size:.65rem;font-weight:900;color:#f0ca71}.action-prompt strong{font-size:1.1rem}.action-stage{position:relative;isolation:isolate;overflow:hidden;height:clamp(340px,63vw,500px);background-position:center;background-size:cover;border-radius:13px;touch-action:manipulation}.action-limit{position:absolute;top:78%;width:100%;border-top:2px dashed #ffc96c;opacity:.8}.action-target{position:absolute;transform:translateX(-50%);width:23%;min-height:60px;max-width:125px;padding:0 1px;background:transparent;border:0;color:white;text-shadow:0 1px 3px #000;display:flex;align-items:center;flex-direction:column;cursor:pointer;z-index:3;transition:opacity .2s}.action-target img{width:clamp(38px,11vw,75px);height:clamp(38px,11vw,75px);object-fit:contain;filter:drop-shadow(0 3px 4px #0005)}.action-target span{display:block;border-radius:6px;padding:3px 6px;background:#101927ec;font-size:clamp(.72rem,2vw,.95rem);font-weight:750;max-width:100%;overflow-wrap:anywhere;line-height:1.15}.bubble-action .action-target span{background:#213041e8}.action-target.aimed:not(:disabled) img{filter:drop-shadow(0 0 5px #fff9)}.action-target.destroyed{opacity:0;pointer-events:none;transform:translateX(-50%) scale(.25);transition:transform .2s,opacity .2s}.action-target.hit-wrong{filter:drop-shadow(0 0 7px red)}.action-ship{position:absolute;bottom:4%;left:50%;width:clamp(44px,11vw,75px);height:clamp(44px,11vw,75px);object-fit:contain;transform:translateX(-50%);transition:left .14s;z-index:2}.action-notice{position:absolute;left:3%;right:3%;top:40%;text-align:center;pointer-events:none;color:#fff;font-size:1.02rem;font-weight:900;text-shadow:0 2px 6px #000;background:#14223bd0;border-radius:10px;z-index:4}.action-notice:empty{display:none}.action-bolt{position:absolute;height:40px;width:5px;bottom:13%;background:#f7fb9c;box-shadow:0 0 14px 5px #7de5ff;z-index:2;animation:shoot .28s linear forwards}.action-pop{position:absolute;font-size:3rem;color:#fff4a3;text-shadow:0 0 12px orange;z-index:5;pointer-events:none;animation:pop .35s ease-out forwards}@keyframes shoot{to{bottom:90%;opacity:0}}@keyframes pop{to{transform:scale(2);opacity:0}}.action-controls{display:flex;justify-content:center;flex-wrap:wrap;gap:6px;margin-top:10px}.action-controls button{min-height:44px}.action-help{font-size:.8rem;line-height:1.5;color:#dce7f7;margin:8px 0 0}.rank-row{display:flex;align-items:center;gap:10px;padding:11px 8px;border-bottom:1px solid #e5e7de}.rank-row.me{background:#e5eee2;border-radius:9px}.rank-place{font-size:1rem;color:#997033;width:25px}.rank-avatar,.profile-avatar{width:42px;height:42px;border-radius:50%;object-fit:contain;background:#e7eadd}.rank-name{flex:1;overflow-wrap:anywhere}.rank-points{color:#286758;white-space:nowrap}.profile-panel{max-width:780px;margin:auto}.profile-form{display:grid;gap:8px;margin:16px 0;max-width:420px}.profile-form input{width:100%;padding:12px;border:1px solid #c6d0c6;border-radius:10px;font-size:1rem}.profile-feedback{color:#a23a36;font-weight:650}.avatar-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(56px,1fr));gap:6px;max-width:600px;margin:12px 0}.avatar-choice,.cosmetic-choice{background:#f2f3eb;border:2px solid #d7ddd1;border-radius:12px;padding:5px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;cursor:pointer}.avatar-choice img{width:100%;aspect-ratio:1;object-fit:contain}.avatar-choice.selected,.cosmetic-choice.selected{border-color:#2a755b;background:#dfece2}.profile-id{display:flex;align-items:center;gap:15px;margin-bottom:12px}.profile-avatar{width:74px;height:74px}.collection-grid{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.collection{flex:1 1 280px;display:flex;gap:7px;flex-wrap:wrap;align-items:flex-start}.collection h3{width:100%}.cosmetic-choice{width:70px;min-height:100px;gap:4px}.cosmetic-choice img{width:50px;height:66px;object-fit:contain}.cosmetic-choice:disabled{opacity:.5;cursor:not-allowed}.cosmetic-choice small{font-size:.68rem}.badge-item{display:flex;flex-direction:column;align-items:center;width:85px;gap:4px;text-align:center;font-size:.73rem}.badge-item img{width:60px;height:60px;object-fit:contain}.badge-item.locked{filter:grayscale(1);opacity:.45}.result-stats{flex-wrap:wrap}.sync-note{margin:9px 0}.result-stats .stat{min-width:90px}
@media(max-width:680px){.site-header nav{gap:2px;justify-content:space-between;flex-wrap:nowrap}.site-header nav button{padding:9px 4px;font-size:.72rem}.hero{min-height:220px}.hero-text{padding:24px 20px}.hero h1{font-size:2rem}.trail-list{min-height:1080px;aspect-ratio:auto}.trail-node{width:48px;height:48px}.trail-label,.trail-row.right .trail-label{min-width:94px;max-width:108px;left:calc(100% + 4px);padding:5px 6px}.trail-row.map-left .trail-label{right:calc(100% + 4px);left:auto}.node-name{font-size:.69rem}.node-desc{display:none}.node-icon{font-size:1.25rem}.node-stars{font-size:.65rem}.catalog-card>*:not(.catalog-cover){margin-left:11px;margin-right:11px}.catalog-card .button{width:calc(100% - 22px)}.game-root[data-game=memory] .eg-card:not(.open){min-height:91px}.action-stage{height:380px}.action-hud{font-size:.74rem;gap:5px}.arcade-action{padding:8px}.action-controls button{padding:9px}.game-root[data-game=millionaire] .eg-million{padding:10px}.rank-avatar{width:34px;height:34px}.rank-row{gap:7px}.rank-points{font-size:.84rem}}
@media(prefers-reduced-motion:reduce){.eg-card,.action-ship,.action-target{transition:none}.eg-card,.action-pop,.action-bolt{animation:none}}
.map-scroll{max-height:700px;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#77977f #e7e7dd;border-radius:16px}.trail-list{min-height:890px}.trail-path{opacity:.78;z-index:1;filter:drop-shadow(0 1px 2px #40321d77)}.trail-path svg path:first-child{stroke:#f8ead3;stroke-width:6}.trail-path svg path:nth-child(2){stroke:#bd9b5b;stroke-width:1.5}.trail-row{z-index:2}.trail-label{pointer-events:none}.map-scroll:focus-within{outline:2px solid #9bb6a2;outline-offset:2px}@media(max-width:680px){.map-scroll{max-height:610px}.trail-list{min-height:830px}.site-header{position:relative}.site-header nav{overflow-x:auto;justify-content:flex-start}.site-header nav button{flex:1 0 auto;min-width:0}.header-local{max-width:130px}.hero{background-position:60% center}.action-stage{height:360px}}
