@font-face {
  font-family: "Unbounded";
  src: url("fonts/Unbounded-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Sofia";
  src: url("fonts/Sofia-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --bg: #050708;
  --bg-2: #090d10;
  --panel: #0e1418;
  --panel-2: #131b20;
  --text: #f3f7f4;
  --muted: #9aa7a2;
  --line: rgba(255,255,255,.1);
  --accent: #78f7c4;
  --danger: #ff6b7a;
  --radius: 8px;
  --shadow: 0 18px 60px rgba(0,0,0,.34);
  --font-body: "Unbounded", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Unbounded", ui-sans-serif, system-ui, sans-serif;
  font-family: var(--font-body);
}
* { box-sizing: border-box; letter-spacing: 0; }
.sr-only { width: 1px; height: 1px; padding: 0; position: absolute; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
html { background: var(--bg); color: var(--text); }
body { margin: 0; min-height: 100vh; background: linear-gradient(135deg, rgba(120,247,196,.08), transparent 22%), radial-gradient(circle at 76% 12%, rgba(106,166,255,.12), transparent 26%), linear-gradient(180deg, #050708, #090d10 56%, #050708); color: var(--text); font-family: var(--font-body); font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.icon { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.brand { display: inline-flex; gap: 10px; align-items: center; font-weight: 780; }
.brand-logo-link { display: inline-grid; place-items: center; flex: 0 0 auto; }
.brand-logo { width: 42px; height: 42px; display: block; border-radius: 8px; object-fit: cover; }
.brand .brand-logo { width: 40px; height: 40px; }
.site-nav { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-nav nav, .footer nav { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.site-nav nav a, .footer nav a { color: var(--muted); padding: 10px 12px; border-radius: 8px; display: inline-flex; align-items: center; gap: 8px; }
.site-nav nav a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-pill { color: #06120d !important; background: var(--accent); }
.hero { width: min(1180px, calc(100% - 32px)); margin: 46px auto 80px; min-height: 660px; display: grid; grid-template-columns: 1fr 430px; gap: 64px; align-items: center; }
.hero h1, .simple-page h1, .topbar h1, .not-found h1 { margin: 10px 0 16px; line-height: 1.02; font-family: var(--font-display); font-size: clamp(42px, 7vw, 86px); font-weight: 760; letter-spacing: 0; text-wrap: balance; }
.hero p { color: var(--muted); font-size: 19px; line-height: 1.7; max-width: 640px; }
.eyebrow { display: inline-flex; color: var(--accent); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.hero-actions, .form-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: #10171b; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); border-color: rgba(120,247,196,.45); }
.button.primary { background: var(--accent); color: #06120d; border-color: var(--accent); font-weight: 800; }
.button.secondary { background: rgba(255,255,255,.055); }
.button.danger { color: #27060b; background: var(--danger); border-color: var(--danger); }
.button.wide { width: 100%; }
.hero-preview { display: flex; justify-content: center; }
.public-card { --accent: #78f7c4; width: min(100%, 430px); overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, rgba(20,29,34,.94), rgba(8,12,14,.98)); box-shadow: var(--shadow); }
.public-card.glass { background: rgba(12,18,21,.76); backdrop-filter: blur(16px); }
.public-card.outline { background: transparent; border-color: color-mix(in srgb, var(--accent), transparent 42%); }
.profile-banner { height: 132px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent), #0b1013 30%), #141b22); background-size: cover; background-position: center; }
.profile-core { padding: 0 24px 24px; text-align: center; }
.avatar { width: 96px; height: 96px; object-fit: cover; border-radius: 24px; margin-top: -48px; border: 4px solid #0b1013; background: var(--panel); }
.profile-core h1 { margin: 12px 0 4px; font-size: 30px; overflow-wrap: anywhere; }
.handle, .muted, .profile-core small { color: var(--muted); }
.bio { color: #d9e3df; line-height: 1.6; overflow-wrap: anywhere; }
.profile-meta, .social-row { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.profile-meta span, .social-row a, .status-pill { border: 1px solid var(--line); border-radius: 999px; padding: 7px 10px; color: var(--muted); background: rgba(255,255,255,.04); font-size: 12px; }
.social-row a { display: inline-flex; align-items: center; gap: 6px; }
.social-row .icon { width: 13px; height: 13px; }
.social-row a:hover { color: #06120d; background: var(--accent); }
.social-brand-icon, .profile-links .social-brand-icon { width: 18px; height: 18px; flex: 0 0 auto; object-fit: contain; }
.social-row a { width: 38px; height: 38px; padding: 0; display: inline-grid; place-items: center; }
.social-row a:hover .social-brand-icon { filter: brightness(0); }
.profile-links { display: grid; gap: 10px; margin-top: 18px; }
.profile-links a, .list-row, .leader-row { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.045); text-align: left; transition: transform .18s ease, border-color .18s ease, background .18s ease; min-width: 0; }
.profile-links a:hover, .leader-row:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent), transparent 35%); }
.profile-links a > .icon:first-child { width: 20px; height: 20px; color: var(--accent); }
.profile-links a > .icon:last-child { width: 16px; height: 16px; color: var(--muted); }
.profile-links span { display: grid; gap: 2px; flex: 1 1 auto; }
.profile-links span, .profile-links small, .list-row span, .leader-row span { min-width: 0; overflow-wrap: anywhere; }
audio { width: 100%; margin-top: 18px; }
.made-with { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; color: var(--muted); font-size: 12px; }
.watermark-logo { width: 20px; height: 20px; border-radius: 5px; }
.feature-band { width: min(1180px, calc(100% - 32px)); margin: 0 auto 70px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature-band.compact { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.feature-band article, .panel, .metric, .auth-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: linear-gradient(180deg, rgba(18,26,31,.9), rgba(10,15,18,.9)); box-shadow: inset 0 1px rgba(255,255,255,.035); }
.card-icon { width: 42px; height: 42px; display: inline-grid; place-items: center; margin-bottom: 16px; border: 1px solid rgba(120,247,196,.26); border-radius: 10px; color: var(--accent); background: rgba(120,247,196,.08); }
.card-icon .icon { width: 21px; height: 21px; }
.feature-band h2, .panel h2 { margin-top: 0; }
.feature-band p, .panel p { color: var(--muted); line-height: 1.6; }
.cta-strip, .simple-page, .not-found { width: min(960px, calc(100% - 32px)); margin: 80px auto; text-align: center; }
.cta-strip { border-block: 1px solid var(--line); padding: 48px 0; display: flex; align-items: center; justify-content: space-between; gap: 28px; text-align: left; }
.cta-strip h2 { margin: 7px 0 0; font-family: var(--font-display); font-size: clamp(26px, 4vw, 42px); font-weight: 740; line-height: 1.12; text-wrap: balance; }
.footer { width: min(1180px, calc(100% - 32px)); margin: 70px auto 0; padding: 28px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; color: var(--muted); }
.legal-body { min-height: 100vh; background: #050505; color: #fff; }
.legal-nav { width: min(1120px, calc(100% - 40px)); height: 92px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.legal-logo { width: 46px; height: 46px; border-radius: 7px; }
.legal-shop { min-width: 86px; min-height: 38px; padding: 0 18px; display: inline-grid; place-items: center; border: 1px solid #fff; border-radius: 7px; color: #080808; background: #fff; font-size: 13px; font-weight: 760; transition: transform .16s ease, background .16s ease; }
.legal-shop:hover { transform: translateY(-1px); background: #ededed; }
.legal-page { width: min(770px, calc(100% - 40px)); margin: 126px auto 90px; }
.legal-back { margin-bottom: 34px; }
.legal-page h1 { margin: 0 0 86px; font-family: var(--font-display); font-size: clamp(40px, 5vw, 56px); line-height: 1.06; font-weight: 790; }
.legal-sections { display: grid; gap: 32px; }
.legal-sections section { scroll-margin-top: 28px; }
.legal-section-link { display: inline-block; }
.legal-section-link h2 { margin: 0 0 10px; color: #fff; font-size: 18px; line-height: 1.35; font-weight: 760; }
.legal-section-link:hover h2 { color: #ff7417; }
.legal-sections p { margin: 0; color: #aaa6a3; font-size: 14px; line-height: 1.75; font-weight: 430; }
.legal-updated { width: fit-content; margin: 44px 0 0; padding: 10px 12px; display: inline-flex; align-items: center; gap: 9px; border: 1px solid #242424; border-radius: 6px; color: #aaa6a3; background: #0a0a0a; font-size: 11px; }
.legal-updated .icon { width: 15px; height: 15px; color: #ff7417; }
.legal-updated strong { color: #fff; }
.legal-contact { margin: 18px 0 0; color: #777370; font-size: 11px; line-height: 1.6; }
.legal-contact a { color: #e3dfdc; text-decoration: underline; text-underline-offset: 3px; }
.legal-footer { margin-top: 0; }
.legal-footer a:hover { color: #fff; }
.support-page { min-height: 620px; margin-top: 80px; }
.support-page h1 { margin-bottom: 68px; font-size: clamp(40px, 5vw, 52px); }
.support-sections { display: grid; gap: 28px; }
.support-sections section { display: grid; gap: 7px; }
.support-sections h2 { margin: 0; color: #fff; font-size: 16px; line-height: 1.4; font-weight: 760; }
.support-sections p { max-width: 700px; margin: 0; color: #aaa6a3; font-size: 13px; line-height: 1.65; font-weight: 430; }
.support-contact-link { width: fit-content; display: inline-flex; align-items: center; gap: 8px; color: #d8d2ce; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.support-contact-link:hover { color: #fff; }
.support-contact-link .icon { width: 15px; height: 15px; color: #ff7417; }
.support-closing { margin-top: 12px !important; color: #c1bbb7 !important; }
.faq-page { margin-top: 80px; }
.faq-page h1 { max-width: 760px; margin-bottom: 18px; font-size: clamp(38px, 4.8vw, 52px); line-height: 1.12; }
.faq-intro { max-width: 620px; margin: 0 0 52px; color: #8f8b88; font-size: 13px; line-height: 1.7; }
.faq-list { border-top: 1px solid #202020; }
.faq-list details { border-bottom: 1px solid #202020; }
.faq-list summary { min-height: 68px; padding: 18px 4px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #f5f3f2; cursor: pointer; list-style: none; font-size: 14px; font-weight: 720; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { width: 18px; height: 18px; position: relative; flex: 0 0 auto; }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; top: 8px; right: 2px; left: 2px; height: 1px; background: #99928e; transition: transform .18s ease, background .18s ease; }
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i::after { transform: rotate(0); }
.faq-list details[open] summary, .faq-list summary:hover { color: #fff; }
.faq-list details[open] summary i::before, .faq-list details[open] summary i::after { background: #ff7417; }
.faq-list details p { max-width: 690px; margin: -4px 34px 22px 4px; color: #999491; font-size: 12px; line-height: 1.75; }
.faq-support { margin-top: 30px; padding: 18px 20px; border: 1px solid #222; border-radius: 6px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #0a0a0a; }
.faq-support span { color: #8e8986; font-size: 11px; }
.faq-support a { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-size: 11px; font-weight: 700; }
.faq-support .icon { width: 14px; height: 14px; color: #ff7417; }
.auth-body { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; padding: 0; background: linear-gradient(90deg, rgba(3,3,3,.46), rgba(3,3,3,.9) 68%), url("forest-hero.jpg") center / cover fixed no-repeat; }
.auth-topbar { width: min(1080px, calc(100% - 40px)); height: 84px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.auth-topbar > a:last-child { color: #aaa7a5; font-size: 13px; font-weight: 600; }
.auth-topbar > a:last-child:hover { color: #fff; }
.auth-layout { width: min(1080px, calc(100% - 40px)); margin: auto; display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 84px; align-items: center; }
.auth-story { max-width: 560px; padding: 36px 0; }
.auth-story h1 { max-width: 540px; margin: 16px 0 18px; font-family: var(--font-display); font-size: clamp(44px, 5vw, 68px); font-weight: 760; line-height: 1.02; letter-spacing: 0; text-wrap: balance; }
.auth-story > p { max-width: 510px; margin: 0; color: #aaa7a5; font-size: 16px; line-height: 1.7; }
.auth-proof { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px 18px; color: #c2bfbd; font-size: 12px; }
.auth-proof span { display: inline-flex; align-items: center; gap: 8px; }
.auth-proof i { width: 6px; height: 6px; border-radius: 50%; background: #ff7417; box-shadow: 0 0 12px rgba(255,116,23,.7); }
.auth-card { width: 100%; padding: 32px; border-color: rgba(255,255,255,.11); border-radius: 7px; background: rgba(9,9,10,.92); box-shadow: 0 26px 80px rgba(0,0,0,.45); backdrop-filter: blur(18px); }
.auth-card-heading { margin-bottom: 26px; }
.auth-kicker { color: #ff8b3d; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.auth-card h2 { margin: 7px 0 8px; font-family: var(--font-display); font-size: 30px; font-weight: 740; line-height: 1.15; }
.auth-card-heading p { margin: 0; color: #8f8b89; font-size: 13px; line-height: 1.55; }
.auth-card label { gap: 8px; color: #e9e7e6; font-size: 12.5px; font-weight: 650; }
.auth-card label small { margin-top: -2px; color: #746f6d; font-size: 10.5px; font-weight: 500; }
.auth-card input { min-height: 46px; border-color: #28282a; border-radius: 6px; background: #0d0d0e; color: #fff; font-size: 14px; }
.auth-card input:focus { outline: 0; border-color: #8e491c; box-shadow: 0 0 0 3px rgba(255,116,23,.09); }
.auth-submit { min-height: 46px; margin-top: 2px; border-color: #ff7417; background: #ff7417; color: #fff; font-weight: 700; box-shadow: 0 10px 28px rgba(255,116,23,.16); }
.auth-submit:hover { border-color: #ff9148; background: #ff8430; }
.auth-secondary { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; color: #777371; font-size: 11.5px; }
.auth-secondary a { color: #ddd9d7; font-weight: 650; }
.auth-secondary a:hover { color: #ff8b3d; }
.auth-notice { margin-bottom: 20px; padding: 14px; border: 1px solid #29292b; border-radius: 6px; color: #aaa6a4; background: #0d0d0e; font-size: 13px; line-height: 1.55; }
.auth-footer { width: min(1080px, calc(100% - 40px)); min-height: 76px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; color: #696664; font-size: 11px; }
.auth-footer nav { display: flex; gap: 22px; }
.auth-footer a:hover { color: #fff; }
.form-stack { display: grid; gap: 16px; }
label { display: grid; gap: 8px; color: #dfe7e3; font-size: 14px; font-weight: 700; }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: #090f12; min-height: 44px; padding: 11px 12px; }
input::placeholder, textarea::placeholder { color: #625f5d; opacity: 1; }
textarea { min-height: 150px; resize: vertical; }
input[type="file"] { padding: 9px; }
.password-field { display: grid; grid-template-columns: 1fr auto; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #090f12; }
.password-field input { border: 0; }
.password-field button { width: 46px; border: 0; border-left: 1px solid var(--line); background: transparent; color: #918d8a; padding: 0; display: grid; place-items: center; }
.password-field button:hover { color: #fff; background: rgba(255,255,255,.035); }
.toast { width: min(390px, calc(100% - 28px)); min-height: 74px; padding: 12px; position: fixed; z-index: 30000; right: 14px; top: 14px; display: grid; grid-template-columns: 42px minmax(0,1fr) 30px; gap: 11px; align-items: center; overflow: hidden; border: 1px solid rgba(120,247,196,.3); border-radius: 8px; color: #f5fffb; background: rgba(12,21,18,.97); box-shadow: 0 20px 55px rgba(0,0,0,.58), inset 3px 0 #78f7c4; backdrop-filter: blur(18px); animation: toast-in .28s cubic-bezier(.2,.8,.2,1) both; transition: opacity .22s ease, transform .22s ease; }
.toast-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(120,247,196,.28); border-radius: 7px; color: #78f7c4; background: rgba(120,247,196,.09); }
.toast-icon .icon { width: 19px; height: 19px; }
.toast-copy { min-width: 0; display: grid; gap: 4px; }
.toast-copy b { font-size: 11px; line-height: 1.25; }
.toast-copy small { color: #aebbb6; font-size: 9px; line-height: 1.5; overflow-wrap: anywhere; }
.toast > button { width: 30px; height: 30px; padding: 0; display: grid; place-items: center; border: 1px solid transparent; border-radius: 6px; color: #87918d; background: transparent; }
.toast > button:hover { border-color: rgba(255,255,255,.1); color: #fff; background: rgba(255,255,255,.06); }
.toast > button .icon { width: 14px; height: 14px; }
.toast.error { border-color: rgba(255,107,122,.34); background: rgba(35,13,18,.97); box-shadow: 0 20px 55px rgba(0,0,0,.58), inset 3px 0 #ff6b7a; }
.toast.error .toast-icon { border-color: rgba(255,107,122,.3); color: #ff8894; background: rgba(255,107,122,.1); }
.toast.hide { opacity: 0; transform: translateY(-10px) scale(.985); pointer-events: none; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-10px) scale(.985); } to { opacity: 1; transform: none; } }
@media (max-width: 520px) { .toast { width: calc(100% - 20px); right: 10px; top: 10px; } }
.app-body { background: var(--bg); }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 260px 1fr; }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 22px; border-right: 1px solid var(--line); background: #070a0c; display: flex; flex-direction: column; gap: 24px; }
.sidebar nav { display: grid; gap: 7px; }
.sidebar nav a { color: var(--muted); padding: 12px; border-radius: 8px; display: flex; align-items: center; gap: 10px; }
.sidebar nav a.active, .sidebar nav a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.sidebar nav a.active .icon { color: var(--accent); }
.side-profile { margin-top: auto; display: flex; gap: 10px; align-items: center; border-top: 1px solid var(--line); padding-top: 18px; }
.side-profile > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; background: var(--accent); color: #06120d; font-weight: 900; }
.side-profile small { display: block; color: var(--muted); }
.app-main { padding: 32px; max-width: 1440px; width: 100%; }
.topbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 24px; }
.topbar h1 { font-size: clamp(34px, 4vw, 58px); margin-bottom: 0; }
.dashboard-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 14px; }
.hero-panel { min-height: 220px; }
.progress { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; margin: 18px 0; }
.progress span { display: block; height: 100%; background: var(--accent); }
.metric strong { display: block; font-size: 34px; margin: 8px 0; overflow-wrap: anywhere; }
.metric span, .metric small { color: var(--muted); }
.split, .editor-grid { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 18px; align-items: start; margin-top: 18px; }
.preview-pane { display: flex; justify-content: center; align-items: start; position: sticky; top: 24px; }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.toggle-row span { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; }
.toggle-row span small { grid-column: 2; color: var(--muted); font-weight: 500; }
.toggle-row span .icon { color: var(--accent); }
.toggle-row input, .check input { width: auto; min-height: auto; }
.inline-form { display: grid; grid-template-columns: 1fr 1.4fr auto auto auto; gap: 10px; align-items: end; margin-bottom: 18px; }
.link-editor-list { display: grid; gap: 10px; }
.link-edit-row { display: grid; grid-template-columns: 1fr 1.4fr 120px 100px auto auto; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.035); }
.leader-list { display: grid; gap: 10px; margin-top: 28px; }
.leader-row { text-align: left; }
.leader-row strong { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; background: rgba(120,247,196,.12); color: var(--accent); }
.leader-row small { display: block; color: var(--muted); }

/* Explore */
.explore-body { min-height: 100vh; display: flex; flex-direction: column; background: #050505; color: #fff; }
.explore-body .site-nav { width: min(1120px,calc(100% - 40px)); min-height: 78px; padding: 12px 0; border-bottom: 1px solid #1d1d1f; }
.explore-body .site-nav .brand strong { color: #fff; }
.explore-page { width: min(1120px,calc(100% - 40px)); margin: 0 auto; flex: 1; padding: 68px 0 36px; }
.explore-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; padding-bottom: 30px; border-bottom: 1px solid #202024; }
.explore-heading > div { max-width: 720px; }
.explore-kicker { display: inline-flex; align-items: center; gap: 7px; color: #ff8a3c; font-size: 8px; font-weight: 760; text-transform: uppercase; }
.explore-kicker .icon { width: 14px; height: 14px; }
.explore-heading h1 { margin: 12px 0 13px; font-size: clamp(34px,5vw,56px); line-height: 1.05; font-weight: 790; }
.explore-heading p { max-width: 650px; margin: 0; color: #8d8783; font-size: 11px; line-height: 1.75; }
.explore-heading .orange-cta { min-width: 154px; display: inline-flex; gap: 7px; }
.explore-heading .orange-cta .icon { width: 14px; height: 14px; }
.explore-summary { margin: 22px 0 34px; display: grid; grid-template-columns: 190px 210px minmax(260px,1fr); gap: 10px; }
.explore-summary article { min-height: 66px; padding: 11px 13px; display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 10px; align-items: center; border: 1px solid #242428; border-radius: 7px; background: #0c0c0e; }
.explore-summary article > span { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,116,23,.28); border-radius: 6px; color: #ff812d; background: rgba(255,116,23,.07); }
.explore-summary article .icon { width: 16px; height: 16px; }
.explore-summary article div { display: grid; gap: 3px; }
.explore-summary small { color: #77716d; font-size: 7px; }
.explore-summary strong { color: #f5f3f2; font-size: 15px; }
.explore-search { min-height: 66px; padding: 0 16px; display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 10px; align-items: center; border: 1px solid #242428; border-radius: 7px; background: #0c0c0e; }
.explore-search .icon { width: 16px; height: 16px; color: #696460; }
.explore-search input { width: 100%; min-height: 40px; padding: 0; border: 0; color: #fff; background: transparent; outline: 0; font-size: 9px; }
.explore-search:focus-within { border-color: #74421f; box-shadow: 0 0 0 3px rgba(255,116,23,.06); }
.explore-featured { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.explore-featured-card { min-width: 0; min-height: 168px; padding: 18px; position: relative; display: grid; grid-template-columns: 58px minmax(0,1fr); grid-template-rows: 1fr auto; gap: 13px; align-items: center; overflow: hidden; border: 1px solid #29292d; border-radius: 8px; background: linear-gradient(145deg,color-mix(in srgb,var(--profile-accent) 8%,transparent),transparent 55%),#0d0d0f; transition: border-color .18s ease,transform .18s ease,background .18s ease; }
.explore-featured-card::before { content: ""; height: 2px; position: absolute; inset: 0 0 auto; background: var(--profile-accent); opacity: .8; }
.explore-featured-card:hover { border-color: color-mix(in srgb,var(--profile-accent) 55%,#29292d); background-color: #111113; transform: translateY(-2px); }
.explore-featured-card > img { width: 58px; height: 58px; border: 2px solid color-mix(in srgb,var(--profile-accent) 55%,#29292d); border-radius: 50%; object-fit: cover; }
.explore-featured-card > div { min-width: 0; display: grid; gap: 5px; }
.explore-featured-card b,.explore-featured-card small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.explore-featured-card b { font-size: 11px; }
.explore-featured-card small { color: #87817d; font-size: 8px; }
.explore-featured-card > em { align-self: end; color: #a09a96; font-size: 7.5px; font-style: normal; }
.explore-featured-card > .icon { width: 15px; height: 15px; justify-self: end; align-self: end; color: #6f6965; }
.explore-rank { min-width: 38px; height: 25px; padding: 0 8px; position: absolute; top: 12px; right: 12px; display: grid; place-items: center; border: 1px solid #303034; border-radius: 5px; color: #aaa4a0; background: #131315; font-size: 8px; font-weight: 780; }
.explore-featured-card.rank-1 .explore-rank { border-color: rgba(255,174,64,.38); color: #ffb24d; background: rgba(255,174,64,.08); }
.explore-directory { margin-top: 42px; }
.explore-section-heading { margin-bottom: 12px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.explore-section-heading > span { display: grid; gap: 5px; }
.explore-section-heading small { color: #ff8735; font-size: 7px; text-transform: uppercase; }
.explore-section-heading h2 { margin: 0; font-size: 17px; }
.explore-section-heading > em { color: #79736f; font-size: 8px; font-style: normal; }
.explore-list { display: grid; gap: 7px; }
.explore-row { min-width: 0; min-height: 72px; padding: 9px 13px; display: grid; grid-template-columns: 28px 50px minmax(0,1fr) auto 16px; gap: 12px; align-items: center; border: 1px solid #242428; border-radius: 7px; background: #0b0b0d; transition: border-color .16s ease,background .16s ease,transform .16s ease; }
.explore-row:hover { border-color: #57331d; background: #101011; transform: translateX(2px); }
.explore-row > strong { color: #6f6965; font-size: 9px; text-align: center; }
.explore-row > img { width: 50px; height: 50px; border: 1px solid #303034; border-radius: 7px; object-fit: cover; }
.explore-row > span { min-width: 0; display: grid; gap: 5px; }
.explore-row > span b,.explore-row > span small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.explore-row > span b { font-size: 10px; }
.explore-row > span small { color: #79736f; font-size: 7.5px; }
.explore-row > em { min-width: 76px; display: grid; gap: 2px; color: #ddd9d6; font-size: 9px; font-style: normal; text-align: right; }
.explore-row > em small { color: #67615e; font-size: 6.5px; text-transform: uppercase; }
.explore-row > .icon { width: 14px; height: 14px; color: #625c58; }
.explore-empty { min-height: 180px; padding: 28px; display: grid; place-items: center; align-content: center; gap: 8px; border: 1px dashed #29292d; border-radius: 8px; color: #716b67; background: #0b0b0d; text-align: center; }
.explore-empty .icon { width: 22px; height: 22px; color: #ff7b22; }
.explore-empty b { color: #eeeae8; font-size: 11px; }
.explore-empty small { font-size: 8px; }
.explore-empty.is-page-empty { min-height: 340px; margin-top: 28px; }
.explore-empty .orange-cta { margin-top: 10px; color: #fff; }
.explore-body > .studio-footer { width: 100%; margin-top: 40px; }
@media (max-width: 820px) {
  .explore-page { padding-top: 42px; }
  .explore-summary { grid-template-columns: 1fr 1fr; }
  .explore-search { grid-column: 1 / -1; }
  .explore-featured { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .explore-page { width: min(100% - 28px,1120px); padding-top: 30px; }
  .explore-heading { align-items: stretch; flex-direction: column; }
  .explore-heading .orange-cta { width: 100%; }
  .explore-summary { grid-template-columns: 1fr; }
  .explore-search { grid-column: auto; }
  .explore-row { grid-template-columns: 22px 44px minmax(0,1fr) 14px; gap: 9px; }
  .explore-row > img { width: 44px; height: 44px; }
  .explore-row > em { display: none; }
  .explore-row > span small { max-width: 44vw; }
}
.public-body { min-height: 100vh; display: grid; place-items: center; padding: 28px; overflow-x: clip; background-color: var(--bg); background-size: cover; background-position: center; }
.public-wrap { width: min(430px, 100%); }
.empty-mini { color: var(--muted); padding: 14px; }
.badge-catalog, .custom-emoji-grid, .admin-user-list, .admin-badge-list { content-visibility: auto; contain-intrinsic-size: auto 600px; }
.narrow { max-width: 640px; }
@media (max-width: 980px) {
  .hero, .split, .editor-grid, .dashboard-grid { grid-template-columns: 1fr; }
  .feature-band { grid-template-columns: repeat(2, 1fr); }
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; }
  .sidebar nav { grid-template-columns: repeat(3, 1fr); }
  .preview-pane { position: static; }
  .inline-form, .link-edit-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-nav, .footer, .topbar { flex-direction: column; align-items: stretch; }
  .hero { margin-top: 20px; min-height: 0; }
  .hero h1 { font-size: 44px; }
  .feature-band, .field-grid { grid-template-columns: 1fr; }
  .app-main { padding: 18px; }
  .sidebar nav { grid-template-columns: 1fr 1fr; }
  .profile-core { padding-inline: 16px; }
  .legal-nav { width: calc(100% - 28px); height: 72px; }
  .legal-page { width: calc(100% - 28px); margin: 62px auto 64px; }
  .legal-page h1 { margin-bottom: 58px; font-size: 39px; }
  .legal-sections { gap: 28px; }
  .legal-section-link h2 { font-size: 16px; }
  .legal-sections p { font-size: 12px; line-height: 1.8; }
  .legal-footer { padding: 24px 14px; flex-wrap: wrap; gap: 14px; text-align: center; }
  .legal-footer nav { justify-content: center; gap: 16px; flex-wrap: wrap; }
  .support-page { min-height: 0; margin-top: 52px; }
  .support-page h1 { margin-bottom: 48px; }
  .support-sections p { font-size: 12px; }
  .faq-page { margin-top: 52px; }
  .faq-page h1 { font-size: 34px; }
  .faq-intro { margin-bottom: 36px; font-size: 12px; }
  .faq-list summary { min-height: 62px; font-size: 12px; line-height: 1.55; }
  .faq-list details p { margin-right: 24px; font-size: 11px; }
  .faq-support { align-items: flex-start; flex-direction: column; }
  .studio-footer { padding: 24px 14px; flex-wrap: wrap; gap: 14px; text-align: center; }
  .studio-footer nav { justify-content: center; gap: 16px; flex-wrap: wrap; }
  .studio-footer nav a.active::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* Socialink visual layer */
.home-reference { background: #030303; font-family: var(--font-body); overflow-x: hidden; }
.home-reference::before { content: ""; position: fixed; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(70,70,70,.78), rgba(2,2,2,.72) 42%, #030303 70%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='800' viewBox='0 0 1600 800'%3E%3Crect fill='%23070807' width='1600' height='800'/%3E%3Cg fill='%23101412' opacity='.78'%3E%3Cpath d='M0 530h1600v270H0z'/%3E%3Cpath d='M60 535 95 380l38 155h-24l35-110 42 140H0l34-70zM260 545l48-220 54 220h-34l46-145 61 190H205l34-80zM520 535l52-240 60 240h-38l50-160 74 215H470l34-85zM815 545l42-215 50 215h-30l42-132 56 177H760l28-74zM1110 535l55-245 64 245h-40l54-162 76 217h-255l34-83zM1400 545l42-210 48 210h-28l38-126 52 171h-200l25-68z'/%3E%3C/g%3E%3C/svg%3E") center 36% / cover no-repeat; }
.home-top { position: relative; z-index: 1; width: min(780px, calc(100% - 32px)); margin: 0 auto; height: 76px; display: flex; align-items: center; justify-content: space-between; }
.home-logo { width: 52px; height: 52px; border-radius: 10px; }
.bolt-logo { display: inline-grid; place-items: center; width: 28px; height: 38px; color: #ff7a18; }
.bolt-logo .icon { width: 22px; height: 22px; fill: #ff7a18; stroke: #ff7a18; }
.shop-chip { min-width: 68px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: #fff; color: #070707; font-size: 13px; font-weight: 800; }
.hero-reference { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 0; width: 100%; min-height: 900px; margin: 0; padding: 110px 0 0; text-align: center; }
.hero-reference .hero-copy { position: relative; z-index: 2; display: grid; justify-items: center; }
.ghost-profile-card { position: absolute; top: 52px; left: 50%; transform: translateX(-50%); width: 345px; opacity: .34; filter: brightness(.65); pointer-events: none; }
.ghost-profile-card .public-card { border-radius: 7px; box-shadow: none; background: #171719; }
.ghost-profile-card .profile-banner, .ghost-profile-card .profile-links, .ghost-profile-card .made-with { display: none; }
.ghost-profile-card .avatar { width: 86px; height: 86px; margin-top: 26px; border: 0; border-radius: 50%; }
.free-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 190px; height: 28px; padding: 0 18px; border-radius: 99px; color: #fff; font-size: 11px; font-weight: 650; background: #1749a8; border: 1px solid #3878ff; box-shadow: 0 8px 24px rgba(23,73,168,.22); }
.hero-reference h1 { margin: 22px 0 18px; font-family: var(--font-display); font-size: clamp(40px, 3.4vw, 58px); font-weight: 780; line-height: 1.01; max-width: 820px; text-shadow: 0 3px 22px rgba(0,0,0,.58); text-wrap: balance; }
.hero-reference h1 em { color: #ff7a18; font-style: normal; text-shadow: none; }
.hero-reference h1 .icon { width: 38px; height: 38px; fill: #ff7a18; stroke: #ff7a18; vertical-align: -4px; }
.hero-reference p { color: #aaa7a5; max-width: 630px; margin: 0; font-size: 16px; line-height: 1.62; text-wrap: balance; }
.orange-cta { min-width: 142px; height: 40px; display: inline-grid; place-items: center; border-radius: 7px; background: #ff7417; color: #fff; font-size: 13px; font-weight: 720; box-shadow: inset 0 1px rgba(255,255,255,.28), 0 10px 28px rgba(255,116,23,.16); }
.profile-rail { margin-top: 135px; width: 100%; display: flex; gap: 26px; justify-content: center; overflow: hidden; padding: 0 24px; }
.profile-rail a { width: 156px; height: 58px; flex: 0 0 auto; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.075); border-radius: 6px; background: rgba(12,12,13,.74); color: #fff; text-align: left; }
.profile-rail img { width: 38px; height: 38px; border-radius: 50%; }
.profile-rail b { display: block; font-size: 12px; font-weight: 680; }
.profile-rail small { display: block; color: #908986; font-size: 10.5px; }
.home-features { position: relative; z-index: 1; margin-top: -12px; }
.home-features article { background: transparent; border-color: transparent; text-align: center; }
.home-features h2 { margin-bottom: 8px; font-family: var(--font-display); font-size: 22px; font-weight: 720; }
.home-features p { max-width: 390px; margin: 0 auto; color: #918e8c; font-size: 14px; line-height: 1.65; }
.home-features article:first-child { grid-column: 2 / span 2; }

.studio-body { background: #050505; font-family: var(--font-body); }
.premium-strip { height: 34px; display: flex; align-items: center; justify-content: center; background: #3b82f6; color: rgba(255,255,255,.9); font-size: 11px; font-weight: 500; }
.premium-strip b { color: #fff; font-weight: 750; }
.premium-strip span { color: #66ffe0; margin-left: 4px; }
.studio-nav { height: 60px; border-bottom: 1px solid #171717; background: #0b0b0b; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 max(24px, calc((100vw - 780px) / 2)); }
.studio-nav > .brand-logo-link { justify-self: start; }
.nav-logo { width: 42px; height: 42px; }
.studio-nav nav { display: flex; align-items: center; gap: 28px; }
.studio-nav nav a { height: 60px; display: inline-flex; align-items: center; color: #aaa7a5; font-size: 13px; font-weight: 560; border-bottom: 2px solid transparent; }
.studio-nav nav a.active { color: #fff; border-bottom-color: #fff; }
.account-menu { flex: 0 0 auto; }
.nav-avatar-button { width: 36px; height: 36px; padding: 0; border: 1px solid transparent; border-radius: 50%; background: transparent; cursor: pointer; transition: border-color .16s ease, box-shadow .16s ease; }
.nav-avatar-button:hover, .nav-avatar-button[aria-expanded="true"], .nav-avatar-button.active { border-color: #ff7417; box-shadow: 0 0 0 3px rgba(255,116,23,.1); }
.nav-avatar { width: 36px; height: 36px; display: block; border-radius: 50%; object-fit: cover; }
.account-menu-popover { width: 238px; padding: 7px; position: fixed; z-index: 120; top: var(--account-menu-top, 76px); left: var(--account-menu-left, calc(100vw - 250px)); border: 1px solid #2b2b2e; border-radius: 7px; background: #101012; box-shadow: 0 20px 55px rgba(0,0,0,.6); }
.account-menu-popover[hidden] { display: none; }
.account-menu-identity { margin: 2px 2px 7px; padding: 9px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #28282b; }
.account-menu-identity img { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; background: #080809; }
.account-menu-identity span, .account-menu-popover a span { min-width: 0; display: grid; gap: 2px; }
.account-menu-identity strong { overflow: hidden; color: #fff; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.account-menu-identity small, .account-menu-popover a small { color: #77716e; font-size: 8px; }
.studio-nav .account-menu-popover a { height: auto; min-height: 48px; padding: 8px 10px; display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 9px; align-items: center; border: 0; border-radius: 5px; color: #d6d2d0; }
.studio-nav .account-menu-popover a:hover, .studio-nav .account-menu-popover a:focus-visible { color: #fff; background: #1a1a1d; outline: 0; }
.account-menu-popover a .icon { width: 17px; height: 17px; color: #aaa4a0; }
.account-menu-popover a b { color: inherit; font-size: 10px; }
.account-menu-divider { height: 1px; margin: 5px 4px; background: #27272a; }
.studio-nav .account-menu-popover .account-menu-logout { color: #ff7772; }
.account-menu-logout .icon { color: #ff5b55 !important; }
.studio-main { width: min(716px, calc(100% - 32px)); margin: 43px auto 0; min-height: 680px; }
.studio-actions { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.back-button { height: 30px; display: inline-grid; place-items: center; padding: 0 12px; border: 1px solid #343434; border-radius: 5px; color: #fff; background: transparent; font-size: 12px; font-weight: 800; }
.share-actions { display: flex; gap: 6px; align-items: center; }
.profile-url-pill, .icon-btn, .brown-pill { min-height: 29px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid #8d4b1c; border-radius: 5px; background: #52290f; color: #fff; padding: 0 11px; font-size: 11px; font-weight: 800; }
.profile-url-pill .icon, .icon-btn .icon { width: 13px; height: 13px; }
.icon-btn { width: 30px; justify-content: center; padding: 0; }
.studio-card { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 42px; min-height: 520px; padding: 28px; border: 1px solid #1e1e1f; border-radius: 6px; background: #090909; }
.studio-content, .studio-avatar { min-width: 0; max-width: 100%; }
.studio-avatar button { width: 126px; height: 126px; padding: 0; border: 0; border-radius: 50%; position: relative; background: transparent; cursor: pointer; }
.studio-avatar img { width: 126px; height: 126px; display: block; border-radius: 50%; object-fit: cover; transition: filter .18s ease, transform .18s ease; }
.studio-avatar button > span { width: 32px; height: 32px; position: absolute; right: 2px; bottom: 4px; display: grid; place-items: center; border: 3px solid #090909; border-radius: 50%; color: #fff; background: #ff7417; opacity: 0; transform: translateY(4px); transition: opacity .18s ease, transform .18s ease; }
.studio-avatar button > span .icon { width: 14px; height: 14px; }
.studio-avatar button:hover img, .studio-avatar button:focus-visible img { filter: brightness(.72); transform: scale(.98); }
.studio-avatar button:hover > span, .studio-avatar button:focus-visible > span { opacity: 1; transform: translateY(0); }
.studio-avatar button:focus-visible, .nav-avatar-button:focus-visible { outline: 2px solid #ff7417; outline-offset: 3px; }
.avatar-dialog { width: min(600px, calc(100% - 28px)); max-height: min(780px,calc(100vh - 28px)); padding: 0; overflow-x: hidden; overflow-y: auto; border: 1px solid #252529; border-radius: 8px; color: #fff; background: #0b0b0d; box-shadow: 0 28px 90px rgba(0,0,0,.7); }
.avatar-dialog::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(7px); }
.avatar-modal { padding: 26px; position: relative; display: grid; gap: 20px; }
.avatar-modal-close { width: 32px; height: 32px; padding: 0; position: absolute; top: 14px; right: 14px; display: grid; place-items: center; border: 1px solid #29292d; border-radius: 6px; color: #8f8c8a; background: #121215; }
.avatar-modal-close:hover { color: #fff; border-color: #414147; }
.avatar-modal-close .icon { width: 15px; height: 15px; }
.avatar-modal-heading { display: flex; align-items: center; gap: 12px; padding-right: 34px; }
.avatar-modal-heading > span:last-child { display: grid; gap: 3px; }
.avatar-modal-heading b { font-family: var(--font-display); font-size: 19px; }
.avatar-modal-heading small { color: #928d89; font-size: 12px; }
.avatar-modal-mark { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border-radius: 8px; }
.avatar-modal-logo { width: 46px; height: 46px; }
.avatar-preview-shell { display: grid; justify-items: center; gap: 9px; }
.avatar-preview-shell img { width: 132px; height: 132px; border: 3px solid #232327; border-radius: 50%; object-fit: cover; background: #111; box-shadow: 0 14px 38px rgba(0,0,0,.4); }
.avatar-preview-shell span { color: #77726f; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.avatar-source-tabs { height: 40px; padding: 4px; display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; border: 1px solid #242428; border-radius: 6px; background: #080809; }
.avatar-source-tabs button { display: inline-flex; justify-content: center; align-items: center; gap: 7px; border: 0; border-radius: 4px; color: #817c79; background: transparent; font-size: 12px; font-weight: 750; }
.avatar-source-tabs button.active { color: #fff; background: #1b1b1f; }
.avatar-source-tabs .icon { width: 14px; height: 14px; }
.avatar-source-panel { display: grid; gap: 8px; }
.avatar-source-panel[hidden] { display: none; }
.avatar-drop-zone { min-height: 112px; padding: 18px; display: grid; place-items: center; align-content: center; gap: 5px; border: 1px dashed #3a393d; border-radius: 6px; color: #d7d3d1; background: #0e0e10; cursor: pointer; text-align: center; transition: border-color .18s ease, background .18s ease; }
.avatar-drop-zone:hover, .avatar-drop-zone:has(input:focus-visible) { border-color: #ff7417; background: #121112; }
.avatar-drop-zone .icon { width: 21px; height: 21px; margin-bottom: 3px; color: #ff7417; }
.avatar-drop-zone b { font-size: 12px; }
.avatar-drop-zone small, .avatar-url-note, .avatar-file-name { color: #77726f; font-size: 10px; }
.avatar-drop-zone input { width: 1px; height: 1px; position: absolute; opacity: 0; }
.avatar-file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; }
.avatar-url-field { display: grid; gap: 7px; }
.avatar-url-field span { color: #d8d4d2; font-size: 12px; font-weight: 700; }
.avatar-url-field input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid #2a292d; border-radius: 6px; color: #fff; background: #0e0e10; }
.avatar-url-field input:focus { border-color: #ff7417; outline: 0; box-shadow: 0 0 0 3px rgba(255,116,23,.08); }
.avatar-library-panel { gap: 10px; }
.avatar-option-grid { max-height: 300px; padding-right: 3px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; overflow-y: auto; }
.avatar-option[hidden] { display: none; }
.avatar-option input { width: 1px; height: 1px; min-height: 0; position: absolute; opacity: 0; pointer-events: none; }
.avatar-option > span { min-height: 124px; padding: 10px; display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-rows: 78px auto; gap: 7px; align-items: center; overflow: hidden; border: 2px solid transparent; border-radius: 7px; background: #111113; cursor: pointer; transition: border-color .16s ease,background .16s ease,transform .16s ease; }
.avatar-option:hover > span { border-color: #3a393d; background: #151517; transform: translateY(-1px); }
.avatar-option input:checked + span { border-color: #ff7417; background: rgba(255,116,23,.07); }
.avatar-option img { width: 72px; height: 72px; grid-column: 1 / -1; justify-self: center; border: 1px solid #303034; border-radius: 50%; object-fit: cover; background: #08080a; }
.avatar-option b { overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.avatar-option em { padding: 3px 5px; border-radius: 4px; color: #a9a39f; background: #222225; font-size: 6.5px; font-style: normal; }
.avatar-option.locked { opacity: .42; }
.avatar-option.locked > span { cursor: not-allowed; }
.avatar-library-empty { grid-column: 1 / -1; padding: 26px; border: 1px dashed #2c2c30; border-radius: 6px; color: #77716d; background: #0d0d0f; font-size: 9px; text-align: center; }
.avatar-modal-actions { display: flex; justify-content: space-between; gap: 10px; padding-top: 2px; }
.avatar-delete, .avatar-save { min-height: 38px; padding: 0 15px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 5px; color: #fff; font-size: 12px; font-weight: 800; }
.avatar-delete { background: #c91d24; }
.avatar-save { background: #ff7417; }
.avatar-delete:hover, .avatar-save:hover { filter: brightness(1.08); }
.avatar-delete .icon, .avatar-save .icon { width: 14px; height: 14px; }
@media (max-width: 520px) {
  .avatar-modal { padding: 20px 16px; }
  .avatar-source-tabs button { font-size: 9px; }
  .avatar-option-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
.studio-heading { min-height: 52px; border-bottom: 1px solid #1c1c1d; display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.studio-heading h1 { margin: 0; font-family: var(--font-display); font-size: 27px; font-weight: 740; line-height: 1.1; color: #fff; }
.green-pill { height: 26px; min-width: 94px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 5px; background: #12a553; color: #fff; font-size: 11px; font-weight: 800; }
.discord-sync { height: 34px; display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 38px; border-radius: 5px; background: #7588df; color: #fff; font-size: 12px; font-weight: 900; }
.discord-sync .icon { width: 15px; height: 15px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat-box { min-height: 48px; padding: 14px 16px; border: 1px solid #242424; border-radius: 5px; display: flex; justify-content: space-between; align-items: center; background: #0d0d0d; font-size: 12.5px; }
.stat-box b { font-weight: 650; }
.stat-box span { color: #d8ccc7; font-size: 11px; }
.chart-box { margin-top: 36px; border: 1px solid #202020; border-radius: 5px; padding: 18px; background: #0d0d0d; }
.chart-title { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.fake-chart { height: 260px; display: grid; grid-template-columns: 28px repeat(7, 1fr); grid-template-rows: repeat(5, 1fr) 20px; color: #627080; font-size: 10px; position: relative; }
.fake-chart span { grid-column: 1; align-self: end; }
.fake-chart i { position: absolute; left: 28px; right: 0; bottom: 24px; height: 2px; background: #8a4210; }
.fake-chart em { grid-row: 6; align-self: end; font-style: normal; text-align: center; }
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 38px; }
.quick-grid a { height: 48px; border: 1px solid #202020; border-radius: 5px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; font-size: 13px; font-weight: 800; }
.premium-status-card, .redeem-card, .admin-shortcut { margin-top: 12px; padding: 14px; display: flex; align-items: center; gap: 12px; border: 1px solid rgba(255,116,23,.26); border-radius: 6px; background: rgba(255,116,23,.07); }
.premium-status-card > span, .redeem-card > span, .admin-shortcut > span { min-width: 0; display: grid; gap: 3px; flex: 1; }
.premium-status-card b, .redeem-card b, .admin-shortcut b { font-size: 11px; }
.premium-status-card small, .redeem-card small, .admin-shortcut small { color: #998e88; font-size: 9px; }
.premium-status-card > .icon, .admin-shortcut > .icon:first-child { color: #ff8a3d; }
.redeem-card input { width: 170px; min-height: 38px; }
.admin-shortcut > .icon:last-child { width: 14px; height: 14px; }
.premium-strip.premium-active { background: #137044; }
.admin-tabs { max-width: 100%; margin-bottom: 20px; display: flex; gap: 5px; overflow-x: auto; scrollbar-width: none; }
.admin-tabs::-webkit-scrollbar { display: none; }
.admin-tabs a { min-height: 34px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 5px; color: #8f8986; font-size: 10px; white-space: nowrap; }
.admin-tabs a.active { color: #fff; background: #242327; }
.admin-metrics { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-bottom: 16px; }
.admin-metrics a { min-height: 86px; padding: 14px; display: grid; align-content: space-between; border: 1px solid #252529; border-radius: 6px; background: #0e0e10; }
.admin-metrics span { color: #88827f; font-size: 9px; text-transform: uppercase; }
.admin-metrics b { font-size: 25px; }
.admin-user-list, .admin-code-list { display: grid; gap: 9px; }
.admin-list-toolbar { margin-bottom: 14px; display: grid; grid-template-columns: minmax(180px,1fr) 132px auto; gap: 8px; align-items: center; }
.admin-list-toolbar > label { min-height: 36px; padding: 0 10px; display: flex; align-items: center; gap: 8px; border: 1px solid #29292d; border-radius: 5px; background: #0d0d0f; }
.admin-list-toolbar > label .icon { width: 15px; height: 15px; color: #77716e; }
.admin-list-toolbar input, .admin-list-toolbar select { width: 100%; min-width: 0; min-height: 36px; border: 1px solid #29292d; border-radius: 5px; color: #d1cdca; background: #0d0d0f; }
.admin-list-toolbar > label input { min-height: 34px; padding: 0; border: 0; background: transparent; outline: 0; }
.admin-list-toolbar > span { color: #766f6b; font-size: 8px; white-space: nowrap; }
.admin-user-row, .admin-code-list article { padding: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid #252529; border-radius: 6px; background: #0e0e10; }
.admin-user-row[hidden], .admin-asset-grid article[hidden] { display: none; }
.admin-user-row > img { width: 42px; height: 42px; flex: 0 0 auto; border: 1px solid #333338; border-radius: 50%; object-fit: cover; }
.admin-user-copy { flex: 1; }
.admin-user-copy > span { display: flex; gap: 5px; align-items: center; }
.admin-user-copy em { color: #928b87; font-size: 7px; font-style: normal; }
.status-chip { padding: 3px 5px; border-radius: 4px; background: #252428; }
.status-chip.admin { color: #78d9ff; background: rgba(45,153,211,.13); }
.status-chip.premium { color: #ffb077; background: rgba(255,116,23,.13); }
.status-chip.suspended { color: #ff7772; background: rgba(201,29,36,.14); }
.admin-user-row > .brown-pill .icon { width: 13px; height: 13px; }
.admin-user-row > div, .admin-code-list article > span { min-width: 0; display: grid; gap: 3px; }
.admin-user-row b, .admin-code-list b { font-size: 11px; }
.admin-user-row small, .admin-code-list small { color: #837d79; font-size: 8px; overflow-wrap: anywhere; }
.admin-user-row > div > span { color: #ff8b42; font-size: 8px; }
.admin-user-row form { display: grid; grid-template-columns: 65px 130px auto; gap: 5px; }
.admin-user-row input, .admin-user-row select { min-height: 31px; padding: 5px 7px; font-size: 9px; }
.admin-create-form, .admin-asset-form { margin-bottom: 18px; padding: 14px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; border: 1px solid #252529; border-radius: 6px; background: #0e0e10; }
.admin-create-form label, .admin-asset-form label { font-size: 10px; }
.admin-create-form .avatar-save, .admin-asset-form .avatar-save { align-self: end; }
.admin-asset-form { grid-template-columns: 1fr; }
.admin-asset-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.admin-asset-grid article { min-height: 128px; padding: 10px; display: flex; align-items: end; justify-content: space-between; overflow: hidden; border: 1px solid #29292d; border-radius: 6px; background-position: center; background-size: cover; box-shadow: inset 0 -76px 52px rgba(0,0,0,.78); }
.admin-asset-grid article > span { display: grid; gap: 2px; }
.admin-asset-grid b { font-size: 10px; }
.admin-asset-grid small { color: #b1aaa6; font-size: 8px; }
.admin-asset-grid .avatar-delete { width: 34px; min-height: 34px; padding: 0; }
.admin-badge-create { margin-bottom: 18px; padding: 14px; display: grid; gap: 11px; border: 1px solid #252529; border-radius: 6px; background: #0e0e10; }
.admin-badge-create label { display: grid; gap: 6px; color: #d8d4d2; font-size: 10px; font-weight: 700; }
.admin-badge-create input, .admin-badge-create textarea { width: 100%; min-height: 36px; border: 1px solid #2a292d; border-radius: 5px; color: #fff; background: #0b0b0d; }
.admin-badge-create textarea { min-height: 76px; resize: vertical; }
.admin-badge-create .avatar-save { justify-self: end; }
.admin-badge-list { display: grid; gap: 10px; }
.admin-badge-row { padding: 12px; display: grid; grid-template-columns: 54px minmax(0,1fr) auto; gap: 11px; align-items: center; border: 1px solid #252529; border-radius: 6px; background: #0e0e10; }
.admin-badge-row > img { width: 54px; height: 54px; border: 1px solid #303034; border-radius: 7px; object-fit: cover; background: #080809; }
.admin-default-badge-image { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid #303034; border-radius: 7px; color: #ff9a5a; background: #111114; }
.admin-default-badge-image .icon { width: 25px; height: 25px; }
.admin-badge-copy { min-width: 0; display: grid; gap: 5px; }
.admin-badge-copy > span { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.admin-badge-copy b { font-size: 11px; }
.admin-badge-copy em { color: #ff9a5a; font-size: 7px; font-style: normal; }
.admin-badge-copy > small { color: #817a76; font-size: 8px; line-height: 1.45; }
.admin-badge-copy p { margin: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.admin-badge-copy p span { padding: 3px 5px; border-radius: 3px; color: #aaa39f; background: #212124; font-size: 7px; }
.admin-badge-award { grid-column: 2 / -1; display: grid; grid-template-columns: minmax(120px,1fr) 95px 64px; gap: 7px; }
.admin-badge-award select { min-width: 0; min-height: 32px; border: 1px solid #29292d; border-radius: 5px; color: #bbb5b1; background: #0a0a0b; font-size: 9px; }
.admin-badge-actions { grid-row: 1; grid-column: 3; display: flex; gap: 5px; justify-self: end; }
.admin-badge-actions form { margin: 0; }
.admin-section-heading { margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-section-heading > span { display: grid; gap: 3px; }
.admin-section-heading small { color: #807975; font-size: 8px; text-transform: uppercase; }
.admin-section-heading h2 { margin: 0; font-size: 18px; }
.admin-section-heading .avatar-save { min-height: 34px; }
.default-badge-admin-list { margin-bottom: 24px; }
.admin-subsection-heading { margin-top: 2px; }
.admin-subsection-heading + .admin-section-heading { display: none; }
.partner-create-form { margin-top: 14px; }
.partner-form-footer { display: grid; grid-template-columns: auto auto minmax(90px,120px) 1fr auto; gap: 10px; align-items: end; }
.partner-form-footer > label:not(.check) { display: grid; gap: 6px; }
.partner-form-footer > label:not(.check) span { color: #d8d4d2; font-size: 9px; font-weight: 700; }
.partner-form-footer > label:not(.check) input { width: 100%; min-height: 35px; }
.partner-form-footer .check { align-self: center; }
.partner-form-footer .avatar-delete { justify-self: end; }
.partner-admin-list { display: grid; gap: 9px; }
.partner-admin-card { border: 1px solid #27272b; border-radius: 7px; background: #0d0d0f; overflow: hidden; }
.partner-admin-card summary { min-height: 72px; padding: 10px 13px; display: grid; grid-template-columns: 52px minmax(0,1fr) 20px; gap: 12px; align-items: center; cursor: pointer; list-style: none; }
.partner-admin-card summary::-webkit-details-marker { display: none; }
.partner-admin-card summary > img { width: 52px; height: 52px; border: 1px solid #303035; border-radius: 7px; object-fit: cover; background: #08080a; }
.partner-admin-card summary > span { min-width: 0; display: grid; gap: 4px; }
.partner-admin-card summary b { overflow: hidden; color: #f4f2f1; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.partner-admin-card summary small { color: #827c78; font-size: 8px; }
.partner-admin-card summary > .icon { width: 16px; color: #8b8581; transition: transform .18s ease; }
.partner-admin-card[open] summary > .icon { transform: rotate(-8deg); color: #ff852f; }
.partner-edit-form { padding: 14px; display: grid; gap: 12px; border-top: 1px solid #252529; background: #0a0a0c; }
.partner-edit-form label { display: grid; gap: 6px; }
.partner-edit-form label > span { color: #d8d4d2; font-size: 9px; font-weight: 700; }
.badge-create-page { padding: 18px; }
.badge-create-page label > span, .admin-manage-form > label > span { color: #d8d4d2; font-size: 10px; font-weight: 700; }
.admin-manage-dialog { width: min(540px,calc(100% - 28px)); max-height: min(760px,calc(100vh - 28px)); padding: 0; overflow: auto; border: 1px solid #2c2c31; border-radius: 8px; color: #fff; background: #0b0b0d; box-shadow: 0 28px 90px rgba(0,0,0,.72); }
.admin-manage-dialog::backdrop { background: rgba(0,0,0,.8); backdrop-filter: blur(7px); }
.admin-manage-form { padding: 24px; position: relative; display: grid; gap: 17px; }
.admin-manage-form > label { display: grid; gap: 6px; }
.admin-manage-form input, .admin-manage-form select, .admin-manage-form textarea { width: 100%; min-height: 38px; border: 1px solid #2a292d; border-radius: 5px; color: #d5d0cd; background: #101012; }
.admin-manage-form textarea { min-height: 90px; resize: vertical; }
.admin-dialog-identity { padding-right: 42px; display: flex; align-items: center; gap: 11px; }
.admin-dialog-identity img { width: 54px; height: 54px; flex: 0 0 auto; border: 1px solid #333338; border-radius: 8px; object-fit: cover; }
.admin-dialog-identity > .admin-default-badge-image { flex: 0 0 auto; }
.admin-dialog-identity > span { min-width: 0; display: grid; gap: 2px; }
.admin-dialog-identity small { color: #85807c; font-size: 8px; text-transform: uppercase; }
.admin-dialog-identity strong { overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.admin-dialog-identity em { color: #928a86; font-size: 9px; font-style: normal; }
.admin-manage-form section { display: grid; gap: 9px; padding-top: 14px; border-top: 1px solid #27272a; }
.admin-manage-form section h2 { margin: 0; font-size: 12px; }
.admin-manage-form section > small { color: #7e7773; font-size: 8px; }
.admin-toggle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.admin-toggle-grid .check { min-height: 40px; padding: 0 10px; display: flex; align-items: center; gap: 8px; border: 1px solid #29292d; border-radius: 5px; color: #bdb7b3; font-size: 9px; background: #101012; }
.admin-toggle-grid .check input { width: 15px; min-height: 15px; accent-color: #ff7417; }
.admin-toggle-grid .danger-check { color: #ff8c87; }
.admin-premium-controls { display: grid; grid-template-columns: 1fr 112px; gap: 8px; }
.admin-premium-controls label { display: grid; grid-template-columns: 34px 1fr; align-items: center; border: 1px solid #2a292d; border-radius: 5px; overflow: hidden; }
.admin-premium-controls label span { color: #77716d; font-size: 8px; text-align: center; }
.admin-premium-controls label input { border: 0; border-left: 1px solid #2a292d; border-radius: 0; }
.admin-badge-checklist { max-height: 250px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; overflow: auto; }
.admin-badge-checklist label { min-width: 0; padding: 7px; display: grid; grid-template-columns: 14px 34px minmax(0,1fr); gap: 7px; align-items: center; border: 1px solid #29292d; border-radius: 5px; background: #101012; cursor: pointer; }
.admin-badge-checklist input { width: 14px; min-height: 14px; accent-color: #ff7417; }
.admin-badge-checklist img { width: 34px; height: 34px; border-radius: 5px; object-fit: cover; }
.admin-badge-checklist .admin-default-icon { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #333338; border-radius: 5px; color: #ff9a5a; background: #171719; }
.admin-badge-checklist .admin-default-icon .icon { width: 17px; height: 17px; }
.admin-badge-checklist span { min-width: 0; display: grid; gap: 2px; }
.admin-badge-checklist b { overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.admin-badge-checklist small { color: #77716e; font-size: 7px; }
.admin-dialog-actions { display: flex; justify-content: space-between; gap: 10px; }
.admin-media-preview { height: 118px; padding: 10px; display: flex; align-items: end; border-radius: 6px; background-position: center; background-size: cover; box-shadow: inset 0 -55px 45px rgba(0,0,0,.7); }
.admin-media-preview span { padding: 4px 7px; border-radius: 4px; background: rgba(0,0,0,.7); font-size: 8px; }
.asset-edit-button { width: 32px; height: 32px; padding: 0; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 5px; color: #fff; background: rgba(8,8,10,.78); }
.asset-edit-button .icon { width: 14px; height: 14px; }
.screenshot-form { display: grid; gap: 14px; }
.identity-preview { min-height: 74px; padding: 11px 13px; display: flex; align-items: center; gap: 12px; border: 1px solid #28282b; border-radius: 6px; background: #101012; }
.identity-preview img { width: 50px; height: 50px; flex: 0 0 auto; border: 1px solid #38383c; border-radius: 50%; object-fit: cover; background: #09090a; }
.identity-preview > span { min-width: 0; display: grid; gap: 2px; }
.identity-preview small { color: #77716e; font-size: 8px; font-weight: 700; text-transform: uppercase; }
.identity-preview strong { max-width: 100%; overflow: hidden; color: #fff; font-size: 16px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.identity-preview em { color: #908985; font-size: 9px; font-style: normal; }
.screenshot-form label > span { display: flex; align-items: center; justify-content: space-between; color: #f4f2f1; font-size: 12.5px; font-weight: 650; }
.screenshot-form label b { margin-left: 3px; margin-right: auto; color: #ff3d35; }
.screenshot-form label em { color: #736d69; font-style: normal; font-size: 10px; font-weight: 600; }
.screenshot-form label em i { font-style: normal; }
.screenshot-form input, .screenshot-form textarea, .screenshot-form select, .ghost-field { min-height: 36px; border: 1px solid #242426; border-radius: 5px; background: #0d0d0e; color: #cbc7c5; font-size: 13px; line-height: 1.5; }
.screenshot-form input:hover, .screenshot-form textarea:hover, .screenshot-form select:hover, .ghost-field:hover { border-color: #343437; }
.screenshot-form input:focus, .screenshot-form textarea:focus, .screenshot-form select:focus { border-color: #744018; background: #101011; outline: 0; box-shadow: 0 0 0 3px rgba(255,116,23,.08); }
.screenshot-form textarea { min-height: 174px; }
.prefix-input { display: grid; grid-template-columns: 102px 1fr; border: 1px solid #1d1d1e; border-radius: 5px; overflow: hidden; background: #0d0d0d; }
.prefix-input small { display: grid; place-items: center; border-right: 1px solid #1d1d1e; color: #706a67; font-size: 12px; }
.prefix-input input { border: 0; }
.ghost-field { color: #8d8581; }
.markdown-tabs { height: 30px; margin-top: -1px; border: 1px solid #1d1d1e; border-radius: 0 0 5px 5px; display: flex; align-items: center; gap: 14px; padding: 0 12px; background: #111; }
.markdown-tabs a, .markdown-tabs button { display: inline-flex; align-items: center; gap: 6px; color: #fff; background: transparent; border: 0; font-size: 10px; font-weight: 800; }
.markdown-preview { min-height: 130px; border: 1px solid #1d1d1e; border-radius: 5px; padding: 14px; color: #cfc7c2; }
.form-bottom { display: flex; justify-content: space-between; margin-top: 0; }
.reset-btn, .save-btn { width: 94px; height: 29px; border: 0; border-radius: 5px; color: #fff; font-size: 12px; font-weight: 900; }
.reset-btn { background: #c91d24; }
.save-btn { background: #ff7417; }
.right-only { justify-content: flex-end; }
.extras-add { border-bottom: 1px solid #1c1c1d; padding-bottom: 20px; margin-bottom: 18px; }
.enabled-check { align-content: end; min-height: 56px; color: #a9a19d; }
.wide-save { width: 120px; justify-self: end; }
.extras-list { display: grid; gap: 10px; }
.extra-row { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9px; align-items: end; padding: 12px; border: 1px solid #1d1d1e; border-radius: 5px; background: #0d0d0d; }
.extra-row > label { min-width: 0; display: grid; gap: 5px; }
.extra-row > label > span { color: #817a76; font-size: 8px; font-weight: 700; text-transform: uppercase; }
.extra-row input, .extra-row select { width: 100%; min-width: 0; min-height: 34px; }
.extra-row-actions { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(100px,1fr) auto 64px 72px; gap: 8px; align-items: center; }
.extra-row-actions .check { display: inline-flex; align-items: center; gap: 5px; color: #8f8783; font-size: 9px; white-space: nowrap; }
.extra-row-actions .check input { width: 14px; min-height: 14px; height: 14px; accent-color: #ff7417; }
.extra-row .brown-pill, .extra-row .reset-btn { min-height: 31px; height: 31px; justify-content: center; border: 0; }
.markdown-doc { color: #d2cecc; font-size: 13px; line-height: 1.65; }
.markdown-doc blockquote { border-left: 3px solid #fff; margin: 20px 0 34px; padding-left: 14px; color: #c7beb9; font-style: italic; }
.markdown-table { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; align-items: center; }
.markdown-table h3 { margin: 0; font-size: 18px; color: #aba29e; }
.markdown-table hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, #bbb, transparent); }
.markdown-table mark { border-radius: 999px; padding: 3px 8px; }
.center-demo { display: block; text-align: center; }
.right-demo { display: block; text-align: right; }
.glow { text-shadow: 0 0 10px #fff; }
.switch-line { display: grid; grid-template-columns: 1fr 36px; align-items: center; min-height: 44px; }
.switch-line span { display: grid !important; justify-content: start !important; }
.switch-line small { color: #8f8783; font-weight: 500; }
.switch-line input { display: none; }
.switch-line i { width: 34px; height: 20px; border: 1px solid #252525; border-radius: 6px; background: #0d0d0d; position: relative; }
.switch-line i::after { content: ""; position: absolute; left: 5px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: transform .18s ease, background .18s ease; }
.switch-line input:checked + i::after { transform: translateX(12px); background: #ff7417; }
.choice-section { display: grid; gap: 8px; }
.choice-section > label { color: #fff; font-size: 13px; font-weight: 900; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.layout-choice input { display: none; }
.layout-choice span { height: 104px; border: 1px solid #252525; border-radius: 5px; background: #0d0d0d; display: grid; place-items: center; color: #8f8783; font-size: 11px; }
.layout-choice input:checked + span { border-color: #6d3f21; }
.layout-lines, .layout-box { display: block; width: 64px; height: 56px; border-radius: 4px; background: linear-gradient(#252525 0 0) center 7px/64px 26px no-repeat, repeating-linear-gradient(#2a2a2a 0 5px, transparent 5px 10px) center 40px/64px 28px no-repeat; }
.layout-box { width: 62px; background: #222; }
.blue-note { min-height: 38px; border-radius: 5px; background: #2f69ee; color: #fff; padding: 11px 14px; font-size: 12px; line-height: 1.35; }
.heading-count { color: #77716e; font-size: 12px; font-weight: 650; }
.inline-form { margin: 0; }
.inline-form .reset-btn, .inline-form .green-pill { width: auto; min-width: 94px; padding-inline: 12px; }
.extras-menu { display: grid; gap: 10px; }
.extras-menu > a { min-height: 62px; padding: 11px 14px; display: grid; grid-template-columns: 32px minmax(0,1fr) 18px; gap: 12px; align-items: center; border: 1px solid #242426; border-radius: 6px; color: #fff; background: #0d0d0e; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.extras-menu > a:hover { border-color: #553219; background: #111011; transform: translateX(2px); }
.extras-menu > a > i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 5px; color: #ff8b42; background: rgba(255,116,23,.09); }
.extras-menu > a > i .icon, .extras-menu > a > .icon { width: 15px; height: 15px; }
.extras-menu > a > .icon { color: #77716e; }
.extras-menu span { min-width: 0; display: grid; gap: 4px; }
.extras-menu b { font-size: 12px; }
.extras-menu small { color: #817a76; font-size: 9px; line-height: 1.4; }
.custom-emoji-form { padding-bottom: 20px; border-bottom: 1px solid #222225; }
.emoji-shortcode-field { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; overflow: hidden; border: 1px solid #29292d; border-radius: 6px; background: #0c0c0e; }
.emoji-shortcode-field input { min-height: 42px; padding-inline: 4px; border: 0; border-radius: 0; background: transparent; }
.emoji-shortcode-field small { padding: 0 10px; color: #ff9651; font-family: ui-monospace,Consolas,monospace; font-size: 10px; }
.custom-emoji-form label > em { color: #817a76; font-size: 8px; font-style: normal; font-weight: 500; }
.custom-emoji-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.custom-emoji-grid > .empty-state { grid-column: 1 / -1; }
.custom-emoji-card { min-width: 0; padding: 11px; display: grid; grid-template-columns: 50px minmax(0,1fr); gap: 10px; align-items: center; border: 1px solid #29292d; border-radius: 6px; background: #0d0d0f; }
.custom-emoji-card > img { width: 50px; height: 50px; padding: 4px; border: 1px solid #303035; border-radius: 7px; object-fit: contain; background: #151518; }
.custom-emoji-card > span { min-width: 0; display: grid; gap: 4px; }
.custom-emoji-card > span b { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.custom-emoji-card code { overflow: hidden; color: #ff9a57; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.custom-emoji-card > div { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.custom-emoji-card > div form { margin: 0; }
.custom-emoji-card .brown-pill { min-height: 30px; }
.extras-form { margin-top: 18px; }
.compact-form { padding-bottom: 18px; border-bottom: 1px solid #1e1e20; }
.extras-note { margin: 0 0 20px; display: flex; align-items: center; gap: 10px; }
.extras-note > .icon { width: 17px; height: 17px; flex: 0 0 auto; }
.extras-note span { min-width: 0; }
.extras-note b { color: #fff; }
.extras-upload { min-height: 104px; margin-top: 7px; padding: 14px; position: relative; display: grid !important; place-items: center; align-content: center; justify-content: center !important; gap: 5px; border: 1px solid #242426; border-radius: 5px; color: #7c7571 !important; background: #0d0d0e; text-align: center; cursor: pointer; }
.extras-upload:hover, .extras-upload:has(input:focus-visible) { border-color: #71411f; background: #101011; }
.extras-upload > .icon { width: 19px; height: 19px; color: #ff7d29; }
.extras-upload b { color: #aaa39f !important; font-size: 10px; }
.extras-upload small { color: #68625f; font-size: 8px; }
.extras-upload input { width: 1px; height: 1px; min-height: 0; position: absolute; opacity: 0; }
.extras-upload.compact { min-height: 70px; }
.extras-upload.media-height { min-height: 112px; }
.field-note { margin-top: 4px; display: block; color: #6f6864; font-size: 8px; font-style: italic; }
.form-actions { display: flex; align-items: center; gap: 14px; }
.screenshot-form .check { display: inline-flex; align-items: center; gap: 7px; color: #99918d; font-size: 10px; }
.screenshot-form .check input { min-height: 0; width: 14px; height: 14px; accent-color: #ff7417; }
.save-btn:disabled { opacity: .42; cursor: not-allowed; }
.embed-preview-wrap { display: grid; gap: 8px; }
.embed-preview-wrap > b { font-size: 11px; }
.discord-embed-preview { padding: 12px; border: 1px solid #252529; border-radius: 5px; background: #111214; }
.embed-author { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.embed-author img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.embed-author span { display: flex; align-items: baseline; gap: 6px; }
.embed-author b { font-size: 10px; }
.embed-author small { color: #777d86; font-size: 8px; }
.discord-embed-preview article { max-width: 100%; padding: 11px 12px; display: grid; gap: 5px; border-left: 3px solid var(--embed-color); border-radius: 3px; background: #17181b; }
.discord-embed-preview article small { color: #adb3bd; font-size: 8px; }
.discord-embed-preview article strong { color: #5e9cff; font-size: 11px; }
.discord-embed-preview article p { margin: 0; color: #d8dbe0; font-size: 9px; line-height: 1.45; }
.discord-embed-preview article > img { width: 100%; max-height: 180px; margin-top: 5px; border-radius: 4px; object-fit: cover; }
.discord-badge-sync { min-height: 38px; margin-bottom: 28px; display: flex; align-items: center; justify-content: center; gap: 9px; border-radius: 5px; color: #fff; background: #7588df; font-size: 11px; font-weight: 750; }
.discord-badge-sync .social-brand-icon { width: 15px; height: 15px; }
.extras-filter { margin: 0 0 20px; display: grid; gap: 7px; }
.extras-filter span { color: #fff; font-size: 11px; font-weight: 700; }
.extras-filter select { min-height: 36px; border: 1px solid #242426; border-radius: 5px; color: #aaa39f; background: #0d0d0e; }
.badge-catalog { display: grid; gap: 8px; }
.badge-entry { min-height: 52px; padding: 9px 11px; display: grid; grid-template-columns: 30px minmax(0,1fr) auto; gap: 10px; align-items: center; border: 1px solid #222225; border-radius: 5px; background: #0d0d0e; }
.badge-entry[hidden] { display: none; }
.badge-entry > i { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #29292d; border-radius: 6px; color: #ddd; background: #171719; }
.badge-entry > i .icon { width: 20px; height: 20px; }
.badge-entry > i img { width: 32px; height: 32px; border-radius: 5px; object-fit: cover; }
.badge-entry > span { min-width: 0; display: grid; gap: 2px; }
.badge-entry b { font-size: 10px; }
.badge-entry small { color: #706a67; font-size: 8px; line-height: 1.35; }
.badge-entry em { padding: 4px 6px; border-radius: 4px; color: #b1aaa6; background: #242327; font-size: 7px; font-style: normal; }
.badge-entry.earned { border-color: #49301f; }
.badge-entry.earned > i { color: var(--badge-color, #ff8b42); }
.badge-entry.earned em { color: #ffad77; background: rgba(255,116,23,.11); }
.badge-entry.locked { opacity: .52; }
.badge-visibility-form { justify-self: end; }
.visibility-toggle { min-width: 72px; min-height: 28px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid #353438; border-radius: 5px; color: #8d8682; background: #171719; font-size: 8px; font-weight: 700; }
.visibility-toggle > span { width: 7px; height: 7px; border-radius: 50%; background: #67625f; }
.visibility-toggle.is-visible { color: #8ee6ba; border-color: #275942; background: rgba(19,112,68,.12); }
.visibility-toggle.is-visible > span { background: #42d48c; box-shadow: 0 0 8px rgba(66,212,140,.35); }
.badge-row-actions { display: flex; align-items: center; gap: 6px; }
.badge-row-actions form { margin: 0; }
.custom-list { margin-top: 18px; }
.extras-lock { margin-bottom: 16px; }
.empty-state { min-height: 74px; padding: 15px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px dashed #29292d; border-radius: 6px; color: #7d7672; text-align: left; }
.empty-state > .icon { width: 18px; height: 18px; }
.empty-state span { display: grid; gap: 3px; }
.empty-state b { color: #aaa39f; font-size: 10px; }
.empty-state small { font-size: 8px; }
.icon-btn.danger { color: #ff7c82; border-color: #61262a; background: rgba(201,29,36,.12); }
.tag-manager { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-manager > span { min-height: 32px; padding: 0 7px 0 11px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid #49301f; border-radius: 5px; color: #ddd7d3; background: #11100f; font-size: 9px; }
.tag-manager form { margin: 0; }
.tag-manager button { width: 22px; height: 22px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 4px; color: #9e9691; background: #242120; }
.tag-manager button .icon { width: 11px; height: 11px; }
.public-badges, .public-tags { margin: 12px 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; }
.public-badges { position: relative; z-index: 5; }
.public-card.align-left .public-badges, .public-card.align-left .public-tags { justify-content: flex-start; }
.public-badges > .profile-badge { width: 46px; height: 46px; padding: 5px; position: relative; display: inline-grid; place-items: center; border: 1px solid color-mix(in srgb,var(--accent) 32%,transparent); border-radius: 8px; color: var(--primary-text); background: rgba(255,255,255,.055); cursor: help; outline: 0; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.public-badges > .profile-badge:hover, .public-badges > .profile-badge:focus-visible { z-index: 4; border-color: var(--accent); background: rgba(255,255,255,.1); transform: translateY(-2px); }
.public-badges .profile-badge > .icon, .public-badges .profile-badge > img { width: 34px; height: 34px; border-radius: 5px; object-fit: cover; }
.public-badges > span.custom { border-color: color-mix(in srgb,var(--badge-color) 45%,transparent); }
.badge-tooltip { width: 290px; max-width: min(290px,calc(100vw - 24px)); padding: 13px; position: absolute; left: 50%; bottom: calc(100% + 10px); display: grid; grid-template-columns: 66px minmax(0,1fr); gap: 12px; align-items: center; border: 1px solid #3a393e; border-radius: 7px; color: #fff; background: #121215; box-shadow: 0 15px 40px rgba(0,0,0,.62); opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%,5px); transition: opacity .16s ease, transform .16s ease; text-align: left; }
.badge-tooltip::after { content: ""; width: 7px; height: 7px; position: absolute; left: 50%; bottom: -5px; border-right: 1px solid #353539; border-bottom: 1px solid #353539; background: #111114; transform: translateX(-50%) rotate(45deg); }
.badge-tooltip-visual { width: 66px; height: 66px; display: grid; place-items: center; overflow: hidden; border: 1px solid color-mix(in srgb,var(--accent) 34%,#333); border-radius: 7px; background: rgba(255,255,255,.055); box-shadow: inset 0 1px rgba(255,255,255,.06); }
.badge-tooltip-visual img, .badge-tooltip-visual .icon { width: 54px; height: 54px; border-radius: 5px; object-fit: contain; }
.badge-tooltip-copy { min-width: 0; display: grid; gap: 4px; }
.badge-tooltip-kicker { color: var(--accent); font-size: 7px; font-weight: 750; text-transform: uppercase; }
.badge-tooltip b { font-size: 12px; line-height: 1.35; }
.badge-tooltip small { color: #b1aaa6; font-size: 8.5px; line-height: 1.6; }
.badge-tooltip-portal { position: fixed; z-index: 30000; left: var(--tooltip-left); top: var(--tooltip-top); bottom: auto; opacity: 1; visibility: visible; transform: none; animation: badge-tooltip-in .16s ease both; }
.badge-tooltip-portal::after { display: none; }
@keyframes badge-tooltip-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.public-tags span { padding: 5px 8px; border-radius: 4px; color: var(--secondary-text); background: rgba(255,255,255,.06); font-size: 7.5px; }
.public-showcase { margin: 12px 0; padding: 12px; display: grid; grid-template-columns: 34px minmax(0,1fr) 16px; gap: 10px; align-items: center; border: 1px solid color-mix(in srgb,var(--accent) 23%,transparent); border-radius: 7px; color: var(--primary-text); background: rgba(255,255,255,.035); text-align: left; }
.public-showcase > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 5px; color: #07100c; background: var(--accent); }
.public-showcase > span .icon, .public-showcase > .icon { width: 14px; height: 14px; }
.public-showcase > div { min-width: 0; display: grid; gap: 3px; }
.public-showcase small { color: var(--secondary-text); font-size: 7px; text-transform: uppercase; }
.public-showcase b { overflow: hidden; font-size: 9.5px; text-overflow: ellipsis; white-space: nowrap; }
.public-showcase p { grid-column: 1 / -1; margin: 4px 0 0; color: var(--secondary-text); font-size: 9px; line-height: 1.5; }
.public-showcase.discord-showcase { min-height: 62px; grid-template-columns: 38px minmax(0,1fr) auto; border-color: rgba(88,101,242,.52); background: linear-gradient(105deg,rgba(88,101,242,.2),rgba(88,101,242,.07) 58%,rgba(255,255,255,.035)); box-shadow: inset 3px 0 #5865f2; }
.public-showcase.discord-showcase:hover { border-color: #7289da; background: linear-gradient(105deg,rgba(88,101,242,.3),rgba(88,101,242,.1) 62%,rgba(255,255,255,.055)); transform: translateY(-1px); }
.discord-showcase-mark { width: 38px !important; height: 38px !important; color: #fff !important; background: #5865f2 !important; box-shadow: 0 7px 18px rgba(88,101,242,.3); }
.discord-showcase-mark .social-brand-icon { width: 21px; height: 21px; }
.discord-showcase > div { gap: 2px; }
.discord-showcase > div small { color: #aeb5ff; font-size: 7px; font-weight: 750; text-transform: uppercase; }
.discord-showcase > div b { font-size: 10px; }
.discord-showcase > div em { color: var(--secondary-text); font-size: 7.5px; font-style: normal; }
.discord-showcase-action { width: auto !important; height: 30px !important; padding: 0 9px; display: inline-flex !important; gap: 5px; border: 1px solid rgba(255,255,255,.15); border-radius: 5px !important; color: #fff !important; background: #5865f2 !important; font-size: 7.5px; font-weight: 750; white-space: nowrap; }
.discord-showcase-action .icon { width: 11px; height: 11px; }
.custom-profile-emoji { width: 1.45em; height: 1.45em; margin: 0 .1em; display: inline-block; object-fit: contain; vertical-align: -.32em; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
.music-player.has-cover { grid-template-columns: 38px 38px minmax(0,1fr) auto; }
.music-cover { width: 38px; height: 38px; border-radius: 5px; object-fit: cover; }
.drop-field { height: 104px; border: 1px solid #1d1d1e; border-radius: 5px; display: grid; place-items: center; color: #736d69; background: #0d0d0d; position: relative; }
.drop-field input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.misc-form > label:has(input[name="banner"]), .misc-form > label:has(input[name="background"]) { display: none; }
.misc-form.is-free label:has(input[name="favicon"]) { opacity: .48; }
.misc-module-hub { margin-bottom: 30px; display: grid; overflow: hidden; border: 1px solid #29292d; border-radius: 7px; background: #0b0b0d; }
.misc-module-heading { min-height: 86px; padding: 18px 20px; display: flex; align-items: center; gap: 13px; border-bottom: 1px solid #252529; background: linear-gradient(100deg,rgba(255,116,23,.1),transparent 58%); }
.misc-module-heading > span { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(255,116,23,.32); border-radius: 6px; color: #ff8b42; background: rgba(255,116,23,.09); }
.misc-module-heading > span .icon { width: 19px; height: 19px; }
.misc-module-heading > div { display: grid; gap: 2px; }
.misc-module-heading small { color: #ff9651; font-size: 7px; font-weight: 750; text-transform: uppercase; }
.misc-module-heading h2 { margin: 0; color: #fff; font-family: var(--font-display); font-size: 17px; }
.misc-module-heading p { margin: 2px 0 0; color: #89827e; font-size: 8.5px; line-height: 1.5; }
.misc-module-group { padding: 18px 20px; display: grid; gap: 14px; border: 0; border-bottom: 1px solid #232327; border-radius: 0; background: transparent; }
.misc-module-group:last-child { border-bottom: 0; }
.misc-module-title { display: flex; align-items: center; justify-content: space-between; }
.misc-module-title > span { display: grid; gap: 3px; }
.misc-module-title b { color: #f2efed; font-size: 11px; }
.misc-module-title small { color: #817a76; font-size: 8px; }
.misc-inline-color { max-width: none; }
.cursor-control-panel { padding: 16px; display: grid; gap: 14px; border: 1px solid #29292d; border-radius: 7px; background: linear-gradient(145deg, rgba(0,229,255,.055), transparent 55%), #0d0d0f; }
.misc-module-hub .cursor-control-panel { border-width: 0 0 0 0; border-radius: 0; background: linear-gradient(115deg,rgba(0,229,255,.045),transparent 52%); }
.cursor-control-heading { display: flex; align-items: center; gap: 11px; }
.cursor-control-heading > span { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid color-mix(in srgb, var(--accent) 35%, #29292d); border-radius: 6px; color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, transparent); }
.cursor-control-heading .icon { width: 17px; height: 17px; }
.cursor-control-heading > div { display: grid; gap: 3px; }
.cursor-control-heading b { color: #f4f1ef; font-size: 11px; }
.cursor-control-heading small { color: #8f8985; font-size: 8.5px; line-height: 1.5; }
.cursor-control-panel input[type="color"] { min-height: 38px; padding: 5px; cursor: pointer; }
.cursor-picker-button { width: 100%; }
.cursor-picker-icon { border-radius: 6px; }
.cursor-picker-icon img { padding: 5px; }
.media-picker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.media-picker { min-height: 112px; padding: 0; overflow: hidden; border: 1px solid #29292d; border-radius: 6px; color: #fff; background: #0e0e10 center/cover no-repeat; }
.media-picker > span { min-height: 112px; padding: 16px; display: grid; place-items: center; align-content: center; gap: 5px; background: rgba(7,7,8,.72); }
.media-picker .icon { width: 20px; height: 20px; color: #ff7417; }
.media-picker b { font-size: 12px; }
.media-picker small { color: #9b9591; font-size: 9px; }
.media-picker:hover { border-color: #ff7417; }
.media-dialog { width: min(650px, calc(100% - 28px)); max-height: min(760px, calc(100vh - 28px)); padding: 0; overflow-x: hidden; overflow-y: auto; border: 1px solid #29292d; border-radius: 8px; color: #fff; background: #0b0b0d; box-shadow: 0 28px 90px rgba(0,0,0,.72); }
.media-modal { min-width: 0; }
.media-dialog::backdrop { background: rgba(0,0,0,.8); backdrop-filter: blur(7px); }
.media-modal { padding: 26px; position: relative; display: grid; gap: 18px; }
.media-current { height: 92px; padding: 10px; display: flex; align-items: end; border-radius: 6px; background-position: center; background-size: cover; }
.media-current span { padding: 5px 8px; border-radius: 4px; color: #fff; background: rgba(0,0,0,.7); font-size: 9px; }
.media-filter-tabs { width: max-content; max-width: 100%; padding: 3px; display: flex; gap: 3px; border: 1px solid #29292d; border-radius: 6px; background: #101012; }
.media-filter-tabs button { min-height: 28px; padding: 0 12px; border: 0; border-radius: 4px; color: #85807c; background: transparent; font-size: 8px; font-weight: 750; }
.media-filter-tabs button.active { color: #fff; background: #29282c; }
.media-option[hidden] { display: none; }
.media-library { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.media-option input { width: 1px; height: 1px; min-height: 0; padding: 0; position: absolute; opacity: 0; pointer-events: none; }
.media-option > span { height: 98px; padding: 10px; display: flex; justify-content: space-between; align-items: end; overflow: hidden; border: 2px solid transparent; border-radius: 6px; background-position: center; background-size: cover; box-shadow: inset 0 -54px 44px rgba(0,0,0,.74); cursor: pointer; }
.media-option input:checked + span { border-color: #ff7417; }
.media-option b { font-size: 10px; }
.media-option em { padding: 4px 6px; border-radius: 4px; color: #fff; background: rgba(0,0,0,.72); font-size: 8px; font-style: normal; }
.media-option.locked { opacity: .42; }
.media-option.locked > span { cursor: not-allowed; }
.cursor-library { grid-template-columns: repeat(3,minmax(0,1fr)); }
.cursor-option > span { height: 132px; padding: 11px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: 58px auto auto; gap: 2px 8px; align-items: center; background: #101012; box-shadow: none; }
.cursor-option input:checked + span { border-color: #ff7417; background: rgba(255,116,23,.055); }
.cursor-option b { align-self: end; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cursor-option small { grid-column: 1 / -1; align-self: start; overflow: hidden; color: #817b77; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.cursor-option em { grid-column: 2; grid-row: 2; align-self: end; }
.cursor-choice-preview { width: 100%; height: 58px; grid-column: 1 / -1; position: relative; display: grid; place-items: center; border-radius: 5px; background: #08080a; }
.cursor-choice-preview::before { content: ""; display: block; }
.cursor-preview-system::before { width: 16px; height: 23px; border: 1px solid #fff; background: #d8d8dc; clip-path: polygon(0 0,100% 58%,62% 67%,50% 100%,35% 94%,45% 64%,0 78%); transform: rotate(-8deg); }
.cursor-preview-crosshair::before { width: 24px; height: 24px; border: 1px solid #b9b7bd; border-radius: 50%; background: linear-gradient(#b9b7bd,#b9b7bd) center/1px 100% no-repeat,linear-gradient(90deg,#b9b7bd,#b9b7bd) center/100% 1px no-repeat; }
.cursor-preview-dot::before { width: 10px; height: 10px; border: 2px solid #071014; border-radius: 50%; background: #00e5ff; box-shadow: 0 0 0 1px #00e5ff,0 0 14px #00e5ff; }
.cursor-preview-ring::before { width: 25px; height: 25px; border: 2px solid #00e5ff; border-radius: 50%; box-shadow: 0 0 14px rgba(0,229,255,.7); }
.cursor-preview-neon::before { width: 18px; height: 24px; border: 1px solid #fff; background: #00e5ff; box-shadow: 0 0 14px #00e5ff; clip-path: polygon(0 0,100% 58%,62% 67%,50% 100%,35% 94%,45% 64%,0 78%); transform: rotate(-8deg); }
.cursor-preview-image { background: #08080a var(--cursor-preview-image) center/38px 38px no-repeat; }
.media-custom { padding-top: 14px; display: grid; gap: 10px; border-top: 1px solid #232327; }
.media-custom > b { font-size: 12px; }
.premium-lock-note { padding: 14px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(255,116,23,.25); border-radius: 6px; color: #ff8d42; background: rgba(255,116,23,.07); }
.premium-lock-note > span { display: grid; gap: 3px; }
.premium-lock-note b { color: #fff; font-size: 11px; }
.premium-lock-note small { color: #9b8a80; font-size: 9px; }
.range-field { --range-progress: 0%; min-height: 42px; display: grid; grid-template-columns: 38px minmax(80px,1fr) 66px; align-items: center; overflow: hidden; border: 1px solid #29292d; border-radius: 6px; background: #0d0d0f; transition: border-color .16s ease,box-shadow .16s ease; }
.range-field:focus-within { border-color: rgba(255,116,23,.72); box-shadow: 0 0 0 3px rgba(255,116,23,.08); }
.range-field > small { height: 100%; display: grid; place-items: center; border-right: 1px solid #29292d; color: #77716d; background: #111113; font-size: 8px; font-weight: 750; text-transform: uppercase; }
.range-field input[type="range"] { width: 100%; min-height: 40px; margin: 0; padding: 0 11px; border: 0; outline: 0; appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer; }
.range-field input[type="range"]::-webkit-slider-runnable-track { height: 5px; border-radius: 999px; background: linear-gradient(90deg,#ff7417 0 var(--range-progress),#2c2b2f var(--range-progress) 100%); box-shadow: inset 0 1px 2px rgba(0,0,0,.42); }
.range-field input[type="range"]::-webkit-slider-thumb { width: 17px; height: 17px; margin-top: -6px; border: 3px solid #0d0d0f; border-radius: 50%; appearance: none; -webkit-appearance: none; background: #ff8a3d; box-shadow: 0 0 0 1px rgba(255,138,61,.55),0 3px 10px rgba(0,0,0,.5); transition: transform .14s ease,box-shadow .14s ease; }
.range-field input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.08); box-shadow: 0 0 0 2px rgba(255,116,23,.22),0 4px 12px rgba(0,0,0,.55); }
.range-field input[type="range"]::-moz-range-track { height: 5px; border: 0; border-radius: 999px; background: #2c2b2f; }
.range-field input[type="range"]::-moz-range-progress { height: 5px; border-radius: 999px; background: #ff7417; }
.range-field input[type="range"]::-moz-range-thumb { width: 11px; height: 11px; border: 3px solid #0d0d0f; border-radius: 50%; background: #ff8a3d; box-shadow: 0 0 0 1px rgba(255,138,61,.55),0 3px 10px rgba(0,0,0,.5); }
.range-field input[type="range"]:disabled { cursor: not-allowed; opacity: .42; }
.range-live-value { height: 100%; padding: 0 8px; display: grid; place-items: center; border-left: 1px solid #29292d; color: #f5f2f0; background: #111113; font-size: 8.5px; font-weight: 750; white-space: nowrap; }
.studio-footer { min-height: 88px; margin-top: 44px; border-top: 1px solid #171717; display: flex; align-items: center; justify-content: center; gap: 28px; color: #aba29e; font-size: 12px; }
.home-reference > .studio-footer { position: relative; z-index: 1; }
.studio-footer nav { display: flex; gap: 28px; }
.studio-footer nav a { position: relative; transition: color .16s ease; }
.studio-footer nav a:hover, .studio-footer nav a.active { color: #fff; }
.studio-footer nav a.active::before { content: ""; position: absolute; top: -35px; right: 0; left: 0; height: 1px; background: #fff; }
.studio-footer .brand-logo-link.small { width: 30px; }
.footer-logo { width: 30px; height: 30px; border-radius: 6px; }
.auth-logo { width: 50px; height: 50px; border-radius: 10px; }
label:has(input[name="show_watermark"]) b { font-size: 0; }
label:has(input[name="show_watermark"]) b::after { content: "Made with socialink"; font-size: 14px; }
@media (max-width: 820px) {
  .studio-nav { height: auto; grid-template-columns: 1fr; gap: 10px; padding: 12px 16px; }
  .studio-nav nav { overflow-x: auto; gap: 18px; scrollbar-width: thin; scrollbar-color: #4c484f transparent; }
  .studio-nav nav { min-width: 0; max-width: 100%; }
  .studio-nav nav::-webkit-scrollbar { height: 5px; }
  .studio-nav nav a { height: 42px; flex: 0 0 auto; }
  .studio-card { grid-template-columns: 1fr; gap: 18px; }
  .studio-heading { gap: 10px; flex-wrap: wrap; }
  .studio-avatar img { width: 98px; height: 98px; }
  .studio-avatar button { width: 98px; height: 98px; }
  .studio-avatar button > span { opacity: 1; transform: none; }
  .studio-actions, .studio-footer { flex-direction: column; align-items: stretch; }
  .share-actions, .studio-footer nav { flex-wrap: wrap; }
  .stat-grid, .quick-grid, .choice-grid, .field-grid { grid-template-columns: 1fr; }
  .redeem-card { align-items: stretch; flex-direction: column; }
  .admin-user-row { align-items: center; flex-direction: row; }
  .redeem-card input, .redeem-card button { width: 100%; }
  .admin-user-row form { grid-template-columns: 1fr; }
  .admin-create-form, .admin-asset-grid { grid-template-columns: 1fr; }
  .admin-badge-row { grid-template-columns: 46px minmax(0,1fr); align-items: start; }
  .admin-badge-row > img { width: 46px; height: 46px; }
  .admin-badge-actions { grid-row: auto; grid-column: 2; justify-self: start; }
  .admin-badge-award { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .admin-badge-award .brown-pill { justify-content: center; }
  .media-picker-grid, .media-library { grid-template-columns: 1fr; }
  .extra-row { grid-template-columns: 1fr; }
  .extra-row-actions { grid-template-columns: 1fr 1fr; }
  .extra-row-actions .check { justify-self: end; }
  .extras-menu > a { grid-template-columns: 30px minmax(0,1fr) 16px; }
  .badge-entry { grid-template-columns: 40px minmax(0,1fr); }
  .badge-entry > em, .badge-entry > form, .badge-row-actions { grid-column: 2; justify-self: start; }
  .admin-list-toolbar { grid-template-columns: minmax(0,1fr) 130px; }
  .admin-list-toolbar > span { grid-column: 1 / -1; }
  .admin-badge-checklist { grid-template-columns: 1fr; }
  .profile-rail { width: calc(100vw - 32px); max-width: calc(100vw - 32px); display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; padding: 0; gap: 10px; margin-top: 80px; }
  .profile-rail a { width: 100%; min-width: 0; }
}
@media (max-width: 520px) {
  .studio-main { width: min(100% - 20px, 716px); }
  .studio-card { padding: 16px; }
  .studio-heading h1 { font-size: 21px; }
  .form-bottom, .form-actions { align-items: stretch; flex-direction: column; gap: 10px; }
  .form-bottom .save-btn, .form-bottom .reset-btn { width: 100%; }
  .music-player, .music-player.has-cover { grid-template-columns: 38px minmax(0,1fr); }
  .music-cover { display: none; }
  .music-volume { grid-column: 2; width: 100%; }
  .avatar-modal { padding: 22px 18px 18px; gap: 16px; }
  .avatar-preview-shell img { width: 112px; height: 112px; }
  .avatar-modal-actions > button { flex: 1; }
  .admin-list-toolbar { grid-template-columns: 1fr; }
  .admin-list-toolbar > span { grid-column: auto; }
  .admin-user-row { display: grid; grid-template-columns: 42px minmax(0,1fr); }
  .admin-user-row > .brown-pill { grid-column: 2; justify-self: start; }
  .admin-toggle-grid, .admin-premium-controls { grid-template-columns: 1fr; }
  .admin-dialog-actions { align-items: stretch; flex-direction: column; }
  .admin-dialog-actions > button { width: 100%; justify-content: center; }
  .music-player { grid-template-columns: 38px minmax(0,1fr); }
  .music-volume { display: none; }
}

/* Avatar decoration library */
.profile-avatar-shell { width: 112px; height: 112px; margin: -56px auto 4px; position: relative; z-index: 2; display: grid; place-items: center; }
.profile-avatar-shell .avatar { width: 96px; height: 96px; margin: 0; position: relative; z-index: 1; }
.avatar-decoration { width: var(--decoration-size,124px); height: var(--decoration-size,124px); position: absolute; z-index: 2; top: calc(50% + var(--decoration-offset,0px)); left: 50%; object-fit: contain; pointer-events: none; transform: translate(-50%,-50%); filter: drop-shadow(0 7px 14px rgba(0,0,0,.38)); }
.public-card.layout-simple .profile-avatar-shell { margin-top: var(--box-spacing,24px); }
.public-card.layout-simple .profile-avatar-shell .avatar { margin-top: 0; }
.align-left .profile-avatar-shell { margin-left: 0; }
.decoration-picker-button { min-height: 62px; padding: 8px 11px; display: grid; grid-template-columns: 42px minmax(0,1fr) 16px; gap: 10px; align-items: center; border: 1px solid #28282b; border-radius: 6px; color: #fff; background: #0d0d0e; text-align: left; }
.decoration-picker-button:hover { border-color: #70401e; background: #111011; }
.decoration-picker-button > span:nth-child(2) { min-width: 0; display: grid; gap: 3px; }
.decoration-picker-button b { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.decoration-picker-button small { color: #847d79; font-size: 8px; }
.decoration-picker-icon { width: 42px; height: 42px; display: grid; place-items: center; overflow: hidden; border: 1px solid #303034; border-radius: 50%; background: #171719; }
.decoration-picker-icon img { width: 100%; height: 100%; object-fit: contain; }
.decoration-picker-icon .icon { width: 19px; height: 19px; color: #ff8b42; }
.decoration-option > span { height: 128px; position: relative; align-items: end; background-color: #101012; }
.decoration-choice-preview { width: 84px; height: 84px; position: absolute; top: 7px; left: calc(50% - 42px); display: grid; place-items: center; }
.decoration-choice-preview > img:first-child { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; background: #1c1c20; }
.decoration-choice-preview.theme-ring > img { box-shadow: 0 0 0 4px #ff7417,0 0 18px rgba(255,116,23,.48); }
.decoration-choice-overlay { width: 84px !important; height: 84px !important; position: absolute; inset: 0; border-radius: 0 !important; object-fit: contain !important; background: transparent !important; filter: drop-shadow(0 5px 9px rgba(0,0,0,.42)); }
.decoration-library-note { padding: 12px; display: flex; gap: 10px; align-items: center; border: 1px solid #2b2b30; border-radius: 6px; color: #aaa39f; background: #0d0d0f; }
.decoration-library-note > .icon { width: 18px; height: 18px; flex: 0 0 auto; color: #ff7a24; }
.decoration-library-note > span { display: grid; gap: 3px; }
.decoration-library-note b { color: #f2efed; font-size: 9px; }
.decoration-library-note small, .decoration-tuning label > small { color: #8e8783; font-size: 8px; font-weight: 500; line-height: 1.5; }

/* Admin navigation and decoration management */
.admin-tabs { padding: 4px; display: flex; flex-wrap: wrap; overflow: visible; border: 1px solid #242428; border-radius: 6px; background: #0d0d0f; scrollbar-width: thin; }
.admin-tabs a { flex: 1 1 auto; justify-content: center; }
.decoration-admin-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.decoration-admin-grid > .empty-state { grid-column: 1 / -1; }
.decoration-admin-card { min-width: 0; padding: 12px; display: grid; grid-template-columns: 70px minmax(0,1fr) 32px; gap: 11px; align-items: center; border: 1px solid #29292d; border-radius: 6px; background: #0e0e10; }
.decoration-admin-card > div:nth-child(2) { min-width: 0; display: grid; gap: 4px; }
.decoration-admin-card b { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.decoration-admin-card small { color: #918985; font-size: 8px; }
.decoration-admin-preview, .decoration-editor-preview { width: 70px; height: 70px; position: relative; display: grid; place-items: center; border: 1px solid #2d2d31; border-radius: 8px; background: #131316; }
.decoration-admin-preview span, .decoration-editor-preview span { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(145deg,#36363d,#1b1b1f); }
.decoration-admin-preview img, .decoration-editor-preview img { width: 66px; height: 66px; position: absolute; inset: 2px; object-fit: contain; filter: drop-shadow(0 5px 8px rgba(0,0,0,.35)); }
.decoration-editor-preview { width: 126px; height: 126px; margin: 0 auto; border-radius: 12px; }
.decoration-editor-preview span { width: 78px; height: 78px; }
.decoration-editor-preview img { width: 118px; height: 118px; inset: 3px; }
.cursor-admin-preview, .cursor-editor-preview { display: grid; place-items: center; border: 1px solid #2d2d31; border-radius: 8px; background: #09090b; }
.cursor-admin-preview { width: 70px; height: 70px; }
.cursor-editor-preview { width: 126px; height: 126px; margin: 0 auto; }
.cursor-admin-preview img { width: 44px; height: 44px; object-fit: contain; }
.cursor-editor-preview img { width: 82px; height: 82px; object-fit: contain; }
.avatar-admin-preview, .avatar-option-editor-preview { display: grid; place-items: center; overflow: hidden; border: 1px solid #2d2d31; border-radius: 50%; background: #09090b; }
.avatar-admin-preview { width: 70px; height: 70px; }
.avatar-option-editor-preview { width: 126px; height: 126px; margin: 0 auto; }
.avatar-admin-preview img, .avatar-option-editor-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) { .decoration-admin-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .custom-emoji-grid { grid-template-columns: 1fr; }
  .discord-showcase-action { width: 30px !important; padding: 0 !important; overflow: hidden; color: transparent !important; gap: 0; }
  .discord-showcase-action .icon { color: #fff; }
  .admin-tabs a { flex: 1 1 calc(50% - 5px); }
  .decoration-admin-card { grid-template-columns: 62px minmax(0,1fr) 32px; }
  .badge-tooltip-portal { width: auto; max-width: none; right: 12px; left: 12px !important; top: auto !important; bottom: 12px; grid-template-columns: 62px minmax(0,1fr); }
  .badge-tooltip-portal::after { display: none; }
}

/* Final reference polish and public-profile customization variables */
.home-reference::before {
  background:
    linear-gradient(180deg, rgba(58,58,58,.58), rgba(3,3,3,.32) 24%, rgba(3,3,3,.92) 64%, #030303 78%),
    url("forest-hero.jpg") center 18% / cover no-repeat;
}
.ghost-profile-card .public-card { height: 188px; }
.ghost-profile-card .profile-core { height: 188px; overflow: hidden; padding-bottom: 12px; }
.ghost-profile-card .profile-core h1 { margin-top: 8px; }
.public-wrap { width: 100%; display: flex; justify-content: center; position: relative; z-index: 1; }
.public-card {
  width: min(calc(100vw - 32px), var(--profile-width, 430px));
  max-width: 100%;
  border: var(--box-border, 1px solid var(--line));
  border-radius: var(--box-radius, 18px);
  color: var(--primary-text, #fff);
  background: var(--box-bg, rgba(20,20,23,.92));
  box-shadow: var(--box-shadow, var(--shadow));
  backdrop-filter: blur(var(--box-blur, 16px));
  overflow: hidden;
  animation-duration: var(--enter-speed, 350ms);
  animation-fill-mode: both;
}
.public-card .profile-core { padding: 0 var(--box-spacing, 24px) var(--box-spacing, 24px); }
.public-card .avatar { border-radius: var(--avatar-radius, 24%); }
.public-card .avatar.decorated { box-shadow: 0 0 0 3px var(--accent), 0 0 24px color-mix(in srgb, var(--accent) 45%, transparent); }
.public-card .handle,
.public-card .profile-core small,
.public-card .profile-meta,
.public-card .made-with { color: var(--secondary-text, #aba29e); }
.public-card .bio { color: var(--primary-text, #fff); }
.public-card.align-left .profile-core { text-align: left; }
.public-card.align-left .profile-meta,
.public-card.align-left .social-row { justify-content: flex-start; }
.public-card.layout-simple .profile-banner { display: none; }
.public-card.layout-simple .avatar { margin-top: var(--box-spacing, 24px); }
.public-card.tilt-subtle { transform: perspective(900px) rotateX(1deg) rotateY(-1deg); }
.public-card.font-unbounded { font-family: "Unbounded", ui-sans-serif, system-ui, sans-serif; }
.public-card.font-sofia { font-family: "Sofia", cursive; }
.public-card.font-system { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
.music-player { margin-top: 14px; padding: 11px; display: grid; grid-template-columns: 38px minmax(0,1fr) auto; gap: 11px; align-items: center; border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent); border-radius: 7px; background: rgba(255,255,255,.045); }
.music-player > button { width: 38px; height: 38px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; color: #07100c; background: var(--accent); }
.music-player > button .icon { width: 16px; height: 16px; fill: currentColor; }
.music-player [hidden] { display: none; }
.music-track { min-width: 0; display: grid; gap: 5px; text-align: left; }
.music-track b { overflow: hidden; font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; }
.music-track input, .music-volume input { height: 4px; min-height: 4px; padding: 0; border: 0; accent-color: var(--accent); }
.music-track span { display: flex; justify-content: space-between; color: var(--secondary-text, #888); font-size: 8px; }
.music-volume { width: 72px; display: flex; align-items: center; gap: 6px; }
.music-volume .icon { width: 14px; height: 14px; flex: 0 0 auto; }
.effect-grid::before, .effect-scanlines::before { content: ""; position: fixed; z-index: 0; inset: 0; pointer-events: none; }
.effect-grid::before { opacity: .16; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent); }
.effect-scanlines::before { opacity: .13; background: repeating-linear-gradient(180deg, transparent 0 3px, rgba(255,255,255,.22) 3px 4px); }
.effect-glow .public-card { animation: premium-glow 3.2s ease-in-out infinite alternate; }
@keyframes premium-glow { to { box-shadow: 0 24px 85px color-mix(in srgb, var(--accent) 42%, transparent); } }
.public-card.enter-slide-up { animation-name: profile-slide-up; }
.public-card.enter-fade { animation-name: profile-fade; }
.public-card.enter-none { animation: none; }
@keyframes profile-slide-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes profile-fade { from { opacity: 0; } to { opacity: 1; } }
.markdown-output { overflow-wrap: anywhere; }
.markdown-output h3 { margin: 8px 0; font-size: 1.18em; }
.markdown-output blockquote { margin: 10px 0; padding-left: 12px; border-left: 2px solid var(--accent); }
.markdown-output code { padding: 2px 5px; border-radius: 4px; background: rgba(255,255,255,.1); }
.markdown-output hr { border: 0; height: 1px; background: color-mix(in srgb, var(--accent) 55%, transparent); }
.markdown-output .md-left,
.markdown-output .md-center,
.markdown-output .md-right { display: block; }
.markdown-output .md-left { text-align: left; }
.markdown-output .md-center { text-align: center; }
.markdown-output .md-right { text-align: right; }
.md-spoiler { color: transparent; background: currentColor; border-radius: 3px; cursor: help; }
.md-spoiler:hover { color: inherit; background: rgba(255,255,255,.08); }
.username-sparkles { display: inline-block; margin-left: 7px; color: var(--accent); text-shadow: 0 0 12px var(--accent); animation: sparkle-pulse 1.4s ease-in-out infinite alternate; }
@keyframes sparkle-pulse { to { opacity: .35; transform: scale(.76); } }
.reveal-screen { position: fixed; z-index: 20; inset: 0; width: 100%; border: 0; display: grid; place-items: center; padding: 24px; color: #fff; background: rgba(3,3,3,.9); cursor: pointer; }
.reveal-screen span { max-width: 700px; font-weight: 800; font-size: clamp(20px, 4vw, 42px); line-height: 1.2; text-align: center; }
.reveal-active .public-wrap { filter: blur(var(--reveal-blur, 0)); }
.reveal-screen.is-hidden { opacity: 0; pointer-events: none; transition: opacity .28s ease; }
.cursor-crosshair { cursor: crosshair; }
.custom-cursor { --cursor-scale: 1; width: 14px; height: 14px; position: fixed; z-index: 10000; left: 0; top: 0; opacity: 1; pointer-events: none; transform: translate(-50%,-50%) scale(var(--cursor-scale)); transform-origin: center; transition: width .14s ease, height .14s ease, opacity .14s ease, transform .1s ease; will-change: left,top,transform; }
.custom-cursor.is-hidden { opacity: 0; }
.custom-cursor.is-active { --cursor-scale: .72; }
.cursor-dot .custom-cursor { width: 10px; height: 10px; border: 2px solid #071014; border-radius: 50%; background: var(--cursor-color, #00e5ff); box-shadow: 0 0 0 1px var(--cursor-color, #00e5ff), 0 0 14px color-mix(in srgb,var(--cursor-color,#00e5ff) 62%,transparent); }
.cursor-ring .custom-cursor { width: 25px; height: 25px; border: 2px solid var(--cursor-color, #00e5ff); border-radius: 50%; background: color-mix(in srgb,var(--cursor-color,#00e5ff) 9%,transparent); box-shadow: 0 0 12px color-mix(in srgb,var(--cursor-color,#00e5ff) 48%,transparent), inset 0 0 8px color-mix(in srgb,var(--cursor-color,#00e5ff) 26%,transparent); }
.cursor-ring .custom-cursor::after { content: ""; width: 3px; height: 3px; position: absolute; inset: 50% auto auto 50%; border-radius: 50%; background: var(--cursor-color,#00e5ff); box-shadow: 0 0 6px var(--cursor-color,#00e5ff); transform: translate(-50%,-50%); }
.cursor-neon .custom-cursor { width: 18px; height: 24px; border: 1px solid rgba(255,255,255,.72); border-radius: 3px 9px 9px 9px; background: var(--cursor-color,#00e5ff); box-shadow: 0 0 7px var(--cursor-color,#00e5ff), 0 0 18px var(--cursor-color,#00e5ff), 0 0 32px color-mix(in srgb,var(--cursor-color,#00e5ff) 62%,transparent); clip-path: polygon(0 0, 100% 58%, 62% 67%, 50% 100%, 35% 94%, 45% 64%, 0 78%); transform: translate(-18%,-12%) rotate(-8deg) scale(var(--cursor-scale)); }
.cursor-image .custom-cursor { width: 36px; height: 36px; background: var(--cursor-image) top left/contain no-repeat; filter: drop-shadow(0 3px 6px rgba(0,0,0,.48)); transform: translate(-4px,-4px) scale(var(--cursor-scale)); transform-origin: top left; }
.cursor-trail-particle { --trail-angle: 0deg; position: fixed; z-index: 9998; left: 0; top: 0; color: var(--cursor-trail-color,#fff); pointer-events: none; will-change: transform,opacity; }
.cursor-trail-particle.trail-spark { width: 5px; height: 10px; border-radius: 99px; background: currentColor; box-shadow: 0 0 7px currentColor, 0 0 14px currentColor; transform: translate(-50%,-50%) rotate(var(--trail-angle)); animation: cursor-spark .64s cubic-bezier(.18,.7,.28,1) forwards; }
.cursor-trail-particle.trail-star { width: 15px; height: 15px; display: grid; place-items: center; filter: drop-shadow(0 0 6px currentColor); transform: translate(-50%,-50%) rotate(var(--trail-angle)); animation: cursor-star .72s ease-out forwards; }
.cursor-trail-particle.trail-star::before { content: "\2605"; font-family: Arial,sans-serif; font-size: 13px; line-height: 1; }
.cursor-trail-particle.trail-glow { width: 15px; height: 15px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor, 0 0 22px currentColor; transform: translate(-50%,-50%); animation: cursor-glow .58s ease-out forwards; }
@keyframes cursor-spark { to { opacity: 0; transform: translate(calc(-50% + 9px),calc(-50% + 20px)) rotate(var(--trail-angle)) scale(.15); } }
@keyframes cursor-star { 45% { opacity: .9; transform: translate(-50%,-50%) rotate(calc(var(--trail-angle) + 90deg)) scale(1.15); } to { opacity: 0; transform: translate(calc(-50% + 8px),calc(-50% + 18px)) rotate(calc(var(--trail-angle) + 180deg)) scale(.2); } }
@keyframes cursor-glow { to { opacity: 0; transform: translate(-50%,-50%) scale(2.6); filter: blur(4px); } }
@media (pointer: fine) {
  body.cursor-custom, body.cursor-custom * { cursor: none !important; }
}
@media (pointer: coarse) {
  .custom-cursor, .cursor-trail-particle { display: none !important; }
}
@media (max-width: 560px) {
  .cursor-library { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
.discord-sync { min-height: 48px; height: auto; padding: 9px 14px; justify-content: flex-start; text-align: left; }
.discord-sync > span { min-width: 0; display: grid; gap: 2px; flex: 1; }
.discord-sync b { font-size: 12.5px; font-weight: 700; }
.discord-sync small { color: rgba(255,255,255,.72); font-size: 10.5px; font-weight: 500; }
.discord-sync > .icon:last-child { width: 14px; height: 14px; }
.discord-connect-panel { min-height: 64px; margin-bottom: 30px; padding: 10px 12px; border: 1px solid rgba(88,101,242,.38); border-radius: 6px; display: grid; grid-template-columns: 42px 1fr auto auto; gap: 10px; align-items: center; background: rgba(88,101,242,.12); }
.discord-connect-panel > img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.discord-connect-panel > span { min-width: 0; display: grid; gap: 1px; }
.discord-connect-panel small { color: #9297d8; font-size: 9.5px; text-transform: uppercase; }
.discord-connect-panel b { overflow: hidden; color: #fff; font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.discord-connect-panel em { display: inline-flex; align-items: center; gap: 6px; color: #aaa7a5; font-size: 10.5px; font-style: normal; }
.discord-connect-panel form { margin: 0; }
.discord-action { min-height: 30px; padding: 0 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 5px; display: inline-flex; align-items: center; gap: 6px; color: #fff; background: rgba(255,255,255,.055); font-size: 10.5px; font-weight: 650; }
.discord-action .icon { width: 13px; height: 13px; }
.discord-action:hover { background: rgba(255,255,255,.1); }
.discord-action.danger-text { color: #ff9a9f; }
.presence-dot { width: 9px; height: 9px; flex: 0 0 auto; border: 2px solid #111; border-radius: 50%; background: #747f8d; }
.presence-dot.status-online { background: #23a55a; }
.presence-dot.status-idle { background: #f0b232; }
.presence-dot.status-dnd { background: #f23f43; }
.discord-presence-card { margin: 14px 0 4px; padding: 10px 12px; border: 1px solid rgba(88,101,242,.3); border-radius: 7px; display: flex; align-items: center; gap: 10px; color: var(--primary-text, #fff); background: rgba(88,101,242,.1); text-align: left; }
.discord-presence-card img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.discord-presence-card > span { min-width: 0; display: grid; flex: 1; }
.discord-presence-card b { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.discord-presence-card small { color: var(--secondary-text, #aaa); font-size: 10.5px; }

/* Sleek scrollbars shared by pages, libraries, and modal surfaces. */
html { scrollbar-color: #4c484f #08080a; scrollbar-width: thin; }
* { scrollbar-color: #4c484f transparent; scrollbar-width: thin; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { min-height: 34px; border: 2px solid transparent; border-radius: 999px; background: #4c484f; background-clip: padding-box; }
*::-webkit-scrollbar-thumb:hover { background: #ff7417; background-clip: padding-box; }
html::-webkit-scrollbar-track, .media-dialog::-webkit-scrollbar-track, .avatar-dialog::-webkit-scrollbar-track, .admin-manage-dialog::-webkit-scrollbar-track, .avatar-option-grid::-webkit-scrollbar-track { background: #08080a; }
.media-dialog, .avatar-dialog, .admin-manage-dialog, .avatar-option-grid { scrollbar-gutter: stable; }

.premium-marker { margin-left: 7px; padding: 3px 6px; display: inline-flex; align-items: center; gap: 3px; border: 1px solid rgba(255,116,23,.3); border-radius: 4px; color: #ff9b57; background: rgba(255,116,23,.09); font-size: 7px; font-weight: 700; vertical-align: middle; }
.premium-marker .icon { width: 9px; height: 9px; }

.profile-links { gap: 7px; margin-top: 14px; }
.profile-links a { min-height: 54px; padding: 9px 11px; gap: 10px; }
.profile-links a > .social-brand-icon, .profile-links a > .icon:first-child { width: 17px; height: 17px; }
.profile-links a > .icon:last-child { width: 13px; height: 13px; }
.profile-links span { gap: 1px; overflow: hidden; }
.profile-links span b { overflow: hidden; color: var(--primary-text,#fff); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.profile-links span small { overflow: hidden; color: var(--secondary-text,#918b88); font-size: 7.5px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.discord-presence-card { min-height: 54px; margin-top: 12px; padding: 8px 10px; gap: 9px; }
.discord-presence-card img { width: 34px; height: 34px; }
.discord-presence-card > span { gap: 1px; overflow: hidden; }
.discord-presence-card .presence-service { color: #8f98ff; font-size: 6.5px; font-weight: 700; text-transform: uppercase; }
.discord-presence-card b { font-size: 9.5px; }
.discord-presence-card .presence-detail { overflow: hidden; font-size: 7.5px; text-overflow: ellipsis; white-space: nowrap; }

.player-style-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.player-style-grid label { min-width: 0; }
.player-style-grid input { position: absolute; opacity: 0; pointer-events: none; }
.player-style-grid label > span { min-height: 82px; padding: 12px; display: grid; justify-items: start; align-content: center; gap: 4px; border: 1px solid #29292d; border-radius: 6px; color: #8e8884; background: #0d0d0f; cursor: pointer; }
.player-style-grid label > span .icon { width: 16px; height: 16px; color: #ff7417; }
.player-style-grid label > span b { color: #fff; font-size: 10px; }
.player-style-grid label > span small { font-size: 7.5px; line-height: 1.4; }
.player-style-grid input:checked + span { border-color: #ff7417; background: rgba(255,116,23,.08); box-shadow: inset 0 0 0 1px rgba(255,116,23,.2); }
.player-style-grid input:disabled + span { opacity: .4; cursor: not-allowed; }
.music-track > small { color: var(--accent); font-size: 6.5px; font-weight: 700; text-transform: uppercase; }
.music-player { position: relative; min-height: 62px; padding: 10px 12px; gap: 10px; border-color: rgba(255,255,255,.13); background: rgba(11,12,15,.72); box-shadow: inset 0 1px rgba(255,255,255,.05), 0 10px 28px rgba(0,0,0,.18); }
.music-player::before { content: ""; width: 3px; position: absolute; inset: 10px auto 10px 0; border-radius: 0 3px 3px 0; background: var(--accent); opacity: .9; }
.music-player > button { transition: transform .16s ease, filter .16s ease; }
.music-player > button:hover { transform: scale(1.06); filter: brightness(1.08); }
.music-track { gap: 4px; }
.music-track b { font-size: 10px; font-weight: 720; }
.music-track input, .music-volume input { appearance: none; height: 3px; border-radius: 99px; background: rgba(255,255,255,.18); cursor: pointer; }
.music-track input::-webkit-slider-thumb, .music-volume input::-webkit-slider-thumb { appearance: none; width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; background: var(--accent); box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.music-track input::-moz-range-thumb, .music-volume input::-moz-range-thumb { width: 7px; height: 7px; border: 2px solid #fff; border-radius: 50%; background: var(--accent); }
.music-cover { box-shadow: 0 5px 14px rgba(0,0,0,.35); }
.music-player.player-studio { padding: 12px; border-color: color-mix(in srgb,var(--accent) 48%,transparent); background: color-mix(in srgb,var(--accent) 10%,rgba(11,12,16,.88)); box-shadow: inset 0 1px rgba(255,255,255,.07), 0 12px 30px rgba(0,0,0,.2); }
.music-player.player-studio .music-cover { width: 44px; height: 44px; }
.music-player.player-studio.has-cover { grid-template-columns: 44px 40px minmax(0,1fr) auto; }
.music-player.player-minimal { padding: 8px 10px; grid-template-columns: 32px minmax(0,1fr); border-color: rgba(255,255,255,.12); background: rgba(4,4,6,.5); }
.music-player.player-minimal .music-cover, .music-player.player-minimal .music-volume, .music-player.player-minimal .music-track > small { display: none; }
.music-player.player-minimal > button { width: 32px; height: 32px; }
.music-player.player-minimal::before { display: none; }
.music-player.player-minimal .music-track { grid-template-columns: minmax(70px,auto) 1fr; align-items: center; column-gap: 9px; }
.music-player.player-minimal .music-track b { grid-row: 1 / 3; }
.music-player.player-minimal .music-track > span { grid-column: 2; }
.music-player.player-wave { min-height: 82px; padding: 13px 14px; border-color: color-mix(in srgb,var(--accent) 44%,transparent); background: linear-gradient(135deg,color-mix(in srgb,var(--accent) 14%,#0b0c10),rgba(8,9,12,.94)); }
.music-player.player-wave > button { width: 42px; height: 42px; box-shadow: 0 0 0 5px color-mix(in srgb,var(--accent) 14%,transparent); }
.music-player.player-wave .music-cover { width: 48px; height: 48px; }
.music-player.player-wave.has-cover { grid-template-columns: 48px 42px minmax(0,1fr) auto; }
.music-player.player-wave .music-track > input { margin-top: 2px; }
.music-waveform { height: 18px; display: flex; align-items: center; gap: 2px; overflow: hidden; }
.music-waveform i { width: 2px; height: var(--wave); flex: 1 1 2px; max-width: 4px; border-radius: 2px; background: color-mix(in srgb,var(--accent) 82%,#fff); opacity: .38; transform: scaleY(.42); transform-origin: center; }
.music-player.is-playing .music-waveform i { animation: music-wave .72s ease-in-out infinite alternate; animation-delay: var(--delay); opacity: .9; }
@keyframes music-wave { from { transform: scaleY(.34); } to { transform: scaleY(1); } }
.waveform-toggle { margin-top: -4px; }
.effect-glow .public-card { animation: none; }
.effect-glow .public-wrap { animation: premium-glow 3.2s ease-in-out infinite alternate; }
.effect-pulse::after { content: ""; position: fixed; z-index: 2; inset: 10px; border: 1px solid color-mix(in srgb,var(--accent) 48%,transparent); border-radius: 8px; pointer-events: none; animation: edge-pulse 2.4s ease-in-out infinite alternate; }
@keyframes edge-pulse { to { border-color: color-mix(in srgb,var(--accent) 92%,transparent); box-shadow: inset 0 0 24px color-mix(in srgb,var(--accent) 18%,transparent); } }

.shop-body { min-height: 100vh; background: #060607; }
.shop-page { width: min(720px,calc(100% - 32px)); margin: 56px auto 90px; }
.shop-eyebrow, .shop-product-kicker, .shop-dialog-kicker { color: #ff8d42; font-size: 9px; font-weight: 750; text-transform: uppercase; }
.shop-heading { margin: 5px 0 30px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.shop-heading > div { min-width: 0; display: grid; gap: 9px; }
.shop-heading h1 { margin: 0; font-size: 42px; line-height: 1; }
.shop-heading p { max-width: 410px; margin: 0; color: #8f8985; font-size: 10px; line-height: 1.65; }
.shop-detail-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.shop-redeem-button { min-height: 34px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex: 0 0 auto; border: 1px solid #75421f; border-radius: 6px; color: #fff; background: rgba(255,116,23,.1); font-size: 9px; font-weight: 750; }
.shop-redeem-button:hover { border-color: #ff7417; background: rgba(255,116,23,.18); }
.shop-redeem-button .icon { width: 13px; height: 13px; color: #ff8739; }
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.shop-card { min-height: 220px; padding: 22px; display: flex; flex-direction: column; border: 1px solid #202024; border-radius: 7px; background: #0b0b0d; box-shadow: inset 0 1px rgba(255,255,255,.025); transition: border-color .18s ease, transform .18s ease; }
.shop-card:hover { border-color: #343239; transform: translateY(-2px); }
.shop-card-icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 7px; }
.shop-card-icon .icon { width: 21px; height: 21px; }
.shop-card-icon .shop-product-image { width: 38px; height: 38px; display: block; border-radius: 5px; object-fit: contain; }
.tone-blue { color: #82a8ff; background: #173eaa; border-color: #2857ca; }
.tone-green { color: #8ff0b3; background: #0c6633; border-color: #158548; }
.tone-amber { color: #ffd190; background: #855007; border-color: #aa6810; }
.tone-red { color: #ff9da1; background: #9e151c; border-color: #c12029; }
.shop-card > div { margin-top: 20px; }
.shop-card h2 { margin: 0 0 7px; font-size: 14px; }
.shop-card p { margin: 0; color: #918b87; font-size: 9px; line-height: 1.55; }
.shop-card footer { margin-top: auto; padding-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.shop-card footer:has(a:only-child) { justify-content: flex-end; }
.shop-card footer strong { font-size: 12px; }
.shop-card footer a { min-height: 30px; padding: 0 11px; display: inline-flex; align-items: center; gap: 7px; border-radius: 5px; color: #101012; background: #fff; font-size: 9px; font-weight: 750; }
.shop-card footer a .icon { width: 11px; height: 11px; }

.shop-detail { width: min(820px,calc(100% - 32px)); margin: 44px auto 88px; }
.shop-product { min-height: 500px; margin-top: 24px; display: grid; grid-template-columns: minmax(260px,.9fr) 1.1fr; overflow: hidden; border: 1px solid #242429; border-radius: 8px; background: #0b0b0d; }
.shop-product-visual { min-height: 500px; position: relative; display: grid; place-items: center; border: 0; border-right: 1px solid rgba(255,255,255,.1); }
.shop-product-visual > span { width: 94px; height: 94px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; background: rgba(5,5,7,.24); }
.shop-product-visual .icon { width: 42px; height: 42px; }
.shop-product-visual .shop-product-image { width: 80px; height: 80px; display: block; border-radius: 7px; object-fit: contain; filter: drop-shadow(0 12px 22px rgba(0,0,0,.3)); }
.shop-product-visual small { position: absolute; left: 22px; bottom: 20px; color: rgba(255,255,255,.7); font-size: 10px; }
.shop-product-copy { padding: 38px 36px; display: flex; flex-direction: column; align-items: stretch; }
.shop-product-copy h1 { margin: 7px 0; font-size: 27px; }
.shop-product-copy > p { margin: 0; color: #99918d; font-size: 10px; line-height: 1.6; }
.shop-price { margin-top: 18px; font-size: 22px; }
.shop-product-copy ul { margin: 20px 0; padding: 0; display: grid; gap: 7px; list-style: none; }
.shop-product-copy li { display: flex; align-items: center; gap: 8px; color: #b4ada9; font-size: 8.5px; }
.shop-product-copy li .icon { width: 12px; height: 12px; color: #5bd38e; }
.payment-method { margin-top: auto; display: grid; gap: 7px; }
.payment-method > span { color: #fff; font-size: 9px; font-weight: 700; }
.payment-method select { min-height: 40px; width: 100%; border-color: #2a292e; background: #101012; }
.payment-method > small { color: #77716e; font-size: 7.5px; }
.shop-buy-button, .shop-discord-button { min-height: 40px; margin-top: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 6px; color: #fff; background: #ff7417; font-size: 10px; font-weight: 750; }
.shop-buy-button .icon, .shop-discord-button .icon { width: 14px; height: 14px; }
.shop-owned-button { min-height: 40px; margin-top: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid rgba(62,204,121,.35); border-radius: 6px; color: #83e7a9; background: rgba(32,161,85,.1); font-size: 10px; font-weight: 750; }
.shop-owned-button .icon { width: 14px; height: 14px; }

.shop-purchase-dialog { width: min(410px,calc(100% - 28px)); padding: 32px; border: 1px solid #29292e; border-radius: 8px; color: #fff; background: #0c0c0f; box-shadow: 0 28px 100px rgba(0,0,0,.75); text-align: center; }
.shop-purchase-dialog::backdrop { background: rgba(0,0,0,.84); backdrop-filter: blur(8px); }
.shop-dialog-logo { display: flex; justify-content: center; margin-bottom: 20px; }
.shop-dialog-mark { width: 38px; height: 38px; border-radius: 7px; }
.shop-payment-note { padding: 12px; display: flex; align-items: center; gap: 10px; border: 1px solid #3678fa; border-radius: 6px; color: #fff; background: #2563eb; text-align: left; }
.shop-payment-note .icon { width: 16px; height: 16px; }
.shop-payment-note span { display: grid; gap: 2px; }
.shop-payment-note b { font-size: 9px; }
.shop-payment-note small { color: rgba(255,255,255,.8); font-size: 7.5px; }
.shop-dialog-kicker { display: block; margin-top: 24px; }
.shop-purchase-dialog h2 { margin: 7px 0; font-size: 18px; }
.shop-purchase-dialog > p { margin: 0; color: #9b9490; font-size: 9px; line-height: 1.65; }
.shop-discord-button { margin-top: 20px; padding: 0 18px; }
.shop-redeem-dialog { width: min(420px,calc(100% - 28px)); padding: 32px; border: 1px solid #29292e; border-radius: 8px; color: #fff; background: #0c0c0f; box-shadow: 0 28px 100px rgba(0,0,0,.75); text-align: center; }
.shop-redeem-dialog::backdrop { background: rgba(0,0,0,.84); backdrop-filter: blur(8px); }
.shop-redeem-dialog h2 { margin: 7px 0 8px; font-size: 20px; }
.shop-redeem-dialog > p { margin: 0; color: #958e8a; font-size: 9px; line-height: 1.65; }
.shop-redeem-dialog form { margin-top: 22px; display: grid; gap: 12px; text-align: left; }
.shop-redeem-dialog label { gap: 7px; font-size: 9px; }
.shop-redeem-dialog input { min-height: 42px; border-color: #2c2c31; border-radius: 6px; background: #101012; font-size: 11px; text-transform: uppercase; }
.shop-redeem-dialog .shop-buy-button { width: 100%; margin-top: 0; }

.admin-premium-controls { grid-template-columns: 1fr; }
.admin-code-builder { margin-bottom: 22px; padding: 18px; display: grid; gap: 14px; border: 1px solid #29292d; border-radius: 7px; background: linear-gradient(145deg,rgba(255,116,23,.055),transparent 52%),#0d0d0f; }
.admin-code-builder-intro { display: flex; align-items: center; gap: 11px; padding-bottom: 14px; border-bottom: 1px solid #28282b; }
.admin-code-builder-intro > .icon { width: 18px; height: 18px; color: #ff8430; }
.admin-code-builder-intro > span { display: grid; gap: 3px; }
.admin-code-builder-intro b { font-size: 11px; }
.admin-code-builder-intro small,.admin-code-builder label > small { color: #817b77; font-size: 7.5px; line-height: 1.45; }
.admin-code-builder label { gap: 6px; font-size: 9px; }
.admin-code-builder input,.admin-code-builder select { min-height: 39px; border-color: #2a292d; border-radius: 5px; background: #101012; font-size: 9px; }
.admin-code-builder [hidden] { display: none; }
.admin-code-list article { display: grid; grid-template-columns: 118px minmax(0,1fr) 30px auto; justify-content: initial; }
.admin-code-reward { min-height: 34px; padding: 0 9px; display: inline-flex !important; align-items: center; gap: 7px; border: 1px solid rgba(255,116,23,.27); border-radius: 5px; color: #ff9953; background: rgba(255,116,23,.07); }
.admin-code-reward .icon { width: 13px; height: 13px; }
.admin-code-reward em { overflow: hidden; font-size: 7.5px; font-style: normal; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.admin-code-copy { min-width: 0; display: grid; gap: 3px; }
.admin-code-copy b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-code-list article > form { margin: 0; }

.owner-shop-list { display: grid; gap: 12px; }
.owner-product-form { padding: 16px; display: grid; gap: 12px; border: 1px solid #29292e; border-radius: 7px; background: #0d0d0f; }
.owner-product-form > header { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 10px; }
.owner-product-form .shop-card-icon { width: 42px; height: 42px; }
.owner-product-form > header > span:nth-child(2) { display: grid; gap: 2px; }
.owner-product-form > header small { color: #827b77; font-size: 7px; text-transform: uppercase; }
.owner-product-form > header b { font-size: 12px; }
.owner-product-form > header em { color: #ff9b57; font-size: 11px; font-style: normal; font-weight: 700; }
.owner-product-options { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.owner-product-options label { display: grid; gap: 5px; }
.owner-product-image-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.owner-product-image-fields label > small { color: #827b77; font-size: 8px; font-weight: 500; line-height: 1.45; }
.owner-product-form > footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.public-studio-nav { position: sticky; top: 0; z-index: 15; }
.public-studio-nav nav { margin-left: auto; }

@media (max-width: 700px) {
  .shop-heading { align-items: flex-start; flex-direction: column; }
  .shop-grid, .shop-product { grid-template-columns: 1fr; }
  .shop-product-visual { min-height: 210px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .shop-product-copy { padding: 26px 22px; }
  .player-style-grid { grid-template-columns: 1fr 1fr; }
  .owner-product-options { grid-template-columns: 1fr; }
  .owner-product-image-fields { grid-template-columns: 1fr; }
  .owner-product-form > footer { align-items: stretch; flex-direction: column; }
  .shop-detail-actions { align-items: stretch; flex-direction: column; }
  .shop-redeem-button { width: 100%; }
  .admin-code-list article { grid-template-columns: 1fr auto; }
  .admin-code-reward,.admin-code-copy { grid-column: 1; }
  .admin-code-list article > .icon-btn,.admin-code-list article > form { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  .effect-glow .public-wrap, .effect-pulse::after { animation: none; }
  .music-player.is-playing .music-waveform i { animation: none; transform: scaleY(.72); }
}
@media (max-width: 820px) {
  .studio-main { margin-top: 24px; }
  .studio-card { padding: 20px; }
  .studio-heading h1 { font-size: 23px; }
  .screenshot-form { gap: 16px; }
  .profile-url-pill { max-width: calc(100vw - 96px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .home-features article:first-child { grid-column: auto; }
  .cta-strip { align-items: flex-start; flex-direction: column; text-align: left; }
  .auth-layout { grid-template-columns: 1fr; gap: 22px; padding: 24px 0; }
  .auth-story { max-width: 620px; padding: 0; }
  .auth-story h1 { max-width: 620px; font-size: 42px; }
  .auth-proof { margin-top: 20px; }
  .auth-card { max-width: 520px; }
  .discord-connect-panel { grid-template-columns: 42px 1fr; }
  .discord-connect-panel form { grid-column: auto; }
}
@media (max-width: 560px) {
  .auth-topbar, .auth-layout, .auth-footer { width: min(100% - 28px, 520px); }
  .auth-topbar { height: 68px; }
  .auth-story h1 { font-size: 34px; }
  .auth-story > p { font-size: 14px; }
  .auth-proof { display: grid; }
  .auth-card { padding: 24px 20px; }
  .auth-card h2 { font-size: 27px; }
  .auth-secondary { align-items: flex-start; flex-direction: column; }
  .auth-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 10px; }
}

/* Premium full-page effects */
.effect-choice-section { display: grid; gap: 9px; }
.effect-choice-section > span { display: flex; align-items: center; color: #f4f2f1; font-size: 12.5px; font-weight: 650; }
.effect-choice-section > span > b { margin-left: 3px; color: #ff3d35; }
.effect-choice-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.effect-choice-grid label { min-width: 0; }
.effect-choice-grid input { position: absolute; opacity: 0; pointer-events: none; }
.effect-choice-grid label > span { min-height: 94px; padding: 11px; display: grid; align-content: center; justify-items: start; gap: 5px; border: 1px solid #29292d; border-radius: 6px; color: #928c88; background: #0d0d0f; cursor: pointer; transition: border-color .16s ease,background .16s ease,transform .16s ease; }
.effect-choice-grid label > span:hover { border-color: #4a3425; transform: translateY(-1px); }
.effect-choice-grid .icon { width: 17px; height: 17px; color: #ff7f2c; }
.effect-choice-grid b { color: #fff; font-size: 9px; line-height: 1.25; }
.effect-choice-grid small { color: #817a76; font-size: 7px; line-height: 1.45; }
.effect-choice-grid input:checked + span { border-color: #ff7417; background: rgba(255,116,23,.085); box-shadow: inset 0 0 0 1px rgba(255,116,23,.16); }
.effect-choice-grid input:disabled + span { opacity: .36; cursor: not-allowed; transform: none; }

.page-effect-layer { position: fixed; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; contain: strict; isolation: isolate; }
.effect-grid::before,.effect-scanlines::before { display:none; }
.effect-grid-plane,.effect-atmosphere,.effect-particles { position: absolute; inset: 0; pointer-events: none; }
.effect-grid .effect-grid-plane { width: 170vw; height: 88vh; inset: 48vh auto auto -35vw; opacity: .62; background-image: linear-gradient(color-mix(in srgb,var(--accent) 32%,transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in srgb,var(--accent) 32%,transparent) 1px,transparent 1px); background-size: 54px 42px; transform: perspective(520px) rotateX(58deg) translateY(-24%); transform-origin: 50% 0; -webkit-mask-image: linear-gradient(to bottom,transparent 0,#000 18%,#000 86%,transparent); mask-image: linear-gradient(to bottom,transparent 0,#000 18%,#000 86%,transparent); animation: grid-travel 7s linear infinite; }
.effect-grid .effect-atmosphere { background: linear-gradient(180deg,transparent 32%,color-mix(in srgb,var(--accent) 9%,transparent) 58%,transparent 82%),radial-gradient(ellipse at 50% 48%,color-mix(in srgb,var(--accent) 18%,transparent),transparent 48%); }
.effect-grid .effect-atmosphere::after { content:""; height: 1px; position: absolute; left: 8%; right: 8%; top: 52%; background: color-mix(in srgb,var(--accent) 64%,transparent); box-shadow: 0 0 22px color-mix(in srgb,var(--accent) 42%,transparent); opacity: .65; }
@keyframes grid-travel { to { background-position: 0 42px,54px 0; } }

.effect-scanlines .page-effect-layer { opacity: .32; background: repeating-linear-gradient(180deg,transparent 0 3px,rgba(255,255,255,.13) 3px 4px); mix-blend-mode: soft-light; }
.effect-scanlines .effect-atmosphere { width: 100%; height: 22%; top: -24%; background: linear-gradient(180deg,transparent,rgba(255,255,255,.08),transparent); animation: scan-beam 6s linear infinite; }
@keyframes scan-beam { to { transform: translateY(570%); } }

.effect-particle { --particle-size: 12px; --particle-x: 50vw; --particle-drift: 20px; --particle-duration: 7s; --particle-delay: 0s; width: var(--particle-size); height: var(--particle-size); position: absolute; left: var(--particle-x); bottom: -40px; opacity: 0; will-change: transform,opacity; animation-delay: var(--particle-delay); animation-duration: var(--particle-duration); animation-timing-function: linear; animation-fill-mode: forwards; }
.effect-hearts .effect-particle { color: #ff6689; filter: drop-shadow(0 0 7px rgba(255,72,120,.38)); animation-name: heart-rise; }
.effect-hearts .effect-particle::before { content:"\2665"; display: block; font-family: Arial,sans-serif; font-size: var(--particle-size); line-height: 1; }
@keyframes heart-rise { 0% { opacity: 0; transform: translate3d(0,20px,0) rotate(-8deg) scale(.72); } 12% { opacity: .72; } 72% { opacity: .55; } 100% { opacity: 0; transform: translate3d(var(--particle-drift),-112vh,0) rotate(18deg) scale(1.08); } }

.effect-sparks .effect-particle { width: calc(var(--particle-size) * .28); height: var(--particle-size); border-radius: 99px; background: linear-gradient(#fff8d5,#ff9a32 45%,rgba(255,70,20,0)); box-shadow: 0 0 8px #ff7a1a; transform-origin: center; animation-name: spark-rise; }
@keyframes spark-rise { 0% { opacity: 0; transform: translate3d(0,18px,0) rotate(12deg) scaleY(.55); } 9% { opacity: .9; } 58% { opacity: .58; } 100% { opacity: 0; transform: translate3d(var(--particle-drift),-108vh,0) rotate(-18deg) scaleY(1.35); } }

.effect-stars .effect-particle { bottom: auto; border-radius: 50%; background: #fff; box-shadow: 0 0 6px #fff,0 0 14px color-mix(in srgb,var(--accent) 65%,#b9d7ff); animation-name: star-twinkle; }
.effect-stars .effect-particle::after { content:""; position:absolute; inset:50% auto auto 50%; width:1px; height:calc(var(--particle-size) * 3); background:linear-gradient(transparent,#fff,transparent); transform:translate(-50%,-50%); opacity:.55; }
@keyframes star-twinkle { 0%,100% { opacity:.12; transform:scale(.55) rotate(0); } 48% { opacity:.92; transform:scale(1) rotate(55deg); } }

.effect-glow .effect-atmosphere { inset: -18%; background: radial-gradient(circle at 50% 48%,color-mix(in srgb,var(--accent) 17%,transparent),transparent 35%),radial-gradient(circle at 18% 20%,color-mix(in srgb,var(--accent) 8%,transparent),transparent 26%); animation: atmosphere-breathe 5s ease-in-out infinite alternate; }
@keyframes atmosphere-breathe { to { opacity:.55; transform:scale(1.08); } }
.effect-pulse::after { z-index: 3; }

@media (max-width: 820px) { .effect-choice-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .effect-particle { --particle-size: 10px; } }
@media (prefers-reduced-motion: reduce) {
  .effect-grid .effect-grid-plane,.effect-scanlines .effect-atmosphere,.effect-particle,.effect-glow .effect-atmosphere { animation: none !important; }
  .effect-hearts .effect-particle,.effect-sparks .effect-particle { display:none; }
  .effect-stars .effect-particle { opacity:.32; }
}

/* Home experience */
.home-reference { min-height: 100vh; background: #050505; }
.home-reference::before { opacity: .72; background: linear-gradient(180deg,rgba(2,3,4,.24),rgba(3,4,5,.78) 58%,#050505 88%),url("forest-hero.jpg") center 18% / cover no-repeat; }
.home-top { width: min(1120px,calc(100% - 40px)); height: 78px; position: relative; z-index: 5; border-bottom: 1px solid rgba(255,255,255,.09); }
.home-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.home-brand .home-logo { width: 58px; height: 58px; border-radius: 0; object-fit: contain; }
.home-top nav { display: flex; align-items: center; gap: 26px; }
.home-top nav a,.home-account-actions > a { color: #aaa7a5; font-size: 11px; font-weight: 600; transition: color .16s ease; }
.home-top nav a:hover,.home-account-actions > a:hover { color: #fff; }
.home-account-actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.home-account-actions .home-nav-cta { min-height: 34px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 6px; color: #fff; background: #ff7417; box-shadow: 0 8px 22px rgba(255,116,23,.17); }
.hero-reference { width: 100%; min-height: 760px; margin: 0 auto 70px; padding: 105px 24px 34px; display: flex; align-items: center; justify-content: flex-start; }
.hero-reference .hero-copy { max-width: 790px; }
.home-kicker { min-height: 31px; padding: 0 12px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(255,255,255,.13); border-radius: 99px; color: #dedad7; background: rgba(8,8,9,.56); backdrop-filter: blur(12px); font-size: 9px; font-weight: 650; }
.home-kicker .icon { width: 13px; height: 13px; color: #ff7b20; }
.hero-reference h1 { margin: 22px 0 6px; color: #fff; font-size: 78px; font-weight: 820; line-height: 1; text-shadow: 0 8px 34px rgba(0,0,0,.58); }
.hero-reference h1.home-hero-logo { width: min(280px,68vw); max-width: none; margin: 10px 0 2px; line-height: 0; text-shadow: none; }
.home-hero-logo .hero-brand-logo { width: 100%; height: auto; border-radius: 0; object-fit: contain; filter: drop-shadow(0 14px 28px rgba(0,0,0,.5)); }
.hero-reference h2 { margin: 0 0 20px; color: #fff; font-family: var(--font-display); font-size: 31px; font-weight: 690; line-height: 1.2; }
.hero-reference p { max-width: 690px; color: #aaa7a5; font-size: 15px; line-height: 1.72; }
.hero-reference .hero-actions { justify-content: center; margin-top: 28px; }
.home-secondary-cta { min-height: 40px; padding: 0 4px 0 14px; display: inline-flex; align-items: center; gap: 8px; color: #dad6d3; font-size: 11px; font-weight: 650; }
.home-secondary-cta .icon { width: 14px; height: 14px; }
.home-proof { margin-top: 26px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; color: #8d8986; font-size: 9px; }
.home-proof b { color: #fff; font-weight: 750; }
.home-proof i { width: 3px; height: 3px; border-radius: 50%; background: #ff7417; }
.home-community-preview { width: min(1120px,100%); margin-top: 84px; }
.home-community-heading { margin-bottom: 13px; display: flex; align-items: center; justify-content: space-between; text-align: left; }
.home-community-heading span { color: #fff; font-size: 11px; font-weight: 700; }
.home-community-heading small { color: #77726f; font-size: 8px; }
.profile-rail { width: 100%; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,270px)); justify-content: center; gap: 10px; overflow: visible; }
.profile-rail a { width: auto; height: 68px; min-width: 0; padding: 10px 12px; border-color: rgba(255,255,255,.1); background: rgba(10,10,11,.78); backdrop-filter: blur(12px); transition: border-color .16s ease,background .16s ease,transform .16s ease; }
.profile-rail a:hover { border-color: rgba(255,116,23,.62); background: rgba(18,17,17,.94); transform: translateY(-2px); }
.profile-rail img { width: 42px; height: 42px; flex: 0 0 auto; object-fit: cover; }
.profile-rail span { min-width: 0; flex: 1; }
.profile-rail b,.profile-rail small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-rail b { font-size: 10px; }
.profile-rail small { margin-top: 3px; color: #85807d; font-size: 8px; }
.profile-rail > a > .icon { width: 13px; height: 13px; flex: 0 0 auto; color: #77716e; }
.home-community-empty { grid-column: 1 / -1; padding: 24px; border: 1px dashed #29292d; border-radius: 7px; color: #85807d; background: rgba(10,10,11,.72); font-size: 11px; }
.home-partners { width: min(1120px,100%); margin-top: 38px; text-align: left; }
.partner-marquee { position: relative; width: 100%; overflow: hidden; mask-image: linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); }
.partner-marquee-track { position: relative; width: max-content; display: flex; gap: 14px; will-change: transform; }
.partner-marquee.is-static { mask-image: none; }
.partner-marquee.is-static .partner-marquee-track { width: 100%; justify-content: center; transform: none !important; will-change: auto; }
.partner-server { width: 210px; height: 78px; flex: 0 0 auto; padding: 7px 12px; position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; border: 1px solid rgba(255,255,255,.09); border-radius: 7px; color: #dedbd9; background: rgba(10,10,12,.84); backdrop-filter: blur(12px); text-decoration: none; }
.partner-server img { width: 58px; height: 58px; flex: 0 0 auto; border-radius: 8px; object-fit: cover; filter: grayscale(1) saturate(.2); opacity: .58; transition: filter .22s ease,opacity .22s ease,transform .22s ease; }
.partner-server > span { min-width: 0; display: grid; gap: 5px; }
.partner-server b,.partner-server small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.partner-server b { color: #f0eeed; font-size: 9px; }
.partner-server small { color: #77726f; font-size: 7px; }
.partner-server.is-linked { pointer-events: auto; cursor: pointer; touch-action: manipulation; transition: border-color .18s ease,background .18s ease,transform .18s ease; }
.partner-server.is-linked > * { pointer-events: none; }
.partner-server.is-linked:hover,.partner-server.is-linked:focus-visible { border-color: rgba(0,174,255,.62); color: #fff; background: rgba(13,24,31,.96); transform: translateY(-2px); outline: none; }
.partner-server:hover img,.partner-server:focus-visible img { filter: grayscale(0) saturate(1); opacity: 1; transform: scale(1.04); }
.home-features { grid-template-columns: repeat(4,1fr); margin-top: 0; }
.home-features article:first-child { grid-column: auto; }
.home-features .card-icon { border-color: rgba(255,116,23,.3); color: #ff822d; background: rgba(255,116,23,.08); }

/* Account editor */
.account-plan-pill { min-height: 26px; padding: 0 10px; display: inline-flex; align-items: center; border: 1px solid rgba(255,116,23,.32); border-radius: 5px; color: #ff9a56; background: rgba(255,116,23,.08); font-size: 8px; font-weight: 750; }
.account-intro { margin-bottom: 18px; padding: 13px; display: flex; align-items: center; gap: 11px; border: 1px solid #27272a; border-radius: 6px; background: #0d0d0f; }
.account-intro > span { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 6px; color: #ff8430; background: rgba(255,116,23,.1); }
.account-intro > span .icon { width: 16px; height: 16px; }
.account-intro > div,.account-section-heading > div { display: grid; gap: 3px; }
.account-intro b { color: #f5f2f0; font-size: 11px; }
.account-intro small { color: #8a8480; font-size: 8px; line-height: 1.5; }
.account-settings-form { display: grid; gap: 13px; }
.account-section { padding: 16px; display: grid; gap: 15px; border: 1px solid #252528; border-radius: 6px; background: #0c0c0e; }
.account-section-heading { display: flex; align-items: center; gap: 9px; padding-bottom: 12px; border-bottom: 1px solid #232326; }
.account-section-heading > span { width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #2d2d31; border-radius: 5px; color: #aaa4a0; background: #121214; }
.account-section-heading .icon { width: 14px; height: 14px; }
.account-section-heading b { color: #ece9e7; font-size: 10px; }
.account-section-heading small { color: #77716d; font-size: 7.5px; line-height: 1.45; }
.account-settings-form label { gap: 6px; color: #d8d4d2; font-size: 9px; }
.account-settings-form label > span > b { color: #ff4c43; }
.account-settings-form input { min-height: 40px; border-color: #29292c; border-radius: 5px; color: #fff; background: #101012; font-size: 10px; }
.account-settings-form input:focus { border-color: #7d431d; outline: 0; box-shadow: 0 0 0 3px rgba(255,116,23,.08); }
.account-readonly { min-height: 40px; padding: 0 12px; display: flex; align-items: center; border: 1px solid #232326; border-radius: 5px; color: #77716d; background: #09090a; font-size: 10px; }
.account-settings-form .password-field { border-color: #29292c; border-radius: 5px; background: #101012; }
.account-settings-form .password-field input { border: 0; }
.account-settings-form .password-field button { width: 40px; position: relative; }
.account-settings-form .password-field button .icon { width: 15px; height: 15px; }
.password-field button.is-showing::after { content: ""; width: 18px; height: 1px; position: absolute; background: currentColor; transform: rotate(-45deg); }
.account-form-footer { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.account-form-footer > span { display: inline-flex; align-items: center; gap: 7px; color: #77716d; font-size: 7.5px; line-height: 1.4; }
.account-form-footer > span .icon { width: 13px; height: 13px; color: #6f6a67; }
.account-form-footer .save-btn { min-width: 132px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.account-form-footer .save-btn .icon { width: 14px; height: 14px; }

@media (max-width: 820px) {
  .home-top { height: auto; padding: 14px 0; display: grid; grid-template-columns: 1fr auto; gap: 12px; }
  .home-top nav { grid-row: 2; grid-column: 1 / -1; justify-content: center; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.07); }
  .hero-reference { min-height: 0; padding-top: 78px; }
  .hero-reference h1 { font-size: 58px; }
  .hero-reference h2 { font-size: 25px; }
  .profile-rail { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .partner-form-footer { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .partner-form-footer .avatar-delete,.partner-form-footer .avatar-save { justify-self: stretch; justify-content: center; }
  .partner-server { width: 184px; }
  .home-features { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 560px) {
  .misc-module-heading { padding: 16px; align-items: flex-start; }
  .misc-module-heading h2 { font-size: 15px; }
  .misc-module-group { padding: 16px; }
  .misc-module-hub .media-picker { min-height: 96px; }
  .misc-module-hub .media-picker > span { min-height: 96px; }
  .home-top nav { gap: 18px; }
  .home-account-actions { gap: 10px; }
  .hero-reference { padding: 58px 14px 24px; }
  .hero-reference h1 { font-size: 44px; }
  .hero-reference h2 { font-size: 21px; }
  .hero-reference p { font-size: 13px; }
  .home-community-preview { margin-top: 58px; }
  .home-partners { margin-top: 30px; }
  .partner-server { width: 164px; height: 68px; padding: 6px 9px; gap: 9px; }
  .partner-server img { width: 50px; height: 50px; }
  .profile-rail,.home-features { grid-template-columns: 1fr; }
  .home-community-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .account-form-footer { align-items: stretch; flex-direction: column; }
  .account-form-footer .save-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .partner-marquee { overflow-x: auto; mask-image: none; scrollbar-width: thin; }
  .partner-marquee-track { transform: none !important; }
}
