.rhythm-page{max-width:470px;margin:0 auto;padding:36px 26px 70px;color:var(--text)}
.rhythm-page h1{font:400 clamp(32px,8.5vw,42px)/1.2 var(--serif);margin:0 0 16px;text-wrap:balance}
.rhythm-intro{font:14px/1.85 var(--sans);color:#c0b1ce;margin:0 0 28px;text-wrap:pretty}
.rhythm-row{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:23px 0;border:0;border-bottom:1px solid var(--line);color:var(--text);background:none;text-align:left;cursor:pointer}
.rhythm-row strong,.rhythm-music-item strong{display:block;font:400 25px/1.3 var(--serif);overflow-wrap:anywhere}
.rhythm-row small,.rhythm-music-item small{display:block;color:#b7a5c9;font:11px/1.8 var(--sans);margin-top:5px}
.rhythm-row>span:last-child{color:#aa94bf}.rhythm-actions{display:flex;flex-direction:column;align-items:center;gap:3px;margin:25px 0 12px}
.rhythm-page .home-feel-cta{font-size:21px;max-width:100%;min-height:52px;margin:8px 0;text-align:center;padding:15px 24px}
.rhythm-page button:focus-visible,.rhythm-page a:focus-visible,.rhythm-page summary:focus-visible,.rhythm-page input:focus-visible,.rhythm-page select:focus-visible{outline:2px solid #c8b0df;outline-offset:5px}
.rhythm-toggle{display:flex;justify-content:space-between;gap:20px;align-items:center;min-height:64px;padding:16px 0;border-bottom:1px solid var(--line);font:14px/1.7 var(--sans);cursor:pointer}
.rhythm-toggle small{display:block;color:#b7a5c9;font:11px/1.7 var(--sans)}.rhythm-page input[type=checkbox]{accent-color:#b69ad4;width:21px;height:21px;flex-shrink:0}
.rhythm-note,.rhythm-details p{font:12px/1.85 var(--sans);color:#b7a5c9;margin:20px 0}
.rhythm-details{border-top:1px solid var(--line);margin-top:30px;padding-top:6px}.rhythm-details summary{font:12px/1.8 var(--sans);color:#c5b2d8;cursor:pointer;padding:16px 0;min-height:44px}
.rhythm-music-item{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:16px 0;border-bottom:1px solid var(--line)}.rhythm-music-item>div{min-width:0}
#rhythmMusicForm{margin-top:28px}#rhythmMusicForm label{display:block;font:12px/1.8 var(--sans);color:#c6b6d6;margin:18px 0}
#rhythmMusicForm input,#rhythmMusicForm select{display:block;width:100%;box-sizing:border-box;border:1px solid #554360;border-radius:9px;background:#131017;color:var(--text);padding:13px 12px;font:16px/1.5 var(--sans);margin-top:7px;min-height:48px}
.rhythm-health-status,#rhythmMusicError,#rhythmFeedback{color:#d4bddf;font:12px/1.8 var(--sans)}
.rhythm-limits{margin:25px 0}.rhythm-limits label{display:flex;gap:12px;align-items:center;font:12px/1.6 var(--sans);min-height:48px;color:#c5b2d8;cursor:pointer}
.rhythm-why{font:11px/1.8 var(--sans);color:#b7a5c9;border-top:1px solid var(--line);padding-top:20px;margin-top:26px}
.rhythm-open{display:block;text-decoration:none;color:var(--text)}
.rhythm-small-moon{width:58px;height:58px;margin:4px auto 30px;color:#b698d2;filter:drop-shadow(0 0 18px #69448c66)}.rhythm-small-moon svg{width:100%;height:100%}
.spotify-choice{border-bottom:1px solid var(--line);padding:22px 0}
.spotify-choice a{display:block;color:var(--text);text-decoration:none}
.spotify-choice strong{display:block;font:26px/1.3 var(--serif)}
.spotify-choice small{display:block;font:11px/1.8 var(--sans);color:#b7a5c9;margin-top:6px}
.spotify-choice>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.rhythm-listening{font:17px/1.8 var(--sans);color:#ded3e7;margin:25px 0}
.rhythm-note a{color:#d2bce8}
.spotify-brand{display:block;width:96px;margin:6px 0 28px}.spotify-brand img{display:block;width:96px;height:auto}
.spotify-group{font:26px var(--serif);margin-top:30px}.rhythm-saved-link{color:inherit;text-decoration:none}
/* Familiar sources, quiet controls, and genuine import states. */
.rhythm-page{max-width:560px;padding:22px 24px 34px}
.rhythm-page h1{font-size:clamp(30px,7vw,38px);margin-bottom:12px;outline:none}
.rhythm-intro{font-size:14px;line-height:1.7;margin-bottom:24px;color:var(--text-dim)}
.rhythm-sources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.rhythm-source{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:8px;min-width:0;min-height:216px;border:1px solid #b495d438;border-radius:20px;padding:20px 16px;background:radial-gradient(ellipse at 10% 0,#80609d22,transparent 90%);color:var(--text);text-align:left;cursor:pointer}
.rhythm-source img{width:108px;max-width:100%;height:34px;object-fit:contain;object-position:left;margin-bottom:auto}
.rhythm-source>svg{width:30px;height:30px;color:#c9a8df}
.rhythm-source>b{font:500 14px/1.4 var(--sans);margin-bottom:auto}
.rhythm-source strong{font:400 16px/1.4 var(--sans);margin-top:15px}
.rhythm-source small{font:12px/1.6 var(--sans);color:var(--text-dim)}
.rhythm-source>span{font:12px/1.5 var(--sans);color:#c8adde;margin-top:7px}
.rhythm-source:hover{border-color:#b495d480}.rhythm-reassurance{font-size:12px;line-height:1.7}
.rhythm-row{padding:16px 0}.rhythm-row strong,.rhythm-music-item strong{font:400 15px/1.5 var(--sans)}
.rhythm-row small,.rhythm-music-item small{font-size:12px;line-height:1.6}
.rhythm-details{margin-top:16px;padding-top:0}.rhythm-details p{font-size:12px;line-height:1.8;color:var(--text-dim)}
.rhythm-details a{color:#c5add9}.rhythm-page .comfort-link{font:12px/1.6 var(--sans);min-height:44px}
.rhythm-page>.comfort-link{display:block;margin:0 auto;text-align:center}
.rhythm-note{margin:16px 0}.rhythm-page .home-feel-cta{width:100%;font:400 23px/1.3 var(--serif);min-height:52px;padding:12px 18px}
.rhythm-import-result{border:1px solid #b495d42b;border-radius:18px;padding:20px;background:radial-gradient(ellipse at top left,#b495d419,transparent);margin:18px 0 22px}
.rhythm-import-result>span{font:11px/1.5 var(--sans);color:#bba4ce}.rhythm-import-result p{font:400 23px/1.35 var(--serif);margin:12px 0;overflow-wrap:anywhere}
.rhythm-import-result small{font:12px/1.7 var(--sans);color:var(--text-dim)}
.health-emblem{color:#c8a9da;width:42px;height:42px;margin:8px 0 22px}.health-emblem svg{width:100%;height:100%}
.import-orbit{position:relative;display:grid;place-items:center;width:160px;height:160px;margin:32px auto;border:1px solid #b495d42b;border-radius:50%;background:radial-gradient(circle,#b495d416,transparent 65%)}
.import-orbit>svg{width:54px;height:54px;fill:none;color:#bea0d8}.import-orbit>span{position:absolute;inset:10px;border:1px solid transparent;border-top-color:#b495d4;border-radius:50%;animation:import-orbit 5s linear infinite}.import-status{text-align:center;font:14px/1.8 var(--sans);color:var(--text-dim);min-height:40px}
@keyframes import-orbit{to{transform:rotate(360deg)}}
.music-adjust summary{min-height:44px;padding:12px 0;font:italic 15px/1.4 var(--serif);color:#bba1ce;cursor:pointer}
.music-adjust select{font:16px/1.5 var(--sans);padding:10px;background:#17111e;border:1px solid #b495d455;border-radius:10px;color:var(--text);max-width:100%}
.rhythm-music-item>div{width:100%}
.music-goals{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.music-goals button{background:transparent;border:1px solid transparent;border-radius:24px;min-height:44px;padding:8px 14px;color:var(--text-dim);font:12px/1.4 var(--sans);cursor:pointer}
.music-goals button[aria-pressed=true]{color:#eadcf5;background:#b495d41c;border-color:#b495d445}
.music-goals button:focus-visible,.music-adjust summary:focus-visible{outline:2px solid #c6a4e0;outline-offset:3px}
.music-adjust summary{display:inline-block;min-height:44px;padding:10px 2px;font:12px/1.6 var(--sans);color:var(--text-muted)}
.music-adjust summary::-webkit-details-marker{display:none}
.activity-log{margin:30px 0 18px}.activity-log h2{font:26px/1.3 var(--serif);color:var(--text);margin:0}.activity-log>.rhythm-note{margin:6px 0 14px}
.activity-log ol{padding:0;list-style:none;margin:0}.activity-log li{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid var(--line)}
.activity-log strong{display:block;font:14px/1.5 var(--sans)}.activity-log small{display:block;color:var(--text-dim);font:12px/1.6 var(--sans)}
.activity-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#b495d414;color:#c8a9da;flex-shrink:0}.activity-mark svg{width:20px;height:20px}
.activity-duration{margin-left:auto;color:var(--text-dim);font:12px/1.4 var(--sans);white-space:nowrap}
.rhythm-listening{font:14px/1.8 var(--sans);margin:18px 0;color:var(--text-dim)}.rhythm-small-moon{margin:4px auto 18px;width:46px;height:46px}
.preference-group{font:11px/1.6 var(--sans);color:#bda4d3;margin:24px 0 4px}
.preference-row{display:flex;gap:18px;align-items:center;justify-content:space-between;min-height:64px;padding:14px 0;border-bottom:1px solid var(--line);font:15px/1.5 var(--sans);color:var(--text);cursor:pointer}
.preference-row small{display:block;font:12px/1.6 var(--sans);margin-top:4px;color:var(--text-dim)}.preference-row input{width:22px;height:22px;flex:0 0 22px;accent-color:#b495d4}
.preference-details{border-bottom:1px solid var(--line)}.preference-details summary{display:flex;align-items:center;min-height:52px;color:var(--text);font:14px/1.5 var(--sans);cursor:pointer}.preference-details p{margin:0 0 14px;color:var(--text-dim);font:12px/1.8 var(--sans)}.preference-version{margin:22px 0 8px;color:var(--text-dim);font:11px/1.7 var(--sans);text-align:center}
#screen-settings>.topbar{background:transparent;border:0;backdrop-filter:none;position:relative;max-width:620px;margin:auto;padding:18px 24px 8px}
#screen-settings>.container{max-width:620px;padding-top:0}.hide-writing-help .writing-help,.hide-writing-help .writing-undo{display:none!important}
.still-atmosphere *,.still-atmosphere *::before,.still-atmosphere *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce){.import-orbit>span{animation:none}}
@media(max-width:360px){.rhythm-source{padding:16px 12px}.rhythm-sources{gap:10px}.rhythm-source strong{font-size:14px}}

.rhythm-page{padding-bottom:12px}.rhythm-page .spotify-brand{margin-bottom:16px}.rhythm-small-moon{margin-bottom:14px}
