/* Version 79: one compact creative workspace per screen on portrait phones. */
@media(max-width:600px){
 .home-world #homeContent>.chaya-world.cw-in-station{display:flex;flex-direction:column;width:100%;height:calc(100dvh - 84px - env(safe-area-inset-bottom));min-height:0;flex:1 0 auto;padding:5px 11px 7px;gap:7px}
 .home-world .chaya-world.cw-in-station>.cw-merch-heading{display:none}
 .home-world .chaya-world.cw-in-station>.cw-station-nav{margin:0;gap:5px;flex:none}
 .home-world .chaya-world.cw-in-station>.cw-station-nav button{min-height:40px;padding:0 7px;font-size:11px}
 .home-world .chaya-world.cw-in-station>.cw-station{display:flex;flex-direction:column;flex:1;min-height:0;width:100%;max-width:none;margin:0;padding:11px 12px 10px;gap:6px;border-radius:17px}
 .home-world .chaya-world.cw-in-station .cw-section-title{flex:none;margin:0 0 2px}
 .home-world .chaya-world.cw-in-station .cw-section-title>small{display:none}
 .home-world .chaya-world.cw-in-station .cw-section-title h2{font-size:27px;line-height:1.05;margin:0;color:#fbd7e8}
 .home-world .chaya-world.cw-in-station .cw-art-panel{position:relative;display:flex;align-items:center;justify-content:center;flex:1 1 130px;min-height:100px;max-height:220px;width:100%;margin:0;border-radius:13px;overflow:hidden}
 .home-world .chaya-world.cw-in-station .cw-art-panel>.cw-nails-art{display:block;width:100%;height:100%;max-height:220px;padding:0}
 .home-world .chaya-world.cw-in-station .cw-nail-select{flex:none;margin:0;gap:5px}
 .home-world .chaya-world.cw-in-station .cw-nail-select button{min-height:30px;font-size:12px;border-radius:9px}
 .home-world .chaya-world.cw-in-station .cw-control-label{flex:none;font-size:10px;line-height:1.2;letter-spacing:.7px;margin:1px 0 0}
 .home-world .chaya-world.cw-in-station .cw-swatches{flex:none;gap:6px;padding:1px 1px 2px}
 .home-world .chaya-world.cw-in-station .cw-swatches button{height:32px;border-width:2px;border-radius:10px}
 .home-world .chaya-world.cw-in-station .cw-options,.home-world .chaya-world.cw-in-station .cw-topic{flex:none;gap:5px;margin:0}
 .home-world .chaya-world.cw-in-station .cw-options button,.home-world .chaya-world.cw-in-station .cw-topic button{min-height:36px;padding:7px 5px;font-size:11px;line-height:1.2;letter-spacing:.4px}
 .home-world .chaya-world.cw-in-station .cw-primary{flex:none;min-height:44px;padding:10px 7px;font-size:14px;margin:0;border-radius:11px}
 .home-world .chaya-world.cw-in-station .cw-note{display:none}
 .home-world .chaya-world.cw-in-station .cw-status:empty{display:none}
 /* Keep the editable object and initials together, rather than stacking them. */
 .home-world .chaya-world.cw-in-station .cw-bling-personalize{display:grid;grid-template-columns:56% 44%;flex:1 1 160px;min-height:144px;max-height:230px;margin:0;border-radius:13px;overflow:hidden}
 .home-world .chaya-world.cw-in-station .cw-bling-personalize .cw-bling-panel{height:100%;min-height:0;max-height:none;flex:none;border-radius:0;border-right:1px solid #c194a144}
 .home-world .chaya-world.cw-in-station .cw-bling-panel>.cw-bling-art{display:block;width:100%;height:100%;max-height:230px}
 .home-world .chaya-world.cw-in-station .cw-initial-editor{display:flex;flex-direction:column;justify-content:center;gap:6px;min-width:0;padding:8px}
 .home-world .chaya-world.cw-in-station .cw-initial-editor label{font-size:9px;line-height:1.2;letter-spacing:.5px;margin:0}
 .home-world .chaya-world.cw-in-station .cw-initial-editor>div{display:flex;flex-direction:column;gap:5px;min-width:0}
 .home-world .chaya-world.cw-in-station .cw-initial-editor input{height:37px;min-height:37px;font-size:16px;padding:5px}
 .home-world .chaya-world.cw-in-station .cw-initial-editor button{min-height:34px;font-size:10px;padding:6px 4px;gap:5px}
 .home-world .chaya-world.cw-in-station .cw-initial-editor small{font-size:9px;line-height:1.3;letter-spacing:0;margin:0;overflow-wrap:anywhere}
 /* The personal pass scales with available height; fields share a row. */
 .home-world .chaya-world.cw-in-station .cw-pass-display{display:flex;align-items:center;justify-content:center;flex:1 1 145px;min-height:95px;max-height:230px;padding:6px;margin:0;overflow:hidden}
 .home-world .chaya-world.cw-in-station .cw-pass-display>.cw-pass-art{display:block;width:100%;height:100%;max-height:210px;object-fit:contain;transform:rotate(-2deg)}
 .home-world .chaya-world.cw-in-station .cw-pass-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));flex:none;gap:8px}
 .home-world .chaya-world.cw-in-station .cw-pass-fields label{min-width:0;font-size:9px;line-height:1.2;letter-spacing:.5px}
 .home-world .chaya-world.cw-in-station .cw-pass-fields input,.home-world .chaya-world.cw-in-station .cw-pass-fields select{min-width:0;min-height:40px;height:40px;margin-top:4px;padding:6px 7px;font-size:16px;border-radius:9px}
 .home-world .chaya-world.cw-in-station .cw-pass-fields input::placeholder{font-size:11px}
 .home-world .chaya-world.cw-in-station .cw-pass-ratio{flex:none;margin:0;padding-top:6px}
 .home-world .chaya-world.cw-in-station .cw-pass-ratio label{font-size:10px;letter-spacing:.7px}
 .home-world .chaya-world.cw-in-station .cw-pass-ratio>div{margin:4px 0 0;gap:5px}
 .home-world .chaya-world.cw-in-station .cw-pass-ratio b{font-size:12px;line-height:1.2}
 .home-world .chaya-world.cw-in-station .cw-pass-ratio input{height:32px;min-height:32px}
 .home-world .chaya-world.cw-in-station .cw-pass-save{flex:none;min-height:40px;padding:9px 7px;font-size:12px;line-height:1.2;margin:0;border-radius:11px}
 /* Oracle: the answer and reveal action remain visible together. */
 .home-world .chaya-world.cw-in-station .cw-oracle-stage{display:flex;flex:1 1 110px;min-height:96px;max-height:185px;padding:0;align-items:center;justify-content:center}
 .home-world .chaya-world.cw-in-station .cw-orb-touch{min-width:0;min-height:0;width:100%;height:100%;padding:8px 12px 17px;border-radius:16px}
 .home-world .chaya-world.cw-in-station .cw-oracle-stage .cw-orb{width:clamp(78px,17dvh,120px);height:clamp(78px,17dvh,120px)}
 .home-world .chaya-world.cw-in-station .cw-reading{flex:0 0 auto;min-height:0;padding:9px 2px 4px;gap:0}
 .home-world .chaya-world.cw-in-station .cw-reading small{font-size:9px;line-height:1.2;letter-spacing:1px}
 .home-world .chaya-world.cw-in-station .cw-reading h3{font-size:27px;line-height:1.05;margin:5px 0 7px}
 .home-world .chaya-world.cw-in-station .cw-reading p{font-size:13px;line-height:1.45;margin:0}
 .home-world .chaya-world.cw-in-station .cw-reading strong{font-size:11px;line-height:1.4;margin-top:7px}
}
/* Narrow/short windows retain natural overflow rather than clipping controls. */
@media(max-width:600px) and (max-height:450px){
 .home-world #homeContent>.chaya-world.cw-in-station{height:auto;min-height:calc(100dvh - 84px - env(safe-area-inset-bottom))}
 .home-world .chaya-world.cw-in-station>.cw-station{flex:none}
 .home-world .chaya-world.cw-in-station .cw-art-panel{height:110px;flex:none}
 .home-world .chaya-world.cw-in-station .cw-bling-personalize{height:150px;flex:none}
 .home-world .chaya-world.cw-in-station .cw-pass-display{height:120px;flex:none}
 .home-world .chaya-world.cw-in-station .cw-oracle-stage{height:105px;flex:none}
}

