<style>
@font-face { font-family: 'Pricedown'; src: url('Pricedown.otf') format('opentype'); font-weight: normal; font-style: normal; }
:root {
    --bg: #090a0d;
    --bg-raised: #11141a;
    --surface: rgba(18, 22, 29, 0.78);
    --surface-strong: rgba(22, 28, 38, 0.94);
    --surface-soft: rgba(255, 255, 255, 0.045);
    --line: rgba(255, 255, 255, 0.10);
    --line-strong: rgba(120, 168, 255, 0.35);
    --text: #f4f7fb;
    --muted: #aab3c2;
    --dim: #6f7888;
    --blue: #2f73ff;
    --blue-dark: #1746a8;
    --cyan: #36d6ff;
    --mint: #59f0a7;
    --amber: #ffd166;
    --red: #ff4f64;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
    --radius: 8px;
    --ease: cubic-bezier(.2, .8, .2, 1);
    --glow-1: rgba(47, 115, 255, 0.18);
    --glow-2: rgba(89, 240, 167, 0.08);
    --ambient: rgba(54, 214, 255, 0.045);
    --topbar-bg: rgba(9, 10, 13, 0.82);
    --brand-border: rgba(54, 214, 255, 0.38);
    --brand-bg-1: rgba(47, 115, 255, 0.36);
    --brand-bg-2: rgba(89, 240, 167, 0.11);
    --brand-glow: rgba(47, 115, 255, 0.22);
    --tab-active-bg: rgba(47, 115, 255, 0.15);
    --logo-filter: none;
    --cyan-glow: rgba(54, 214, 255, 0.18);
    --cyan-border: rgba(54, 214, 255, 0.24);
    --cyan-bg: rgba(54, 214, 255, 0.075);
    --mint-border: rgba(89, 240, 167, 0.3);
    --blue-alpha-18: rgba(47, 115, 255, 0.18);
    --card-glow-1: rgba(54, 214, 255, 0.13);
    --card-glow-2: rgba(89, 240, 167, 0.08);
    --status-bg: rgba(89, 240, 167, 0.12);
}

body.theme-trevor {
    --bg: #0d0907;
    --bg-raised: #18100b;
    --line-strong: rgba(232, 76, 29, 0.35);
    --blue: #e84c1d;
    --blue-dark: #a8320a;
    --cyan: #ff7f3f;
    --mint: #ffb347;
    --glow-1: rgba(232, 76, 29, 0.20);
    --glow-2: rgba(255, 127, 63, 0.10);
    --ambient: rgba(232, 76, 29, 0.07);
    --topbar-bg: rgba(13, 9, 7, 0.88);
    --brand-border: rgba(232, 76, 29, 0.40);
    --brand-bg-1: rgba(232, 76, 29, 0.36);
    --brand-bg-2: rgba(255, 127, 63, 0.11);
    --brand-glow: rgba(232, 76, 29, 0.25);
    --tab-active-bg: rgba(232, 76, 29, 0.18);
    --logo-filter: hue-rotate(340deg) saturate(1.4);
    --cyan-glow: rgba(232, 76, 29, 0.20);
    --cyan-border: rgba(232, 76, 29, 0.30);
    --cyan-bg: rgba(232, 76, 29, 0.09);
    --mint-border: rgba(255, 179, 71, 0.3);
    --blue-alpha-18: rgba(232, 76, 29, 0.20);
    --card-glow-1: rgba(232, 76, 29, 0.14);
    --card-glow-2: rgba(255, 127, 63, 0.09);
    --status-bg: rgba(255, 179, 71, 0.12);
}

