/* 4ill+: avatar frame (used on the whole site), the /plus page and the panel /settings/plus. Colours come from css/redesign.css tokens. */
.plus-frame{--plus-frame-size:100%;position:relative;display:inline-block;line-height:0;width:var(--plus-frame-size);max-width:100%;vertical-align:middle}
.plus-frame>img:first-child{width:100%;height:auto;aspect-ratio:1;border-radius:50%;object-fit:cover;box-sizing:border-box;padding:7%}
.plus-frame__ring{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;object-fit:contain}
.plus-frame__ring--hero{inset:-9%;width:118%;height:118%;z-index:3}

/* Page /plus (matches the dropandplus design mockup: Plus / PlusMobile / PlusActive). Same box model as the mockup (content-box). */
.pl-root a{color:inherit;text-decoration:none}
.pl-root .pl-cta{color:#2a1d02}
.pl-page,.pl-page *,.pl-page *::before,.pl-page *::after{box-sizing:content-box}
.pl-page{max-width:1384px;margin:0 auto;padding:24px 28px 56px;display:flex;flex-direction:column;gap:56px;color:#e8eaf2;font-family:'Inter',system-ui,sans-serif;line-height:normal;letter-spacing:normal;min-width:0}
body.redesign .pl-page h1,body.redesign .pl-page h2,body.redesign .pl-page h3{margin:0;letter-spacing:0;line-height:normal;color:inherit;font-family:'Exo 2',sans-serif}
.pl-page p{margin:0}
.pl-page img{display:block;max-width:none}
.pl-page button{font-family:inherit;line-height:normal;margin:0}
.pl-m{display:none}
.pl-gold{background:linear-gradient(90deg,#f5c542,#ff9ed0,#9a85ff);-webkit-background-clip:text;background-clip:text;color:transparent}
body.redesign .pl-page .pl-gold{color:transparent}
.pl-sec{display:flex;flex-direction:column;gap:20px}
.pl-h2{font-weight:800;font-size:30px;text-align:center}
.pl-narrow{max-width:980px;width:100%;margin:0 auto;box-sizing:border-box}

/* Buttons */
.pl-cta{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:58px;padding:0 34px;border-radius:14px;border:0;background:linear-gradient(135deg,#f5c542,#e8a21a);font-family:'Inter',system-ui,sans-serif;font-weight:800;font-size:18px;box-shadow:0 10px 30px rgba(245,197,66,.28);cursor:pointer;text-decoration:none}
.pl-cta:hover{filter:brightness(1.08)}
.pl-cta[disabled]{opacity:.6;cursor:not-allowed}
.pl-cta--md{min-height:56px;padding:0 32px;font-size:17px;box-shadow:none}
.pl-cta--sm{min-height:52px;padding:0 28px;font-size:16px;box-shadow:none}
.pl-ghost{display:inline-flex;align-items:center;min-height:52px;padding:0 24px;border-radius:14px;border:1px solid #252d45;background:#161c2e;font-weight:700;font-size:15px}

/* Subscriber banner */
.pl-active{display:flex;align-items:center;gap:28px;padding:26px 32px;border-radius:20px;border:1px solid #6b5614;background:linear-gradient(90deg,rgba(245,197,66,.14),#0e111b 70%);flex-wrap:wrap}
.pl-active-mid{flex:1;min-width:300px;display:flex;flex-direction:column;gap:10px}
.pl-active h2{font-weight:900;font-size:30px}
.pl-active-sub{color:#9aa2b8;font-size:15px}
.pl-bar{height:8px;max-width:520px;border-radius:99px;background:#1e2640;overflow:hidden}
.pl-bar div{height:100%;border-radius:99px;background:linear-gradient(90deg,#f5c542,#ff9ed0)}
.pl-active-btns{display:flex;gap:10px}

/* Hero */
.pl-hero{position:relative;overflow:hidden;border-radius:22px;border:1px solid #3a3320;background:#0d0b12;min-height:440px;display:flex;align-items:center}
.pl-hero picture{display:block}
.pl-hero-img{position:absolute;right:0;top:0;height:100%;width:70%;object-fit:cover;object-position:right center}
.pl-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#0d0b12 34%,rgba(13,11,18,.6) 58%,rgba(13,11,18,0))}
.pl-hero-in{position:relative;padding:48px 56px;max-width:600px;display:flex;flex-direction:column;gap:20px}
.pl-badge{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;background:rgba(245,197,66,.1);border:1px solid #6b5614;color:#f5c542;font-weight:700;font-size:12px;letter-spacing:.06em}
.pl-hero h1{font-weight:900;font-size:60px}
body.redesign .pl-page .pl-hero h1{line-height:1.02}
.pl-hero h1.pl-gold{background:linear-gradient(90deg,#f5c542,#ff9ed0,#9a85ff,#ff9ed0,#f5c542);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;animation:pl-shine 5s ease-in-out infinite alternate}
@keyframes pl-shine{from{background-position:0 0}to{background-position:100% 0}}
@media(prefers-reduced-motion:reduce){.pl-hero h1.pl-gold{animation:none}}
.pl-lead{color:#b4bbd0;font-size:18px;line-height:1.45}
.pl-buy{display:flex;flex-direction:column;gap:20px;margin:0}
.pl-plans{display:flex;gap:8px;padding:5px;border-radius:14px;background:rgba(12,15,24,.85);border:1px solid #252d45;align-self:flex-start}
.pl-plan{position:relative;box-sizing:border-box;min-width:112px;padding:10px 16px;border-radius:10px;border:1px solid transparent;background:transparent;color:#e8eaf2;text-align:left;display:flex;flex-direction:column;gap:2px;cursor:pointer;margin:0}
.pl-plan input{position:absolute;opacity:0;pointer-events:none}
.pl-plan:has(input:checked){border-color:#f5c542;background:rgba(245,197,66,.14)}
.pl-plan:has(input:focus-visible){outline:2px solid #fff;outline-offset:2px}
.pl-plan-t{font-weight:700;font-size:14px}
.pl-plan-n{font-size:12px;color:#8a92a8}
.pl-cta-row{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.pl-per{color:#8a92a8;font-size:14px;line-height:1.4}
.pl-per b{color:#f5c542;font-size:16px;font-weight:700}
.pl-opts{display:flex;flex-direction:column;gap:10px;color:#8a92a8;font-size:13px;line-height:1.4;max-width:460px}
.pl-opts label{display:flex;gap:10px;align-items:flex-start;cursor:pointer;margin:0}
.pl-opts input[type=checkbox]{margin:2px 0 0;flex:none}
.pl-opts input[type=text]{box-sizing:border-box;width:100%;min-height:44px;border-radius:10px;border:1px solid #252d45;background:#0c0f18;color:#e8eaf2;padding:0 12px}
.pl-opts [hidden]{display:none!important}
.pl-buy-msg{font-size:14px;color:#ff8a8a}
.pl-buy-msg:empty{display:none}
.pl-soon{border:1px dashed #252d45;border-radius:14px;padding:18px;color:#8a92a8;background:rgba(12,15,24,.85)}

/* Perks */
.pl-perks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.pl-perk{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:24px 20px 26px;border-radius:18px;background:linear-gradient(180deg,#171a2a,#0e111b);border:1px solid #232b45}
.pl-perk img{width:96px;height:96px;object-fit:contain}
.pl-perk b{font-family:'Exo 2',sans-serif;font-size:36px;font-weight:900;line-height:1}
.pl-perk h3{font-weight:800;font-size:18px}
.pl-perk p{color:#9aa2b8;font-size:14px;line-height:1.45}
.pl-page .pl-more-h{margin:6px 0 0;text-align:center;color:#8a92a8;font-size:15px}
.pl-more{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.pl-mc{display:flex;flex-direction:column;gap:12px;padding:18px;border-radius:16px;background:linear-gradient(180deg,#171a2a,#0e111b);border:1px solid #232b45}
.pl-mc-i{width:44px;height:44px;border-radius:12px;background:rgba(245,197,66,.1);border:1px solid #4a3d14;display:grid;place-items:center}
.pl-mc-t{display:flex;flex-direction:column;gap:4px}
.pl-mc-t b{font-family:'Exo 2',sans-serif;font-size:16px;font-weight:800}
.pl-mc-t span{font-size:13px;color:#8a92a8;line-height:1.45}

/* Profile preview */
.pl-sec-head{text-align:center}
.pl-page .pl-sec-head p{margin:8px 0 0;color:#8a92a8;font-size:15px}
.pl-prof{max-width:980px;width:100%;margin:0 auto;border-radius:20px;overflow:hidden;border:1px solid #2c3050;background:#0e111b}
.pl-prof-cover{width:100%;height:180px;object-fit:cover}
.pl-prof-row{display:flex;align-items:center;gap:24px;padding:0 32px 26px;flex-wrap:wrap}
.pl-prof-id{display:flex;align-items:center;gap:24px;flex:1;min-width:356px}
.pl-av{position:relative;flex:none;display:block}
.pl-av--lg{width:84px;height:84px}
.pl-av--prof{width:112px;height:112px;margin-top:-56px}
.pl-av-img{position:absolute;inset:0;width:100%;height:100%;border-radius:50%;object-fit:cover}
.pl-av-ph{display:grid;place-items:center;background:linear-gradient(135deg,#3a4a7a,#1d2640);font-family:'Exo 2',sans-serif;font-weight:900;font-size:44px;color:#e8eaf2}
.pl-av--lg .pl-av-ph{font-size:34px}
.pl-av-ring{position:absolute;inset:-22%;width:144%;height:144%;object-fit:contain;pointer-events:none}
.pl-prof-info{flex:1;min-width:0;padding-top:18px;display:flex;flex-direction:column;gap:6px}
.pl-prof-name{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.pl-prof-name .pl-gold{font-family:'Exo 2',sans-serif;font-weight:900;font-size:30px;overflow-wrap:anywhere}
.pl-tag{padding:3px 10px;border-radius:999px;background:rgba(245,197,66,.12);border:1px solid #6b5614;color:#f5c542;font-size:11px;font-weight:800}
.pl-prof-link{color:#8a92a8;font-size:14px;overflow-wrap:anywhere}
.pl-prof-link b{color:#e8eaf2;font-weight:700}
.pl-frames{display:flex;gap:10px;padding-top:18px;flex-wrap:wrap}
.pl-fb{position:relative;box-sizing:border-box;width:56px;height:56px;padding:0;border-radius:14px;border:2px solid #252d45;background:#161c2e;display:grid;place-items:center;cursor:pointer}
.pl-fb.is-on{border-color:#f5c542}
.pl-fb:focus-visible{outline:2px solid #fff;outline-offset:2px}
.pl-fb-dot{width:30px;height:30px;border-radius:50%;background:#2a3558;display:block}
.pl-fb img{position:absolute;inset:3px;width:44px;height:44px;object-fit:contain}

/* Comparison */
.pl-cmp{border-radius:18px;border:1px solid #232b45;overflow:hidden;background:#0e111b}
.pl-cmp-head,.pl-cmp-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr)}
.pl-cmp-head{padding:14px 24px;font-size:12px;font-weight:700;letter-spacing:.04em;color:#8a92a8;border-bottom:1px solid #1e2640}
.pl-cmp-head span:last-child{color:#f5c542}
.pl-cmp-row{padding:16px 24px;font-size:15px;border-bottom:1px solid #161c2e;align-items:center}
.pl-cmp-no{color:#8a92a8}
.pl-cmp-yes{color:#f5c542;font-weight:700}

/* FAQ */
.pl-faq{display:flex;flex-direction:column;gap:10px}
.pl-faq details{border-radius:14px;background:#111520;border:1px solid #1e2640;padding:0 20px}
.pl-faq summary{display:flex;justify-content:space-between;align-items:center;min-height:56px;font-weight:700;font-size:16px;cursor:pointer;list-style:none}
.pl-faq summary::-webkit-details-marker{display:none}
.pl-faq summary span{color:#8a92a8}
.pl-page .pl-faq p{margin:0 0 18px;color:#9aa2b8;font-size:15px;line-height:1.5}

/* Final block */
.pl-final{display:flex;align-items:center;gap:28px;padding:28px 36px;border-radius:20px;border:1px solid #6b5614;background:linear-gradient(90deg,rgba(245,197,66,.14),#0e111b 70%);flex-wrap:wrap}
.pl-final img{width:84px;height:84px;object-fit:contain}
.pl-final-t{flex:1;min-width:260px}
.pl-final h2{font-weight:900;font-size:28px}
.pl-page .pl-final p{margin:6px 0 0;color:#9aa2b8;font-size:15px}

.pl-sticky{display:none}

/* Tablet */
@media(max-width:1100px){
.pl-perks{grid-template-columns:repeat(2,minmax(0,1fr))}
.pl-more{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:980px){
.pl-hero-in{padding:40px 32px}
.pl-hero h1{font-size:48px}
}

/* Phone (PlusMobile mockup) */
@media(max-width:767px){
.pl-d{display:none!important}
.pl-m{display:revert}
.pl-page{padding:14px 14px 40px;gap:40px}
.pl-sec{gap:14px}
.pl-h2{font-size:24px;text-align:left}
.pl-active{gap:16px;padding:18px}
.pl-active h2{font-size:24px}
.pl-active-btns{flex:1 1 100%;flex-wrap:wrap}
.pl-hero{display:block;min-height:0;border-radius:20px}
.pl-hero-img{position:static;width:100%;height:210px;object-position:center top}
.pl-hero-shade{display:none}
.pl-hero-in{max-width:none;padding:6px 18px 20px;gap:14px;margin-top:-40px}
.pl-badge{padding:5px 12px;font-size:11px;background:rgba(13,11,18,.8)}
.pl-hero h1{font-size:38px}
body.redesign .pl-page .pl-hero h1{line-height:1.04}
.pl-lead{font-size:15px}
.pl-buy{gap:14px}
.pl-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;background:#0c0f18;align-self:stretch}
.pl-plan{min-width:0;min-height:56px;padding:8px 6px;align-items:center;justify-content:center;text-align:center}
.pl-cta-row{flex-direction:column;align-items:stretch;gap:14px}
.pl-cta-row .pl-cta{min-height:56px;padding:0;font-size:17px;box-shadow:none}
.pl-per{text-align:center;font-size:13px;line-height:normal}
.pl-per b{font-size:13px}
.pl-opts{max-width:none}
.pl-perks{gap:10px}
.pl-perk{gap:6px;padding:16px 10px 18px;border-radius:16px}
.pl-perk img{width:64px;height:64px}
.pl-perk b{font-size:28px}
.pl-perk h3{font-size:15px}
.pl-perk p{font-size:13px;line-height:1.4}
.pl-page .pl-more-h{margin:4px 0 0;text-align:left;font-size:14px}
.pl-more{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.pl-mc{gap:10px;padding:14px;border-radius:14px}
.pl-mc-i{width:40px;height:40px}
.pl-mc-i svg{width:20px;height:20px}
.pl-mc-t{gap:3px}
.pl-mc-t b{font-size:15px}
.pl-mc-t span{font-size:12px;line-height:1.4}
.pl-prof{width:auto;max-width:none;border-radius:18px}
.pl-av--prof .pl-av-ph{font-size:32px}
.pl-prof-cover{height:110px}
.pl-prof-row{flex-direction:column;align-items:stretch;flex-wrap:nowrap;gap:14px;padding:0 16px 18px}
.pl-prof-id{align-items:flex-end;gap:14px;flex:none;min-width:0}
.pl-av--prof{width:84px;height:84px;margin-top:-42px}
.pl-prof-info{padding:0 0 4px;gap:0}
.pl-prof-name .pl-gold{font-size:24px}
.pl-prof-link{font-size:13px}
.pl-prof-link b{color:inherit;font-weight:400}
.pl-frames{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;padding-top:0}
.pl-fb{width:auto;height:auto;aspect-ratio:1;min-height:44px;border-radius:12px}
.pl-fb img{inset:2px;width:calc(100% - 4px);height:calc(100% - 4px)}
.pl-cmp{border-radius:16px}
.pl-cmp-row{grid-template-columns:minmax(0,1fr) auto;row-gap:6px;padding:14px 16px;font-size:14px}
.pl-cmp-what{grid-column:1/-1;font-weight:600}
.pl-cmp-yes{text-align:right}
.pl-faq{gap:8px}
.pl-faq details{padding:0 16px}
.pl-faq summary{gap:10px;font-size:15px}
.pl-page .pl-faq p{margin:0 0 16px;font-size:14px}
.pl-sticky{position:sticky;bottom:0;z-index:5;display:flex;align-items:center;gap:12px;padding:10px 14px;background:rgba(7,9,14,.94);border-top:1px solid #1e2640;font-family:'Inter',system-ui,sans-serif;color:#e8eaf2}
.pl-sticky-p{font-size:12px;color:#8a92a8;line-height:1.3}
.pl-sticky-p b{color:#e8eaf2;font-size:16px;font-family:'Exo 2',sans-serif;font-weight:700}
.pl-sticky .pl-cta{flex:1;min-height:52px;padding:0;font-size:16px;box-shadow:none}
}

/* Panel /settings/plus (matches the dropandplus design mockup: Settings / SettingsMobile). Same box model as the mockup (content-box). */
.ps-root,.ps-root *,.ps-root *::before,.ps-root *::after{box-sizing:content-box}
.ps-root{color:#e8eaf2;font-family:'Inter',system-ui,sans-serif;line-height:normal;letter-spacing:normal}
.ps-root a{color:inherit;text-decoration:none}
body.redesign .ps-root h1,body.redesign .ps-root h2{margin:0;letter-spacing:0;line-height:normal;color:inherit;font-family:'Exo 2',sans-serif}
.ps-root p{margin:0}
.ps-root img{display:block;max-width:none}
.ps-root button{font-family:inherit;line-height:normal;margin:0;cursor:pointer}
.ps-root b{font-weight:700}
.ps-root [hidden]{display:none!important}
.ps-m,.ps-card.ps-m{display:none}
.ps-page{max-width:1384px;margin:0 auto;padding:28px 28px 40px;display:flex;flex-direction:column;gap:24px;min-width:0}
.ps-soon{border:1px dashed #252d45;border-radius:14px;padding:18px;color:#8a92a8;background:rgba(12,15,24,.85)}

/* Header */
.ps-head{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.ps-head-t{flex:1;min-width:260px}
body.redesign .ps-root .ps-h1{font-weight:900;font-size:32px}
.ps-status{margin-top:6px;display:flex;align-items:center;gap:10px;font-size:15px;color:#9aa2b8}
.ps-subscription-badge{padding:3px 10px;border-radius:999px;background:rgba(46,201,119,.12);border:1px solid rgba(46,201,119,.45);color:#2ec977;font-size:12px;font-weight:800}
.ps-subscription-badge--off{background:#111520;border-color:#252d45;color:#8a92a8}
.ps-root .ps-renew{display:inline-flex;align-items:center;min-height:48px;padding:0 24px;border-radius:12px;background:linear-gradient(135deg,#f5c542,#e8a82a);color:#1a1405;font-weight:800;font-size:15px}
.ps-root .ps-renew:hover{filter:brightness(1.08)}

/* Preview */
.ps-grid{display:grid;grid-template-columns:minmax(0,420px) minmax(0,1fr);gap:24px;align-items:start}
.ps-aside{position:sticky;top:16px;display:flex;flex-direction:column;gap:14px}
.ps-prof{border-radius:20px;overflow:hidden;border:1px solid #2c3050;background:#0e111b}
.ps-cover{width:100%;height:130px;background:#141a2e center/cover no-repeat}
.ps-prof-body{padding:0 22px 22px}
.ps-av{position:relative;display:block;width:88px;height:88px;margin-top:-44px;flex:none}
.ps-av-img{position:absolute;inset:0;width:100%;height:100%;border-radius:50%;object-fit:cover}
.ps-av-ph{display:grid;place-items:center;background:linear-gradient(135deg,#3a4a7a,#1d2640);font-family:'Exo 2',sans-serif;font-weight:900;font-size:34px;color:#e8eaf2}
.ps-ring{position:absolute;inset:-22%;width:144%;height:144%;object-fit:contain;pointer-events:none}
.ps-prof-info{margin-top:14px;min-width:0}
.ps-prof-name{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ps-nick{font-family:'Exo 2',sans-serif;font-weight:900;overflow-wrap:anywhere}
.ps-prof .ps-nick{font-size:32px}
.ps-chat .ps-nick{font-size:14px}
.ps-tag{display:inline-block;padding:3px 10px;border-radius:999px;background:rgba(245,197,66,.12);border:1px solid #6b5614;color:#f5c542;font-size:11px;font-weight:800}
.ps-tag--s{padding:1px 7px;font-size:10px}
.ps-prof-link{margin-top:4px;font-size:14px;color:#8a92a8;overflow-wrap:anywhere}
.ps-prof-link b{color:#e8eaf2}
.ps-chat{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:14px;background:#111520;border:1px solid #1e2640}
.ps-chat-l{font-size:13px;color:#8a92a8}
.ps-chat-av{width:26px;height:26px;border-radius:50%;background:#2a3558;display:grid;place-items:center;font-size:11px;font-weight:800}

/* Cards */
.ps-main{display:flex;flex-direction:column;gap:20px;min-width:0}
.ps-card{display:flex;flex-direction:column;gap:18px;padding:24px;border-radius:20px;background:#0c0f18;border:1px solid #1e2640;min-width:0}
.ps-card.is-locked,.ps-trow.is-locked{opacity:.55;pointer-events:none}
body.redesign .ps-root .ps-h2{font-weight:800;font-size:20px}
.ps-hint{font-size:13px;color:#6d7690}
.ps-cap{flex:1;font-size:13px;color:#8a92a8;line-height:1.4}
.ps-btn2{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:12px;border:1px solid #2c3050;background:transparent;color:#e8eaf2;font-weight:700;font-size:14px}
.ps-btn2:hover{border-color:#4a547a}
.ps-btn2--quiet{color:#8a92a8}
.ps-root :focus-visible{outline:2px solid #fff;outline-offset:2px}

/* Colour */
.ps-colors{display:flex;gap:12px;flex-wrap:wrap}
.ps-sw{width:48px;height:48px;border-radius:50%;border:0;padding:0;outline:3px solid transparent;outline-offset:3px}
.ps-sw.is-on{outline-color:#e8762a}
.ps-custom summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:6px;min-height:44px;color:#f0952a;font-weight:700;font-size:14px}
.ps-custom summary::-webkit-details-marker{display:none}
.ps-picker{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:16px;margin-top:10px}
.ps-picker-r{display:flex;flex-direction:column;gap:12px}
.ps-sv{height:150px;border-radius:12px;position:relative;touch-action:none;cursor:crosshair;background:linear-gradient(180deg,transparent,#000),linear-gradient(90deg,#fff,var(--ps-hue,#f5c542))}
.ps-hue{height:20px;border-radius:99px;position:relative;touch-action:none;cursor:pointer;background:linear-gradient(90deg,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00)}
.ps-sv i,.ps-hue i{position:absolute;width:16px;height:16px;margin:-8px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1px #000;pointer-events:none}
.ps-hue i{top:50%}

/* Frames */
.ps-frames{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.ps-fr{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 4px 10px;border-radius:14px;border:2px solid #1e2640;background:#111520;color:#e8eaf2}
.ps-fr.is-on{border-color:#f5c542}
.ps-fr-art{position:relative;width:56px;height:56px;display:block}
.ps-fr-dot{position:absolute;inset:8px;border-radius:50%;background:#2a3558}
.ps-fr-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.ps-fr-t{font-size:13px;font-weight:600}

/* Cover and icon */
.ps-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch}
.ps-pair--one{grid-template-columns:minmax(0,1fr)}
.ps-cover-box{height:104px;border-radius:12px;overflow:hidden}
.ps-cover--card{height:100%}
.ps-row{display:flex;align-items:center;gap:12px}
.ps-row--icon{gap:14px}
.ps-icon-box{width:72px;height:72px;border-radius:14px;border:2px dashed #2c3050;display:grid;place-items:center;color:#6d7690;font-size:12px;font-weight:700;flex:none;overflow:hidden}
.ps-icon-box img{width:100%;height:100%;object-fit:cover}

/* Own link */
.ps-slug-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ps-cell{display:flex;flex-direction:column;gap:6px;min-width:0}
.ps-inp{display:flex;align-items:center;gap:8px;min-height:48px;padding:0 14px;border-radius:12px;background:#07090e;border:1px solid #252d45;font-size:15px;margin:0;cursor:text}
.ps-inp:focus-within{border-color:#e8762a}
.ps-inp input{flex:1;min-width:0;padding:0;border:0;outline:0;background:transparent;color:inherit;font:inherit}
.ps-inp input::placeholder{color:#4d556e}
.ps-pre{color:#8a92a8}
.ps-dot{width:20px;height:20px;border-radius:50%;flex:none}
.ps-ok{display:none;margin-left:auto;color:#2ec977}
.ps-inp.is-ok{border-color:rgba(46,201,119,.6)}
.ps-inp.is-ok .ps-ok{display:inline}
.ps-inp.is-bad{border-color:rgba(235,75,75,.6)}
.ps-slug-msg{font-size:13px}
.ps-slug-msg{min-height:16px}
.ps-slug-msg.ok{color:#7fe3ac}
.ps-slug-msg.err{color:#ff9a9a}

/* Switches */
.ps-card--rows{gap:0;padding:8px 24px}
.ps-trow{display:flex;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid #161c2e}
.ps-trow:last-child{border-bottom:0}
.ps-trow-t{flex:1;min-width:0}
.ps-trow-t b{font-size:16px}
.ps-trow-t div{font-size:13px;color:#8a92a8;margin-top:2px}
.ps-root .ps-link{display:inline-block;margin-top:4px;font-size:13px;font-weight:700;color:#f0952a}
.ps-toggle{width:50px;height:28px;border-radius:99px;border:0;padding:0;position:relative;flex:none;background:#2a3050}
.ps-toggle.is-on{background:#2ec977}
.ps-toggle i{position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff}
.ps-toggle.is-on i{left:25px}
.ps-toggle[disabled]{opacity:.6;cursor:not-allowed}

/* Save bar */
.ps-bar{position:sticky;bottom:0;z-index:5;display:flex;align-items:center;justify-content:center;gap:16px;padding:14px 28px;background:rgba(12,15,24,.96);border-top:1px solid #1e2640}
.ps-note{font-size:14px;color:#6d7690}
.ps-note.is-dirty{color:#f5c542}
.ps-note.is-saved{color:#2ec977}
.ps-note.is-err{color:#ff9a9a}
.ps-save{min-height:48px;padding:0 32px;border-radius:12px;border:0;background:#1a2036;color:#6d7690;font-weight:700;font-size:15px}
.ps-save:not([disabled]){background:linear-gradient(135deg,#e8762a,#f0952a);color:#fff}
.ps-save[disabled]{cursor:default}

/* Tablet: the preview goes above the cards */
@media(max-width:1100px){
.ps-grid{grid-template-columns:minmax(0,1fr)}
.ps-aside{position:static}
.ps-frames{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* Phone (SettingsMobile mockup) */
@media(max-width:767px){
.ps-d{display:none!important}
.ps-m{display:revert}
.ps-card.ps-m{display:flex}
.ps-page{padding:16px 14px 20px;gap:14px}
.ps-head{flex-wrap:nowrap;gap:12px}
.ps-head-t{min-width:0}
body.redesign .ps-root .ps-h1{font-size:26px}
.ps-status{margin-top:4px;gap:4px;font-size:13px}
.ps-subscription-badge{padding:0;border:0;background:none;font-size:13px}
.ps-root .ps-renew{min-height:44px;padding:0 18px;font-size:14px}
.ps-grid,.ps-aside,.ps-main{display:contents}
.ps-prof{border-radius:18px}
.ps-cover{height:96px}
.ps-prof-body{display:flex;align-items:flex-end;gap:14px;padding:0 16px 16px}
.ps-av{width:72px;height:72px;margin-top:-36px}
.ps-av-ph{font-size:28px}
.ps-prof-info{margin-top:0;padding-top:10px}
.ps-prof-name{gap:8px}
.ps-prof .ps-nick{font-size:24px}
.ps-tag{padding:2px 8px;font-size:10px}
.ps-prof-link{margin-top:2px;font-size:13px}
.ps-prof-link b{color:inherit;font-weight:400}
.ps-card{gap:14px;padding:18px;border-radius:18px}
body.redesign .ps-root .ps-h2{font-size:18px}
.ps-colors{display:grid;grid-template-columns:repeat(4,1fr);gap:14px 0;justify-items:center}
.ps-sw{width:44px;height:44px}
.ps-custom summary{display:flex;justify-content:center;min-height:48px;padding:0 16px;border-radius:12px;border:1px solid #2c3050;color:#e8eaf2}
.ps-custom summary span{display:none}
.ps-picker{grid-template-columns:minmax(0,1fr)}
.ps-frames{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ps-fr{gap:6px;padding:12px 4px 8px;min-height:44px}
.ps-fr-t{font-size:12px}
.ps-cover-box--m{height:84px}
.ps-row--btns{gap:10px}
.ps-row--btns .ps-btn2{flex:1;min-height:48px}
.ps-hint{font-size:12px}
.ps-slug-grid{display:contents}
.ps-cell{display:contents}
.ps-slug-msg{font-size:13px}
.ps-card--rows{padding:6px 18px}
.ps-trow{gap:14px;padding:14px 0}
.ps-trow-t b{font-size:15px}
.ps-trow-t div{font-size:12px;line-height:1.4}
.ps-bar{flex-direction:column;align-items:stretch;justify-content:flex-start;gap:6px;padding:10px 14px 14px;background:rgba(12,15,24,.97)}
.ps-note{font-size:12px;text-align:center}
.ps-save{min-height:52px;padding:0;font-size:16px}
}