@media(max-width:600px){
 .home-world .chaya-world.cw-in-station .cw-pass-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;flex:none}
 .home-world .chaya-world.cw-in-station .cw-pass-actions button{min-width:0;font-size:12px;line-height:1.2;letter-spacing:.5px;min-height:44px}
}
@media(max-width:600px) and (min-height:451px) and (max-height:690px){
 .home-world .chaya-world.cw-in-station>.cw-station{gap:4px;padding:8px 10px}
 .home-world .chaya-world.cw-in-station .cw-section-title{display:none}
 .home-world .chaya-world.cw-in-station .cw-control-label{display:none}
 .home-world .chaya-world.cw-in-station .cw-art-panel{min-height:85px}
 .home-world .chaya-world.cw-in-station .cw-options button,.home-world .chaya-world.cw-in-station .cw-topic button{min-height:32px;padding:6px 4px}
 .home-world .chaya-world.cw-in-station .cw-bling-personalize{min-height:126px;flex-basis:140px}
 .home-world .chaya-world.cw-in-station .cw-initial-editor{gap:4px;padding:6px}
 .home-world .chaya-world.cw-in-station .cw-initial-editor input{height:32px;min-height:32px}
 .home-world .chaya-world.cw-in-station .cw-initial-editor button{min-height:30px;padding:5px 3px}
 .home-world .chaya-world.cw-in-station .cw-initial-editor small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .home-world .chaya-world.cw-in-station .cw-primary{min-height:40px;padding:9px 6px}
 .home-world .chaya-world.cw-in-station .cw-pass-display{min-height:80px;flex-basis:110px}
 .home-world .chaya-world.cw-in-station .cw-pass-ratio label{display:none}
 .home-world .chaya-world.cw-in-station .cw-pass-fields input,.home-world .chaya-world.cw-in-station .cw-pass-fields select{min-height:36px;height:36px}
 .home-world .chaya-world.cw-in-station .cw-oracle-stage{min-height:88px;flex-basis:100px}
 .home-world .chaya-world.cw-in-station .cw-oracle-stage .cw-orb{width:78px;height:78px}
 .home-world .chaya-world.cw-in-station .cw-orb-touch{padding:0 8px 12px}
 .home-world .chaya-world.cw-in-station .cw-reading{padding-top:6px}
 .home-world .chaya-world.cw-in-station .cw-reading h3{font-size:25px;margin:4px 0 6px}
 .home-world .chaya-world.cw-in-station .cw-reading p{font-size:12px;line-height:1.4}
}