body.theme-franklin {
    --bg: #070d09;
    --bg-raised: #0b1810;
    --line-strong: rgba(46, 170, 95, 0.35);
    --blue: #2eaa5f;
    --blue-dark: #1a7a3f;
    --cyan: #59f0a7;
    --mint: #59f0a7;
    --glow-1: rgba(46, 170, 95, 0.18);
    --glow-2: rgba(89, 240, 167, 0.09);
    --ambient: rgba(46, 170, 95, 0.06);
    --topbar-bg: rgba(7, 13, 9, 0.86);
    --brand-border: rgba(89, 240, 167, 0.38);
    --brand-bg-1: rgba(46, 170, 95, 0.36);
    --brand-bg-2: rgba(89, 240, 167, 0.11);
    --brand-glow: rgba(46, 170, 95, 0.24);
    --tab-active-bg: rgba(46, 170, 95, 0.18);
    --logo-filter: hue-rotate(110deg) saturate(1.3);
    --cyan-glow: rgba(46, 170, 95, 0.20);
    --cyan-border: rgba(89, 240, 167, 0.30);
    --cyan-bg: rgba(46, 170, 95, 0.09);
    --mint-border: rgba(89, 240, 167, 0.3);
    --blue-alpha-18: rgba(46, 170, 95, 0.20);
    --card-glow-1: rgba(46, 170, 95, 0.14);
    --card-glow-2: rgba(89, 240, 167, 0.09);
    --status-bg: rgba(89, 240, 167, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
        linear-gradient(135deg, var(--glow-1), transparent 34%),
        linear-gradient(315deg, var(--glow-2), transparent 35%),
        var(--bg);
    background-size: 52px 52px, 52px 52px, auto, auto, auto;
    background-attachment: fixed;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        linear-gradient(120deg, transparent 0%, var(--ambient) 45%, transparent 68%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.58));
    animation: ambientSweep 16s var(--ease) infinite alternate;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.24;
    background-image: repeating-linear-gradient(0deg, transparent 0 7px, rgba(255,255,255,0.045) 8px);
    mix-blend-mode: soft-light;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
::selection { background: var(--blue); color: #fff; }

@keyframes ambientSweep {
    from { transform: translateX(-5%) skewX(-2deg); opacity: 0.48; }
    to { transform: translateX(5%) skewX(2deg); opacity: 0.86; }
}

@keyframes panelIn {
    from { opacity: 0; transform: translateY(18px) scale(.992); filter: blur(5px); }
    to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes signal {
    0%, 100% { opacity: .45; transform: translateX(-8%); }
    50% { opacity: .95; transform: translateX(8%); }
}

@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(89, 240, 167, .35); }
    50% { box-shadow: 0 0 0 8px rgba(89, 240, 167, 0); }
}

@keyframes notifIn {
    from { transform: translateX(-120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes notifOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(-120%); opacity: 0; }
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px clamp(18px, 4vw, 48px);
    border-bottom: 1px solid var(--line);
    background: var(--topbar-bg);
    backdrop-filter: blur(18px);
    box-shadow: 0 16px 54px rgba(0, 0, 0, .36);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 210px;
    text-decoration: none;
}

.brand-badge {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius);
    background:
        linear-gradient(145deg, var(--brand-bg-1), var(--brand-bg-2)),
        rgba(255, 255, 255, .05);
    color: #fff;
    font-family: "Rajdhani", "Arial Narrow", sans-serif;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0;
    box-shadow: 0 0 28px var(--brand-glow);
}

.brand-title { display: grid; gap: 0; line-height: 1; }
.brand-title strong { font-family: "Rajdhani","Arial Narrow",sans-serif; font-size: 23px; letter-spacing: 0; text-transform: uppercase; }
.brand-title span { color: var(--dim); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }

.tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .045);
}

.tab-button {
    position: relative;
    min-width: 112px;
    border: 0;
    border-radius: 6px;
    padding: 11px 16px;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
    font-family: "Rajdhani", "Arial Narrow", sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    transition: color .22s ease, background .22s ease, transform .22s ease, box-shadow .22s ease;
}

