
/* Pote Game v7 */
.pote-game-shell{max-width:1100px;margin:0 auto;padding:18px}.pote-view{display:none}.pote-view.active{display:block}
.title-screen-wrap{position:relative;max-width:980px;margin:auto;border-radius:24px;overflow:hidden;box-shadow:0 16px 50px #0002}.title-screen-img{display:block;width:100%;height:auto}
.title-hotspot{position:absolute;border:0;background:transparent;cursor:pointer;border-radius:18px}.title-hotspot:hover{background:#fff2;box-shadow:0 0 0 4px #fff8 inset}
.start-hotspot{left:48%;top:45%;width:33%;height:11%}.howto-hotspot{left:51%;top:57.5%;width:28%;height:9%}.rank-hotspot{left:51%;top:68.5%;width:28%;height:9%}
.pixel-page{max-width:820px;margin:auto;padding:32px;border:5px solid #6b3a16;border-radius:20px;background:#fff7dc;box-shadow:0 10px 0 #c98a36;font-family:system-ui,sans-serif}.pixel-page h2{text-align:center;font-size:clamp(28px,5vw,52px);margin:0 0 18px;color:#8b4a17;text-shadow:2px 2px #ffd47c}
.howto-grid{display:grid;gap:14px;margin:24px 0}.howto-grid>div{padding:18px;border:3px solid #e9b456;border-radius:14px;background:#fff}.howto-grid b,.howto-grid span,.howto-grid small{display:block}.howto-grid span{font-size:22px;font-weight:800;color:#ff4775;margin:6px 0}
.pixel-btn,.mini-pixel-btn{border:3px solid #743c19;background:#ff5d83;color:white;font-weight:900;border-radius:12px;padding:12px 22px;box-shadow:0 5px 0 #a72d4d;cursor:pointer}.rank-list{font-size:20px;line-height:2.1;min-height:220px}
.game-topbar,.fullness{display:flex;align-items:center;gap:14px;justify-content:space-between;max-width:900px;margin:8px auto;font-weight:800}.fullness-track{flex:1;height:20px;border:3px solid #713b1a;border-radius:20px;overflow:hidden;background:#fff}.fullness-track i{display:block;height:100%;width:0;background:linear-gradient(90deg,#ff9eb7,#ff4775);transition:width .2s}
.game-stage{position:relative;max-width:900px;height:520px;margin:auto;overflow:hidden;border:5px solid #7a461d;border-radius:22px;background:linear-gradient(#7fd8ff 0 58%,#b7e979 58%);touch-action:none}.pote-player{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);width:170px;height:220px;display:flex;align-items:flex-end;justify-content:center;z-index:3}.pote-player img{max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 5px 3px #0003)}
.food{position:absolute;left:0;top:0;z-index:2;font-size:36px;font-weight:900;will-change:transform}.food.good{font-size:20px;padding:10px 12px;border-radius:50%;background:#d9485f;color:#fff;box-shadow:inset 0 -5px #8d2030,0 3px 5px #0003}.game-message{position:absolute;top:14px;left:50%;transform:translateX(-50%) scale(.8);opacity:0;z-index:8;padding:9px 16px;border-radius:999px;background:#fff;color:#d43b63;font-weight:900;transition:.18s}.game-message.show{opacity:1;transform:translateX(-50%) scale(1)}
.game-controls{display:flex;justify-content:center;gap:18px;margin:12px}.game-controls button{width:100px;height:54px;border:3px solid #743c19;border-radius:15px;background:#ffd66b;font-size:28px;font-weight:900}
.scratch-layer{pointer-events:none;position:absolute;inset:0;z-index:9}.scratch-layer.active:before,.scratch-layer.active:after{content:"";position:absolute;left:15%;top:10%;width:8px;height:80%;background:#fff;transform:rotate(24deg);box-shadow:22px 0 #fff,44px 0 #fff}.scratch-layer.active:after{left:70%;transform:rotate(-24deg)}
@media(max-width:650px){.pote-game-shell{padding:8px}.title-screen-wrap{border-radius:12px}.game-stage{height:430px}.pote-player{width:135px;height:185px}.game-topbar{font-size:13px}.pixel-page{padding:20px}.title-hotspot{border-radius:8px}}

/* v7.1 ranking readability */
#poteRankingView .pixel-page{color:#4b2a16;background:#fff8e6}
#poteRankingView .pixel-page>p{color:#6b3a1d;font-weight:800;text-align:center}
#poteRankingView .rank-list{color:#3f2517;background:#fff;border:3px solid #e9b456;border-radius:16px;padding:18px 22px 18px 52px}
#poteRankingView .rank-list li{color:#3f2517;font-weight:900;border-bottom:1px dashed #e7c88d;padding:5px 8px}
#poteRankingView .rank-list li:last-child{border-bottom:0}
#poteRankingView .rank-list small{color:#855f42;font-weight:700}
