.developer-card{margin-top:24px;padding:18px;border:1px solid #ddbd7b40;border-radius:14px;background:#2c221c;color:#f6e7cd;font-size:16px;line-height:1.8}
.brand-section{margin-top:18px;padding-top:4px;border-top:1px solid #94734a55}.developer-brand img{flex-shrink:0}.developer-brand>div{min-width:0}
.developer-brand{display:flex;align-items:center;gap:14px}.developer-brand img{width:100px;height:68px;object-fit:contain;background:#fff5df;border-radius:9px;padding:7px}.developer-brand span{display:block;color:#d3b994;font-size:13px}.developer-brand strong{font-size:19px;color:#ffdb99}
.developer-card summary{cursor:pointer;min-height:44px;padding-top:12px;font-size:16px;font-weight:700;color:#ffdc9b}.developer-card h3{font-size:18px;margin:18px 0 8px}.developer-card p{margin:8px 0}.developer-card .brand-links{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.brand-links a{min-height:44px;display:flex;align-items:center;padding:6px 12px;border:1px solid #b78d4d;border-radius:8px;color:#ffe1ab;text-decoration:none}.brand-links a:focus-visible{outline:3px solid #ffce7c;outline-offset:3px}.brand-contact{font-size:14px;color:#ddc5a4}.brand-contact a{color:inherit}.usage-notice{font-size:13px;color:#c9b292;border-top:1px solid #94734a55;padding-top:12px}
@media(max-width:400px){.developer-card{padding:14px}.developer-brand{gap:10px}.developer-brand img{width:88px}.developer-brand strong{font-size:17px}}
.developer-card>.developer-brand img{width:140px;padding:4px;background:#fff}.developer-card>.developer-brand{flex-wrap:wrap}
.menu-leaderboard{margin:20px 0;padding:16px;border:1px solid #b78d4d66;border-radius:12px;background:#291d17}.menu-leaderboard h2{font-size:21px;margin:0 0 6px}.menu-leaderboard p{font-size:14px;color:#dbbf94;margin:6px 0}.menu-leaderboard .ranking-list{padding:0}.ranking-list .rank-player{min-width:0;overflow-wrap:anywhere}.ranking-list strong{white-space:nowrap}.ranking-list strong small{font-size:12px}.ranking-list li{font-size:16px}.ranking-list .rank-player small{font-size:13px}
html.game-active,html.game-active body{overscroll-behavior:none;overflow:hidden}.game .stage-wrap,.game .cut-btn{touch-action:none;overscroll-behavior:none}#modal{overscroll-behavior:contain}.focused-play #pass-rule{display:inline;font-size:11px;margin-left:4px;color:#e8c68d}#stock-life{display:block;font-size:11px;line-height:1.2;color:#cbb08a}#stock-life.stock-urgent{color:#ff9979}
.mode-picker{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.mode-picker button{min-height:76px;padding:12px 8px;border:1px solid #b78d4d;border-radius:12px;background:#302119;color:#ffe1ab;font:700 18px inherit;font-size:18px;cursor:pointer}.mode-picker small{display:block;margin-top:6px;font-size:13px;font-weight:400}.mode-picker button[aria-pressed="true"]{background:#82371f;border:2px solid #ffcf7d;color:#fff3d4;box-shadow:0 0 0 2px #ffcf7d22}.mode-picker button:focus-visible{outline:3px solid #fff0bb;outline-offset:3px}.mode-note{font-size:16px;line-height:1.7;color:#e8cda9;margin:12px 0 20px}
.customer-talk{position:absolute;top:22%;width:min(34%,155px);z-index:4;pointer-events:none;background:#fff2d9;color:#43251a;border:2px solid #be8047;border-radius:14px;padding:10px;box-shadow:0 4px 12px #1b100b66;font-size:17px;line-height:1.45;overflow-wrap:anywhere}.customer-talk.left{left:5px}.customer-talk.right{right:5px;top:48%;background:#ffe2a6}.customer-talk b{display:block;font-size:12px;color:#87502a;margin-bottom:4px}.customer-talk[hidden]{display:none}.customer-talk::after{content:'';position:absolute;bottom:-9px;width:12px;height:12px;background:inherit;border-right:2px solid #be8047;border-bottom:2px solid #be8047;transform:rotate(45deg)}.customer-talk.left::after{left:16px}.customer-talk.right::after{right:16px}
@media(max-height:550px){.customer-talk{top:8%;padding:6px;font-size:15px}.customer-talk.right{top:43%}.customer-talk b{font-size:11px;margin-bottom:1px}}

/* Skill scoring: one compact line, detailed only on results. */
.score-chase{display:flex;justify-content:space-between;gap:6px;font-size:13px;color:#ffe0a1;padding:3px 10px;flex-wrap:wrap}.score-chase b{color:#ffd06c}.score-breakdown{display:grid;gap:5px;margin:14px 0;text-align:left;font-size:16px}.score-breakdown span{display:flex;justify-content:space-between;gap:12px}.score-breakdown b{color:#ffd17c}

.score-chase{position:absolute;z-index:4;bottom:5px;left:5px;right:5px;background:#24160cdb;border:1px solid #be8c4b66;border-radius:8px;pointer-events:none;line-height:1.5;font-size:12px;padding:4px 7px}.score-chase b,.score-chase span{white-space:nowrap}

.score-chase{display:grid;grid-template-columns:auto 1fr;column-gap:10px;row-gap:0}.score-chase>strong{grid-row:span 2;align-self:center;font-size:20px;color:#fff1c0;letter-spacing:-.5px}.score-chase>b,.score-chase>span{text-align:right;font-size:12px}.score-chase>span{color:#e4c595}

.game-introduction h2{font-size:19px;color:#ffd48a;margin:10px 0 5px}.game-introduction .intro{margin:5px 0}.game-about-copy{font-size:16px;line-height:1.65;color:#d9bea1;margin:8px 0 16px}

.language-switch{display:flex;justify-content:flex-end;margin-bottom:14px}.language-switch a{color:#ffd38a;border:1px solid #94714f;border-radius:999px;padding:7px 16px;text-decoration:none;font-size:14px}.language-switch a:focus-visible{outline:3px solid #ffd38a;outline-offset:4px}#game-origin{margin:18px 0;padding:18px;border:1px solid #765036;border-radius:16px;background:#21140e80}#game-origin h2{font-size:18px;margin:0 0 12px}#game-origin p{font-size:14px;line-height:1.75;margin:10px 0}#game-origin a{color:#ffd38a}