.tab-button:hover { color: #fff; transform: translateY(-1px); background: rgba(255, 255, 255, .075); }

.tab-button.active {
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    box-shadow: 0 12px 32px var(--brand-glow);
}

.hidden { display: none !important; }

.top-right-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-logo {
    height: 42px;
    width: auto;
    border-radius: var(--radius);
    filter: var(--logo-filter);
}

.top-rrp-label {
    font-family: "Rajdhani","Arial Narrow",sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--dim);
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    flex-shrink: 0;
    background: var(--amber);
    box-shadow: 0 0 6px var(--amber);
    transition: background .3s, box-shadow .3s;
}

.status-dot.online { background: var(--mint); box-shadow: 0 0 6px var(--mint); }
.status-dot.offline { background: var(--red); box-shadow: 0 0 6px var(--red); }

.profile-badge {
    display: inline-block;
    width: fit-content;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.profile-badge.pending { background: rgba(255,209,102,.15); color: var(--amber); }
.profile-badge.approved { background: var(--status-bg); color: var(--mint); }
.profile-badge.denied { background: rgba(255,79,100,.15); color: var(--red); }

/* ---- Music Player ---- */
.music-input-row { display:flex; gap:10px; }
.music-input {
    flex:1; padding:10px 14px; border:1px solid var(--line); border-radius:var(--radius);
    background:rgba(255,255,255,.05); color:#fff; font-size:14px; outline:none;
    font-family:inherit; transition:border-color .22s;
}
.music-input:focus { border-color:var(--blue); }
.music-controls { margin-top:16px; display:grid; gap:12px; }
.music-info { text-align:center; }
.music-buttons { display:flex; gap:8px; justify-content:center; }
.music-btn { min-width:48px; min-height:40px; padding:8px; font-size:16px; display:grid; place-items:center; }
.music-volume-row { display:flex; align-items:center; gap:10px; }
.music-vol-label { font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.1em; color:var(--dim); min-width:28px; }
.music-slider {
    flex:1; height:4px; -webkit-appearance:none; appearance:none;
    background:var(--line); border-radius:2px; outline:none;
}
.music-slider::-webkit-slider-thumb {
    -webkit-appearance:none; width:14px; height:14px; border-radius:999px;
    background:var(--blue); cursor:pointer; border:0;
}
.music-slider::-moz-range-thumb { width:14px; height:14px; border-radius:999px; background:var(--blue); cursor:pointer; border:0; }

.fav-entry {
    display:flex; align-items:center; gap:10px; padding:10px 12px;
    border:1px solid var(--line); border-radius:var(--radius);
    background:rgba(255,255,255,.04); cursor:pointer;
    transition:border-color .2s;
}
.fav-entry:hover { border-color:var(--line-strong); }
.fav-entry .fav-title { flex:1; color:#fff; font-size:13px; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.fav-entry .fav-play { color:var(--cyan); font-size:16px; }
.fav-entry .fav-remove { color:var(--red); font-size:16px; padding:4px; cursor:pointer; opacity:.6; }
.fav-entry .fav-remove:hover { opacity:1; }

.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

@media (max-width: 720px) {
    .settings-grid { grid-template-columns: 1fr; }
}

.site-footer {
    text-align: center;
    padding: 32px clamp(18px, 4vw, 48px) 40px;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 8px;
    font-size: 13px;
    color: var(--dim);
    margin-top: 40px;
}

.site-footer a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 12px;
    transition: color .2s;
}

.site-footer a:hover { color: var(--blue); }

.network-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 178px;
    justify-content: flex-end;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.network-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--mint);
    animation: pulseDot 2s ease-in-out infinite;
}

.main-wrap {
    width: min(1200px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(28px, 4vw, 54px) 0 64px;
    flex: 1;
}

.tab-panel {
    display: flex;
    flex-direction: column;
    gap: clamp(28px, 4vw, 48px);
    animation: panelIn .58s var(--ease) both;
}

.hero {
    position: relative;
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(280px, .84fr);
    align-items: center;
    gap: clamp(26px, 5vw, 68px);
    padding: clamp(22px, 4vw, 46px) 0;
}

.hero-copy { position: relative; z-index: 5; display: grid; gap: 22px; }

.eyebrow, .section-kicker, .article-meta, .chip, .mini-label {
    font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}

.eyebrow {
    display: inline-flex; width: fit-content; align-items: center; gap: 10px; color: var(--cyan);
}

.eyebrow::before {
    content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent);
}

