/* Light stationery palette for the backstage screens; live play keeps style.css. */
html:is([data-view="guide"],[data-view="ready"]){color-scheme:light}
html:is([data-view="guide"],[data-view="ready"]) body{background:#fff8ef;background-image:none;color:#59443e;font-family:FanRound,sans-serif}
html:is([data-view="guide"],[data-view="ready"]) header>.tag{font-size:0;letter-spacing:0}
html:is([data-view="guide"],[data-view="ready"]) header>.tag:before{content:'30秒のファンサチャレンジ';font-size:9px;color:#92736c}
html:is([data-view="guide"],[data-view="ready"]) .tools button{color:#775b57;background:#fffdf9;border:1.5px solid #d8bdbd;border-radius:9px}
html:is([data-view="guide"],[data-view="ready"]) h1{font-family:FanRound,sans-serif;font-size:29px;letter-spacing:0;color:#59443e;line-height:1.15;margin:6px 0 12px}
html:is([data-view="guide"],[data-view="ready"]) h1 span{display:block;color:#de6793;font-size:32px}
html:is([data-view="guide"],[data-view="ready"]) h1 i{color:#8c6a65;letter-spacing:1px;font-size:10px;margin-top:6px}
html:is([data-view="guide"],[data-view="ready"]) .arena{background:#fffcf7;border:1.5px solid #dfc7c3;border-radius:18px}
html:is([data-view="guide"],[data-view="ready"]) #overlay{background:#fffcf7;padding:clamp(10px,2dvh,20px)}
#guide>.tag{font-size:0;letter-spacing:0}#guide>.tag:before{content:'あそびかた';font-size:17px;color:#775b57}
#guide h2{font-size:12px;color:#8c6a65;margin:6px 0 12px}
#guide .guide-card{border:1.5px solid #e8cf9e;background:#fff2d5;border-radius:12px;box-shadow:none}
#guide .requests-card{border-color:#dfbfd0;background:#f8edf3}
#guide .guide-card:nth-child(3){border-color:#c3d4bf;background:#edf4ee}
#guide .guide-card b{font-family:FanRound,sans-serif;color:#59443e;font-size:12px}
#guide .guide-card p{color:#78665d;font-size:10px;line-height:1.65}
#guide .rule-fans small{color:#59443e}#guide .rule-note{color:#8b625f}#guide #artStatus{color:#896f65}
html:is([data-view="guide"],[data-view="ready"]) .primary,dialog .primary{background:#f39bb8;border:1.5px solid #c56689;box-shadow:0 3px 0 #c56689;color:#513c39;font-family:FanRound,sans-serif;border-radius:13px;letter-spacing:0}
html:is([data-view="guide"],[data-view="ready"]) button:focus-visible,dialog button:focus-visible{outline:3px solid #9565a7;outline-offset:3px}
#ready>.tag{font-size:0;letter-spacing:0}#ready>.tag:before{content:'今日のアイドル';color:#8c6a65;font-size:12px}
#ready>p,#ready #intro{color:#775b57}#readyName{font-family:FanRound,sans-serif;color:#59443e;letter-spacing:4px}
#readyColor{color:#59443e;background:#fff8ef;border-width:2px;font-family:FanRound,sans-serif}
html[data-view="ready"] nav button{color:#59443e;background:#fffdf9;border:1.5px solid #d8c4c0;border-radius:11px}
html[data-view="ready"] nav .selected{background:#f8b8ce;border-color:#c97091;box-shadow:0 3px 0 #c97091}
dialog{color-scheme:light;background:#fffaf2;color:#59443e;border:2px solid #d8bdbd;box-shadow:0 6px 0 #b897a0;font-family:FanRound,sans-serif;border-radius:18px}
dialog::backdrop{background:#382c4466;backdrop-filter:blur(3px)}
dialog h2{color:#b94e7b}dialog p,dialog .text-button{color:#80665f}dialog .tag{color:#96736c;letter-spacing:1px;font-size:9px}
dialog .secondary{background:#fffdf9;color:#775b57;border:1.5px solid #d8bdbd;border-radius:12px;font-family:FanRound,sans-serif}
dialog .result-ticket{background:none;border-bottom:2px dashed #dcc4bf}
#resultIdentity{color:#80665f}#result .score-ticket{background:#fff0d0;border:1px solid #e8cf9e;border-radius:12px;padding:10px}
#result .score-ticket small{color:#80665f}#result .score-ticket strong{color:#59443e}#result .score-ticket span{color:#94776c;letter-spacing:2px}
#result .stat-grid>div{background:#f5edf4;border:1px solid #e3d0df}#result .stat-grid small{color:#80665f}#result .stat-grid strong{color:#59443e}
#result #best{color:#9a614b!important;letter-spacing:0}#result .special-title{background:#fff0d0;color:#8c6144;border-color:#e8cf9e}
#result details,#result summary{color:#80665f}#result .save-image{background:#f8e5ed;border-color:#d9adbf}
@media(max-height:650px){html:is([data-view="guide"],[data-view="ready"]) h1{font-size:22px;margin:3px 0 8px}html:is([data-view="guide"],[data-view="ready"]) h1 span{display:inline;font-size:22px}#guide>.tag:before{font-size:14px}#guide h2{margin:4px 0 7px;font-size:10px}#guide .guide-card p{font-size:9px}}

#result .share-image-note{font-family:FanRound,sans-serif;font-size:10px;line-height:1.7;color:#80665f;text-align:left;margin:7px 2px 4px}

html:is([data-view="guide"],[data-view="ready"]) h1.game-title{display:flex;justify-content:center;margin:3px 0 8px;line-height:0}h1.game-title img{display:block;width:min(300px,80vw);height:120px;object-fit:contain}@media(max-height:700px){h1.game-title img{width:245px;height:98px}}@media(max-height:600px){h1.game-title img{width:195px;height:78px}html:is([data-view="guide"],[data-view="ready"]) h1.game-title{margin:0 0 5px}}

/* A larger title and a narrower, unboxed instruction column. */
html[data-view="guide"] main{max-width:420px;padding-left:18px;padding-right:18px}
html[data-view="guide"] h1.game-title{height:152px;overflow:hidden;align-items:center;flex-shrink:0;margin:0 0 2px}
html[data-view="guide"] h1.game-title img{width:clamp(350px,108vw,440px);max-width:none;height:176px;flex-shrink:0;object-fit:contain}
html[data-view="guide"] .arena{border:0;background:transparent;border-radius:0}
html[data-view="guide"] #overlay{background:#fff8ef;padding:0 8px 8px;justify-content:center}
#guide{max-width:340px}#guide>.tag{display:block;margin:0 0 9px}#guide>.tag:before{font-size:14px}
#guide .guide-cards{gap:0}
#guide .guide-card,#guide .requests-card,#guide .guide-card:nth-child(3){background:transparent;border:0;border-bottom:1px solid #e5d7cd;border-radius:0;padding:12px 0;min-height:0;gap:14px}
#guide .guide-card:last-child{border-bottom:0}
#guide .guide-card b{font-size:13px}#guide .guide-card p{font-size:11px;line-height:1.7}
#guide .guide-pen,#guide .tap-hand{width:42px;height:54px}
#guide .rule-fans{margin-top:9px;justify-content:space-between;gap:6px}
#guide .rule-fans canvas{width:40px;height:40px}#guide .rule-fans small{font-size:10px}
#guide .rule-note{font-size:9px;line-height:1.8;margin:10px 0 0}
#guide .primary{margin:17px 0 5px;min-height:48px;font-size:15px;border-radius:12px}
@media(max-height:650px){html[data-view="guide"] h1.game-title{height:118px}html[data-view="guide"] h1.game-title img{width:360px;height:144px}#guide>.tag{margin-bottom:4px}#guide .guide-card,#guide .requests-card,#guide .guide-card:nth-child(3){padding:8px 0;gap:10px}#guide .guide-card b{font-size:12px}#guide .guide-card p{font-size:10px}#guide .guide-pen,#guide .tap-hand{height:44px;width:36px}#guide .rule-fans{margin-top:5px}#guide .rule-fans canvas{width:34px;height:34px}#guide .primary{margin-top:11px;min-height:44px}#guide .rule-note{margin-top:7px}}

/* The ready screen introduces the idol; gesture choice begins with live play. */
html[data-view="ready"] nav{display:none}
html[data-view="ready"] main{max-width:420px;padding-left:18px;padding-right:18px}
html[data-view="ready"] .arena{border:0;background:transparent}
html[data-view="ready"] #overlay{background:#fff8ef;padding:8px;justify-content:center}
#ready{max-width:340px}#ready>.tag:before{content:'本日の主役';font-size:12px;letter-spacing:2px}
#ready .idol-catchphrase{font-size:clamp(12px,3.5vw,15px);color:#a84e78;line-height:1.7;margin:11px 0 16px;min-height:26px}
.idol-debut{display:flex;align-items:center;justify-content:center;gap:16px;margin:0 auto 8px;padding:14px 10px 0;border-radius:20px;background:color-mix(in srgb,var(--own) 12%,#fffaf4);border-bottom:3px solid color-mix(in srgb,var(--own) 50%,#e4cec5)}
#readyIdol{display:block;width:125px;height:133px;flex:none;object-fit:contain}
.idol-profile{min-width:0;padding-bottom:10px}#readyName{font-size:40px;letter-spacing:4px;line-height:1.5;margin:0 0 5px}
#readyColor{font-size:14px;padding:5px 13px;background:#fffdf9}
#ready .ready-props{margin:15px 0 5px}#ready .ready-props #readyPropArt{width:160px;height:119px}
#ready #intro{font-size:12px;line-height:1.7;margin:8px 0 15px}#ready .primary{font-size:14px;margin:7px 0 5px;min-height:48px}
@media(max-height:650px){#ready .idol-catchphrase{margin:5px 0 9px;font-size:12px;min-height:20px}#readyIdol{width:96px;height:102px}.idol-debut{padding:8px 8px 0;gap:12px}#readyName{font-size:33px}#ready .ready-props{margin:8px 0 0}#ready .ready-props #readyPropArt{width:130px;height:97px}#ready #intro{margin:6px 0 9px;font-size:11px}#ready .primary{min-height:44px}}

/* Backstage screens fully cover the live canvas. */
html:is([data-view="guide"],[data-view="ready"]) #game{visibility:hidden}
html[data-view="ready"] body{background:#fff8ef;background-image:none}
html[data-view="ready"] #overlay{background:#fff8ef;opacity:1;inset:0}

/* Approved generated decorations, positioned from the reviewed mockup. */
html[data-view="ready"] body{background:#fff8ef;background-image:none}
html[data-view="ready"] h1.game-title{height:152px;overflow:hidden;align-items:center;margin:0 0 7px;flex-shrink:0}
html[data-view="ready"] h1.game-title img{width:clamp(350px,108vw,426px);height:170px;max-width:none;flex-shrink:0;object-fit:contain}
html[data-view="ready"] #overlay{background:#fff8ef;padding:20px 4px 10px;justify-content:center}
#ready{position:relative;max-width:334px;background:#fff8ef;border:1.5px solid #dfc8bd;border-radius:17px;padding:14px;isolation:isolate}
#ready .idol-catchphrase{font-size:12px;line-height:1.7;margin:9px 0 12px;min-height:21px}
#ready .idol-debut{margin-bottom:7px;padding-top:8px;gap:12px;border-radius:15px}
#readyIdol{width:120px;height:128px}#readyName{font-size:36px}#readyColor{font-size:13px;padding:5px 12px}
#ready .ready-props{position:relative;margin:11px 0 5px}#ready .ready-props #readyPropArt{width:168px;height:125px}
#ready #intro{font-size:11px;line-height:1.7;margin:8px 0 13px}#ready .primary{font-size:14px;min-height:46px;margin:5px 0 0}
.ready-bow,.ready-heart{position:absolute;display:block;overflow:hidden;pointer-events:none;user-select:none}
.ready-bow{width:63px;height:44px;right:-3px;top:-20px;z-index:2}
.ready-bow img{position:absolute;display:block;width:120%;height:113.78%;max-width:none;left:-9.77%;top:-5.56%}
.ready-heart{width:25px;height:22px;z-index:1}
.ready-heart img{position:absolute;display:block;width:165%;height:193%;max-width:none;left:-32.24%;top:-46.92%}
.heart-left{left:5px;top:17px}.heart-right{right:3px;bottom:15px;width:19px;height:17px}
@media(max-height:700px){html[data-view="ready"] h1.game-title{height:115px}html[data-view="ready"] h1.game-title img{width:350px;height:140px}#ready{padding:12px}#ready .idol-catchphrase{margin:7px 0 9px;font-size:12px}#readyIdol{width:110px;height:117px}#ready .ready-props #readyPropArt{width:150px;height:112px}#ready .ready-props{margin:9px 0 4px}}
@media(max-height:620px){html[data-view="ready"] h1.game-title{height:87px}html[data-view="ready"] h1.game-title img{width:285px;height:114px}html[data-view="ready"] #overlay{padding:17px 3px 5px}#ready{padding:9px 11px}#ready .idol-catchphrase{font-size:11px;margin:5px 0 7px}#readyIdol{width:89px;height:95px}#readyName{font-size:31px}#ready .idol-debut{padding-top:5px}#ready .ready-props #readyPropArt{width:125px;height:93px}#ready .ready-props{margin:7px 0 2px}#ready #intro{font-size:10px;margin:6px 0 8px}#ready .primary{min-height:44px;font-size:12px}.ready-bow{width:50px;height:35px;top:-16px}.ready-heart{width:20px;height:18px}.heart-right{width:16px;height:14px}}

/* Clearly separated instruction steps within the compact column. */
#guide>.tag{margin-bottom:12px}#guide>.tag:before{font-size:16px;color:#92566e}
#guide .guide-cards{gap:9px}
#guide .guide-card,#guide .requests-card,#guide .guide-card:nth-child(3){background:#fffdfb;border:1.5px solid #ddb4c4;border-radius:13px;padding:10px 12px;box-shadow:0 2px 0 #ecd3dc;gap:10px}
#guide .requests-card{background:#fff3f7}
#guide .guide-card b{display:flex;align-items:center;gap:6px;font-size:12px;color:#59443e}
#guide .step-number{display:inline-flex;align-items:center;justify-content:center;flex:none;width:25px;height:25px;border-radius:50%;background:#f4c3d4;color:#8c4965;font-size:10px;line-height:1}
#guide .guide-card p{font-size:10px;color:#705851;margin-top:5px;line-height:1.7}
#guide .rule-fans{margin-top:8px;justify-content:space-between;gap:4px}#guide .rule-fans>div{gap:3px}#guide .rule-fans small{font-size:9px}
#guide .rule-note{color:#7e5c56;margin-top:13px}#guide .primary{margin-top:14px}
@media(max-width:360px){#guide .guide-card,#guide .requests-card,#guide .guide-card:nth-child(3){padding:9px 10px;gap:8px}#guide .guide-card b{font-size:11px;gap:5px}#guide .guide-card p{font-size:9px}.step-number{width:22px;height:22px}}
@media(max-height:650px){#guide>.tag{margin-bottom:7px}#guide .guide-cards{gap:6px}#guide .guide-card,#guide .requests-card,#guide .guide-card:nth-child(3){padding:6px 9px}#guide .step-number{width:21px;height:21px;font-size:9px}#guide .guide-card p{margin-top:3px;font-size:9px}#guide .rule-fans{margin-top:4px}#guide .rule-note{margin-top:8px}#guide .primary{margin-top:10px}}

#result figure.image-preview{margin:12px 0 10px;padding:5px;background:#fffdf9;border:1px solid #dcc2ca;border-radius:12px}#result figure.image-preview img{width:100%;height:auto;margin:0;border-radius:8px}#result figure.image-preview figcaption{font-size:9px;text-align:center;color:#80665f;margin:5px 0 2px}

/* Shared left edge for every step; illustrations sit to the right. */
#guide .guide-card:not(.requests-card)>div{flex:1;min-width:0}
#guide .guide-pen,#guide .tap-hand{margin-left:auto;flex:none}
#guide .guide-card b{justify-content:flex-start}
#guide .rule-fans{width:auto;margin-left:auto;justify-content:flex-end;gap:12px}
#guide .rule-fans>div{flex-direction:column;gap:1px}
#guide .rule-fans canvas{width:36px;height:48px}
#guide .rule-fans small{font-size:9px;line-height:1.4}
@media(max-height:650px){#guide .rule-fans{gap:10px}#guide .rule-fans canvas{width:30px;height:40px}#guide .guide-card p{font-size:9px}}

/* Centered request examples and a compact result summary. */
#guide .rule-fans{width:100%;margin:10px 0 0;justify-content:center;gap:24px}
#guide .rule-fans canvas{width:48px;height:64px}
#guide .rule-fans>div{gap:3px}#guide .rule-fans small{font-size:10px}
#result .rank-scene{display:block;width:min(160px,48vw);height:auto;aspect-ratio:1;object-fit:contain;margin:8px auto 9px;border:2px solid #dfb9c9;border-radius:13px}
#result .stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px!important;margin-top:7px}
#result .stat-grid>div{padding:5px 2px;min-width:0;border-radius:8px}
#result .stat-grid small{font-size:8px;line-height:1.5;white-space:nowrap}
#result .stat-grid strong{font-size:16px;line-height:1.5}
#resultIdentity{font-size:10px;margin:4px 0}
#result #best{font-size:9px!important;margin:7px 0 3px}
#result .result-ticket{padding-bottom:8px}#result .score-ticket{margin:8px 0;padding:8px}
#result .special-title{font-size:10px;padding:4px 10px;margin:2px 0 3px}
@media(max-width:340px){#result .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#result .stat-grid>div{display:flex;align-items:center;justify-content:space-between;padding:4px 7px}#result .stat-grid strong{font-size:14px}}
@media(max-height:650px){#guide .rule-fans{margin-top:6px;gap:22px}#guide .rule-fans canvas{width:40px;height:53px}#guide .rule-fans small{font-size:9px}#result .rank-scene{width:140px}}

html:is([data-view="guide"],[data-view="ready"]) .legal-links,dialog .legal-links{color:#8a7169}
dialog .legal-links{margin-top:7px;border-top:1px solid #ead8d0;padding-top:5px;font-size:8px}

/* Center props within a deliberate right-hand illustration column. */
#guide .guide-card:not(.requests-card){display:grid;grid-template-columns:minmax(0,1fr) 28%;column-gap:6px}
#guide .guide-card:not(.requests-card)>div{min-width:0}
#guide .guide-pen,#guide .tap-hand{justify-self:center;margin:0}

/* Broad fan heads with short handles in the how-to examples. */
#guide .rule-fans canvas{width:62px;height:62px}
@media(max-height:650px){#guide .rule-fans canvas{width:52px;height:52px}}

#guide .generated-fans{display:block;width:250px;max-width:100%;margin:10px auto 0}
#guide .generated-fans>img{display:block;width:100%;height:auto}
#guide .generated-fans .fan-labels{display:grid;grid-template-columns:repeat(3,1fr);text-align:center;margin-top:4px}
#guide .tap-hand{width:72px;height:70px;object-fit:contain}
@media(max-height:650px){#guide .generated-fans{width:220px;margin-top:6px}#guide .tap-hand{width:60px;height:56px}}

.national-ranking{margin:12px 0 18px;padding:14px;border:1px solid #e4b8cb;border-radius:14px;background:#fffdf9;color:#59443e;text-align:center}.national-ranking h3{font-size:17px;color:#b64f7d;margin:0 0 8px}.national-ranking p{font-size:11px;line-height:1.6;margin:5px 0}.national-ranking ol{list-style:none;padding:0;margin:8px 0}.national-ranking li{display:grid;grid-template-columns:48px 1fr 40px;align-items:center;padding:7px 9px;border-bottom:1px solid #f0e1e7;text-align:left;font-size:12px}.national-ranking li strong{text-align:right;font-size:14px}.national-ranking li small{text-align:right;font-size:9px}.national-ranking .is-you{background:#fce6ef;border-radius:8px}.national-ranking>small{font-size:9px;color:#8b625f}

/* Approved 480 × 800 mockup; scene coordinates match the approved artwork. */
#readyScene{display:none}html[data-view="ready"] main{max-width:480px;padding-left:12px;padding-right:12px}html[data-view="ready"] h1.game-title{height:136px;margin:0;overflow:visible}html[data-view="ready"] h1.game-title img{width:324px;height:130px}html[data-view="ready"] #overlay{padding:0;justify-content:center;align-items:center}#ready.scene-loaded{width:min(100%,calc((100dvh - 200px)*.857142));max-width:480px;aspect-ratio:480 / 560;padding:0;border:0;border-radius:0;background:none;position:relative;flex:none}#ready.scene-loaded>#readyScene{display:block;width:100%;height:100%}#ready.scene-loaded>:not(#readyScene):not(#go){display:none!important}#ready.scene-loaded #go{position:absolute;left:15.8333%;top:86.25%;width:68.3333%;height:8.0357%;min-height:0;margin:0;padding:0;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#ec98bc;box-shadow:none;border:0;font-size:clamp(11px,3vw,17px);line-height:1.2;color:#59443e}@media(max-height:650px){html[data-view="ready"] h1.game-title{height:102px}html[data-view="ready"] h1.game-title img{width:270px;height:108px}#ready.scene-loaded{width:min(100%,calc((100dvh - 166px)*.857142))}}

/* Title guide shares the approved generated star frame and ticket. */
html[data-view="guide"] main{max-width:480px}html[data-view="guide"] h1.game-title{height:122px;margin:0 0 3px}html[data-view="guide"] h1.game-title img{width:324px;height:130px}html[data-view="guide"] .arena{border:0;background:none;overflow:visible}html[data-view="guide"] #overlay{padding:0;justify-content:center;background:#fff8ef;overflow:visible}#guide{position:relative;width:100%;max-width:394px;padding:12px 29px 25px;background:#fff8ef url('assets/ready/frame.webp?v=0811482ec4a2') center / 100% 100% no-repeat;border:0;border-radius:0;box-sizing:border-box}#guideTitle{display:block;width:186px;height:54px;margin:-11px auto 9px;position:relative}#guide .guide-cards{gap:7px}#guide .guide-card,#guide .requests-card,#guide .guide-card:nth-child(3){padding:8px 10px;border:1.5px solid #f080aa;border-radius:13px;background:#fff1f5;box-shadow:none;min-height:64px;gap:5px}#guide .guide-card b{font-size:12px;gap:7px}#guide .step-number{background:#fa719c;color:#fff8ef;width:27px;height:27px;font-size:13px}#guide .guide-card p{font-size:10px;line-height:1.6;margin:4px 0 0}#guide .generated-fans{width:210px;margin:7px auto 0}#guide .generated-fans .fan-labels{margin-top:1px}#guide .guide-pen{height:54px;width:40px}#guide .tap-hand{width:63px;height:58px}#guide .rule-note{background:#ffe5ec;border-radius:10px;font-size:9px;line-height:1.7;padding:6px 3px;margin:8px 0 0}#guide .primary{margin:8px 0 0;min-height:43px;font-size:15px;box-shadow:none;border:0;background:#ec98bc;border-radius:12px}#guide #artStatus:empty{display:none}@media(max-height:700px){html[data-view="guide"] h1.game-title{height:102px}html[data-view="guide"] h1.game-title img{width:285px;height:114px}#guide{max-width:370px;padding:10px 28px 21px}#guideTitle{width:168px;height:48px;margin-bottom:6px}#guide .guide-cards{gap:5px}#guide .guide-card,#guide .requests-card,#guide .guide-card:nth-child(3){padding:6px 9px;min-height:58px}#guide .generated-fans{width:190px;margin-top:4px}#guide .primary{min-height:40px}#guide .rule-note{margin-top:6px;padding:5px 2px}}@media(max-height:600px){html[data-view="guide"] h1.game-title{height:76px}html[data-view="guide"] h1.game-title img{width:235px;height:94px}#guideTitle{width:144px;height:41px;margin-bottom:3px}#guide .guide-card,#guide .requests-card,#guide .guide-card:nth-child(3){padding:4px 7px;min-height:49px}#guide .guide-card p{font-size:9px}#guide .generated-fans{width:155px}#guide .guide-pen,#guide .tap-hand{height:42px}#guide .rule-note{font-size:8px;padding:3px}#guide .primary{min-height:35px;font-size:13px}}

/* The approved title artwork defines every proportion; controls remain real buttons/links. */
#guideApprovedArtwork,#guideLegal{display:none}
html[data-view="guide"]{--guide-w:min(100vw,59.93827dvh);--guide-h:min(100dvh,166.8383vw);--guide-top:calc((100dvh - var(--guide-h))/2)}
html[data-view="guide"] main{max-width:none;width:100%;height:100dvh;padding:0;position:relative}html[data-view="guide"] h1.game-title,html[data-view="guide"] #legalFooter{display:none}html[data-view="guide"] .arena{position:absolute;inset:0;overflow:hidden;height:100%;width:100%;border:0;border-radius:0}html[data-view="guide"] #overlay{padding:0;display:flex;align-items:center;justify-content:center;overflow:hidden}html[data-view="guide"] #guide{width:var(--guide-w);height:var(--guide-h);max-width:none;max-height:none;padding:0;background:none;position:relative;flex:none}html[data-view="guide"] #guide>:not(#guideApprovedArtwork):not(#start):not(#guideLegal):not(#guideScoreNote){display:none!important}html[data-view="guide"] #guideApprovedArtwork{display:block;width:100%;height:100%;object-fit:contain}html[data-view="guide"] #guide #start{position:absolute;left:12.4%;top:89.2%;width:75.2%;height:5.5%;min-height:0;margin:0;padding:0;background:transparent;color:transparent;border:0;box-shadow:none;border-radius:14px}html[data-view="guide"] #guide #start:focus-visible{outline:3px solid #59443e;outline-offset:3px}html[data-view="guide"] header{position:fixed;inset:0;pointer-events:none;z-index:10;min-height:0;height:0}html[data-view="guide"] header>.tag{display:none}html[data-view="guide"] #sound{position:fixed;pointer-events:auto;left:calc(50% + var(--guide-w)*.308);top:calc(var(--guide-top) + var(--guide-h)*.021);width:calc(var(--guide-w)*.165);height:calc(var(--guide-h)*.041);padding:0;background:#ff6197;border:2px solid #4b281e;border-radius:999px;color:white;font-size:clamp(9px,2.5vw,15px);box-shadow:none}html[data-view="guide"] #guideLegal{display:flex;position:absolute;left:19%;top:97.5%;width:62%;height:2%;margin:0;padding:0;align-items:center;justify-content:center;gap:2px;background:#fff8ef;font-size:clamp(5px,1.35vw,8px);white-space:nowrap;line-height:1}html[data-view="guide"] #guideLegal a{color:#775b57;text-decoration:none}

nav #toggleShot{width:100%;display:flex;align-items:center;justify-content:center;gap:12px;min-height:52px;background:#55314b;border:2px solid #ff8ac6;color:#fff8ef}#toggleShot strong{font-size:17px}#toggleShot small{font-size:11px;color:#ffd1eb}#toggleShot>span{display:flex}#toggleShot canvas{width:36px;height:36px}#ready.scene-loaded>.two-shot-help{display:block!important;position:absolute;top:96%;left:9%;width:82%;font-size:9px;line-height:1.35;background:#fff0d5;color:#59443e;border-radius:6px;padding:4px;margin:0}html[data-view="guide"] #guideLegal{top:97.5%}

nav #toggleShot{flex-direction:column;gap:1px;padding:5px 8px;min-height:58px}#toggleShot .shot-current{display:flex;align-items:center;justify-content:center;gap:7px;line-height:1.1}#toggleShot .shot-current canvas{width:30px;height:30px}#toggleShot strong{font-size:17px;line-height:1.2}#toggleShot #nextShotLabel{display:block;font-size:10px;line-height:1.4;letter-spacing:.03em}

nav #toggleShot{width:180px;max-width:65vw;flex:none;margin:0 auto;min-height:58px}

/* Approved white hand bubbles beside the idol. */
html[data-view="live"] nav{display:none}.arena>#toggleShot{position:absolute;left:33.407%;bottom:0;width:32.08%;height:auto;aspect-ratio:145/112;min-height:0;max-width:none;margin:0;padding:0;display:block;background:none!important;border:0!important;box-shadow:none!important;z-index:4;border-radius:22px;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.arena>#toggleShot .shot-current{display:block;width:100%;height:100%}.arena>#toggleShot canvas{display:block;width:100%;height:100%}.arena>#toggleShot strong,.arena>#toggleShot small{display:none}.arena>#toggleShot:active{transform:scale(.95)}.arena>#toggleShot:focus-visible{outline:2px solid #ff8ac6;outline-offset:2px}html:not([data-view="live"]) .arena>#toggleShot{display:none}

#guideScoreNote{display:none}html[data-view="guide"] #guideScoreNote{display:flex;position:absolute;left:12.4%;top:85.5%;width:75.2%;height:5%;flex-direction:column;align-items:center;justify-content:center;gap:1px;background:#ffdfE8;border-radius:12px;color:#4b281e;font:800 calc(var(--guide-w)*.024) / 1.4 FanRound,sans-serif;white-space:nowrap}html[data-view="guide"] #guide #start{top:91.1%;height:3.9%}

@font-face{font-family:NameCherry;src:url('assets/name-font.woff2?v=0811482ec4a2') format('woff2');font-weight:400;font-style:normal;font-display:swap}

/* A single sound-button appearance across title, ready and live screens. */
html[data-view] body main header .tools #sound{display:inline-flex;align-items:center;justify-content:center;flex:none;width:72px;height:30px;min-width:72px;min-height:30px;padding:0 8px;background:#ff6197;color:#fff;border:2px solid #4b281e;border-radius:999px;box-shadow:none;font-family:FanRound,sans-serif;font-size:11px;font-weight:800;line-height:1;letter-spacing:0;white-space:nowrap}html[data-view] body main header .tools #sound:focus-visible{outline:2px solid #ffadcf;outline-offset:2px}

/* Shared header geometry; title artwork contains no duplicate controls. */
html[data-view] body main header{position:fixed;inset:auto;top:max(8px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);width:min(456px,calc(100vw - 24px));height:30px;min-height:30px;display:flex;align-items:center;justify-content:space-between;pointer-events:none;z-index:10;margin:0}html[data-view] body main header>.tag{display:block;pointer-events:none}html[data-view] body main header .tools{display:flex;align-items:center;gap:6px;pointer-events:auto}html[data-view] body main header .tools #sound{position:static;left:auto;right:auto;top:auto;bottom:auto;transform:none}html[data-view="ready"] main,html[data-view="live"] main{padding-top:42px}html[data-view="guide"]{--guide-w:min(100vw,calc((100dvh - 36px)*.5993827));--guide-h:min(calc(100dvh - 36px),166.8383vw);--guide-top:calc(36px + (100dvh - 36px - var(--guide-h))/2)}html[data-view="guide"] .arena{top:36px;bottom:0;height:calc(100% - 36px)}

#cloudChangeHint{position:absolute;left:66%;bottom:7%;z-index:4;padding:4px 6px;border-radius:8px;background:#fff8ef;color:#633c2c;border:1px solid #d1acbc;font-size:clamp(10px,2.6vw,12px);font-weight:800;pointer-events:none;white-space:nowrap}html:not([data-view='live']) #cloudChangeHint{display:none}
