:root {
  --bg: #080a12;
  --bg-2: #0d101b;
  --panel: rgba(19, 23, 39, .86);
  --panel-solid: #121625;
  --panel-2: #181d2e;
  --text: #f7f7fb;
  --muted: #a2a8ba;
  --line: rgba(255,255,255,.10);
  --purple: #8b5cf6;
  --purple-2: #6d4aff;
  --pink: #fb4fa3;
  --cyan: #22d3ee;
  --green: #58e6a9;
  --yellow: #f4d35e;
  --danger: #ff667c;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(0,0,0,.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 15% -10%, rgba(139,92,246,.16), transparent 28rem),
    radial-gradient(circle at 88% 10%, rgba(34,211,238,.09), transparent 30rem),
    var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  z-index: -2;
}
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .03;
  z-index: 99;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8,10,18,.78);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav-shell { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: "Space Grotesk", sans-serif; font-weight: 800; letter-spacing: -.04em; font-size: 1.15rem; }
.brand-mark { position: relative; width: 30px; height: 30px; display: inline-grid; place-items: center; border-radius: 9px; background: linear-gradient(145deg, var(--purple), var(--cyan)); box-shadow: 0 0 22px rgba(139,92,246,.35); overflow: hidden; }
.brand-mark span { width: 3px; background: white; border-radius: 8px; margin: 0 1px; display: inline-block; align-self: end; }
.brand-mark span:nth-child(1) { height: 10px; }
.brand-mark span:nth-child(2) { height: 18px; }
.brand-mark span:nth-child(3) { height: 14px; }
.beta-chip { color: #b9a8ff; border: 1px solid rgba(139,92,246,.45); background: rgba(139,92,246,.12); border-radius: 99px; padding: 4px 7px; font: 800 .58rem Inter, sans-serif; letter-spacing: .12em; }
.main-nav { display: flex; align-items: center; gap: 25px; color: #c6cad6; font-size: .91rem; font-weight: 650; }
.main-nav a:hover, .nav-text-button:hover { color: #fff; }
.main-nav form { margin: 0; }
.nav-text-button { border: 0; background: none; cursor: pointer; color: #c6cad6; padding: 0; font-weight: 650; }
.nav-toggle { display: none; border: 1px solid var(--line); background: var(--panel); width: 42px; height: 42px; border-radius: 12px; }
.button { border: 1px solid transparent; border-radius: 12px; min-height: 46px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 800; transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(135deg, var(--purple), var(--purple-2) 55%, #5641e9); box-shadow: 0 12px 35px rgba(109,74,255,.28), inset 0 1px rgba(255,255,255,.2); }
.button-primary:hover { box-shadow: 0 16px 45px rgba(109,74,255,.4), inset 0 1px rgba(255,255,255,.2); }
.button-ghost { border-color: var(--line); background: rgba(255,255,255,.035); }
.button-ghost:hover { border-color: rgba(255,255,255,.23); background: rgba(255,255,255,.06); }
.button-light { color: #11131b; background: #fff; box-shadow: 0 12px 30px rgba(255,255,255,.13); }
.button-small { min-height: 38px; padding: 0 15px; border-radius: 10px; }
.button-large { min-height: 54px; padding: 0 24px; border-radius: 14px; }
.text-link { color: #cbbfff; font-weight: 800; }
.text-link:hover { color: white; }
.disabled-link { opacity: .72; }

.hero { position: relative; padding: 88px 0 78px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 66px; }
.hero-copy { position: relative; z-index: 3; }
.kicker { color: #b8a8ff; font-size: .72rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.hero h1, .section-heading h2, .role-copy h2, .audience-card h2, .final-cta h2, .page-title {
  font-family: "Space Grotesk", sans-serif;
  margin: 18px 0;
  letter-spacing: -.055em;
  line-height: .98;
}
.hero h1 { font-size: clamp(3.6rem, 6.8vw, 6.3rem); max-width: 720px; }
.gradient-text { background: linear-gradient(110deg, #c5b8ff 5%, #9d73ff 42%, #4de1f1 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lede { color: #b3b7c6; max-width: 640px; font-size: 1.08rem; line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; margin-top: 31px; flex-wrap: wrap; }
.hero-proof { display: flex; align-items: center; gap: 15px; margin-top: 30px; color: #858c9e; font-size: .83rem; line-height: 1.5; }
.hero-proof p { margin: 0; }
.hero-proof strong { color: #f4f4f8; }
.avatar-stack { display: flex; }
.avatar-stack span { width: 35px; height: 35px; border-radius: 50%; display: grid; place-items: center; background: #171b2b; border: 2px solid var(--bg); margin-left: -8px; font-size: .92rem; }
.avatar-stack span:first-child { margin-left: 0; }
.hero-stage { position: relative; min-width: 0; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .28; pointer-events: none; }
.hero-orb-one { width: 420px; height: 420px; right: -100px; top: 20px; background: var(--purple); }
.hero-orb-two { width: 300px; height: 300px; right: 300px; bottom: -120px; background: var(--cyan); opacity: .12; }
.stream-window { position: relative; min-height: 530px; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; overflow: hidden; background: #10131f; box-shadow: var(--shadow), 0 0 0 1px rgba(139,92,246,.08); transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.stream-topbar { height: 52px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 16px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(8,10,17,.8); font-size: .68rem; font-weight: 800; letter-spacing: .07em; }
.window-dots { display: flex; gap: 6px; }
.window-dots span { width: 8px; height: 8px; border-radius: 50%; background: #3d4250; }
.window-dots span:first-child { background: #ff6179; }
.window-dots span:nth-child(2) { background: #ffd05f; }
.window-dots span:nth-child(3) { background: #58e6a9; }
.stream-status { display: flex; align-items: center; gap: 7px; }
.viewer-count { justify-self: end; color: #a6abb9; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ff4b68; box-shadow: 0 0 0 4px rgba(255,75,104,.12), 0 0 14px rgba(255,75,104,.7); }
.stream-scene { position: relative; height: 350px; overflow: hidden; background: radial-gradient(circle at 35% 45%, rgba(139,92,246,.22), transparent 35%), linear-gradient(145deg, #13182a, #0b0e18); }
.scene-grid { position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 34px 34px; transform: perspective(500px) rotateX(55deg) scale(1.5); transform-origin: bottom; }
.camera-frame { position: absolute; left: 35px; bottom: 0; width: 255px; height: 290px; border: 1px solid rgba(255,255,255,.12); border-radius: 24px 24px 0 0; background: linear-gradient(145deg, #232941, #111522); overflow: hidden; box-shadow: 0 0 50px rgba(139,92,246,.2); }
.camera-glow { position: absolute; width: 170px; height: 170px; border-radius: 50%; top: 55px; left: 42px; background: linear-gradient(145deg, var(--purple), var(--pink)); filter: blur(35px); opacity: .55; }
.camera-person { position: absolute; width: 122px; height: 122px; border-radius: 45% 45% 32% 32%; top: 74px; left: 66px; background: linear-gradient(145deg, #2f3550, #151827); display: grid; place-items: center; font: 900 2.3rem "Space Grotesk"; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 15px 45px rgba(0,0,0,.45); }
.camera-person::after { content: ""; width: 178px; height: 120px; border-radius: 50% 50% 0 0; background: #1a1e2e; position: absolute; top: 100px; left: -29px; z-index: -1; }
.lower-third { position: absolute; left: 17px; right: 17px; bottom: 17px; background: rgba(6,8,15,.76); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 9px 12px; display: flex; justify-content: space-between; font-size: .62rem; }
.lower-third b { color: #c5b6ff; }
.lower-third span { color: #9298aa; }
.role-popover { position: absolute; right: 24px; top: 50px; width: 248px; padding: 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(18,22,37,.88); backdrop-filter: blur(18px); box-shadow: 0 18px 50px rgba(0,0,0,.34); }
.role-popover-head { display: flex; justify-content: space-between; font-size: .58rem; font-weight: 900; letter-spacing: .11em; color: #a999ff; }
.role-popover-head strong { background: rgba(88,230,169,.12); color: var(--green); border: 1px solid rgba(88,230,169,.25); border-radius: 6px; padding: 3px 6px; }
.role-popover h3 { margin: 15px 0 6px; font: 700 1.12rem "Space Grotesk"; }
.role-popover p { color: #8e95a7; font-size: .68rem; margin: 0; }
.popover-bars { display: grid; gap: 7px; margin: 16px 0; }
.popover-bars span { height: 7px; border-radius: 10px; background: #262b3e; }
.popover-bars span:nth-child(1) { width: 100%; }
.popover-bars span:nth-child(2) { width: 82%; }
.popover-bars span:nth-child(3) { width: 60%; }
.role-popover button { width: 100%; border: 0; border-radius: 9px; padding: 10px; color: white; background: linear-gradient(135deg, var(--purple), var(--purple-2)); font-size: .62rem; font-weight: 900; letter-spacing: .08em; }
.chat-panel { height: 128px; padding: 12px 17px; background: #0b0e17; font-size: .62rem; color: #b6bac7; position: relative; }
.chat-title { color: #7f8595; font-weight: 900; letter-spacing: .09em; margin-bottom: 8px; display: flex; justify-content: space-between; }
.chat-line { margin: 4px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-line b { margin-right: 4px; }
.purple { color: #b48dff; }.green { color: #62e7af; }.pink { color: #ff7cbc; }.blue { color: #67c8ff; }
.chat-input { position: absolute; right: 14px; bottom: 13px; width: 205px; height: 30px; border: 1px solid rgba(255,255,255,.1); border-radius: 7px; background: #151926; color: #73798a; padding: 8px 9px; display: flex; justify-content: space-between; }
.floating-badge { position: absolute; z-index: 5; border: 1px solid rgba(255,255,255,.13); background: rgba(15,18,30,.86); backdrop-filter: blur(14px); border-radius: 99px; padding: 10px 14px; font-size: .67rem; font-weight: 800; box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.badge-one { left: -34px; top: 70px; color: #d2c7ff; }
.badge-two { right: -28px; bottom: 55px; color: #ffe29a; }

.signal-strip { border-block: 1px solid var(--line); background: rgba(255,255,255,.025); overflow: hidden; }
.signal-track { min-height: 52px; width: max-content; display: flex; align-items: center; gap: 26px; padding-left: 20px; color: #878d9c; font-size: .69rem; font-weight: 900; letter-spacing: .1em; animation: marquee 32s linear infinite; }
.signal-track i { color: #6d4aff; font-style: normal; }
@keyframes marquee { to { transform: translateX(-20%); } }
.section { padding: 108px 0; }
.section-heading { margin-bottom: 43px; }
.centered-heading { text-align: center; max-width: 780px; margin-inline: auto; margin-bottom: 54px; }
.section-heading h2, .role-copy h2, .audience-card h2, .final-cta h2 { font-size: clamp(2.3rem, 4vw, 4rem); }
.section-heading p, .role-copy p, .audience-card p, .final-cta p { color: var(--muted); font-size: 1rem; line-height: 1.75; }
.muted-text { color: #777e90; }
.split-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.split-heading h2 { margin-bottom: 0; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.step-card { position: relative; min-height: 360px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018)); overflow: hidden; }
.step-card::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: var(--purple); filter: blur(80px); opacity: .08; right: -60px; top: -50px; }
.featured-step { border-color: rgba(139,92,246,.4); background: linear-gradient(145deg, rgba(139,92,246,.12), rgba(255,255,255,.025)); transform: translateY(-12px); }
.step-number { position: absolute; top: 24px; right: 26px; color: #545a6a; font: 800 .72rem "Space Grotesk"; }
.step-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: rgba(139,92,246,.13); border: 1px solid rgba(139,92,246,.23); font-size: 1.35rem; }
.step-card h3 { font: 700 1.35rem "Space Grotesk"; margin: 24px 0 10px; }
.step-card p { color: var(--muted); line-height: 1.65; font-size: .9rem; }
.mini-ui, .sort-mini { margin-top: 28px; border: 1px solid rgba(255,255,255,.1); background: rgba(6,8,14,.52); border-radius: 12px; padding: 13px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; font-size: .67rem; }
.mini-ui span, .sort-mini span { color: #757c8d; }
.mini-ui strong, .sort-mini strong { font-size: .7rem; }
.profile-mini { margin-top: 23px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; border: 1px solid rgba(255,255,255,.1); background: rgba(6,8,14,.52); border-radius: 12px; padding: 12px; }
.profile-mini strong, .profile-mini span { display: block; font-size: .7rem; }
.profile-mini span { color: #7e8596; margin-top: 3px; font-size: .61rem; }
.profile-mini b { color: var(--green); font-size: .68rem; }
.avatar { border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.avatar-small { width: 30px; height: 30px; }
.avatar-medium { width: 40px; height: 40px; }
.avatar-large { width: 82px; height: 82px; }
.avatar-fallback { display: inline-grid; place-items: center; background: linear-gradient(145deg, #8b5cf6, #3e64f4); font-weight: 900; color: white; }

.role-section { border-block: 1px solid var(--line); background: radial-gradient(circle at 15% 40%, rgba(139,92,246,.12), transparent 30rem), #0a0d16; }
.role-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: start; }
.role-copy { position: sticky; top: 120px; }
.role-copy p { margin-bottom: 30px; }
.role-browser { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(13,16,27,.8); }
.role-browser details { border-bottom: 1px solid var(--line); }
.role-browser details:last-child { border: 0; }
.role-browser summary { list-style: none; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 10px; min-height: 67px; padding: 0 22px; cursor: pointer; font: 700 .95rem "Space Grotesk"; }
.role-browser summary::-webkit-details-marker { display: none; }
.role-browser summary span { color: #62697a; font-size: .65rem; }
.role-browser summary b { color: #8e95a6; background: rgba(255,255,255,.055); border-radius: 99px; padding: 5px 9px; font: 700 .61rem Inter; }
.role-browser details[open] summary { color: #c9bdff; background: rgba(139,92,246,.07); }
.role-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 22px 22px 74px; }
.role-list span { color: #aeb3c1; background: #161a29; border: 1px solid rgba(255,255,255,.08); border-radius: 9px; padding: 8px 10px; font-size: .73rem; }
.listings-section { background: linear-gradient(to bottom, transparent, rgba(139,92,246,.025)); }
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.listing-card { min-width: 0; display: flex; flex-direction: column; min-height: 390px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(150deg, rgba(25,30,48,.92), rgba(13,16,27,.95)); transition: transform .2s ease, border-color .2s ease; }
.listing-card:hover { transform: translateY(-5px); border-color: rgba(139,92,246,.36); }
.sample-card { background: linear-gradient(150deg, rgba(28,32,52,.92), rgba(13,16,27,.95)); }
.listing-card-top, .listing-card-footer, .creator-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.role-chip, .arrangement-chip, .sample-label, .status-chip { border-radius: 99px; padding: 6px 9px; font-size: .61rem; font-weight: 800; }
.role-chip { color: #cdbfff; background: rgba(139,92,246,.12); border: 1px solid rgba(139,92,246,.22); }
.arrangement-chip { color: #9ca3b5; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.creator-row { justify-content: flex-start; margin: 25px 0 14px; color: #ccd0da; font-size: .73rem; font-weight: 700; }
.sample-label { margin-left: auto; color: #6ee9b4; background: rgba(88,230,169,.08); border: 1px solid rgba(88,230,169,.2); }
.listing-card h3 { margin: 0 0 11px; font: 700 1.24rem/1.25 "Space Grotesk"; }
.listing-card > p { color: #949bad; line-height: 1.6; font-size: .81rem; margin: 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 22px; }
.tag-row span { color: #a8afbf; background: rgba(255,255,255,.045); border-radius: 7px; padding: 5px 7px; font-size: .61rem; }
.listing-card-footer { margin-top: auto; border-top: 1px solid var(--line); padding-top: 18px; }
.listing-card-footer > div span, .listing-card-footer > div strong { display: block; }
.eyebrow { color: #777e90; font-size: .56rem; text-transform: uppercase; letter-spacing: .1em; }
.listing-card-footer strong { margin-top: 4px; font-size: .77rem; }
.dual-audience-section { padding-top: 35px; }
.dual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.audience-card { position: relative; min-height: 510px; padding: 48px; border-radius: 26px; border: 1px solid var(--line); overflow: hidden; }
.audience-card > * { position: relative; z-index: 2; }
.creator-card { background: linear-gradient(145deg, #211541, #111421 65%); }
.talent-card { background: linear-gradient(145deg, #102b34, #111421 65%); }
.audience-glow { position: absolute; width: 280px; height: 280px; border-radius: 50%; filter: blur(90px); opacity: .25; right: -60px; top: -60px; }
.creator-card .audience-glow { background: var(--pink); }
.talent-card .audience-glow { background: var(--cyan); }
.audience-card h2 { max-width: 520px; }
.audience-card p { max-width: 540px; }
.audience-card ul { padding: 0; margin: 27px 0 36px; list-style: none; display: grid; gap: 13px; color: #c9cdd8; font-size: .85rem; }
.audience-card li::before { content: "✓"; color: var(--green); margin-right: 10px; font-weight: 900; }
.final-cta { padding: 70px 0 100px; }
.final-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 48px; border: 1px solid rgba(139,92,246,.32); border-radius: 28px; background: radial-gradient(circle at 90% 0, rgba(34,211,238,.15), transparent 24rem), radial-gradient(circle at 10% 100%, rgba(139,92,246,.23), transparent 30rem), #111421; }
.final-cta h2 { margin-bottom: 10px; }
.final-cta p { max-width: 700px; margin-bottom: 0; }
.site-footer { border-top: 1px solid var(--line); background: #070910; padding: 54px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 70px; align-items: start; }
.footer-grid p { color: #777e90; font-size: .78rem; }
.footer-links { display: grid; gap: 11px; color: #a7adbd; font-size: .78rem; }
.footer-status { color: #8b92a3; font-size: .72rem; display: flex; gap: 9px; align-items: center; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.06); color: #5e6575; font-size: .68rem; }
.toast { position: fixed; z-index: 90; right: 22px; top: 88px; max-width: 380px; padding: 13px 16px; border-radius: 12px; box-shadow: var(--shadow); font-size: .78rem; font-weight: 700; animation: toast-in .25s ease; }
.toast-success { color: #cffff0; background: rgba(19,70,53,.96); border: 1px solid rgba(88,230,169,.4); }
.toast-error { color: #ffd3da; background: rgba(78,26,36,.96); border: 1px solid rgba(255,102,124,.4); }
@keyframes toast-in { from { transform: translateY(-8px); opacity: 0; } }

/* Interior pages */
.page-hero { padding: 74px 0 36px; }
.page-hero-grid { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.page-title { font-size: clamp(2.7rem, 5vw, 4.8rem); margin-bottom: 10px; }
.page-subtitle { color: var(--muted); max-width: 720px; line-height: 1.7; }
.page-section { padding: 34px 0 90px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: 0 20px 60px rgba(0,0,0,.18); }
.panel-padding { padding: 28px; }
.auth-page { min-height: calc(100vh - 74px); display: grid; place-items: center; padding: 70px 20px; }
.auth-grid { width: min(980px, 100%); display: grid; grid-template-columns: .9fr 1.1fr; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: #10131f; box-shadow: var(--shadow); }
.auth-art { position: relative; min-height: 610px; padding: 45px; background: radial-gradient(circle at 20% 25%, rgba(139,92,246,.4), transparent 17rem), linear-gradient(145deg, #201543, #0e1220); overflow: hidden; }
.auth-art::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 38px 38px; mask-image: linear-gradient(black, transparent); }
.auth-art > * { position: relative; z-index: 2; }
.auth-art h1 { font: 700 3rem/1.02 "Space Grotesk"; letter-spacing: -.05em; margin-top: 140px; }
.auth-art p { color: #c3c5d1; line-height: 1.7; }
.auth-chat { margin-top: 42px; background: rgba(7,9,16,.55); border: 1px solid rgba(255,255,255,.11); border-radius: 14px; padding: 16px; font-size: .72rem; display: grid; gap: 10px; }
.auth-form { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.auth-form h2 { font: 700 2rem "Space Grotesk"; margin: 0 0 8px; }
.auth-form > p { color: var(--muted); font-size: .86rem; margin-bottom: 28px; }
.form-grid { display: grid; gap: 18px; }
.form-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.form-grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .field-label { color: #c9cdd8; font-size: .72rem; font-weight: 800; }
.field small, .field-help { color: #737b8d; font-size: .68rem; line-height: 1.5; }
.input, .select, .textarea { width: 100%; color: #f4f4f8; border: 1px solid rgba(255,255,255,.11); background: #0c0f1a; border-radius: 11px; padding: 13px 14px; outline: none; transition: border-color .2s, box-shadow .2s; }
.input:focus, .select:focus, .textarea:focus { border-color: rgba(139,92,246,.65); box-shadow: 0 0 0 3px rgba(139,92,246,.12); }
.textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #7f8596 50%), linear-gradient(135deg, #7f8596 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 13px; margin-top: 25px; }
.form-actions .button { min-width: 150px; }
.error-box, .notice-box { border-radius: 12px; padding: 13px 15px; margin-bottom: 20px; font-size: .76rem; line-height: 1.5; }
.error-box { color: #ffd2da; border: 1px solid rgba(255,102,124,.35); background: rgba(255,102,124,.08); }
.notice-box { color: #cbdfff; border: 1px solid rgba(95,144,255,.3); background: rgba(95,144,255,.08); }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; color: #b9bfcd; font-size: .76rem; }
.checkbox-row input { margin-top: 2px; accent-color: var(--purple); }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 30px; }
.choice-card { position: relative; display: block; cursor: pointer; }
.choice-card input { position: absolute; opacity: 0; }
.choice-card-content { min-height: 245px; padding: 27px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.026); transition: border-color .2s, background .2s, transform .2s; }
.choice-card input:checked + .choice-card-content { border-color: var(--purple); background: rgba(139,92,246,.11); box-shadow: inset 0 0 0 1px rgba(139,92,246,.23); transform: translateY(-3px); }
.choice-icon { font-size: 2rem; }
.choice-card h3 { font: 700 1.25rem "Space Grotesk"; margin: 23px 0 9px; }
.choice-card p { color: var(--muted); font-size: .81rem; line-height: 1.6; }
.choice-check { position: absolute; right: 16px; top: 16px; width: 23px; height: 23px; border: 1px solid var(--line); border-radius: 7px; display: grid; place-items: center; color: transparent; }
.choice-card input:checked + .choice-card-content .choice-check { background: var(--purple); color: white; border-color: var(--purple); }
.dashboard-grid { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; }
.dashboard-sidebar { position: sticky; top: 96px; padding: 18px; }
.dashboard-sidebar a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 9px; color: #aeb4c3; font-size: .77rem; font-weight: 700; }
.dashboard-sidebar a:hover, .dashboard-sidebar a.active { color: white; background: rgba(139,92,246,.12); }
.dashboard-main { min-width: 0; display: grid; gap: 22px; }
.dashboard-welcome { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.dashboard-welcome h1 { font: 700 2.4rem "Space Grotesk"; margin: 0 0 7px; }
.dashboard-welcome p { color: var(--muted); margin: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat-card { padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.025); }
.stat-card span { color: #7f8698; font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.stat-card strong { display: block; margin-top: 8px; font: 700 1.8rem "Space Grotesk"; }
.section-card { padding: 25px; }
.section-card-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }
.section-card-header h2 { margin: 0; font: 700 1.25rem "Space Grotesk"; }
.empty-state { padding: 42px; text-align: center; border: 1px dashed rgba(255,255,255,.13); border-radius: 14px; color: #858c9e; }
.empty-state h3 { color: white; font: 700 1.1rem "Space Grotesk"; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .75rem; }
.data-table th { text-align: left; color: #777f91; font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; padding: 11px 10px; border-bottom: 1px solid var(--line); }
.data-table td { padding: 15px 10px; border-bottom: 1px solid rgba(255,255,255,.055); color: #c5cad5; }
.data-table tr:last-child td { border-bottom: 0; }
.status-open { color: #7bf0bc; background: rgba(88,230,169,.09); }
.status-draft { color: #b4bac8; background: rgba(255,255,255,.06); }
.status-paused { color: #ffe19a; background: rgba(244,211,94,.08); }
.status-closed, .status-rejected { color: #ff9bac; background: rgba(255,102,124,.08); }
.status-shortlisted { color: #c9baff; background: rgba(139,92,246,.12); }
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.form-sidebar { position: sticky; top: 96px; padding: 22px; }
.form-sidebar h3 { font: 700 1rem "Space Grotesk"; margin-top: 0; }
.form-sidebar p, .form-sidebar li { color: #8d94a6; font-size: .72rem; line-height: 1.6; }
.form-sidebar ul { padding-left: 18px; }
.form-section { padding: 28px; margin-bottom: 18px; }
.form-section h2 { font: 700 1.18rem "Space Grotesk"; margin: 0 0 7px; }
.form-section > p { color: #808799; font-size: .75rem; margin: 0 0 25px; }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; max-height: 460px; overflow: auto; padding-right: 6px; }
.check-card { display: flex; gap: 9px; align-items: flex-start; padding: 11px; border: 1px solid rgba(255,255,255,.08); border-radius: 9px; color: #b7bdca; font-size: .72rem; background: rgba(255,255,255,.018); }
.check-card input { accent-color: var(--purple); }
.check-category { grid-column: 1 / -1; margin-top: 9px; color: #8f77ff; font-size: .66rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.browse-toolbar { display: grid; grid-template-columns: 1fr 220px 180px auto; gap: 10px; padding: 15px; margin-bottom: 24px; }
.result-count { color: #858c9e; font-size: .75rem; margin-bottom: 18px; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 25px; align-items: start; }
.detail-main, .detail-sidebar { min-width: 0; }
.detail-header { padding: 32px; }
.detail-header h1 { font: 700 clamp(2rem, 4vw, 3.4rem)/1.05 "Space Grotesk"; letter-spacing: -.045em; margin: 20px 0 14px; }
.detail-header .hook { color: #aeb4c3; font-size: 1rem; line-height: 1.7; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 21px; }
.meta-pill { padding: 8px 10px; border-radius: 9px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); color: #aeb4c3; font-size: .7rem; }
.content-block { padding: 28px 32px; margin-top: 18px; }
.content-block h2 { font: 700 1.18rem "Space Grotesk"; margin: 0 0 16px; }
.content-block p, .content-block li { color: #afb5c3; font-size: .86rem; line-height: 1.75; }
.content-block ul { padding-left: 20px; }
.content-block li { margin: 7px 0; }
.detail-sidebar { position: sticky; top: 96px; display: grid; gap: 16px; }
.apply-card { padding: 23px; }
.apply-card h2 { font: 700 1.15rem "Space Grotesk"; margin: 0 0 8px; }
.apply-card p { color: #8991a3; font-size: .74rem; line-height: 1.6; }
.apply-card .button { width: 100%; }
.comp-number { font: 700 1.7rem "Space Grotesk"; margin: 18px 0 5px; }
.profile-banner { position: relative; min-height: 230px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(145deg, #201748, #102733); }
.profile-banner img { width: 100%; height: 230px; object-fit: cover; opacity: .55; }
.profile-identity { position: absolute; left: 32px; right: 32px; bottom: 28px; display: flex; align-items: end; gap: 18px; }
.profile-identity h1 { margin: 0 0 5px; font: 700 2.2rem "Space Grotesk"; }
.profile-identity p { margin: 0; color: #c4c8d2; }
.profile-content-grid { display: grid; grid-template-columns: 1fr 310px; gap: 22px; margin-top: 22px; }
.profile-card { padding: 25px; }
.profile-card h2 { font: 700 1.08rem "Space Grotesk"; margin-top: 0; }
.profile-card p { color: #a8afbf; line-height: 1.7; font-size: .83rem; }
.integration-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.integration-card { padding: 26px; min-height: 250px; position: relative; overflow: hidden; }
.integration-card h2 { font: 700 1.3rem "Space Grotesk"; }
.integration-card p { color: #9299ab; font-size: .78rem; line-height: 1.65; }
.integration-icon { font-size: 2rem; }
.integration-status { display: inline-flex; align-items: center; gap: 7px; color: #7cebb9; font-size: .67rem; font-weight: 800; }
.limit-note { border-left: 3px solid var(--yellow); background: rgba(244,211,94,.06); padding: 14px; color: #c7c0a1; font-size: .72rem; line-height: 1.6; border-radius: 0 9px 9px 0; }
.application-list { display: grid; gap: 14px; }
.application-card { padding: 22px; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: start; }
.application-card h3 { margin: 0 0 5px; font: 700 1.02rem "Space Grotesk"; }
.application-card p { color: #989faf; font-size: .75rem; line-height: 1.6; }
.application-metrics { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.application-metrics span { color: #b1b7c5; font-size: .63rem; padding: 6px 8px; border-radius: 7px; background: rgba(255,255,255,.04); }
.application-actions { display: grid; gap: 8px; min-width: 145px; }
.application-actions select { font-size: .7rem; }
.sort-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.sort-tabs a { padding: 8px 11px; border-radius: 8px; border: 1px solid var(--line); color: #969dad; font-size: .7rem; font-weight: 700; }
.sort-tabs a.active { color: white; border-color: rgba(139,92,246,.55); background: rgba(139,92,246,.12); }

@media (max-width: 1020px) {
  .hero-grid, .role-layout, .auth-grid, .detail-layout, .form-layout, .profile-content-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-lede, .hero h1 { margin-inline: auto; }
  .hero-actions, .hero-proof { justify-content: center; }
  .hero-stage { width: min(720px, 100%); margin: 25px auto 0; }
  .role-copy, .form-sidebar, .detail-sidebar, .dashboard-sidebar { position: static; }
  .listing-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .featured-step { transform: none; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-sidebar { display: flex; overflow-x: auto; }
  .browse-toolbar { grid-template-columns: 1fr 1fr; }
  .auth-art { min-height: 350px; }
  .auth-art h1 { margin-top: 80px; }
}
@media (max-width: 760px) {
  .shell { width: min(100% - 24px, 1180px); }
  .main-nav { display: none; position: absolute; top: 66px; left: 12px; right: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(10,12,21,.98); flex-direction: column; align-items: stretch; box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .hero { padding-top: 58px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.8rem); }
  .stream-window { min-height: 465px; transform: none; }
  .stream-scene { height: 300px; }
  .camera-frame { left: 14px; width: 210px; }
  .role-popover { right: 12px; width: 205px; }
  .floating-badge { display: none; }
  .listing-grid, .dual-grid, .integration-grid, .choice-grid, .stat-grid { grid-template-columns: 1fr; }
  .audience-card { min-height: auto; padding: 32px; }
  .final-cta-inner, .page-hero-grid, .split-heading, .dashboard-welcome { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .auth-art { display: none; }
  .auth-form { padding: 32px 23px; }
  .form-grid.two, .form-grid.three, .check-grid, .browse-toolbar { grid-template-columns: 1fr; }
  .application-card { grid-template-columns: auto 1fr; }
  .application-actions { grid-column: 1 / -1; }
  .profile-identity { left: 20px; right: 20px; bottom: 20px; }
  .page-title { font-size: 2.8rem; }
  .section { padding: 82px 0; }
}

/* Phase 1.1 form usability refinements */
.role-picker-header { align-items: flex-start; margin-bottom: 18px; }
.role-picker-header p { color: #808799; font-size: .75rem; margin: 7px 0 0; }
.selection-count { flex: 0 0 auto; color: #cdbdff; border: 1px solid rgba(139,92,246,.28); background: rgba(139,92,246,.09); border-radius: 999px; padding: 7px 10px; font-size: .68rem; font-weight: 800; }
.role-search-field { margin-bottom: 17px; }
.search-input-wrap { position: relative; }
.search-input-wrap > span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #70788b; font-size: 1.05rem; pointer-events: none; }
.search-input-wrap .input { padding-left: 40px; }
.check-card[hidden], .check-category[hidden] { display: none !important; }
.role-empty-state { display: flex; align-items: center; gap: 14px; margin-top: 15px; padding: 16px; border: 1px dashed rgba(255,255,255,.15); border-radius: 12px; background: rgba(255,255,255,.025); }
.role-empty-state[hidden] { display: none; }
.role-empty-state .empty-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; color: #e4dbff; background: rgba(139,92,246,.16); font-weight: 900; }
.role-empty-state strong { display: block; font: 700 .82rem "Space Grotesk"; }
.role-empty-state p { margin: 4px 0 0; color: #7e8698; font-size: .7rem; }
.text-button { color: #bda9ff; border: 0; background: transparent; padding: 0; margin-top: 15px; font-weight: 800; font-size: .7rem; cursor: pointer; }
.text-button:hover { color: #e1d9ff; }
.custom-role-panel { margin-top: 15px; padding: 17px; border: 1px solid rgba(139,92,246,.22); border-radius: 12px; background: rgba(139,92,246,.055); }
.custom-role-panel[hidden] { display: none; }
.pending-suggestions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; color: #81899b; font-size: .67rem; }
.pending-chip { color: #d8cbff; border: 1px solid rgba(139,92,246,.25); border-radius: 999px; padding: 5px 8px; background: rgba(139,92,246,.09); }
.inline-control { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 9px; align-items: stretch; }
.inline-control .button { white-space: nowrap; }
.field.is-muted { opacity: .56; }
.field.is-muted .select { cursor: not-allowed; }
.role-search-inline { grid-column: 1 / -1; }
.mini-empty-message { margin-top: 8px; color: #ffca7a; font-size: .7rem; }
.mini-empty-message[hidden] { display: none; }

@media (max-width: 700px) {
  .inline-control { grid-template-columns: 1fr; }
  .role-picker-header { display: grid; gap: 10px; }
  .selection-count { justify-self: start; }
}

/* Phase 2: complete marketplace loop */
.profile-editor-stack { display: grid; gap: 24px; min-width: 0; }
.completion-ring { display: grid; place-items: center; min-width: 64px; height: 64px; border-radius: 50%; border: 5px solid rgba(88,230,169,.4); color: var(--green); font-weight: 900; background: rgba(88,230,169,.06); }
.completion-label { display: inline-flex; margin-top: 8px; color: var(--green); font-size: .75rem; font-weight: 800; }
.profile-nudge { margin-top: 16px; padding: 12px 14px; border: 1px solid rgba(244,211,94,.28); border-radius: 12px; color: #f5e5a0; background: rgba(244,211,94,.07); font-size: .78rem; }
.checkbox-cluster { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 18px; }
.editable-record, .new-record { border-top: 1px solid var(--line); padding: 22px 0; }
.editable-record:first-of-type { margin-top: 10px; }
.new-record { margin-top: 10px; padding: 22px; border: 1px dashed rgba(139,92,246,.35); border-radius: 16px; background: rgba(139,92,246,.04); }
.record-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.danger-link { border: 0; background: none; padding: 6px 0; color: var(--danger); cursor: pointer; font-size: .76rem; font-weight: 800; }
.compact-textarea { min-height: 100px; }
.success-box { border-color: rgba(88,230,169,.3); color: #cffff0; }
.question-builder { display: grid; gap: 14px; }
.question-row { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.025); }
.question-grid { grid-template-columns: 1.6fr .8fr 1fr !important; }
.question-choice-field.is-hidden { opacity: .45; }
.stack-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.stack-actions .button { flex: 1; }
.portfolio-select { border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin: 16px 0; display: grid; gap: 8px; }
.portfolio-select legend { color: var(--muted); font-size: .75rem; padding: 0 8px; }
.portfolio-choice { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border-radius: 10px; background: rgba(255,255,255,.025); cursor: pointer; }
.portfolio-choice span { display: grid; gap: 3px; }
.portfolio-choice small { color: var(--muted); }
.report-panel { padding: 16px; margin-top: 16px; }
.report-panel summary { cursor: pointer; color: var(--muted); font-size: .76rem; font-weight: 800; }
.report-panel form { display: grid; gap: 12px; margin-top: 14px; }
.applicant-toolbar { grid-template-columns: 1.4fr repeat(3, .8fr) auto auto; }
.toolbar-check { min-width: 130px; align-self: center; }
.bulk-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); margin: 18px 0; }
.bulk-bar .select { width: auto; min-width: 165px; }
.application-card-v2 { position: relative; grid-template-columns: auto auto 1fr; }
.select-app { padding-top: 20px; }
.application-card-body { min-width: 0; }
.application-heading { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.application-note-preview { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.card-actions { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.application-profile-header { padding: 26px; }
.answer-list { display: grid; gap: 18px; }
.answer-list > div { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.portfolio-card { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); transition: transform .2s ease, border-color .2s ease; }
.portfolio-card:hover { transform: translateY(-2px); border-color: rgba(139,92,246,.45); }
.portfolio-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.portfolio-card > div { padding: 14px; display: grid; gap: 5px; }
.portfolio-card span, .portfolio-card p { color: var(--muted); font-size: .72rem; margin: 0; }
.timeline-list { display: grid; gap: 14px; }
.timeline-item { position: relative; padding: 0 0 18px 18px; border-left: 2px solid rgba(139,92,246,.3); }
.timeline-item::before { content:""; position:absolute; left:-6px; top:5px; width:10px; height:10px; border-radius:50%; background:var(--purple); }
.timeline-item span { display:block; color:var(--muted); font-size:.72rem; margin-top:4px; }
.contact-reveal { border-color: rgba(88,230,169,.38); background: linear-gradient(145deg, rgba(88,230,169,.08), var(--panel)); }
.sticky-review { position: sticky; top: 96px; }
.compare-grid { display: grid; gap: 18px; align-items: start; }
.compare-count-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.compare-count-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.compare-card { padding: 24px; }
.compare-stat { display:flex; justify-content:space-between; gap:14px; padding:11px 0; border-bottom:1px solid var(--line); }
.browse-toolbar-wide { grid-template-columns: 1.5fr repeat(5,minmax(125px,.75fr)) auto; }
.listing-admin-list { display:grid; gap:12px; }
.listing-admin-row { display:flex; justify-content:space-between; gap:20px; align-items:center; padding:18px 0; border-bottom:1px solid var(--line); }
.listing-admin-row h3 { margin:8px 0 4px; }
.listing-admin-row p { margin:0; color:var(--muted); font-size:.75rem; }
.listing-admin-actions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.compact-select { min-width:110px; padding:9px 32px 9px 11px; }
.nav-count { display:inline-grid; place-items:center; min-width:20px; height:20px; padding:0 5px; border-radius:20px; background:var(--pink); color:white; font-size:.65rem; }
.notification-mini-list { display:grid; gap:8px; }
.notification-mini { display:grid; gap:4px; padding:12px 14px; border-radius:12px; background:rgba(255,255,255,.025); }
.notification-mini.is-unread { border-left:3px solid var(--purple); background:rgba(139,92,246,.07); }
.notification-mini span { color:var(--muted); font-size:.75rem; }
.narrow-shell { width:min(820px,calc(100% - 40px)); }
.notification-list { display:grid; gap:12px; }
.notification-row { overflow:hidden; }
.notification-row button { width:100%; text-align:left; border:0; color:inherit; background:transparent; padding:20px; cursor:pointer; display:grid; gap:5px; }
.notification-row.is-unread { border-color:rgba(139,92,246,.45); background:rgba(139,92,246,.065); }
.notification-kind { color:var(--purple); font-size:.62rem; font-weight:900; letter-spacing:.1em; }
.notification-row p { margin:0; }
.notification-row small { color:var(--muted); }
.report-card { padding:22px; }
.report-card form { display:flex; gap:10px; margin-top:15px; }
@media (max-width: 1050px) { .browse-toolbar-wide, .applicant-toolbar { grid-template-columns: repeat(2,minmax(0,1fr)); } .compare-count-3 { grid-template-columns:1fr; } }
@media (max-width: 760px) { .question-grid, .portfolio-grid, .compare-count-2 { grid-template-columns:1fr !important; } .listing-admin-row { align-items:flex-start; flex-direction:column; } .listing-admin-actions { justify-content:flex-start; } .application-card-v2 { grid-template-columns:auto 1fr; } .application-card-v2 .avatar { display:none; } }
.status-connected { color: #77ebff; background: rgba(34,211,238,.08); }
.status-withdrawn, .status-archived { color: #a2a8ba; background: rgba(162,168,186,.08); }

/* Phase 3: public-alpha readiness */
.verification-banner { background: linear-gradient(90deg, rgba(244,211,94,.14), rgba(139,92,246,.1)); border-bottom: 1px solid rgba(244,211,94,.25); }
.verification-banner .shell { display:flex; justify-content:center; align-items:center; gap:10px; padding:9px 20px; color:#f5e6a8; font-size:.76rem; }
.verification-banner a { color:#fff2b5; font-weight:800; }
.verification-row, .trust-row { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.verify-chip { display:inline-flex; align-items:center; gap:5px; padding:5px 9px; border-radius:999px; border:1px solid rgba(255,255,255,.1); color:#9ca4b8; background:rgba(255,255,255,.035); font-size:.65rem; font-weight:800; }
.verify-chip.is-verified { color:#bfffe6; border-color:rgba(88,230,169,.3); background:rgba(88,230,169,.08); }
.verify-chip.is-pending { color:#f7e7a2; border-color:rgba(244,211,94,.28); background:rgba(244,211,94,.06); }
.handle-status { display:block; min-height:18px; margin-top:6px; color:var(--muted); font-size:.68rem; }
.handle-status.is-available { color:var(--green); }
.handle-status.is-unavailable { color:var(--danger); }
.handle-status.is-checking { color:#cdbdff; }
.file-input { padding:10px; }
.file-preview { width:100%; max-width:360px; border-radius:14px; border:1px solid var(--line); object-fit:cover; }
.avatar-preview { width:96px; height:96px; border-radius:50%; object-fit:cover; border:2px solid rgba(139,92,246,.35); }
.safety-warning { margin:16px 0; padding:16px 18px; border:1px solid rgba(244,211,94,.28); border-radius:14px; color:#efe5b9; background:linear-gradient(145deg,rgba(244,211,94,.075),rgba(255,255,255,.02)); }
.safety-warning strong { display:block; color:#fff2b1; margin-bottom:5px; }
.safety-warning p { margin:0 0 6px; color:#c9c09b; font-size:.76rem; }
.safety-warning a { color:#fff4bd; font-weight:800; }
.directory-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.directory-card { display:grid; gap:14px; padding:20px; min-width:0; }
.directory-card-header { display:flex; align-items:center; gap:13px; }
.directory-card h2, .directory-card h3 { margin:0; }
.directory-card p { margin:0; color:var(--muted); font-size:.76rem; }
.directory-card .tag-row { margin-top:auto; }
.directory-toolbar { display:grid; grid-template-columns:1.5fr repeat(2,minmax(150px,.75fr)) auto; gap:10px; margin-bottom:22px; }
.pagination { display:flex; justify-content:center; align-items:center; gap:8px; flex-wrap:wrap; margin-top:28px; }
.pagination a, .pagination span { display:grid; place-items:center; min-width:38px; height:38px; padding:0 11px; border-radius:10px; border:1px solid var(--line); background:var(--panel); color:var(--muted); font-size:.72rem; font-weight:800; }
.pagination .is-current { color:white; border-color:rgba(139,92,246,.48); background:rgba(139,92,246,.18); }
.pagination .is-disabled { opacity:.4; }
.saved-sections { display:grid; gap:26px; }
.saved-search-row, .followed-creator-row { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:15px 0; border-bottom:1px solid var(--line); }
.share-kit { padding:17px; }
.share-kit summary { cursor:pointer; font-weight:800; }
.share-kit p { color:var(--muted); font-size:.74rem; }
.share-kit textarea { font-size:.72rem; }
.message-thread { display:grid; gap:12px; margin:18px 0; }
.message-bubble { max-width:82%; padding:13px 15px; border:1px solid var(--line); border-radius:15px 15px 15px 4px; background:rgba(255,255,255,.035); }
.message-bubble.is-mine { justify-self:end; border-radius:15px 15px 4px 15px; border-color:rgba(139,92,246,.3); background:rgba(139,92,246,.09); }
.message-bubble p { margin:0; white-space:pre-wrap; }
.message-bubble small { display:block; margin-top:6px; color:var(--muted); font-size:.63rem; }
.status-timeline { display:grid; gap:0; margin:18px 0; }
.status-event { display:grid; grid-template-columns:13px 1fr; gap:12px; position:relative; padding-bottom:17px; }
.status-event::before { content:""; position:absolute; left:5px; top:12px; bottom:-2px; width:2px; background:rgba(139,92,246,.2); }
.status-event:last-child::before { display:none; }
.status-dot { width:12px; height:12px; margin-top:4px; border-radius:50%; background:var(--purple); box-shadow:0 0 0 4px rgba(139,92,246,.1); }
.status-event strong { display:block; font-size:.76rem; }
.status-event small { color:var(--muted); }
.connect-confirm.is-hidden, [data-rejection-field].is-hidden { display:none; }
.settings-grid { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr); gap:22px; align-items:start; }
.settings-stack { display:grid; gap:20px; }
.session-row { display:flex; justify-content:space-between; align-items:center; gap:18px; padding:13px 0; border-bottom:1px solid var(--line); }
.session-row small { color:var(--muted); }
.danger-zone { border-color:rgba(255,100,122,.25); }
.danger-zone h2 { color:#ffabb8; }
.legal-copy { max-width:820px; }
.legal-copy h2 { margin-top:34px; }
.legal-copy p, .legal-copy li { color:#a9afbf; line-height:1.75; }
.admin-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.metric-card { padding:18px; }
.metric-card strong { display:block; font:800 1.65rem "Space Grotesk"; }
.metric-card span { color:var(--muted); font-size:.7rem; }
.funnel-list { display:grid; gap:10px; }
.funnel-row { display:grid; grid-template-columns:180px 1fr 75px; gap:14px; align-items:center; }
.funnel-track { height:10px; border-radius:999px; overflow:hidden; background:rgba(255,255,255,.055); }
.funnel-fill { height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--purple),var(--pink)); }
.admin-table { width:100%; border-collapse:collapse; font-size:.73rem; }
.admin-table th, .admin-table td { padding:12px 10px; text-align:left; border-bottom:1px solid var(--line); vertical-align:top; }
.admin-table th { color:#d6d9e2; }
.admin-table td { color:#979eaf; }
.moderation-actions { display:flex; gap:7px; flex-wrap:wrap; }
.empty-state-panel { text-align:center; padding:50px 24px; }
.empty-state-panel h2 { margin-top:0; }
.empty-state-panel p { max-width:520px; margin:0 auto 18px; color:var(--muted); }
.support-form { max-width:760px; }
.error-page { min-height:62vh; display:grid; place-items:center; text-align:center; }
.error-code { font:900 clamp(4rem,12vw,9rem)/.85 "Space Grotesk"; color:rgba(139,92,246,.55); }
.credit-verification-list { display:grid; gap:14px; }
.credit-request { display:grid; grid-template-columns:1fr auto; gap:20px; align-items:center; padding:18px; }
.preview-video { width:100%; aspect-ratio:16/9; border-radius:12px; background:#05060b; }
.resume-link { display:inline-flex; align-items:center; gap:6px; font-weight:800; }

@media (max-width: 1000px) {
  .directory-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .admin-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .settings-grid { grid-template-columns:1fr; }
}
@media (max-width: 700px) {
  .directory-grid, .admin-metrics { grid-template-columns:1fr; }
  .directory-toolbar { grid-template-columns:1fr; }
  .message-bubble { max-width:94%; }
  .funnel-row { grid-template-columns:120px 1fr 50px; }
  .credit-request, .saved-search-row, .followed-creator-row, .session-row { align-items:flex-start; flex-direction:column; display:flex; }
  .admin-table { display:block; overflow-x:auto; }
}

/* Phase 3.1: UI spacing, hierarchy, and component restoration */
:root {
  --radius-sm: 12px;
  --content-gap: 26px;
}

/* Header and navigation: Phase 3 added destinations without adding room. */
.main-nav { gap: 18px; }
.nav-avatar-link {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  border: 1px solid rgba(139,92,246,.38);
  background: linear-gradient(145deg, rgba(139,92,246,.28), rgba(34,211,238,.16));
  font: 800 .78rem "Space Grotesk", sans-serif;
  box-shadow: inset 0 1px rgba(255,255,255,.12);
}
.nav-avatar-link:hover { border-color: rgba(139,92,246,.72); transform: translateY(-1px); }
.verification-banner .shell { min-height: 42px; padding-block: 9px; text-align: center; }

/* Reusable spacing utilities introduced by Phase 3 templates. */
.stack-sm { display: grid; gap: 12px; }
.stack-lg { display: grid; gap: 28px; }
.inline-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.inline-actions .input { min-width: 190px; flex: 1 1 220px; }
.label-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.label-row a { color: #c8baff; font-size: .76rem; font-weight: 800; }
.button-wide { width: 100%; }
.button-danger { color: #ffd7de; border-color: rgba(255,102,124,.32); background: rgba(255,102,124,.09); }
.button-danger:hover { border-color: rgba(255,102,124,.58); background: rgba(255,102,124,.15); }
.grow { min-width: 0; flex: 1 1 320px; }
.compact-empty { padding: 24px; }
.check-stack { display: grid; gap: 12px; }

/* Phase 3 authentication switched layouts but omitted the card styling. */
.auth-card {
  width: min(540px, 100%);
  padding: clamp(30px, 5vw, 48px);
  background: linear-gradient(155deg, rgba(23,27,45,.96), rgba(12,15,26,.97));
}
.auth-card h1 {
  margin: 16px 0 10px;
  font: 750 clamp(2rem, 5vw, 3rem)/1.04 "Space Grotesk", sans-serif;
  letter-spacing: -.045em;
}
.auth-card > p { color: var(--muted); line-height: 1.7; margin: 0 0 26px; }
.auth-card form { display: grid; gap: 18px; }
.auth-divider { display: flex; align-items: center; gap: 13px; margin: 26px 0 18px; color: #777f91; font-size: .7rem; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.oauth-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.button-twitch { color: #fff; border-color: rgba(145,70,255,.45); background: rgba(145,70,255,.16); }
.button-discord { color: #fff; border-color: rgba(88,101,242,.5); background: rgba(88,101,242,.16); }
.auth-switch { text-align: center; margin: 24px 0 0 !important; font-size: .82rem; }
.auth-switch a, .legal-small a { color: #cbbfff; font-weight: 800; }
.legal-small { color: #777f91; font-size: .69rem; line-height: 1.6; text-align: center; }

/* Filters: give each control breathing room and allow clean wrapping. */
.filter-bar {
  display: flex;
  align-items: end;
  gap: 14px;
  flex-wrap: wrap;
  padding: 20px;
  margin-bottom: 26px;
}
.filter-bar > .field:not(.grow) { flex: 0 1 260px; min-width: 210px; }
.filter-bar > .button { flex: 0 0 auto; min-width: 118px; }
.compact-check { align-self: center; padding: 12px 4px; min-width: max-content; }
.browse-toolbar-wide {
  grid-template-columns: minmax(280px, 1.6fr) repeat(3, minmax(155px, 1fr));
  gap: 14px;
  padding: 20px;
  align-items: stretch;
}
.browse-toolbar-wide > * { min-width: 0; }
.browse-toolbar-wide .button { min-height: 48px; }
.result-toolbar {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 42px;
  margin: 0 0 20px;
  color: #9299aa;
  font-size: .8rem;
}
.result-toolbar details { position: relative; }
.result-toolbar details[open] { z-index: 10; }
.save-search-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(340px, calc(100vw - 32px));
  padding: 16px;
  display: grid;
  gap: 11px;
  box-shadow: var(--shadow);
}

/* Directories: restore normal flow; profile-identity is only for profile banners. */
.directory-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.directory-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  min-height: 100%;
  overflow: hidden;
}
.directory-banner { width: 100%; height: 138px; object-fit: cover; display: block; border-bottom: 1px solid var(--line); }
.directory-card-body { display: flex; flex: 1; flex-direction: column; gap: 15px; padding: 24px; min-width: 0; }
.profile-summary-row { display: flex; align-items: center; gap: 15px; min-width: 0; }
.profile-summary-row > div { min-width: 0; flex: 1; }
.profile-summary-row h2 { margin: 0 0 4px; font: 750 1.2rem "Space Grotesk", sans-serif; }
.profile-summary-row p { margin: 4px 0 0; }
.profile-summary-row .tag-row { margin-bottom: 0; }
.directory-card .profile-summary-row span:not(.avatar) { color: #80889a; font-size: .73rem; }
.directory-card h3 { margin: 0; font: 700 1rem/1.4 "Space Grotesk", sans-serif; }
.directory-card p { font-size: .81rem; line-height: 1.68; }
.directory-card .tag-row { margin: 0; }
.directory-card .button { margin-top: auto; }

/* Verification and trust labels had a class-name mismatch in Phase 3. */
.verification-chip, .verify-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #a7aebf;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.035);
  font-size: .66rem;
  line-height: 1;
  font-weight: 850;
  white-space: nowrap;
}
.verification-chip.verified, .verification-chip.is-verified, .verify-chip.is-verified { color: #bfffe6; border-color: rgba(88,230,169,.3); background: rgba(88,230,169,.08); }
.verification-chip.twitch { color: #d9c7ff; border-color: rgba(145,70,255,.35); background: rgba(145,70,255,.1); }
.verification-chip.discord { color: #cbd0ff; border-color: rgba(88,101,242,.38); background: rgba(88,101,242,.1); }
.verification-chip.self-reported, .verification-chip.unverified { color: #c1c6d2; }
.verification-row { gap: 7px; }

/* Cards and public profile hierarchy. */
.profile-content-grid { grid-template-columns: minmax(0,1fr) minmax(320px,360px); gap: 28px; }
.profile-content-grid > aside { display: grid; align-content: start; gap: 18px; }
.profile-card { padding: 28px; }
.profile-card + .profile-card, .trust-card { margin-top: 18px; }
.trust-card { border-color: rgba(34,211,238,.18); background: linear-gradient(145deg, rgba(34,211,238,.055), var(--panel)); }
.profile-listing-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.application-profile-header { min-height: auto; }
.application-profile-header .profile-summary-row { align-items: flex-start; }
.application-profile-header .application-heading { width: 100%; }

/* Application timeline and messages. */
.status-timeline { margin-bottom: 0; }
.status-event > span { min-width: 0; }
.status-event small { display: block; margin-top: 4px; font-size: .68rem; }
.message-thread { gap: 14px; }
.message-bubble { padding: 15px 17px; line-height: 1.65; }
.message-bubble > span { display: block; margin-bottom: 6px; color: #858da0; font-size: .65rem; }
.message-compose { display: grid; gap: 12px; }
.message-compose .button { justify-self: end; }

/* Settings and saved-content pages. */
.settings-main { min-width: 0; display: grid; gap: 20px; }
.settings-main .form-section { margin: 0; }
.settings-main .form-grid.two > .button { align-self: end; min-height: 48px; }
.session-list, .saved-list { display: grid; gap: 0; }
.session-list > *, .saved-list > article {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.session-list > *:last-child, .saved-list > article:last-child { border-bottom: 0; }
.saved-list article > div { min-width: 0; display: grid; gap: 5px; }
.saved-list article span { color: var(--muted); font-size: .75rem; }
.listing-save-control { display: inline-flex; }

/* Admin pages introduced several unstyled compact structures. */
.admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); width: fit-content; }
.admin-tabs a { padding: 10px 14px; border-radius: 10px; color: #939aac; font-size: .75rem; font-weight: 800; }
.admin-tabs a:hover, .admin-tabs a.active { color: #fff; background: rgba(139,92,246,.14); }
.funnel-list > div { display: grid; grid-template-columns: minmax(170px, .7fr) minmax(200px, 2fr) 70px; gap: 16px; align-items: center; padding: 10px 0; }
.funnel-bar { height: 11px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.055); }
.funnel-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--purple),var(--pink)); }
.credit-request-form { display: grid; gap: 12px; }

/* Legal/support pages and long copy. */
.legal-small { margin-top: 14px; }
.support-form { padding: 30px; }
.legal-copy { padding-bottom: 30px; }
.legal-copy h1, .legal-copy h2, .legal-copy h3 { font-family: "Space Grotesk", sans-serif; }

/* Footer now contains four columns. */
.footer-grid { grid-template-columns: minmax(260px,1fr) repeat(2,minmax(130px,auto)) minmax(190px,auto); gap: 42px; }

/* Slightly larger interior typography to restore the calmer Phase 2 rhythm. */
.field label, .field-label { font-size: .76rem; }
.field small, .field-help { font-size: .71rem; }
.section-card { padding: 28px; }
.data-table { font-size: .79rem; }
.data-table th { font-size: .65rem; }
.data-table td { padding-block: 17px; }
.form-section { padding: 30px; }
.form-section > p { font-size: .79rem; line-height: 1.65; }
.application-card p { font-size: .79rem; }
.application-metrics span { font-size: .67rem; }

@media (max-width: 1120px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .main-nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 20px;
    right: 20px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(10,12,21,.985);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a, .main-nav .nav-text-button { min-height: 42px; display: flex; align-items: center; padding: 0 12px; border-radius: 9px; }
  .main-nav a:hover, .main-nav .nav-text-button:hover { background: rgba(255,255,255,.045); }
  .nav-avatar-link { border-radius: 10px !important; width: auto; justify-content: flex-start; }
  .browse-toolbar-wide { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px; }
  .profile-content-grid { grid-template-columns: 1fr; }
  .profile-listing-grid { grid-template-columns: 1fr; }
  .directory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .funnel-list > div { grid-template-columns: 135px 1fr 55px; gap: 10px; }
}

@media (max-width: 680px) {
  .auth-card { padding: 28px 22px; }
  .oauth-grid, .directory-grid, .footer-grid, .browse-toolbar-wide { grid-template-columns: 1fr; }
  .filter-bar { align-items: stretch; padding: 16px; }
  .filter-bar > .field, .filter-bar > .field:not(.grow), .filter-bar > .button { width: 100%; min-width: 0; flex-basis: 100%; }
  .result-toolbar { align-items: flex-start; flex-direction: column; }
  .save-search-popover { left: 0; right: auto; }
  .profile-summary-row { align-items: flex-start; }
  .profile-summary-row .avatar-large { width: 62px; height: 62px; }
  .directory-card-body { padding: 20px; }
  .settings-main .form-grid.two { grid-template-columns: 1fr; }
  .session-list > *, .saved-list > article { align-items: flex-start; flex-direction: column; }
  .funnel-list > div { grid-template-columns: 1fr auto; }
  .funnel-bar { grid-column: 1 / -1; grid-row: 2; }
  .message-bubble { max-width: 100%; }
}
.role-picker { overflow: hidden; }

/* Reliable month/year controls for talent portfolio and experience records. */
.month-year-selects {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(110px, .65fr);
  gap: 10px;
}
.month-year-field.is-disabled { opacity: .58; }
.month-year-field.is-disabled .select { cursor: not-allowed; }
.month-year-field .select:invalid { border-color: rgba(251,113,133,.65); }

@media (max-width: 520px) {
  .month-year-selects { grid-template-columns: 1fr; }
}

/* Phase 3.3: calm authenticated navigation.
   Public marketing links remain in the public header. Signed-in users see the
   Dashboard action plus one focused account menu instead of a crowded link row. */
.nav-shell { position: relative; }
.authenticated-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dashboard-nav-button {
  min-width: 104px;
  background: rgba(255,255,255,.045);
}
.account-menu-toggle {
  min-width: 72px;
  height: 42px;
  padding: 0 11px 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 13px;
  background: rgba(18,21,34,.9);
  box-shadow: inset 0 1px rgba(255,255,255,.05);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.account-menu-toggle:hover,
.account-menu-toggle.is-open {
  border-color: rgba(139,92,246,.58);
  background: rgba(28,31,48,.96);
}
.account-menu-toggle:hover { transform: translateY(-1px); }
.account-menu-avatar,
.account-menu-user-avatar {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  color: white;
  background: linear-gradient(145deg, rgba(139,92,246,.95), rgba(34,211,238,.7));
  font: 800 .75rem "Space Grotesk", sans-serif;
  box-shadow: inset 0 1px rgba(255,255,255,.2), 0 5px 16px rgba(109,74,255,.2);
}
.account-menu-avatar { width: 32px; height: 32px; }
.account-menu-user-avatar { width: 42px; height: 42px; font-size: .86rem; border-radius: 12px; }
.hamburger-icon {
  width: 18px;
  display: grid;
  gap: 4px;
}
.hamburger-icon i {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: #cfd3df;
  transition: transform .18s ease, opacity .18s ease;
}
.account-menu-toggle.is-open .hamburger-icon i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.account-menu-toggle.is-open .hamburger-icon i:nth-child(2) { opacity: 0; }
.account-menu-toggle.is-open .hamburger-icon i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.account-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 80;
  width: min(300px, calc(100vw - 28px));
  padding: 10px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 18px;
  background: rgba(10,12,21,.985);
  box-shadow: 0 26px 70px rgba(0,0,0,.48), inset 0 1px rgba(255,255,255,.05);
  backdrop-filter: blur(22px);
  transform-origin: top right;
  animation: account-menu-in .14s ease-out;
}
@keyframes account-menu-in {
  from { opacity: 0; transform: translateY(-6px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.account-menu-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,.075);
}
.account-menu-user span:last-child { min-width: 0; display: grid; gap: 2px; }
.account-menu-user strong {
  overflow: hidden;
  color: #fff;
  font: 750 .88rem "Space Grotesk", sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-menu-user small { color: #838a9b; font-size: .65rem; }
.account-menu-group {
  display: grid;
  gap: 3px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.065);
}
.account-menu-label {
  padding: 4px 10px 6px;
  color: #747c8e;
  font-size: .58rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.account-menu a,
.account-menu-logout button {
  width: 100%;
  min-height: 42px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 0;
  border-radius: 10px;
  color: #c8cdd9;
  background: transparent;
  font-size: .78rem;
  font-weight: 720;
  text-align: left;
  cursor: pointer;
}
.account-menu a > span,
.account-menu-logout button > span {
  width: 20px;
  display: inline-grid;
  place-items: center;
  color: #a89af6;
  font-size: .8rem;
}
.account-menu a:hover,
.account-menu-logout button:hover {
  color: #fff;
  background: rgba(255,255,255,.055);
}
.account-menu-logout { margin: 0; padding-top: 9px; }
.account-menu-logout button { color: #ffb9c5; }
.account-menu-logout button > span { color: #ff7f95; }

@media (max-width: 620px) {
  .nav-shell { min-height: 66px; gap: 12px; }
  .brand { font-size: 1.02rem; gap: 8px; }
  .brand-mark { width: 28px; height: 28px; }
  .beta-chip { display: none; }
  .authenticated-nav { gap: 7px; }
  .dashboard-nav-button { min-width: 0; padding-inline: 12px; }
  .account-menu-toggle { min-width: 48px; width: 48px; padding: 0; justify-content: center; }
  .account-menu-avatar { display: none; }
  .account-menu { right: -2px; }
}

/* Phase 3.4: unified social + email authentication. */
.auth-body .site-footer { margin-top: 0; }
.auth-page-social { padding-block: 52px 72px; }
.auth-form-social { gap: 0; }
.auth-form-social > .kicker { margin-bottom: 12px; }
.auth-form-social > h2 { margin-bottom: 8px; }
.auth-form-social > p { margin-bottom: 22px; }
.auth-art-login,
.auth-art-register {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-art-login h1,
.auth-art-register h1 { margin-top: 108px; }
.auth-art-login::before,
.auth-art-register::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  right: -80px;
  top: -70px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(255,255,255,.025), 0 0 0 96px rgba(255,255,255,.018);
}
.oauth-provider-stack { display: grid; gap: 11px; }
.oauth-provider-button {
  min-height: 50px;
  width: 100%;
  display: grid;
  grid-template-columns: 28px 1fr 28px;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  text-align: center;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.oauth-provider-button::after { content: "→"; justify-self: end; opacity: .55; }
.oauth-provider-button:hover { transform: translateY(-1px); }
.oauth-provider-icon { width: 24px; height: 24px; display: grid; place-items: center; }
.oauth-provider-icon svg { width: 22px; height: 22px; display: block; }
.oauth-google {
  color: #202124;
  border-color: rgba(255,255,255,.78);
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.16);
}
.oauth-google:hover { border-color: #fff; background: #f8f9fa; box-shadow: 0 10px 30px rgba(0,0,0,.22); }
.oauth-twitch { border-color: rgba(145,70,255,.52); background: linear-gradient(135deg, rgba(145,70,255,.28), rgba(91,33,182,.18)); }
.oauth-twitch:hover { border-color: rgba(177,125,255,.8); background: linear-gradient(135deg, rgba(145,70,255,.38), rgba(91,33,182,.24)); }
.oauth-discord { border-color: rgba(88,101,242,.58); background: linear-gradient(135deg, rgba(88,101,242,.3), rgba(67,56,202,.17)); }
.oauth-discord:hover { border-color: rgba(130,140,255,.82); background: linear-gradient(135deg, rgba(88,101,242,.4), rgba(67,56,202,.24)); }
.auth-email-form { display: grid; gap: 17px; }
.auth-security-note {
  margin: 18px 0 0 !important;
  color: #6f7688 !important;
  font-size: .68rem !important;
  line-height: 1.55;
  text-align: center;
}
.chat-purple { color: #c4a7ff; }
.chat-cyan { color: #67e8f9; }
.chat-pink { color: #f9a8d4; }

.integration-grid-three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.integration-brand {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  font: 800 1.15rem "Space Grotesk", sans-serif;
  margin-bottom: 18px;
}
.integration-brand.google { color: #202124; background: #fff; }
.integration-brand.twitch { color: #fff; background: #9146ff; }
.integration-brand.discord { color: #fff; background: #5865f2; }
.integration-privacy-note { margin-top: 20px; }
.integration-privacy-note h2 { font-family: "Space Grotesk", sans-serif; }

@media (max-width: 980px) {
  .integration-grid-three { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .auth-page-social { padding: 28px 14px 52px; }
  .auth-grid { border-radius: 20px; }
  .oauth-provider-button { grid-template-columns: 26px 1fr 20px; padding-inline: 13px; }
}

/* Phase 3.5: guided talent + creator profile editors. */
.profile-editor-hero { padding: 62px 0 24px; }
.profile-editor-hero-grid { display: flex; align-items: end; justify-content: space-between; gap: 36px; }
.profile-editor-hero .page-title { max-width: 820px; margin-bottom: 12px; }
.profile-editor-hero .page-subtitle { max-width: 820px; margin-bottom: 0; }
.profile-editor-hero-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; flex: 0 0 auto; }
.profile-editor-page { padding-top: 26px; }
.profile-editor-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 26px; align-items: start; }
.profile-editor-rail { position: sticky; top: 96px; display: grid; gap: 14px; min-width: 0; }
.profile-editor-main { min-width: 0; display: grid; gap: 22px; }
.profile-editor-main > form { display: grid; gap: 22px; min-width: 0; }
.profile-editor-progress-card { padding: 19px; }
.profile-editor-progress-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #9da4b6; font-size: .7rem; font-weight: 800; }
.profile-editor-progress-head strong { color: var(--green); font: 800 1.18rem "Space Grotesk", sans-serif; }
.profile-editor-progress-track { height: 8px; margin: 13px 0 12px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.065); }
.profile-editor-progress-track i { display: block; height: 100%; min-width: 3px; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--cyan)); box-shadow: 0 0 20px rgba(88,230,169,.26); }
.profile-editor-progress-card p { margin: 0; color: #7f8799; font-size: .68rem; line-height: 1.55; }
.profile-editor-section-nav { padding: 10px; display: grid; gap: 3px; }
.profile-editor-nav-label { padding: 11px 10px 6px; color: #656d80; font-size: .58rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.profile-editor-section-nav a { min-height: 41px; display: flex; align-items: center; gap: 11px; padding: 0 10px; border-radius: 10px; color: #9ea5b5; font-size: .75rem; font-weight: 780; transition: color .18s ease, background .18s ease, transform .18s ease; }
.profile-editor-section-nav a > span { width: 24px; color: #676f81; font-size: .59rem; font-weight: 900; }
.profile-editor-section-nav a:hover { color: #fff; background: rgba(255,255,255,.045); transform: translateX(2px); }
.profile-editor-section-nav a.is-active { color: #fff; background: linear-gradient(90deg, rgba(139,92,246,.18), rgba(139,92,246,.055)); box-shadow: inset 2px 0 var(--purple); }
.profile-editor-section-nav a.is-active > span { color: #c7b8ff; }
.profile-editor-tip { padding: 19px; border-color: rgba(139,92,246,.18); background: linear-gradient(150deg, rgba(139,92,246,.085), var(--panel)); }
.profile-editor-tip-icon { width: 34px; height: 34px; display: grid; place-items: center; margin-bottom: 13px; border-radius: 10px; color: #d8ceff; background: rgba(139,92,246,.16); border: 1px solid rgba(139,92,246,.24); }
.profile-editor-tip strong { display: block; font: 750 .86rem "Space Grotesk", sans-serif; }
.profile-editor-tip p { margin: 8px 0 0; color: #858da0; font-size: .68rem; line-height: 1.6; }

.profile-form-section, .profile-record-section { margin: 0; padding: clamp(25px, 3.4vw, 38px); scroll-margin-top: 108px; overflow: hidden; }
.profile-form-section-head { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: start; gap: 16px; margin-bottom: 28px; }
.profile-form-step { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: #d5c9ff; background: rgba(139,92,246,.13); border: 1px solid rgba(139,92,246,.23); font: 850 .66rem "Space Grotesk", sans-serif; }
.profile-form-eyebrow { display: block; margin-bottom: 6px; color: #8974f5; font-size: .59rem; font-weight: 900; letter-spacing: .14em; }
.profile-form-section-head h2, .profile-record-section-head h2 { margin: 0; font: 760 clamp(1.28rem, 2vw, 1.55rem) "Space Grotesk", sans-serif; letter-spacing: -.025em; }
.profile-form-section-head p, .profile-record-section-head p { max-width: 720px; margin: 7px 0 0; color: #828a9d; font-size: .76rem; line-height: 1.65; }
.profile-field-grid { gap: 20px 18px; }
.field-span-two { grid-column: 1 / -1; }
.profile-bio-textarea { min-height: 155px; }
.handle-input-wrap, .input-prefix-wrap, .input-suffix-wrap { position: relative; }
.handle-input-wrap > span, .input-prefix-wrap > span, .input-suffix-wrap > span { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); color: #6f778a; font-size: .75rem; font-weight: 800; pointer-events: none; }
.handle-input-wrap > span, .input-prefix-wrap > span { left: 14px; }
.input-suffix-wrap > span { right: 14px; }
.handle-input-wrap .input, .input-prefix-wrap .input { padding-left: 34px; }
.input-suffix-wrap .input { padding-right: 58px; }

.profile-media-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-bottom: 28px; }
.profile-upload-card { min-height: 154px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; padding: 18px; border: 1px solid rgba(255,255,255,.09); border-radius: 16px; background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.014)); }
.profile-upload-card strong { display: block; font: 750 .88rem "Space Grotesk", sans-serif; }
.profile-upload-card p { margin: 6px 0 12px; color: #80889a; font-size: .69rem; line-height: 1.5; }
.profile-upload-card small { display: block; margin-top: 8px; color: #70788a; font-size: .63rem; }
.profile-upload-preview { width: 92px; height: 92px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #8055ed, #295fab); border: 2px solid rgba(255,255,255,.12); font: 800 1.65rem "Space Grotesk", sans-serif; }
.profile-upload-preview img { width: 100%; height: 100%; display: block; object-fit: cover; }
.profile-upload-document-icon { width: 70px; height: 86px; display: grid; place-items: center; border-radius: 10px; color: #f2d6e5; background: linear-gradient(150deg, rgba(251,79,163,.2), rgba(139,92,246,.12)); border: 1px solid rgba(251,79,163,.22); font: 900 .72rem "Space Grotesk", sans-serif; letter-spacing: .08em; }
.profile-file-button { position: relative; overflow: hidden; }
.file-input-visually-hidden { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.profile-upload-banner { grid-template-columns: 160px 1fr; }
.profile-upload-banner-preview { width: 160px; aspect-ratio: 16 / 7; overflow: hidden; display: grid; place-items: center; border-radius: 11px; color: #7c8496; background: radial-gradient(circle at 25% 35%, rgba(139,92,246,.28), transparent 45%), #0b0e18; border: 1px solid rgba(255,255,255,.09); font-size: .62rem; }
.profile-upload-banner-preview img { width: 100%; height: 100%; display: block; object-fit: cover; }
.creator-media-grid { grid-template-columns: .85fr 1.15fr; }

.profile-subsection { padding: 24px 0; border-top: 1px solid rgba(255,255,255,.07); }
.profile-subsection:first-of-type { padding-top: 0; border-top: 0; }
.profile-subsection-last { padding-bottom: 0; }
.profile-subsection-heading { display: flex; justify-content: space-between; gap: 24px; align-items: baseline; margin-bottom: 18px; }
.profile-subsection-heading h3 { margin: 0; font: 720 .95rem "Space Grotesk", sans-serif; }
.profile-subsection-heading p { max-width: 480px; margin: 0; color: #747c8e; font-size: .68rem; line-height: 1.55; text-align: right; }
.selected-role-summary { display: flex; flex-wrap: wrap; gap: 7px; padding: 13px; margin: -8px 0 18px; border: 1px solid rgba(139,92,246,.18); border-radius: 13px; background: rgba(139,92,246,.055); }
.selected-role-summary[hidden] { display: none; }
.selected-role-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px; border-radius: 9px; color: #d7ceff; background: rgba(139,92,246,.12); border: 1px solid rgba(139,92,246,.2); font-size: .66rem; font-weight: 800; }
.selected-role-chip button { width: 17px; height: 17px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; color: #a89cce; background: rgba(255,255,255,.07); cursor: pointer; }
.selected-role-chip button:hover { color: #fff; background: rgba(255,255,255,.13); }
.profile-role-grid { max-height: 520px; padding: 4px 8px 4px 0; }
.profile-role-grid .check-card { min-height: 43px; align-items: center; transition: border-color .18s ease, background .18s ease, transform .18s ease; cursor: pointer; }
.profile-role-grid .check-card:has(input:checked) { color: #fff; border-color: rgba(139,92,246,.42); background: rgba(139,92,246,.105); }
.profile-role-grid .check-card:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.15); }

.profile-toggle-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 22px; }
.profile-toggle-card { position: relative; min-height: 108px; display: flex; align-items: flex-start; gap: 12px; padding: 17px; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; background: rgba(255,255,255,.022); cursor: pointer; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.profile-toggle-card:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.16); }
.profile-toggle-card:has(input:checked) { border-color: rgba(88,230,169,.28); background: rgba(88,230,169,.055); }
.profile-toggle-card input { margin-top: 2px; accent-color: var(--green); }
.profile-toggle-card span { display: grid; gap: 6px; }
.profile-toggle-card strong { font: 720 .78rem "Space Grotesk", sans-serif; }
.profile-toggle-card small { color: #7d8597; font-size: .65rem; line-height: 1.5; }
.profile-toggle-card-wide { min-height: auto; }
.profile-private-panel { margin-top: 22px; padding: 20px; border: 1px solid rgba(34,211,238,.15); border-radius: 16px; background: linear-gradient(145deg, rgba(34,211,238,.045), rgba(255,255,255,.015)); }
.profile-private-panel-flush { margin-top: 0; }
.profile-private-panel-head { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.profile-private-panel-head > span { padding: 5px 7px; border-radius: 6px; color: #7feafa; background: rgba(34,211,238,.09); border: 1px solid rgba(34,211,238,.18); font-size: .55rem; font-weight: 900; letter-spacing: .12em; }
.profile-private-panel-head h3 { margin: 0; font: 720 .9rem "Space Grotesk", sans-serif; }
.profile-private-panel-head p { margin: 3px 0 0; color: #71798b; font-size: .65rem; }
.profile-inline-check { display: inline-flex; align-items: center; gap: 9px; margin-top: 16px; color: #bbc1ce; font-size: .72rem; cursor: pointer; }
.profile-inline-check input { accent-color: var(--purple); }

.profile-save-bar { position: sticky; z-index: 16; bottom: 14px; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 78px; padding: 13px 15px 13px 20px; border: 1px solid rgba(139,92,246,.26); border-radius: 17px; background: rgba(12,15,26,.93); backdrop-filter: blur(18px); box-shadow: 0 18px 55px rgba(0,0,0,.38), inset 0 1px rgba(255,255,255,.05); transition: border-color .2s ease, box-shadow .2s ease; }
.profile-save-bar.is-dirty { border-color: rgba(244,211,94,.42); box-shadow: 0 18px 55px rgba(0,0,0,.42), 0 0 0 1px rgba(244,211,94,.08); }
.profile-save-bar.is-saving { border-color: rgba(88,230,169,.42); }
.profile-save-bar > div:first-child { display: grid; gap: 4px; }
.profile-save-state { color: #d8dbe4; font-size: .74rem; font-weight: 820; }
.profile-save-bar small { color: #737b8d; font-size: .63rem; }
.profile-save-actions { display: flex; gap: 9px; flex: 0 0 auto; }

.profile-record-section { scroll-margin-top: 108px; }
.profile-record-section-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 23px; }
.record-stack { display: grid; gap: 10px; }
.profile-record-card { border: 1px solid rgba(255,255,255,.085); border-radius: 15px; background: rgba(255,255,255,.018); overflow: hidden; }
.profile-record-card[open] { border-color: rgba(139,92,246,.22); background: rgba(139,92,246,.025); }
.profile-record-card > summary { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; list-style: none; cursor: pointer; }
.profile-record-card > summary::-webkit-details-marker, .profile-add-record > summary::-webkit-details-marker { display: none; }
.record-summary-main { min-width: 0; display: flex; align-items: center; gap: 13px; }
.record-summary-main > span:last-child { min-width: 0; display: grid; gap: 4px; }
.record-summary-main strong { overflow: hidden; color: #eef0f5; font: 730 .82rem "Space Grotesk", sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.record-summary-main small { overflow: hidden; color: #7e8698; font-size: .66rem; text-overflow: ellipsis; white-space: nowrap; }
.record-summary-thumb, .record-summary-placeholder { width: 68px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; object-fit: cover; border-radius: 9px; color: #c7bbff; background: linear-gradient(145deg, rgba(139,92,246,.18), rgba(34,211,238,.08)); border: 1px solid rgba(255,255,255,.08); font-size: .75rem; }
.record-summary-placeholder.record-summary-work { width: 44px; border-radius: 12px; }
.record-summary-action { color: #a99aff; font-size: .66rem; font-weight: 850; }
.record-summary-badges { display: flex; align-items: center; gap: 9px; }
.profile-record-card[open] .record-summary-action::after { content: " · close"; color: #646c7d; }
.profile-record-form { display: grid; gap: 18px; padding: 22px; border-top: 1px solid rgba(255,255,255,.07); background: rgba(7,9,16,.24); }
.profile-record-form .record-actions { margin-top: 0; }
.profile-add-record { margin-top: 14px; border: 1px dashed rgba(139,92,246,.34); border-radius: 15px; background: rgba(139,92,246,.035); overflow: hidden; }
.profile-add-record > summary { min-height: 72px; display: flex; align-items: center; gap: 13px; padding: 13px 17px; list-style: none; cursor: pointer; }
.profile-add-record > summary > span:last-child { display: grid; gap: 4px; }
.profile-add-record > summary strong { font: 730 .8rem "Space Grotesk", sans-serif; }
.profile-add-record > summary small { color: #767e90; font-size: .65rem; }
.profile-add-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #ddd4ff; background: rgba(139,92,246,.16); border: 1px solid rgba(139,92,246,.25); font-size: 1rem; }
.legacy-preview-note { padding: 11px 13px; border-radius: 10px; color: #9299aa; background: rgba(255,255,255,.03); font-size: .68rem; }
.profile-verification-request { margin: 0 22px 22px; padding: 17px; border: 1px solid rgba(88,230,169,.15); border-radius: 12px; background: rgba(88,230,169,.035); }
.profile-verification-request > div:first-child { display: grid; gap: 4px; margin-bottom: 12px; }
.profile-verification-request strong { font-size: .72rem; }
.profile-verification-request small { color: #747c8e; font-size: .64rem; }

.creator-profile-preview { position: relative; min-height: 300px; margin: 0; overflow: hidden; }
.creator-preview-banner { position: absolute; inset: 0 0 auto; height: 178px; overflow: hidden; background: radial-gradient(circle at 20% 30%, rgba(139,92,246,.35), transparent 38%), linear-gradient(145deg, #201748, #0e2834); }
.creator-preview-banner img { width: 100%; height: 100%; display: block; object-fit: cover; opacity: .72; }
.creator-preview-gradient { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(7,9,16,.06), #121625 100%); }
.creator-preview-content { position: relative; z-index: 2; min-height: 300px; display: flex; align-items: flex-end; gap: 20px; padding: 118px 30px 28px; }
.creator-preview-avatar { width: 92px; height: 92px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #8b5cf6, #2867c8); border: 4px solid #121625; box-shadow: 0 12px 32px rgba(0,0,0,.28); font: 850 1.8rem "Space Grotesk", sans-serif; }
.creator-preview-avatar img { width: 100%; height: 100%; object-fit: cover; }
.creator-preview-copy { min-width: 0; flex: 1; }
.creator-preview-copy h2 { margin: 0; font: 780 1.75rem "Space Grotesk", sans-serif; letter-spacing: -.035em; }
.creator-preview-handle { margin: 3px 0 9px; color: #9c8df3; font-size: .72rem; font-weight: 780; }
.creator-preview-bio { max-width: 730px; margin: 0; color: #a8afbf; font-size: .76rem; line-height: 1.6; }
.creator-preview-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.creator-preview-meta span { padding: 6px 8px; border-radius: 7px; color: #aeb5c4; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.065); font-size: .62rem; }

@media (max-width: 1050px) {
  .profile-editor-layout { grid-template-columns: 1fr; }
  .profile-editor-rail { position: static; display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); }
  .profile-editor-section-nav { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .profile-editor-section-nav .profile-editor-nav-label { grid-column: 1 / -1; }
  .profile-editor-tip { display: none; }
  .creator-media-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .profile-editor-hero-grid, .profile-record-section-head, .profile-subsection-heading { align-items: flex-start; flex-direction: column; }
  .profile-editor-hero-actions { justify-content: flex-start; }
  .profile-editor-rail { grid-template-columns: 1fr; }
  .profile-editor-progress-card { display: none; }
  .profile-editor-section-nav { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .profile-media-grid, .profile-toggle-grid { grid-template-columns: 1fr; }
  .profile-subsection-heading p { text-align: left; }
  .profile-upload-banner { grid-template-columns: 140px 1fr; }
  .profile-save-bar { align-items: flex-start; flex-direction: column; }
  .profile-save-actions { width: 100%; }
  .profile-save-actions .button { flex: 1; }
  .creator-preview-content { align-items: flex-start; flex-direction: column; padding-top: 105px; }
  .creator-profile-preview { min-height: 370px; }
}

@media (max-width: 620px) {
  .profile-editor-hero { padding-top: 42px; }
  .profile-editor-hero-actions { width: 100%; }
  .profile-editor-hero-actions .button { flex: 1 1 180px; }
  .profile-editor-section-nav { display: flex; overflow-x: auto; padding: 8px; scrollbar-width: none; }
  .profile-editor-section-nav::-webkit-scrollbar { display: none; }
  .profile-editor-section-nav .profile-editor-nav-label { display: none; }
  .profile-editor-section-nav a { flex: 0 0 auto; white-space: nowrap; }
  .profile-form-section, .profile-record-section { padding: 22px 18px; }
  .profile-form-section-head { grid-template-columns: 36px minmax(0,1fr); gap: 12px; }
  .profile-form-section-head > .selection-count { grid-column: 2; justify-self: start; }
  .profile-form-step { width: 36px; height: 36px; }
  .profile-upload-card, .profile-upload-banner { grid-template-columns: 1fr; text-align: left; }
  .profile-upload-preview { width: 76px; height: 76px; }
  .profile-upload-banner-preview { width: 100%; }
  .profile-toggle-card { min-height: auto; }
  .profile-save-bar { bottom: 8px; padding: 14px; }
  .profile-save-bar > div:first-child { display: none; }
  .profile-save-actions { gap: 7px; }
  .profile-save-actions .button { min-width: 0; padding-inline: 11px; }
  .record-summary-thumb { width: 54px; }
  .record-summary-badges .verification-chip { display: none; }
  .profile-record-form { padding: 18px 15px; }
  .profile-verification-request { margin: 0 15px 15px; }
  .creator-preview-content { padding-inline: 20px; }
  .creator-preview-avatar { width: 76px; height: 76px; }
}

/* Phase 3.6: public creator and talent profiles. */
.public-profile-hero { padding: 34px 0 0; }
.public-profile-cover { position: relative; min-height: 380px; overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: 28px; background: #101522; box-shadow: 0 38px 100px rgba(0,0,0,.42); }
.public-profile-cover-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.public-profile-cover-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,9,16,.96) 0%, rgba(7,9,16,.78) 47%, rgba(7,9,16,.26) 100%), linear-gradient(to top, rgba(7,9,16,.88), transparent 56%); }
.public-profile-cover-fallback { background: radial-gradient(circle at 75% 16%, rgba(34,211,238,.22), transparent 29%), radial-gradient(circle at 22% 12%, rgba(139,92,246,.34), transparent 34%), linear-gradient(145deg, #11152a, #0b1f2b); }
.public-profile-hero-content { position: relative; z-index: 2; min-height: 380px; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding: 48px; }
.public-profile-identity-block { min-width: 0; display: flex; align-items: flex-end; gap: 22px; }
.public-profile-avatar { width: 116px; height: 116px; flex: 0 0 auto; display: grid; place-items: center; object-fit: cover; border: 5px solid rgba(9,11,19,.94); border-radius: 28px; background: linear-gradient(145deg, var(--purple), #275dc5); box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.public-profile-avatar-fallback { color: #fff; font: 850 2.35rem "Space Grotesk", sans-serif; }
.public-profile-title-block { min-width: 0; }
.public-profile-kicker, .public-profile-section-kicker, .public-profile-side-kicker, .public-profile-tag-label { display: block; color: #9b8cff; font-size: .6rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.public-profile-title-block h1 { max-width: 760px; margin: 8px 0 8px; font: 790 clamp(2.35rem, 5vw, 4.8rem)/.96 "Space Grotesk", sans-serif; letter-spacing: -.055em; text-wrap: balance; }
.public-profile-subtitle { max-width: 680px; margin: 0; color: #c5cad6; font-size: .92rem; line-height: 1.55; }
.public-talent-headline { font-size: 1.03rem; }
.public-profile-verification-row { margin-top: 17px; }
.public-profile-hero-actions { flex: 0 0 auto; display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.public-profile-hero-actions form { margin: 0; }
.public-profile-fact-strip { position: relative; z-index: 3; width: calc(100% - 64px); margin: -26px auto 0; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(17,21,35,.94); backdrop-filter: blur(18px); box-shadow: 0 22px 70px rgba(0,0,0,.34); }
.public-profile-fact { min-width: 0; min-height: 88px; display: grid; align-content: center; gap: 7px; padding: 17px 21px; border-right: 1px solid rgba(255,255,255,.075); }
.public-profile-fact:last-child { border-right: 0; }
.public-profile-fact span { color: #6f7789; font-size: .59rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.public-profile-fact strong { overflow: hidden; color: #eef0f5; font: 730 .82rem "Space Grotesk", sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.public-profile-anchor-bar { position: sticky; z-index: 28; top: 74px; margin-top: 28px; border-top: 1px solid rgba(255,255,255,.055); border-bottom: 1px solid rgba(255,255,255,.075); background: rgba(8,10,18,.82); backdrop-filter: blur(18px); }
.public-profile-anchor-inner { min-height: 58px; display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.public-profile-anchor-inner::-webkit-scrollbar { display: none; }
.public-profile-anchor-inner a { flex: 0 0 auto; padding: 10px 13px; border-radius: 9px; color: #858da0; font-size: .7rem; font-weight: 820; }
.public-profile-anchor-inner a:hover { color: #fff; background: rgba(255,255,255,.045); }
.public-profile-anchor-inner a span { display: inline-grid; min-width: 19px; height: 19px; place-items: center; margin-left: 5px; padding: 0 5px; border-radius: 999px; color: #c8bcff; background: rgba(139,92,246,.14); font-size: .56rem; }
.public-profile-page { padding-top: 34px; }
.public-profile-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 28px; align-items: start; }
.public-profile-main { min-width: 0; display: grid; gap: 25px; }
.public-profile-sidebar { position: sticky; top: 154px; display: grid; gap: 16px; }
.public-profile-section { padding: 34px; scroll-margin-top: 158px; }
.public-profile-section-block, .public-profile-openings { scroll-margin-top: 158px; }
.public-profile-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; margin-bottom: 24px; }
.public-profile-section-heading h2 { margin: 6px 0 0; font: 760 clamp(1.35rem,2.4vw,1.9rem) "Space Grotesk", sans-serif; letter-spacing: -.035em; }
.public-profile-section-heading p { max-width: 620px; margin: 7px 0 0; color: #7f8799; font-size: .73rem; line-height: 1.6; }
.public-profile-section-heading-outside { align-items: flex-end; margin: 6px 0 19px; }
.public-profile-section-icon { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; color: #a99cff; background: rgba(139,92,246,.1); border: 1px solid rgba(139,92,246,.2); font-size: .64rem; font-weight: 900; }
.public-profile-count-pill { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 32px; padding: 0 11px; border: 1px solid rgba(88,230,169,.2); border-radius: 999px; color: #aaf6d5; background: rgba(88,230,169,.07); font-size: .63rem; font-weight: 850; }
.public-profile-lead { max-width: 820px; margin: 0; color: #bdc3d0; font-size: .94rem; line-height: 1.85; white-space: pre-line; }
.public-profile-tag-groups { display: grid; gap: 18px; margin-top: 27px; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.07); }
.public-profile-tag-groups-split { grid-template-columns: repeat(2,minmax(0,1fr)); }
.public-profile-tag-label { margin-bottom: 10px; color: #686f82; }
.public-profile-tags { margin: 0; }
.public-profile-tags span { padding: 7px 9px; color: #b9bfcb; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.public-profile-role-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.public-profile-role-cloud span { padding: 9px 12px; border: 1px solid rgba(139,92,246,.2); border-radius: 10px; color: #d1c7ff; background: rgba(139,92,246,.08); font-size: .69rem; font-weight: 780; }
.public-profile-listing-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.public-profile-empty-state { display: flex; align-items: center; gap: 18px; padding: 26px; }
.public-profile-empty-state h3 { margin: 0 0 5px; font: 730 1rem "Space Grotesk", sans-serif; }
.public-profile-empty-state p { margin: 0; color: #858da0; font-size: .74rem; line-height: 1.6; }
.public-profile-empty-icon { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 14px; color: #a99cff; background: rgba(139,92,246,.1); border: 1px solid rgba(139,92,246,.18); font-size: 1.2rem; }
.public-profile-side-card { padding: 24px; }
.public-profile-side-card h2 { margin: 8px 0 9px; font: 750 1.25rem "Space Grotesk", sans-serif; letter-spacing: -.025em; }
.public-profile-side-card h3 { margin: 11px 0 8px; font: 740 .94rem "Space Grotesk", sans-serif; }
.public-profile-side-card > p { color: #858da0; font-size: .72rem; line-height: 1.65; }
.public-profile-side-stats { display: grid; margin: 20px 0; border-top: 1px solid rgba(255,255,255,.07); }
.public-profile-side-stats > div, .public-profile-detail-list > div { display: grid; gap: 4px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.public-profile-side-stats span, .public-profile-detail-list span { color: #687082; font-size: .59rem; font-weight: 820; letter-spacing: .07em; text-transform: uppercase; }
.public-profile-side-stats strong, .public-profile-detail-list strong { color: #dfe2e9; font-size: .74rem; line-height: 1.45; }
.public-profile-trust-card { border-color: rgba(34,211,238,.17); background: linear-gradient(145deg, rgba(34,211,238,.055), var(--panel)); }
.public-profile-trust-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 11px; color: #a9f4ff; background: rgba(34,211,238,.09); border: 1px solid rgba(34,211,238,.18); font-weight: 900; }
.public-talent-cover { background: radial-gradient(circle at 72% 28%, rgba(34,211,238,.17), transparent 29%), radial-gradient(circle at 35% 8%, rgba(139,92,246,.34), transparent 35%), linear-gradient(145deg, #15132b, #0b1f28); }
.public-talent-cover-art { position: absolute; inset: 0; overflow: hidden; opacity: .8; }
.public-talent-cover-art i { position: absolute; display: block; width: 260px; height: 260px; border: 1px solid rgba(255,255,255,.08); border-radius: 48px; transform: rotate(28deg); }
.public-talent-cover-art i:nth-child(1) { right: 3%; top: -36%; background: rgba(139,92,246,.07); }
.public-talent-cover-art i:nth-child(2) { right: 19%; top: 31%; width: 150px; height: 150px; border-radius: 34px; background: rgba(34,211,238,.055); }
.public-talent-cover-art i:nth-child(3) { right: -5%; top: 41%; width: 190px; height: 190px; border-radius: 50%; }
.public-talent-cover-art i:nth-child(4) { left: 42%; bottom: -55%; width: 310px; height: 310px; }
.public-portfolio-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.public-portfolio-card { padding: 0; overflow: hidden; }
.public-portfolio-card-featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(280px,.9fr); }
.public-portfolio-media { position: relative; min-height: 230px; display: block; overflow: hidden; background: linear-gradient(145deg, rgba(139,92,246,.16), rgba(34,211,238,.07)); }
.public-portfolio-card-featured .public-portfolio-media { min-height: 340px; }
.public-portfolio-media img, .public-portfolio-media video { width: 100%; height: 100%; min-height: inherit; display: block; object-fit: cover; transition: transform .35s ease, opacity .35s ease; }
.public-portfolio-media:hover img { transform: scale(1.025); opacity: .82; }
.public-portfolio-open { position: absolute; right: 14px; bottom: 14px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 9px; color: #fff; background: rgba(8,10,18,.78); backdrop-filter: blur(12px); font-size: .61rem; font-weight: 850; }
.public-portfolio-placeholder { min-height: inherit; display: grid; place-content: center; justify-items: center; gap: 2px; color: #bbaeff; background: radial-gradient(circle at 50% 30%, rgba(139,92,246,.25), transparent 42%); }
.public-portfolio-placeholder b { font: 800 3rem "Space Grotesk", sans-serif; letter-spacing: -.06em; }
.public-portfolio-placeholder small { color: #737b8e; font-size: .54rem; font-weight: 900; letter-spacing: .18em; }
.public-portfolio-copy { padding: 24px; }
.public-portfolio-copy h3 { margin: 8px 0 5px; font: 750 1.18rem/1.2 "Space Grotesk", sans-serif; letter-spacing: -.025em; }
.public-portfolio-copy > p { color: #858da0; font-size: .73rem; line-height: 1.65; }
.public-portfolio-client { margin: 0 0 13px; color: #9f92ed !important; font-weight: 720; }
.public-portfolio-meta { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.public-portfolio-meta span { color: #727a8d; font-size: .59rem; font-weight: 800; text-transform: uppercase; }
.public-portfolio-meta span + span::before { content: "·"; margin-right: 7px; color: #4f5667; }
.public-portfolio-tags { margin: 16px 0; }
.public-experience-list { display: grid; }
.public-experience-item { display: grid; grid-template-columns: 26px minmax(0,1fr); gap: 16px; }
.public-experience-marker { position: relative; display: flex; justify-content: center; }
.public-experience-marker::after { content: ""; position: absolute; top: 15px; bottom: -12px; width: 1px; background: rgba(139,92,246,.22); }
.public-experience-item:last-child .public-experience-marker::after { display: none; }
.public-experience-marker span { position: relative; z-index: 2; width: 11px; height: 11px; margin-top: 6px; border: 3px solid #171b2b; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 1px rgba(139,92,246,.45); }
.public-experience-copy { padding: 0 0 25px; }
.public-experience-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.public-experience-title-row h3 { margin: 0 0 4px; font: 730 .94rem "Space Grotesk", sans-serif; }
.public-experience-title-row p { margin: 0; color: #a28ff7; font-size: .69rem; font-weight: 720; }
.public-experience-date { display: block; margin-top: 8px; color: #697184; font-size: .62rem; font-weight: 760; }
.public-experience-description { margin: 10px 0 0 !important; color: #8c93a4 !important; font-size: .73rem !important; line-height: 1.65 !important; }
.public-loadout-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); overflow: hidden; border: 1px solid rgba(255,255,255,.075); border-radius: 16px; }
.public-loadout-column { min-width: 0; padding: 22px; border-right: 1px solid rgba(255,255,255,.075); }
.public-loadout-column:last-child { border-right: 0; }
.public-loadout-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: #cfc5ff; background: rgba(139,92,246,.11); border: 1px solid rgba(139,92,246,.2); font-size: .62rem; font-weight: 900; }
.public-loadout-column h3 { margin: 13px 0; font: 730 .84rem "Space Grotesk", sans-serif; }
.public-loadout-column > p { color: #70788a; font-size: .68rem; }
.public-loadout-list { display: grid; gap: 8px; }
.public-loadout-list span { position: relative; padding-left: 13px; color: #9ca3b3; font-size: .69rem; line-height: 1.45; }
.public-loadout-list span::before { content: ""; position: absolute; left: 0; top: .48em; width: 5px; height: 5px; border-radius: 50%; background: #7465ca; }
.public-profile-detail-list { display: grid; margin-top: 18px; border-top: 1px solid rgba(255,255,255,.07); }
.public-profile-availability-note { margin: 17px 0 !important; padding: 13px; border-radius: 10px; color: #9ea5b5 !important; background: rgba(255,255,255,.03); white-space: pre-line; }
.public-profile-report-panel { margin-top: 0; }

@media (max-width: 1020px) {
  .public-profile-layout { grid-template-columns: 1fr; }
  .public-profile-sidebar { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .public-profile-report-panel { grid-column: 1 / -1; }
  .public-profile-fact-strip { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .public-profile-fact:nth-child(3) { border-right: 0; }
  .public-profile-fact:nth-child(-n+3) { border-bottom: 1px solid rgba(255,255,255,.075); }
  .public-profile-fact:nth-child(4) { grid-column: span 1; }
  .public-profile-fact:nth-child(5) { grid-column: span 2; }
}

@media (max-width: 820px) {
  .public-profile-cover, .public-profile-hero-content { min-height: 430px; }
  .public-profile-hero-content { align-items: flex-start; flex-direction: column; justify-content: flex-end; padding: 32px; }
  .public-profile-identity-block { align-items: flex-start; }
  .public-profile-avatar { width: 92px; height: 92px; border-radius: 24px; }
  .public-profile-title-block h1 { font-size: clamp(2.25rem,9vw,3.8rem); }
  .public-profile-hero-actions { width: 100%; justify-content: flex-start; }
  .public-profile-fact-strip { width: calc(100% - 30px); }
  .public-profile-listing-grid, .public-profile-tag-groups-split { grid-template-columns: 1fr; }
  .public-portfolio-card-featured { display: block; }
  .public-portfolio-card-featured .public-portfolio-media { min-height: 280px; }
  .public-loadout-grid { grid-template-columns: 1fr; }
  .public-loadout-column { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.075); }
  .public-loadout-column:last-child { border-bottom: 0; }
}

@media (max-width: 650px) {
  .public-profile-hero { padding-top: 18px; }
  .public-profile-cover { border-radius: 21px; }
  .public-profile-cover, .public-profile-hero-content { min-height: 500px; }
  .public-profile-hero-content { padding: 25px 21px 30px; }
  .public-profile-identity-block { flex-direction: column; gap: 15px; }
  .public-profile-avatar { width: 78px; height: 78px; border-width: 4px; border-radius: 20px; }
  .public-profile-avatar-fallback { font-size: 1.7rem; }
  .public-profile-title-block h1 { margin-top: 6px; }
  .public-profile-hero-actions .button, .public-profile-hero-actions form { flex: 1 1 100%; width: 100%; }
  .public-profile-hero-actions form .button { width: 100%; }
  .public-profile-fact-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .public-profile-fact, .public-profile-fact:nth-child(3), .public-profile-fact:nth-child(4), .public-profile-fact:nth-child(5) { grid-column: auto; border-right: 1px solid rgba(255,255,255,.075); border-bottom: 1px solid rgba(255,255,255,.075); }
  .public-profile-fact:nth-child(even) { border-right: 0; }
  .public-profile-fact:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
  .public-profile-anchor-bar { top: 73px; }
  .public-profile-page { padding-top: 24px; }
  .public-profile-section { padding: 25px 19px; }
  .public-profile-section-heading, .public-profile-section-heading-outside, .public-experience-title-row { align-items: flex-start; flex-direction: column; }
  .public-profile-section-icon { display: none; }
  .public-profile-sidebar { grid-template-columns: 1fr; }
  .public-profile-report-panel { grid-column: auto; }
  .public-portfolio-grid { grid-template-columns: 1fr; }
  .public-portfolio-card-featured { grid-column: auto; }
  .public-portfolio-media, .public-portfolio-card-featured .public-portfolio-media { min-height: 220px; }
}

/* Phase 3.7 — dashboard command center */
.dashboard-app-body { background: #080a12; }
.dashboard-v2-hero { padding: 34px 0 0; }
.dashboard-v2-command-card {
  position: relative;
  overflow: hidden;
  padding: 34px 34px 0;
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 26px;
  background:
    radial-gradient(circle at 8% 0%, rgba(139,92,246,.2), transparent 35%),
    radial-gradient(circle at 88% 18%, rgba(34,211,238,.1), transparent 30%),
    linear-gradient(145deg, #151329, #0b101c 70%);
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}
.dashboard-v2-command-card::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -165px;
  top: -205px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 42%;
  transform: rotate(28deg);
  pointer-events: none;
}
.dashboard-v2-command-copy { position: relative; z-index: 1; display: flex; align-items: center; gap: 18px; max-width: 760px; }
.dashboard-v2-user-mark, .dashboard-v2-rail-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: linear-gradient(145deg, #8b5cf6, #5f48b7);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px rgba(255,255,255,.15), 0 12px 30px rgba(52,34,117,.28);
  font: 800 1.25rem "Space Grotesk", sans-serif;
}
.dashboard-v2-user-mark { width: 60px; height: 60px; border-radius: 18px; }
.dashboard-v2-kicker, .dashboard-v2-section-kicker {
  display: block;
  color: #9d8cf2;
  font-size: .59rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.dashboard-v2-command-copy h1 { margin: 6px 0 7px; font: 760 clamp(2rem,4vw,3.25rem)/1 "Space Grotesk", sans-serif; letter-spacing: -.055em; }
.dashboard-v2-command-copy p { max-width: 680px; margin: 0; color: #8e96a8; font-size: .78rem; line-height: 1.65; }
.dashboard-v2-command-actions { position: relative; z-index: 1; display: flex; gap: 10px; flex-wrap: wrap; margin: 27px 0 30px 78px; }
.dashboard-v2-fact-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  margin-inline: -34px;
  border-top: 1px solid rgba(255,255,255,.075);
  background: rgba(4,6,13,.28);
  backdrop-filter: blur(12px);
}
.dashboard-v2-fact { min-width: 0; display: grid; gap: 4px; padding: 19px 25px; border-right: 1px solid rgba(255,255,255,.075); transition: background .18s ease; }
a.dashboard-v2-fact:hover { background: rgba(139,92,246,.07); }
.dashboard-v2-fact:last-child { border-right: 0; }
.dashboard-v2-fact span { color: #727b8f; font-size: .58rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.dashboard-v2-fact strong { color: #f3f4f8; font: 760 1.55rem "Space Grotesk", sans-serif; letter-spacing: -.04em; }
.dashboard-v2-fact small { overflow: hidden; color: #666f82; font-size: .59rem; white-space: nowrap; text-overflow: ellipsis; }
.dashboard-v2-page { padding-top: 25px; }
.dashboard-v2-layout { display: grid; grid-template-columns: 238px minmax(0,1fr); gap: 25px; align-items: start; }
.dashboard-v2-rail {
  position: sticky;
  top: 92px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 20px;
  background: rgba(18,21,34,.8);
  box-shadow: 0 22px 60px rgba(0,0,0,.18);
  backdrop-filter: blur(18px);
}
.dashboard-v2-rail-user { display: flex; align-items: center; gap: 12px; padding: 18px; border-bottom: 1px solid rgba(255,255,255,.07); }
.dashboard-v2-rail-avatar { width: 39px; height: 39px; border-radius: 12px; font-size: .83rem; }
.dashboard-v2-rail-user div { min-width: 0; display: grid; gap: 2px; }
.dashboard-v2-rail-user strong { overflow: hidden; color: #e7e9ef; font-size: .72rem; white-space: nowrap; text-overflow: ellipsis; }
.dashboard-v2-rail-user span:not(.dashboard-v2-rail-avatar) { overflow: hidden; color: #6f778a; font-size: .58rem; white-space: nowrap; text-overflow: ellipsis; }
.dashboard-v2-nav { padding: 10px; }
.dashboard-v2-nav-group { display: grid; gap: 3px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.055); }
.dashboard-v2-nav-group:last-child { border-bottom: 0; }
.dashboard-v2-nav-label { padding: 5px 9px; color: #5e6678; font-size: .51rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.dashboard-v2-nav a { display: grid; grid-template-columns: 25px minmax(0,1fr) auto; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 9px; color: #9299a9; font-size: .67rem; font-weight: 720; transition: background .18s ease, color .18s ease, transform .18s ease; }
.dashboard-v2-nav a:hover, .dashboard-v2-nav a.is-active { color: #fff; background: rgba(139,92,246,.1); }
.dashboard-v2-nav a:hover { transform: translateX(2px); }
.dashboard-v2-nav-icon { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.07); border-radius: 7px; color: #9182df; background: rgba(255,255,255,.025); font-size: .6rem; font-weight: 900; }
.dashboard-v2-nav a b { min-width: 19px; height: 19px; display: grid; place-items: center; border-radius: 999px; color: #fff; background: var(--purple); font-size: .53rem; }
.dashboard-v2-rail-status { display: flex; align-items: flex-start; gap: 10px; padding: 16px 18px; border-top: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.018); }
.dashboard-v2-status-dot { width: 8px; height: 8px; flex: 0 0 auto; margin-top: 4px; border-radius: 50%; background: #fb7185; box-shadow: 0 0 0 4px rgba(251,113,133,.08); }
.dashboard-v2-status-dot.is-ready { background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.08); }
.dashboard-v2-rail-status div { display: grid; gap: 3px; }
.dashboard-v2-rail-status strong { color: #c7ccd7; font-size: .62rem; }
.dashboard-v2-rail-status a { color: #8375d2; font-size: .58rem; font-weight: 760; }
.dashboard-v2-main { min-width: 0; display: grid; gap: 22px; }
.dashboard-v2-next { padding: 7px 2px 0; }
.dashboard-v2-section-heading, .dashboard-v2-card-heading, .dashboard-v2-workspace-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.dashboard-v2-section-heading { margin-bottom: 16px; }
.dashboard-v2-section-heading h2, .dashboard-v2-card-heading h2, .dashboard-v2-workspace-header h2 { margin: 5px 0 0; font: 740 1.32rem "Space Grotesk", sans-serif; letter-spacing: -.035em; }
.dashboard-v2-section-heading p, .dashboard-v2-workspace-title p { margin: 5px 0 0; color: #757e91; font-size: .69rem; line-height: 1.55; }
.dashboard-v2-action-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.dashboard-v2-action-card { display: grid; grid-template-columns: 35px minmax(0,1fr) auto; align-items: center; gap: 14px; min-height: 104px; padding: 18px; border-radius: 16px; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.dashboard-v2-action-card:hover { transform: translateY(-2px); border-color: rgba(139,92,246,.3); background: linear-gradient(145deg, rgba(139,92,246,.075), var(--panel)); }
.dashboard-v2-action-warning { border-color: rgba(251,191,36,.2); background: linear-gradient(145deg, rgba(251,191,36,.055), var(--panel)); }
.dashboard-v2-action-number { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; color: #c9bfff; background: rgba(139,92,246,.1); border: 1px solid rgba(139,92,246,.18); font-size: .62rem; font-weight: 900; }
.dashboard-v2-action-warning .dashboard-v2-action-number { color: #fde68a; background: rgba(251,191,36,.08); border-color: rgba(251,191,36,.18); }
.dashboard-v2-action-card div { min-width: 0; }
.dashboard-v2-action-card strong { display: block; margin-bottom: 4px; color: #dfe2e9; font-size: .76rem; }
.dashboard-v2-action-card p { margin: 0; color: #747c8e; font-size: .64rem; line-height: 1.52; }
.dashboard-v2-action-arrow { color: #7668c7; font-size: .9rem; }
.dashboard-v2-workspace { scroll-margin-top: 100px; padding: 0; overflow: visible; }
.dashboard-v2-workspace-header { padding: 25px 25px 20px; border-bottom: 1px solid rgba(255,255,255,.065); }
.dashboard-v2-workspace-title { display: flex; align-items: flex-start; gap: 14px; }
.dashboard-v2-mode-badge { flex: 0 0 auto; margin-top: 2px; padding: 6px 8px; border-radius: 7px; font-size: .51rem; font-weight: 900; letter-spacing: .09em; }
.dashboard-v2-mode-creator { color: #d7cbff; background: rgba(139,92,246,.11); border: 1px solid rgba(139,92,246,.2); }
.dashboard-v2-mode-talent { color: #bdf5ff; background: rgba(34,211,238,.075); border: 1px solid rgba(34,211,238,.17); }
.dashboard-v2-workspace-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.dashboard-v2-profile-line { display: grid; grid-template-columns: 38px minmax(0,1fr) auto auto; align-items: center; gap: 12px; margin: 18px 25px 0; padding: 13px 15px; border: 1px solid rgba(255,255,255,.065); border-radius: 12px; background: rgba(255,255,255,.022); }
.dashboard-v2-profile-line > img, .dashboard-v2-profile-line > span:first-child { width: 38px; height: 38px; display: grid; place-items: center; object-fit: cover; border-radius: 11px; color: #fff; background: linear-gradient(145deg, #765ecb, #3f356f); font: 800 .77rem "Space Grotesk", sans-serif; }
.dashboard-v2-profile-line div { min-width: 0; display: grid; gap: 3px; }
.dashboard-v2-profile-line strong { color: #daddE6; font-size: .7rem; }
.dashboard-v2-profile-line small { overflow: hidden; color: #6e7689; font-size: .58rem; white-space: nowrap; text-overflow: ellipsis; }
.dashboard-v2-ready-chip { padding: 5px 8px; border-radius: 999px; color: #9fe7c9; background: rgba(52,211,153,.07); border: 1px solid rgba(52,211,153,.15); font-size: .52rem; font-weight: 820; }
.dashboard-v2-inline-empty { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 13px; margin: 18px 25px 0; padding: 15px; border: 1px dashed rgba(139,92,246,.2); border-radius: 13px; background: rgba(139,92,246,.035); }
.dashboard-v2-inline-empty-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: #cabfff; background: rgba(139,92,246,.1); font-weight: 900; }
.dashboard-v2-inline-empty strong { color: #d9dce4; font-size: .7rem; }
.dashboard-v2-inline-empty p { margin: 4px 0 0; color: #70798c; font-size: .62rem; line-height: 1.5; }
.dashboard-v2-list { display: grid; padding: 16px 25px 25px; }
.dashboard-v2-listing-row, .dashboard-v2-application-row { min-width: 0; display: grid; align-items: center; gap: 18px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.dashboard-v2-listing-row { grid-template-columns: minmax(0,1fr) auto; }
.dashboard-v2-application-row { grid-template-columns: 40px minmax(0,1fr) auto; }
.dashboard-v2-list > article:last-child { border-bottom: 0; padding-bottom: 0; }
.dashboard-v2-list > article:first-child { padding-top: 5px; }
.dashboard-v2-row-topline { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; }
.dashboard-v2-row-topline > span:last-child { color: #687083; font-size: .57rem; font-weight: 740; }
.dashboard-v2-listing-row h3, .dashboard-v2-application-row h3 { margin: 0 0 4px; color: #e1e3e9; font: 720 .86rem "Space Grotesk", sans-serif; letter-spacing: -.02em; }
.dashboard-v2-listing-row p, .dashboard-v2-application-row p { margin: 0; color: #747c8e; font-size: .63rem; }
.dashboard-v2-row-actions { display: flex; align-items: center; gap: 10px; }
.dashboard-v2-row-actions > .text-link { font-size: .61rem; }
.dashboard-v2-row-menu { position: relative; }
.dashboard-v2-row-menu summary { width: 32px; height: 32px; display: grid; place-items: center; list-style: none; cursor: pointer; border: 1px solid rgba(255,255,255,.08); border-radius: 9px; color: #858c9c; background: rgba(255,255,255,.025); font-weight: 900; }
.dashboard-v2-row-menu summary::-webkit-details-marker { display: none; }
.dashboard-v2-row-menu[open] summary { color: #fff; border-color: rgba(139,92,246,.28); background: rgba(139,92,246,.1); }
.dashboard-v2-row-menu > div { position: absolute; z-index: 12; right: 0; top: calc(100% + 8px); width: 190px; display: grid; gap: 11px; padding: 13px; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; background: #141724; box-shadow: 0 18px 45px rgba(0,0,0,.4); }
.dashboard-v2-row-menu label { display: block; margin-bottom: 5px; color: #70788a; font-size: .55rem; font-weight: 800; text-transform: uppercase; }
.dashboard-v2-row-menu button { width: 100%; padding: 8px 0 2px; border: 0; color: #a99af1; background: none; text-align: left; font: 750 .62rem Inter, sans-serif; cursor: pointer; }
.dashboard-v2-application-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #b9ecf4; background: rgba(34,211,238,.07); border: 1px solid rgba(34,211,238,.15); font: 800 .76rem "Space Grotesk", sans-serif; }
.dashboard-v2-workspace-empty { display: grid; grid-template-columns: 54px minmax(0,1fr) auto; align-items: center; gap: 17px; margin: 18px 25px 25px; padding: 24px; border: 1px dashed rgba(255,255,255,.1); border-radius: 15px; background: rgba(255,255,255,.018); }
.dashboard-v2-empty-mark { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 15px; color: #aa9beb; background: rgba(139,92,246,.08); border: 1px solid rgba(139,92,246,.16); font-size: 1rem; font-weight: 900; }
.dashboard-v2-workspace-empty h3 { margin: 0 0 5px; font: 720 .9rem "Space Grotesk", sans-serif; }
.dashboard-v2-workspace-empty p { margin: 0; color: #747c8e; font-size: .66rem; line-height: 1.5; }
.dashboard-v2-lower-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(300px,.85fr); gap: 22px; }
.dashboard-v2-updates-card, .dashboard-v2-profile-card { padding: 24px; }
.dashboard-v2-card-heading { align-items: center; margin-bottom: 17px; }
.dashboard-v2-update-list, .dashboard-v2-mode-list { display: grid; }
.dashboard-v2-update { display: grid; grid-template-columns: 8px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.06); }
.dashboard-v2-update:last-child { border-bottom: 0; }
.dashboard-v2-update-dot { width: 6px; height: 6px; border-radius: 50%; background: #4f5667; }
.dashboard-v2-update.is-unread .dashboard-v2-update-dot { background: var(--purple); box-shadow: 0 0 0 4px rgba(139,92,246,.08); }
.dashboard-v2-update div { min-width: 0; }
.dashboard-v2-update strong { display: block; overflow: hidden; margin-bottom: 3px; color: #ced2dc; font-size: .68rem; white-space: nowrap; text-overflow: ellipsis; }
.dashboard-v2-update p { overflow: hidden; margin: 0; color: #6d7588; font-size: .6rem; white-space: nowrap; text-overflow: ellipsis; }
.dashboard-v2-update > span:last-child { color: #6559a4; }
.dashboard-v2-small-empty { padding: 26px 3px; }
.dashboard-v2-small-empty strong { color: #d2d5dd; font-size: .72rem; }
.dashboard-v2-small-empty p { margin: 5px 0 0; color: #6d7587; font-size: .63rem; }
.dashboard-v2-mode-row { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.dashboard-v2-mode-row:last-child { border-bottom: 0; }
.dashboard-v2-mode-symbol { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: #9fa7b7; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); font-size: .65rem; font-weight: 900; }
.dashboard-v2-mode-symbol-creator { color: #cfc4ff; background: rgba(139,92,246,.08); border-color: rgba(139,92,246,.16); }
.dashboard-v2-mode-symbol-talent { color: #baf4ff; background: rgba(34,211,238,.065); border-color: rgba(34,211,238,.14); }
.dashboard-v2-mode-row div { min-width: 0; }
.dashboard-v2-mode-row strong { display: block; color: #d3d6df; font-size: .68rem; }
.dashboard-v2-mode-row p { overflow: hidden; margin: 4px 0 0; color: #6c7487; font-size: .58rem; white-space: nowrap; text-overflow: ellipsis; }
.dashboard-v2-mode-row > span:last-child { color: #8275cf; font-size: .59rem; font-weight: 760; }

@media (max-width: 1080px) {
  .dashboard-v2-layout { grid-template-columns: 1fr; }
  .dashboard-v2-rail { position: static; overflow-x: auto; border-radius: 16px; }
  .dashboard-v2-rail-user, .dashboard-v2-rail-status { display: none; }
  .dashboard-v2-nav { display: flex; width: max-content; min-width: 100%; padding: 8px; }
  .dashboard-v2-nav-group { display: flex; gap: 4px; padding: 0 7px; border-right: 1px solid rgba(255,255,255,.06); border-bottom: 0; }
  .dashboard-v2-nav-group:last-child { border-right: 0; }
  .dashboard-v2-nav-label { display: none; }
  .dashboard-v2-nav a { grid-template-columns: 22px auto auto; white-space: nowrap; }
  .dashboard-v2-nav-icon { width: 22px; height: 22px; }
}

@media (max-width: 820px) {
  .dashboard-v2-command-card { padding: 27px 25px 0; }
  .dashboard-v2-command-actions { margin-left: 0; }
  .dashboard-v2-fact-strip { grid-template-columns: repeat(2,minmax(0,1fr)); margin-inline: -25px; }
  .dashboard-v2-fact:nth-child(2) { border-right: 0; }
  .dashboard-v2-fact:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.075); }
  .dashboard-v2-action-grid, .dashboard-v2-lower-grid { grid-template-columns: 1fr; }
  .dashboard-v2-workspace-header { align-items: flex-start; flex-direction: column; }
  .dashboard-v2-workspace-actions { width: 100%; justify-content: flex-start; }
  .dashboard-v2-profile-line { grid-template-columns: 38px minmax(0,1fr) auto; }
  .dashboard-v2-profile-line > .text-link { grid-column: 2 / -1; }
  .dashboard-v2-listing-row { grid-template-columns: 1fr; }
  .dashboard-v2-row-actions { justify-content: flex-start; flex-wrap: wrap; }
  .dashboard-v2-application-row { grid-template-columns: 40px minmax(0,1fr); }
  .dashboard-v2-application-row > .button { grid-column: 2; justify-self: start; }
  .dashboard-v2-workspace-empty { grid-template-columns: 54px minmax(0,1fr); }
  .dashboard-v2-workspace-empty > .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 600px) {
  .dashboard-v2-hero { padding-top: 18px; }
  .dashboard-v2-command-card { border-radius: 20px; }
  .dashboard-v2-command-copy { align-items: flex-start; }
  .dashboard-v2-user-mark { width: 48px; height: 48px; border-radius: 14px; font-size: 1rem; }
  .dashboard-v2-command-copy h1 { font-size: 2rem; }
  .dashboard-v2-command-actions .button { flex: 1 1 100%; width: 100%; }
  .dashboard-v2-fact { padding: 16px 18px; }
  .dashboard-v2-fact strong { font-size: 1.3rem; }
  .dashboard-v2-page { padding-top: 16px; }
  .dashboard-v2-layout { gap: 16px; }
  .dashboard-v2-action-card { grid-template-columns: 32px minmax(0,1fr); }
  .dashboard-v2-action-arrow { display: none; }
  .dashboard-v2-workspace-header, .dashboard-v2-list, .dashboard-v2-updates-card, .dashboard-v2-profile-card { padding-inline: 18px; }
  .dashboard-v2-profile-line, .dashboard-v2-inline-empty, .dashboard-v2-workspace-empty { margin-inline: 18px; }
  .dashboard-v2-profile-line { grid-template-columns: 38px minmax(0,1fr); }
  .dashboard-v2-ready-chip, .dashboard-v2-profile-line > .text-link { grid-column: 2; justify-self: start; }
  .dashboard-v2-inline-empty { grid-template-columns: 38px minmax(0,1fr); }
  .dashboard-v2-inline-empty > .button { grid-column: 2; justify-self: start; }
  .dashboard-v2-workspace-empty { grid-template-columns: 1fr; text-align: left; }
  .dashboard-v2-workspace-empty > .button { grid-column: auto; }
  .dashboard-v2-row-actions > .text-link { display: none; }
  .dashboard-v2-row-actions .button { flex: 1; }
  .dashboard-v2-row-menu > div { right: auto; left: 0; }
}

/* Phase 3.8 — focused account modes, onboarding, and dashboard */
.mode-onboarding-hero{padding-bottom:34px}
.mode-onboarding-shell{max-width:1040px}
.mode-onboarding-form{display:grid;gap:26px}
.mode-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.mode-choice-card{position:relative;display:grid;grid-template-columns:auto 1fr auto;align-items:start;gap:16px;min-height:250px;padding:24px;border:1px solid rgba(255,255,255,.12);border-radius:24px;background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));cursor:pointer;overflow:hidden;transition:border-color .2s ease,transform .2s ease,background .2s ease,box-shadow .2s ease}
.mode-choice-card:hover{transform:translateY(-3px);border-color:rgba(255,255,255,.23);box-shadow:0 18px 50px rgba(0,0,0,.18)}
.mode-choice-card input{position:absolute;opacity:0;pointer-events:none}
.mode-choice-card:has(input:checked){border-color:rgba(139,92,246,.85);background:linear-gradient(180deg,rgba(139,92,246,.17),rgba(139,92,246,.055));box-shadow:0 20px 60px rgba(76,29,149,.24)}
.mode-choice-talent:has(input:checked){border-color:rgba(34,211,238,.8);background:linear-gradient(180deg,rgba(34,211,238,.14),rgba(34,211,238,.04));box-shadow:0 20px 60px rgba(8,145,178,.18)}
.mode-choice-both:has(input:checked){border-color:rgba(244,114,182,.75);background:linear-gradient(180deg,rgba(244,114,182,.14),rgba(139,92,246,.05))}
.mode-choice-check{position:absolute;top:16px;right:16px;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:rgba(255,255,255,.08);color:transparent;font-weight:900;transition:.2s ease}
.mode-choice-card:has(input:checked) .mode-choice-check{background:#fff;color:#111827}
.mode-choice-symbol{display:grid;place-items:center;width:52px;height:52px;border-radius:17px;background:rgba(139,92,246,.17);border:1px solid rgba(139,92,246,.32);font-weight:900;font-size:18px;color:#d8b4fe}
.mode-choice-talent .mode-choice-symbol{background:rgba(34,211,238,.12);border-color:rgba(34,211,238,.27);color:#67e8f9}
.mode-choice-both .mode-choice-symbol{background:linear-gradient(135deg,rgba(139,92,246,.2),rgba(244,114,182,.17));border-color:rgba(244,114,182,.25);color:#f9a8d4;font-size:14px}
.mode-choice-copy{display:grid;gap:9px;padding-top:3px}
.mode-choice-eyebrow,.settings-section-kicker,.account-mode-eyebrow{font-size:11px;letter-spacing:.15em;font-weight:900;color:var(--muted);text-transform:uppercase}
.mode-choice-copy strong{font-size:22px;line-height:1.15}
.mode-choice-copy>span:last-child{font-size:14px;line-height:1.6;color:var(--muted)}
.mode-choice-arrow{align-self:end;font-size:24px;color:var(--muted);transition:transform .2s ease,color .2s ease}
.mode-choice-card:hover .mode-choice-arrow,.mode-choice-card:has(input:checked) .mode-choice-arrow{transform:translateX(4px);color:#fff}
.mode-onboarding-note{display:flex;align-items:flex-start;gap:12px;padding:16px 18px;border:1px solid rgba(255,255,255,.09);border-radius:16px;background:rgba(255,255,255,.025);color:var(--muted)}
.mode-onboarding-note>span{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:9px;background:rgba(255,255,255,.07);color:#fff}
.mode-onboarding-note p{margin:2px 0 0;line-height:1.55}
.mode-onboarding-actions{justify-content:center;margin-top:0}

.account-settings-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px}
.settings-grid-v2{align-items:start}
.settings-aside-stack{display:grid;gap:18px;position:sticky;top:110px}
.settings-side-card{position:static}
.account-mode-settings{overflow:hidden}
.account-mode-header{align-items:flex-start}
.account-mode-header p{max-width:680px;margin-top:6px}
.account-mode-count{display:inline-flex;align-items:center;justify-content:center;min-width:72px;padding:8px 12px;border-radius:999px;background:rgba(139,92,246,.12);border:1px solid rgba(139,92,246,.24);color:#ddd6fe;font-size:12px;font-weight:800}
.account-mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:22px}
.account-mode-card{display:flex;flex-direction:column;gap:18px;min-height:360px;padding:22px;border:1px solid rgba(255,255,255,.1);border-radius:21px;background:rgba(255,255,255,.025)}
.account-mode-card.is-active{background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));border-color:rgba(255,255,255,.17)}
.account-mode-card-creator.is-active{box-shadow:inset 0 3px 0 rgba(139,92,246,.8)}
.account-mode-card-talent.is-active{box-shadow:inset 0 3px 0 rgba(34,211,238,.75)}
.account-mode-card-top{display:flex;align-items:center;justify-content:space-between;gap:14px}
.account-mode-symbol{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:rgba(139,92,246,.14);border:1px solid rgba(139,92,246,.28);color:#d8b4fe;font-weight:900;font-size:18px}
.account-mode-card-talent .account-mode-symbol{background:rgba(34,211,238,.11);border-color:rgba(34,211,238,.25);color:#67e8f9}
.account-mode-state{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.account-mode-card.is-active .account-mode-state{color:#86efac}
.account-mode-card h3{font-size:22px;margin:7px 0 8px}
.account-mode-card p{color:var(--muted);line-height:1.58;margin:0}
.account-mode-card form,.account-mode-card>.button{margin-top:auto}
.account-mode-status-line{display:flex;align-items:center;gap:10px;margin-top:auto;padding:13px 14px;border-radius:14px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.07)}
.account-mode-status-line>div{display:grid;gap:2px;min-width:0}
.account-mode-status-line strong{font-size:13px}
.account-mode-status-line span:last-child{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-mode-explainer{display:flex;gap:12px;align-items:flex-start;margin-top:17px;padding:14px 16px;border-radius:15px;background:rgba(139,92,246,.065);border:1px solid rgba(139,92,246,.14);color:var(--muted)}
.account-mode-explainer>span{display:grid;place-items:center;width:24px;height:24px;flex:0 0 24px;border-radius:50%;background:rgba(139,92,246,.18);color:#ddd6fe;font-weight:900}
.account-mode-explainer p{margin:1px 0 0;line-height:1.5}
.notification-preference-stack .checkbox-row span{display:grid;gap:3px}
.notification-preference-stack .checkbox-row small{color:var(--muted);font-weight:400}
.danger-zone-card{border-color:rgba(248,113,113,.16)}

.dashboard-v2-mode-manager{display:flex;align-items:center;gap:11px;margin:12px 12px 0;padding:13px;border-radius:14px;border:1px dashed rgba(255,255,255,.14);background:rgba(255,255,255,.025);color:inherit;text-decoration:none;transition:.2s ease}
.dashboard-v2-mode-manager:hover{border-color:rgba(139,92,246,.4);background:rgba(139,92,246,.07)}
.dashboard-v2-mode-manager>span{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:rgba(139,92,246,.13);color:#c4b5fd;font-weight:900}
.dashboard-v2-mode-manager>div{display:grid;gap:2px}
.dashboard-v2-mode-manager strong{font-size:12px}
.dashboard-v2-mode-manager small{font-size:10px;color:var(--muted)}
.dashboard-v2-add-mode-note{display:flex;align-items:flex-start;gap:10px;margin-top:15px;padding:13px 14px;border-radius:14px;background:rgba(255,255,255,.025);border:1px dashed rgba(255,255,255,.1);color:var(--muted)}
.dashboard-v2-add-mode-note>span{display:grid;place-items:center;width:26px;height:26px;flex:0 0 26px;border-radius:9px;background:rgba(255,255,255,.06);color:#fff}
.dashboard-v2-add-mode-note p{margin:2px 0 0;font-size:12px;line-height:1.5}
.dashboard-v2-add-mode-note a{color:#ddd6fe}
.dashboard-v2-fact-strip-1{grid-template-columns:repeat(3,minmax(0,1fr))}
.dashboard-v2-fact-strip-2{grid-template-columns:repeat(4,minmax(0,1fr))}

@media (max-width:980px){
  .mode-choice-grid{grid-template-columns:1fr}
  .mode-choice-card{min-height:0}
  .account-mode-grid{grid-template-columns:1fr}
  .settings-aside-stack{position:static}
  .dashboard-v2-mode-manager{min-width:230px;margin:0}
}
@media (max-width:720px){
  .account-settings-heading{align-items:flex-start;flex-direction:column}
  .mode-choice-card{grid-template-columns:auto 1fr;padding:20px}
  .mode-choice-arrow{display:none}
  .account-mode-card{min-height:0}
  .dashboard-v2-fact-strip-1,.dashboard-v2-fact-strip-2{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:500px){
  .dashboard-v2-fact-strip-1,.dashboard-v2-fact-strip-2{grid-template-columns:1fr 1fr}
  .account-mode-header{display:grid;gap:12px}
  .account-mode-count{justify-self:start}
}

/* Phase 3.9 — dashboard readability and icon scale
   Raises the dashboard's minimum readable type size, reduces excessive hierarchy
   jumps, and makes navigation/action symbols easier to recognize at a glance. */
.dashboard-v2-layout { grid-template-columns: 270px minmax(0,1fr); }
.dashboard-v2-kicker,
.dashboard-v2-section-kicker { font-size: .72rem; letter-spacing: .14em; }
.dashboard-v2-command-copy p { font-size: .94rem; line-height: 1.62; }

.dashboard-v2-fact { gap: 6px; padding: 21px 25px; }
.dashboard-v2-fact span { font-size: .7rem; }
.dashboard-v2-fact strong { font-size: 1.7rem; }
.dashboard-v2-fact small { font-size: .74rem; line-height: 1.35; }

.dashboard-v2-rail-user { gap: 14px; padding: 20px; }
.dashboard-v2-rail-avatar { width: 46px; height: 46px; border-radius: 14px; font-size: 1rem; }
.dashboard-v2-rail-user div { gap: 4px; }
.dashboard-v2-rail-user strong { font-size: .86rem; }
.dashboard-v2-rail-user span:not(.dashboard-v2-rail-avatar) { font-size: .72rem; }
.dashboard-v2-nav { padding: 12px; }
.dashboard-v2-nav-group { gap: 5px; padding: 10px 0; }
.dashboard-v2-nav-label { padding: 6px 10px; font-size: .63rem; }
.dashboard-v2-nav a {
  grid-template-columns: 34px minmax(0,1fr) auto;
  gap: 10px;
  min-height: 48px;
  padding: 7px 10px;
  border-radius: 11px;
  font-size: .84rem;
  line-height: 1.25;
}
.dashboard-v2-nav-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: .8rem;
}
.dashboard-v2-nav a b { min-width: 23px; height: 23px; font-size: .65rem; }
.dashboard-v2-rail-status { gap: 12px; padding: 18px 20px; }
.dashboard-v2-status-dot { width: 10px; height: 10px; margin-top: 5px; }
.dashboard-v2-rail-status div { gap: 5px; }
.dashboard-v2-rail-status strong { font-size: .78rem; line-height: 1.35; }
.dashboard-v2-rail-status a { font-size: .73rem; }

.dashboard-v2-main { gap: 26px; }
.dashboard-v2-section-heading { margin-bottom: 18px; }
.dashboard-v2-section-heading h2,
.dashboard-v2-card-heading h2,
.dashboard-v2-workspace-header h2 { font-size: 1.5rem; line-height: 1.15; }
.dashboard-v2-section-heading p,
.dashboard-v2-workspace-title p { font-size: .84rem; line-height: 1.55; }

.dashboard-v2-action-grid { gap: 14px; }
.dashboard-v2-action-card {
  grid-template-columns: 44px minmax(0,1fr) auto;
  gap: 16px;
  min-height: 118px;
  padding: 21px;
}
.dashboard-v2-action-number { width: 44px; height: 44px; border-radius: 13px; font-size: .8rem; }
.dashboard-v2-action-card strong { margin-bottom: 6px; font-size: .92rem; line-height: 1.3; }
.dashboard-v2-action-card p { font-size: .79rem; line-height: 1.55; }
.dashboard-v2-action-arrow { font-size: 1.2rem; }

.dashboard-v2-workspace-header { padding: 27px 27px 22px; }
.dashboard-v2-workspace-title { gap: 16px; }
.dashboard-v2-mode-badge { padding: 7px 10px; border-radius: 9px; font-size: .64rem; }
.dashboard-v2-profile-line {
  grid-template-columns: 46px minmax(0,1fr) auto auto;
  gap: 14px;
  margin: 20px 27px 0;
  padding: 15px 17px;
}
.dashboard-v2-profile-line > img,
.dashboard-v2-profile-line > span:first-child { width: 46px; height: 46px; border-radius: 13px; font-size: .95rem; }
.dashboard-v2-profile-line div { gap: 4px; }
.dashboard-v2-profile-line strong { font-size: .85rem; }
.dashboard-v2-profile-line small { font-size: .73rem; }
.dashboard-v2-ready-chip { padding: 6px 10px; font-size: .68rem; }
.dashboard-v2-inline-empty {
  grid-template-columns: 46px minmax(0,1fr) auto;
  gap: 15px;
  margin: 20px 27px 0;
  padding: 17px;
}
.dashboard-v2-inline-empty-icon { width: 46px; height: 46px; border-radius: 13px; font-size: .9rem; }
.dashboard-v2-inline-empty strong { font-size: .86rem; }
.dashboard-v2-inline-empty p { margin-top: 5px; font-size: .77rem; line-height: 1.55; }

.dashboard-v2-list { padding: 18px 27px 27px; }
.dashboard-v2-listing-row,
.dashboard-v2-application-row { gap: 20px; padding: 20px 0; }
.dashboard-v2-application-row { grid-template-columns: 46px minmax(0,1fr) auto; }
.dashboard-v2-row-topline { gap: 10px; margin-bottom: 8px; }
.dashboard-v2-row-topline > span:last-child { font-size: .72rem; }
.dashboard-v2-listing-row h3,
.dashboard-v2-application-row h3 { margin-bottom: 6px; font-size: 1rem; line-height: 1.3; }
.dashboard-v2-listing-row p,
.dashboard-v2-application-row p { font-size: .77rem; line-height: 1.45; }
.dashboard-v2-row-actions > .text-link { font-size: .74rem; }
.dashboard-v2-row-menu summary { width: 38px; height: 38px; border-radius: 11px; font-size: .9rem; }
.dashboard-v2-row-menu > div { width: 210px; gap: 13px; padding: 15px; }
.dashboard-v2-row-menu label { font-size: .67rem; }
.dashboard-v2-row-menu button { font-size: .76rem; }
.dashboard-v2-application-icon { width: 46px; height: 46px; border-radius: 13px; font-size: .9rem; }

.dashboard-v2-workspace-empty {
  grid-template-columns: 62px minmax(0,1fr) auto;
  gap: 19px;
  margin: 20px 27px 27px;
  padding: 26px;
}
.dashboard-v2-empty-mark { width: 62px; height: 62px; border-radius: 17px; font-size: 1.25rem; }
.dashboard-v2-workspace-empty h3 { margin-bottom: 7px; font-size: 1.02rem; }
.dashboard-v2-workspace-empty p { font-size: .8rem; line-height: 1.55; }

.dashboard-v2-updates-card,
.dashboard-v2-profile-card { padding: 26px; }
.dashboard-v2-card-heading { margin-bottom: 19px; }
.dashboard-v2-update { grid-template-columns: 10px minmax(0,1fr) auto; gap: 14px; padding: 16px 4px; }
.dashboard-v2-update-dot { width: 8px; height: 8px; }
.dashboard-v2-update strong { margin-bottom: 5px; font-size: .84rem; }
.dashboard-v2-update p { font-size: .74rem; }
.dashboard-v2-update > span:last-child { font-size: 1rem; }
.dashboard-v2-small-empty strong { font-size: .86rem; }
.dashboard-v2-small-empty p { font-size: .76rem; line-height: 1.5; }
.dashboard-v2-mode-row { grid-template-columns: 46px minmax(0,1fr) auto; gap: 14px; padding: 17px 0; }
.dashboard-v2-mode-symbol { width: 46px; height: 46px; border-radius: 13px; font-size: .82rem; }
.dashboard-v2-mode-row strong { font-size: .84rem; }
.dashboard-v2-mode-row p { margin-top: 5px; font-size: .72rem; }
.dashboard-v2-mode-row > span:last-child { font-size: .72rem; }

.dashboard-v2-mode-manager { gap: 13px; padding: 15px; }
.dashboard-v2-mode-manager > span { width: 38px; height: 38px; border-radius: 12px; font-size: .9rem; }
.dashboard-v2-mode-manager > div { gap: 4px; }
.dashboard-v2-mode-manager strong { font-size: .8rem; }
.dashboard-v2-mode-manager small { font-size: .7rem; line-height: 1.35; }
.dashboard-v2-add-mode-note { gap: 12px; padding: 15px 16px; }
.dashboard-v2-add-mode-note > span { width: 34px; height: 34px; flex-basis: 34px; border-radius: 11px; font-size: .85rem; }
.dashboard-v2-add-mode-note p { font-size: .76rem; }

@media (max-width: 1080px) {
  .dashboard-v2-nav { padding: 10px; }
  .dashboard-v2-nav-group { gap: 6px; padding-inline: 9px; }
  .dashboard-v2-nav a { grid-template-columns: 32px auto auto; min-height: 46px; font-size: .82rem; }
  .dashboard-v2-nav-icon { width: 32px; height: 32px; }
}

@media (max-width: 820px) {
  .dashboard-v2-profile-line { grid-template-columns: 46px minmax(0,1fr) auto; }
  .dashboard-v2-application-row { grid-template-columns: 46px minmax(0,1fr); }
  .dashboard-v2-workspace-empty { grid-template-columns: 62px minmax(0,1fr); }
}

@media (max-width: 600px) {
  .dashboard-v2-command-copy p { font-size: .88rem; }
  .dashboard-v2-fact span { font-size: .66rem; }
  .dashboard-v2-fact small { font-size: .7rem; }
  .dashboard-v2-action-card { grid-template-columns: 42px minmax(0,1fr); min-height: 112px; padding: 19px; }
  .dashboard-v2-action-number { width: 42px; height: 42px; }
  .dashboard-v2-workspace-header,
  .dashboard-v2-list,
  .dashboard-v2-updates-card,
  .dashboard-v2-profile-card { padding-inline: 20px; }
  .dashboard-v2-profile-line,
  .dashboard-v2-inline-empty,
  .dashboard-v2-workspace-empty { margin-inline: 20px; }
  .dashboard-v2-profile-line { grid-template-columns: 46px minmax(0,1fr); }
  .dashboard-v2-inline-empty { grid-template-columns: 46px minmax(0,1fr); }
  .dashboard-v2-workspace-empty { grid-template-columns: 1fr; }
}

/* Phase 4.0 — index refinement, brand mark, hiring-room hero, and seamless role ticker */
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(145deg, #9b6cff 0%, #6d4aff 58%, #22d3ee 120%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 12px 28px rgba(109,74,255,.3);
}
.brand-mark-svg { width: 25px; height: 25px; overflow: visible; }
.brand-mark-c { fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; }
.brand-mark-play { fill: #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.18)); }

.hero-refined { padding-top: 82px; }
.hero-lobby-stage { isolation: isolate; }
.hiring-room-window {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 26px;
  background:
    radial-gradient(circle at 15% 10%, rgba(139,92,246,.16), transparent 26rem),
    linear-gradient(145deg, rgba(20,24,40,.98), rgba(10,13,23,.98));
  box-shadow: var(--shadow), 0 0 0 1px rgba(139,92,246,.08);
  transform: perspective(1400px) rotateY(-2.2deg) rotateX(.8deg);
}
.hiring-room-window::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.04), transparent 28%);
}
.hiring-room-topbar {
  position: relative;
  z-index: 2;
  min-height: 54px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 0 17px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(7,9,16,.58);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .075em;
}
.hiring-room-status { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.hiring-room-count { justify-self: end; color: #9299aa; letter-spacing: 0; text-transform: none; }
.hiring-room-body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(250px,1.08fr);
  gap: 14px;
  padding: 18px;
}
.hiring-channel-card,
.hiring-role-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
}
.hiring-channel-visual {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(251,79,163,.22), transparent 28%),
    radial-gradient(circle at 45% 45%, rgba(139,92,246,.3), transparent 45%),
    #111522;
}
.hiring-channel-avatar {
  position: relative;
  z-index: 2;
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 38% 38% 31% 31%;
  background: linear-gradient(145deg, #303854, #171b2c);
  box-shadow: 0 22px 60px rgba(0,0,0,.42), 0 0 42px rgba(139,92,246,.18);
  font: 800 2.2rem "Space Grotesk", sans-serif;
}
.hiring-channel-live {
  position: absolute;
  z-index: 3;
  left: 14px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(7,9,16,.72);
  font-size: .61rem;
  font-weight: 900;
  letter-spacing: .09em;
}
.hiring-channel-copy { padding: 14px 16px 16px; }
.hiring-channel-copy > span,
.hiring-role-eyebrow > span,
.candidate-queue-heading span {
  color: #9f8cff;
  font-size: .61rem;
  font-weight: 900;
  letter-spacing: .11em;
}
.hiring-channel-copy strong { display: block; margin-top: 5px; font: 700 1.03rem "Space Grotesk", sans-serif; }
.hiring-channel-copy p { margin: 4px 0 0; color: #8f96a8; font-size: .72rem; }
.hiring-role-card { align-self: stretch; padding: 20px; background: linear-gradient(145deg, rgba(139,92,246,.1), rgba(255,255,255,.025)); }
.hiring-role-eyebrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hiring-role-eyebrow b { color: var(--green); border: 1px solid rgba(88,230,169,.25); border-radius: 7px; background: rgba(88,230,169,.08); padding: 4px 7px; font-size: .59rem; letter-spacing: .08em; }
.hiring-role-card h3 { margin: 23px 0 7px; font: 700 1.42rem/1.08 "Space Grotesk", sans-serif; letter-spacing: -.035em; }
.hiring-role-card > p { margin: 0; color: #969daf; font-size: .76rem; line-height: 1.5; }
.hiring-role-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 23px 0; }
.hiring-role-tags span { padding: 7px 9px; border: 1px solid rgba(255,255,255,.09); border-radius: 99px; background: rgba(5,7,13,.38); color: #c9cddd; font-size: .62rem; font-weight: 700; }
.hiring-role-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); color: #7f8698; font-size: .64rem; }
.hiring-role-footer strong { color: #d5ccff; white-space: nowrap; }
.candidate-queue { position: relative; z-index: 2; padding: 0 18px 18px; }
.candidate-queue-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; padding: 2px 2px 10px; }
.candidate-queue-heading div > span { display: block; }
.candidate-queue-heading strong { display: block; margin-top: 4px; font-size: .8rem; }
.candidate-queue-heading > span { color: #747b8d; letter-spacing: 0; }
.candidate-row {
  min-height: 66px;
  display: grid;
  grid-template-columns: auto minmax(130px,1fr) minmax(150px,auto) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 13px;
  background: rgba(255,255,255,.025);
}
.candidate-row + .candidate-row { margin-top: 8px; }
.candidate-row-featured { border-color: rgba(139,92,246,.25); background: rgba(139,92,246,.075); }
.candidate-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: white; font-weight: 900; }
.candidate-purple { background: linear-gradient(145deg, #9b6cff, #6d4aff); }
.candidate-cyan { background: linear-gradient(145deg, #1db9d1, #4168e9); }
.candidate-row strong, .candidate-row small { display: block; }
.candidate-row strong { font-size: .76rem; }
.candidate-row small { margin-top: 3px; color: #81889a; font-size: .63rem; }
.candidate-signals { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 5px; }
.candidate-signals span { padding: 5px 7px; border-radius: 7px; background: rgba(255,255,255,.045); color: #aeb4c3; font-size: .56rem; font-weight: 750; }
.candidate-row > b { color: var(--green); font-size: .63rem; }

.signal-strip { position: relative; }
.signal-strip::before,
.signal-strip::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  width: min(9vw, 110px);
  pointer-events: none;
}
.signal-strip::before { left: 0; background: linear-gradient(90deg, #0a0c14, transparent); }
.signal-strip::after { right: 0; background: linear-gradient(-90deg, #0a0c14, transparent); }
.signal-track {
  min-height: 56px;
  width: max-content;
  display: flex;
  align-items: stretch;
  gap: 0;
  padding-left: 0;
  animation: signal-marquee 34s linear infinite;
  will-change: transform;
}
.signal-group { flex: none; display: flex; align-items: center; gap: 27px; padding: 0 27px 0 0; }
.signal-group span { white-space: nowrap; }
.signal-group i { color: #765cff; font-style: normal; }
.signal-strip:hover .signal-track { animation-play-state: paused; }
@keyframes signal-marquee { to { transform: translateX(-50%); } }

@media (max-width: 1020px) {
  .hiring-room-window { transform: none; }
  .hiring-room-body { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 690px) {
  .hero-refined { padding-top: 52px; }
  .hiring-room-window { min-height: 0; border-radius: 20px; }
  .hiring-room-topbar { grid-template-columns: 1fr auto; }
  .hiring-room-topbar .window-dots { display: none; }
  .hiring-room-status { justify-self: start; }
  .hiring-room-body { grid-template-columns: 1fr; }
  .hiring-channel-visual { min-height: 190px; }
  .candidate-row { grid-template-columns: auto 1fr auto; }
  .candidate-signals { display: none; }
  .floating-badge { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .signal-track { animation: none; transform: none; }
}

/* Phase 4.1: consented Twitch-follow and Discord-membership verification. */
.integration-capability-ready,
.integration-capability-needed {
  margin: 14px 0;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.integration-capability-ready {
  color: var(--green);
  background: color-mix(in srgb, var(--green) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--green) 30%, transparent);
}

.integration-capability-needed {
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
}

.community-setup-card {
  margin-top: 24px;
  padding: clamp(22px, 3vw, 34px);
}

.community-setup-heading,
.application-community-heading,
.community-connection-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.community-setup-heading h2,
.application-community-heading h3,
.community-connection-heading h2 {
  margin: 6px 0 8px;
}

.community-setup-heading p,
.application-community-heading p,
.community-connection-heading p {
  margin: 0;
  color: var(--text-soft);
}

.community-privacy-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
  border-radius: 999px;
  color: var(--accent-light, var(--accent));
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.community-setup-grid,
.application-community-options,
.community-connection-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.community-setup-option,
.application-community-option,
.community-connection-detail,
.community-verification-control {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.community-setup-option h3,
.application-community-option strong,
.community-connection-detail strong,
.community-verification-control strong {
  margin: 0 0 6px;
}

.community-setup-option p,
.application-community-option p,
.community-connection-detail p,
.community-verification-control p {
  margin: 0 0 12px;
  color: var(--text-soft);
  line-height: 1.5;
}

.community-provider-icon {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 900;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.community-provider-icon.is-twitch {
  background: linear-gradient(145deg, #9146ff, #5f23bf);
}

.community-provider-icon.is-discord {
  background: linear-gradient(145deg, #5865f2, #3540b9);
}

.community-guild-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.community-guild-form .select {
  flex: 1 1 260px;
}

.application-community-choice {
  margin: 22px 0;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border));
  border-radius: 16px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 7%, transparent), rgba(255, 255, 255, 0.015));
}

.application-community-option .checkbox-row {
  margin-top: 12px;
}

.community-proof-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 14px;
}

.community-proof {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 750;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.035);
}

.community-proof b {
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 6px;
  color: #fff;
  font-size: 0.68rem;
}

.community-proof.is-twitch {
  border-color: rgba(145, 70, 255, 0.38);
  background: rgba(145, 70, 255, 0.09);
}

.community-proof.is-twitch b {
  background: #9146ff;
}

.community-proof.is-discord {
  border-color: rgba(88, 101, 242, 0.4);
  background: rgba(88, 101, 242, 0.09);
}

.community-proof.is-discord b {
  background: #5865f2;
}

.community-connection-card {
  overflow: hidden;
}

.community-connection-detail {
  min-height: 132px;
}

.community-connection-detail small {
  display: block;
  color: var(--text-faint, var(--text-soft));
  line-height: 1.4;
}

.community-connection-empty {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 18px;
  border: 1px dashed var(--border);
  border-radius: 14px;
  color: var(--text-soft);
}

.community-connection-empty > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 1.25rem;
}

.community-connection-empty strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}

.community-connection-empty p {
  margin: 0;
}

.community-verification-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.community-verification-control {
  align-items: center;
  justify-content: space-between;
}

.community-verification-control > div {
  min-width: 0;
}

.community-verification-control p {
  margin-bottom: 0;
}

.compare-community-block {
  margin: 14px 0;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
}

.compare-community-block > span {
  display: block;
  margin-bottom: 8px;
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.compare-community-block .community-proof-row {
  margin: 0;
}

@media (max-width: 760px) {
  .community-setup-heading,
  .application-community-heading,
  .community-connection-heading {
    flex-direction: column;
    gap: 12px;
  }

  .community-setup-grid,
  .application-community-options,
  .community-connection-detail-grid {
    grid-template-columns: 1fr;
  }

  .community-verification-control {
    align-items: flex-start;
    flex-direction: column;
  }
}

.community-verification-status-list {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.community-verification-status-list p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.86rem;
}

/* Phase 4.2: listing-flow and application-selection hardening. */
.listing-date-selects {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(88px, .7fr) minmax(104px, .8fr);
  gap: 10px;
}

.listing-date-field small {
  display: block;
  margin-top: 7px;
}

.listing-publish-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-color: rgba(139, 92, 246, .28);
  background:
    radial-gradient(circle at 88% 18%, rgba(139, 92, 246, .12), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, .012));
}

.listing-publish-summary h2 {
  margin: 4px 0 7px;
}

.listing-publish-summary p {
  max-width: 720px;
  margin: 0;
}

.listing-form-actions,
.listing-submit-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.listing-form-actions {
  justify-content: space-between;
}

.application-contact-banner-section {
  padding: 26px 0 0;
}

.contact-reveal-top {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) minmax(260px, auto);
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  border-color: rgba(88, 230, 169, .46);
  background:
    radial-gradient(circle at 84% 20%, rgba(88, 230, 169, .14), transparent 34%),
    linear-gradient(145deg, rgba(88, 230, 169, .09), var(--panel));
  box-shadow: 0 18px 52px rgba(0, 0, 0, .22);
}

.contact-reveal-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 17px;
  color: #07140f;
  background: var(--success, #58e6a9);
  font-size: 1.45rem;
  font-weight: 950;
  box-shadow: 0 0 0 7px rgba(88, 230, 169, .09);
}

.contact-reveal-copy h2 {
  margin: 3px 0 6px;
}

.contact-reveal-copy p,
.contact-reveal-note {
  margin: 0;
}

.contact-reveal-details {
  display: grid;
  gap: 9px;
}

.contact-reveal-details > * {
  display: grid;
  gap: 2px;
  min-width: 240px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: rgba(5, 12, 10, .34);
}

.contact-reveal-details span {
  color: var(--text-soft);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.contact-reveal-details strong {
  overflow-wrap: anywhere;
}

.contact-reveal-note {
  grid-column: 2 / -1;
  color: var(--text-soft);
  font-size: .82rem;
}

.dashboard-v2-listing-row.is-filled {
  border-color: rgba(88, 230, 169, .27);
  background:
    linear-gradient(90deg, rgba(88, 230, 169, .065), transparent 42%),
    rgba(255, 255, 255, .018);
}

.dashboard-listing-status-form {
  display: grid;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.dashboard-v2-row-menu .dashboard-menu-action {
  width: 100%;
  padding: 8px 0;
  border: 0;
  color: #b6a9f5;
  background: none;
  text-align: left;
  font: 750 .76rem Inter, sans-serif;
  cursor: pointer;
}

.dashboard-v2-row-menu .dashboard-menu-action:hover {
  color: #fff;
}

.dashboard-v2-row-menu .dashboard-menu-action.is-danger {
  color: #fb7185;
}

[data-core-autosave-error][hidden] {
  display: none;
}

@media (max-width: 820px) {
  .contact-reveal-top {
    grid-template-columns: auto 1fr;
  }

  .contact-reveal-details,
  .contact-reveal-note {
    grid-column: 1 / -1;
  }

  .contact-reveal-details > * {
    min-width: 0;
  }
}

@media (max-width: 680px) {
  .listing-date-selects {
    grid-template-columns: 1fr;
  }

  .listing-publish-summary,
  .listing-form-actions,
  .listing-submit-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .listing-submit-actions .button,
  .listing-form-actions > .button {
    width: 100%;
  }

  .contact-reveal-top {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .contact-reveal-mark {
    width: 46px;
    height: 46px;
  }

  .contact-reveal-details,
  .contact-reveal-note {
    grid-column: auto;
  }
}

/* Phase 4.4 — live broadcast wall on the homepage. */
@media (min-width: 1021px) {
  .hero-refined .hero-grid {
    grid-template-columns: minmax(390px, .76fr) minmax(650px, 1.24fr);
    gap: 42px;
  }
}

.live-lobby-stage {
  isolation: isolate;
}

.live-lobby-console {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 27px;
  background:
    radial-gradient(circle at 50% 15%, rgba(139,92,246,.16), transparent 31rem),
    linear-gradient(150deg, rgba(22,26,42,.98), rgba(8,10,18,.99));
  box-shadow: var(--shadow), 0 0 0 1px rgba(139,92,246,.09), 0 0 90px rgba(80,56,180,.14);
  transform: perspective(1500px) rotateY(-1.7deg) rotateX(.5deg);
}

.live-lobby-console::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.055), transparent 24%);
  z-index: 8;
}

.live-lobby-console-bar {
  position: relative;
  z-index: 10;
  min-height: 54px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 0 17px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(5,7,13,.72);
  font-size: .67rem;
  font-weight: 850;
  letter-spacing: .075em;
}

.live-lobby-console-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.live-lobby-console-count {
  justify-self: end;
  color: #969daf;
  letter-spacing: 0;
  text-transform: none;
}

.live-tv-wall {
  position: relative;
  z-index: 2;
  min-height: 418px;
  display: grid;
  grid-template-columns: minmax(105px,.58fr) minmax(200px,1fr) minmax(200px,1fr) minmax(105px,.58fr);
  grid-template-rows: repeat(2, minmax(178px,1fr));
  gap: 13px;
  align-items: center;
  padding: 20px 17px 14px;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 28px 28px;
}

.live-tv {
  position: relative;
  min-width: 0;
  color: inherit;
}

button.live-tv {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.live-tv-one { grid-column: 1; grid-row: 1; transform: rotate(-2.2deg) translateY(7px); }
.live-tv-two { grid-column: 4; grid-row: 1; transform: rotate(2deg) translateY(-4px); }
.live-tv-three { grid-column: 1; grid-row: 2; transform: rotate(1.5deg) translateY(-6px); }
.live-tv-four { grid-column: 4; grid-row: 2; transform: rotate(-1.8deg) translateY(6px); }
.live-tv-main { grid-column: 2 / 4; grid-row: 1 / 3; align-self: stretch; min-width: 400px; }

.live-tv-bezel {
  display: block;
  position: relative;
  height: 100%;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 17px;
  background: linear-gradient(145deg, #2b3040, #11141e 55%, #080a10);
  box-shadow: 0 16px 38px rgba(0,0,0,.44), inset 0 1px rgba(255,255,255,.12);
}

.live-tv-main .live-tv-bezel {
  padding: 11px 11px 8px;
  border-radius: 22px;
  box-shadow: 0 25px 65px rgba(0,0,0,.52), 0 0 0 1px rgba(139,92,246,.08), inset 0 1px rgba(255,255,255,.14);
}

.live-tv-screen {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: #070910;
  box-shadow: inset 0 0 28px rgba(0,0,0,.65);
}

.live-tv-main-screen {
  height: calc(100% - 38px);
  min-height: 318px;
  aspect-ratio: auto;
  border-radius: 14px;
}

.live-tv-screen img,
.live-tv-player,
.live-tv-player iframe {
  width: 100%;
  height: 100%;
}

.live-tv-screen img {
  display: block;
  object-fit: cover;
  transition: opacity .42s ease, filter .42s ease, transform 8s linear;
}

.live-tv-small:hover img,
.live-tv-small:focus-visible img {
  transform: scale(1.055);
}

.live-tv-small:hover .live-tv-bezel,
.live-tv-small:focus-visible .live-tv-bezel,
.live-tv-small.is-next .live-tv-bezel {
  border-color: rgba(139,92,246,.65);
  box-shadow: 0 18px 42px rgba(0,0,0,.5), 0 0 24px rgba(139,92,246,.2), inset 0 1px rgba(255,255,255,.15);
}

.live-tv-player {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: #05060a;
}

.live-tv-main-image {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.live-tv-test-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, #5d3fff 0 14%, #21c9dd 14% 28%, #f1d35b 28% 42%, #53d99a 42% 56%, #f45a9f 56% 70%, #425ae6 70% 84%, #161a27 84% 100%);
  opacity: .68;
}

.live-tv-test-pattern::after {
  content: "";
  position: absolute;
  inset: 44% 0 0;
  background: repeating-linear-gradient(90deg, #0b0d15 0 12%, #f4f4f5 12% 20%, #242a38 20% 32%);
  opacity: .72;
}

.live-tv-main-fallback {
  align-content: center;
  gap: 7px;
  padding: 40px;
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(139,92,246,.38), transparent 34%),
    linear-gradient(135deg, #181d31, #080a12);
  opacity: 1;
}

.live-tv-main-fallback::after {
  display: none;
}

.live-tv-main-fallback > * {
  position: relative;
  z-index: 2;
}

.live-tv-main-fallback span {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin: 0 auto 3px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--purple), var(--cyan));
  box-shadow: 0 15px 40px rgba(83,63,220,.35);
  font: 800 1.25rem "Space Grotesk", sans-serif;
}

.live-tv-main-fallback b {
  font: 750 .76rem "Space Grotesk", sans-serif;
  letter-spacing: .11em;
}

.live-tv-main-fallback small {
  max-width: 330px;
  color: #9ea5b7;
  font-size: .66rem;
  line-height: 1.55;
}

.live-tv-scanlines {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  border-radius: inherit;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.018) 0, rgba(255,255,255,.018) 1px, transparent 1px, transparent 4px);
  mix-blend-mode: overlay;
}

.live-tv-static {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  opacity: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 160 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 155px 100px;
}

.live-tv-main.is-switching .live-tv-static {
  animation: live-tv-static-burst .72s steps(2,end);
}

.live-tv-main.is-switching .live-tv-main-image,
.live-tv-main.is-switching .live-tv-player {
  filter: saturate(.2) contrast(1.35);
}

@keyframes live-tv-static-burst {
  0% { opacity: 0; transform: translateX(0); }
  14%, 68% { opacity: .72; transform: translateX(-2px); }
  35% { opacity: .95; transform: translateX(3px); }
  100% { opacity: 0; transform: translateX(0); }
}

.live-tv-main-bug,
.live-tv-mini-live {
  position: absolute;
  z-index: 9;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(5,7,12,.78);
  backdrop-filter: blur(10px);
  color: #f3f3f8;
  font-weight: 900;
  letter-spacing: .08em;
}

.live-tv-main-bug {
  left: 12px;
  top: 12px;
  max-width: calc(100% - 24px);
  padding: 7px 9px;
  border-radius: 8px;
  font-size: .58rem;
}

.live-tv-mini-live {
  right: 6px;
  top: 6px;
  padding: 4px 5px;
  border-radius: 5px;
  font-size: .45rem;
}

.live-tv-controls,
.live-tv-main-controls {
  display: flex;
  align-items: center;
}

.live-tv-controls {
  height: 26px;
  justify-content: flex-end;
  gap: 5px;
  padding: 7px 2px 0;
}

.live-tv-controls i,
.live-tv-main-controls i {
  display: block;
  border-radius: 50%;
  background: #697085;
  box-shadow: inset 0 1px rgba(255,255,255,.25);
}

.live-tv-controls i { width: 7px; height: 7px; }
.live-tv-controls i:first-child { background: #ff536e; }

.live-tv-caption {
  display: block;
  overflow: hidden;
  margin-top: 7px;
  color: #aeb4c4;
  font-size: .56rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-tv-main-controls {
  min-height: 34px;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 3px 0;
}

.live-tv-main-controls > span {
  display: flex;
  gap: 7px;
}

.live-tv-main-controls i { width: 8px; height: 8px; }
.live-tv-main-controls i:first-child { background: #58e6a9; box-shadow: 0 0 12px rgba(88,230,169,.65); }
.live-tv-main-controls button {
  border: 0;
  background: transparent;
  color: #868ea1;
  cursor: pointer;
  font-size: .57rem;
  font-weight: 800;
}
.live-tv-main-controls button:hover { color: #fff; }

.live-lobby-now {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 13px;
  margin: 0 17px 17px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 15px;
  background: rgba(255,255,255,.035);
}

.live-lobby-avatar {
  position: relative;
  width: 48px;
  height: 48px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 13px;
  background: linear-gradient(145deg, #7657ed, #1b9fb6);
  font-weight: 900;
}

.live-lobby-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-lobby-copy { min-width: 0; }
.live-lobby-copy > span {
  display: block;
  overflow: hidden;
  color: #9f8cff;
  font-size: .56rem;
  font-weight: 900;
  letter-spacing: .105em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.live-lobby-copy h3 {
  overflow: hidden;
  margin: 4px 0 2px;
  font: 720 .94rem "Space Grotesk", sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.live-lobby-copy p {
  overflow: hidden;
  margin: 0;
  color: #8d95a8;
  font-size: .64rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.live-lobby-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  color: #aeb4c2;
  font-size: .57rem;
  font-weight: 700;
}
.live-lobby-meta span + span::before { content: "•"; margin-right: 8px; color: #5f6677; }
.live-lobby-open { min-height: 36px; padding-inline: 12px; font-size: .65rem; white-space: nowrap; }

.live-lobby-badge-one { left: -24px; top: 58px; }
.live-lobby-badge-two { right: -24px; bottom: 82px; }

.profile-visibility-stack {
  display: grid;
  gap: 12px;
}
.homepage-live-toggle {
  border-color: rgba(145,70,255,.32);
  background: linear-gradient(135deg, rgba(145,70,255,.1), rgba(34,211,238,.035));
}
.homepage-live-toggle.is-disabled {
  opacity: .68;
  border-style: dashed;
}
.homepage-live-toggle small a { position: relative; z-index: 2; }

@media (max-width: 1180px) and (min-width: 1021px) {
  .hero-refined .hero-grid {
    grid-template-columns: minmax(360px,.72fr) minmax(620px,1.28fr);
    gap: 28px;
  }
  .live-tv-wall {
    grid-template-columns: minmax(95px,.52fr) minmax(200px,1fr) minmax(200px,1fr) minmax(95px,.52fr);
  }
}

@media (max-width: 1020px) {
  .live-lobby-console { transform: none; }
  .live-tv-wall {
    min-height: 0;
    grid-template-columns: repeat(4, minmax(0,1fr));
    grid-template-rows: minmax(340px,auto) auto;
    align-items: stretch;
  }
  .live-tv-main {
    grid-column: 1 / 5;
    grid-row: 1;
    min-width: 0;
  }
  .live-tv-one,
  .live-tv-two,
  .live-tv-three,
  .live-tv-four {
    grid-row: 2;
    transform: none;
  }
  .live-tv-one { grid-column: 1; }
  .live-tv-two { grid-column: 2; }
  .live-tv-three { grid-column: 3; }
  .live-tv-four { grid-column: 4; }
  .live-lobby-badge-one,
  .live-lobby-badge-two { display: none; }
}

@media (max-width: 690px) {
  .live-lobby-console { border-radius: 20px; }
  .live-lobby-console-bar {
    grid-template-columns: 1fr auto;
    padding-inline: 13px;
  }
  .live-lobby-console-bar .window-dots { display: none; }
  .live-tv-wall {
    grid-template-rows: minmax(250px,auto) auto;
    gap: 7px;
    padding: 12px 9px 10px;
  }
  .live-tv-main-screen { min-height: 245px; }
  .live-tv-main .live-tv-bezel { padding: 7px 7px 6px; border-radius: 16px; }
  .live-tv-small .live-tv-bezel { padding: 4px; border-radius: 9px; }
  .live-tv-small .live-tv-screen { border-radius: 5px; }
  .live-tv-controls,
  .live-tv-caption,
  .live-tv-mini-live { display: none; }
  .live-lobby-now {
    grid-template-columns: auto 1fr;
    margin: 0 9px 10px;
    padding: 11px;
  }
  .live-lobby-open { grid-column: 1 / -1; width: 100%; }
  .live-lobby-copy p { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .live-tv-main-fallback { padding: 22px; }
  .live-tv-main-fallback small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .live-tv-main.is-switching .live-tv-static { animation: none; }
  .live-tv-screen img { transition: none; transform: none !important; }
}


/* Phase 4.6 — one real live player, four correctly cropped preview televisions. */
.live-tv-small .live-tv-screen {
  aspect-ratio: 16 / 9;
}

.live-tv-screen img,
.live-tv-main-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.live-tv-player iframe {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
}

.live-tv-main.is-player-visible .live-tv-scanlines {
  opacity: 0;
}

.live-tv-main.is-player-loading .live-tv-main-bug::after {
  content: " · TUNING";
  color: #aeb4c4;
}

.live-lobby-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.live-lobby-actions [data-live-start][hidden] {
  display: none;
}

@media (max-width: 690px) {
  .live-lobby-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr;
  }
  .live-lobby-actions .button {
    width: 100%;
  }
}

/* Phase 4.6.2 — Twitch-visible autoplay layout.
   The real player receives a clean 16:9 area with no decorative layers above it. */
.hero-refined > .shell {
  width: min(1480px, calc(100% - 48px));
}

/* This shine previously sat above the iframe and could fail Twitch's visibility check. */
.live-lobby-console::before {
  z-index: 0;
}

.live-lobby-console-bar,
.live-tv-wall,
.live-lobby-now {
  position: relative;
}

.live-tv-main-screen {
  width: 100%;
  height: auto;
  min-height: 360px;
  aspect-ratio: 16 / 9;
}

.live-tv-player,
.live-tv-player iframe {
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* Twitch requires the player to be unobscured while deciding whether autoplay is allowed. */
.live-tv-main.is-player-mounting .live-tv-main-screen,
.live-tv-main.is-player-visible .live-tv-main-screen {
  overflow: visible;
  border-radius: 2px;
  box-shadow: none;
}

.live-tv-main.is-player-mounting .live-tv-scanlines,
.live-tv-main.is-player-mounting .live-tv-static,
.live-tv-main.is-player-mounting .live-tv-main-bug,
.live-tv-main.is-player-visible .live-tv-scanlines,
.live-tv-main.is-player-visible .live-tv-static,
.live-tv-main.is-player-visible .live-tv-main-bug {
  display: none !important;
}

.live-tv-main.is-switching .live-tv-player {
  filter: none !important;
}

@media (min-width: 1380px) {
  .hero-refined .hero-grid {
    grid-template-columns: minmax(380px, .66fr) minmax(900px, 1.34fr);
    gap: 32px;
  }

  .live-tv-wall {
    min-height: 460px;
    grid-template-columns: 120px minmax(320px, 1fr) minmax(320px, 1fr) 120px;
    grid-template-rows: repeat(2, minmax(195px, 1fr));
    gap: 13px;
  }
}

/* Medium desktop: keep the previews, but move them below so they cannot squeeze the player. */
@media (min-width: 1181px) and (max-width: 1379px) {
  .hero-refined .hero-grid {
    grid-template-columns: minmax(350px, .7fr) minmax(700px, 1.3fr);
    gap: 28px;
  }

  .live-tv-wall {
    min-height: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: auto auto;
    align-items: stretch;
  }

  .live-tv-main {
    grid-column: 1 / 5;
    grid-row: 1;
    min-width: 0;
  }

  .live-tv-one,
  .live-tv-two,
  .live-tv-three,
  .live-tv-four {
    grid-row: 2;
    transform: none;
  }

  .live-tv-one { grid-column: 1; }
  .live-tv-two { grid-column: 2; }
  .live-tv-three { grid-column: 3; }
  .live-tv-four { grid-column: 4; }
}

/* Smaller laptop: give the live wall its own full-width row. */
@media (min-width: 900px) and (max-width: 1180px) {
  .hero-refined .hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero-refined .hero-stage {
    width: min(920px, 100%);
    margin: 0 auto;
  }

  .live-tv-wall {
    min-height: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: auto auto;
    align-items: stretch;
  }

  .live-tv-main {
    grid-column: 1 / 5;
    grid-row: 1;
    min-width: 0;
  }

  .live-tv-one,
  .live-tv-two,
  .live-tv-three,
  .live-tv-four {
    grid-row: 2;
    transform: none;
  }

  .live-tv-one { grid-column: 1; }
  .live-tv-two { grid-column: 2; }
  .live-tv-three { grid-column: 3; }
  .live-tv-four { grid-column: 4; }
}

/* Twitch does not autoplay embedded video on mobile; retain the compact thumbnail layout. */
@media (max-width: 899px) {
  .hero-refined > .shell {
    width: min(1180px, calc(100% - 40px));
  }

  .live-tv-main-screen {
    min-height: 245px;
  }
}