h1, h2, h3 { margin: 0; font-family: "Rajdhani","Arial Narrow",sans-serif; letter-spacing: 0; line-height: .94; }

.hero-title { max-width: 760px; font-size: clamp(64px, 11vw, 142px); text-transform: uppercase; }
.hero-title .accent, .text-accent { color: var(--cyan); text-shadow: 0 0 28px var(--cyan-glow); }

.lead { max-width: 700px; margin: 0; color: var(--muted); font-size: clamp(17px, 2vw, 21px); line-height: 1.72; }

.label-row { display: flex; flex-wrap: wrap; gap: 10px; }

.chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px;
    border: 1px solid var(--cyan-border); border-radius: 999px;
    color: #dff8ff; background: var(--cyan-bg);
}

.chip.alt { border-color: var(--cyan-border); color: #dff8ff; background: var(--cyan-bg); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

.btn {
    --button-bg: rgba(255, 255, 255, .06);
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 13px 18px; color: var(--text); background: var(--button-bg); cursor: pointer;
    text-decoration: none; font-family: "Rajdhani","Arial Narrow",sans-serif;
    font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
    transition: transform .22s var(--ease), border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.btn:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: 0 18px 42px rgba(0,0,0,.34); }
.btn.primary { --button-bg: linear-gradient(135deg, var(--blue), var(--blue-dark)); border-color: rgba(151, 195, 255, .28); }
.btn.discord { --button-bg: linear-gradient(135deg, #5865f2, #4050d8); border-color: rgba(255,255,255,.18); }
.btn.youtube { --button-bg: linear-gradient(135deg, #ff1f2d, #bd0010); border-color: rgba(255,255,255,.16); }
.btn.approve { --button-bg: linear-gradient(135deg, var(--mint), #2bbd7a); border-color: var(--mint-border); }
.btn.deny { --button-bg: linear-gradient(135deg, var(--red), #b91c2e); border-color: rgba(255,79,100,.3); }
.btn.small { min-height: 36px; padding: 8px 14px; font-size: 13px; }

.map-frame {
    position: relative; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; background: #090a0d; box-shadow: var(--shadow);
}
.map-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; border: 1px solid var(--cyan-border); }
.map-frame img { width: 100%; max-height: 560px; object-fit: contain; background: #050608; }

.step-list { counter-reset: steps; display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.step-list li {
    counter-increment: steps; display: grid; grid-template-columns: 40px 1fr; gap: 14px;
    align-items: center; padding: 14px; border: 1px solid var(--line);
    border-radius: var(--radius); background: rgba(255,255,255,.04);
}
.step-list li::before {
    content: counter(steps, decimal-leading-zero); display: grid; place-items: center;
    width: 40px; height: 40px; border-radius: 6px; color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    font-family: "Rajdhani","Arial Narrow",sans-serif; font-weight: 700;
}

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.section-head h2, .article-title { font-size: clamp(38px, 6vw, 70px); text-transform: uppercase; }
.section-head p { max-width: 520px; margin: 0; color: var(--muted); line-height: 1.7; }

.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.setup-grid { align-items: start; }

.card {
    position: relative; border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--surface); box-shadow: 0 12px 42px rgba(0,0,0,.22);
    overflow: hidden; transition: transform .28s var(--ease), border-color .28s ease, box-shadow .28s ease, background .28s ease;
}
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(135deg, var(--card-glow-1), transparent 45%, var(--card-glow-2)); transition: opacity .28s ease; }
.card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--shadow); background: var(--surface-strong); }
.card:hover::before { opacity: 1; }
.card-inner { position: relative; z-index: 1; padding: clamp(22px, 3vw, 32px); }
.card h3 { margin-bottom: 14px; color: #fff; font-size: 30px; text-transform: uppercase; }
.card p, .card li { color: var(--muted); line-height: 1.7; }
.card p { margin: 0; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

[data-tilt] { transform: perspective(900px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)); }

.job-card {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 28px 20px; border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--surface); cursor: pointer;
    transition: transform .28s var(--ease), border-color .28s ease, box-shadow .28s ease, background .28s ease;
}
.job-card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--shadow); background: var(--surface-strong); }
.job-card .job-emoji { font-size: 40px; margin-bottom: 12px; }
.job-card h3 { margin-bottom: 6px; font-size: 22px; }
.job-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.people-entry {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px; border: 1px solid var(--line);
    border-radius: var(--radius); background: rgba(255,255,255,.04);
}
.people-entry .job-emoji { font-size: 24px; width: 36px; text-align: center; }
.people-entry strong { color: #fff; font-size: 15px; }
.people-entry span { color: var(--dim); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-left: auto; }

.overlay {
    position: fixed; inset: 0; z-index: 100;
    display: grid; place-items: center;
    animation: panelIn .3s var(--ease) both;
}
.overlay-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); cursor: pointer; }
.overlay-card { position: relative; z-index: 1; width: min(calc(100% - 32px), 440px); }

.profile-grid { display: grid; gap: 18px; }
.profile-row { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.04); }
.profile-row.full { grid-column: 1 / -1; }
.profile-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--dim); }
.profile-row span:last-child { color: #fff; font-size: 15px; }
.profile-row p { margin: 0; color: var(--muted); line-height: 1.7; }

.form-error { margin-top:16px; padding:12px; border-radius:var(--radius); background:rgba(255,79,100,.12); color:var(--red); font-size:14px; text-align:center; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.form-field .optional { font-weight: 500; color: var(--dim); text-transform: none; letter-spacing: 0; }
.form-field input, .form-field textarea {
    width: 100%; padding: 13px 14px; border: 1px solid var(--line);
    border-radius: var(--radius); background: rgba(255,255,255,.06);
    color: var(--text); font-family: "Inter", system-ui, sans-serif;
    font-size: 15px; outline: none; transition: border-color .22s ease, box-shadow .22s ease;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-alpha-18); }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--dim); }
