/* Champion ceremony: native scroll, one measured timeline, two identities. */
[hidden] { display: none !important; }
.nav__staff { align-self: center; color: var(--text); font: 600 14px var(--font-body); padding: 8px 12px; border: 1px solid #dbc39355; text-decoration: none; }
.nav__staff[aria-current="page"] { color: #171013; background: #edce8e; }
html[data-page="staff"] #gl, html[data-page="staff"] #grain, html[data-page="staff"] .veil, html[data-page="staff"] #beam { visibility: hidden; }
.staff-page, .staff-preview__stage { --staff-gold: #edce8e; --staff-bright: #fff3d6; --staff-hot: #b72c48; --staff-rgb: 237,206,142; --staff-ink: #10090d; --staff-wash: #491a28; position: relative; color: #f5eee4; background: var(--staff-ink); isolation: isolate; }
.staff-page[data-staff-world="helluva"], .staff-preview__stage[data-staff-world="helluva"] { --staff-gold: #c6fb89; --staff-bright: #e0fffa; --staff-hot: #a979fc; --staff-rgb: 168,132,244; --staff-ink: #0c0b17; --staff-wash: #26204a; }
.staff-intro { position: relative; padding: 172px 6% 26px; display: flex; align-items: end; justify-content: space-between; gap: 24px; z-index: 2; }
.staff-eyebrow { color: var(--staff-gold); font: 500 13px/1.5 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; }
.staff-intro h1 { font: 400 clamp(50px, 6.4vw, 100px)/.95 'Anton', Impact, sans-serif; text-transform: uppercase; letter-spacing: -.025em; margin: 13px 0 16px; }
.staff-intro h1 em { font-style: normal; color: var(--staff-gold); }
.staff-intro__aside { max-width: 28ch; padding-bottom: 5px; font-size: 16px; line-height: 1.6; color: #c7b9c0; }
.staff-intro__aside a { display: inline-block; margin-top: 15px; color: var(--staff-gold); text-underline-offset: 5px; }
.staff-role-nav { position: sticky; top: 124px; z-index: 12; display: flex; justify-content: center; gap: 0; height: 48px; background: var(--staff-ink); border-block: 1px solid rgba(var(--staff-rgb), .2); }
.staff-role-choice { flex: 0 1 310px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px 25px; border: 0; border-inline: 1px solid rgba(var(--staff-rgb), .12); color: #cdbfcc; background: transparent; font: 500 15px var(--font-body); cursor: pointer; }
.staff-role-choice b { color: var(--staff-gold); font: 12px var(--font-mono); }
.staff-role-choice:hover, .staff-role-choice[aria-current] { color: var(--staff-bright); background: rgba(var(--staff-rgb), .07); box-shadow: inset 0 -2px var(--staff-gold); }
.staff-role-choice:disabled { opacity: .45; cursor: default; }
.staff-role-choice:focus-visible { outline: 2px solid var(--staff-gold); outline-offset: -4px; }
.staff-ceremony { position: relative; height: 250svh; }
.staff-ceremony--continuation { height: 185svh; }
.staff-stage { position: sticky; top: 172px; height: calc(100svh - 172px); min-height: 440px; overflow: clip; isolation: isolate; perspective: 1200px; background: radial-gradient(ellipse at 50% 63%, var(--staff-wash), transparent 64%), var(--staff-ink); }
.staff-stage::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 9; box-shadow: inset 0 -55px 60px -40px var(--staff-ink); }
.staff-grid { position: absolute; width: 160%; height: 80%; left: -30%; top: 64%; opacity: calc(.12 + var(--rise, 0) * .18); transform: rotateX(68deg) translateY(calc(var(--rise, 0) * -30px)); transform-origin: center top; background: repeating-linear-gradient(90deg, transparent 0 69px, rgba(var(--staff-rgb), .3) 70px 71px), repeating-linear-gradient(0deg, transparent 0 69px, rgba(var(--staff-rgb), .25) 70px 71px); mask-image: linear-gradient(#000, transparent 90%); }
.staff-orbit { position: absolute; width: min(60vw, 770px); aspect-ratio: 1; border: 1px solid rgba(var(--staff-rgb), .21); border-radius: 50%; left: 50%; top: 48%; transform: translate(-50%, -50%) rotate(calc(var(--rise, 0) * 36deg)) scale(calc(.8 + var(--rise, 0) * .2)); opacity: calc(.12 + var(--rise, 0) * .7); }
.staff-orbit::before, .staff-orbit::after { content: ''; position: absolute; inset: 5%; border: 1px dashed rgba(var(--staff-rgb), .2); border-radius: 50%; }
.staff-orbit::after { inset: 11%; border-style: solid; border-color: rgba(var(--staff-rgb), .12); }
.staff-beams { position: absolute; inset: 0; opacity: calc(var(--rise, 0) * .6); background: conic-gradient(from 153deg at 18% -20%, transparent 0deg, rgba(var(--staff-rgb), .18) 10deg, transparent 23deg), conic-gradient(from 183deg at 82% -20%, transparent 0deg, rgba(var(--staff-rgb), .22) 11deg, transparent 24deg); transform: scaleX(calc(.8 + var(--rise, 0) * .2)); }
.staff-backword { position: absolute; top: 5%; left: 50%; transform: translateX(-50%) translateY(calc(var(--rise, 0) * -16px)); font: 400 clamp(90px, 18vw, 290px)/1 'Anton', Impact, sans-serif; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(var(--staff-rgb), .16); white-space: nowrap; user-select: none; }
.staff-stage__meta { position: absolute; inset: 20px 5% auto; display: flex; justify-content: space-between; font: 12px var(--font-mono); letter-spacing: .14em; color: var(--staff-gold); z-index: 4; }
/* The whole team of a role stands in one row at the same size (--cols is set by js/staff.js). */
.staff-champions { --cols: 1; --gap: clamp(22px, 5vw, 90px); position: absolute; inset: 9% 8% 12%; display: flex; align-items: flex-end; justify-content: center; gap: var(--gap); z-index: 3; }
.staff-champion { --member: 1; position: relative; flex: 0 1 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); max-width: 440px; height: 100%; min-width: 0; text-align: center; transform: translateY(calc((1 - var(--member)) * 90px)); }
.staff-champion__aura { position: absolute; inset: 3% -10% 6%; background: radial-gradient(ellipse at 50% 60%, rgba(var(--staff-rgb), .16), transparent 65%); opacity: var(--member); }
.staff-portrait { position: absolute; z-index: 3; inset: 0 0 var(--plinth-h); margin: 0; transform: translateY(calc((1 - var(--member)) * 100px)) scale(calc(.92 + var(--member) * .08)); opacity: var(--member); }
.staff-portrait img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: contain; object-position: var(--portrait-x, 50%) bottom; transform: scale(var(--portrait-scale, 1)); transform-origin: center bottom; filter: drop-shadow(0 0 2px var(--staff-gold)) drop-shadow(0 15px 22px #0009); }
.staff-portrait:not(.has-portrait) img { visibility: hidden; }
.staff-dummy { position: absolute; inset: 6% 6% 2%; display: grid; place-content: center; align-content: center; border: 1px solid rgba(var(--staff-rgb), .25); background: linear-gradient(125deg, rgba(var(--staff-rgb), .08), transparent 65%); clip-path: polygon(12% 0, 100% 0, 100% 87%, 88% 100%, 0 100%, 0 13%); }
.staff-dummy::before { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(var(--staff-rgb), .12); }
.staff-dummy b { font: 400 clamp(100px, 13vw, 220px)/1 'Anton', Impact, sans-serif; color: transparent; -webkit-text-stroke: 1px var(--staff-gold); opacity: .7; }
.staff-dummy span { font: 12px/1.4 var(--font-mono); letter-spacing: .2em; color: var(--staff-gold); margin-top: 10px; }
.has-portrait .staff-dummy { display: none; }
.staff-plinth { position: absolute; bottom: 0; left: -8%; right: -8%; height: var(--plinth-h); background: linear-gradient(110deg, #090609, var(--staff-wash) 52%, #0c070a); border-top: 1px solid var(--staff-gold); box-shadow: 0 22px 30px #0007; transform: translateY(calc((1 - var(--member)) * 70px)); opacity: var(--member); }
.staff-plinth::before { content: ''; position: absolute; left: 0; right: 0; height: 35px; top: -35px; background: linear-gradient(0deg, rgba(var(--staff-rgb), .2), rgba(var(--staff-rgb), .035)); clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%); border-bottom: 1px solid var(--staff-gold); }
.staff-plinth::after { content: ''; position: absolute; inset: 7px; border: 1px solid rgba(var(--staff-rgb), .15); }
.staff-plaque { position: absolute; z-index: 4; top: calc(100% - var(--plinth-h) + 15px); left: -8%; right: -8%; opacity: var(--member); transform: translateY(calc((1 - var(--member)) * 28px)); }
.staff-plaque > p { font: 12px var(--font-mono); text-transform: uppercase; letter-spacing: .23em; color: var(--staff-gold); }
.staff-plaque h3 { font: 400 clamp(29px, 3.6vw, 59px)/1.1 'Anton', Impact, sans-serif; margin: 4px 0; text-transform: uppercase; letter-spacing: -.02em; overflow-wrap: anywhere; }
.staff-plaque > span { font-size: 13px; color: #cbbec8; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.staff-champion .staff-credit { position: absolute; top: calc(100% + 13px); left: -8%; right: -8%; }
.staff-credit { font-size: 12px; line-height: 1.45; color: #a99cae; text-align: center; }
.staff-credit a { color: inherit; text-underline-offset: 3px; }
.staff-shutter { position: absolute; z-index: 6; top: 0; bottom: 0; width: 50.2%; background: linear-gradient(110deg, #120b10, #23121b); overflow: hidden; pointer-events: none; border-inline: 1px solid rgba(var(--staff-rgb), .4); }
.staff-shutter::after { content: ''; position: absolute; inset: 15px; border: 1px solid rgba(var(--staff-rgb), .15); }
.staff-shutter--left { left: 0; transform: translateX(calc(var(--open, 0) * -103%)); }
.staff-shutter--right { right: 0; transform: translateX(calc(var(--open, 0) * 103%)); }
.staff-shutter span { position: absolute; top: 33%; font: 400 clamp(100px, 22vw, 350px)/1 'Anton', Impact, sans-serif; white-space: nowrap; color: var(--staff-gold); letter-spacing: -.045em; }
.staff-shutter--left span { right: -.045em; }
.staff-shutter--right span { left: 0; }
.staff-shutter span { font-size: clamp(88px, 18vw, 285px); }
.staff-ceremony--curator .staff-shutter span { font-size: clamp(70px, 13.5vw, 220px); }
.staff-ceremony--curator .staff-backword { font-size: clamp(65px, 12.5vw, 210px); top: 6%; }
.staff-ceremony--curator .staff-orbit { border-radius: 12%; transform: translate(-50%, -50%) rotate(calc(30deg + var(--rise, 0) * 15deg)) scale(calc(.8 + var(--rise, 0) * .2)); }
.staff-ceremony--curator .staff-orbit::after { border-radius: 12%; }
.staff-champion:only-child { max-width: 460px; }
/* Plaques hang from the top of the plinth, so role and name sit at the same height on every podium.
   The plinth grows to the tallest plaque of the row (--plaque-h, measured by js/staff.js). */
.staff-champion { --plinth-min: 118px; --plinth-h: max(var(--plinth-min), calc(var(--plaque-h, 0px) + 25px)); }
/* Three or more in the row: narrower podiums, the same for everyone. */
.staff-champions.is-dense { --gap: clamp(18px, 2.6vw, 44px); }
.staff-champions.is-dense .staff-plaque h3 { font-size: clamp(22px, 2.3vw, 38px); }
.staff-champions.is-dense .staff-plaque > span { font-size: 12px; line-height: 1.3; padding: 0 4px; }
.staff-champions.is-dense .staff-credit, .staff-champions.is-pair .staff-credit { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
/* A row wider than the screen slides sideways; it stays one row on one stage. */
.staff-champions.is-scroll { --cell: 240px; justify-content: flex-start; left: 0; right: 0; bottom: calc(12% - 72px); padding: 0 8% 72px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-inline: 8%; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--staff-gold) transparent; }
.staff-champions.is-scroll .staff-champion { flex: 0 0 var(--cell); max-width: none; scroll-snap-align: center; }
.staff-champions.is-scroll .staff-champion:first-child { margin-left: auto; }
.staff-champions.is-scroll .staff-champion:last-child { margin-right: auto; }
.staff-champions.is-scroll::after { content: ''; flex: 0 0 1px; }
.staff-champions.is-scroll:focus-visible { outline: 2px solid var(--staff-gold); outline-offset: -4px; }
/* Side by side, plinths and credits stay within their own podium instead of overlapping a neighbour. */
.staff-champions.is-pair .staff-plinth, .staff-champions.is-pair .staff-plaque, .staff-champions.is-dense .staff-plinth, .staff-champions.is-dense .staff-plaque, .staff-champions.is-scroll .staff-plinth, .staff-champions.is-scroll .staff-plaque { left: -3%; right: -3%; }
.staff-champions.is-pair .staff-champion .staff-credit, .staff-champions.is-dense .staff-champion .staff-credit, .staff-champions.is-scroll .staff-champion .staff-credit { left: 0; right: 0; }
[data-staff-world="helluva"] .staff-shutter { background: linear-gradient(110deg, #0d0b1d, #26203c); }
.staff-stage__foot { position: absolute; z-index: 8; bottom: 0; left: 0; right: 0; padding: 17px 5%; display: flex; justify-content: space-between; align-items: center; background: linear-gradient(transparent, var(--staff-ink) 65%); font: 12px var(--font-mono); letter-spacing: .08em; color: var(--staff-gold); }
.staff-progress { width: 120px; height: 2px; background: rgba(var(--staff-rgb), .2); }
.staff-progress i { display: block; height: 100%; background: var(--staff-gold); transform: scaleX(var(--progress-staff, 0)); transform-origin: left; }
.staff-roster { position: relative; z-index: 2; padding: 90px 6% 110px; background: var(--staff-ink); }
.staff-roster__heading { display: flex; align-items: end; justify-content: space-between; border-bottom: 1px solid rgba(var(--staff-rgb), .25); padding-bottom: 24px; margin-bottom: 40px; gap: 20px; }
.staff-roster h2 { font: 400 clamp(42px, 6vw, 90px)/1 'Anton', Impact, sans-serif; text-transform: uppercase; margin-top: 10px; }
.staff-roster__heading > span { color: var(--staff-gold); font: 14px var(--font-mono); }
.staff-roster__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 35px; }
.staff-card { max-width: 540px; width: 100%; position: relative; }
.staff-card__art { position: relative; height: 350px; overflow: clip; background: radial-gradient(ellipse at 50% 95%, var(--staff-wash), transparent 80%); border-bottom: 1px solid var(--staff-gold); }
.staff-card .staff-portrait { inset: 0; opacity: 1; transform: none; }
.staff-card .staff-dummy { inset: 15px 10% 0; }
.staff-card .staff-dummy b { font-size: 140px; }
.staff-card__copy { padding-top: 20px; }
.staff-card__copy > p { color: var(--staff-gold); font: 12px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.staff-card h3 { font: 400 clamp(28px, 3vw, 45px)/1.15 'Anton', Impact, sans-serif; text-transform: uppercase; margin: 7px 0 9px; overflow-wrap: anywhere; }
.staff-card__copy > span { display: block; font-size: 16px; color: #cbbec8; }
.staff-card .staff-credit { margin-top: 14px; text-align: left; }
.staff-card { opacity: var(--card-in, 1); transform: translateY(calc((1 - var(--card-in, 1)) * 50px)); }
.staff-empty { padding: 45px 0; color: #bfb1c2; font-size: 17px; }
.staff-more-leaders { margin-bottom: 65px; }
.staff-editor { width: min(1020px, calc(100vw - 30px)); max-height: calc(100dvh - 36px); margin: auto; padding: 0; border: 1px solid #dec49470; color: #f5eee4; background: #15121b; box-shadow: 0 25px 120px #000c; font-family: var(--font-body); }
.staff-editor::backdrop { background: #030207dd; backdrop-filter: blur(10px); }
.staff-editor__head { display: flex; gap: 20px; justify-content: space-between; align-items: start; padding: 25px 28px 19px; border-bottom: 1px solid #ffffff20; }
.staff-editor h2 { font-size: 27px; margin-bottom: 8px; }
.staff-editor p { font-size: 15px; line-height: 1.5; color: #c2b8c9; }
.staff-editor button, .staff-editor select, .staff-editor input { font: inherit; }
.staff-editor button { cursor: pointer; background: #292231; color: #f5eee4; border: 1px solid #8e769b60; padding: 11px 15px; min-height: 44px; }
.staff-editor button:hover { background: #3c2e49; }
.staff-editor__layout { display: grid; grid-template-columns: 235px 1fr; }
.staff-editor__side { padding: 24px; border-right: 1px solid #ffffff20; }
.staff-editor label { display: grid; gap: 7px; font-size: 14px; color: #e4d8ec; }
.staff-editor select, .staff-editor input:not([type="file"]) { width: 100%; min-height: 44px; background: #0c0a10; border: 1px solid #9a829a66; color: #fff; padding: 10px; border-radius: 0; }
.staff-editor input[type="file"] { width: 100%; font-size: 14px; }
.staff-editor__list { display: grid; gap: 7px; margin: 20px 0; }
.staff-editor__list button { text-align: left; overflow-wrap: anywhere; }
.staff-editor__list [aria-pressed="true"] { border-color: #dec494; color: #ffe4ac; background: #52402955; }
.staff-editor__form { padding: 24px 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: start; }
.staff-editor__wide { grid-column: 1/-1; }
.staff-editor__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.staff-editor button[data-action="apply"], .staff-editor button[data-action="publish"], .staff-editor button[data-action="export"] { color: #181019; background: #edce8e; border-color: #edce8e; }
.staff-editor__foot { padding: 18px 28px 24px; border-top: 1px solid #ffffff20; display: grid; gap: 15px; }
.staff-editor__foot output { font-size: 14px; color: #e6d69f; }
.staff-editor__reopen { position: fixed; bottom: 20px; right: 20px; z-index: 1000; padding: 12px 17px; background: #edce8e; color: #171019; border: 1px solid #fff1c9; font: 600 14px var(--font-body); cursor: pointer; }
.staff-editor small { color: #b5a7c0; font-size: 12px; line-height: 1.5; }
.staff-editor__export { display: grid; gap: 14px; }
.staff-editor textarea { width: 100%; background: #0b0910; border: 1px solid #806d9566; color: #e5d7ed; padding: 12px; font: 13px/1.5 monospace; resize: vertical; }
.staff-editor__download { display: inline-flex; align-items: center; min-height: 44px; padding: 11px 15px; border: 1px solid #edce8e; color: #edce8e; font-size: 15px; }
.staff-editor__login { padding: 28px; display: grid; gap: 20px; }
.staff-editor__login form { display: grid; gap: 14px; max-width: 360px; }
.staff-editor [hidden] { display: none !important; }
.staff-edit-link { display: block; margin: 24px auto 40px; padding: 12px 22px; color: var(--staff-gold); background: transparent; border: 1px solid currentColor; font: 14px var(--font-body); cursor: pointer; }
.staff-editor__colors { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.staff-editor input[type="color"] { padding: 4px; cursor: pointer; min-height: 46px; }
.staff-champion, .staff-card { --staff-gold: var(--member-color, #f4d18a); }
.staff-plaque h3, .staff-card h3 { color: var(--member-color); text-shadow: 0 0 22px color-mix(in srgb, var(--member-color) 25%, transparent); }
.staff-champion__aura { background: radial-gradient(ellipse at 50% 60%, color-mix(in srgb, var(--member-color) 23%, transparent), transparent 65%); }
.staff-champion__aura::after { content: ''; position: absolute; inset: 5% 40% 0; background: linear-gradient(transparent, color-mix(in srgb, var(--member-color) 24%, transparent) 60%, transparent); filter: blur(17px); transform: skewX(-12deg) translateX(calc((1 - var(--member)) * -120px)); }
/* Glows fade out inside their box (closest-side / explicit radii), so no straight edge ever shows. */
.staff-champion__aura { pointer-events: none; background: radial-gradient(closest-side at 50% 54%, color-mix(in srgb, var(--member-color) 42%, transparent), transparent); }
.staff-spark { position: absolute; left: var(--spark-x); top: var(--spark-y); width: var(--spark-size); height: var(--spark-size); color: var(--member-color); filter: drop-shadow(0 0 7px currentColor); opacity: .8; transform: scale(.85); animation: staff-sparkle 3.8s ease-in-out var(--spark-delay) infinite; animation-play-state: paused; }
.staff-spark::before, .staff-spark::after { content: ''; position: absolute; inset: 0; background: currentColor; clip-path: polygon(50% 0, 58% 40%, 100% 50%, 58% 59%, 50% 100%, 41% 59%, 0 50%, 41% 40%); }
.staff-spark::after { inset: 38%; background: #fff8ee; }
.staff-stage.is-in-view .staff-spark { animation-play-state: running; }
@keyframes staff-sparkle { 0%, 100% { opacity: .25; transform: translateY(5px) scale(.55) rotate(-8deg); } 50% { opacity: 1; transform: translateY(-7px) scale(1.1) rotate(8deg); } }
html.motion-off .staff-spark, .staff-page.is-still .staff-spark { animation: none; opacity: .7; }
@media (prefers-reduced-motion: reduce) { .staff-spark { animation: none; } }
.staff-plinth::before { background: linear-gradient(0deg, color-mix(in srgb, var(--member-color) 27%, transparent), color-mix(in srgb, var(--member-color) 4%, transparent)); box-shadow: 0 0 24px color-mix(in srgb, var(--member-color) 25%, transparent); }
.staff-dummy { border-color: color-mix(in srgb, var(--member-color) 38%, transparent); background: linear-gradient(125deg, color-mix(in srgb, var(--member-color) 12%, transparent), transparent 65%); }
.staff-card__art { background: radial-gradient(ellipse at 50% 95%, color-mix(in srgb, var(--member-color) 20%, var(--staff-ink)), transparent 80%); }
/* Opciones de cada perfil: degradado, frase y posición del retrato. */
.staff-portrait { padding: var(--portrait-margin, 0) var(--portrait-margin, 0) 0; }
/* The figure stands on the pedestal's top edge: a lowered portrait sinks behind that edge
   instead of covering the plaque. Only the bottom is clipped; scale may still grow upwards and sideways. */
.staff-portrait { clip-path: inset(-70% -70% 0 -70%); }
/* With neighbours, an enlarged portrait also stays within its own lane (half the gap on each side). */
.staff-champion:not(:only-child) .staff-portrait { clip-path: inset(-70% calc(var(--gap) / -2) 0 calc(var(--gap) / -2)); }
.staff-portrait img { translate: 0 var(--portrait-y, 0); }
.staff-champion.has-gradient .staff-plaque h3 { background: linear-gradient(var(--member-angle, 135deg), var(--member-color), var(--member-color-2)); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 0 16px color-mix(in srgb, var(--member-color-2) 32%, transparent)); }
.staff-champion.has-gradient .staff-champion__aura { background: radial-gradient(40% 40% at 42% 46%, color-mix(in srgb, var(--member-color) 40%, transparent), transparent), radial-gradient(40% 38% at 58% 60%, color-mix(in srgb, var(--member-color-2) 40%, transparent), transparent); }
.staff-champion.has-gradient .staff-champion__aura::after { background: linear-gradient(transparent, color-mix(in srgb, var(--member-color-2) 26%, transparent) 60%, transparent); }
/* Colour of the stars: shared by both colours, one of them, the gradient itself, or a colour of their own. */
.staff-champion[data-sparks="mixed"] .staff-spark:nth-child(even), .staff-champion[data-sparks="second"] .staff-spark { color: var(--member-color-2); }
.staff-champion[data-sparks="custom"] .staff-spark { color: var(--spark-custom); }
.staff-champion[data-sparks="gradient"] .staff-spark { color: color-mix(in srgb, var(--member-color) 50%, var(--member-color-2)); }
.staff-champion[data-sparks="gradient"] .staff-spark::before { background: linear-gradient(var(--member-angle, 135deg), var(--member-color), var(--member-color-2)); }
/* Twinkling: all, some (every third star holds still), or none. */
.staff-champion[data-twinkle="none"] .staff-spark, .staff-champion[data-twinkle="some"] .staff-spark:nth-child(3n+1) { animation: none; opacity: .85; transform: scale(.9); }
/* An animated gradient sweeps through the name and the stars that use both colours. */
@keyframes staff-flow { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes staff-shift { from { background-color: var(--member-color); } to { background-color: var(--member-color-2); } }
.staff-champion.has-gradient.has-flow .staff-plaque h3 { background-image: linear-gradient(var(--member-angle, 135deg), var(--member-color), var(--member-color-2), var(--member-color)); background-size: 220% 220%; animation: staff-flow 4.8s ease-in-out infinite alternate; }
.staff-champion.has-flow[data-sparks="gradient"] .staff-spark::before { background-image: linear-gradient(var(--member-angle, 135deg), var(--member-color), var(--member-color-2), var(--member-color)); background-size: 260% 260%; animation: staff-flow 3.6s ease-in-out infinite alternate; }
.staff-champion.has-flow[data-sparks="mixed"] .staff-spark::before { animation: staff-shift 3.2s ease-in-out infinite alternate; }
.staff-champion.has-flow[data-sparks="mixed"] .staff-spark:nth-child(even)::before { animation-direction: alternate-reverse; }
.staff-stage:not(.is-in-view) .staff-champion.has-flow .staff-plaque h3, .staff-stage:not(.is-in-view) .staff-champion.has-flow .staff-spark::before { animation-play-state: paused; }
html.motion-off .staff-champion.has-flow .staff-plaque h3, html.motion-off .staff-champion.has-flow .staff-spark::before,
.staff-page.is-still .staff-champion.has-flow .staff-plaque h3, .staff-page.is-still .staff-champion.has-flow .staff-spark::before { animation: none; }
@media (prefers-reduced-motion: reduce) { .staff-champion.has-flow .staff-plaque h3, .staff-champion.has-flow .staff-spark::before { animation: none; } }
.staff-champion.has-gradient .staff-plinth { border-image: linear-gradient(90deg, var(--member-color), var(--member-color-2)) 1 0 0; }
.staff-champion.has-gradient .staff-plinth::before { background: linear-gradient(90deg, color-mix(in srgb, var(--member-color) 27%, transparent), color-mix(in srgb, var(--member-color-2) 27%, transparent)); }
.staff-quote { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; max-width: 46ch; margin: 7px auto 0; padding: 0 8px; font: italic 400 14px/1.4 var(--font-display); color: #efe3ea; quotes: '«' '»'; }
/* A quote needs a taller plinth; every podium on that stage grows with it so they stay level. */
/* Acceso de cada integrante (editor de administración y diálogo 00000001). */
.staff-editor__access { display: grid; gap: 10px; padding: 16px 18px; border: 1px solid #edce8e40; background: #1d1826; }
.staff-editor .staff-editor__access-title { font: 12px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: #edce8e; }
.staff-editor__code { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.staff-editor__code code { font: 600 22px var(--font-mono); letter-spacing: .12em; color: #ffe4ac; padding: 7px 12px; border: 1px dashed #edce8e; background: #0c0a10; user-select: all; }
.staff-editor__code small { flex-basis: 100%; }
.staff-editor__visibility { display: grid; gap: 7px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #ffffff20; }
.staff-member { width: min(780px, calc(100vw - 30px)); }
.staff-member h3 { font: 600 19px/1.3 var(--font-body); color: #fff4df; }
.staff-member__body > p { padding: 28px; }
.staff-member__start { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 24px 28px; }
.staff-member__card { display: grid; gap: 14px; align-content: start; padding: 20px; border: 1px solid #8e769b50; background: #0f0c14; }
.staff-member__card input[name="code"] { font: 600 18px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.staff-member__creds { display: grid; gap: 16px; padding: 24px 28px; }
.staff-member__creds dl { display: grid; gap: 10px; }
.staff-member__creds dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: center; padding: 12px 14px; border: 1px dashed #edce8e80; background: #0c0a10; }
.staff-member__creds dt { font: 12px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #b5a7c0; }
.staff-member__creds dd { font: 600 20px var(--font-mono); color: #ffe4ac; user-select: all; overflow-wrap: anywhere; }
.staff-member__creds strong { color: #ffd9a0; }
.staff-editor .staff-member__hello { font: 13px var(--font-mono); letter-spacing: .06em; color: #edce8e; }
.staff-member button[type="submit"], .staff-member [data-member-action="continue"] { color: #181019; background: #edce8e; border-color: #edce8e; }
.staff-member button[type="submit"]:hover, .staff-member [data-member-action="continue"]:hover { background: #f7dca4; }
.staff-member .staff-editor__foot { position: sticky; bottom: 0; z-index: 1; background: #15121b; }
.staff-member .staff-editor__foot:has(output:empty) { display: none; }
.staff-editor label { align-content: start; }
/* Gota: toma un color del retrato. */
.staff-editor__colors { grid-template-columns: 1fr 1fr auto; align-items: end; }
.staff-editor .staff-dropper-button { display: grid; place-items: center; width: 46px; min-height: 46px; padding: 0; }
.staff-dropper-button svg { width: 22px; height: 22px; fill: none; stroke: #edce8e; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.staff-dropper-button svg path:first-child { fill: #edce8e33; }
.staff-dropper { position: fixed; z-index: 5; left: 50%; top: 50%; translate: -50% -50%; width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; display: grid; gap: 12px; padding: 18px; background: #0f0c14; border: 1px solid #edce8e; box-shadow: 0 0 0 100vmax #030207b3, 0 25px 80px #000; }
.staff-dropper__head { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.staff-editor .staff-dropper__head p { font-size: 15px; color: #f5eee4; }
.staff-editor .staff-dropper__head button { min-height: 40px; padding: 6px 12px; }
.staff-dropper__stage { display: grid; place-items: center; padding: 10px; background: repeating-conic-gradient(#221c2b 0 25%, #18131f 0 50%) 0 0 / 18px 18px; }
.staff-dropper canvas { display: block; max-width: 100%; max-height: min(46dvh, 380px); width: auto; height: auto; cursor: crosshair; touch-action: none; }
.staff-editor .staff-dropper__readout { display: flex; align-items: center; gap: 10px; font: 14px var(--font-mono); color: #f5eee4; }
.staff-dropper__readout i { width: 26px; height: 26px; border: 1px solid #ffffff50; background: transparent; }
.staff-editor .staff-dropper__label { font: 12px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #b5a7c0; }
.staff-dropper__palette { display: flex; flex-wrap: wrap; gap: 8px; }
.staff-editor .staff-dropper__palette button { width: 40px; min-height: 40px; padding: 0; border: 2px solid #ffffff40; }
.staff-editor .staff-dropper__palette button:hover, .staff-editor .staff-dropper__palette button:focus-visible { border-color: #fff; }
/* Vista previa del podio en los editores: el mismo podio de la página, a escala de formulario. */
.staff-preview { display: grid; gap: 10px; }
.staff-editor .staff-preview__title { font: 12px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: #edce8e; }
.staff-preview__stage { height: 460px; overflow: hidden; border: 1px solid #ffffff1f; background: radial-gradient(ellipse at 50% 72%, var(--staff-wash), transparent 70%), var(--staff-ink); }
.staff-preview__stage:focus-visible { outline: 2px solid #edce8e; outline-offset: 2px; }
.staff-preview .staff-champions { inset: 34px 8% 22px; }
.staff-preview .staff-champion, .staff-preview .staff-champion:only-child { flex: 0 0 min(300px, 80%); max-width: none; }
.staff-preview .staff-champion .staff-plaque h3 { font: 400 32px/1.1 'Anton', Impact, sans-serif; color: var(--member-color); }
.staff-preview .staff-champion .staff-plaque > p { font: 12px/1.4 var(--font-mono); letter-spacing: .2em; color: var(--staff-gold); }
.staff-preview .staff-plaque > span { font-size: 12px; line-height: 1.3; display: block; padding: 0 6px; }
.staff-preview .staff-quote { font-size: 13px; }
.staff-preview .staff-credit { display: none; }
.staff-preview .staff-spark { animation-play-state: running; }
.staff-preview .staff-portrait img { cursor: grab; touch-action: none; user-select: none; -webkit-user-drag: none; }
.staff-preview__stage.is-dragging .staff-portrait img { cursor: grabbing; }
.staff-editor .staff-preview__hint { font-size: 13px; }
/* Recorte del retrato. */
.staff-crop { width: min(580px, calc(100vw - 32px)); }
.staff-crop__stage { display: grid; place-items: center; padding: 12px; background: repeating-conic-gradient(#221c2b 0 25%, #18131f 0 50%) 0 0 / 18px 18px; }
.staff-crop__frame { position: relative; line-height: 0; overflow: hidden; touch-action: none; user-select: none; }
.staff-crop__frame img { display: block; max-width: 100%; max-height: min(52dvh, 440px); width: auto; height: auto; pointer-events: none; }
.staff-crop__box { position: absolute; cursor: move; outline: 1px dashed #edce8e; box-shadow: 0 0 0 9999px #000000a6; }
/* Handles sit just inside the box, so the frame never clips them. */
.staff-crop__box i { position: absolute; width: 18px; height: 18px; background: #edce8e; border: 2px solid #15121b; }
.staff-crop__box i::before { content: ''; position: absolute; inset: -10px; }
.staff-crop__box [data-h="nw"] { left: 0; top: 0; cursor: nwse-resize; }
.staff-crop__box [data-h="n"] { left: calc(50% - 9px); top: 0; cursor: ns-resize; }
.staff-crop__box [data-h="ne"] { right: 0; top: 0; cursor: nesw-resize; }
.staff-crop__box [data-h="e"] { right: 0; top: calc(50% - 9px); cursor: ew-resize; }
.staff-crop__box [data-h="se"] { right: 0; bottom: 0; cursor: nwse-resize; }
.staff-crop__box [data-h="s"] { left: calc(50% - 9px); bottom: 0; cursor: ns-resize; }
.staff-crop__box [data-h="sw"] { left: 0; bottom: 0; cursor: nesw-resize; }
.staff-crop__box [data-h="w"] { left: 0; top: calc(50% - 9px); cursor: ew-resize; }
.staff-editor .staff-crop__size { font: 13px var(--font-mono); color: #e6d69f; }
.staff-crop [data-crop-apply] { color: #181019; background: #edce8e; border-color: #edce8e; }
@media (max-width: 1200px) { .nav__links { gap: 16px; } .nav__links a { letter-spacing: .1em; } }
@media (max-width: 700px) {
  .nav { gap: 8px; padding-inline: 16px; }
  .nav__mark { flex: 1; min-width: 0; max-width: none; font-size: 11px; letter-spacing: .06em; }
  .nav__tools { gap: 4px; }
  .nav__tools .toggle { padding-inline: 8px; min-height: 36px; }
  /* Big enough for a finger. */
  .nav__staff { display: inline-flex; align-items: center; min-height: 36px; font-size: 13px; padding: 7px 9px; }
  .staff-intro { padding: 146px 6% 24px; align-items: start; flex-direction: column; gap: 5px; }
  .staff-intro h1 { font-size: clamp(45px, 11.5vw, 74px); }
  .staff-intro__aside { max-width: none; font-size: 15px; }
  .staff-intro__aside a { margin-top: 7px; }
  .staff-ceremony { height: 195svh; }
  .staff-ceremony--continuation { height: 165svh; }
  .staff-role-nav { top: 119px; }
  .staff-role-choice { flex: 1; padding-inline: 20px; font-size: 14px; }
  .staff-stage { top: 167px; height: calc(100svh - 167px); min-height: 420px; }
  .staff-stage__meta { font-size: 12px; letter-spacing: .03em; top: 19px; }
  .staff-champions { inset: 18% 7% 19%; --gap: 16px; }
  .staff-champion { --plinth-min: 100px; }
  .staff-plinth::before { height: 22px; top: -22px; }
  .staff-plaque h3 { font-size: clamp(21px, 5.6vw, 37px); }
  .staff-plaque > p { font-size: 12px; letter-spacing: .09em; }
  .staff-plaque > span { font-size: 12px; line-height: 1.3; padding: 0 5px; }
  .staff-dummy { inset: 15% 0 0; }
  .staff-dummy b { font-size: 26vw; }
  .staff-dummy span { font-size: 12px; letter-spacing: .03em; }
  .staff-backword { top: 15%; font-size: 24vw; }
  .staff-orbit { width: 115vw; }
  .staff-shutter span { top: 35%; font-size: 27vw; }
  .staff-shutter span { font-size: 21vw; }
  .staff-ceremony--curator .staff-shutter span { font-size: 15vw; }
  .staff-ceremony--curator .staff-backword { font-size: 15.5vw; top: 12%; }
  .staff-champions { inset: 15% 6% 17%; }
  .staff-champion:only-child { max-width: min(84%, 420px); }
  .staff-champion:only-child .staff-plaque h3 { font-size: clamp(28px, 8vw, 40px); }
  .staff-champion:only-child .staff-dummy b { font-size: 35vw; }
  /* Two side by side on a phone, same size and height. */
  .staff-champions.is-pair .staff-plaque h3 { font-size: clamp(17px, 5.4vw, 24px); }
  .staff-champions.is-pair .staff-plaque > p { letter-spacing: .04em; }
  .staff-champions.is-pair .staff-plaque > span { line-height: 1.25; padding: 0 2px; }
  .staff-champions.is-pair .staff-quote { font-size: 12px; }
  .staff-champions.is-pair .staff-dummy b { font-size: 16vw; }
  .staff-champions.is-scroll { --cell: 40vw; bottom: calc(17% - 72px); padding: 0 6% 72px; scroll-padding-inline: 6%; }
  .staff-stage__foot { font-size: 12px; letter-spacing: 0; padding: 16px 6%; }
  .staff-progress { width: 65px; }
  .staff-champion .staff-credit { font-size: 12px; top: calc(100% + 12px); }
  .staff-roster { padding: 55px 7% 65px; }
  .staff-roster__heading { align-items: start; flex-direction: column; }
  .staff-editor__layout { grid-template-columns: 1fr; }
  .staff-editor__side { border-right: 0; border-bottom: 1px solid #ffffff20; padding: 18px; }
  .staff-editor__list { grid-template-columns: 1fr 1fr; margin: 12px 0; }
  .staff-editor__form { padding: 20px 18px; gap: 15px; }
  .staff-editor__head { padding: 20px 18px; }
  .staff-editor__foot { padding: 20px 18px; }
  .staff-quote { font-size: 13px; }
  .staff-member__start { grid-template-columns: 1fr; padding: 18px; }
  .staff-member__creds { padding: 18px; }
  .staff-member__creds dl > div { grid-template-columns: 1fr; gap: 4px; }
  .staff-member .staff-editor__form { grid-template-columns: 1fr; }
  .staff-member .staff-editor__colors { grid-template-columns: 1fr 1fr auto; }
  .staff-editor__colors { gap: 10px; }
  .staff-editor__form label:has(> select) { grid-column: 1 / -1; }
  .staff-preview__stage { height: 420px; }
  .staff-preview .staff-champions { inset: 30px 6% 20px; }
  .staff-preview .staff-champion .staff-plaque h3 { font-size: 28px; }
}
html.motion-off .staff-ceremony, .staff-page.is-still .staff-ceremony { height: auto; }
html.motion-off .staff-stage, .staff-page.is-still .staff-stage { position: relative; top: 0; }
html.motion-off .staff-shutter, .staff-page.is-still .staff-shutter { display: none; }
@media (prefers-reduced-motion: reduce) { .staff-ceremony { height: auto; } .staff-stage { position: relative; top: 0; } .staff-shutter { display: none; } }
