:root{color-scheme:dark;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Noto Sans JP","Yu Gothic",sans-serif;font-weight:400;font-synthesis:none;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;background:#132936;color:#fff}button,select{font:inherit}button{cursor:pointer}a{color:inherit}button:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #d7eae9;outline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.app{position:relative;min-height:100svh;display:flex;flex-direction:column;isolation:isolate;overflow:hidden;background:#193f48}.scene-host,.glass-filter{position:absolute;inset:0;pointer-events:none}.scene-host{z-index:-3;background:#315b61}.scene-layer{position:absolute;inset:0;background-position:center center;background-repeat:no-repeat;background-size:cover;opacity:0;transition:opacity 1.5s ease;transform:scale(1.025)}.scene-layer.is-visible{opacity:1}.glass-filter{z-index:-2;background:linear-gradient(180deg,rgba(3,13,22,.47) 0%,rgba(6,24,32,.17) 31%,rgba(8,21,33,.16) 55%,rgba(2,13,27,.68) 100%)}.app:after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.18;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.56' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.16' filter='url(%23n)'/%3E%3C/svg%3E")}
.topbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px clamp(19px,4vw,58px);position:relative;z-index:3}.brand{display:flex;align-items:center;gap:10px;text-decoration:none}.brand-symbol{height:37px;width:37px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(255,255,255,.52);font-size:20px;color:#e7ddc9;background:rgba(255,255,255,.08)}.brand-text{display:flex;flex-direction:column;gap:3px}.brand strong{font-size:15px;letter-spacing:.12em;font-weight:600}.brand small{font-size:8px;letter-spacing:.22em;opacity:.76}.header-actions{display:flex;gap:9px;align-items:center}.language-wrap select,.round-button{height:36px;border:1px solid rgba(255,255,255,.33);background:rgba(8,23,31,.24);color:#fff;border-radius:30px}.language-wrap select{padding:0 10px;min-width:61px;appearance:none;text-align:center}.language-wrap select option{background:#193946}.round-button{width:36px;display:grid;place-items:center;font-size:19px}.round-button.is-muted{opacity:.56}
.experience{display:flex;flex-direction:column;flex:1;align-items:center;text-align:center;position:relative;min-height:380px;justify-content:space-around;padding:4px 16px 15px}.intro{margin-top:8px;text-shadow:0 2px 18px rgba(0,0,0,.28)}.eyebrow{font-family:Georgia,"Yu Mincho",serif;font-size:11px;letter-spacing:.23em;color:rgba(255,255,255,.81)}h1{font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-size:clamp(21px,3.8vw,36px);letter-spacing:.13em;line-height:1.4;font-weight:500;margin:11px 0 5px}.intro p{font-size:12px;letter-spacing:.06em;line-height:1.7;margin:0;color:rgba(255,255,255,.81)}.timer-block{display:grid;justify-items:center;align-items:center;gap:5px}.meta-caption{font-size:11px;letter-spacing:.24em;color:rgba(255,255,255,.8)}.clock{font-size:clamp(56px,10vw,104px);font-weight:200;line-height:1.1;letter-spacing:.045em;font-variant-numeric:tabular-nums;text-shadow:0 4px 35px rgba(4,20,30,.22)}.progress-track{height:2px;width:min(245px,56vw);margin-top:8px;background:rgba(255,255,255,.3);border-radius:3px;overflow:hidden}.progress-track>span{display:block;width:0;height:100%;background:rgba(255,255,255,.93);transition:width .4s linear}
.breath-block{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:13px 0 4px}.orb-wrap{height:clamp(142px,25vh,230px);width:clamp(142px,25vh,230px);display:grid;place-items:center;position:relative}.orb-halo{position:absolute;width:92%;height:92%;border:1px solid rgba(255,255,255,.15);border-radius:50%;box-shadow:0 0 70px rgba(180,224,234,.09);transform:scale(1.24)}.halo-second{width:83%;height:83%;transform:scale(1.52);opacity:.63}.orb{position:relative;width:79%;height:79%;border-radius:50%;transform:scale(.8);display:grid;place-items:center;background:radial-gradient(circle at 31% 25%,rgba(255,255,255,.95) 0%,rgba(232,255,252,.76) 17%,rgba(177,216,219,.51) 44%,rgba(115,180,207,.37) 71%,rgba(236,255,255,.25) 100%);border:1px solid rgba(255,255,255,.73);box-shadow:inset -17px -20px 29px rgba(64,121,149,.17),inset 9px 14px 27px rgba(255,255,255,.45),0 0 38px rgba(206,250,245,.31),0 18px 70px rgba(122,209,213,.12);will-change:transform}.orb-shine{position:absolute;inset:9%;border-radius:50%;border:1px solid rgba(255,255,255,.18)}.orb-core{position:absolute;inset:23%;border-radius:50%;background:radial-gradient(circle,rgba(241,255,250,.31),transparent 73%)}.phase{font-size:clamp(15px,2.3vw,20px);font-weight:500;letter-spacing:.13em;margin:3px 0 0;text-shadow:0 2px 14px rgba(0,0,0,.4)}.phase-hint{font-size:11px;letter-spacing:.05em;color:rgba(255,255,255,.78);line-height:1.5;margin:5px 0 0}
.transport{z-index:2;display:flex;align-items:center;justify-content:center;gap:11px;margin:0 auto 12px;width:min(100%,590px);padding:0 18px}.primary-button{background:#f5f2e9;color:#153745;border:0;border-radius:48px;min-height:48px;padding:0 28px;min-width:184px;font-size:13px;font-weight:700;letter-spacing:.075em;box-shadow:0 8px 27px rgba(0,0,0,.13)}.primary-button:hover{background:#fff}.play-mark{font-size:10px;margin-right:9px}.action-button,.settings-button{height:47px;color:white;background:rgba(8,24,31,.22);border:1px solid rgba(255,255,255,.38);backdrop-filter:blur(8px);border-radius:48px}.action-button{width:47px;display:grid;place-items:center}.action-button svg{width:20px;height:20px}.settings-button{min-width:90px;display:flex;align-items:center;justify-content:center;gap:5px;padding:0 15px;font-size:12px}.settings-button svg{width:17px;height:17px}
.settings-panel{z-index:2;width:min(880px,calc(100% - 34px));margin:0 auto 12px;border:1px solid rgba(255,255,255,.21);background:rgba(11,28,37,.53);backdrop-filter:blur(19px);-webkit-backdrop-filter:blur(19px);border-radius:20px;max-height:570px;overflow:hidden;transition:max-height .4s ease,opacity .25s ease,margin .3s ease,border-width .2s ease}.settings-panel.is-collapsed{max-height:0;opacity:0;margin-bottom:0;border-width:0}.settings-inner{padding:17px 20px 14px}.group-label{font-size:11px;letter-spacing:.11em;color:rgba(255,255,255,.82);margin:0 0 10px;display:block}.scene-list{display:flex;gap:10px;overflow-x:auto;scrollbar-width:thin;padding:3px 1px 10px}.scene-choice{border:0;background:transparent;color:rgba(255,255,255,.74);font-size:10px;min-width:73px;display:flex;align-items:center;flex-direction:column;gap:7px;white-space:nowrap;padding:0 0 2px}.scene-thumb{height:53px;width:73px;display:block;border-radius:10px;border:2px solid transparent;background-position:center;background-size:cover;box-shadow:0 4px 13px rgba(0,0,0,.18);transition:transform .2s,border-color .2s}.scene-choice:hover .scene-thumb{transform:translateY(-2px)}.scene-choice.is-selected{color:#fff}.scene-choice.is-selected .scene-thumb{border-color:#fff;box-shadow:0 0 0 2px rgba(255,255,255,.2)}.thumb-forest{background-image:url('./scenes/forest.svg')}.thumb-ocean{background-image:url('./scenes/ocean.svg')}.thumb-sunset{background-image:url('./scenes/sunset.svg')}.thumb-sunrise{background-image:url('./scenes/sunrise.svg')}.thumb-city{background-image:url('./scenes/city.svg')}.thumb-stars{background-image:url('./scenes/stars.svg')}.settings-row{display:grid;grid-template-columns:1fr 1.45fr 1fr;gap:14px;margin-top:2px}.select-shell{position:relative}.select-shell:after{content:"⌄";font-size:17px;position:absolute;right:11px;top:7px;pointer-events:none;color:rgba(255,255,255,.8)}.select-shell select{width:100%;min-width:0;appearance:none;color:white;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.23);border-radius:9px;height:38px;padding:0 27px 0 12px;font-size:12px;letter-spacing:0}.select-shell option{background:#1c3948}.safety{font-size:10px;line-height:1.6;color:rgba(255,255,255,.65);margin:12px 0 0;letter-spacing:.01em}.bottomline{position:relative;z-index:2;display:flex;justify-content:space-between;align-items:center;padding:6px clamp(19px,4vw,58px) 15px;gap:8px;color:rgba(255,255,255,.58);font-size:9px;letter-spacing:.1em}
.finished[hidden]{display:none}.finished{position:fixed;inset:0;z-index:20;background:rgba(6,18,28,.7);backdrop-filter:blur(13px);display:grid;place-items:center;padding:18px}.finished-card{background:rgba(28,62,72,.97);border:1px solid rgba(255,255,255,.24);padding:35px 25px;max-width:390px;width:100%;border-radius:24px;box-shadow:0 20px 60px rgba(0,0,0,.25);text-align:center}.finished-icon{font-size:50px;color:#f4ead7}.finished h2{font-family:"Yu Mincho",serif;font-size:23px;letter-spacing:.1em;font-weight:500}.finished p{line-height:1.9;font-size:13px;color:rgba(255,255,255,.8);margin:16px 0 26px}.finished .primary-button{width:100%}.quiet-close{background:none;border:0;color:rgba(255,255,255,.8);padding:15px 12px 0;font-size:12px}
@media(max-width:650px){.topbar{padding:17px 17px 6px}.brand-symbol{height:33px;width:33px}.brand strong{font-size:13px}.brand small{font-size:7px}.experience{min-height:340px;justify-content:space-around;padding:2px 14px 8px}.intro{margin-top:8px}.eyebrow{font-size:10px}.intro h1{font-size:24px;margin:8px 0 4px}.intro p{font-size:10px}.clock{font-size:clamp(58px,14vw,74px)}.orb-wrap{height:clamp(128px,24vh,195px);width:clamp(128px,24vh,195px)}.phase{font-size:16px}.transport{gap:7px;margin-bottom:10px;padding:0 15px}.primary-button{min-width:0;flex:1;padding:0 11px;font-size:12px}.action-button{width:45px;min-width:45px}.settings-button{min-width:69px;padding:0 10px;font-size:11px}.settings-panel{width:calc(100% - 18px);border-radius:17px;margin-bottom:7px}.settings-inner{padding:14px 12px 11px}.scene-list{gap:8px}.scene-choice{min-width:64px}.scene-thumb{width:64px;height:46px}.settings-row{gap:7px;grid-template-columns:1fr 1.2fr 1fr}.settings-row .group-label{font-size:10px;letter-spacing:0}.select-shell select{height:36px;padding:0 22px 0 7px;font-size:10px}.select-shell:after{right:6px}.safety{font-size:9px;margin:9px 0 0}.bottomline{padding:6px 15px 12px;font-size:8px}}
@media(max-height:720px){.experience{min-height:310px}.intro h1{font-size:21px}.orb-wrap{height:139px;width:139px}.clock{font-size:54px}.breath-block{padding:4px 0}.settings-inner{padding-top:10px}.scene-thumb{height:41px}.settings-panel{margin-bottom:6px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:0.01ms!important;animation-duration:0.01ms!important}.orb{will-change:auto}}

/* v2.1: source layout + updated orb copy, background type and 30-second time control */
.scene-group-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;flex-wrap:wrap}
.scene-group-header .group-label{margin:0}
.style-picker{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.style-picker-caption{font-size:10px;opacity:.82;margin-right:6px}
.style-choice{border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.08);color:rgba(255,255,255,.82);border-radius:50px;min-height:30px;padding:4px 12px;font-size:11px;white-space:nowrap}
.style-choice.is-selected,.style-choice:hover{background:#f5f2e9;border-color:#f5f2e9;color:#153745}
.style-choice>span:first-child{padding-right:3px}
.orb-content{position:relative;z-index:1;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px;color:#315e61;text-shadow:0 1px 7px rgba(255,255,255,.7);pointer-events:none;text-align:center}
.orb-content .phase{margin:0;font-size:clamp(12px,1.45vw,17px);font-weight:600;letter-spacing:.02em;max-width:94%;overflow-wrap:anywhere;text-shadow:none;line-height:1.3}
.orb-flower{font-size:24px;line-height:1;color:#5b8d84;margin-bottom:4px;text-shadow:0 0 8px #fff9}
.orb-subcopy{font-size:clamp(8px,.9vw,10px);opacity:.83;letter-spacing:.02em;margin-top:4px}
.orb-wrap{height:clamp(180px,28vh,260px);width:clamp(180px,28vh,260px)}
.orb{width:83%;height:83%}
.breath-block{gap:8px}
.phase-hint{text-align:center;max-width:95vw}
.duration-stepper{display:flex;gap:5px;min-width:0}
.duration-stepper .select-shell{flex:1;min-width:0}
.duration-stepper .select-shell select{padding:0 20px 0 8px}
.step-button{width:32px;min-width:32px;border:1px solid rgba(255,255,255,.26);border-radius:9px;background:rgba(255,255,255,.1);color:#fff;font-size:18px;line-height:1}
.step-button:hover{background:rgba(255,255,255,.23)}
.step-button:disabled{opacity:.35;cursor:not-allowed}
.settings-row{grid-template-columns:1.2fr 1.35fr 1fr}
.settings-panel{max-height:650px}
@media(max-width:650px){
  .scene-group-header{gap:8px;margin-bottom:9px}
  .style-picker-caption{display:none}
  .style-choice{min-height:29px;font-size:10px;padding:3px 8px}
  .settings-row{grid-template-columns:1fr 1fr;gap:9px}
  .settings-row>.group:nth-child(3){grid-column:1/-1}
  .settings-row>.group:nth-child(3) .select-shell{max-width:100%}
  .orb-wrap{width:clamp(156px,27vh,218px);height:clamp(156px,27vh,218px)}
  .orb-content .phase{font-size:clamp(11px,3vw,15px)}
  .orb-flower{font-size:20px}
  .orb-subcopy{font-size:9px}
  .settings-inner{padding:13px 12px 10px}
  .settings-panel{max-height:min(650px,70svh);overflow-y:auto}
  .settings-panel.is-collapsed{overflow:hidden}
  .duration-stepper{gap:4px}
  .step-button{width:29px;min-width:29px}
  .duration-stepper .select-shell select{font-size:11px}
}
@media(max-width:380px){.brand strong{font-size:12px}.intro h1{font-size:21px}.scene-choice{min-width:58px}.scene-thumb{width:58px;height:42px}.settings-row{grid-template-columns:1fr}.settings-row>.group:nth-child(3){grid-column:auto}.settings-panel{max-height:min(650px,66svh)}}
@media(prefers-reduced-motion:reduce){.orb{transform:scale(.93)!important}}
/* Keep the breathing instruction clearly legible within the glowing orb. */
.orb-content .phase{font-size:clamp(15px,1.65vw,19px)}
@media(max-width:650px){.orb-content .phase{font-size:clamp(14px,3.9vw,17px)}}