.form-field textarea { resize: vertical; min-height: 100px; }

.rrp-hero { min-height: auto; grid-template-columns: .9fr 1.1fr; }

/* ---- Theme settings ---- */
.theme-grid { display: grid; gap: 10px; }

.theme-option {
    display: flex; align-items: center; gap: 14px;
    padding: 14px; border: 1px solid var(--line);
    border-radius: var(--radius); cursor: pointer;
    background: rgba(255,255,255,.04);
    transition: border-color .2s, background .2s;
}

.theme-option:hover { border-color: var(--line-strong); background: rgba(255,255,255,.08); }

.theme-option.active { border-color: var(--blue); background: var(--tab-active-bg); }

.theme-swatch {
    width: 44px; height: 44px; border-radius: var(--radius); flex-shrink: 0;
}

.theme-info { display: grid; gap: 2px; flex: 1; }
.theme-info strong { color: #fff; font-size: 16px; }
.theme-info span { color: var(--dim); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }

.theme-check {
    width: 24px; height: 24px; border-radius: 999px;
    display: none; place-items: center;
    background: var(--mint); color: #000;
    font-size: 14px; font-weight: 700;
}

.theme-option.active .theme-check { display: grid; }

.credit-list { display: grid; gap: 12px; }

.credit-entry {
    display: flex; align-items: center; gap: 14px;
    padding: 16px; border: 1px solid var(--line);
    border-radius: var(--radius); background: rgba(255,255,255,.04);
}

.credit-avatar {
    width: 48px; height: 48px; border-radius: 999px;
    display: grid; place-items: center;
    color: #fff; font-family: "Rajdhani","Arial Narrow",sans-serif;
    font-size: 18px; font-weight: 700; flex-shrink: 0;
}

.credit-info { display: grid; gap: 2px; }
.credit-info strong { color: #fff; font-size: 17px; }
.credit-info span { color: var(--muted); font-size: 13px; line-height: 1.5; }

/* ---- Notifications ---- */
#notif-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 200;
    display: grid;
    gap: 10px;
    max-width: 380px;
    width: calc(100% - 48px);
    pointer-events: none;
}

.notif {
    display: grid;
    gap: 2px;
    padding: 14px 18px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: rgba(9, 10, 13, 0.92);
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 48px rgba(0,0,0,.48);
    animation: notifIn .35s var(--ease) forwards;
    pointer-events: auto;
    border-left: 3px solid var(--blue);
}

.notif.out { animation: notifOut .3s var(--ease) forwards; }

.notif .notif-title {
    font-family: "Rajdhani","Arial Narrow",sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--cyan);
}

