/* Premium controls share the warm product surfaces; purple marks paid personalization. */
.premium-name { background: linear-gradient(105deg,var(--nick-a),var(--nick-b)); background-clip:text; -webkit-background-clip:text; color:transparent; -webkit-text-fill-color:transparent; -webkit-text-stroke:.35px #49344c88; filter:drop-shadow(0 1px 1px #35223a30); padding:0 1px; box-decoration-break:clone; }
[data-theme='dark'] .premium-name { -webkit-text-stroke:.2px #fff2; filter:drop-shadow(0 1px 1px #0005); }
.premium-item-badge,.nick-style-link span { display:inline-block; padding:3px 6px; border-radius:7px; background:#eee7ff; color:#6334b6; font-size:10px; font-weight:700; vertical-align:middle; }
.nick-style-link { display:flex; align-items:center; gap:6px; color:var(--fg-muted); font-size:11px; min-height:44px; text-align:left; margin-top:4px; }
.nick-editor { padding:18px; margin:16px 0; }
.nick-editor-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.nick-editor-head h3 { font-size:18px; font-weight:700; }
.nick-preview { display:grid; place-items:center; min-height:80px; background:var(--surface-2); border:1px solid var(--border); border-radius:16px; margin:12px 0; font-size:28px; font-weight:800; overflow-wrap:anywhere; padding:12px; }
.nick-colors { display:flex; gap:16px; margin:16px 0; }
.nick-colors label { display:flex; flex:1; align-items:center; justify-content:space-between; gap:8px; font-size:12px; color:var(--fg-muted); }
.nick-colors input { width:48px; height:44px; padding:3px; background:var(--surface); border:1px solid var(--border-strong); border-radius:10px; }
.nick-presets { display:flex; flex-wrap:wrap; gap:8px; }
.nick-presets button { width:46px; height:46px; padding:5px; border:1px solid var(--border-strong); border-radius:13px; background:var(--surface); }
.nick-presets button span { display:block; height:100%; border-radius:8px; background:linear-gradient(110deg,var(--preset-a),var(--preset-b)); }
.nick-editor-actions { display:flex; gap:8px; margin-top:16px; }
.nick-editor-actions .btn { flex:1; padding-inline:12px; font-size:13px; }
body.has-pro-sheet { overflow:hidden; }
#paywall.pro-modal { display:flex; align-items:flex-end; justify-content:center; padding:16px 12px max(12px,env(safe-area-inset-bottom)); }
#paywall .modal__scrim { background:#1e162568; backdrop-filter:blur(4px); touch-action:none; }
.pro-sheet { position:relative; width:100%; max-width:440px; max-height:82dvh; border-radius:28px; background:var(--surface); color:var(--fg); border:1px solid var(--border); box-shadow:0 16px 60px #160b2433; overflow-y:auto; overscroll-behavior:contain; padding:20px; animation:rise var(--dur) var(--ease-out); }
.pro-sheet-head { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:16px; }
.pro-sheet-head h2 { font-size:22px; font-weight:800; }
#pro-sub { font-size:11px; color:var(--fg-muted); margin-top:4px; line-height:1.4; }
.pro-sheet-head .icon-btn { flex:none; background:var(--surface-2); border-radius:50%; }
.pro-hero { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; }
.pro-hero>div:first-child { flex:1; min-width:0; }
.pro-kicker { color:#9165d3; font-size:10px; font-weight:700; letter-spacing:.1em; }
.pro-hero h3 { font-size:23px; line-height:1.14; font-weight:800; margin-top:6px; }
.pro-name-sample { display:inline-block; font-size:17px; font-weight:800; margin-top:12px; padding:7px 12px; border-radius:10px; background:#31213e; }
.pro-name-sample .premium-name { -webkit-text-stroke:0; }
.pro-mascot { width:72px; flex:none; }
.pro-fox { display:block; width:72px; }
.pro-benefits { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-bottom:18px; }
.pro-benefits>div { display:flex; align-items:center; gap:8px; min-width:0; background:var(--surface-2); padding:10px; border-radius:13px; }
.pro-benefits .ico { width:22px; height:22px; flex:none; color:#9064d4; }
.pro-benefits b { display:block; font-size:11px; font-weight:700; }
.pro-benefits small { display:block; color:var(--fg-muted); font-size:9px; line-height:1.4; margin-top:3px; }
.pro-plan-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin-bottom:12px; }
.pro-plan.plan { display:flex; flex-direction:column; align-items:flex-start; gap:5px; min-width:0; padding:12px; border:1.5px solid var(--border); border-radius:16px; box-shadow:none; }
.pro-plan.plan.is-selected { border-color:#8452cc; background:#f2ebff; color:#2d1749; }
[data-theme='dark'] .pro-plan.plan.is-selected { background:#3a2850; color:#faf3ff; }
.pro-plan-title { font-size:11px; font-weight:600; line-height:1.4; }
.pro-plan-price { display:flex; align-items:center; gap:5px; font-size:23px; font-weight:800; }
.pro-plan-price .ico { width:17px; height:17px; color:#a77a20; }
.pro-plan-note { font-size:9px; color:var(--fg-muted); }
.pro-action.btn { width:100%; min-height:50px; padding:10px 14px; background:#7443c5; color:white; box-shadow:0 3px 0 #54269c; border-radius:15px; font-size:15px; font-weight:700; }
.pro-payment-note,.pro-ownership-note { font-size:10px; line-height:1.5; color:var(--fg-muted); text-align:center; margin-top:10px; }
.pro-ownership-note { margin-bottom:10px; }
.pro-details { font-size:11px; color:var(--fg-muted); }
.pro-details summary { min-height:40px; cursor:pointer; display:flex; align-items:center; justify-content:center; list-style:none; }
.pro-details summary::after { content:'⌄'; padding-left:6px; }
.pro-details p { line-height:1.6; margin:8px 0; }
.pro-legal { display:flex; gap:12px; margin-top:8px; }
.pro-legal button { min-height:44px; color:var(--accent-text); text-decoration:underline; font-size:11px; }
#legal { z-index:320; }
@media(min-width:600px) { #paywall.pro-modal { align-items:center; } .pro-sheet { max-height:80dvh; } }
@media(max-width:370px) { .pro-sheet { padding:16px; border-radius:24px; } .pro-hero h3 { font-size:21px; } .pro-benefits>div { padding:8px; gap:6px; } .pro-benefits b { font-size:10px; } .pro-benefits small { font-size:9px; } }
@media(prefers-reduced-motion:reduce) { .pro-sheet { animation:none; } }

.pro-hero { margin-bottom:12px; }
.pro-hero h3 { margin-top:0; }
.pro-name-sample { margin-top:8px; padding:6px 10px; font-size:15px; }
.pro-benefits { margin-bottom:12px; }
.pro-plan.plan { padding:10px; gap:4px; }
