.playerPage{height:100dvh;min-height:0;overflow:hidden;display:flex;flex-direction:column;background:#1c1916}.playerBar{min-height:48px;padding:4px max(12px,env(safe-area-inset-right)) 4px max(12px,env(safe-area-inset-left));display:flex;gap:14px;align-items:center;flex-shrink:0}.playerBar strong{font-size:14px;color:#f7e5c4}.playerBar #wallet{margin-left:auto;font-size:12px;color:#d3c3ac}.playerBar button{white-space:nowrap}#stage{flex:1;position:relative;min-height:0;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 40%,#514538,#241e1a)}#game{border:0;width:100%;height:100%;max-width:1600px;display:block;background:#ecd6ac}#game[hidden]{display:none}body[data-orientation=portrait] #game{max-width:590px}#loading{position:absolute;inset:0;display:flex;z-index:3;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:30px;background:#28221d}#loading[hidden]{display:none}#loading h1{font-size:22px;margin-top:25px}#loading p{font-size:13px;color:#c8b69e;max-width:360px}.loadingRing{height:46px;width:46px;border:2px solid #665642;border-top-color:#f7d698;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}#rotate{position:fixed;inset:0;background:#201b16ed;backdrop-filter:blur(15px);z-index:8;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}#rotate[hidden]{display:none}#rotate>span{font-size:70px;color:#ebc389}#rotate p{line-height:1.8;margin:20px}.noticeDialog p{line-height:1.8}.noticeDialog .coinIcon{width:28px;height:28px;vertical-align:middle}.balanceCount{font-size:44px;color:#e6b75e}.playerPage .noticeDialog{max-height:85dvh;overflow:auto}@media(max-width:600px){.playerBar{gap:6px}.playerBar strong{font-size:12px}.playerBar .quiet{font-size:12px;padding:6px}.playerBar #wallet{font-size:10px}}@media(max-height:500px){.playerBar{min-height:32px}.playerBar .quiet{padding:3px 8px}}
/* Fit the visible browser area, including browser bars and the on-screen keyboard. */
.playerPage{position:fixed;top:var(--arcade-top,0px);left:0;width:100%;height:var(--arcade-height,100dvh);overscroll-behavior:none}
.playerBar{padding-top:max(4px,env(safe-area-inset-top));gap:12px}.playerBar strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.playerBar #wallet{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.playerBar button{flex-shrink:0;min-height:38px}.playerBar .iconButton{display:grid;place-items:center;width:38px;padding:6px}.iconButton svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}#haptics[data-enabled=false]{color:#8f8273}#haptics[data-enabled=true]{color:#f5d39b}#fullscreen{display:inline-block;border:1px solid #796347;border-radius:9px;color:#ffe2ac;padding:6px 10px;font-size:12px}
#stage{min-width:0;overflow:hidden}#game{min-height:0;min-width:0}
#displayNotice{position:fixed;top:calc(max(4px,env(safe-area-inset-top)) + 52px);left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 28px);padding:12px 16px;border:1px solid #957c55;border-radius:12px;background:#30281ff2;color:#ffedcc;font-size:12px;line-height:1.65;z-index:12;pointer-events:none}#displayNotice[hidden]{display:none}
.playerPage .noticeDialog{max-height:calc(var(--arcade-height,100dvh) - 24px)}
@media(max-width:600px){.playerBar{gap:4px;padding-inline:max(8px,env(safe-area-inset-left)) max(8px,env(safe-area-inset-right))}.playerBar strong{display:none}.playerBar #wallet{flex:1;font-size:10px}.playerBar .iconButton{width:36px}#fullscreen{padding:6px 8px;font-size:11px}}
@media(max-height:500px){.playerBar{min-height:38px}.playerBar button{min-height:32px}}

/* The existing top bar carries trial status; preserve the phone's home indicator inset. */
.playerPage{box-sizing:border-box;padding-bottom:env(safe-area-inset-bottom)}
.playerBar #wallet[data-mode=guest]{white-space:normal;line-height:1.35;flex-shrink:0}
#wallet[data-mode=guest] span,#wallet[data-mode=guest] small{display:block}
#wallet[data-mode=guest] small{font-size:10px;color:#c9b99e}
#hapticPanel{position:fixed;top:calc(max(4px,env(safe-area-inset-top)) + 48px);right:max(8px,env(safe-area-inset-right));width:min(330px,calc(100% - 16px));max-height:calc(var(--arcade-height,100dvh) - 72px);overflow:auto;box-sizing:border-box;padding:12px 16px 16px;border:1px solid #957c55;border-radius:16px;background:#30281f;color:#ffedcc;box-shadow:0 12px 35px #0007;z-index:13}
#hapticPanel[hidden]{display:none}.feedbackHeading,.feedbackActions{display:flex;gap:10px;align-items:center}.feedbackHeading{justify-content:space-between;margin-bottom:8px}.feedbackHeading strong{font-size:15px}#hapticClose{font-size:24px;padding:0 8px;line-height:32px}.feedbackActions button{flex:1;min-height:42px;font-size:12px;padding:8px;border-radius:10px}#hapticToggle{border:1px solid #806d55}#hapticToggle[aria-pressed=true]{border-color:#dfb46d;color:#ffe0a7}#hapticPanel button:disabled{opacity:.5;cursor:default}#hapticStatus{margin:12px 0 0;font-size:12px;line-height:1.7}

#sound[data-enabled=true]{color:#f5d39b}#sound[data-enabled=false]{color:#8f8273}
#rotate h2{font-size:24px;margin:10px 0 0}#rotate small{color:#cbb89a;font-size:12px}#rotate a{margin:8px 0 20px}
#experienceDialog{position:fixed;inset:0;z-index:20;display:flex;flex-direction:column;overflow:auto;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));background:#1c1916f5}
#experienceDialog[hidden]{display:none}.experienceCard{width:min(580px,100%);margin:auto;background:linear-gradient(145deg,#3a3024,#262119);border:1px solid #9e825244;border-radius:22px;padding:clamp(18px,4vw,30px);box-shadow:0 16px 80px #0005}.experienceCard .eyebrow{font-size:10px;margin:0 0 10px;color:#e7c486;letter-spacing:2px}.experienceCard h1{font-size:clamp(21px,4vw,26px);color:#ffebcb;margin:0 0 8px}.experienceLead{font-size:12px;line-height:1.6;color:#cabcaa;margin:0 0 16px}.experienceTests{display:grid;grid-template-columns:1fr 1fr;gap:10px}.experienceTests section{border:1px solid #e0bf8740;background:#201c1770;border-radius:13px;padding:12px;min-width:0}.experienceTests h2{font-size:14px;margin:0 0 12px;color:#f9dda8}.experienceTests button{background:#b68b4518;font-size:12px;min-height:40px;width:100%;border-color:#b99660;color:#ffe5b4}.experienceTests p{font-size:11px;line-height:1.65;color:#d8c7b0;margin:10px 0 0;overflow-wrap:anywhere}#experienceFeel{display:flex;gap:6px;margin-top:8px}#experienceFeel button{width:auto;flex:1;padding:4px;font-size:11px;border:1px solid #b9966080;border-radius:8px}#experienceRecommend,#experienceOrientation{font-size:12px;line-height:1.65;padding:10px 12px;border-radius:10px;background:#d6aa681a;color:#f3d69e;margin:12px 0 0}.experienceActions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:16px}.experienceActions>*{font-size:12px;min-height:42px;display:grid;place-items:center;padding:9px 12px}.experienceActions .primary{flex:1}
@media(max-height:500px){.experienceCard{padding:16px 20px}.experienceCard h1{font-size:20px}.experienceCard .eyebrow{margin-bottom:6px}.experienceLead{margin-bottom:10px}.experienceTests section{padding:10px}.experienceTests h2{margin-bottom:8px}.experienceTests p{margin-top:6px}.experienceActions{margin-top:10px}}
