#tope#tope button,#tope#tope main,#tope#tope nav,#tope#tope h1,#tope#tope small,#tope#tope i,#tope#tope p{all:revert;box-sizing:border-box;margin:0}
#tope#tope svg{all:revert}

#tope{--ink:#3a2414;--wood:#6b4126;--wood2:#8a5a36;--gold:#d9a845;--gold2:#f3d58a;--cream:#f7ecd6;}
#tope,#tope#tope *{box-sizing:border-box;margin:0}
#tope{position:fixed;inset:0;z-index:10;overflow-y:auto;overflow-x:hidden;font-family:"Noto Sans CJK JP","Hiragino Sans",sans-serif;color:var(--ink);min-height:100vh;
background:radial-gradient(120% 70% at 50% 18%,#fff3d6 0,#f1d9ab 38%,#c98f55 72%,#7a4a2a 100%);}#tope#tope .wall{position:fixed;inset:0;z-index:-1;background:
 repeating-linear-gradient(90deg,rgba(120,70,30,.06) 0 2px,transparent 2px 46px),
 radial-gradient(40% 30% at 50% 8%,rgba(255,226,150,.75),transparent 70%);}#tope#tope .floor{position:fixed;left:0;right:0;bottom:0;height:30vh;z-index:-1;background:
 repeating-linear-gradient(90deg,#7b4b2b 0 120px,#6e4226 120px 122px,#85532f 122px 240px,#6e4226 240px 242px);
 box-shadow:inset 0 14px 18px -8px rgba(0,0,0,.35);}#tope#tope .floor:before{content:"";position:absolute;left:0;right:0;top:-14px;height:14px;background:linear-gradient(#a2683c,#5a341c)}#tope#tope main{max-width:1180px;margin:auto;padding:28px 16px 40px;width:100%;overflow-x:clip;display:grid;gap:22px;justify-items:center}#tope#tope .logo{text-align:center}#tope#tope .logo h1{font-family:"Arial Black","Noto Sans CJK JP",sans-serif;font-weight:900;letter-spacing:.04em;
 font-size:clamp(44px,8vw,96px);line-height:.95;color:#fff6e0;
 -webkit-text-stroke:3px #5a321a;paint-order:stroke fill;text-shadow:0 5px 0 #5a321a,0 10px 20px rgba(60,30,10,.35)}#tope#tope .logo h1 span{color:var(--gold2)}#tope#tope .pill{display:inline-block;margin-top:12px;padding:6px 18px;border-radius:99px;background:var(--cream);
 border:1.5px solid var(--gold);font-size:12px;letter-spacing:.25em;font-weight:700;color:var(--wood)}#tope#tope .stage{position:relative;overflow:hidden;aspect-ratio:100/56;width:100%;max-width:640px;min-width:0}#tope#tope .stage:after{content:"";position:absolute;left:4%;right:4%;bottom:2%;height:10%;z-index:0;border-radius:50%;background:radial-gradient(closest-side,rgba(50,25,10,.35),transparent)!important}#tope#tope .stage img{position:relative;width:var(--w);height:auto;flex:0 0 auto;min-width:0;margin:0 -1.2%;z-index:var(--z,1);
 filter:drop-shadow(0 6px 6px rgba(60,30,10,.3))}#tope#tope .cta{display:grid;min-width:0;gap:12px;width:100%;max-width:560px}#tope#tope .btn{display:flex;align-items:center;justify-content:center;gap:12px;border:0!important;border-radius:16px;cursor:pointer;
 font-family:inherit;font-weight:800;font-size:18px;line-height:1;flex-direction:column;letter-spacing:.14em;padding:18px;box-shadow:0 5px 0 rgba(70,38,16,.85),inset 0 2px 0 rgba(255,255,255,.45)!important}#tope#tope .btn small{font-size:11px;letter-spacing:.05em;font-weight:700;opacity:.85}#tope#tope .play{flex-direction:row;background:linear-gradient(#f6d47e,#d9a240)!important;color:#4a2a12!important;font-size:26px;padding:24px;border:2px solid #fbe7b0!important}#tope#tope .row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}#tope#tope .fr{background:linear-gradient(#8c5a35,#6a3f22)!important;color:#fbeed3!important}#tope#tope .st{background:linear-gradient(#fbf2df,#ead7b2)!important;color:var(--wood)!important}#tope#tope .icons{display:flex;gap:clamp(4px,1.6vw,18px);justify-content:center;flex-wrap:nowrap;width:100%}#tope#tope .ic{white-space:nowrap;letter-spacing:-.02em;flex:1 1 0;max-width:96px;font-family:inherit;display:grid;justify-items:center;gap:6px;font-size:12px;font-weight:700;color:#fff3dc!important;text-shadow:0 1px 2px #3a1f0c;background:none!important;border:0!important;cursor:pointer}#tope#tope .ic i{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 35% 30%,#fff6dd,#eed7a6 60%,#c9974f)!important;border:2px solid #a8742f!important;box-shadow:0 4px 0 #5a341a,0 8px 14px rgba(0,0,0,.25)!important}#tope#tope .ic svg{width:30px;height:30px;fill:none;stroke:#6b3f1f;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}#tope#tope .ic.mg i{width:76px;height:76px;background:radial-gradient(circle at 35% 30%,#fff1bf,#f0c55a 60%,#b67d1d)!important;border-color:#fff0b8!important;box-shadow:0 4px 0 #6b4012,0 0 0 4px rgba(243,213,138,.45),0 10px 22px rgba(217,168,69,.6)!important}#tope#tope .ic.mg{color:#ffe7a3!important}#tope#tope .note{font-size:11px;color:#f3e2c2;text-align:center;opacity:.85}
