@import url('../intro-demo/palette.css');
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--white);font:14px/1.6 'Segoe UI',Arial,sans-serif}button,input,select{font:inherit}button{cursor:pointer;color:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:5px}header{height:95px;max-width:1100px;margin:auto;padding:0 35px;display:flex;align-items:center;justify-content:space-between}header>span{font-size:12px;color:var(--muted)}.brand{font-size:29px;font-weight:750;letter-spacing:-2px}.brand span{color:var(--accent)}main{max-width:660px;margin:25px auto 70px;padding:0 25px}section{padding:35px 0 43px;border-bottom:1px solid #ffffff12}.source-section{padding-top:15px}.heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}h1,h2{font-size:24px;font-weight:450;letter-spacing:-.03em;line-height:1.3;margin:0}h3{font-size:16px;font-weight:500;margin:0}.gear{background:none;border:0;color:var(--muted);font-size:21px;width:35px;height:35px;border-radius:50%;padding:0}.gear:hover,.gear[aria-expanded=true]{color:var(--purple-bright);background:#9569dd18}.sphere{height:310px;width:310px;max-width:100%;margin:0 auto 20px;position:relative;border-radius:50%;background:radial-gradient(circle at 38% 32%,#9569dd0d,transparent 65%);transition:background .5s}.sphere.populated{background:radial-gradient(circle at 40% 30%,#9569dd1c,transparent 70%)}canvas{width:100%;height:100%;position:absolute;inset:0;pointer-events:none}.sphere-center{position:absolute;inset:32%;border:0;background:transparent;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;text-align:center;border-radius:50%;font-size:11px;color:var(--muted);z-index:2}.sphere-center>span:first-child{font-size:30px;font-weight:200;color:var(--purple-bright)}.source-actions{display:flex;justify-content:center;align-items:center;gap:17px}.source-actions>span{font-size:11px;color:var(--muted)}.pill{background:#9569dd0e;border:1px solid #9569dd48;border-radius:24px;padding:9px 18px;font-size:12px}.pill:hover{background:#9569dd25}.source-node{position:absolute;width:41px;height:41px;border-radius:50%;border:1px solid #b493ed80;background:#191121;display:grid;place-items:center;z-index:3;box-shadow:0 0 24px #9569dd22;transition:transform .2s}.source-node:hover{transform:scale(1.15)}.source-node img{width:28px;height:28px;border-radius:50%}.source-node .telegram-icon{color:#c5a1f5;font-size:23px}.source-node .remove{position:absolute;right:-4px;top:-6px;border-radius:50%;background:#31203f;color:#eee;width:16px;height:16px;font-size:11px;line-height:16px;opacity:0}.source-node:hover .remove,.source-node:focus-visible .remove{opacity:1}.panel{background:#120c1a;border:1px solid #ffffff15;border-radius:14px;padding:23px;margin-top:24px;animation:appear .2s ease}.panel-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.close{background:none;border:0;color:var(--muted);font-size:23px;padding:0 5px}.tabs{display:flex;gap:20px;margin-bottom:20px}.tabs button{background:none;border:0;color:var(--muted);padding:0 0 8px;border-bottom:1px solid transparent;font-size:12px}.tabs button[aria-pressed=true]{color:var(--purple-bright);border-color:var(--purple-bright)}input:not([type=checkbox]),select{background:#09060f;border:1px solid #ffffff20;border-radius:7px;color:var(--white);padding:11px 12px;width:100%;min-width:0;color-scheme:dark;font-size:13px}input::placeholder{color:#83788e}input[type=checkbox]{accent-color:var(--purple);width:16px;height:16px}label{display:block;font-size:12px;color:var(--muted);margin:18px 0 8px}.note{font-size:11px;color:var(--muted);line-height:1.8;margin:15px 0 0}.web-list{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px}.web-source{display:flex;align-items:center;gap:10px;background:none;border:1px solid #ffffff15;border-radius:8px;padding:12px;font-size:12px;text-align:left}.web-source img{width:26px;height:26px;border-radius:50%}.web-source b{margin-left:auto;font-weight:400;color:var(--purple-bright)}.web-source[aria-pressed=true]{background:#9569dd14;border-color:#9569dd66}.input-row,.two{display:flex;gap:12px}.input-row input{flex:1}.two>div,.two>select{width:50%;min-width:0}.check{display:flex;align-items:center;gap:10px}.label{font-size:12px;color:var(--muted);text-align:center;margin:32px 0 13px}.topics{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}.topics button{background:transparent;border:1px solid #ffffff1b;border-radius:20px;padding:6px 13px;color:var(--muted);font-size:11px}.topics button[aria-pressed=true]{color:var(--purple-bright);border-color:#9569dd77;background:#9569dd14}.schedule-row{display:flex;gap:12px;align-items:center}.schedule-row select{width:145px}.schedule-row input[type=date]{width:155px}.schedule-row input[type=time]{width:110px}.at,.subtle{color:var(--muted);font-size:11px}#days{margin-top:20px;justify-content:start}.selection{display:flex;justify-content:space-between;align-items:center;gap:25px;background:none;border:1px solid #ffffff20;border-radius:9px;padding:15px 18px;width:100%;font-size:13px;text-align:left}.selection:hover,.selection[aria-expanded=true]{border-color:#9569dd77}.selection>span:last-child{color:var(--purple-bright)}.destination-options{display:flex;gap:12px}.destination-options button{flex:1;padding:17px;background:none;border:1px solid #ffffff20;border-radius:8px;font-size:14px}.destination-options button.selected{border-color:var(--purple-bright);background:#9569dd15}.pay-row{display:flex;gap:12px}.pay-row .selection{flex:1}.primary{border:0;background:var(--accent);color:#17101f;border-radius:8px;padding:12px 23px;font-size:13px;font-weight:600;white-space:nowrap}.primary:hover{background:#f3dc83}.quiet{background:none;border:0;color:var(--muted);font-size:11px;padding:6px 0}.quiet:hover{color:var(--white)}footer{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#776b83;padding-top:25px}details{margin-top:22px}summary{color:var(--muted);font-size:12px;cursor:pointer}details .two{margin-top:15px}dialog{width:min(480px,92vw);border:1px solid #9569dd66;border-radius:15px;padding:28px;background:var(--surface);color:var(--white);max-height:85vh;overflow:auto}dialog::backdrop{background:#000b;backdrop-filter:blur(9px)}dialog>.close{float:right}dialog>.primary{margin-top:20px;width:100%}.review-row{padding:13px 0;border-bottom:1px solid #ffffff16;font-size:12px;display:grid;grid-template-columns:95px 1fr;gap:15px;overflow-wrap:anywhere}.review-row span{color:var(--muted)}#review-content{margin-top:20px}#toast{display:none;position:fixed;bottom:22px;left:50%;transform:translateX(-50%);max-width:90vw;padding:13px 20px;border-radius:10px;border:1px solid #9569dd55;background:#24172f;font-size:12px;z-index:10}[hidden]{display:none!important}@keyframes appear{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@media(max-width:600px){header{height:75px;padding:0 24px}main{margin-top:8px;padding:0 24px}h1,h2{font-size:22px}.sphere{height:280px;width:280px}.source-actions{gap:12px}.source-actions>span{font-size:10px}.schedule-row{flex-wrap:wrap;gap:10px}.schedule-row select{width:calc(50% - 5px)}.schedule-row input[type=date]{width:calc(50% - 5px)}.schedule-row input[type=time]{width:120px}.panel{padding:18px}.web-list{grid-template-columns:1fr}.pay-row{gap:10px}.primary{padding:12px 17px}.selection{padding:14px;font-size:12px}.two{flex-direction:column}.two>div,.two>select{width:100%}section{padding:30px 0 35px}.source-section{padding-top:15px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
.tabs{flex-wrap:wrap;gap:15px}.tabs button small{display:block;font-size:8px;letter-spacing:.02em;margin-top:3px;color:#9a8aa9}.web-source small{display:block;font-size:9px;color:var(--muted);margin-top:3px}.status-tag{display:inline-block;margin-top:18px;padding:4px 9px;border:1px solid #9569dd33;border-radius:20px;font-size:10px;color:var(--purple-bright)}.platform-note{padding:10px 0 4px}.platform-note h3{font-size:14px}.story-link{display:block;padding:12px 0;border-top:1px solid #ffffff15;font-size:12px;line-height:1.6}.story-link:hover{color:var(--purple-bright)}.story-link small{display:block;margin-top:5px;color:var(--muted);font-size:9px}#preview-stories{margin-top:12px}
.source-section .sphere{margin-top:0;margin-bottom:28px}.source-controls{display:flex;align-items:center;gap:14px;min-height:48px;margin-top:10px}.source-controls h1{font-size:23px;margin-right:auto}.source-controls #count{font-size:11px;color:var(--muted);white-space:nowrap}.source-controls .gear{flex-shrink:0}.source-controls .pill{white-space:nowrap}.source-section>.panel{margin-top:18px}input:disabled{opacity:.48;cursor:not-allowed}.source-node{width:44px;height:44px}.source-caption{position:absolute;top:48px;left:50%;transform:translateX(-50%);max-width:108px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:400;color:#ded0ee;padding:2px 6px;border-radius:5px;background:#0c0714db;line-height:1.4}.source-node img{width:30px;height:30px}.field-label{display:block;font-size:12px;color:var(--muted);margin:18px 0 8px}.greeting-control{margin:0;min-height:44px;display:flex;align-items:center;gap:12px;border:1px solid #ffffff20;border-radius:7px;padding:9px 12px;background:#09060f;color:var(--white);font-size:12px;cursor:pointer}.greeting-control input{position:absolute;opacity:0;width:1px;height:1px}.switch-track{margin-left:auto;width:32px;height:18px;border-radius:20px;background:#473a52;position:relative;flex-shrink:0}.switch-track:after{content:'';position:absolute;top:3px;left:3px;width:12px;height:12px;background:#c5b9d0;border-radius:50%;transition:transform .15s}.greeting-control input:checked+.switch-track{background:var(--purple)}.greeting-control input:checked+.switch-track:after{transform:translateX(14px);background:white}.greeting-control:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:4px}.sample-field{position:relative;min-width:0;width:100%}.input-row>.sample-field{flex:1}.sample-field input::placeholder{color:transparent}.sample-hint{position:absolute;inset:0;display:flex;align-items:center;gap:3px;padding:0 12px;pointer-events:none;color:#8e809b;font-size:12px;overflow:hidden}.sample-hint>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sample-hint>i{width:1px;height:14px;background:var(--purple-bright);flex-shrink:0;animation:sample-caret 1.1s step-end infinite}.sample-field:focus-within .sample-hint,.sample-field.has-value .sample-hint{display:none}@keyframes sample-caret{0%,100%{opacity:1}50%{opacity:0}}@media(max-width:600px){.source-controls{gap:9px;flex-wrap:wrap}.source-controls h1{font-size:20px}.source-controls #count{font-size:10px}.source-controls .pill{padding:8px 12px;font-size:11px}.preference-pair{flex-direction:column}.preference-pair>div{width:100%}.source-caption{max-width:95px}.source-controls .gear{width:29px}.source-section .sphere{margin-bottom:20px}}@media(prefers-reduced-motion:reduce){.sample-hint>i{animation:none}}
label small{font-size:10px;color:#887a94;font-weight:400;margin-left:7px}.source-section:has(#source-settings:not([hidden])) #source-picker[hidden]+#source-settings{margin-top:18px}
/* Study05: centered source action and a 35% larger sphere. */
.source-section .sphere{width:min(418.5px,100%);height:auto;aspect-ratio:1;margin:0 auto 28px}.source-controls{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:12px;flex-wrap:initial}.source-controls h1{margin:0;justify-self:start}.source-controls>.pill{justify-self:center}.source-controls>.gear{justify-self:end}.source-controls #count{display:none}#source-settings>.panel-title{justify-content:flex-end;margin-bottom:0}#source-settings>.panel-title .close{line-height:1}#source-limit p{font-size:14px;color:var(--muted);margin:20px 0 0;line-height:1.8}#source-limit .primary{margin-top:24px}@media(max-width:600px){.source-section .sphere{width:min(378px,100%);height:auto}.source-controls{gap:8px}.source-controls h1{font-size:18px}.source-controls .pill{font-size:11px;padding:8px 12px}.source-controls>.gear{width:28px}.preference-pair{flex-direction:column}}

/* Study 07: interests and optional podcast preferences are primary sections. */
.optional{font-size:11px;font-weight:400;color:var(--muted);letter-spacing:0;margin-left:10px;vertical-align:middle}.interest-modes{display:flex;gap:6px;padding:4px;border:1px solid #b493ed33;border-radius:10px;width:fit-content;margin:20px 0 24px}.interest-modes button{background:transparent;border:0;border-radius:7px;color:var(--muted);padding:10px 25px;font:inherit;font-size:12px;cursor:pointer}.interest-modes button[aria-pressed=true]{background:#9569dd33;color:var(--white)}.interest-detail{border:1px solid #b493ed26;border-radius:10px;padding:14px 18px 18px;margin:22px 0 0;animation:appear .18s ease}.interest-detail legend{padding:0 8px;font-size:12px;color:var(--purple-bright)}.interest-detail .topics{margin:0}.interest-detail .topics button{font-size:11px}#podcast-section>.two:first-of-type{margin-top:10px}#podcast-section label:first-child{margin-top:10px}.source-controls:after{content:''}#specific-interests{animation:appear .18s ease}

/* Study08: compact interest modes and optional disclosure. */
.interests-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.interests-heading h2{margin:0}.interests-heading .interest-modes{margin:0;padding:3px;border-radius:999px;gap:2px}.interest-modes button{border-radius:999px;padding:8px 14px;font-size:11px;line-height:1.4}.interest-modes button:hover,.interest-modes button[aria-pressed=true]{background:#9569dd44;color:var(--white)}#interests-section>#all-interests{margin-top:22px}#simple-interests>#topics{display:flex;flex-wrap:nowrap;gap:7px}#simple-interests>#topics>button{font-size:11px;padding:8px 10px;white-space:nowrap}#specific-interests textarea{display:block;width:100%;box-sizing:border-box;min-height:104px;resize:vertical;background:#09060f;border:1px solid #ffffff20;border-radius:8px;color:var(--white);font:inherit;font-size:12px;line-height:1.7;padding:12px}textarea::placeholder{color:#8e809b}.sample-field:has(textarea) .sample-hint{align-items:flex-start;padding-top:12px;line-height:1.7}.sample-field:has(textarea) .sample-hint>span{white-space:normal;overflow:visible}.sample-field textarea::placeholder{color:transparent}.sample-field:has(textarea) .sample-hint>i{margin-top:3px}#podcast-options>summary{list-style:none;display:flex;align-items:center;cursor:pointer;gap:8px}#podcast-options>summary::-webkit-details-marker{display:none}#podcast-options>summary h2{margin:0;margin-right:auto}#podcast-options .optional{margin:0}.disclosure-arrow{color:var(--purple-bright);font-size:18px}#podcast-options[open] .disclosure-arrow{transform:rotate(90deg)}#podcast-options>summary:focus-visible{outline:2px solid var(--accent);outline-offset:6px}
@media(max-width:600px){.interests-heading{gap:8px;flex-wrap:wrap}.interest-modes button{padding:7px 10px;font-size:11px}#simple-interests>#topics{flex-wrap:wrap}.interests-heading h2{font-size:20px}.sample-field:has(textarea) .sample-hint{font-size:11px}}

#podcast-count{color:var(--accent)}
.connection-actions .disconnect-label{display:none}.connection-actions .connected:hover .connected-label,.connection-actions .connected:focus-visible .connected-label{display:none}.connection-actions .connected:hover .disconnect-label,.connection-actions .connected:focus-visible .disconnect-label{display:inline}.connection-actions .connected{min-width:105px}.email-address-control{background:none;border:0;padding:8px 0;font:inherit;font-size:13px;color:var(--white);cursor:pointer;overflow-wrap:anywhere;text-align:right}.email-address-control:after{content:' ↗';color:var(--muted);font-size:11px}.email-address-control:hover{color:var(--purple-bright)}.profile-setting .connection-actions{flex-direction:row;align-items:center}#email-editor-error{color:var(--accent)}
.profile-heading{margin:12px 0 30px}.profile-heading>.note{margin-top:8px}.profile-block{padding:24px 0 30px}.profile-block>h2{font-size:17px;font-weight:600;margin:0 0 14px}.profile-setting{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:19px 0;border-top:1px solid #ffffff12}.profile-setting h3{font-size:13px}.profile-setting .note{margin:5px 0 0}.setting-label{font-size:11px;color:var(--muted)}.account-value{font-size:13px;overflow-wrap:anywhere;margin:5px 0 0}.connection-actions{display:flex;flex-direction:column;align-items:flex-end;gap:10px}.connection-actions .pill{font-size:11px;padding:8px 13px}.connection-actions a{font-size:12px;color:var(--purple-bright)}body[data-page=profile] .order-card{border:0;padding:0;margin:12px 0!important}.podcast-order{margin:0;border:1px solid #ffffff20;border-radius:12px;overflow:hidden}.podcast-order>summary{padding:19px 18px;display:flex;align-items:center;gap:14px;list-style:none;color:var(--white)}.podcast-order>summary::-webkit-details-marker{display:none}.podcast-order>summary:before{content:'▸';color:var(--muted)}.podcast-order[open]>summary:before{transform:rotate(90deg)}.podcast-order-title{font-size:17px;font-weight:600;overflow-wrap:anywhere}.order-badge{margin-left:auto;font-size:10px;color:var(--muted);text-align:right}.podcast-order-content{border-top:1px solid #ffffff12;padding:5px 18px 18px}.order-information{margin:14px 0 20px}.order-information>summary{font-size:12px;color:var(--muted);font-weight:500}.order-metadata{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;font-size:12px;padding:17px 0 0;margin:0}.order-metadata dt{color:var(--muted)}.order-metadata dd{margin:0;overflow-wrap:anywhere}.received-schedule>summary{color:var(--accent)!important}.received-schedule .episode-window{color:var(--white)}@media(max-width:600px){.profile-setting{align-items:flex-start;flex-wrap:wrap;gap:14px}.profile-setting>.connection-actions{align-items:flex-start}.podcast-order>summary{padding:16px 13px;flex-wrap:wrap;gap:9px}.podcast-order-title{font-size:15px}.order-badge{max-width:140px}.podcast-order-content{padding:5px 13px 16px}.order-metadata{grid-template-columns:1fr;gap:5px}.order-metadata dd{margin-bottom:10px}}
.schedule-row{flex-wrap:wrap}.schedule-row .timezone-select{width:145px;cursor:pointer}#schedule-settings{margin-top:18px}.payment-static{cursor:default}.payment-static>span:last-child{color:var(--white)}.payment-static:hover{border-color:#ffffff20}.invoice-address,.invoice-amount{color:var(--accent);font-weight:700;overflow-wrap:anywhere}.invoice-amount{font-size:16px}.received-schedule{border:1px solid #ffffff20;border-radius:9px;padding:14px 16px;margin:18px 0}.received-schedule>summary{font-weight:650;font-size:13px;color:var(--white)}.received-episode{padding:15px 0;border-bottom:1px solid #ffffff12}.received-episode:last-child{border-bottom:0}.episode-delivery,.episode-window{display:block;font-size:12px;line-height:1.9}.episode-window{color:var(--accent);margin-top:5px}@media(max-width:600px){.schedule-row .timezone-select{flex:1;width:145px}.received-schedule{padding:12px}.episode-delivery,.episode-window{font-size:11px}}

.delivery-address{font-size:13px;overflow-wrap:anywhere;text-align:right;margin:0;color:var(--white)}

/* Balanced app header: brand, centered title, profile navigation. */
header.podcast-header{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);column-gap:12px}header.podcast-header>.brand{justify-self:start}header.podcast-header>span{justify-self:center;white-space:nowrap}header.podcast-header>.session-navigation,header.podcast-header>a[href="/profile"]{justify-self:end}
/* Integrated form, connection and payment presentation. */
.delivery-clock{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto}.delivery-clock #timezone{min-width:66px;max-width:140px;flex:none;padding:9px 8px}.destination-options{display:grid;grid-template-columns:1fr 1fr;gap:20px}.destination-choice{min-width:0;display:flex;align-items:center;flex-direction:column;gap:12px}.destination-choice>div{width:100%;text-align:center}.destination-choice label{display:block}.destination-choice input{width:100%}.connection-dialog{max-width:430px}.dialog-actions{display:flex;flex-direction:column;align-items:stretch;gap:14px;margin-top:24px}.dialog-actions .primary{white-space:normal;padding:14px}#draft-state{font-size:11px;opacity:.65}.checkout-summary{margin-top:24px;border-top:1px solid #ffffff26;padding-top:20px}.checkout-summary>summary{cursor:pointer;padding:10px 0;color:#eee}body[data-page="checkout"] .pay-panel{margin-top:0;text-align:center}body[data-page="checkout"] .invoice-address{color:var(--yellow,#ffdb57);font-size:clamp(15px,2.5vw,21px);font-weight:600;overflow-wrap:anywhere}body[data-page="checkout"] .invoice-amount{color:var(--yellow,#ffdb57);font-size:26px;font-weight:700}.pay-panel img{width:210px;max-width:100%;border-radius:12px}.payment-wait{display:flex;justify-content:center;align-items:center;gap:10px}.payment-wait:before{content:'';width:8px;height:8px;background:#ffdb57;border-radius:50%;animation:payment-pulse 1.6s ease-in-out infinite}.payment-result{padding:30px 20px;text-align:center;font-size:25px;color:#ffdb57;animation:payment-appear .35s ease-out}.payment-result .note{font-size:14px;color:#ddd}.payment-review{text-align:center;padding:24px;color:#ffdb57}@keyframes payment-pulse{50%{opacity:.25;transform:scale(.8)}}@keyframes payment-appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.payment-wait:before,.payment-result{animation:none}}@media(max-width:480px){.destination-options{gap:12px}.delivery-clock #timezone{flex:none!important}.delivery-clock{max-width:100%}}

body[data-page="checkout"] .pay-panel img{margin:18px auto}body[data-page="checkout"] .pay-panel h3{font-size:25px}
