@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --ink: #151719;
  --paper: #f5f0e7;
  --white: #fffaf2;
  --orange: #ef5b2a;
  --orange-dark: #cd431a;
  --muted: #9da0a0;
  --line: rgba(21, 23, 25, .15);
  --radius: 22px;
  --shadow: 0 24px 60px rgba(0, 0, 0, .2);
  --header-height: 150px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--white); font-family: "DM Sans", system-ui, sans-serif; line-height: 1.55; }
body::selection { background: var(--orange); color: white; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Manrope", sans-serif; letter-spacing: -.045em; line-height: .98; }
h1 { font-size: clamp(3.2rem, 8vw, 7.6rem); margin-bottom: 26px; }
h2 { font-size: clamp(2.3rem, 5vw, 5rem); margin-bottom: 22px; }
h3 { font-size: 1.45rem; }

.site-header { height: var(--header-height); padding: 20px clamp(22px, 5vw, 76px); display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; background: linear-gradient(180deg,rgba(5,9,10,.22),rgba(5,9,10,.7)), url("../images/header-aerial-banner.jpg") center 66%/cover no-repeat; position: relative; z-index: 50; border-bottom: 3px solid var(--orange); box-shadow: 0 12px 36px rgba(0,0,0,.25); }
.brand { display: inline-flex; gap: 13px; align-items: center; font-family: "Manrope", sans-serif; font-weight: 800; letter-spacing: -.03em; }
.header-identity { flex: 0 0 auto; padding: 10px 15px 9px; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; background: rgba(10,13,14,.78); backdrop-filter: blur(10px); }
.brand-mark { color: var(--orange); font-size: 23px; line-height: 1; position: relative; }
.brand-mark i { width: 4px; height: 4px; background: var(--white); border-radius: 50%; position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); }
.signed-in-user { display: flex; align-items: center; gap: 5px; max-width: 250px; margin: 5px 0 0 36px; color: #d7d9d8; font-size: .68rem; line-height: 1.25; }
.signed-in-user > span { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #61d095; box-shadow: 0 0 0 3px rgba(97,208,149,.14); }
.signed-in-user small { font-size: inherit; }
.signed-in-user strong { overflow: hidden; color: white; text-overflow: ellipsis; white-space: nowrap; }
.signed-in-user:hover strong { color: var(--orange); }
.site-header nav { display: flex; align-items: center; gap: clamp(11px, 1.35vw, 23px); padding: 11px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(10,13,14,.8); backdrop-filter: blur(12px); font-size: .82rem; font-weight: 700; }
.site-header nav a:hover { color: var(--orange); }
.site-header nav a.active { color: var(--orange); }
.outline-link { border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 9px 17px; }
.menu-button { display: none; color: white; border: 1px solid rgba(255,255,255,.5); background: rgba(10,13,14,.78); backdrop-filter: blur(10px); border-radius: 999px; padding: 9px 15px; }

.eyebrow { margin-bottom: 16px; text-transform: uppercase; letter-spacing: .21em; font-size: .72rem; font-weight: 800; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 49px; padding: 12px 20px; border: 0; border-radius: 999px; font-weight: 800; cursor: pointer; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button:disabled { cursor: wait; opacity: .65; }
.button-primary { background: var(--orange); color: white; }
.button-primary:hover { background: var(--orange-dark); }
.button-secondary { color: white; border: 1px solid rgba(255,255,255,.6); background: transparent; }
.button-dark { color: white; background: var(--ink); }
.button-danger { background: #972f24; color: white; }
.text-link { font-weight: 800; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 6px; }

.hero { position: relative; min-height: calc(100vh - var(--header-height)); overflow: hidden; }
.hero-bg, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { background: linear-gradient(90deg, rgba(8,10,10,.95), rgba(8,10,10,.65) 48%, rgba(8,10,10,.2)), linear-gradient(0deg, rgba(10,10,10,.7), transparent 40%); }
.hero-grid { min-height: calc(100vh - var(--header-height)); position: relative; z-index: 2; padding: 8vh clamp(22px,5vw,76px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(460px, .95fr); align-items: center; gap: 6vw; }
.hero-copy { max-width: 720px; }
.hero-copy h1 strong { display: block; color: var(--orange); }
.hero-copy > p:not(.eyebrow) { color: #d9dcdb; max-width: 600px; font-size: 1.08rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 36px 0; }
.hero-meta { display: flex; gap: 28px; color: #c6c8c8; font-size: .8rem; }
.hero-meta b { color: white; display: block; font-size: .92rem; }
.home-hero-grid { grid-template-columns: minmax(0,1.1fr) minmax(360px,.7fr); }
.home-route-panel { width: 100%; padding: clamp(22px,3vw,34px); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); background: rgba(12,14,14,.76); backdrop-filter: blur(16px); box-shadow: var(--shadow); }
.home-route-panel > a { display: grid; grid-template-columns: 38px 1fr auto; gap: 14px; align-items: center; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.16); }
.home-route-panel > a:hover strong, .home-route-panel > a:hover > b { color: var(--orange); }
.home-route-panel > a > span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: var(--orange); font-size: .72rem; font-weight: 900; }
.home-route-panel strong, .home-route-panel small { display: block; }
.home-route-panel strong { margin-bottom: 3px; font: 800 1.05rem "Manrope", sans-serif; letter-spacing: -.02em; }
.home-route-panel small { color: #bfc1c0; line-height: 1.45; }
.home-route-panel > a > b { font-size: 1.4rem; }
.hero-battle { height: min(660px, 72vh); position: relative; }
.battle-card { position: absolute; width: 64%; height: 65%; overflow: hidden; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.25); box-shadow: var(--shadow); background: #222; }
.battle-card button { width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; color: white; background: transparent; }
.battle-card img { width: 100%; height: 100%; object-fit: cover; }
.card-1 { left: 0; top: 0; z-index: 1; transform: rotate(-2.5deg); }
.card-2 { right: 0; bottom: 0; z-index: 2; transform: rotate(2.5deg); }
.battle-card:hover, .battle-card.selected { outline: 4px solid var(--orange); z-index: 4; }
.photo-label, .vote-label { position: absolute; left: 18px; border-radius: 999px; font-weight: 800; }
.photo-label { top: 18px; padding: 7px 12px; background: rgba(0,0,0,.7); font-size: .72rem; text-transform: uppercase; }
.vote-label { bottom: 18px; padding: 10px 14px; background: var(--orange); }
.versus { position: absolute; z-index: 6; inset: 48% auto auto 50%; transform: translate(-50%,-50%) rotate(-7deg); width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--ink); font-family: "Manrope", sans-serif; font-weight: 900; }
.battle-note { position: absolute; z-index: 7; bottom: -28px; right: 0; max-width: 290px; font-size: .68rem; color: #bbb; text-align: right; }

.intro-section, .content-section, .market-section, .orange-section, .request-admin { padding: 110px clamp(22px, 7vw, 110px); }
.intro-section { display: grid; grid-template-columns: 1fr .8fr; gap: 10vw; background: var(--paper); color: var(--ink); align-items: end; }
.intro-section p:last-child { max-width: 600px; color: #555; font-size: 1.1rem; }
.split-feature { min-height: 650px; display: grid; grid-template-columns: 1fr 1fr; }
.split-feature.reverse .feature-image { order: 2; }
.feature-image { position: relative; min-height: 560px; overflow: hidden; }
.feature-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.feature-image:hover img { transform: scale(1.03); }
.feature-copy { padding: 9vw; display: flex; flex-direction: column; justify-content: center; background: #202224; }
.reverse .feature-copy { background: var(--paper); color: var(--ink); }
.feature-copy p:not(.eyebrow) { color: #bfc1c0; max-width: 520px; font-size: 1.08rem; }
.reverse .feature-copy p:not(.eyebrow) { color: #555; }
.play-disc { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); background: var(--orange); width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%; font-size: 1.4rem; }
.orange-section { background: var(--orange); color: white; }
.orange-section > div:first-child { max-width: 880px; }
.feature-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 54px; }
.feature-cards article { min-height: 260px; padding: 30px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); border-radius: var(--radius); }
.feature-cards article > span { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid white; border-radius: 50%; font-size: .75rem; font-weight: 800; }
.feature-cards h3 { margin-top: 70px; }
.market-section { display: grid; grid-template-columns: 1.05fr .95fr; gap: 8vw; background: var(--paper); color: var(--ink); align-items: center; }
.market-image { position: relative; }
.market-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.split-badge { position: absolute; right: -25px; bottom: -25px; width: 130px; height: 130px; display: grid; place-content: center; text-align: center; border-radius: 50%; color: white; background: var(--orange); transform: rotate(-8deg); }
.split-badge b { display: block; font-size: 2.2rem; }
.market-copy > p:not(.eyebrow) { color: #555; }
.price-list { margin: 30px 0; border-top: 1px solid var(--line); }
.price-list span { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cta-section { min-height: 600px; position: relative; display: grid; place-items: center; text-align: center; padding: 70px 20px; overflow: hidden; }
.cta-section img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.cta-section::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.cta-section > div { z-index: 2; max-width: 850px; }
.compact-cta { min-height: 520px; }

.home-paths { padding: 105px clamp(22px,7vw,110px); background: var(--paper); color: var(--ink); }
.path-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.path-card-grid article { min-height: 330px; padding: clamp(24px,3vw,38px); display: flex; flex-direction: column; align-items: flex-start; border-radius: var(--radius); background: white; box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.path-card-grid article p { color: #626262; }
.path-card-grid article .text-link { margin-top: auto; }
.path-number { width: 44px; height: 44px; margin-bottom: 55px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--orange); font-size: .75rem; font-weight: 900; }
.home-callout { padding: 72px clamp(22px,7vw,110px); display: flex; justify-content: space-between; align-items: center; gap: 45px; background: #202224; }
.home-callout > div:first-child { max-width: 760px; }
.home-callout h2 { margin-bottom: 12px; font-size: clamp(2.2rem,4.5vw,4.6rem); }
.home-callout p:last-child { margin-bottom: 0; color: #bfc1c0; }
.light-callout { color: var(--ink); background: var(--paper); }
.light-callout p:last-child { color: #626262; }
.callout-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.page-hero, .dashboard-hero { padding: 105px clamp(22px,7vw,110px); background: var(--ink); }
.page-hero { max-width: 1500px; }
.page-hero > p:last-child { max-width: 660px; color: #bfc1c0; font-size: 1.1rem; }
.content-section { background: var(--paper); color: var(--ink); }
.light-section { background: var(--paper); }
.empty-state { width: 100%; padding: 72px 30px; border: 1px dashed #a4a097; border-radius: var(--radius); text-align: center; }
.empty-state > span { font-size: 3rem; color: var(--orange); }
.photo-battle-section { min-height: 730px; padding: 85px clamp(22px,7vw,110px); display: grid; grid-template-columns: minmax(260px,.6fr) minmax(480px,1.4fr); gap: 7vw; align-items: center; background: #202224; }
.battle-page-copy { max-width: 480px; }
.battle-page-copy h2 { font-size: clamp(2.8rem,5vw,5.2rem); }
.battle-page-copy > p:not(.eyebrow) { color: #bfc1c0; }
.battle-page-cards { width: 100%; max-width: 800px; justify-self: center; }
.battle-progress { margin-top: 30px; padding: 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; background: rgba(255,255,255,.06); }
.battle-progress > div:first-child { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 11px; font-size: .78rem; }
.battle-progress span { color: #bfc1c0; }
.battle-progress-track { height: 7px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.13); }
.battle-progress-track i { display: block; height: 100%; border-radius: inherit; background: var(--orange); transition: width .3s ease; }
.battle-complete { display: grid; gap: 3px; margin-top: 12px; padding: 14px 16px; border-radius: 14px; color: #dff7e9; background: rgba(58,151,99,.18); font-size: .78rem; }
.battle-complete span { color: #b9d8c6; }
.battle-pager { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; max-width: 800px; margin: -52px auto 0; padding: 13px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 15px; color: #c9cbca; background: rgba(10,13,14,.56); font-size: .75rem; font-weight: 800; }
.battle-pager > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.battle-pager a { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.26); border-radius: 50%; }
.battle-pager a:hover, .battle-pager a.active { color: white; border-color: var(--orange); background: var(--orange); }
.battle-pager a.voted:not(.active) { color: #79d9a3; border-color: rgba(121,217,163,.5); }
.battle-explainer { padding: 80px clamp(22px,7vw,110px); display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; color: var(--ink); background: var(--paper); }
.battle-explainer article { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.battle-explainer article > span, .process-grid article > span { color: var(--orange); font-weight: 900; }
.battle-explainer h3 { margin: 45px 0 12px; }
.battle-explainer p { margin-bottom: 0; color: #626262; }
.process-section { padding-top: 95px; }
.process-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.process-grid article { min-height: 290px; padding: 30px; border: 1px solid #ddd5c9; border-radius: var(--radius); background: white; }
.process-grid h3 { margin: 65px 0 12px; }
.process-grid p { margin-bottom: 0; color: #626262; }
.focused-orange { padding-top: 95px; padding-bottom: 95px; }
.creator-page-hero { max-width: none; background: linear-gradient(110deg,rgba(21,23,25,.98),rgba(21,23,25,.72)), url("../images/battle-coast.webp") center/cover; }
.creator-page-hero h1 { font-size: clamp(3.6rem,8vw,7.6rem); }
.creator-benefits { padding-top: 95px; }
.creator-workflow { padding: 100px clamp(22px,7vw,110px); display: grid; grid-template-columns: 1.15fr .55fr; gap: 8vw; align-items: center; background: #202224; }
.creator-workflow h2 { font-size: clamp(2.7rem,5vw,5.2rem); }
.creator-rule-list { margin: 38px 0 0; padding: 0; list-style: none; }
.creator-rule-list li { padding: 18px 0; display: grid; grid-template-columns: minmax(170px,.45fr) 1fr; gap: 25px; border-top: 1px solid rgba(255,255,255,.18); }
.creator-rule-list span { color: #bfc1c0; }
.creator-share-card { padding: clamp(30px,4vw,48px); border-radius: var(--radius); color: var(--ink); background: var(--orange); transform: rotate(1.5deg); }
.creator-share-card > span { display: block; font: 800 clamp(4.5rem,8vw,7rem) "Manrope",sans-serif; letter-spacing: -.08em; line-height: 1; }
.creator-share-card h3 { margin: 20px 0 10px; }
.licence-option-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.licence-option-grid article { min-height: 300px; padding: 34px; border-radius: var(--radius); color: white; background: #202224; }
.licence-option-grid article > span { display: inline-block; padding: 7px 11px; border-radius: 999px; color: white; background: var(--orange); font-size: .76rem; font-weight: 900; }
.licence-option-grid h3 { margin: 70px 0 12px; font-size: 2rem; }
.licence-option-grid p { margin-bottom: 0; color: #c7c9c8; }
.licensing-process { padding: 100px clamp(22px,7vw,110px); display: grid; grid-template-columns: .7fr 1.3fr; gap: 8vw; background: #202224; }
.licensing-process > div > p:last-child { color: #bfc1c0; }
.licensing-process ol { margin: 0; padding: 0; list-style: none; }
.licensing-process li { padding: 20px 0; display: grid; grid-template-columns: 48px 1fr; gap: 18px; border-top: 1px solid rgba(255,255,255,.18); }
.licensing-process li > span { color: var(--orange); font-weight: 900; }
.licensing-process li b { font: 800 1.15rem "Manrope",sans-serif; }
.licensing-process li p { margin: 5px 0 0; color: #bfc1c0; }
.creator-split-strip { padding: 85px clamp(22px,7vw,110px); display: grid; grid-template-columns: .55fr 1.45fr; gap: 7vw; align-items: center; color: var(--ink); background: var(--orange); }
.creator-split-strip > strong { font: 800 clamp(6rem,14vw,12rem) "Manrope",sans-serif; letter-spacing: -.1em; line-height: .8; }
.creator-split-strip h2 { margin-bottom: 14px; }
.creator-split-strip p:last-child { margin-bottom: 0; }
.video-battle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.video-entry { background: white; padding: 16px; border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0,0,0,.1); }
.video-entry.selected { outline: 4px solid var(--orange); }
.video-entry video { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 13px; background: black; }
.video-entry > div { padding: 20px 5px 5px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.video-entry p { margin: 0; }
.winner-grid, .entry-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px; }
.winner-card, .entry-card { overflow: hidden; border-radius: var(--radius); background: white; box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.winner-card .entry-media { aspect-ratio: 16/10; }
.winner-card > div:last-child { padding: 26px; }
.entry-media img, .entry-media video { width: 100%; height: 100%; object-fit: cover; background: #111; }
.entry-card .entry-media { aspect-ratio: 16/10; }
.entry-copy { padding: 24px; }
.entry-copy h3 { margin: 17px 0 8px; }
.entry-copy p { color: #626262; }

.submit-page { min-height: calc(100vh - var(--header-height)); display: grid; grid-template-columns: .8fr 1.2fr; background: var(--paper); color: var(--ink); }
.submit-copy { padding: 10vw 7vw; background: var(--orange); color: white; }
.submit-copy h1 { font-size: clamp(3rem,6vw,6.5rem); }
.check-list { list-style: none; padding: 0; margin: 38px 0 0; }
.check-list li { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.35); }
.check-list li::before { content: "✓"; margin-right: 12px; font-weight: 900; }
.panel-form { margin: clamp(28px,7vw,105px); align-self: center; padding: clamp(24px,5vw,60px); border-radius: var(--radius); background: white; color: var(--ink); box-shadow: 0 20px 70px rgba(0,0,0,.12); }
.panel-form h2 { font-size: 2rem; margin-top: 32px; }
.panel-form h2:first-child { margin-top: 0; }
.panel-form label { display: block; margin: 0 0 20px; font-weight: 800; font-size: .82rem; }
input, select, textarea { width: 100%; margin-top: 8px; padding: 14px 15px; border: 1px solid #c9c5bd; border-radius: 10px; background: #fcfaf5; color: var(--ink); outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(239,91,42,.15); }
textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.span-2 { grid-column: 1 / -1; }
.media-switch { border: 0; padding: 0; margin: 25px 0; display: flex; gap: 10px; }
.media-switch legend { font-weight: 800; font-size: .82rem; margin-bottom: 8px; }
.media-switch label { padding: 10px 14px; border: 1px solid #c9c5bd; border-radius: 999px; margin: 0; }
.media-switch input, .terms-check input { width: auto; margin: 0 8px 0 0; }
.signed-in-as { padding-bottom: 20px; border-bottom: 1px solid var(--line); display: grid; }
.signed-in-as span, .signed-in-as small { color: #707070; }
.file-drop { min-height: 160px; padding: 28px; display: grid !important; place-content: center; text-align: center; border: 2px dashed #b8b2a8; border-radius: 15px; cursor: pointer; background: #faf7f0; }
.file-drop:hover { border-color: var(--orange); }
.file-drop input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.file-drop small, .file-drop em { font-weight: 400; color: #6b6b6b; margin-top: 5px; }
.terms-check { display: flex !important; align-items: flex-start; }
.upload-progress { margin: 20px 0; }
.upload-progress progress { width: 100%; accent-color: var(--orange); }
.upload-progress span { display: block; margin-bottom: 7px; font-size: .8rem; font-weight: 800; }
.error-text, .form-error { color: #9b241e !important; font-style: normal; }
.form-error { margin-bottom: 12px; padding: 12px; background: #ffe5df; border-radius: 8px; }
.request-history { margin-top: 35px; padding-top: 25px; border-top: 1px solid var(--line); }
.request-history p { display: flex; gap: 10px; align-items: center; }

.auth-page { min-height: calc(100vh - var(--header-height)); display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 5vw; padding: 7vw; background: linear-gradient(140deg,#191d1f,#33251e); }
.auth-copy { max-width: 650px; }
.auth-copy h1 { font-size: clamp(3rem,7vw,7rem); }
.auth-copy > p:last-child { color: #bfc1c0; max-width: 540px; }
.auth-form { width: min(640px,100%); margin: 0; justify-self: end; }
.auth-card { width: min(560px,100%); padding: clamp(28px,6vw,60px); background: var(--paper); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); }
.auth-card h1 { font-size: clamp(2.6rem,7vw,4.8rem); }
.auth-card .button { width: 100%; }
.auth-card > p:last-child { margin: 25px 0 0; text-align: center; }
.dashboard-hero { display: grid; grid-template-columns: 1fr .75fr; gap: 8vw; align-items: end; }
.dashboard-hero h1 { margin-bottom: 12px; }
.dashboard-hero p:last-child { color: #bbb; }
.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.stats-grid article { padding: 24px 18px; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; background: rgba(255,255,255,.05); }
.stats-grid strong { display: block; font-family: "Manrope", sans-serif; font-size: 2.3rem; color: var(--orange); }
.stats-grid span { font-size: .78rem; color: #bbb; }
.section-heading { margin-bottom: 35px; display: flex; justify-content: space-between; align-items: flex-end; gap: 25px; }
.section-heading h2 { margin-bottom: 0; }
.status { display: inline-block; padding: 6px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .12em; font-size: .62rem; font-weight: 900; }
.status-pending, .status-new { color: #764309; background: #ffe1a5; }
.status-approved, .status-contacted, .status-paid, .status-delivered { color: #135a3f; background: #b9ead4; }
.status-quote_sent, .status-awaiting_payment { color: #174d72; background: #c9e7fa; }
.status-rejected, .status-closed, .status-declined { color: #772b24; background: #ffd0ca; }
.flash { position: relative; z-index: 60; padding: 13px 7vw; text-align: center; font-weight: 800; }
.flash-success { background: #b9ead4; color: #135a3f; }
.flash-error { background: #ffd0ca; color: #772b24; }

.admin-hero { max-width: none; display: grid; grid-template-columns: 1fr .65fr; gap: 7vw; align-items: end; }
.admin-hero h1 { font-size: clamp(3.2rem,7vw,6.5rem); }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-tabs a { padding: 8px 13px; border: 1px solid currentColor; border-radius: 999px; font-size: .75rem; font-weight: 800; opacity: .55; }
.filter-tabs a.active { opacity: 1; color: white; border-color: var(--orange); background: var(--orange); }
.moderation-list { display: grid; gap: 22px; }
.moderation-card { display: grid; grid-template-columns: minmax(250px,.7fr) 1.3fr; overflow: hidden; background: white; border-radius: var(--radius); box-shadow: 0 10px 35px rgba(0,0,0,.08); }
.moderation-media { min-height: 330px; background: #111; }
.moderation-media img, .moderation-media video { width: 100%; height: 100%; object-fit: cover; }
.moderation-copy { padding: clamp(24px,4vw,45px); }
.moderation-copy h3 { font-size: 2rem; margin: 20px 0 8px; }
.moderation-copy > p { color: #555; }
.moderation-top { display: flex; justify-content: space-between; gap: 15px; align-items: center; color: #777; font-size: .75rem; }
.byline a { text-decoration: underline; }
.moderation-actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 25px; }
.request-admin { background: #202224; }
.request-admin .section-heading { color: white; }
.request-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.request-card { padding: 30px; border-radius: var(--radius); background: #f5f0e7; color: var(--ink); }
.request-card h3 { margin: 16px 0; }
.dark-empty { color: white; border-color: #666; }

.install-body { min-height: 100vh; background: var(--paper); color: var(--ink); padding: 40px 20px; }
.install-shell { width: min(920px,100%); margin: auto; }
.install-shell > h1 { font-size: clamp(3rem,8vw,6rem); }
.install-shell .panel-form { margin: 35px 0; }
.install-success { padding: 45px; border-radius: var(--radius); background: white; box-shadow: 0 15px 45px rgba(0,0,0,.1); }
.site-footer { padding: 64px clamp(22px,5vw,76px) 28px; display: grid; grid-template-columns: minmax(240px,1fr) minmax(340px,1fr); gap: 45px 8vw; border-top: 1px solid rgba(255,255,255,.1); color: #aaa; }
.footer-brand { max-width: 470px; }
.footer-brand p { margin: 18px 0 0; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.footer-links > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-links strong { margin-bottom: 5px; color: white; font-family: "Manrope",sans-serif; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--orange); }
.footer-bottom { grid-column: 1 / -1; padding-top: 25px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; }

.share-strip { padding: 64px clamp(22px,7vw,110px); display: flex; justify-content: space-between; align-items: center; gap: 50px; background: #fffaf2; color: var(--ink); border-top: 1px solid var(--line); }
.share-strip h2 { margin-bottom: 10px; font-size: clamp(2rem,4vw,4rem); }
.share-strip p:last-child { margin-bottom: 0; color: #666; }
.compact-share { padding-top: 50px; padding-bottom: 50px; }
.share-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.share-buttons a, .share-buttons button { min-height: 41px; padding: 9px 14px; border: 0; border-radius: 999px; color: white; font: 800 .78rem "DM Sans", sans-serif; cursor: pointer; }
.share-facebook { background: #1877f2; }
.share-whatsapp { background: #128c4b; }
.share-x { background: #111; }
.share-email { background: #6b4ba3; }
.share-buttons button { background: #676b6d; }
.share-buttons .share-native { background: var(--orange); }
.shared-work { min-height: calc(100vh - var(--header-height)); display: grid; grid-template-columns: 1.15fr .85fr; }
.shared-media { background: #090a0a; min-height: 700px; display: grid; place-items: center; }
.shared-media img, .shared-media video { width: 100%; height: 100%; object-fit: contain; }
.shared-copy { padding: clamp(45px,8vw,110px); display: flex; flex-direction: column; justify-content: center; background: var(--paper); color: var(--ink); }
.shared-copy h1 { font-size: clamp(3rem,6vw,6rem); }
.shared-copy h2 { margin-top: 38px; font-size: 1.6rem; }
.creator-credit { color: var(--orange); font-weight: 800; }
.shared-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.creator-share { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }
.gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.gallery-card { overflow: hidden; border-radius: var(--radius); background: white; box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.gallery-media { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; background: #111; }
.gallery-media img, .gallery-media video { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-card:hover .gallery-media img, .gallery-card:hover .gallery-media video { transform: scale(1.035); }
.gallery-media .play-disc { width: 55px; height: 55px; }
.gallery-card > div { padding: 25px; }
.gallery-card h2 { font-size: 1.7rem; }

.master-upload { margin-top: 22px; padding: 18px; border-radius: 13px; background: #f5f0e7; }
.master-upload > b, .master-upload > span, .master-upload > small { display: block; }
.master-upload form { margin: 14px 0; }
.master-upload label { font-size: .75rem; font-weight: 800; }
.master-upload input { background: white; }
.ready-text { color: #12704c; font-weight: 800; }
.missing-text { color: #a13b2f; font-weight: 800; }
.master-state { margin-top: 15px; }
.creator-payout-panel { display: grid; grid-template-columns: 1.05fr 1.35fr .8fr; gap: 26px; align-items: start; margin-bottom: 30px; padding: 30px; border-radius: var(--radius); border-top: 6px solid #457867; background: white; box-shadow: var(--shadow); }
.creator-payout-panel h2 { margin: 4px 0 8px; }
.creator-payout-panel p { margin: 0; }
.payout-steps { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.payout-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 11px; align-items: start; }
.payout-steps li > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: white; background: #457867; font-weight: 800; }
.payout-steps b, .payout-steps small { display: block; }
.payout-steps small { margin-top: 3px; color: var(--muted); line-height: 1.4; }
.payout-card-side { display: grid; gap: 18px; }
.payout-summary { display: flex; flex-direction: column; gap: 8px; }
.payout-summary span { display: flex; justify-content: space-between; gap: 15px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.payout-actions { display: grid; gap: 9px; }
.payout-actions form, .payout-actions .button { width: 100%; }
.buy-preview img, .buy-preview video { width: 100%; max-height: 420px; object-fit: contain; border-radius: 15px; background: #111; }
.licence-choice-grid { display: grid; gap: 12px; margin-bottom: 20px; }
.licence-choice { cursor: pointer; }
.licence-choice input { position: absolute; opacity: 0; pointer-events: none; }
.licence-choice span { display: grid; grid-template-columns: 1fr auto; gap: 7px 14px; padding: 18px; border: 2px solid var(--line); border-radius: 13px; background: white; }
.licence-choice small { grid-column: 1 / -1; color: var(--muted); line-height: 1.45; }
.licence-choice input:checked + span { border-color: var(--orange); background: #fff5ef; }
.money-row, .money-split { padding: 15px; border-radius: 12px; background: #e9e3d8; }
.money-row b, .money-row span, .money-split strong, .money-split span { display: block; }
.money-row b, .money-split strong { font-size: 1.5rem; }

.upgrade-panel { max-width: 850px; padding: 45px; background: white; border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.settings-grid { display: grid; grid-template-columns: .55fr 1.45fr; gap: 40px; align-items: start; }
.integration-status { display: grid; gap: 14px; }
.integration-status article { padding: 25px; border-radius: 15px; background: white; display: grid; gap: 6px; border-left: 6px solid; }
.integration-status article.ready { border-color: #1c9a68; }
.integration-status article.missing { border-color: #bc382c; }
.integration-status b { font-size: 1.2rem; }
.integration-status small { overflow-wrap: anywhere; color: #777; }
.settings-form { width: 100%; margin: 0; }
.webhook-box { margin: 20px 0; padding: 20px; border-radius: 13px; background: #eee9ff; border: 1px solid #c9c3ed; }
.webhook-box b, .webhook-box code { display: block; }
.webhook-box code { margin: 10px 0; padding: 10px; overflow-wrap: anywhere; border-radius: 7px; background: white; }
.webhook-box button { padding: 8px 12px; border: 0; border-radius: 999px; color: white; background: #635bff; cursor: pointer; font-weight: 800; }
.stripe-pay-button { width: 100%; margin: 15px 0; background: #635bff; }
.stripe-pay-button:hover { background: #4f46d8; }
.payment-card h2 { margin-top: 24px; font-size: clamp(2.5rem,5vw,4.5rem); }
.payment-card h2 small { font-size: .85rem; letter-spacing: .1em; }
.payment-result { width: min(720px,100%); }

.licence-hero { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.licence-hero h1 { font-size: clamp(3rem,6vw,6rem); }
.licence-hero .status { font-size: .8rem; }
.licence-workspace { display: grid; grid-template-columns: minmax(280px,.6fr) minmax(0,1.4fr); gap: 35px; align-items: start; }
.span-all { grid-column: 1 / -1; }
.licence-summary { position: sticky; top: 20px; padding: 30px; background: white; border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.licence-summary h2 { font-size: 2rem; }
.licence-summary dl { margin: 0; }
.licence-summary dt { margin-top: 18px; color: #777; text-transform: uppercase; letter-spacing: .13em; font-size: .65rem; font-weight: 900; }
.licence-summary dd { margin: 4px 0 0; overflow-wrap: anywhere; }
.licence-summary form { margin-top: 25px; }
.workflow-stack { display: grid; gap: 20px; }
.workflow-card { position: relative; padding: clamp(25px,4vw,46px); background: white; border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0,0,0,.08); overflow: hidden; }
.workflow-card h2 { font-size: 2.1rem; }
.workflow-card > p { color: #666; }
.workflow-number { position: absolute; right: 20px; top: 8px; font: 800 4.5rem "Manrope", sans-serif; color: rgba(239,91,42,.13); }
.workflow-card form { margin-top: 25px; }
.workflow-card label { display: block; margin-bottom: 18px; font-size: .78rem; font-weight: 800; }
.inline-form { margin-top: 12px !important; }
.close-actions { display: grid; grid-template-columns: .5fr 1.5fr; gap: 25px; align-items: start; }
.decline-form { margin-top: 0 !important; }

.report-controls { display: flex; gap: 14px; align-items: end; flex-wrap: wrap; padding: 22px; border-radius: 15px; background: white; }
.report-controls label { font-size: .75rem; font-weight: 800; }
.report-controls input { min-width: 180px; }
.report-metrics { margin: 28px 0; display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.report-metrics article { min-height: 150px; padding: 23px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 15px; color: white; background: var(--ink); }
.report-metrics span { color: #bbb; font-size: .78rem; font-weight: 800; }
.report-metrics strong { color: var(--orange); font: 800 clamp(1.9rem,3vw,3rem) "Manrope", sans-serif; }
.report-metrics small { color: #bbb; }
.report-actions { margin: 30px 0; padding: 25px; display: flex; justify-content: space-between; gap: 25px; align-items: end; border-radius: 15px; background: #e7e0d5; }
.email-report-form { display: flex; gap: 10px; align-items: end; }
.email-report-form label { font-size: .75rem; font-weight: 800; }
.report-table-wrap { overflow-x: auto; padding: 30px; background: white; border-radius: var(--radius); }
.report-table { width: 100%; border-collapse: collapse; min-width: 700px; }
.report-table th, .report-table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.report-table th { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.report-type-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin: 28px 0 38px; }
.report-type-card { padding: 28px; border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.report-type-card h2 { margin: 5px 0 12px; }
.report-type-card > p:not(.eyebrow) { color: var(--muted); }
.basic-report-card { border-top: 6px solid #d4a02d; }
.owner-report-card { border-top: 6px solid var(--orange); }
.creator-report-card { border-top: 6px solid #457867; grid-column: 1 / -1; }
.report-warning { margin: 18px 0; padding: 13px; border-radius: 10px; color: #702312; background: #fff0e9; font-size: .86rem; }
.report-note { margin: 18px 0; padding: 13px; border-radius: 10px; color: #134e3a; background: #eaf8f1; font-size: .86rem; }
.report-card-actions, .creator-picker { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-top: 18px; }
.report-card-actions label, .creator-picker label { flex: 1 1 260px; font-size: .75rem; font-weight: 800; }
.creator-picker select { width: 100%; }
.selected-recipient { display: flex; flex-direction: column; gap: 3px; margin-top: 18px; padding: 15px; border-radius: 10px; background: #edf5f1; }
.selected-recipient small { margin-top: 4px; color: var(--muted); }
.price-settings-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.report-summary-title { margin-top: 42px; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 80px; }
  .hero-battle { height: 600px; max-width: 700px; width: 100%; justify-self: center; }
  .intro-section, .market-section, .dashboard-hero, .admin-hero { grid-template-columns: 1fr; }
  .split-feature { grid-template-columns: 1fr; }
  .split-feature.reverse .feature-image { order: 0; }
  .feature-cards { grid-template-columns: 1fr; }
  .submit-page { grid-template-columns: 1fr; }
  .submit-copy { padding: 80px 7vw; }
  .request-list { grid-template-columns: 1fr; }
  .auth-page { grid-template-columns: 1fr; padding: 80px 7vw; }
  .auth-form { justify-self: stretch; }
  .settings-grid, .licence-workspace { grid-template-columns: 1fr; }
  .licence-summary { position: static; }
  .report-metrics { grid-template-columns: repeat(2,1fr); }
  .creator-payout-panel { grid-template-columns: 1fr; }
  .price-settings-grid { grid-template-columns: 1fr; }
  .report-type-grid { grid-template-columns: 1fr; }
  .creator-report-card { grid-column: auto; }
  .shared-work { grid-template-columns: 1fr; }
  .shared-media { min-height: 520px; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .path-card-grid, .process-grid { grid-template-columns: repeat(2,1fr); }
  .photo-battle-section, .creator-workflow, .licensing-process, .creator-split-strip { grid-template-columns: 1fr; }
  .battle-pager { grid-column: 1; margin-top: -35px; }
  .creator-share-card { transform: none; }
  .creator-split-strip > strong { font-size: 8rem; }
}

@media (max-width: 1180px) {
  :root { --header-height: 100px; }
  .site-header { padding-top: 16px; padding-bottom: 16px; align-items: center; background-position: center 62%; }
  .header-identity { padding: 8px 12px 7px; }
  .signed-in-user { max-width: 185px; margin-top: 3px; margin-left: 35px; }
  .menu-button { display: block; }
  .site-header nav { display: none; position: absolute; top: var(--header-height); left: 0; right: 0; max-height: calc(100vh - var(--header-height)); overflow-y: auto; padding: 24px; flex-direction: column; align-items: stretch; gap: 4px; border: 0; border-radius: 0; background: rgba(21,23,25,.98); }
  .site-header nav.is-open { display: flex; }
  .site-header nav a { padding: 10px; }
}

@media (max-width: 760px) {
  .header-identity { max-width: calc(100% - 84px); }
  .header-identity .brand { gap: 9px; font-size: .9rem; }
  .signed-in-user { max-width: 170px; margin-left: 31px; }
  .signed-in-user small { display: none; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(3.1rem,15vw,5.2rem); }
  .hero-meta { flex-wrap: wrap; }
  .hero-battle { height: 440px; }
  .battle-card { width: 68%; height: 64%; }
  .battle-note { bottom: -45px; }
  .intro-section { grid-template-columns: 1fr; }
  .feature-image { min-height: 420px; }
  .feature-copy { padding: 75px 24px; }
  .market-section { padding-bottom: 130px; }
  .split-badge { right: -4px; }
  .video-battle-grid, .winner-grid, .entry-grid, .stats-grid { grid-template-columns: 1fr; }
  .video-entry > div { align-items: flex-start; flex-direction: column; }
  .panel-form { margin: 24px 14px; padding: 25px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .span-2 { grid-column: auto; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .moderation-card { grid-template-columns: 1fr; }
  .moderation-media { min-height: 260px; }
  .site-footer { grid-template-columns: 1fr; }
  .share-strip { align-items: flex-start; flex-direction: column; }
  .licence-hero { align-items: flex-start; flex-direction: column; }
  .close-actions, .report-metrics { grid-template-columns: 1fr; }
  .report-actions, .email-report-form { align-items: stretch; flex-direction: column; }
  .report-card-actions, .creator-picker { align-items: stretch; flex-direction: column; }
  .shared-media { min-height: 420px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .home-route-panel { margin-bottom: 20px; }
  .home-paths, .photo-battle-section, .battle-explainer, .creator-workflow, .licensing-process, .creator-split-strip { padding-left: 22px; padding-right: 22px; }
  .path-card-grid, .process-grid, .battle-explainer, .licence-option-grid { grid-template-columns: 1fr; }
  .home-callout { align-items: flex-start; flex-direction: column; }
  .photo-battle-section { min-height: auto; padding-top: 70px; padding-bottom: 100px; }
  .battle-page-cards { height: 460px; }
  .battle-progress > div:first-child, .battle-pager { align-items: flex-start; flex-direction: column; }
  .battle-pager { margin-top: -20px; }
  .battle-pager > div { justify-content: flex-start; }
  .creator-rule-list li { grid-template-columns: 1fr; gap: 6px; }
  .creator-split-strip > strong { font-size: 6rem; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { grid-column: auto; align-items: flex-start; flex-direction: column; }
}

/* Expanded administrator control centre */
.admin-module-nav { position: sticky; top: 0; z-index: 45; display: flex; gap: 6px; overflow-x: auto; padding: 12px clamp(18px,4vw,60px); border-bottom: 1px solid rgba(255,255,255,.14); color: #d8d9d9; background: rgba(21,23,25,.97); scrollbar-width: thin; }
.admin-module-nav a { flex: 0 0 auto; padding: 8px 12px; border-radius: 999px; font-size: .75rem; font-weight: 800; white-space: nowrap; }
.admin-module-nav a:hover, .admin-module-nav a.active { color: white; background: var(--orange); }
.admin-module-nav > span { flex: 1 0 20px; }
.compact-admin-hero { max-width: none; padding-top: 78px; padding-bottom: 78px; }
.compact-admin-hero h1 { margin-bottom: 18px; font-size: clamp(3.3rem,7vw,6.5rem); }
.compact-admin-hero form { margin-top: 25px; }
.admin-control-hero { max-width: none; display: grid; grid-template-columns: 1fr .65fr; gap: 7vw; align-items: end; }
.admin-control-hero h1 { font-size: clamp(3.3rem,7vw,6.5rem); }
.admin-health { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.admin-health span { padding: 14px; border-radius: 12px; border-left: 5px solid; background: rgba(255,255,255,.08); font-size: .8rem; font-weight: 800; }
.admin-health span.ready { border-color: #58c78c; }
.admin-health span.off { border-color: #d15345; }
.admin-metric-grid { padding: 24px clamp(22px,7vw,110px); display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; color: var(--ink); background: #e9e2d7; }
.admin-metric-grid > a, .admin-metric-grid > div { min-height: 145px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 16px; background: white; box-shadow: 0 8px 26px rgba(0,0,0,.06); }
.admin-metric-grid > a:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.11); }
.admin-metric-grid span { color: #6a6c6c; font-size: .73rem; font-weight: 800; }
.admin-metric-grid strong { color: var(--orange); font: 800 clamp(1.7rem,3vw,2.7rem) "Manrope",sans-serif; letter-spacing: -.06em; }
.admin-metric-grid small { display: block; color: #747676; }
.admin-metric-grid-small { grid-template-columns: repeat(5,minmax(0,1fr)); }
.admin-dashboard-grid, .member-admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.admin-panel { padding: 28px; border-radius: var(--radius); color: var(--ink); background: white; box-shadow: 0 10px 35px rgba(0,0,0,.07); }
.admin-panel h2 { font-size: 2rem; }
.admin-panel-wide { grid-column: 1 / -1; }
.admin-panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
.admin-panel-heading h2 { margin: 0; }
.admin-panel-heading > a { color: var(--orange); font-size: .78rem; font-weight: 900; }
.admin-empty { margin: 0; padding: 30px; border: 1px dashed #b7b1a7; border-radius: 13px; color: #6e6e6e; text-align: center; }
.admin-list-row, .admin-activity-list > div { min-height: 70px; padding: 13px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); }
.admin-list-row b, .admin-list-row small, .admin-activity-list b, .admin-activity-list small { display: block; }
.admin-list-row small, .admin-activity-list small { margin-top: 3px; color: #757777; }
.admin-list-row time, .admin-activity-list time { color: #777; font-size: .72rem; text-align: right; }
.admin-list-row em { font-style: normal; }
.admin-filter-bar { margin-bottom: 24px; padding: 20px; display: flex; align-items: end; gap: 12px; flex-wrap: wrap; border-radius: 15px; background: white; }
.admin-filter-bar label { flex: 1 1 150px; color: #555; font-size: .72rem; font-weight: 900; }
.admin-filter-bar label:first-child { flex-basis: 280px; }
.admin-filter-bar input, .admin-filter-bar select { width: 100%; }
.admin-table-wrap { overflow-x: auto; border-radius: var(--radius); background: white; box-shadow: 0 10px 35px rgba(0,0,0,.06); }
.admin-table { width: 100%; min-width: 980px; border-collapse: collapse; color: var(--ink); }
.admin-table th, .admin-table td { padding: 15px 13px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table th { color: #656767; background: #eee8dd; font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; }
.admin-table td > b, .admin-table td > small { display: block; }
.admin-table td > small { margin-top: 4px; color: #747676; }
.button-small { min-height: 34px; padding: 7px 13px; font-size: .72rem; }
.status-active { color: #0f6643; background: #d9f3e6; }
.status-suspended, .status-paused { color: #7d5415; background: #ffedc9; }
.status-banned, .status-ended { color: #812a21; background: #ffd9d3; }
.status-draft { color: #555; background: #e3e3e3; }
.danger-text { color: #a73328 !important; font-weight: 800; }
.details-cell { max-width: 340px; overflow-wrap: anywhere; }
.member-admin-grid > .panel-form { margin: 0; }
.admin-detail-list { margin: 28px 0 0; }
.admin-detail-list dt { margin-top: 18px; color: #777; font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.admin-detail-list dd { margin: 4px 0 0; }
.battle-admin-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.battle-admin-card { overflow: hidden; display: grid; grid-template-columns: .65fr 1.35fr; border: 1px solid var(--line); border-radius: 16px; }
.battle-admin-card > div { min-height: 250px; background: #111; }
.battle-admin-card img, .battle-admin-card video { width: 100%; height: 100%; object-fit: cover; }
.battle-admin-card section { padding: 22px; }
.battle-admin-card h3 { margin: 16px 0 8px; }
.battle-admin-card section > strong { display: block; margin: 18px 0; color: var(--orange); font-size: 1.5rem; }
.battle-admin-card form { display: flex; align-items: end; gap: 8px; }
.battle-admin-card label { flex: 1; font-size: .72rem; font-weight: 900; }
.battle-admin-card input { width: 100%; }
.admin-error { margin: 20px clamp(22px,7vw,110px); }
.advertising-admin-grid { display: grid; grid-template-columns: minmax(360px,.8fr) minmax(0,1.2fr); gap: 24px; align-items: start; }
.advertising-form { position: sticky; top: 75px; margin: 0; }
.advertising-list { display: grid; gap: 18px; }
.ad-admin-card > img { width: 100%; max-height: 230px; margin-bottom: 20px; object-fit: cover; border-radius: 14px; }
.ad-performance { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 18px 0; }
.ad-performance span { padding: 12px; border-radius: 10px; color: #666; background: #f1ece4; font-size: .7rem; }
.ad-performance b { display: block; color: var(--ink); font-size: 1.2rem; }
.ad-admin-card .moderation-actions form { display: flex; gap: 8px; flex-wrap: wrap; }
.social-publishing-card { margin-top: 24px; padding: 22px; border: 1px solid #ddd5c9; border-radius: 15px; background: #f8f3eb; }
.social-publishing-card h3 { margin: 5px 0 10px; }
.social-publishing-card > p:not(.eyebrow) { margin: 0 0 16px; color: #5f6161; font-size: .85rem; }
.admin-share-buttons { margin-top: 14px; }
.admin-share-buttons a, .admin-share-buttons button { min-height: 38px; padding: 8px 12px; font-size: .7rem; }
.instagram-share-row { margin-top: 18px; padding-top: 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px solid #ddd5c9; }
.instagram-share-row > div { flex: 1 1 260px; }
.instagram-share-row strong, .instagram-share-row small { display: block; }
.instagram-share-row small { margin-top: 3px; color: #6d6f6f; line-height: 1.45; }
.social-share-disabled { padding: 14px; border-radius: 10px; color: #7d5415 !important; background: #ffedc9; font-weight: 700; }
.advertisement-share-page { max-width: 1180px; margin: 0 auto; }
.advertisement-share-card { overflow: hidden; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(330px,.9fr); border-radius: 24px; color: var(--ink); background: white; box-shadow: 0 22px 60px rgba(0,0,0,.12); }
.advertisement-share-card > img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.advertisement-share-copy { padding: clamp(34px,6vw,76px); display: flex; flex-direction: column; justify-content: center; }
.advertisement-share-copy h1 { margin: 8px 0 20px; font-size: clamp(2.6rem,5vw,5rem); line-height: .96; }
.advertisement-share-copy > p { color: #5f6161; font-size: 1.06rem; line-height: 1.7; }
.advertisement-share-copy .button { align-self: flex-start; margin-top: 14px; }
.advertisement-share-actions { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.advertisement-share-actions > small { display: block; margin-bottom: 10px; color: #757777; font-weight: 800; }
.site-control-form { max-width: 1000px; margin: 0 auto; }
.site-control-form hr { margin: 36px 0; border: 0; border-top: 1px solid var(--line); }
.control-switch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 25px 0; }
.control-switch { padding: 18px; display: grid !important; grid-template-columns: 25px 1fr; align-items: start; gap: 12px; border: 1px solid var(--line); border-radius: 13px; cursor: pointer; }
.control-switch input { width: 21px !important; height: 21px; margin-top: 2px; }
.control-switch b, .control-switch small { display: block; }
.control-switch small { margin-top: 4px; color: #777; font-weight: 400; line-height: 1.45; }
.site-announcement { padding: 12px 22px; display: flex; justify-content: center; gap: 20px; color: white; background: var(--orange); text-align: center; font-size: .85rem; font-weight: 800; }
.site-announcement a { text-decoration: underline; }
.sponsor-slot { margin: 0; padding: 18px clamp(22px,7vw,110px); display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 18px; align-items: center; color: var(--ink); background: #fffaf2; border-bottom: 1px solid #ded7cd; }
.sponsor-slot > img { width: 110px; height: 72px; object-fit: cover; border-radius: 10px; }
.sponsor-slot strong { display: block; font: 800 1.1rem "Manrope",sans-serif; }
.sponsor-slot p { margin: 4px 0 0; color: #666; font-size: .82rem; }
.sponsor-label { align-self: start; padding: 5px 8px; border-radius: 999px; color: #777; background: #ece6dd; font-size: .58rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.sponsor-footer { border-top: 1px solid #ded7cd; border-bottom: 0; }

@media (max-width: 1100px) {
  .admin-metric-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .admin-metric-grid-small { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .advertising-admin-grid { grid-template-columns: 1fr; }
  .advertising-form { position: static; }
  .battle-admin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .admin-module-nav { padding-left: 14px; padding-right: 14px; }
  .admin-module-nav > span { display: none; }
  .admin-control-hero, .admin-dashboard-grid, .member-admin-grid { grid-template-columns: 1fr; }
  .admin-metric-grid, .admin-metric-grid-small { grid-template-columns: 1fr 1fr; padding-left: 14px; padding-right: 14px; }
  .admin-metric-grid > a, .admin-metric-grid > div { min-height: 125px; }
  .admin-panel-wide { grid-column: auto; }
  .admin-health, .control-switch-grid { grid-template-columns: 1fr; }
  .admin-filter-bar { align-items: stretch; flex-direction: column; }
  .admin-filter-bar label { width: 100%; flex-basis: auto !important; }
  .battle-admin-card { grid-template-columns: 1fr; }
  .battle-admin-card > div { min-height: 220px; }
  .battle-admin-card form { align-items: stretch; flex-direction: column; }
  .ad-performance { grid-template-columns: 1fr; }
  .advertisement-share-card { grid-template-columns: 1fr; }
  .advertisement-share-card > img { min-height: 0; max-height: 520px; }
  .sponsor-slot { grid-template-columns: 1fr; align-items: start; }
  .sponsor-slot > img { width: 100%; height: 160px; }
  .site-announcement { align-items: center; flex-direction: column; gap: 4px; }
}

/* 360 panorama presentation */
.shared-media-360 { align-items: stretch; }
.panorama-viewer { position: relative; width: 100%; height: 100%; min-height: 700px; overflow: hidden; background-color: #090a0a; background-size: auto 100%; background-repeat: repeat-x; background-position: 50% center; cursor: grab; touch-action: none; overscroll-behavior: contain; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.panorama-viewer.is-dragging { cursor: grabbing; }
.panorama-viewer.is-webgl-panorama { background-image: none !important; }
.panorama-viewer.is-webgl-panorama::after { display: none; }
.panorama-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.panorama-controls { position: absolute; z-index: 22; left: 24px; bottom: 24px; display: flex; gap: 7px; align-items: center; }
.panorama-control-button { min-width: 38px; height: 38px; padding: 0 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; color: white; background: rgba(0,0,0,.62); font-weight: 900; cursor: pointer; }
.panorama-control-button:hover, .panorama-control-button:focus-visible { background: var(--orange); outline: none; }
.panorama-control-button[aria-label="Share this 360 image"] { padding-inline: 16px; background: var(--orange); }
.panorama-control-button[aria-label="Share this 360 image"]:hover, .panorama-control-button[aria-label="Share this 360 image"]:focus-visible { background: #d55d1d; }
.panorama-viewer.is-webgl-panorama .panorama-hint { bottom: auto; top: 24px; right: 24px; }
.panorama-viewer::after, .panorama-thumb::after, .battle-panorama-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.22), transparent 22%, transparent 78%, rgba(0,0,0,.22)); pointer-events: none; }
.panorama-badge, .panorama-hint, .panorama-mini-badge { position: absolute; z-index: 20; display: inline-flex; align-items: center; border-radius: 999px; font-weight: 900; line-height: 1; pointer-events: none; }
.panorama-badge { top: 24px; left: 24px; padding: 10px 13px; color: white; background: var(--orange); font-size: .78rem; text-transform: uppercase; }
.panorama-hint { right: 24px; bottom: 24px; padding: 10px 13px; color: white; background: rgba(0,0,0,.64); font-size: .82rem; }
.panorama-thumb, .battle-panorama-thumb { position: absolute; inset: 0; display: block; background-size: auto 100%; background-repeat: repeat-x; background-position: 50% center; transition: transform .5s; }
.gallery-card:hover .panorama-thumb { transform: scale(1.035); }
.panorama-disc { color: white; font-size: .9rem; letter-spacing: 0; }
.panorama-mini-badge { top: 18px; right: 18px; padding: 8px 10px; color: white; background: var(--orange); font-size: .72rem; }
.battle-card .battle-panorama-thumb { width: 100%; height: 100%; }

@media (max-width: 1000px) {
  .panorama-viewer { min-height: 520px; }
}

@media (max-width: 760px) {
  .panorama-viewer { min-height: 430px; }
  .panorama-badge { top: 16px; left: 16px; }
  .panorama-hint { right: 16px; bottom: 16px; }
  .panorama-viewer.is-webgl-panorama .panorama-hint { top: 16px; right: 16px; }
  .panorama-controls { left: 16px; bottom: 16px; }
}
