.soothing-page{max-width:860px;padding-top:24px;padding-bottom:max(32px,env(safe-area-inset-bottom))}
.soothing-hero{position:relative;padding:32px;border:1px solid var(--bc-line);border-radius:28px;background:radial-gradient(ellipse at right top,var(--bc-soft),transparent 75%),var(--bc-panel);margin-bottom:20px;overflow:hidden}
.soothing-hero h1{font-size:34px;margin:12px 0}.soothing-hero p,.sound-hint{color:var(--bc-muted);font-size:13px;line-height:1.8}.soothing-hero p{max-width:80%;margin-bottom:0}
.soothing-moon{float:right;display:grid;place-items:center;width:88px;height:88px;border-radius:50%;font-size:68px;line-height:1;background:var(--bc-soft);color:var(--bc-green)}
.sound-panel,.song-panel{padding:26px;border:1px solid var(--bc-line);border-radius:24px;background:var(--bc-panel);margin-bottom:20px;min-width:0}
.sound-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0;margin:22px 0;border:0;min-width:0}
.sound-options label{position:relative;display:flex;align-items:center;flex-direction:column;gap:10px;margin:0;padding:18px 12px;border:1px solid var(--bc-line);border-radius:18px;cursor:pointer;color:var(--bc-text);min-width:0;transition:background .15s,border-color .15s}
.sound-options label:has(input:checked){background:var(--bc-soft);border-color:var(--bc-green);box-shadow:inset 0 0 0 1px var(--bc-green)}
.sound-options input{width:18px;height:18px;min-height:18px;padding:0;margin:0;align-self:flex-start;accent-color:var(--bc-green);flex-shrink:0}
.sound-options span{display:grid;place-items:center;font-size:30px;color:var(--bc-green)}.sound-options strong{font-size:14px;line-height:1.6;text-align:center;overflow-wrap:anywhere}
.sound-settings{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:16px;border-radius:18px;background:var(--bc-bg)}
.sound-settings label{display:flex;flex-direction:column;gap:10px;margin:0;font-size:13px;min-width:0}
.sound-settings input{width:100%;padding:0;margin:0;accent-color:var(--bc-green);min-height:48px;cursor:pointer}.sound-settings select{margin:0;width:100%;min-height:48px;font-size:16px;border-color:var(--bc-line)}
.sound-actions{display:grid;grid-template-columns:2fr 1fr;gap:12px;margin-top:22px}.sound-actions button{min-width:0;min-height:54px;border-radius:16px;font-weight:600;font-size:15px;touch-action:manipulation}.sound-actions button span{margin-right:6px}
.sound-status{font-size:12px;color:var(--bc-muted);line-height:1.8;min-height:44px;margin:14px 0 0;overflow-wrap:anywhere}
.song-links{display:grid;gap:12px;margin-top:18px}.song-links a{display:flex;align-items:center;gap:14px;text-decoration:none;padding:18px;border:1px solid var(--bc-line);border-radius:18px;color:var(--bc-text);min-width:0;min-height:78px}.song-links a:hover{background:var(--bc-hover)}
.song-links a>span:nth-child(2){min-width:0}.song-links strong{display:block;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.song-links small{display:block;margin-top:4px;font-size:11px;color:var(--bc-muted)}.song-links a>span:last-child{margin-left:auto;color:var(--bc-muted);flex-shrink:0}
.song-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;font-size:25px;flex-shrink:0}.song-pink{background:#f9e2ed;color:#913858}
.soothing-page details{border:1px solid var(--bc-line);border-radius:16px;padding:16px;color:var(--bc-muted);font-size:12px;line-height:1.8}.soothing-page summary{cursor:pointer;min-height:28px}.soothing-page details p{overflow-wrap:anywhere}
.soothing-page [hidden]{display:none!important}
@media(max-width:540px){
.soothing-page{padding:16px 16px max(28px,env(safe-area-inset-bottom))}.soothing-hero{padding:24px 20px;border-radius:24px}.soothing-hero h1{font-size:28px;letter-spacing:-1px}.soothing-hero p{max-width:100%;font-size:13px}.soothing-moon{width:64px;height:64px;font-size:48px;margin:0 0 10px 12px}
.sound-panel,.song-panel{padding:22px 18px;border-radius:22px}.sound-panel h2,.song-panel h2{font-size:19px}.sound-hint{margin:8px 0 0}
.sound-options{grid-template-columns:1fr;gap:10px;margin:20px 0}.sound-options label{display:grid;grid-template-columns:42px minmax(0,1fr) 20px;gap:12px;min-height:72px;padding:14px 16px}.sound-options input{grid-column:3;grid-row:1;align-self:center}.sound-options span{grid-column:1;grid-row:1;width:42px;height:42px;border-radius:12px;background:var(--bc-soft);font-size:26px}.sound-options strong{grid-column:2;grid-row:1;text-align:left;font-size:15px}
.sound-settings{grid-template-columns:1fr;gap:16px;padding:16px}.sound-settings label{gap:6px}.sound-actions{gap:10px;margin-top:20px}.sound-actions button{min-height:56px;padding:12px}.song-links a{padding:14px 12px;gap:12px}.sound-status{min-height:44px}
}
@media(prefers-reduced-motion:reduce){.sound-options label{transition:none}}
