@import "https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Noto+Sans+JP:wght@400;500;600;700;800;900&display=swap";:root{--game-bg:#071122;--game-panel:#10213a;--game-line:#2e4a6a;--game-blue:#83caff;--game-ink:#f5f9ff;--game-muted:#a6bad2;--game-font:"Noto Sans JP",system-ui,sans-serif;--game-display:"Barlow Condensed",Arial,sans-serif}*{box-sizing:border-box}.games-list-page,.game-page{background:radial-gradient(circle at 75% 10%,#164a7d55,transparent 35%),var(--game-bg);min-height:calc(100vh - 86px);color:var(--game-ink);font-family:var(--game-font)}.games-list-page{padding:70px max(24px,50vw - 560px) 90px}.games-hero{border-bottom:1px solid var(--game-line);grid-template-columns:1fr 350px;align-items:center;min-height:420px;display:grid;overflow:hidden}.games-kicker,.game-eyebrow,.overlay-kicker{font:700 .82rem var(--game-display);letter-spacing:.16em;color:var(--game-blue)}.games-hero h1{letter-spacing:-.055em;margin:12px 0 22px;font-size:clamp(2.8rem,6vw,5.7rem);line-height:1.08}.games-hero h1 span{color:var(--game-blue)}.games-hero>div>p:last-child{color:var(--game-muted);font-size:1rem}.games-hero img{object-fit:contain;object-position:bottom;filter:drop-shadow(0 14px 35px #0008);justify-self:end;width:330px;height:420px}.games-card-grid{grid-template-columns:repeat(3,1fr);gap:18px;margin-top:38px;display:grid}.game-card{border:1px solid var(--game-line);background:#10203a;border-radius:10px;flex-direction:column;justify-content:space-between;min-height:270px;padding:25px;transition:transform .2s,border-color .2s;display:flex;position:relative;overflow:hidden}.game-card:after{content:"";border:1px solid #8bceff2c;border-radius:50%;width:190px;height:190px;position:absolute;top:-70px;right:-75px}.game-card:hover{border-color:#6eb8ed;transform:translateY(-5px)}.game-card.maru{background:linear-gradient(150deg,#142850,#101a35)}.game-card.treasure{background:linear-gradient(150deg,#22385c,#14213a)}.game-number{font:700 1rem var(--game-display);color:#88add1}.game-card p{font:700 .72rem var(--game-display);letter-spacing:.14em;color:var(--game-blue);margin:0}.game-card h2{margin:8px 0 12px;font-size:1.45rem;line-height:1.45}.game-card div>span{color:#b0c2d7;font-size:.9rem;line-height:1.8}.game-card>b{font:700 .9rem var(--game-display);letter-spacing:.14em;color:var(--game-blue)}.game-page{padding-bottom:70px}.game-nav{align-items:center;gap:18px;width:min(1040px,100% - 36px);height:72px;margin:auto;display:flex}.game-brand{font:700 1.2rem var(--game-display);letter-spacing:.06em;margin-right:auto}.game-brand span{color:var(--game-blue);margin-right:7px}.game-top{align-items:center;gap:10px;display:flex}.game-top a,.game-top button{color:#c6daee;font:600 .82rem var(--game-font);cursor:pointer;background:#102039;border:1px solid #365777;border-radius:5px;padding:8px 12px;text-decoration:none}.game-wrap{width:min(1040px,100% - 36px);margin:auto}.game-heading{justify-content:space-between;align-items:end;gap:25px;padding:32px 0 20px;display:flex}.game-heading h1{letter-spacing:-.05em;margin:4px 0;font-size:clamp(2rem,5vw,3.5rem);line-height:1.2}.game-heading>div>p:last-child{color:var(--game-muted);margin:0}.game-heading img{object-fit:contain;object-position:bottom;width:95px;height:105px}.game-stage{aspect-ratio:16/7;touch-action:none;-webkit-user-select:none;user-select:none;background:#0d2038;border:1px solid #3d668b;border-radius:12px;width:100%;min-height:330px;max-height:540px;position:relative;overflow:hidden;box-shadow:0 25px 70px #0005}.game-stage canvas{touch-action:none;width:100%;height:100%;display:block}.game-hud{z-index:3;pointer-events:none;gap:9px;display:flex;position:absolute;top:15px;left:15px;right:15px}.hud-box{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#071326c7;border:1px solid #5b88ac66;border-radius:6px;min-width:95px;padding:7px 12px}.hud-box span{color:#8fa9c1;letter-spacing:.08em;font-size:.68rem;font-weight:700;display:block}.hud-box b{font:700 1.05rem var(--game-display);color:#eff8ff}.game-overlay{z-index:5;text-align:center;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#071225e8;flex-direction:column;justify-content:center;align-items:center;padding:28px;display:flex;position:absolute;inset:0}.game-overlay h2{margin:7px 0 12px;font-size:clamp(1.8rem,4vw,3.1rem)}.game-overlay>p:not(.overlay-kicker):not(.result-rank){color:#b9ccdf;max-width:650px;margin:0;line-height:1.9}.howto{grid-template-columns:repeat(3,1fr);gap:9px;width:min(670px,100%);margin:20px 0;display:grid}.howto div{background:#10243d;border:1px solid #355878;border-radius:6px;padding:12px}.howto b{color:var(--game-blue);font-size:.88rem;display:block}.howto span{color:#a9bdd0;font-size:.78rem}.game-primary{background:var(--game-blue)!important;color:#07192e!important;border:0!important;font-weight:800!important}.game-start{background:var(--game-blue);color:#07192e;cursor:pointer;border:0;border-radius:6px;min-width:210px;padding:13px 22px;font-weight:800}.pause-card{gap:12px}.pause-card button{min-width:200px}.result-panel{justify-content:flex-start;padding-block:22px;overflow:auto}.result-panel h2{margin:2px 0 5px;font-size:1.45rem}.result-score{align-items:baseline;gap:8px;display:flex}.result-score strong{font:800 clamp(2.6rem,7vw,5rem) var(--game-display);color:var(--game-blue)}.result-score span{font:700 .8rem var(--game-display);letter-spacing:.12em}.result-rank{color:#d8eaff!important;margin:0 0 8px!important}.result-rank b{color:var(--game-blue)}.result-meta{color:#a7bbd0;flex-wrap:wrap;justify-content:center;gap:22px;font-size:.82rem;display:flex}.top-celebration{color:#ffe399;background:#654d173d3d;border:1px solid #b8933b;border-radius:50px;margin-bottom:5px;padding:7px 14px;font-weight:800}.result-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:15px;display:flex}.result-actions button,.result-actions a{color:#e4f2ff;cursor:pointer;background:#122640;border:1px solid #416487;border-radius:5px;padding:9px 14px;font-size:.82rem;text-decoration:none}.game-rules{grid-template-columns:1fr 1fr;gap:22px;margin-top:28px;display:grid}.rule-card{background:#0f1f35;border:1px solid #294660;border-radius:8px;padding:23px}.rule-card h2{margin:0 0 12px;font-size:1.2rem}.rule-card ol,.rule-card ul{color:#b5c6d9;margin:0;padding-left:1.3rem;font-size:.9rem;line-height:1.9}.rank-list{grid-template-columns:repeat(2,1fr);gap:7px;display:grid}.rank-list span{color:#b9cadc;background:#09172a;border:1px solid #29445f;border-radius:5px;padding:8px 10px;font-size:.8rem}.rank-list b{color:#76bdf4;margin-right:6px}.treasure-stage{background:radial-gradient(circle at 50% 55%,#204b7955,#0000 45%),linear-gradient(#08152b,#10213c);flex-direction:column;justify-content:center;align-items:center;padding:85px 26px 25px;display:flex}.treasure-character{object-fit:contain;object-position:bottom;filter:drop-shadow(0 12px 25px #0008);width:145px;height:210px;position:absolute;bottom:0;left:25px}.treasure-chest{filter:drop-shadow(0 12px 18px #0008);font-size:clamp(4rem,10vw,7rem);transition:transform .2s}.treasure-chest.level-high{filter:drop-shadow(0 0 22px #ffd76a88);transform:scale(1.12)}.treasure-line{background:#071326;border:1px solid #496d90;border-radius:8px;width:min(680px,82%);height:54px;margin:25px auto 15px;position:relative;overflow:hidden}.success-zone{background:#3fa4d955;border-inline:2px solid #70cfff;height:100%;position:absolute;top:0}.perfect-zone{background:#ffe274a8;height:100%;position:absolute;top:0}.timing-marker{background:#fff;border-radius:4px;width:8px;height:48px;position:absolute;top:3px;box-shadow:0 0 15px #fff}.choice-panel{background:#0a182ddd;border:1px solid #456688;border-radius:9px;flex-direction:column;align-items:center;gap:13px;padding:18px 24px;display:flex}.choice-panel p{color:#d9e9fa;margin:0}.choice-buttons{gap:10px;display:flex}.choice-buttons button{color:#eaf6ff;cursor:pointer;background:#173453;border:1px solid #5480a6;border-radius:6px;padding:11px 18px;font-weight:700}.choice-buttons button:last-child{color:#07192e;background:#8acfff}.floating-message{z-index:4;color:#d9efff;background:#071427dd;border:1px solid #6da6d0;border-radius:50px;padding:7px 15px;font-weight:700;animation:.8s both float-message;position:absolute;top:86px;left:50%;transform:translate(-50%)}@keyframes float-message{0%{opacity:0;transform:translate(-50%,12px)}20%{opacity:1}to{opacity:0;transform:translate(-50%,-8px)}}.treasure-line.is-stopped{border-color:#dbeeff;box-shadow:0 0 0 3px #8acfff22}.timing-marker.success{background:#8ee1ff;box-shadow:0 0 18px #65cfff}.timing-marker.perfect{background:#ffe46f;box-shadow:0 0 22px #ffe46f}.timing-marker.fail{background:#ff8f9d;box-shadow:0 0 18px #ff6478}.score-guide{color:#c6d9ea;flex-wrap:wrap;justify-content:center;gap:10px;margin:-5px 0 12px;font-size:.78rem;font-weight:700;display:flex}.score-guide span{background:#071427cc;border:1px solid #2e4d69;border-radius:50px;align-items:center;gap:5px;padding:5px 9px;display:flex}.score-guide i{border-radius:2px;width:10px;height:10px;display:inline-block}.guide-success{background:#65cfff}.guide-perfect{background:#ffe274}.guide-miss{background:#ff8f9d}.stop-result{color:#9edfff;background:#102943;border:1px solid #4b8fba;border-radius:6px;margin:0 0 10px;padding:7px 13px;font-weight:800}.stop-result.perfect{color:#ffe783;background:#403714;border-color:#b89a45}.stop-result.fail{color:#ffabb4;background:#3e1820;border-color:#a84e5a}@media (max-width:800px){.games-hero{grid-template-columns:1fr 220px;min-height:350px}.games-hero img{width:220px;height:330px}.games-card-grid{grid-template-columns:1fr}.game-stage{aspect-ratio:4/3;min-height:390px}.game-heading{padding-top:20px}.game-rules{grid-template-columns:1fr}.game-top a:first-child{display:none}.game-hud{flex-wrap:wrap;gap:5px;top:9px;left:9px;right:9px}.hud-box{min-width:73px;padding:5px 8px}.hud-box b{font-size:.9rem}.treasure-character{opacity:.55;width:105px;height:150px}.treasure-line{width:95%}}@media (max-width:520px){.games-list-page{padding-top:40px}.games-hero{min-height:520px;display:block;position:relative}.games-hero img{height:280px;position:absolute;bottom:0;right:-15px}.games-hero h1{font-size:2.7rem}.game-nav{height:64px}.game-brand{font-size:1rem}.game-top{gap:5px}.game-top a,.game-top button{padding:7px 8px;font-size:.72rem}.game-heading img{display:none}.game-heading h1{font-size:2rem}.game-stage{border-inline:0;border-radius:0;width:calc(100% + 36px);min-height:430px;margin-left:-18px}.howto{grid-template-columns:1fr;gap:5px}.howto div{padding:7px}.game-overlay{padding:18px}.result-panel{padding-top:15px}.result-actions{gap:6px}.result-actions button,.result-actions a{padding:8px 10px}.rank-list{grid-template-columns:1fr}.treasure-stage{padding-inline:12px}}
