/* App-owned workshop and comparison layouts. No shared component overrides. */
.release-settings-content{flex-direction:column;gap:8px}
.release-setting-list{gap:8px}
.release-setting-row{min-height:55px}
.audio-status{font-size:11px;line-height:1.35;text-align:center;margin:0;color:#345b69;max-width:650px}
.quality-shelf-paging{gap:8px;flex-wrap:wrap}
.quality-shelf-paging #compare-keepsakes{font-size:12px;min-height:48px;padding:6px 12px}
.compare-screen{height:100%;min-height:0;padding:20px;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:12px;overflow:auto;color:#234d61;background:linear-gradient(#e6fbff,#fff7d7)}
.compare-screen header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.compare-screen h1{font-size:clamp(20px,4vw,30px);margin:0}
.compare-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-height:0}
.compare-pair article{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:0;gap:10px;padding:12px;border:3px solid white;border-radius:22px;background:#fffdf2}
.compare-pair h2{font-size:14px;margin:0;text-align:center}
.compare-pair strong{text-align:center;font-size:14px;line-height:1.4}
.compare-pair small{text-align:center;font-size:11px}
.compare-art{display:flex;justify-content:center;align-items:center;min-height:0;flex:1;max-height:240px;width:100%}
.compare-art>svg{width:100%;max-height:100%;height:100%}
.compare-art .memory-star{width:90px;height:90px}
.compare-screen>p{font-size:14px;line-height:1.4;text-align:center;margin:0}
.compare-screen footer{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.compare-screen footer button{min-width:48px;min-height:48px;font-size:13px}
.quality-play{grid-template-rows:6px auto minmax(60px,1fr) minmax(75px,auto) auto auto auto 48px;gap:6px}
.quality-play .plus-progress{grid-row:1}.quality-play .plus-prompt{grid-row:2}.quality-play .plus-scene{grid-row:3}.quality-play .plus-choices{grid-row:4}.quality-play .workshop-tools{grid-row:5}.quality-play .plus-feedback{grid-row:6}.quality-play .workshop-save-note{grid-row:7}.quality-play .plus-next{grid-row:8}
.sequence-play{grid-template-rows:6px auto 0 minmax(75px,1fr) auto auto auto 48px}
.quality-play .plus-scene:empty{display:none}
.quality-play.sequence-play .plus-scene{display:none}
.quality-play .plus-prompt{margin:0;font-size:clamp(16px,2.2vw,23px);line-height:1.3;text-align:center}
.workshop-tools{min-height:0}
.sequence-order{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;list-style:none;margin:0 0 6px;padding:0}
.sequence-order li{border:2px dashed #84bdc2;border-radius:12px;background:#effafa;display:flex;gap:4px;align-items:center;justify-content:center;padding:6px;font-size:11px;line-height:1.2;min-height:40px;text-align:center}
.sequence-order li>span{flex:none;border-radius:50%;background:#fff4b8;font-weight:800;padding:4px}
.sequence-tools{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:6px}
.sequence-tools button,.change-choice{font-size:12px;min-height:48px;min-width:48px;padding:6px}
.change-choice{display:block;margin:auto}
.plus-choice{position:relative}
.plus-choice>.plus-garden{height:45px;width:58px;min-height:0;display:flex;align-items:center;justify-content:center;flex:none}
.plus-choice>.plus-garden>strong{display:none}
.plus-choice>.plus-garden>svg{width:100%;height:100%;min-height:0}
.order-number{position:absolute;top:3px;right:4px;padding:3px 7px;background:#ffe783;border:2px solid white;border-radius:50%;font-weight:bold;color:#4a5760}
.quality-choice-selected{background:#e4f7dc;border-color:#80b997;opacity:1!important}
.quality-choice-selected:after{content:'✓';position:absolute;right:4px;top:2px;font-weight:bold;color:#35674f}
.workshop-save-note{font-size:11px;text-align:center;margin:0;line-height:1.3;color:#435b65}
.workshop-save-note:empty{display:none}
.plus-list-view .release-footer{flex-wrap:wrap}
.plus-list-view .release-footer>button{font-size:12px;padding:8px 12px}
.plus-list-view .release-footer .release-pager{margin-left:auto}
.plus-choice>.paint-pair,.plus-choice>.delivery-picture,.plus-choice>.mix-picture,.plus-choice>.tap-picture{height:45px;width:70px}
.paint-pair,.delivery-picture{display:flex;align-items:center;justify-content:center;min-height:0;min-width:0}
.paint-pair>svg,.delivery-picture>svg{width:50%;height:100%;min-height:0}
.mix-picture,.tap-picture{position:relative;display:inline-flex;justify-content:center;align-items:center}
.mix-picture>svg,.tap-picture>.plus-star{height:100%;width:100%}
.mix-picture b,.tap-picture b{position:absolute;right:0;bottom:0;background:#fff8df;border-radius:50%;font-size:22px;line-height:1}
.workshop-result-art{height:100%;width:100%;min-width:0;display:flex;align-items:center;justify-content:center}
.workshop-result-art>svg{height:100%;width:100%}
.workshop-result-art .plus-quantity,.workshop-gallery-art>.plus-quantity{height:100%;width:100%;max-height:230px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;justify-items:center;gap:5px}
.workshop-result-art .plus-quantity>svg,.workshop-gallery-art>.plus-quantity>svg{width:100%;height:100%;min-height:0;max-height:115px}
.workshop-postcard{height:100%;width:100%;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:minmax(0,1fr) 40px;align-items:center;background:#fffbea;border:3px solid white;border-radius:16px;padding:8px;gap:6px}
.workshop-postcard>svg{width:100%;height:100%;min-height:0}
.workshop-postcard>.plus-star{grid-column:2;width:32px;height:32px;justify-self:end}
.paint-frame{height:100%;max-height:240px;max-width:220px;border:10px solid;border-radius:20px;background:#fffdf1;display:flex;flex-direction:column;align-items:center;padding:6px;min-height:0}
.paint-frame>svg{width:100%;height:calc(100% - 24px);min-height:0}
.paint-frame>strong{font-size:14px;line-height:20px}
.workshop-record-details{max-width:640px;text-align:center;font-size:12px;line-height:1.4}
.quality-finish .plus-finish-art{min-height:80px;max-height:240px;flex:1}
.quality-finish .plus-finish-art{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
.quality-finish .plus-finish-art>.buddy-illustration{width:100%;height:100%;min-width:0;max-width:100%}
.quality-finish .plus-talk{font-size:14px;line-height:1.45}
.plus-finish-view .release-footer{flex-wrap:wrap;justify-content:center}
.plus-finish-view .release-footer button{font-size:12px;padding:8px 12px;min-height:48px}
.plus-gallery-view .release-body{display:flex;min-height:0}
.workshop-gallery-card{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;min-height:0;gap:8px;text-align:center}
.workshop-gallery-card h2{font-size:20px;margin:0}
.workshop-gallery-card p{font-size:13px;line-height:1.4;margin:0;max-width:650px}
.workshop-gallery-art{height:100%;flex:1;min-height:80px;max-height:300px;width:80%;max-width:340px;display:flex;align-items:center;justify-content:center}
.workshop-gallery-art>svg{height:100%;width:100%;max-height:300px}
.workshop-gallery-card small{font-size:12px}
.plus-gallery-view .release-footer{flex-wrap:wrap}
.plus-gallery-view .release-footer button{font-size:12px}
@media(max-width:600px){
 .release-setting-list{gap:4px}.release-setting-row{min-height:52px;padding:0 8px}.release-setting-row>span{font-size:13px}.audio-status{font-size:10px}
 .compare-screen{padding:14px;gap:8px}.compare-pair{gap:8px}.compare-pair article{padding:8px;gap:8px}.compare-pair strong{font-size:12px}.compare-screen footer{gap:6px}
 .quality-play .plus-choice>strong{font-size:11px}.sequence-order li{font-size:10px;padding:4px}.quality-play{gap:5px}
 .plus-list-view .release-footer .release-pager{margin-left:0}.plus-list-view .release-footer{justify-content:space-between;gap:5px}
 .plus-gallery-view .release-footer{justify-content:space-between;gap:5px}.plus-gallery-view .release-footer .release-pager{margin:auto}
}
@media(orientation:landscape) and (max-height:500px){
 .release-setting-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.release-setting-row{min-height:58px;min-width:0}.release-setting-row>span{font-size:12px}.release-setting-row button{font-size:11px;padding:4px}.audio-status{font-size:10px}
 .compare-screen{padding:10px 18px;gap:5px;grid-template-columns:minmax(0,1fr) minmax(180px,35%);grid-template-rows:auto minmax(0,1fr) auto}
 .compare-screen header{grid-column:1/3}.compare-screen h1{font-size:20px}.compare-pair{grid-column:1;grid-row:2/4;gap:8px}.compare-screen>p{grid-column:2;grid-row:2;font-size:13px;align-self:center}.compare-screen footer{grid-column:2;grid-row:3;flex-direction:column;gap:5px}.compare-pair article{padding:6px;gap:4px}.compare-pair h2{font-size:11px}.compare-pair strong{font-size:11px}.compare-pair small{font-size:10px}.compare-art{max-height:120px}
 .quality-play{grid-template-columns:minmax(0,1fr) minmax(230px,50%);grid-template-rows:6px 36px 62px minmax(35px,1fr) 48px;gap:3px 10px}
 .quality-play .plus-progress{grid-column:1/3;grid-row:1}.quality-play .plus-prompt{grid-column:1/3;grid-row:2;font-size:15px;align-self:center}
 .quality-play .plus-scene{grid-column:1;grid-row:3/6}.quality-play .plus-choices{grid-column:2;grid-row:3}.quality-play .workshop-tools{grid-column:1;grid-row:5;align-self:center}.quality-play .plus-feedback{grid-column:2;grid-row:4;font-size:11px;line-height:1.3;margin:0;align-self:center}.quality-play .plus-next{grid-column:2;grid-row:5}.quality-play .workshop-save-note:not(:empty){grid-column:1;grid-row:4;font-size:10px;z-index:1;background:#fff7db;padding:2px}
 .quality-play.create-play .plus-scene{grid-row:3/5}.quality-play .change-choice{max-width:190px;width:100%;font-size:11px}
 .quality-play.sequence-play{grid-template-columns:minmax(240px,52%) minmax(0,1fr)}
 .quality-play.sequence-play .plus-choices{grid-column:1;grid-row:3}.quality-play.sequence-play .workshop-tools{grid-column:1/3;grid-row:4;display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,48%);gap:10px;align-items:center}
 .quality-play.sequence-play .sequence-order{margin:0}.quality-play.sequence-play .sequence-tools{grid-template-columns:1fr 1fr 1.5fr}.quality-play.sequence-play .sequence-tools button{min-height:48px;font-size:11px}.quality-play.sequence-play .plus-feedback{grid-column:2;grid-row:3;font-size:11px}.quality-play.sequence-play .plus-next{grid-column:2;grid-row:5}.quality-play.sequence-play .workshop-save-note:not(:empty){grid-column:1;grid-row:5}
 .plus-choice>.paint-pair,.plus-choice>.delivery-picture,.plus-choice>.mix-picture,.plus-choice>.tap-picture{height:27px;width:45px}
 .plus-choice[data-art-kind="garden"]{flex-direction:row;gap:2px}
 .plus-choice>.plus-garden{height:42px;width:32px;flex:0 0 32px}
 .plus-choice[data-art-kind="garden"]>strong{font-size:9px;line-height:1.2;min-width:0}
 .quality-finish{display:grid!important;grid-template-columns:minmax(170px,35%) 1fr;grid-template-rows:auto auto auto auto;gap:3px 15px!important;align-items:center}
 .quality-finish .plus-finish-art{grid-column:1;grid-row:1/5;width:100%;height:100%;max-height:170px;margin:0!important}.quality-finish h2{grid-column:2;font-size:17px;margin:0}.quality-finish .workshop-record-details,.quality-finish .workshop-save-note,.quality-finish .plus-talk,.quality-finish>.muted{grid-column:2;margin:0;font-size:11px;line-height:1.3}
 .workshop-gallery-card{display:grid;grid-template-columns:minmax(170px,36%) 1fr;grid-template-rows:auto auto auto auto;gap:3px 18px}.workshop-gallery-art{grid-column:1;grid-row:1/5;width:100%;height:100%;max-height:180px}.workshop-gallery-card h2,.workshop-gallery-card p,.workshop-gallery-card small{grid-column:2;margin:0;font-size:12px}.workshop-gallery-card h2{font-size:17px}.workshop-gallery-card .muted{font-size:10px}
 .plus-gallery-view .release-footer .release-pager{margin-left:auto}
}
@media(max-height:360px) and (orientation:landscape){.release-settings-content{gap:2px}.audio-status{font-size:9px}.release-setting-row{min-height:52px;padding:0}.release-setting-row>span{display:none}.release-setting-row button{width:100%;height:48px;padding:4px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px}.release-setting-row .compact-setting-label{display:block;font-size:10px;line-height:1.2}.quality-play .plus-prompt{font-size:14px}.quality-play{grid-template-rows:5px 33px 56px minmax(48px,1fr) 48px;gap:2px 8px}.sequence-order li{font-size:9px;min-height:40px}.quality-play .plus-choice>strong{font-size:10px}.quality-finish .plus-finish-art{max-height:130px}}
@media(prefers-reduced-motion:reduce){.quality-choice-selected{animation:none!important}}
.motion-off .quality-choice-selected{animation:none!important}

/* Language is a separate local preference; controls remain usable in both orientations. */
.game-language{font:inherit;font-size:12px;min-height:48px;max-width:140px;min-width:84px;border:2px solid #fff;border-radius:14px;background:#fff9e9;color:#24566d;padding:4px 8px;flex-shrink:0}.game-language:focus-visible{outline:3px solid #247897;outline-offset:2px}.action-bar>.game-language{align-self:center}.release-header>.game-language{margin-left:auto}.release-header h1{overflow-wrap:anywhere}html[lang=ja] .play-prompt{line-height:1.45}html[lang=ja] .choice>strong{overflow-wrap:anywhere}html[lang=ja] .quick-tip{font-size:clamp(10px,1.6vw,14px)}
@media(max-height:500px) and (orientation:landscape){.release-setting-list{grid-template-columns:repeat(5,minmax(0,1fr))}.game-language{font-size:11px;min-width:72px;max-width:120px;padding:3px}.release-header h1{font-size:17px}.release-header{gap:6px}}
@media(max-width:360px){.release-setting-row{min-height:48px}.release-setting-list{gap:4px}.game-language{min-width:76px;font-size:11px}.release-header{gap:5px}.release-header h1{font-size:17px}}
