:root {
  --bg: #0d0b08;
  --bg-deep: #070605;
  --panel: #211b13;
  --panel-2: #17120d;
  --panel-3: #2a2117;
  --line: #6b5635;
  --line-soft: rgba(196, 154, 84, .24);
  --gold: #d8ae5c;
  --gold-bright: #f5d889;
  --gold-dark: #7c5729;
  --text: #f5ead1;
  --muted: #b7a98e;
  --green: #67c56d;
  --red: #dc6c62;
  --orange: #d99b4d;
  --blue: #6aa6d9;
  --violet: #9a78cf;
  --shadow: 0 18px 45px rgba(0,0,0,.45);
  --radius: 10px;
  font-family: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { min-height: 100%; }
body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(8,6,4,.78), rgba(8,6,4,.9)),
    url('/assets/textures/ui-background-rock.png') center / 720px repeat;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% -20%, rgba(194,133,54,.13), transparent 45%), linear-gradient(90deg, rgba(0,0,0,.25), transparent 20%, transparent 80%, rgba(0,0,0,.25));
  z-index: -1;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { max-width: 100%; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-shell main { flex: 1; }

/* WoW chrome */
.wow-panel {
  position: relative;
  border: 1px solid #8b6b36;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(20,15,10,.9), rgba(20,15,10,.94)),
    url('/assets/textures/ui-dialogbox-background-dark.png') repeat;
  box-shadow: inset 0 0 0 1px rgba(255,224,153,.09), inset 0 0 28px rgba(0,0,0,.48), var(--shadow);
}
.wow-panel::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(226,184,102,.16);
  border-radius: 6px;
  pointer-events: none;
}
.wow-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold-bright);
  font-family: Georgia, serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.wow-kicker::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.wow-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 21px;
  border: 1px solid #b38336;
  border-radius: 5px;
  color: #fff4d7;
  background:
    linear-gradient(rgba(85,42,14,.12), rgba(45,20,7,.42)),
    url('/assets/textures/ui-dialogbox-button-up.png') center / 100% 100%;
  box-shadow: inset 0 1px rgba(255,240,190,.2), 0 4px 12px rgba(0,0,0,.38);
  cursor: pointer;
  font-family: Georgia, serif;
  font-weight: 800;
  text-shadow: 0 2px 2px #000;
  transition: transform .12s ease, filter .12s ease;
}
.wow-button:hover:not(:disabled) { filter: brightness(1.16) saturate(1.08); transform: translateY(-1px); }
.wow-button:active:not(:disabled) { transform: translateY(1px); filter: brightness(.88); }
.wow-button:disabled { opacity: .5; cursor: not-allowed; }
.wow-button--secondary { filter: grayscale(.35) brightness(.76); border-color: #75654a; }
.wow-button--secondary:hover:not(:disabled) { filter: grayscale(.15) brightness(.94); }
.wow-button--danger { background: linear-gradient(#8b3028,#4d1511); border-color: #d16a5d; }
.wow-button--warning { background: linear-gradient(#8a5c1c,#53330f); border-color: #d5a64f; }
.wow-button--small { min-height: 34px; padding: 6px 13px; font-size: 12px; }
.wow-button--wide { width: 100%; }
.icon-button { width: 38px; height: 38px; border: 1px solid #79613c; border-radius: 5px; background: #21170d; color: var(--gold-bright); font-size: 25px; cursor: pointer; }

/* Header */
.wow-header { position: sticky; top: 0; z-index: 80; border-bottom: 1px solid #594323; background: rgba(11,8,5,.94); backdrop-filter: blur(14px); box-shadow: 0 8px 24px rgba(0,0,0,.32); }
.wow-header__inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.wow-brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; }
.wow-brand__crest { width: 42px; height: 42px; display: grid; place-items: center; border: 2px solid #c69a4c; border-radius: 50%; background: radial-gradient(circle, #6c4020 0 45%, #211207 47%); box-shadow: 0 0 0 2px #3b2917, 0 0 18px rgba(218,167,74,.22); color: #ffe4a1; font-family: Georgia, serif; font-size: 23px; font-weight: 900; }
.wow-brand strong, .wow-brand small { display: block; }
.wow-brand strong { color: #fff1cf; font-family: Georgia, serif; font-size: 17px; }
.wow-brand small { margin-top: 2px; color: #a99a7e; font-size: 10px; }
.wow-nav { display: flex; align-items: center; gap: 12px; }
.wow-nav-link { padding: 7px 4px; border: 0; background: transparent; color: #c6b89b; cursor: pointer; font-size: 13px; }
.wow-nav-link:hover, .wow-nav-link.is-active { color: var(--gold-bright); }
[data-public-account] { display: flex; align-items: center; }
.account-connected { display: flex; align-items: center; gap: 9px; }
.account-avatar { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #aa7e35; border-radius: 50%; background: #332114; color: #ffe6aa; font-family: Georgia, serif; font-weight: 900; }
.account-name { color: #f0dfbd; font-size: 12px; font-weight: 700; }
.account-loading { color: var(--muted); font-size: 12px; }

/* Hero */
.wow-hero { padding: 76px 0 58px; border-bottom: 1px solid rgba(164,124,58,.25); background: radial-gradient(circle at 70% 25%, rgba(122,68,23,.22), transparent 35%); }
.wow-hero__grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(300px,.7fr); gap: 55px; align-items: center; }
.wow-hero h1 { margin: 13px 0 17px; font-family: Georgia, serif; font-size: clamp(44px, 6vw, 78px); line-height: .98; letter-spacing: -.045em; text-shadow: 0 4px 14px #000; }
.wow-hero h1 em { color: var(--gold-bright); font-style: normal; }
.wow-hero p { max-width: 760px; margin: 0; color: #c5b79c; font-size: 17px; line-height: 1.65; }
.wow-hero p strong { color: #f0d38c; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.hero-ledger { display: grid; grid-template-columns: 1fr; padding: 9px 23px; }
.hero-ledger div { display: flex; justify-content: space-between; align-items: center; padding: 20px 2px; border-bottom: 1px solid rgba(217,174,92,.18); }
.hero-ledger div:last-child { border-bottom: 0; }
.hero-ledger strong { color: var(--gold-bright); font-family: Georgia, serif; font-size: 34px; }
.hero-ledger span { color: #bcae91; font-size: 12px; }

/* Catalogue */
.catalog-section { padding: 52px 0 82px; }
.section-title { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 22px; }
.section-title h2, .account-heading h1, .staff-topbar h1 { margin: 9px 0 6px; font-family: Georgia, serif; font-size: clamp(30px, 4vw, 45px); line-height: 1.05; }
.section-title p, .account-heading p, .staff-topbar p { margin: 0; color: var(--muted); }
.filter-bar { display: grid; grid-template-columns: minmax(220px,1.6fr) repeat(3,minmax(150px,.75fr)) auto; gap: 12px; align-items: end; margin-bottom: 24px; padding: 18px; }
.filter-bar label { display: grid; gap: 6px; color: #cbbd9e; font-size: 11px; }
.filter-bar input, .filter-bar select, .field input, .field select, .field textarea {
  width: 100%; min-height: 42px; border: 1px solid #645033; border-radius: 5px; outline: none; color: #f5ead1;
  background: rgba(11,8,5,.72); box-shadow: inset 0 2px 8px rgba(0,0,0,.48); padding: 9px 11px;
}
.filter-bar input:focus, .filter-bar select:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: #d0a352; box-shadow: 0 0 0 2px rgba(208,163,82,.13), inset 0 2px 8px rgba(0,0,0,.48); }
.filter-search { align-self: end; }
.filter-check { display: flex !important; grid-auto-flow: column; justify-content: start; align-items: center; gap: 8px !important; padding-bottom: 10px; }
.filter-check input { width: 18px; min-height: 18px; accent-color: #b98538; }
.addon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px,1fr)); gap: 20px; }
.addon-card { overflow: hidden; transition: transform .18s ease, filter .18s ease; }
.addon-card:hover { transform: translateY(-4px); filter: brightness(1.04); }
.addon-card__cover { position: relative; display: flex; align-items: center; justify-content: center; height: 190px; padding: 16px; overflow: hidden; border-bottom: 1px solid rgba(202,155,76,.28); background: radial-gradient(circle, rgba(121,77,27,.28), rgba(8,6,4,.84)); }
.addon-card__cover img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0,0,0,.5)); }
.addon-card__fallback { display: grid; place-items: center; width: 96px; height: 96px; border: 2px solid #a37938; border-radius: 50%; font-family: Georgia, serif; font-size: 48px; color: #f7d98f; }
.card-badges { position: absolute; top: 11px; left: 11px; right: 11px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 7px; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border: 1px solid rgba(255,255,255,.14); border-radius: 4px; background: rgba(9,7,4,.86); color: #e4d8bd; font-size: 10px; font-weight: 800; }
.badge--fr { border-color: rgba(103,197,109,.45); color: #9de7a1; }
.badge--verified, .badge--adapted { border-color: rgba(106,166,217,.5); color: #a9d6ff; }
.badge--partial, .badge--untested { border-color: rgba(217,155,77,.48); color: #ffd08a; }
.badge--incompatible { border-color: rgba(220,108,98,.48); color: #ffada5; }
.addon-card__body { padding: 19px; }
.addon-card__meta { display: flex; flex-wrap: wrap; gap: 8px; color: #a9987a; font-size: 11px; }
.addon-card h3 { margin: 9px 0 7px; font-family: Georgia, serif; font-size: 23px; line-height: 1.1; }
.addon-card h3 a:hover { color: var(--gold-bright); }
.addon-card__desc { min-height: 60px; margin: 0; color: #c1b399; font-size: 13px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.addon-card__footer { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(210,166,87,.16); }
.addon-card__stats { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; color: #9f9077; font-size: 11px; }
.addon-card__stats strong { color: #eed9aa; }
.addon-card__actions { display: grid; grid-template-columns: 1fr 1.2fr; gap: 9px; }
.empty-state, .loading-state { grid-column: 1 / -1; padding: 58px 20px; text-align: center; color: #b9ab91; border: 1px dashed rgba(207,162,80,.3); border-radius: 8px; }
.notice { padding: 12px 14px; border: 1px solid #7c633a; border-radius: 5px; background: rgba(53,38,18,.72); color: #f1dbab; }
.notice--error { border-color: rgba(220,108,98,.6); background: rgba(75,25,20,.6); color: #ffc0ba; }

/* Detail */
.detail-page { padding: 38px 0 76px; }
.breadcrumb { margin-bottom: 15px; color: #b8a88a; font-size: 12px; }
.detail-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(320px,.85fr); gap: 20px; align-items: stretch; }
.detail-image { min-height: 420px; padding: 30px; display: grid; place-items: center; overflow: hidden; }
.detail-image img { width: 100%; height: 100%; max-height: 480px; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(0,0,0,.55)); cursor: zoom-in; }
.detail-summary { padding: 27px; display: flex; flex-direction: column; }
.detail-summary h1 { margin: 14px 0 11px; font-family: Georgia, serif; font-size: clamp(36px,4.5vw,60px); line-height: .98; }
.detail-summary__excerpt { margin: 0; color: #c5b79c; line-height: 1.6; }
.detail-badges { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.detail-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 23px 0; }
.detail-facts div { padding: 11px; border: 1px solid rgba(210,166,87,.2); border-radius: 5px; background: rgba(5,4,3,.28); }
.detail-facts span, .detail-facts strong { display: block; }
.detail-facts span { color: #9f9076; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.detail-facts strong { margin-top: 4px; color: #f0dfb9; font-size: 12px; }
.detail-download-meta { margin-top: 9px; color: #9e8f76; font-size: 10px; text-align: center; }
.content-panel { margin-top: 20px; padding: clamp(24px,4vw,42px); }
.content-panel h2 { margin: 8px 0 23px; font-family: Georgia, serif; font-size: 34px; }
.detail-content { color: #d0c3aa; line-height: 1.75; }
.detail-content h2, .detail-content h3 { color: #f0d99f; font-family: Georgia, serif; }
.detail-content code { padding: 2px 5px; border: 1px solid #5d4b30; border-radius: 3px; background: #0b0906; }
.rich-list { padding: 0; list-style: none; display: grid; gap: 7px; }
.rich-list li { position: relative; padding: 10px 12px 10px 34px; border: 1px solid rgba(201,155,78,.18); background: rgba(5,4,3,.2); }
.rich-list li::before { content: "◆"; position: absolute; left: 12px; color: var(--gold); }
.gallery-panel { margin-top: 20px; padding: 24px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 12px; margin-top: 18px; }
.gallery-item { padding: 8px; border: 1px solid #6d5633; border-radius: 5px; background: #0d0a06; cursor: zoom-in; }
.gallery-item img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: contain; }
.comments-panel { margin-top: 20px; padding: 24px; }
.comments-panel h2 { margin: 7px 0 5px; font-family: Georgia, serif; font-size: 32px; }
.comment-login-prompt, .comment-form { margin: 18px 0; padding: 15px; border: 1px solid rgba(210,166,87,.22); background: rgba(5,4,3,.24); }
.comment-form textarea { width: 100%; min-height: 100px; margin-top: 12px; padding: 10px; border: 1px solid #675235; background: #0b0805; color: #f4e8cf; }
.comment-form__footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 9px; color: var(--muted); font-size: 11px; }
.comment-list { display: grid; gap: 10px; }
.comment-card { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 11px; padding: 13px; border: 1px solid rgba(207,162,80,.18); background: rgba(6,5,3,.22); }
.comment-card header { display: flex; justify-content: space-between; gap: 15px; }
.comment-card time { display: block; margin-top: 3px; color: #95866f; font-size: 10px; }
.comment-card p { margin: 8px 0 0; color: #d2c6ad; line-height: 1.55; }
.comment-delete { border: 0; background: transparent; color: #ee8c83; cursor: pointer; font-size: 11px; }

/* Lightbox */
.image-lightbox { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: 70px 85px; background: rgba(4,3,2,.96); }
.image-lightbox.is-open { display: grid; }
.image-lightbox figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.image-lightbox img { max-width: 88vw; max-height: 80vh; object-fit: contain; }
.image-lightbox figcaption { margin-top: 10px; color: #b9ab90; }
.image-lightbox__close, .image-lightbox__nav { position: absolute; border: 1px solid #866735; background: #21170d; color: #f7dda1; cursor: pointer; }
.image-lightbox__close { top: 18px; right: 18px; width: 42px; height: 42px; font-size: 26px; }
.image-lightbox__nav { top: 50%; width: 48px; height: 66px; transform: translateY(-50%); font-size: 36px; }
.image-lightbox__nav--prev { left: 18px; }.image-lightbox__nav--next { right: 18px; }

/* Account */
.account-page { padding: 50px 0 80px; }
.account-prompt { width: min(720px,100%); margin: 35px auto; padding: 42px; text-align: center; }
.account-prompt h1 { margin: 12px 0; font-family: Georgia, serif; font-size: 42px; }
.account-prompt p { color: var(--muted); }
.account-prompt .hero-actions { justify-content: center; }
.account-heading { display: flex; justify-content: space-between; align-items: end; gap: 22px; margin-bottom: 22px; }
.submission-list, .moderation-list { display: grid; gap: 13px; }
.submission-card, .moderation-card { display: grid; grid-template-columns: 100px minmax(0,1fr) auto; gap: 16px; align-items: center; padding: 15px; }
.submission-card__cover, .moderation-card__cover { width: 100px; height: 82px; display: grid; place-items: center; padding: 6px; border: 1px solid rgba(207,162,80,.23); background: rgba(0,0,0,.22); }
.submission-card__cover img, .moderation-card__cover img { width: 100%; height: 100%; object-fit: contain; }
.submission-card h3, .moderation-card h3 { margin: 0 0 5px; font-family: Georgia, serif; font-size: 21px; }
.submission-card p, .moderation-card p { margin: 0; color: var(--muted); font-size: 12px; }
.submission-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.submission-note { margin-top: 9px; padding: 9px 11px; border-left: 3px solid var(--orange); background: rgba(94,54,15,.25); color: #e8c88f; font-size: 12px; }
.status-pill { display: inline-flex; padding: 4px 8px; border: 1px solid #745d3b; border-radius: 999px; color: #d9c9ab; font-size: 10px; font-weight: 800; }
.status-pill--approved { border-color: rgba(103,197,109,.45); color: #9ee6a2; }
.status-pill--reviewing { border-color: rgba(106,166,217,.5); color: #a9d6ff; }
.status-pill--changes-requested, .status-pill--pending { border-color: rgba(217,155,77,.5); color: #ffd08a; }
.status-pill--rejected { border-color: rgba(220,108,98,.5); color: #ffaaa3; }

/* Forms + modals */
.modal-backdrop { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: 24px; background: rgba(4,3,2,.9); overflow: auto; }
.wow-modal { width: min(600px,100%); max-height: calc(100vh - 48px); display: flex; flex-direction: column; overflow: hidden; }
.wow-modal--large { width: min(900px,100%); }
.wow-modal--xl { width: min(1180px,100%); }
.wow-modal__header, .wow-modal__footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 20px; border-bottom: 1px solid rgba(210,166,87,.22); background: rgba(9,7,4,.72); }
.wow-modal__footer { justify-content: flex-end; border-top: 1px solid rgba(210,166,87,.22); border-bottom: 0; }
.wow-modal__header h2 { margin: 5px 0 0; font-family: Georgia, serif; font-size: 28px; }
.wow-modal__body { padding: 20px; overflow: auto; }
.form-stack { display: grid; gap: 13px; }
.form-grid { display: grid; gap: 13px; }
.form-grid--two { grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 6px; color: #d3c5a7; font-size: 11px; }
.field--wide { grid-column: 1 / -1; }
.field textarea { min-height: 110px; resize: vertical; }
.field small, .field-help { margin: 0; color: #968870; font-size: 10px; line-height: 1.45; }
.rights-check { display: flex; align-items: flex-start; gap: 9px; padding: 11px; border: 1px solid rgba(210,166,87,.2); background: rgba(0,0,0,.18); color: #cfc0a2; font-size: 12px; }
.rights-check input { margin-top: 2px; accent-color: #b98538; }
.upload-box { margin-top: 16px; padding: 12px; border: 1px solid #675135; background: #0d0905; }
.progress-track { height: 8px; overflow: hidden; border: 1px solid #49371f; background: #070503; }
.progress-track span { display: block; width: 0; height: 100%; background: linear-gradient(90deg,#7b4218,#e0ad54); }
.upload-box > div:last-child { display: flex; justify-content: space-between; margin-top: 7px; color: var(--muted); font-size: 10px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 16px; border: 1px solid #5e4930; }
.auth-tabs button { padding: 10px; border: 0; background: #0d0906; color: #9f9177; cursor: pointer; }
.auth-tabs button.is-active { background: #3a2816; color: #f6dda4; }
.toast-stack { position: fixed; right: 18px; bottom: 18px; z-index: 260; display: grid; gap: 8px; width: min(380px,calc(100% - 36px)); }
.toast { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid #7b6239; background: #1b130b; color: #f1dfba; box-shadow: var(--shadow); }
.toast--error { border-color: #a44e45; }.toast--success { border-color: #4e8e52; }
.toast button { border: 0; background: transparent; color: inherit; cursor: pointer; }

/* Admin */
.admin-body { overflow: hidden; }
.staff-login { min-height: 100vh; display: grid; place-items: center; padding: 25px; }
.staff-login__card { width: min(450px,100%); padding: 32px; }
.staff-login__card h1 { margin: 11px 0 7px; font-family: Georgia, serif; font-size: 38px; }
.staff-login__card > p { color: var(--muted); margin-bottom: 19px; }
.staff-login__card .wow-brand { margin-bottom: 30px; }
.staff-shell { display: grid; grid-template-columns: 250px minmax(0,1fr); height: 100vh; }
.staff-sidebar { display: flex; flex-direction: column; padding: 20px 14px; border-right: 1px solid #5d4728; background: rgba(10,7,4,.95); }
.staff-sidebar .wow-brand { padding: 0 7px 22px; border-bottom: 1px solid rgba(208,163,82,.16); }
.staff-nav { display: grid; gap: 6px; padding-top: 18px; }
.staff-nav button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 10px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: #b9aa8e; cursor: pointer; text-align: left; }
.staff-nav button:hover, .staff-nav button.is-active { border-color: #695133; background: #24180e; color: #f2dda9; }
.staff-nav button b { margin-left: auto; padding: 2px 7px; border-radius: 999px; background: #5d3515; color: #ffd792; font-size: 10px; }
.staff-profile { margin-top: auto; display: grid; gap: 4px; padding: 15px 8px 0; border-top: 1px solid rgba(208,163,82,.16); }
.staff-profile span, .staff-profile small { color: #9b8c72; }
.staff-profile .wow-button { margin-top: 10px; }
.staff-main { overflow: auto; padding: 28px 30px 60px; }
.staff-topbar { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 22px; }
.staff-topbar h1 { font-size: 39px; }
.filter-bar--staff { grid-template-columns: minmax(240px,1fr) 210px 210px; }
.moderation-card { grid-template-columns: 105px minmax(0,1fr) auto; }
.moderation-card__actions { display: grid; gap: 7px; min-width: 160px; }
.table-panel { padding: 18px; }
.table-panel > header { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding: 7px 7px 17px; }
.table-panel h2 { margin: 5px 0 0; font-family: Georgia, serif; font-size: 30px; }
.table-wrap { overflow: auto; }
.wow-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.wow-table th, .wow-table td { padding: 12px 10px; border-top: 1px solid rgba(210,166,87,.15); text-align: left; vertical-align: top; }
.wow-table th { color: #ae9d80; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.wow-table td { color: #d2c4a6; font-size: 12px; }
.review-layout { display: grid; grid-template-columns: minmax(0,1fr) 290px; gap: 18px; }
.review-sidebar { display: flex; flex-direction: column; gap: 11px; padding: 14px; border: 1px solid rgba(210,166,87,.2); background: rgba(5,4,3,.24); }
.review-status-box { padding: 12px; border: 1px solid rgba(210,166,87,.2); }
.review-status-box span, .review-status-box strong, .review-status-box small { display: block; }
.review-status-box span { color: #9f9076; font-size: 9px; text-transform: uppercase; }.review-status-box strong { margin: 5px 0; color: #f1d796; }.review-status-box small { color: #9d8e75; }
.review-actions { display: grid; gap: 8px; margin-top: auto; }

/* Footer + errors */
.wow-footer { border-top: 1px solid #4e3b22; background: rgba(8,6,4,.75); }
.wow-footer__inner { min-height: 92px; display: flex; justify-content: space-between; align-items: center; gap: 22px; color: #9e9077; font-size: 10px; }
.wow-footer strong, .wow-footer span { display: block; }.wow-footer strong { color: #dac7a1; font-family: Georgia, serif; font-size: 14px; }
.footer-meta { display: flex; gap: 24px; text-align: right; }
.error-page { min-height: 100vh; display: grid; place-items: center; padding: 25px; }.error-page section { width: min(620px,100%); padding: 45px; text-align: center; }.error-page h1 { font-family: Georgia,serif; font-size: 44px; }

@media (max-width: 1000px) {
  .wow-hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-ledger { grid-template-columns: repeat(3,1fr); }
  .hero-ledger div { display: grid; justify-items: center; border-bottom: 0; border-right: 1px solid rgba(217,174,92,.18); }
  .hero-ledger div:last-child { border-right: 0; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .filter-search { grid-column: 1 / -1; }
  .detail-grid { grid-template-columns: 1fr; }
  .review-layout { grid-template-columns: 1fr; }
  .review-sidebar { order: -1; }
  .staff-shell { grid-template-columns: 82px minmax(0,1fr); }
  .staff-sidebar .wow-brand span:last-child, .staff-nav button:not(.is-active) { font-size: 0; }
  .staff-nav button { justify-content: center; }.staff-nav button span { font-size: 17px; }.staff-nav button b, .staff-profile { display: none; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 22px,1180px); }
  .wow-header__inner { min-height: 61px; }.wow-brand small { display: none; }.wow-nav > .wow-nav-link { display: none; }.account-name { display: none; }
  .wow-hero { padding-top: 48px; }.wow-hero h1 { font-size: 45px; }.wow-hero p { font-size: 15px; }
  .hero-ledger { grid-template-columns: 1fr; }.hero-ledger div { display: flex; border-right: 0; border-bottom: 1px solid rgba(217,174,92,.18); }
  .filter-bar, .filter-bar--staff { grid-template-columns: 1fr; }.filter-search { grid-column: auto; }
  .addon-grid { grid-template-columns: 1fr; }.addon-card__cover { height: 175px; }
  .detail-image { min-height: 300px; padding: 18px; }.detail-facts { grid-template-columns: 1fr; }.gallery-grid { grid-template-columns: 1fr; }
  .account-heading, .staff-topbar { align-items: stretch; flex-direction: column; }.submission-card, .moderation-card { grid-template-columns: 75px minmax(0,1fr); }.submission-card__cover, .moderation-card__cover { width: 75px; height: 70px; }.moderation-card__actions, .submission-card__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; }
  .form-grid--two { grid-template-columns: 1fr; }.field--wide { grid-column: auto; }
  .modal-backdrop { padding: 0; }.wow-modal { width: 100%; max-height: 100vh; min-height: 100vh; border-radius: 0; }
  .staff-shell { grid-template-columns: 1fr; }.staff-sidebar { display: none; }.staff-main { padding: 20px 12px 45px; }
  .footer-meta { display: grid; gap: 5px; }.wow-footer__inner { align-items: flex-start; flex-direction: column; padding: 22px 0; }
}

/* V2 dynamic components */
.addon-card__open { position:absolute; left:14px; bottom:12px; z-index:2; padding:6px 9px; border:1px solid rgba(224,181,93,.5); border-radius:4px; background:rgba(7,5,3,.86); color:#ffe2a0; font-family:Georgia,serif; font-size:12px; font-weight:800; }
.addon-card__badges, .detail-statuses { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:10px; }
.status-badge, .submission-status { display:inline-flex; align-items:center; padding:4px 8px; border:1px solid #745d3b; border-radius:999px; background:rgba(8,6,4,.5); color:#ddcfb4; font-size:10px; font-weight:800; }
.status-badge--verified, .status-badge--adapted, .submission-status--approved { border-color:rgba(103,197,109,.5); color:#a6eaaa; }
.status-badge--native, .status-badge--translated { border-color:rgba(106,166,217,.55); color:#b3dcff; }
.status-badge--partial, .status-badge--untested, .submission-status--pending, .submission-status--changes-requested { border-color:rgba(217,155,77,.55); color:#ffd18d; }
.status-badge--not_available, .status-badge--incompatible, .submission-status--rejected { border-color:rgba(220,108,98,.55); color:#ffb0aa; }
.submission-status--reviewing { border-color:rgba(106,166,217,.55); color:#acd9ff; }
.addon-card__file { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:16px; padding-top:13px; border-top:1px solid rgba(210,166,87,.16); }
.addon-card__file strong { color:#f1dba8; }.addon-card__file span { color:#9f9077; font-size:10px; text-align:right; }
.empty-state { display:grid; gap:7px; }.empty-state strong { color:#eed9aa; font-family:Georgia,serif; font-size:22px; }.empty-state span { color:var(--muted); }

.detail-showcase { display:grid; grid-template-columns:minmax(0,1.12fr) minmax(330px,.88fr); gap:20px; align-items:stretch; }
.detail-cover { min-height:390px; padding:30px; display:grid; place-items:center; overflow:hidden; cursor:zoom-in; }
.detail-cover img { width:100%; height:100%; max-height:450px; object-fit:contain; filter:drop-shadow(0 12px 18px rgba(0,0,0,.55)); }
.detail-cover__hint { position:absolute; right:13px; bottom:13px; padding:6px 9px; border:1px solid #705735; border-radius:4px; background:rgba(8,6,4,.86); color:#e8d3a5; font-size:10px; }
.detail-summary__top > p { margin:0; color:#c5b79c; line-height:1.6; }
.detail-statuses { margin-top:16px; }
.wow-button--large { min-height:52px; font-size:15px; }
.source-link { display:block; margin-top:13px; color:#e2bf74; font-size:11px; text-align:center; }.source-link:hover { color:#ffe2a0; }
.detail-content-grid { margin-top:20px; }.content-card { padding:clamp(24px,4vw,42px); }.content-card__heading h2 { margin:7px 0 22px; font-family:Georgia,serif; font-size:34px; }
.compatibility-box, .changelog-box { margin-top:24px; padding:16px; border:1px solid rgba(210,166,87,.25); background:rgba(5,4,3,.25); }.compatibility-box > strong, .changelog-box > strong { display:block; margin-bottom:9px; color:#f0d99f; font-family:Georgia,serif; font-size:19px; }
.gallery-section, .comments-section { margin-top:20px; padding:24px; }.gallery-heading h2, .comments-heading h2 { margin:7px 0 4px; font-family:Georgia,serif; font-size:32px; }.gallery-heading p, .comments-heading p { margin:0; color:var(--muted); }
.gallery--all { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:12px; margin-top:18px; }.gallery-item { position:relative; overflow:hidden; }.gallery-item__overlay { position:absolute; inset:auto 8px 8px; display:flex; justify-content:space-between; padding:6px 8px; background:rgba(7,5,3,.82); color:#ecd8aa; font-size:10px; }
.comment-login { display:flex; justify-content:space-between; align-items:center; gap:14px; margin:18px 0; padding:15px; border:1px solid rgba(210,166,87,.22); background:rgba(5,4,3,.24); }.comments-list { display:grid; gap:10px; }.comment-avatar { width:38px; height:38px; display:grid; place-items:center; border:1px solid #8f6b35; border-radius:50%; background:#2d1c0f; color:#ffe2a0; font-family:Georgia,serif; font-weight:900; }.comment-card { position:relative; }.comment-card .comment-delete { position:absolute; top:8px; right:8px; width:28px; height:28px; }

.submission-card__image { width:100px; height:82px; display:grid; place-items:center; padding:6px; border:1px solid rgba(207,162,80,.23); background:rgba(0,0,0,.22); }.submission-card__image img { width:100%; height:100%; object-fit:contain; }
.submission-card__top, .moderation-card__top { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:6px; }.submission-card__top time, .moderation-card__top time { color:#95866f; font-size:10px; }
.submission-card h2, .moderation-card h2 { margin:0 0 5px; color:#f1dfb8; font-family:Georgia,serif; font-size:22px; }.submission-card__content, .moderation-card__main { min-width:0; }
.submission-card__actions { display:grid; gap:7px; min-width:150px; }.moderation-note { margin-top:10px; padding:10px 12px; border-left:3px solid var(--orange); background:rgba(94,54,15,.25); }.moderation-note strong { display:block; margin-bottom:4px; color:#f4ce8e; }.moderation-note p { color:#dfc396; }.moderation-note.compact { padding:7px 9px; }
.moderation-meta { display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; color:#aa9a7e; font-size:10px; }.moderation-meta span { padding-right:8px; border-right:1px solid rgba(210,166,87,.18); }.moderation-meta span:last-child { border-right:0; }
.comment-cell { max-width:520px; white-space:normal; }.table-action { padding:6px 9px; border:1px solid #6b5635; border-radius:4px; background:#21170d; color:#efdcae; cursor:pointer; }.table-action--danger { border-color:#8f433b; color:#ffafa7; }

@media (max-width:1000px) { .detail-showcase { grid-template-columns:1fr; }.detail-cover { min-height:330px; } }
@media (max-width:720px) { .submission-card__image { width:75px; height:70px; }.detail-cover { min-height:280px; padding:18px; }.comment-login { align-items:stretch; flex-direction:column; }.gallery--all { grid-template-columns:1fr; } }
.review-image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:8px}.review-image-item{position:relative;height:82px;padding:5px;border:1px solid rgba(210,166,87,.22);background:#0b0805}.review-image-item img{width:100%;height:100%;object-fit:contain}.review-image-item button{position:absolute;top:3px;right:3px;width:24px;height:24px;border:1px solid #91463f;background:rgba(55,17,14,.9);color:#ffb1aa;cursor:pointer}

/* v2.4.0 — sources GitHub et distribution du launcher */
.field-inline { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.field-inline .wow-button { min-height: 44px; white-space: nowrap; }
.github-source-fields { padding: 16px; border: 1px solid rgba(191, 149, 73, .28); border-radius: 14px; background: rgba(31, 24, 16, .5); }
.github-source-fields > span { display: block; margin-bottom: 9px; color: var(--gold-light, #e5c27c); font-weight: 800; }
.compact-grid { margin-top: 12px; }

.launcher-admin-grid { display: grid; grid-template-columns: minmax(360px, .9fr) minmax(0, 1.25fr); gap: 20px; align-items: start; }
.launcher-release-form { padding: 24px; }
.launcher-release-form > header { margin-bottom: 20px; }
.launcher-release-form > header h2 { margin: 5px 0 7px; }
.launcher-release-form > header p { margin: 0; color: var(--text-soft); }
.launcher-release-form__footer { display: flex; justify-content: flex-end; margin-top: 20px; }

.launcher-public-page { padding: 42px 0 86px; }
.launcher-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; padding: clamp(28px, 5vw, 54px); }
.launcher-hero h1 { margin: 8px 0 14px; font-size: clamp(42px, 7vw, 76px); line-height: .96; letter-spacing: -.055em; }
.launcher-hero p { max-width: 760px; margin: 0; color: var(--text-soft); font-size: 17px; line-height: 1.65; }
.launcher-version-orb { min-width: 210px; padding: 24px; border: 1px solid rgba(213, 173, 91, .35); border-radius: 18px; background: rgba(18, 13, 8, .74); text-align: center; box-shadow: inset 0 0 24px rgba(191, 136, 43, .09); }
.launcher-version-orb span, .launcher-version-orb small { display: block; color: var(--text-soft); }
.launcher-version-orb strong { display: block; margin: 8px 0; color: #f4d18c; font-size: 34px; }
.launcher-download-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 22px 0; }
.launcher-download-card { display: flex; flex-direction: column; gap: 18px; min-height: 280px; padding: 25px; }
.launcher-download-card .platform-mark { display: grid; place-items: center; width: 55px; height: 55px; border: 1px solid rgba(218, 178, 96, .34); border-radius: 15px; color: #f2cd82; font-size: 27px; background: rgba(8, 6, 4, .36); }
.launcher-download-card h2 { margin: 0 0 7px; }
.launcher-download-card p { margin: 0 0 12px; color: var(--text-soft); }
.launcher-download-card small { color: var(--text-soft); overflow-wrap: anywhere; }
.launcher-download-card .wow-button { margin-top: auto; }
.launcher-features { margin: 22px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.feature-grid article { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); }
.feature-grid strong { color: #f1ce88; }
.feature-grid p { margin: 7px 0 0; color: var(--text-soft); line-height: 1.55; }

@media (max-width: 1050px) {
  .launcher-admin-grid { grid-template-columns: 1fr; }
  .launcher-download-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .field-inline { grid-template-columns: 1fr; }
  .launcher-hero { grid-template-columns: 1fr; }
  .launcher-version-orb { min-width: 0; }
  .feature-grid { grid-template-columns: 1fr; }
}


/* v2.4.0 — Liens permanents de téléchargement */
.permanent-link-box {
  display: grid;
  gap: 9px;
  padding: 13px;
  border: 1px solid rgba(210,166,87,.28);
  background: linear-gradient(180deg, rgba(38,27,14,.64), rgba(8,6,4,.62));
  box-shadow: inset 0 0 0 1px rgba(255,230,172,.035);
}
.permanent-link-box__label {
  color: #f1d796;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 14px;
  font-weight: 700;
}
.permanent-link-box p { margin: 0; color: #b6a486; font-size: 11px; line-height: 1.5; }
.permanent-link-box input {
  width: 100%;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid rgba(210,166,87,.3);
  background: rgba(2,2,1,.78);
  color: #efe2c3;
  font: 11px/1.35 ui-monospace, SFMono-Regular, Consolas, monospace;
}
.permanent-link-box small { color: #9d8e75; line-height: 1.4; }
.permanent-link-box__actions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px; }
.permanent-link-box__actions .wow-button { min-width: 0; padding-inline: 8px; }
@media (max-width: 540px) { .permanent-link-box__actions { grid-template-columns: 1fr; } }

/* v2.4.2 — compteurs GitHub cumulés */
.github-auto-version input[readonly] {
  color: #ffd98a;
  font-weight: 800;
  cursor: default;
  background: rgba(20, 14, 8, .72);
  border-color: rgba(196, 148, 62, .48);
}

/* ======================================================================
   v3.0.0 — PREMIUM BLACK / BLUE / VIOLET DESIGN SYSTEM
   ====================================================================== */
:root {
  --bg: #05060a;
  --bg-deep: #020307;
  --panel: rgba(14, 17, 26, .78);
  --panel-2: rgba(9, 11, 18, .86);
  --panel-3: rgba(20, 23, 35, .9);
  --line: rgba(255,255,255,.085);
  --line-soft: rgba(124, 141, 255, .16);
  --gold: #7c8cff;
  --gold-bright: #d6dcff;
  --gold-dark: #3345c7;
  --text: #f7f8ff;
  --text-soft: #959bad;
  --muted: #8d93a5;
  --blue: #4896ff;
  --blue-bright: #72b0ff;
  --violet: #8e5dff;
  --violet-bright: #b999ff;
  --green: #5ee2a0;
  --red: #ff6b81;
  --orange: #ffad66;
  --shadow: 0 28px 90px rgba(0,0,0,.48), 0 1px 0 rgba(255,255,255,.04) inset;
  --shadow-soft: 0 16px 50px rgba(0,0,0,.3);
  --radius: 22px;
  --radius-sm: 14px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { background: #04050a; }
body {
  color: var(--text);
  background:
    radial-gradient(circle at 15% -10%, rgba(48, 106, 255, .13), transparent 34%),
    radial-gradient(circle at 86% 8%, rgba(139, 74, 255, .12), transparent 30%),
    linear-gradient(180deg, #05060a 0%, #060812 48%, #04050a 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
body::before {
  z-index: -2;
  opacity: .42;
  background-image:
    linear-gradient(rgba(255,255,255,.017) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.017) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, transparent 0 35%, rgba(0,0,0,.2) 72%, rgba(0,0,0,.55) 100%);
}
.ambient {
  position: fixed;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .09;
  pointer-events: none;
  animation: ambientFloat 16s ease-in-out infinite alternate;
}
.ambient--blue { top: 8%; left: -240px; background: #2778ff; }
.ambient--violet { top: 34%; right: -250px; background: #8a45ff; animation-delay: -7s; }
@keyframes ambientFloat { to { transform: translate3d(40px, 50px, 0) scale(1.08); } }

.container { width: min(1280px, calc(100% - 44px)); }
.site-shell { position: relative; }

.wow-panel {
  border: 1px solid rgba(255,255,255,.085);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(18,21,31,.8), rgba(8,10,17,.72));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(125%);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
}
.wow-panel::before {
  inset: 0;
  border: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.055), transparent 38%, rgba(117,80,255,.025));
}

.premium-kicker, .wow-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #9ba8c8;
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.premium-kicker i, .wow-kicker::before {
  display: block;
  width: 18px;
  height: 2px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  box-shadow: 0 0 14px rgba(91,111,255,.55);
}
.premium-kicker b { color: #c9d3ff; font-weight: 800; letter-spacing: .06em; }

.wow-button {
  min-height: 44px;
  padding: 10px 18px;
  gap: 9px;
  border: 1px solid rgba(114,141,255,.42);
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #3a79f5 0%, #6650eb 52%, #884ce9 100%);
  box-shadow: 0 12px 30px rgba(54,90,224,.26), inset 0 1px rgba(255,255,255,.18);
  font-family: inherit;
  font-weight: 750;
  text-shadow: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, filter .18s ease;
}
.wow-button:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.08);
  border-color: rgba(184,199,255,.62);
  box-shadow: 0 17px 38px rgba(61,89,229,.36), inset 0 1px rgba(255,255,255,.2);
}
.wow-button:active:not(:disabled) { transform: translateY(0) scale(.985); }
.wow-button--secondary {
  border-color: rgba(255,255,255,.1);
  background: rgba(255,255,255,.045);
  box-shadow: inset 0 1px rgba(255,255,255,.055), 0 8px 22px rgba(0,0,0,.18);
  filter: none;
  color: #d7dbeb;
}
.wow-button--secondary:hover:not(:disabled) { filter: none; background: rgba(255,255,255,.075); border-color: rgba(113,143,255,.32); }
.wow-button--danger { background: linear-gradient(135deg, #d84464, #a62d50); border-color: rgba(255,113,140,.5); }
.wow-button--warning { background: linear-gradient(135deg, #c77a31, #9e502a); border-color: rgba(255,180,100,.45); }
.wow-button--large { min-height: 54px; padding-inline: 23px; border-radius: 15px; font-size: 14px; }
.icon-button { border-color: rgba(255,255,255,.1); border-radius: 11px; background: rgba(255,255,255,.045); color: #b8c1de; }
.icon-button:hover { background: rgba(255,255,255,.08); color: #fff; }

/* Header */
.premium-header, .wow-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.065);
  background: rgba(5,6,10,.72);
  box-shadow: 0 14px 45px rgba(0,0,0,.22);
  backdrop-filter: blur(24px) saturate(135%);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
}
.wow-header__inner { min-height: 78px; }
.wow-brand { gap: 13px; }
.wow-brand__crest {
  width: 43px;
  height: 43px;
  border: 1px solid rgba(150,171,255,.38);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(65,126,255,.28), rgba(132,70,255,.22));
  box-shadow: inset 0 1px rgba(255,255,255,.12), 0 10px 30px rgba(70,76,213,.24);
  color: #fff;
  font-family: inherit;
  font-size: 18px;
  font-weight: 850;
}
.wow-brand strong { color: #f8f9ff; font-family: inherit; font-size: 15px; letter-spacing: -.015em; }
.wow-brand small { color: #737b91; font-size: 9px; letter-spacing: .02em; }
.wow-nav { gap: 7px; }
.wow-nav-link {
  position: relative;
  padding: 10px 12px;
  border-radius: 11px;
  color: #8f96a8;
  font-size: 12px;
  font-weight: 650;
  transition: .18s ease;
}
.wow-nav-link:hover, .wow-nav-link.is-active { color: #eef1ff; background: rgba(255,255,255,.045); }
.wow-nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
}
.wow-nav-link--accent { color: #bdc9ff; }
.account-avatar { border-color: rgba(123,145,255,.35); background: rgba(76,85,161,.24); color: #dde4ff; font-family: inherit; }
.account-name { color: #d6daea; }

/* Conditional launcher premium header */
.launcher-spotlight {
  position: relative;
  overflow: hidden;
  padding: 28px 0 6px;
}
.launcher-spotlight__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, .72fr);
  gap: 34px;
  align-items: center;
  min-height: 330px;
  overflow: hidden;
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid rgba(102,126,255,.19);
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 16%, rgba(113,67,255,.24), transparent 31%),
    radial-gradient(circle at 20% 80%, rgba(39,119,255,.13), transparent 35%),
    linear-gradient(145deg, rgba(12,16,28,.96), rgba(5,7,13,.92));
  box-shadow: 0 34px 100px rgba(0,0,0,.43), inset 0 1px rgba(255,255,255,.055);
}
.launcher-spotlight__glow { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, transparent 40%, rgba(111,85,255,.055), transparent 65%); animation: sheen 7s linear infinite; }
@keyframes sheen { from { transform: translateX(-60%); } to { transform: translateX(70%); } }
.launcher-spotlight__content { position: relative; z-index: 2; }
.launcher-spotlight h2 { margin: 15px 0 15px; font-size: clamp(40px, 5vw, 68px); line-height: .96; letter-spacing: -.055em; }
.launcher-spotlight h2 em { font-style: normal; color: #9e92ff; }
.launcher-spotlight p { max-width: 650px; margin: 0; color: #9aa2b7; font-size: 16px; line-height: 1.65; }
.launcher-spotlight__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 27px; }
.launcher-spotlight__meta { color: #70798f; font-size: 11px; }
.launcher-spotlight__visual { position: relative; z-index: 2; perspective: 1100px; }
.launcher-mockup {
  display: grid;
  grid-template-columns: 54px 1fr;
  height: 225px;
  overflow: hidden;
  border: 1px solid rgba(169,180,255,.15);
  border-radius: 20px;
  background: #080a10;
  box-shadow: 0 30px 70px rgba(0,0,0,.5), 0 0 70px rgba(88,70,255,.14);
  transform: rotateY(-8deg) rotateX(4deg) rotateZ(1deg);
}
.launcher-mockup__rail { display: grid; align-content: start; gap: 12px; padding: 18px 12px; border-right: 1px solid rgba(255,255,255,.055); background: rgba(255,255,255,.025); }
.launcher-mockup__rail span { height: 30px; border-radius: 9px; background: rgba(255,255,255,.045); }
.launcher-mockup__rail span:first-child { background: linear-gradient(135deg, rgba(61,127,255,.58), rgba(127,71,255,.5)); box-shadow: 0 0 24px rgba(99,87,255,.24); }
.launcher-mockup__main { padding: 20px; }
.launcher-mockup__bar { width: 56%; height: 14px; border-radius: 99px; background: linear-gradient(90deg, rgba(255,255,255,.15), rgba(255,255,255,.035)); }
.launcher-mockup__cards { display: grid; gap: 10px; margin-top: 22px; }
.launcher-mockup__cards i { height: 42px; border: 1px solid rgba(255,255,255,.055); border-radius: 12px; background: linear-gradient(90deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); }
.launcher-mockup__cards i:nth-child(2) { border-color: rgba(98,111,255,.16); background: linear-gradient(90deg, rgba(69,94,255,.11), rgba(128,65,255,.06)); }

/* Homepage hero */
.premium-hero, .wow-hero {
  position: relative;
  padding: clamp(76px, 9vw, 128px) 0 clamp(60px, 8vw, 104px);
  border-bottom: 0;
  background: none;
}
.wow-hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: clamp(45px, 7vw, 95px); }
.hero-copy { max-width: 840px; }
.premium-hero h1, .wow-hero h1 {
  margin: 18px 0 23px;
  font-family: inherit;
  font-size: clamp(48px, 6.6vw, 86px);
  font-weight: 820;
  line-height: .95;
  letter-spacing: -.065em;
  text-shadow: 0 14px 42px rgba(0,0,0,.44);
}
.premium-hero h1 em, .wow-hero h1 em {
  color: transparent;
  font-style: normal;
  background: linear-gradient(95deg, #70a8ff 4%, #8587ff 45%, #b46cff 86%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 10px 26px rgba(93,80,255,.14));
}
.premium-hero p, .wow-hero p { max-width: 760px; color: #9ca3b6; font-size: 17px; line-height: 1.72; }
.premium-hero p strong, .wow-hero p strong { color: #d9def0; }
.hero-actions { margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; color: #747d92; font-size: 11px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust b { color: #69dca1; font-size: 12px; }
.premium-stats, .hero-ledger {
  display: grid;
  gap: 12px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.premium-stats::before { display: none; }
.hero-stat, .hero-ledger div {
  display: grid;
  grid-template-columns: 46px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  justify-content: initial;
  padding: 21px;
  border: 1px solid rgba(255,255,255,.07) !important;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(20,23,34,.72), rgba(8,10,17,.62));
  box-shadow: 0 18px 50px rgba(0,0,0,.23), inset 0 1px rgba(255,255,255,.035);
  backdrop-filter: blur(16px);
}
.hero-stat__icon { grid-row: 1 / 3; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(100,124,255,.22); border-radius: 14px; background: linear-gradient(145deg, rgba(56,119,255,.15), rgba(128,72,255,.12)); color: #b8c7ff !important; font-size: 12px !important; font-weight: 850; }
.hero-ledger strong { color: #f7f8ff; font-family: inherit; font-size: 28px; line-height: 1; }
.hero-ledger span { color: #7f879b; font-size: 11px; }

/* Catalogue */
.catalog-section { position: relative; padding: 70px 0 110px; }
.premium-section-title { margin-bottom: 28px; }
.section-title h2, .account-heading h1, .staff-topbar h1 {
  margin: 12px 0 7px;
  color: #f7f8ff;
  font-family: inherit;
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 790;
  letter-spacing: -.045em;
}
.section-title p, .account-heading p, .staff-topbar p { color: #858da1; }
.premium-filter, .filter-bar {
  position: sticky;
  top: 94px;
  z-index: 35;
  grid-template-columns: minmax(240px, 1.7fr) repeat(3, minmax(145px,.75fr)) auto;
  margin-bottom: 28px;
  padding: 13px;
  border-radius: 18px;
  background: rgba(9,11,18,.78);
  box-shadow: 0 18px 45px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.035);
}
.filter-bar label { gap: 5px; color: #697185; font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.filter-bar input, .filter-bar select, .field input, .field select, .field textarea {
  min-height: 44px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 12px;
  color: #edf0fa;
  background: rgba(3,5,10,.62);
  box-shadow: inset 0 1px 4px rgba(0,0,0,.34);
  padding: 10px 12px;
}
.filter-bar input::placeholder, .field input::placeholder, .field textarea::placeholder { color: #51586a; }
.filter-bar input:focus, .filter-bar select:focus, .field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(93,129,255,.6);
  box-shadow: 0 0 0 3px rgba(72,105,255,.1), inset 0 1px 4px rgba(0,0,0,.2);
}
.filter-check input { accent-color: #637cff; }

.addon-grid { grid-template-columns: repeat(auto-fill, minmax(325px, 1fr)); gap: 22px; }
.premium-addon-card, .addon-card {
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(17,20,30,.84), rgba(7,9,15,.88));
  box-shadow: 0 20px 58px rgba(0,0,0,.3), inset 0 1px rgba(255,255,255,.035);
  animation: cardIn .55s cubic-bezier(.2,.75,.25,1) both;
  animation-delay: calc(min(var(--card-index, 0), 8) * 55ms);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
.premium-addon-card:hover, .addon-card:hover {
  transform: translateY(-7px);
  filter: none;
  border-color: rgba(101,120,255,.25);
  box-shadow: 0 30px 85px rgba(0,0,0,.42), 0 0 0 1px rgba(103,86,255,.06) inset;
}
.addon-card__cover {
  position: relative;
  height: 205px;
  padding: 25px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background:
    radial-gradient(circle at 50% 45%, rgba(75,106,255,.12), transparent 42%),
    linear-gradient(180deg, rgba(21,25,38,.82), rgba(9,11,18,.94));
}
.addon-card__cover img { position: relative; z-index: 2; object-fit: contain; filter: drop-shadow(0 16px 24px rgba(0,0,0,.5)); transition: transform .35s ease, filter .35s ease; }
.addon-card:hover .addon-card__cover img { transform: scale(1.025); filter: drop-shadow(0 18px 30px rgba(0,0,0,.58)); }
.addon-card__media-glow { position: absolute; inset: 23% 20%; border-radius: 50%; background: rgba(73,89,255,.18); filter: blur(40px); opacity: 0; transition: opacity .3s ease; }
.addon-card:hover .addon-card__media-glow { opacity: 1; }
.addon-card__view { position: absolute; z-index: 4; right: 13px; bottom: 13px; display: flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.09); border-radius: 10px; background: rgba(4,6,11,.72); color: #aeb6cb; font-size: 10px; font-weight: 700; opacity: 0; transform: translateY(4px); backdrop-filter: blur(10px); transition: .2s ease; }
.addon-card:hover .addon-card__view { opacity: 1; transform: none; }
.addon-card__fallback { border-color: rgba(112,133,255,.3); background: rgba(58,75,155,.14); color: #c4ceff; font-family: inherit; }
.addon-card__body { padding: 21px; }
.addon-card__badges { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 15px; }
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: #a8aec0;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .035em;
}
.status-badge--verified, .status-badge--adapted { border-color: rgba(70,157,255,.24); background: rgba(48,124,255,.08); color: #81baff; }
.status-badge--native, .status-badge--translated { border-color: rgba(77,224,153,.22); background: rgba(42,192,125,.07); color: #75e7ae; }
.status-badge--partial, .status-badge--untested { border-color: rgba(255,175,102,.22); background: rgba(255,144,64,.065); color: #ffbe83; }
.status-badge--incompatible, .status-badge--not_available { border-color: rgba(255,101,129,.2); background: rgba(255,70,103,.055); color: #ff8da3; }
.addon-card__meta { display: flex; gap: 10px; margin-bottom: 8px; color: #646d80; font-size: 10px; font-weight: 650; }
.addon-card h3 { margin: 0; font-size: 23px; letter-spacing: -.035em; }
.addon-card h3 a { transition: color .18s ease; }
.addon-card h3 a:hover { color: #aebaff; }
.addon-card__desc { min-height: 64px; color: #9299aa; font-size: 13px; line-height: 1.6; }
.addon-card__file {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.addon-card__file div { display: grid; gap: 3px; }
.addon-card__file small { color: #4f5768; font-size: 8px; font-weight: 850; letter-spacing: .1em; }
.addon-card__file strong { color: #dfe4f7; font-size: 13px; }
.addon-card__downloads { text-align: right; }
.addon-card__actions { display: grid; grid-template-columns: 1fr 1.3fr; gap: 9px; margin-top: 17px; }

/* Detail premium */
.premium-detail-page, .detail-page { padding: 32px 0 110px; }
.premium-breadcrumb, .breadcrumb { display: flex; gap: 9px; margin-bottom: 18px; color: #677084; font-size: 11px; }
.premium-breadcrumb a:hover { color: #afbbff; }
.premium-detail-showcase, .detail-showcase {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(390px, 1.1fr);
  gap: 22px;
  align-items: stretch;
}
.premium-detail-cover, .detail-cover {
  position: relative;
  min-height: 460px;
  padding: clamp(30px, 4vw, 54px);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 48%, rgba(68,94,255,.12), transparent 40%),
    linear-gradient(145deg, rgba(16,19,29,.8), rgba(7,9,15,.9));
}
.detail-cover__aura { position: absolute; inset: 24% 22%; border-radius: 50%; background: linear-gradient(135deg, rgba(44,130,255,.22), rgba(133,62,255,.2)); filter: blur(60px); opacity: .52; }
.detail-cover img { position: relative; z-index: 2; max-height: 390px; filter: drop-shadow(0 20px 35px rgba(0,0,0,.58)); }
.detail-cover__hint { right: 15px; bottom: 15px; padding: 8px 11px; border-color: rgba(255,255,255,.09); border-radius: 10px; background: rgba(4,6,11,.74); color: #9ba4bc; backdrop-filter: blur(12px); }
.premium-detail-summary, .detail-summary {
  padding: clamp(28px, 4vw, 48px);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(19,22,33,.86), rgba(8,10,17,.91));
}
.detail-summary h1 { margin: 13px 0 15px; font-size: clamp(43px, 5.1vw, 72px); font-weight: 820; line-height: .94; letter-spacing: -.06em; }
.detail-summary__top > p { color: #969dae; font-size: 15px; line-height: 1.65; }
.detail-statuses { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 19px; }
.premium-detail-facts, .detail-facts { grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 26px 0; }
.detail-facts > div { padding: 12px; border-color: rgba(255,255,255,.065); border-radius: 12px; background: rgba(255,255,255,.023); }
.detail-facts span { color: #5b6477; font-size: 8px; font-weight: 850; letter-spacing: .08em; }
.detail-facts strong { color: #dfe3ef; font-size: 12px; }
.premium-download-button { display: grid; grid-template-columns: 1fr auto auto; text-align: left; }
.premium-download-button b { opacity: .72; font-size: 11px; }
.premium-download-button i { font-style: normal; font-size: 17px; }
.detail-download-meta { color: #596174; }
.source-link { color: #899cff; }
.source-link:hover { color: #bdc7ff; }

/* Alternating visual storytelling */
.presentation-section { margin-top: clamp(68px, 8vw, 110px); }
.presentation-heading { max-width: 730px; margin-bottom: 38px; }
.presentation-heading h2 { margin: 13px 0 0; font-size: clamp(38px, 5vw, 62px); letter-spacing: -.055em; line-height: .98; }
.presentation-stack { display: grid; gap: clamp(42px, 7vw, 88px); }
.presentation-block {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  grid-template-areas: "copy media";
  gap: clamp(36px, 6vw, 82px);
  align-items: center;
  min-height: 430px;
}
.presentation-block.is-reverse { grid-template-areas: "media copy"; grid-template-columns: minmax(420px, 1.1fr) minmax(0, .9fr); }
.presentation-block__copy { grid-area: copy; position: relative; padding: 16px 0; }
.presentation-block__number { display: inline-flex; margin-bottom: 20px; color: #454e66; font-size: 11px; font-weight: 850; letter-spacing: .16em; }
.presentation-block__copy::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(transparent, rgba(90,113,255,.35), rgba(135,65,255,.25), transparent);
}
.presentation-block__copy .detail-content { color: #a5acbd; font-size: 15px; line-height: 1.78; }
.presentation-block__copy .detail-content h2 { margin: 0 0 18px; color: #f4f6fd; font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.045em; line-height: 1.04; }
.presentation-block__copy .detail-content h3 { margin: 0 0 14px; color: #eef1fb; font-size: 24px; letter-spacing: -.025em; }
.presentation-block__copy .detail-content strong { color: #e3e7f7; }
.presentation-block__media {
  grid-area: media;
  position: relative;
  min-height: 380px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  background: #080a10;
  box-shadow: 0 30px 80px rgba(0,0,0,.4), inset 0 1px rgba(255,255,255,.04);
  cursor: zoom-in;
  transform: perspective(1100px) rotateY(-1.6deg);
  transition: transform .35s cubic-bezier(.2,.75,.25,1), border-color .35s ease, box-shadow .35s ease;
}
.presentation-block.is-reverse .presentation-block__media { transform: perspective(1100px) rotateY(1.6deg); }
.presentation-block__media:hover { transform: perspective(1100px) rotateY(0) translateY(-5px); border-color: rgba(107,124,255,.28); box-shadow: 0 38px 95px rgba(0,0,0,.5), 0 0 65px rgba(78,69,255,.08); }
.presentation-block__media img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 10px; object-fit: contain; transition: transform .55s cubic-bezier(.2,.75,.25,1); }
.presentation-block__media:hover img { transform: scale(1.025); }
.presentation-block__glow { position: absolute; z-index: 2; inset: auto 8% -28% 8%; height: 45%; background: rgba(83,74,255,.18); filter: blur(45px); pointer-events: none; }
.presentation-block__zoom { position: absolute; z-index: 3; right: 14px; bottom: 14px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: rgba(4,6,11,.68); color: #c4c9d8; font-size: 10px; font-weight: 700; backdrop-filter: blur(12px); }
.presentation-text-only { max-width: 940px; margin-inline: auto; padding: clamp(28px, 5vw, 54px); border: 1px solid rgba(255,255,255,.07); border-radius: 24px; background: rgba(14,17,26,.58); box-shadow: var(--shadow-soft); color: #a4abbd; }
.presentation-text-only h2 { color: #f5f6fd; font-size: clamp(30px,4vw,48px); letter-spacing: -.045em; }

.detail-notes-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin-top: 70px; }
.compatibility-box, .changelog-box { margin: 0; padding: 26px; border-color: rgba(255,255,255,.075); border-radius: 19px; background: linear-gradient(145deg, rgba(17,20,31,.72), rgba(8,10,17,.76)); }
.compatibility-box > strong, .changelog-box > strong { margin: 11px 0 12px; color: #f0f2fb; font-family: inherit; font-size: 22px; }
.compatibility-box p, .changelog-box p { color: #9098aa; }

.premium-gallery, .gallery-section, .premium-comments, .comments-section { margin-top: 70px; padding: clamp(24px,4vw,38px); border-radius: 24px; }
.gallery-heading h2, .comments-heading h2 { margin: 10px 0 4px; color: #f3f5fb; font-family: inherit; font-size: clamp(30px,4vw,42px); letter-spacing: -.04em; }
.gallery-heading p, .comments-heading p { color: #697185; }
.gallery--all { grid-template-columns: repeat(auto-fill, minmax(250px,1fr)); gap: 13px; }
.gallery-item { border: 1px solid rgba(255,255,255,.07); border-radius: 15px; background: #080a10; box-shadow: 0 14px 35px rgba(0,0,0,.22); }
.gallery-item img { aspect-ratio: 16/10; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item__overlay { inset: auto 8px 8px; border-radius: 9px; background: rgba(4,6,11,.72); color: #c1c6d5; backdrop-filter: blur(10px); }
.comment-login { border-color: rgba(255,255,255,.07); border-radius: 14px; background: rgba(255,255,255,.025); }
.comment-card { display: grid; grid-template-columns: auto 1fr; gap: 13px; padding: 16px; border: 1px solid rgba(255,255,255,.06); border-radius: 15px; background: rgba(255,255,255,.02); }
.comment-avatar { border-color: rgba(104,128,255,.25); background: rgba(67,83,170,.13); color: #c6d0ff; font-family: inherit; }
.comment-card header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.comment-card time { color: #596174; font-size: 10px; }
.comment-card p { margin: 6px 0 0; color: #9ba2b4; line-height: 1.55; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.75,.25,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.presentation-block:nth-child(even) { transition-delay: 80ms; }

/* Launcher public page */
.launcher-public-page { padding: 48px 0 110px; }
.launcher-hero { border-radius: 28px; background: radial-gradient(circle at 80% 20%, rgba(113,67,255,.17), transparent 32%), linear-gradient(145deg, rgba(16,20,32,.86), rgba(7,9,15,.91)); }
.launcher-hero h1 { color: #f7f8ff; font-weight: 820; }
.launcher-hero p { color: #929aaf; }
.launcher-version-orb { border-color: rgba(91,117,255,.22); border-radius: 18px; background: rgba(8,10,17,.62); box-shadow: inset 0 1px rgba(255,255,255,.04); }
.launcher-version-orb strong { color: #b8c3ff; }
.launcher-download-card { border-radius: 20px; background: linear-gradient(145deg, rgba(17,20,30,.78), rgba(7,9,15,.83)); }
.launcher-download-card .platform-mark { border-color: rgba(105,130,255,.21); background: rgba(58,79,181,.12); color: #b7c6ff; }
.feature-grid article { border-color: rgba(255,255,255,.065); background: rgba(255,255,255,.022); }
.feature-grid strong { color: #dce2f8; }
.feature-grid p { color: #8b93a7; }

/* Admin / account get the same modern system */
.account-shell, .staff-shell, .account-page, .staff-app { background: transparent !important; }
.account-card, .submission-card, .moderation-card, .table-panel, .launcher-release-form, .wow-modal, .staff-sidebar, .staff-topbar {
  border-color: rgba(255,255,255,.075) !important;
  background: linear-gradient(145deg, rgba(16,19,29,.82), rgba(7,9,15,.87)) !important;
  box-shadow: 0 22px 70px rgba(0,0,0,.34), inset 0 1px rgba(255,255,255,.035) !important;
}
.staff-sidebar { backdrop-filter: blur(22px); }
.staff-nav button, .account-tabs button { border-radius: 11px !important; color: #858da2 !important; }
.staff-nav button:hover, .staff-nav button.is-active, .account-tabs button:hover, .account-tabs button.is-active { color: #e9edff !important; background: rgba(89,112,255,.1) !important; }
.wow-table th { color: #616a80; font-size: 9px; letter-spacing: .08em; }
.wow-table td { border-color: rgba(255,255,255,.055); color: #a9afbe; }
.table-action { border-color: rgba(255,255,255,.08); border-radius: 9px; background: rgba(255,255,255,.035); color: #cbd2e8; }
.table-action:hover { background: rgba(255,255,255,.065); }
.github-source-fields, .permanent-link-box { border-color: rgba(96,119,255,.17); border-radius: 14px; background: rgba(57,70,145,.055); }
.github-source-fields > span, .permanent-link-box__label { color: #bdc8ff; font-family: inherit; }
.permanent-link-box p, .permanent-link-box small { color: #7d8599; }
.permanent-link-box input { border-color: rgba(255,255,255,.08); background: rgba(3,5,10,.66); color: #cdd3e5; }
.review-image-item { border-color: rgba(255,255,255,.07); background: #080a10; }

/* Footer */
.premium-footer, .wow-footer, .site-footer { border-top: 1px solid rgba(255,255,255,.055); background: rgba(3,4,8,.62); color: #646c7f; }
.wow-footer__inner { min-height: 100px; }
.wow-footer strong { color: #c8cddd; }

/* Lightbox */
.image-lightbox { background: rgba(2,3,7,.94); backdrop-filter: blur(22px); }
.image-lightbox img { border: 1px solid rgba(255,255,255,.08); box-shadow: 0 32px 110px rgba(0,0,0,.7); }
.image-lightbox__close, .image-lightbox__nav { border-color: rgba(255,255,255,.09); background: rgba(10,12,20,.72); backdrop-filter: blur(16px); }

@media (max-width: 1080px) {
  .launcher-spotlight__inner { grid-template-columns: 1fr; }
  .launcher-spotlight__visual { display: none; }
  .wow-hero__grid { grid-template-columns: 1fr; }
  .premium-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-stat { grid-template-columns: 38px 1fr; padding: 16px; }
  .hero-stat__icon { width: 38px; height: 38px; }
  .premium-detail-showcase, .detail-showcase { grid-template-columns: 1fr; }
  .presentation-block, .presentation-block.is-reverse { grid-template-columns: 1fr; grid-template-areas: "copy" "media"; gap: 24px; }
  .presentation-block__media, .presentation-block.is-reverse .presentation-block__media { min-height: 360px; transform: none; }
  .premium-filter, .filter-bar { position: static; grid-template-columns: repeat(2, 1fr); }
  .filter-search { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 24px, 1280px); }
  .wow-header__inner { min-height: 66px; }
  .wow-brand small { display: none; }
  .wow-nav { gap: 2px; }
  .wow-nav-link { padding: 9px 8px; font-size: 10px; }
  .wow-nav-link[href="/launcher/"] { display: none; }
  .premium-hero, .wow-hero { padding-top: 68px; }
  .premium-hero h1, .wow-hero h1 { font-size: clamp(42px, 13vw, 65px); }
  .premium-stats { grid-template-columns: 1fr; }
  .launcher-spotlight { padding-top: 14px; }
  .launcher-spotlight__inner { min-height: 0; padding: 28px 22px; border-radius: 22px; }
  .launcher-spotlight h2 { font-size: 42px; }
  .premium-filter, .filter-bar { grid-template-columns: 1fr; top: 76px; }
  .filter-search { grid-column: auto; }
  .filter-check { padding: 7px 2px; }
  .addon-grid { grid-template-columns: 1fr; }
  .addon-card__cover { height: 188px; }
  .premium-detail-cover, .detail-cover { min-height: 320px; padding: 24px; }
  .premium-detail-facts, .detail-facts { grid-template-columns: repeat(2, 1fr); }
  .presentation-section { margin-top: 60px; }
  .presentation-heading h2 { font-size: 40px; }
  .presentation-block__copy::before { display: none; }
  .presentation-block__media { min-height: 250px; border-radius: 18px; }
  .detail-notes-grid { grid-template-columns: 1fr; }
  .gallery--all { grid-template-columns: 1fr; }
  .image-lightbox { padding-inline: 10px; }
}

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

/* ========================================================================== */
/* v3.2.0 — workflow contributeur & gestion staff logique                     */
/* ========================================================================== */
.submission-flow { display: grid; gap: 18px; }
.submission-step { padding: 20px; border: 1px solid rgba(126, 159, 255, .13); border-radius: 20px; background: linear-gradient(180deg, rgba(11,15,27,.84), rgba(7,10,18,.68)); box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 14px 36px rgba(0,0,0,.12); }
.submission-step > header { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.submission-step > header > span { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; border-radius: 10px; color: #d9e7ff; font-size: 11px; font-weight: 900; background: linear-gradient(135deg, rgba(34,137,255,.26), rgba(149,76,255,.24)); border: 1px solid rgba(128,147,255,.28); box-shadow: 0 7px 22px rgba(59,79,255,.12); }
.submission-step > header h3 { margin: 0; font-size: 17px; }
.submission-step > header p { margin: 4px 0 0; color: var(--text-soft); font-size: 12px; line-height: 1.5; }
.current-cover-preview { margin: 8px 0 10px; }
.current-cover-preview img { display: block; width: min(220px, 100%); max-height: 130px; object-fit: contain; border-radius: 14px; padding: 8px; background: rgba(3,6,12,.68); border: 1px solid rgba(112,149,255,.14); }
.current-cover-preview small { display: block; margin-top: 7px; color: var(--text-soft); }
.existing-image-manager { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin: 9px 0 12px; }
.existing-image-item { position: relative; overflow: hidden; min-height: 80px; border-radius: 14px; border: 1px solid rgba(119,151,255,.14); background: rgba(4,7,13,.72); }
.existing-image-item img { display: block; width: 100%; height: 92px; object-fit: cover; }
.existing-image-item button { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; color: #fff; background: rgba(8,9,15,.82); cursor: pointer; }
.existing-image-item button:hover { background: rgba(219,68,93,.88); }
.addon-update-state { margin-top: 16px; padding: 13px 15px; border-radius: 14px; border: 1px solid rgba(88,145,255,.18); background: rgba(29,64,127,.10); }
.addon-update-state > div { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.addon-update-state strong { color: #dfeaff; }
.addon-update-state span { color: #8ea6ca; font-size: 12px; }
.addon-update-state p { margin: 9px 0 0; color: #b8c6dc; font-size: 12px; }
.addon-update-state--changes-requested, .addon-update-state--rejected { border-color: rgba(255,154,102,.28); background: rgba(128,50,27,.10); }
.addon-update-state--reviewing { border-color: rgba(165,105,255,.28); background: rgba(93,47,160,.10); }
.moderation-kind { display: inline-flex; margin: 0 8px 7px 0; padding: 5px 9px; border-radius: 999px; color: #97b8e8; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: rgba(43,93,168,.13); border: 1px solid rgba(84,143,235,.18); }
.moderation-kind--update { color: #d1b5ff; background: rgba(113,55,183,.14); border-color: rgba(156,92,255,.22); }
.staff-access-panel { padding: 24px; margin-bottom: 18px; }
.staff-access-panel > header { margin-bottom: 18px; }
.staff-access-panel h2 { margin: 6px 0; }
.staff-access-panel p { margin: 0; color: var(--text-soft); }
.staff-user-search { display: grid; gap: 12px; }
.staff-search-results { display: grid; gap: 8px; }
.staff-search-result { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(105,143,255,.13); background: rgba(5,8,15,.58); }
.staff-search-result > div { min-width: 0; }
.staff-search-result strong, .staff-search-result span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.staff-search-result > div span { margin-top: 3px; color: var(--text-soft); font-size: 11px; }
.staff-role-pill { padding: 6px 9px; border-radius: 999px; color: #a9c1e8; font-size: 10px; font-weight: 800; background: rgba(51,83,135,.15); border: 1px solid rgba(101,144,214,.16); }
@media (max-width: 700px) {
  .submission-step { padding: 16px; }
  .staff-search-result { grid-template-columns: 1fr; }
  .staff-role-pill { width: fit-content; }
}