@media(min-width:1000px){#tope#tope main{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:center;column-gap:40px;padding-top:44px}#tope#tope .logo,#tope#tope .stage{grid-column:1}#tope#tope .stage{grid-row:2}#tope#tope .side{grid-column:2;grid-row:1/3;display:grid;gap:26px;justify-items:center;width:100%}#tope#tope .note{grid-column:1/3}}
@media(max-width:999px){#tope#tope .side{display:contents}#tope#tope .ic i{width:54px;height:54px}#tope#tope .ic.mg i{width:64px;height:64px}#tope#tope .ic svg{width:26px;height:26px}#tope#tope .ic{font-size:10.5px}#tope#tope .btn{font-size:15px}#tope#tope .play{font-size:24px}}#tope#tope .stage img{position:absolute;height:auto;filter:drop-shadow(0 6px 6px rgba(60,30,10,.3))}#tope#tope .stage img.bk{filter:brightness(.92) drop-shadow(0 4px 5px rgba(60,30,10,.25))}
@media(max-width:999px){#tope#tope .logo h1{font-size:clamp(64px,19vw,84px);-webkit-text-stroke:4px #5a321a}#tope#tope .pill{font-size:11px;letter-spacing:.2em}#tope#tope main{gap:14px;min-height:100svh;align-content:space-evenly;padding-top:max(20px,3svh);padding-bottom:max(20px,3svh)}#tope#tope .stage{aspect-ratio:100/50}#tope#tope .stage img.bk{bottom:40%!important}}@media(min-width:1000px){#tope#tope .stage{margin-top:-36px}}
@media(max-width:999px) and (max-height:720px){#tope#tope .logo h1{font-size:58px}#tope#tope .pill{margin-top:8px}#tope#tope .play{padding:16px}#tope#tope .btn{padding:12px}#tope#tope .ic i{width:48px;height:48px}#tope#tope .ic.mg i{width:56px;height:56px}#tope#tope main{gap:10px}}
@media(min-width:1000px){#tope#tope main{min-height:100svh;align-content:center;row-gap:8px;padding-top:4svh;padding-bottom:9svh}#tope#tope .note{position:fixed;left:0;right:0;bottom:3svh}}

#solo-top #home-main{visibility:hidden}#solo-top{background:#f7ecd6}
#tope#tope .wall,#tope#tope .floor{position:absolute}
#tope#tope .btn:disabled{opacity:.55;cursor:not-allowed}
#tope#tope .resume{background:linear-gradient(#fff7e4,#efd9ad)!important;color:#4a2a12!important;font-size:15px;padding:12px}
#tope#tope .resume[hidden]{display:none}
#tope#tope .rm{background:linear-gradient(#5d3a20,#432612)!important;color:#fbeed3!important;padding:13px;font-size:15px}

#tope#tope button:hover{filter:brightness(1.05)}
/* v38 credit line */
#tope#tope .note .credit{display:block;margin:2px 0 0;text-align:center;font-size:10px;letter-spacing:.08em;color:#e9d6b4;opacity:.75;white-space:nowrap;font-family:inherit}
#tope#tope .logo .ddpt-logo{display:block;height:clamp(44px,8svh,72px);width:auto;margin:6px auto 0}
@media (max-height:700px) and (max-width:600px){#tope#tope .note .credit{display:inline;margin:0 0 0 8px}}
/* v40: 7 icons (キャラの部屋・勝率グラフ) */
#tope#tope .icons .ic{white-space:normal;line-height:1.15;min-width:0;text-align:center;word-break:keep-all;overflow-wrap:anywhere}
@media (max-width:600px){#tope#tope .icons{gap:2px}#tope#tope .icons .ic{font-size:9.5px;gap:4px}#tope#tope .icons .ic i{width:44px;height:44px}#tope#tope .icons .ic svg{width:22px;height:22px}}
#tope#tope .note .credit{text-transform:none!important}
#tope#tope .icons .ic{flex:1 1 0;width:0;max-width:96px}
@media (max-width:600px){#tope#tope .icons .ic i{width:40px;height:40px}#tope#tope .icons .ic svg{width:20px;height:20px}#tope#tope .icons .ic{font-size:9px}}
@media (max-height:700px) and (max-width:600px){#tope#tope .logo .ddpt-logo{height:40px;margin-top:4px}}
/* v40 logo +20% & lower */
#tope#tope .logo .ddpt-logo{height:clamp(53px,9.6svh,86px);margin:14px auto 0}
@media (max-height:700px) and (max-width:600px){#tope#tope .logo .ddpt-logo{height:48px;margin-top:8px}}
/* v41: narrow phones -> 2 rows (4+3), labels never break */
#tope#tope .icons .ic{white-space:nowrap;word-break:keep-all;overflow-wrap:normal}
@media (max-width:600px){#tope#tope .icons{flex-wrap:wrap;row-gap:6px;column-gap:4px;justify-content:center}#tope#tope .icons .ic{flex:0 0 23%;width:auto;max-width:none;font-size:10px;gap:3px}#tope#tope .icons .ic i{width:38px;height:38px}#tope#tope .icons .ic svg{width:19px;height:19px}}
@media (max-height:700px) and (max-width:600px){#tope#tope .icons .ic i{width:34px;height:34px}#tope#tope .icons .ic svg{width:17px;height:17px}#tope#tope .icons{row-gap:3px}#tope#tope .logo .ddpt-logo{height:42px;margin-top:6px}}