.notif .notif-msg {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

@media (max-width: 980px) {
    .topbar { align-items: flex-start; flex-direction: column; }
    .brand { min-width: 0; }
    .top-right-group { display: none; }
    .tabs { width: 100%; justify-content: stretch; }
    .tab-button { flex: 1; min-width: 0; }
    .hero, .rrp-hero, .grid.two { grid-template-columns: 1fr; }
    .hero { min-height: auto; }
}

@media (max-width: 680px) {
    .main-wrap { width: min(100% - 28px, 1200px); padding-top: 26px; }
    .hero-title { font-size: clamp(52px, 18vw, 82px); }
    .actions, .grid.three, #jobs-grid, #starter-jobs-grid { grid-template-columns: 1fr; }
    .btn { width: 100%; }
    .section-head { align-items: start; flex-direction: column; }
    .form-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ============================================================
   AÑADIDOS: selector de idioma + mejoras responsive extra
   (Dream Legacy RP - reestructuración)
   ============================================================ */

.lang-switch {
    position: relative;
    margin-left: 6px;
}

.lang-switch select {
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--line);
    color: var(--text);
    font-family: "Rajdhani", "Arial Narrow", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: var(--radius);
    padding: 8px 30px 8px 12px;
    cursor: pointer;
    outline: none;
    transition: border-color .2s;
}

.lang-switch select:focus,
.lang-switch select:hover { border-color: var(--line-strong); }

.lang-switch::after {
    content: "▾";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--muted);
    font-size: 10px;
}

/* Settings grid: 1 columna en pantallas medianas/pequeñas */
@media (max-width: 860px) {
    .settings-grid { grid-template-columns: 1fr; }
}

/* Topbar: en pantallas muy pequeñas, apilar y permitir scroll horizontal en tabs */
@media (max-width: 560px) {
    .topbar { padding: 12px 16px; gap: 10px; }
    .brand-badge { width: 36px; height: 36px; font-size: 16px; }
    .brand-title strong { font-size: 18px; }
    .brand-title span { font-size: 10px; }
    .tabs {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
    .tab-button { flex: none; min-width: 96px; padding: 10px 12px; font-size: 14px; }
    .hero-title { font-size: clamp(38px, 15vw, 60px); }
    .lead { font-size: 15px; }
    .card-inner, .card { padding: 18px; }
    .music-buttons { flex-wrap: wrap; }
}

/* Formularios: inputs con tamaño de fuente >=16px en iOS para evitar zoom automático */
input, textarea, select { font-size: 16px; }
@media (min-width: 561px) {
    .music-input, .form-field input, .form-field textarea, .form-field select { font-size: 14px; }
}

/* Asegurar que las tablas/tarjetas de trabajo no se corten en pantallas pequeñas */
.grid.three, #jobs-grid, #starter-jobs-grid {
    min-width: 0;
}

/* Notificaciones responsive */
@media (max-width: 480px) {
    #notif-container { left: 12px; right: 12px; width: auto; }
}