/* Version 80: previews absorb free height, so the working area ends at its actions. */
@media(max-width:600px) and (min-height:451px){
 .home-world .chaya-world.cw-in-station .cw-art-panel{flex:1 1 0;max-height:none}
 .home-world .chaya-world.cw-in-station .cw-art-panel>.cw-nails-art{max-height:none}
 .home-world .chaya-world.cw-in-station .cw-bling-personalize{flex:1 1 0;max-height:none;grid-template-rows:minmax(0,1fr)}
 .home-world .chaya-world.cw-in-station .cw-bling-personalize .cw-bling-panel{flex:none;min-height:0}
 .home-world .chaya-world.cw-in-station .cw-bling-panel>.cw-bling-art{max-height:none}
 .home-world .chaya-world.cw-in-station .cw-pass-display{flex:1 1 0;max-height:none}
 .home-world .chaya-world.cw-in-station .cw-pass-display>.cw-pass-art{max-height:none}
 .home-world .chaya-world.cw-in-station .cw-oracle-stage{flex:1 1 0;max-height:none}
 .home-world .chaya-world.cw-in-station .cw-primary,.home-world .chaya-world.cw-in-station .cw-pass-actions{margin-top:auto}
 .home-world .chaya-world.cw-in-station .cw-pass-actions .cw-primary{margin-top:0}
 .home-world .chaya-world.cw-in-station .cw-initial-editor small{white-space:normal;overflow:visible;text-overflow:clip}
}
@media(max-width:600px) and (min-height:540px){
 .home-world .chaya-world.cw-in-station>.cw-station{gap:6px;padding-bottom:11px}
 .home-world .chaya-world.cw-in-station .cw-nail-select button{min-height:36px;font-size:13px}
 .home-world .chaya-world.cw-in-station .cw-swatches button{height:38px}
 .home-world .chaya-world.cw-in-station .cw-options button,.home-world .chaya-world.cw-in-station .cw-topic button{min-height:40px;font-size:12px;padding:8px 5px}
 .home-world .chaya-world.cw-in-station .cw-primary{min-height:46px;font-size:15px;padding:11px 7px}
 .home-world .chaya-world.cw-in-station .cw-pass-fields input,.home-world .chaya-world.cw-in-station .cw-pass-fields select{height:44px;min-height:44px}
 .home-world .chaya-world.cw-in-station .cw-pass-actions button{min-height:46px;font-size:12px}
 .home-world .chaya-world.cw-in-station .cw-pass-ratio input{height:40px;min-height:40px}
 .home-world .chaya-world.cw-in-station .cw-pass-ratio b{font-size:14px}
 .home-world .chaya-world.cw-in-station .cw-initial-editor input{height:40px;min-height:40px}
 .home-world .chaya-world.cw-in-station .cw-initial-editor button{min-height:38px;font-size:11px}
 .home-world .chaya-world.cw-in-station .cw-initial-editor label{font-size:10px}
 .home-world .chaya-world.cw-in-station .cw-initial-editor small{font-size:10px}
 .home-world .chaya-world.cw-in-station .cw-oracle-stage .cw-orb{width:clamp(100px,26dvh,165px);height:clamp(100px,26dvh,165px)}
 .home-world .chaya-world.cw-in-station .cw-reading{padding-top:10px;padding-bottom:6px}
 .home-world .chaya-world.cw-in-station .cw-reading h3{font-size:30px;margin-bottom:8px}
 .home-world .chaya-world.cw-in-station .cw-reading p{font-size:14px;line-height:1.45}
 .home-world .chaya-world.cw-in-station .cw-reading strong{font-size:12px;line-height:1.4;margin-top:9px}
}
