.cursor-sparkles {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
}

.cursor-sparkle {
  position: absolute;
  line-height: 1;
  font-family: Arial, sans-serif;
  text-shadow: 0 0 5px currentColor, 0 0 10px #fff;
  animation: cursor-sparkle-fade 750ms ease-out forwards;
}

@keyframes cursor-sparkle-fade {
  from { opacity: .95; transform: translate(-50%, -50%) scale(1) rotate(0deg); }
  to { opacity: 0; transform: translate(calc(-50% + var(--drift-x)), calc(-50% + var(--drift-y))) scale(.15) rotate(var(--spin)); }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-sparkles { display: none; }
}

:root {
  --ink: #30294d;
  --purple: #8e72f6;
  --purple-dark: #7055d8;
  --pink: #ff8fc7;
  --yellow: #fff09c;
  --mint: #9eeed9;
  --sky: #b8ddff;
  --cream: #fffdf7;
  --line: rgba(65, 49, 109, .14);
  --shadow: 0 22px 60px rgba(93, 71, 154, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "Noto Sans JP", sans-serif; line-height: 1.8; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

.site-header { height: 82px; padding: 0 clamp(24px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; position: absolute; inset: 0 0 auto; z-index: 20; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 clamp(1.25rem, 2vw, 1.65rem)/1 "Fredoka", sans-serif; letter-spacing: .02em; }
.logo-mark { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; background: var(--purple); border-radius: 13px 13px 13px 4px; transform: rotate(-6deg); }
.desktop-nav { display: flex; gap: clamp(20px, 3.5vw, 48px); font: 700 .78rem/1 "Fredoka", sans-serif; letter-spacing: .12em; }
.desktop-nav a { transition: color .25s, transform .25s; }
.desktop-nav a:hover { color: var(--purple); transform: translateY(-2px); }
.header-entry { padding: 12px 20px; color: #fff; background: var(--ink); border-radius: 999px; font: 700 .78rem/1 "Fredoka", sans-serif; letter-spacing: .12em; }
.header-entry span { margin-left: 8px; }

.hero { min-height: 760px; height: 100svh; max-height: 950px; padding: 120px clamp(24px, 7vw, 110px) 70px; display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; position: relative; isolation: isolate; background: linear-gradient(135deg, #fffdf9 5%, #f7f0ff 48%, #eaf8ff 100%); overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 42vw; height: 42vw; min-width: 440px; min-height: 440px; left: -14vw; bottom: -24vw; border-radius: 50%; background: rgba(255, 217, 235, .55); z-index: -1; }
.hero-copy { position: relative; z-index: 3; }
.eyebrow { margin: 0 0 22px; color: var(--purple-dark); font: 700 .78rem/1.2 "Fredoka", sans-serif; letter-spacing: .18em; }
.hero h1, .section h2 { margin: 0; font-size: clamp(2.8rem, 5.2vw, 5.8rem); line-height: 1.18; letter-spacing: -.055em; font-weight: 900; }
.hero h1 span, .section h2 span { position: relative; color: var(--purple); }
.hero h1 span::after { content: ""; height: 10px; position: absolute; left: 0; right: 0; bottom: 4px; background: var(--yellow); border-radius: 20px; z-index: -1; }
.hero-description { margin: 30px 0 34px; font-size: clamp(.95rem, 1.4vw, 1.08rem); font-weight: 500; }
.button { min-height: 58px; padding: 0 25px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; border-radius: 18px; font-weight: 700; transition: transform .25s, box-shadow .25s, background .25s; }
.button:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(74, 54, 131, .18); }
.button-primary { color: #fff; background: var(--purple); }

.hero-stage { min-height: 620px; position: relative; display: grid; place-items: center; }
.moon-card { width: min(41vw, 560px); aspect-ratio: .86; position: relative; display: grid; place-items: end center; border-radius: 48% 48% 44% 44%; background: linear-gradient(145deg, #ffe8f4 0 30%, #c5aefa 30% 58%, #a8ddfb 58%); transform: rotate(3deg); box-shadow: inset 0 0 0 14px rgba(255,255,255,.38), var(--shadow); overflow: hidden; }
.moon-card::before { content: ""; position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.35); top: 8%; left: 6%; }
.moon-star { position: absolute; right: 12%; top: 9%; z-index: 2; color: #fff5a8; font-size: 3rem; }
.visual-placeholder { width: 68%; height: 73%; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; color: rgba(61, 46, 101, .58); background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,.72)); border: 2px dashed rgba(72, 54, 118, .2); border-bottom: 0; border-radius: 48% 48% 0 0; transform: rotate(-3deg); z-index: 2; }
.visual-placeholder span { font: 700 .85rem/1 "Fredoka", sans-serif; letter-spacing: .14em; }
.visual-placeholder small { margin-top: 8px; font-size: .68rem; }
.floating-label { position: absolute; z-index: 4; padding: 10px 17px; border-radius: 999px; background: #fff; box-shadow: 0 10px 28px rgba(85, 65, 142, .14); font: 700 .68rem/1 "Fredoka", sans-serif; letter-spacing: .1em; }
.label-live { left: 0; top: 31%; transform: rotate(-7deg); }
.label-live i { width: 8px; height: 8px; margin-right: 6px; display: inline-block; border-radius: 50%; background: #ff6c9e; box-shadow: 0 0 0 4px #ffe2ec; }
.label-dream { right: -2%; bottom: 18%; padding: 18px 20px; color: #fff; background: var(--pink); text-align: center; line-height: 1.25; transform: rotate(7deg); border-radius: 50%; }
.hero-orbit { position: absolute; z-index: -1; border: 2px solid rgba(142,114,246,.17); border-radius: 50%; }
.orbit-one { width: 68vw; height: 24vw; right: -10vw; top: 29%; transform: rotate(-16deg); }
.orbit-two { width: 54vw; height: 19vw; right: -3vw; top: 37%; transform: rotate(22deg); }
.spark { position: absolute; color: var(--purple); font-size: 2rem; }
.spark-a { left: 43%; top: 18%; }.spark-b { left: 8%; bottom: 10%; color: var(--pink); }.spark-c { right: 5%; top: 20%; color: #60c7c0; }
.scroll-guide { position: absolute; left: 34px; bottom: 28px; display: flex; flex-direction: column; align-items: center; gap: 12px; font: 700 .62rem/1 "Fredoka"; letter-spacing: .18em; writing-mode: vertical-rl; }
.scroll-guide i { width: 1px; height: 45px; background: var(--ink); }

.ticker { padding: 15px 0; color: #fff; background: var(--ink); white-space: nowrap; overflow: hidden; transform: rotate(-1.1deg) scale(1.02); }
.ticker div { font: 700 1rem/1 "Fredoka"; letter-spacing: .14em; text-align: center; }
.ticker span { margin: 0 34px; color: var(--yellow); }
.section { padding: clamp(90px, 11vw, 160px) clamp(24px, 8vw, 130px); position: relative; }
.section h2 { font-size: clamp(2.35rem, 4.2vw, 4.7rem); }
.section-heading h2 span::after { content: ""; height: 9px; position: absolute; left: 0; right: 0; bottom: 2px; background: var(--yellow); border-radius: 20px; z-index: -1; }

.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(45px, 9vw, 140px); align-items: center; background: #fffdf8; }
.about-content { max-width: 620px; font-size: 1rem; }
.name-marker {
  padding: 0 .12em;
  background: linear-gradient(transparent 52%, var(--marker-color) 52%, var(--marker-color) 94%, transparent 94%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.marker-lilac { --marker-color: #e2d5ff; }
.marker-pink { --marker-color: #ffd4e8; }
.marker-yellow { --marker-color: #fff0ac; }
.marker-sky { --marker-color: #cde9ff; }
.marker-mint { --marker-color: #c4f1e3; }
.about-content .lead { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.8; font-weight: 700; }
.edit-note { padding: 10px 14px; margin-top: 28px; color: #766c8f; background: #f5f1ff; border-radius: 10px; font-size: .75rem; }
.about-decoration { position: absolute; right: 5%; top: 12%; color: rgba(142,114,246,.13); font: 700 8rem/1 "Fredoka"; }
.about-decoration i { color: rgba(255,143,199,.32); font-style: normal; font-size: 4rem; }

.talents { background: linear-gradient(180deg, #f4efff, #f9f7ff); }
.section-topline { margin-bottom: 56px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-topline > p { margin: 0; color: #716986; }
.talent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 34px); }
.talent-card { min-height: 520px; position: relative; background: #fff; border: 1px solid rgba(255,255,255,.8); border-radius: 36px 36px 14px 36px; box-shadow: var(--shadow); overflow: hidden; transition: transform .3s; }
.talent-card:hover { transform: translateY(-8px) rotate(-1deg); }
.talent-image { height: 330px; display: grid; place-items: center; color: rgba(48,41,77,.45); border-bottom: 1px dashed rgba(48,41,77,.2); font: 700 .72rem/1 "Fredoka"; letter-spacing: .14em; }
.talent-lilac .talent-image { background: linear-gradient(150deg, #e4d9ff, #c3e5ff); }
.talent-pink .talent-image { background: linear-gradient(150deg, #ffd9e9, #fff1b9); }
.talent-mint .talent-image { background: linear-gradient(150deg, #cdf8ec, #dbe5ff); }
.talent-info { padding: 27px 28px; }
.talent-info small { color: var(--purple); font: 700 .64rem/1 "Fredoka"; letter-spacing: .13em; }
.talent-info h3 { margin: 9px 0 5px; font-size: 1.45rem; }
.talent-info p { margin: 0; color: #776e8a; font-size: .82rem; }
.card-number { position: absolute; right: 20px; bottom: 14px; color: #e9e4f5; font: 700 2.8rem/1 "Fredoka"; }
.text-link { width: fit-content; margin: 46px 0 0 auto; display: flex; align-items: center; gap: 22px; font-size: .88rem; font-weight: 700; border-bottom: 1px solid var(--ink); }
.text-link span { font-size: 1.2rem; }

.news { display: grid; grid-template-columns: .62fr 1.38fr; gap: clamp(40px, 8vw, 120px); background: #fff; }
.news-list { border-top: 1px solid var(--line); }
.news-item { padding: 25px 5px; display: grid; grid-template-columns: 105px 90px 1fr 24px; gap: 20px; align-items: center; border-bottom: 1px solid var(--line); transition: padding .25s, background .25s; }
.news-item:hover { padding-left: 16px; padding-right: 16px; background: #faf8ff; }
.news-item time { font: 600 .72rem/1 "Fredoka"; letter-spacing: .08em; }
.news-item p { margin: 0; font-size: .93rem; font-weight: 500; }
.category { padding: 7px 8px; border-radius: 999px; color: #fff; background: var(--purple); text-align: center; font: 700 .62rem/1 "Fredoka"; }
.category-pink { background: var(--pink); }.category-yellow { color: var(--ink); background: var(--yellow); }
.news-note { grid-column: 2; margin-top: -80px; }

.audition { padding-top: 70px; padding-bottom: 70px; background: #fff; }
.audition-inner { padding: clamp(55px, 8vw, 100px); position: relative; color: #fff; background: linear-gradient(130deg, #8b6bf2, #a57df5 48%, #ed91c6); border-radius: 50px 18px 50px 18px; overflow: hidden; }
.audition-inner::before, .audition-inner::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.audition-inner::before { width: 600px; height: 240px; right: -110px; top: 35px; transform: rotate(-25deg); }
.audition-inner::after { width: 480px; height: 180px; right: -40px; top: 85px; transform: rotate(25deg); }
.audition-copy { max-width: 680px; position: relative; z-index: 2; }
.audition .eyebrow, .audition h2 span { color: var(--yellow); }
.audition-copy > p:not(.eyebrow) { max-width: 570px; margin: 28px 0; }
.audition-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button-dark { color: #fff; background: var(--ink); }.button-white { color: var(--purple-dark); background: #fff; }
.audition-badge { width: 190px; aspect-ratio: 1; position: absolute; right: 8%; top: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; transform: translateY(-50%) rotate(8deg); text-align: center; font: 700 1.35rem/1.2 "Fredoka"; }
.audition-badge i { position: absolute; right: -10px; top: 10px; color: var(--yellow); font-size: 2.4rem; font-style: normal; }

.requirements { background: #fffdf8; }
.centered { text-align: center; }
.requirement-grid { max-width: 1050px; margin: 62px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.requirement-grid article { padding: 34px 28px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 12px 35px rgba(88,70,136,.07); }
.requirement-grid span { display: block; color: var(--pink); font: 700 .75rem/1 "Fredoka"; letter-spacing: .1em; }
.requirement-grid h3 { margin: 16px 0 8px; font-size: 1.15rem; }.requirement-grid p { margin: 0; color: #756c87; font-size: .86rem; }
.centered-note { max-width: 680px; margin: 28px auto 0; text-align: center; }

.flow { background: linear-gradient(180deg, #edf9ff, #f8f4ff); text-align: center; }
.flow-list { max-width: 1050px; padding: 0; margin: 62px auto 48px; display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; }
.flow-list li { padding: 15px 34px; position: relative; }
.flow-list li:not(:last-child)::after { content: "→"; position: absolute; right: -9px; top: 45%; color: var(--purple); font-size: 1.5rem; }
.flow-list span { color: var(--purple); font: 700 .72rem/1 "Fredoka"; letter-spacing: .12em; }.flow-list strong { margin: 14px 0 7px; display: block; font-size: 1.1rem; }.flow-list p { margin: 0; color: #756c87; font-size: .82rem; }
.entry-large { min-width: 260px; }

.footer { padding: 70px clamp(24px, 7vw, 110px) 25px; color: #fff; background: var(--ink); }
.footer-main { min-height: 180px; display: grid; grid-template-columns: 1.2fr .8fr .35fr; gap: 40px; }
.footer-logo .logo-mark { background: var(--pink); }.footer-main > div > p { color: #c8bfdc; font-size: .82rem; }
.footer nav { display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 17px 30px; font: 700 .72rem/1 "Fredoka"; letter-spacing: .1em; }
.social-links { display: flex; gap: 10px; }.social-links a { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; font: 700 .65rem/1 "Fredoka"; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.14); color: #aaa0c0; font-size: .65rem; }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .hero { height: auto; max-height: none; min-height: 900px; padding-top: 130px; grid-template-columns: 1fr; align-content: start; }
  .hero-copy { text-align: center; }.hero-description { font-size: .9rem; }
  .hero-stage { min-height: 430px; margin-top: 28px; }
  .moon-card { width: min(78vw, 430px); }
  .scroll-guide { display: none; }
  .about, .news { grid-template-columns: 1fr; }
  .about-decoration { display: none; }
  .news-note { grid-column: auto; margin-top: -15px; }
  .audition-badge { opacity: .28; right: -45px; }
  .audition-copy { max-width: 570px; }
  .talent-grid { grid-template-columns: 1fr 1fr; }.talent-card:last-child { grid-column: span 2; width: calc(50% - 12px); margin: auto; }
}

@media (max-width: 620px) {
  .site-header { height: 70px; padding: 0 18px; }.logo-mark { width: 34px; height: 34px; }.header-entry { padding: 11px 14px; font-size: .66rem; }
  .hero { min-height: 790px; padding: 110px 20px 50px; }.hero h1 { font-size: clamp(2.55rem, 12vw, 4rem); }.hero-description br { display: none; }
  .hero-stage { min-height: 350px; }.moon-card { width: min(87vw, 350px); border-radius: 43% 43% 39% 39%; }.floating-label { font-size: .55rem; }.label-live { left: -2%; }.label-dream { right: -2%; }
  .section { padding: 85px 20px; }.section h2 { font-size: clamp(2.15rem, 10vw, 3.1rem); }
  .section-topline { align-items: start; flex-direction: column; margin-bottom: 35px; }
  .talent-grid { grid-template-columns: 1fr; }.talent-card:last-child { grid-column: auto; width: 100%; }.talent-card { min-height: 470px; }.talent-image { height: 285px; }
  .news-item { grid-template-columns: 82px 78px 1fr; gap: 10px; padding: 20px 2px; }.news-item i { display: none; }.news-item p { grid-column: 1 / -1; }
  .audition { padding: 28px 12px; }.audition-inner { padding: 60px 24px; border-radius: 34px 12px 34px 12px; }.audition-actions { align-items: stretch; flex-direction: column; }.audition-badge { display: none; }
  .requirement-grid, .flow-list { grid-template-columns: 1fr; gap: 15px; }.flow-list li:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -19px; }
  .footer-main { grid-template-columns: 1fr; }.footer nav { margin-top: 16px; }.footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
}

.site-header { height: 110px; }
.logo { flex-shrink: 0; }
.brand-logo { display: block; width: 170px; height: auto; object-fit: contain; }
.footer-logo .brand-logo { width: 230px; max-width: 100%; }
@media (max-width: 620px) {
  .site-header { height: 90px; }
  .site-header .brand-logo { width: 140px; }
  .footer-logo .brand-logo { width: 200px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

/* Pixel stream game inside the original egg frame. */
.stream-game { position: relative; z-index: 3; width: 72%; align-self: center; margin-top: 14%; transform: rotate(-3deg); padding: 12px; border: 3px solid #8170b0; border-radius: 12px; background: #fffafeee; box-shadow: 6px 6px 0 #8e72f630; font-size: 12px; }
.game-hud { display: flex; justify-content: space-between; gap: 6px; font: bold 12px monospace; color: #51416d; }
.game-hud b { color: #bd3871; }
.pixel-room { height: 95px; position: relative; margin: 10px 0; overflow: hidden; background: repeating-linear-gradient(0deg, transparent 0 15px, #ffffff55 15px 16px), repeating-linear-gradient(90deg, #e2d5ff 0 15px, #f4edff 15px 16px); border-bottom: 5px solid #a090cc; }
.pixel-host { display: block; width: 90px; height: 90px; margin: auto; }
.pixel-star { position: absolute; left: 14%; top: 8px; color: #9c71cf; font-size: 22px; }
.room-caption { position: absolute; bottom: 3px; right: 4px; font: bold 8px monospace; color: #51416d; background: #ffffffe0; padding: 2px; }
.game-chats { height: 144px; display: flex; flex-direction: column; gap: 4px; }
.chat-bubble { display: block; width: 100%; min-height: 44px; padding: 6px 10px; border: 2px solid #c6b2ed; border-radius: 4px 12px 12px 12px; background: #efe6ff; color: #403454; font: inherit; text-align: left; cursor: pointer; touch-action: manipulation; }
.chat-bubble:nth-child(even) { background: #ffe5ef; border-color: #eebdd2; }
.chat-bubble:hover { background: #fff0ac; }
.stream-game button:focus-visible { outline: 3px solid #7055d8; outline-offset: 2px; }
.game-controls { text-align: center; }
.game-controls p { min-height: 36px; margin: 8px 0; font-size: 10px; line-height: 1.6; }
#game-start { min-height: 44px; padding: 6px 12px; border: 0; border-radius: 6px; background: #7055d8; color: white; font-family: inherit; font-size: 12px; font-weight: 700; cursor: pointer; touch-action: manipulation; }
@media (max-width: 1100px) { .stream-game { width: 78%; padding: 8px; } .pixel-room { height: 65px; } .pixel-host { width: 65px; height: 65px; } }
@media (max-width: 620px) { .hero-stage .moon-card { min-height: 435px; } .stream-game { width: 76%; margin-top: 10%; } .hero-stage { min-height: 450px; } }

.hero-stage .moon-card { min-height: 435px; }

/* Random chat targets are confined to the hero, never the sections below. */
.hero > .game-chats { position: absolute; inset: 0; z-index: 10; height: auto; display: block; pointer-events: none; overflow: hidden; }
.hero > .game-chats .chat-bubble { position: absolute; width: max-content; max-width: calc(100% - 24px); min-width: 110px; min-height: 48px; margin: 0; padding: 10px 14px; font-size: 13px; font-weight: 700; border-radius: 4px; box-shadow: 3px 3px 0 #51416d40; pointer-events: auto; }
.stream-game .pixel-room { height: 120px; }
.stream-game .pixel-host { height: 120px; width: 120px; }

.game-scoreboard { margin-top: 8px; padding: 8px; border: 2px solid #c6b2ed; border-radius: 8px; background: #fff5ce; color: #403454; font-size: 10px; line-height: 1.7; }
.game-scoreboard[hidden] { display: none; }
.game-scoreboard > strong { display: block; font: bold 24px monospace; color: #7055d8; }
.game-scoreboard small { font: normal 10px sans-serif; }
.stream-game:has(.game-scoreboard:not([hidden])) .pixel-room { height: 50px; }

.game-scoreboard { max-height: 240px; overflow-y: auto; }
.game-scoreboard form { display: grid; gap: 6px; margin: 8px 0; }
.game-scoreboard input { width: 100%; min-height: 36px; border: 1px solid #a090cc; border-radius: 4px; padding: 4px; font: inherit; box-sizing: border-box; }
.game-scoreboard button { min-height: 36px; background: #7055d8; color: white; border: 0; border-radius: 4px; cursor: pointer; }
.game-scoreboard button:disabled { opacity: .6; cursor: default; }
.game-scoreboard ol { padding-left: 24px; text-align: left; overflow-wrap: anywhere; }
.stream-game:has(.game-scoreboard:not([hidden])) .pixel-room { display: none; }

/* Main illustration, with the game tucked behind a small egg launcher. */
.hero-stage [hidden] { display: none !important; }
.talent-spotlight { position: relative; width: 100%; height: 620px; display: grid; place-items: center; isolation: isolate; }
.talent-spotlight::before { content: ''; position: absolute; inset: 12% -4% 4%; z-index: -1; border-radius: 50%; background: radial-gradient(ellipse, #ffd6ebaa, #d9c7ff66 45%, transparent 72%); }
.talent-spotlight img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 12px 18px #9981c02b); mask-image: linear-gradient(#000 88%, transparent); }
.spotlight-caption { position: absolute; bottom: 14px; font: 700 11px monospace; letter-spacing: .12em; padding: 9px 14px; background: #ffffffda; border-radius: 30px; color: #7055d8; }
.game-launcher { position: absolute; right: 0; bottom: 0; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border: 1px solid #e2d5ff; border-radius: 40px; background: #fffaf9; color: #51416d; box-shadow: 0 8px 24px #7055d826; font: 700 13px sans-serif; cursor: pointer; }
.game-launcher small { display: block; margin-top: 5px; font: 9px monospace; letter-spacing: .12em; }
.mini-egg { display: grid; place-items: center; width: 35px; height: 44px; border-radius: 50% 50% 44% 44%; background: linear-gradient(145deg, #ffe5ef, #c6b2ed, #cde9ff); color: #fff; font-size: 23px; }
.game-close { display: block; margin: 0 0 8px auto; min-height: 36px; padding: 5px 10px; border: 1px solid #c6b2ed; border-radius: 6px; background: white; color: #51416d; cursor: pointer; }
.game-launcher:focus-visible { outline: 3px solid #7055d8; outline-offset: 4px; }
@media (max-width: 900px) { .talent-spotlight { height: 460px; } }
@media (max-width: 620px) { .talent-spotlight { height: 430px; } .game-launcher { bottom: -12px; } }

/* Each element is revealed once per document load. */
.reveal-once { opacity: 0; translate: 0 18px; transition: opacity 800ms ease var(--reveal-delay, 0ms), translate 800ms cubic-bezier(.2,.65,.3,1) var(--reveal-delay, 0ms); }
.reveal-right { translate: 45px 0; }
.reveal-once.reveal-visible { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  .reveal-once { opacity: 1; translate: none; transition: none; }
}
@media print { .reveal-once { opacity: 1; translate: none; } }

main { position: relative; isolation: isolate; }
.scroll-ribbon { position: absolute; left: 0; width: 100%; z-index: 1; pointer-events: none; overflow: hidden; opacity: .5; }
main > .section > * { position: relative; z-index: 2; }
main > .section > .about-decoration { position: absolute; }
@media (prefers-reduced-motion: reduce) { .scroll-ribbon { display: none; } }
@media print { .scroll-ribbon { display: none; } }

.footer-logo { position: relative; }
.footer-arrival-star { position: absolute; left: 50%; top: 50%; pointer-events: none; opacity: 0; font: 22px/1 sans-serif; animation: footer-arrival 1400ms ease-out both; }
@keyframes footer-arrival {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.2); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--star-x)), calc(-50% + var(--star-y))) scale(.6) rotate(35deg); }
}
@media (prefers-reduced-motion: reduce) { .footer-arrival-star { display: none; animation: none; } }

.ribbon-arrival { position: absolute; width: 0; height: 0; z-index: 5; pointer-events: none; }

.strengths { background: #f9f5ff; }
.strengths-grid h3 { font-size: clamp(1.05rem, 1.6vw, 1.35rem); }
.strengths-grid article:nth-child(2) { background: #fff1f7; }
.strengths-grid article:nth-child(3) { background: #effbf6; }
.talent-image { overflow:hidden; }
.talent-image img { width:100%; height:100%; object-fit:contain; }
.editor-card-preview { background:#f0e7ff; border-radius:16px; overflow:hidden; margin:12px 0; }
.editor-card-preview img { width:100%;height:220px;object-fit:contain;display:block; }
.editor-card-preview p { padding:12px; }

body > main[hidden],body > .footer[hidden],#divixion-view[hidden]{display:none!important}
.agency-switch{position:absolute;top:112px;left:7vw;z-index:22;display:flex;gap:4px;padding:4px;border:1px solid #d6c7ed;border-radius:30px;background:#fff9}
.agency-switch button{border:0;border-radius:24px;padding:9px 18px;background:transparent;color:#7055d8;font-weight:700;cursor:pointer;min-height:40px}.agency-switch button[aria-pressed=true]{background:#7055d8;color:#fff}
.hero{padding-top:180px}
.agency-divixion{background:#111216;color:#f7f0de}.agency-divixion .site-header{color:#f7f0de}.agency-divixion .header-entry{background:#dec18a;color:#191715}.agency-divixion .agency-switch{background:#1e1e23;border-color:#8a744c}.agency-divixion .agency-switch button{color:#dec18a}.agency-divixion .agency-switch button[aria-pressed=true]{background:#dec18a;color:#171619}
.dx-hero{min-height:850px;padding:200px 8vw 80px;display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:7vw;background:radial-gradient(ellipse at 80% 40%,#66503440,transparent 55%),#111216}.dx-eyebrow{color:#d3b57d;font:12px monospace;letter-spacing:.18em}.dx-hero h1{font-size:clamp(36px,4.8vw,72px);line-height:1.5;letter-spacing:.02em}.dx-hero h1 span{color:#e4c893}.dx-hero p,.dx-section p{line-height:2;color:#cbc5ba}.dx-button{display:inline-block;margin-top:25px;padding:16px 26px;border:1px solid #d3b57d;color:#e7d4ac}.dx-emblem{text-align:center}.dx-emblem img{width:65%;max-height:460px;object-fit:contain;filter:drop-shadow(0 0 30px #d3b57d33)}.dx-emblem span{display:block;margin-top:26px;font:10px monospace;letter-spacing:.2em;color:#d3b57d}.dx-section{padding:100px 8vw;border-top:1px solid #d3b57d26}.dx-section h2{font-size:clamp(28px,3.5vw,48px);line-height:1.5;font-weight:500}.dx-section>p{max-width:820px}.dx-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:40px}.dx-grid article{padding:28px;border:1px solid #d3b57d33;background:#1a1b20}.dx-grid article>span{color:#d3b57d;font:16px monospace}.dx-grid h3{color:#eddbb6}.dx-note{font-size:12px;color:#aaa!important}.dx-empty{padding:60px 25px;border:1px dashed #d3b57d55;text-align:center;color:#d3b57d;letter-spacing:.1em}.dx-empty p{font-size:14px;letter-spacing:normal}.dx-audition{background:linear-gradient(130deg,#2c261e,#121317)}.dx-footer{padding:60px 8vw;background:#0c0d10;color:#d3b57d}.dx-footer img{width:200px}.dx-footer small{color:#aaa}
@media(max-width:900px){.dx-hero{grid-template-columns:1fr}.dx-emblem img{max-height:320px}.dx-grid{grid-template-columns:1fr}}
@media(max-width:620px){.agency-switch{top:92px;left:20px}.hero{padding-top:170px}.dx-hero{padding:175px 24px 60px;min-height:0}.dx-section{padding:65px 24px}}

/* DiviXion is the facing page: artwork left, copy right. */
.dx-hero { grid-template-columns: 1fr 1.2fr; padding-top:180px; }
.dx-hero > div:first-child { grid-column:2; grid-row:1; text-align:right; }
.dx-hero > .dx-portrait { grid-column:1; grid-row:1; position:relative; height:620px; overflow:hidden; isolation:isolate; }
.dx-portrait::before { content:''; position:absolute; inset:12% 0 0; border-radius:48% 48% 12% 12%; background:radial-gradient(ellipse,#a58a473d,transparent 70%); z-index:-1; }
.dx-hero .dx-portrait img { display:block; width:100%; height:100%; max-height:none; object-fit:cover; object-position:50% 8%; transform:scale(1.12); transform-origin:50% 15%; mask-image:linear-gradient(#000 85%,transparent); }
.dx-hero .dx-portrait span { position:absolute; bottom:12px; left:0; right:0; background:#111216b3; padding:10px; }
.agency-divixion .site-header { flex-direction:row-reverse; }
.agency-divixion .desktop-nav { flex-direction:row-reverse; }
.agency-divixion .agency-switch { left:auto;right:7vw; }
.dx-section { text-align:right; }.dx-section > p { margin-left:auto; }
.dx-grid { direction:rtl; }.dx-grid > article { direction:ltr; text-align:right; }
.dx-footer { text-align:right; }
.agency-page-turn { position:fixed;inset:0;z-index:9998;overflow:hidden;background:#171619;pointer-events:auto;backface-visibility:hidden;box-shadow:20px 0 70px #0005; }
.agency-page-turn > section { margin:0;min-height:100vh; }
.agency-page-turn::after { content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0002,transparent 20%,transparent 70%,#0004);pointer-events:none; }
@media(max-width:900px){.dx-hero{grid-template-columns:1fr}.dx-hero>div:first-child{grid-column:1;grid-row:1}.dx-hero>.dx-portrait{grid-column:1;grid-row:2;width:min(100%,520px);margin:auto;height:560px}}
@media(max-width:620px){.agency-divixion .agency-switch{right:20px}.dx-hero>.dx-portrait{height:460px;max-width:400px}.dx-hero{padding-top:175px}}

/* Restore the original DiviXion reading order and keep the hair in frame. */
.dx-hero { grid-template-columns:1.2fr 1fr; }
.dx-hero > div:first-child { grid-column:1; grid-row:1; text-align:left; }
.dx-hero > .dx-portrait { grid-column:2; grid-row:1; padding-top:20px; }
.dx-hero .dx-portrait img { height:100%; object-position:50% 0%; transform:none; }
.agency-divixion .site-header,.agency-divixion .desktop-nav { flex-direction:row; }
.agency-divixion .agency-switch { left:7vw;right:auto; }
.dx-section,.dx-footer { text-align:left; }
.dx-section > p { margin-left:0; }
.dx-grid { direction:ltr; }.dx-grid > article { text-align:left; }
.agency-crossfade { position:fixed;inset:0;z-index:21;overflow:hidden;pointer-events:none;background:#111216; }
.agency-crossfade > section { margin:0;min-height:100vh; }
@media(max-width:900px){.dx-hero{grid-template-columns:1fr}.dx-hero>div:first-child{grid-column:1;grid-row:1}.dx-hero>.dx-portrait{grid-column:1;grid-row:2}}
@media(max-width:620px){.agency-divixion .agency-switch{left:20px;right:auto}}

/* DiviXion bust portrait: preserve the crown and enlarge the face. */
.dx-hero > .dx-portrait { overflow:hidden; padding-top:0; }
.dx-hero .dx-portrait img {
  position:absolute;
  top:24px;
  left:50%;
  width:160%;
  height:auto;
  max-width:none;
  max-height:none;
  object-fit:contain;
  transform:translateX(-50%);
  mask-image:none;
}
.dx-hero > .dx-portrait {
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 82%,transparent 100%);
  mask-image:linear-gradient(to bottom,#000 0%,#000 82%,transparent 100%);
}
.dx-hero .dx-portrait span { bottom:42px; z-index:2; }
@media(max-width:900px){.dx-hero .dx-portrait img{width:145%;top:20px}}
@media(max-width:620px){.dx-hero .dx-portrait img{width:155%;top:18px}}

/* Reference framing: full image width, upper-body crop only at the bottom. */
.dx-hero > .dx-portrait {
  width:100%;
  height:auto;
  aspect-ratio:1.35;
  min-height:0;
  align-self:center;
  overflow:hidden;
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 92%,transparent 100%);
  mask-image:linear-gradient(to bottom,#000 0%,#000 92%,transparent 100%);
}
.dx-hero .dx-portrait img {
  top:12px;
  left:0;
  width:100%;
  height:auto;
  transform:none;
}
.dx-hero .dx-portrait span { display:none; }
.dx-hero { grid-template-columns:1fr 1.25fr;gap:4vw; }
@media(max-width:900px){
  .dx-hero { grid-template-columns:1fr; }
  .dx-hero > .dx-portrait { width:100%;max-width:650px;height:auto;aspect-ratio:1.35; }
  .dx-hero .dx-portrait img { width:100%;top:10px; }
}
@media(max-width:620px){
  .dx-hero > .dx-portrait { max-width:none;height:auto;aspect-ratio:1.25; }
  .dx-hero .dx-portrait img { width:100%;top:8px; }
}

.dx-hero { position:relative; }

/* Raise only the EpicRoss illustration on desktop. */
@media (min-width: 901px) {
  .hero .talent-spotlight img { transform: translateY(-200px); }
}

/* DiviXion now shares EpicRoss components, with a black and gold palette. */
#divixion-view { --ink:#f3e5c7;--purple:#c7a35c;--purple-dark:#e2c78e;--pink:#b68a49;--yellow:#e8cd8d;--mint:#c1b08a;--sky:#aa9670;--cream:#131316;--line:#dbc28c33;--shadow:0 22px 60px #0003;color:var(--ink);background:#131316; }
#divixion-view .hero { display:grid;grid-template-columns:.88fr 1.12fr;gap:0;min-height:760px;height:100svh;max-height:950px;padding:180px clamp(24px,7vw,110px) 70px;background:radial-gradient(ellipse at 80% 35%,#65502c55,transparent 60%),#141416; }
#divixion-view .hero h1 { margin:0;font-size:clamp(2.8rem,5.2vw,5.8rem);line-height:1.18;letter-spacing:-.055em;font-weight:900; }
#divixion-view .hero-copy {text-align:left;grid-column:auto;grid-row:auto}
#divixion-view .hero::before {background:#ad86451c}
#divixion-view .talent-spotlight img {transform:none;object-fit:cover;object-position:center top;}
#divixion-view .talent-spotlight::before {background:radial-gradient(ellipse,#b9944b40,transparent 70%)}
#divixion-view .about,#divixion-view .talents,#divixion-view .requirements,#divixion-view .flow {background:#17171a}
#divixion-view .strengths,#divixion-view .news {background:#202024}
#divixion-view article,#divixion-view .edit-note {background:#29272a;color:#e1d4b9;border-color:#b99a6055}
#divixion-view .audition-inner {background:linear-gradient(135deg,#342b20,#655035);color:#f5e8cf}
#divixion-view .button-primary {color:#171619}
#divixion-view .floating-label,#divixion-view .spotlight-caption {background:#272323;color:#ead3a0}
#divixion-view .ticker,#divixion-view .footer {background:#0b0b0d;color:#ecdab2}
#divixion-view .hero-orbit {border-color:#d1b37533}
#divixion-view .flow-list p {color:#c5b797}
@media(max-width:900px){#divixion-view .hero{grid-template-columns:1fr;height:auto;max-height:none}#divixion-view .hero-copy{grid-row:1}}
@media(max-width:620px){#divixion-view .hero{padding:170px 20px 50px}#divixion-view .hero h1{font-size:clamp(2.55rem,12vw,4rem)}}

/* Shared copy slots keep the agency label and audition CTA aligned. */
.hero .hero-copy,
#divixion-view .hero .hero-copy {
  display:grid;
  grid-template-rows:auto minmax(clamp(159px,18.408vw,328.512px),auto) auto auto;
  align-content:start;
  text-align:left;
}
.hero .hero-copy > .eyebrow,
#divixion-view .hero .hero-copy > .eyebrow {
  margin:0 0 22px;
  line-height:1.2;
}
.hero .hero-copy > h1,
#divixion-view .hero .hero-copy > h1 { align-self:start; }
#divixion-view .hero .hero-copy > h1 {
  font-size:clamp(2.1rem,3.8vw,4.2rem);
  line-height:1.25;
}
.hero .hero-copy > .hero-description,
#divixion-view .hero .hero-copy > .hero-description {
  margin:30px 0 34px;
  line-height:1.8;
  min-height:3.6em;
}
.hero .hero-copy > .button,
#divixion-view .hero .hero-copy > .button { justify-self:start; }
@media(max-width:900px){
 .hero .hero-copy,#divixion-view .hero .hero-copy {text-align:center;}
 .hero .hero-copy > .button,#divixion-view .hero .hero-copy > .button {justify-self:center;}
}
@media(max-width:620px){
 .hero .hero-copy,#divixion-view .hero .hero-copy {grid-template-rows:auto minmax(clamp(145px,42.48vw,226.56px),auto) auto auto;}
 #divixion-view .hero .hero-copy > h1 {font-size:clamp(1.75rem,8.2vw,2.75rem);}
 .hero .hero-copy > .hero-description,#divixion-view .hero .hero-copy > .hero-description {height:auto;min-height:5.4em;}
}

/* Match both agency hero headline sizes. */
#divixion-view .hero .hero-copy > h1 {
  font-size:clamp(2.8rem,5.2vw,5.8rem);
  line-height:1.18;
}
@media(max-width:620px){
  #divixion-view .hero .hero-copy > h1 {
    font-size:clamp(2.55rem,12vw,4rem);
  }
}

/* DiviXion: a large bust portrait within the shared hero layout. */
#divixion-view .hero .talent-spotlight {
  overflow:hidden;
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 85%,transparent 100%);
  mask-image:linear-gradient(to bottom,#000 0%,#000 85%,transparent 100%);
}
#divixion-view .hero .talent-spotlight img {
  position:absolute;
  top:16px;
  left:50%;
  width:145%;
  height:auto;
  max-width:none;
  object-fit:contain;
  object-position:center top;
  transform:translateX(-50%);
  mask-image:none;
}
@media(max-width:900px){
  #divixion-view .hero .talent-spotlight img {width:120%;top:12px;}
}
@media(max-width:620px){
  #divixion-view .hero .talent-spotlight img {width:145%;top:12px;}
}

/* Desktop composition matched to the supplied DiviXion reference. */
@media(min-width:901px){
  #divixion-view .hero .talent-spotlight {
    overflow:visible;
    -webkit-mask-image:none;
    mask-image:none;
  }
  #divixion-view .hero .talent-spotlight img {
    width:130%;
    top:-200px;
    left:54%;
    transform:translateX(-50%);
    -webkit-mask-image:none;
    mask-image:none;
  }
}

@media(min-width:901px){
  #divixion-view .hero .talent-spotlight img {
    left:calc(54% + 100px);
  }
}

#divixion-view { position:relative;isolation:isolate; }
.dx-scroll-line { position:absolute;left:0;width:100%;z-index:1;pointer-events:none;overflow:visible;opacity:.65; }
#divixion-view > .section > * { position:relative;z-index:2; }
#divixion-view > .section > .about-decoration { position:absolute; }
@media(prefers-reduced-motion:reduce){.dx-scroll-line{display:none}}
@media print{.dx-scroll-line{display:none}}

/* Same talent-card dimensions, styled as a DiviXion playing-card deck. */
#divixion-view .dx-playing-card { border:1px solid #bda16a;border-radius:20px;background:linear-gradient(135deg,#292622,#121316); }
#divixion-view .dx-playing-card::after { content:'';position:absolute;inset:9px;border:1px solid #c7a35c55;border-radius:12px;pointer-events:none; }
#divixion-view .dx-playing-card .talent-image { position:relative;background:radial-gradient(ellipse,#8d6f3730,transparent 65%);border-bottom:1px solid #c7a35c40;color:#d0b780;align-content:center;gap:22px; }
#divixion-view .playing-emblem { display:grid;place-items:center;width:116px;height:160px;border:1px solid #c7a35c55;border-radius:50%;font:80px/1 Georgia,serif;color:#d9bc7d; }
#divixion-view .playing-corner { position:absolute;z-index:3;display:flex;flex-direction:column;align-items:center;color:#e8cd8d;font:20px/1.1 Georgia,serif;letter-spacing:0; }
#divixion-view .playing-corner b { font-size:24px;font-weight:normal; }
#divixion-view .playing-top { top:20px;left:20px; }
#divixion-view .playing-bottom { bottom:20px;right:20px;transform:rotate(180deg); }
#divixion-view .dx-playing-card .talent-info { padding-right:62px; }
#divixion-view .dx-playing-card .talent-info p { color:#c5b797; }

/* Four suits for DiviXion only; keep comfortable card widths. */
#divixion-view .talent-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
#divixion-view .talent-grid .talent-card:last-child { grid-column:auto;width:100%;margin:0; }
@media(min-width:1500px){
  #divixion-view .talent-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@media(max-width:620px){
  #divixion-view .talent-grid { grid-template-columns:1fr; }
}

/* Readable audition actions within the DiviXion gold palette. */
#divixion-view .audition-actions .button-dark {
  background:#e8cd8d;
  color:#292218;
  border:1px solid #e8cd8d;
}
#divixion-view .audition-actions .button-white {
  background:#fff8eb;
  color:#4a3520;
  border:1px solid #d6b875;
}
#divixion-view .audition-actions .button-dark:hover { background:#f2dda8; }
#divixion-view .audition-actions .button-white:hover { background:#f3e6cd; }
#divixion-view .audition-actions .button:focus-visible {
  outline:3px solid #fff8eb;
  outline-offset:4px;
}

/* DiviXion card portrait: frame the face rather than the full figure. */
#divixion-view .dx-playing-card .talent-image:has(img) {
  display:block;
  position:relative;
  overflow:hidden;
}
#divixion-view .dx-playing-card .talent-image > img {
  position:absolute;
  top:-22px;
  left:50%;
  width:140%;
  height:auto;
  max-width:none;
  object-fit:contain;
  transform:translateX(-50%);
}

.dx-scroll-line .dx-tip-arrived {
  transform-box:fill-box;
  transform-origin:center;
  animation:dx-tip-arrival-spin 1100ms cubic-bezier(.22,.7,.25,1) 1;
}
@keyframes dx-tip-arrival-spin {
  from { transform:rotate(0deg); }
  to { transform:rotate(360deg); }
}
@media(prefers-reduced-motion:reduce){
  .dx-scroll-line .dx-tip-arrived {animation:none;}
}

#divixion-view .moon-card {background:linear-gradient(145deg,#302b23 0 30%,#a38349 30% 58%,#51422a 58%);box-shadow:inset 0 0 0 14px #f1d28b22,var(--shadow)}
#divixion-view .stream-game {background:#202024f5;border-color:#bc9b5c;color:#efdfba;box-shadow:6px 6px 0 #0004}
#divixion-view .game-hud {color:#edd5a0}#divixion-view .game-hud b {color:#f4c46e}
#divixion-view .pixel-room {background:repeating-linear-gradient(0deg,transparent 0 15px,#f5d98f15 15px 16px),repeating-linear-gradient(90deg,#393126 0 15px,#554630 15px 16px);border-color:#b99a60}
#divixion-view .pixel-host {filter:sepia(1) saturate(.7)}
#divixion-view .room-caption {background:#19171be0;color:#e6c885}
#divixion-view .game-launcher,#divixion-view .game-close {background:#242126;color:#eedab0;border-color:#bca065}
#divixion-view .mini-egg {background:linear-gradient(145deg,#f0d595,#806632,#211f23);color:#fff2d1}
#divixion-view #dx-game-start {min-height:44px;padding:6px 12px;border:0;border-radius:6px;background:#dfc080;color:#231e17;font:700 12px sans-serif;cursor:pointer}
#divixion-view .chat-bubble {background:#302a20;border-color:#c7a35c;color:#f9eacb}
#divixion-view .chat-bubble:nth-child(even) {background:#e7cc96;color:#292116;border-color:#f0dbac}
#divixion-view .chat-bubble:hover {background:#f5dea7;color:#201b14}
#divixion-view .game-scoreboard {background:#29241c;color:#f0dfbd;border-color:#bca065}
#divixion-view .game-scoreboard > strong {color:#f3d896}
#divixion-view .game-scoreboard button {background:#d9b96f;color:#211c14}
#divixion-view .game-scoreboard input {background:#fff8e9;color:#241f19;border-color:#bca065}
#divixion-view .stream-game button:focus-visible,#divixion-view .game-launcher:focus-visible {outline:3px solid #f5dfaa;outline-offset:3px}

#divixion-view .runner-track{position:relative;overflow:hidden;width:100%;margin-top:12px;background:#19181f;border:2px solid #b99a60;touch-action:manipulation;cursor:pointer}
.runner-world{position:relative;width:320px;height:180px;transform-origin:top left;background:linear-gradient(#171822,#3d3328)}
.runner-ground{position:absolute;top:145px;width:100%;height:35px;border-top:3px solid #d9b772;background:repeating-linear-gradient(90deg,#6c5633 0 18px,#342c24 18px 22px)}
.runner-player{position:absolute;left:48px;top:115px;width:22px;height:30px}.runner-player svg{display:block;width:100%!important;height:100%!important;margin:0;filter:sepia(.8)}
.runner-obstacle{position:absolute;background:#e7be68;border:3px solid #fff0b7;box-shadow:inset 0 0 0 2px #8d6c36}
.runner-moon{position:absolute;left:260px;top:18px;color:#dfc17f;font-size:26px}.runner-caption{position:absolute;left:12px;top:12px;font:8px monospace;color:#c3ab78}
#divixion-view #dx-run-start,#divixion-view #dx-run-jump,.runner-results button{min-height:44px;padding:8px 12px;border:1px solid #d4b577;border-radius:6px;background:#dec18a;color:#241e17;font-weight:700;cursor:pointer;touch-action:manipulation}
#divixion-view #dx-run-jump:disabled{opacity:.4;cursor:default}.runner-results{max-height:170px;overflow:auto;font-size:11px}.runner-results[hidden]{display:none}.runner-results strong,.runner-results small{display:block}.runner-results input{width:100%;padding:6px}.runner-results ol{text-align:left;padding-left:24px}

.runner-bird,.runner-double {position:absolute;}
.runner-bird svg {display:block;width:100%;height:100%;}
.runner-double {display:flex;justify-content:space-between;}
.runner-double i {width:20px;height:100%;background:#e7be68;border:3px solid #fff0b7;box-shadow:inset 0 0 0 2px #8d6c36;}

.runner-hazard,.runner-warning{position:absolute}
.runner-saw,.runner-star{color:#ffe3a0;font:28px/26px sans-serif;text-align:center}
.runner-saw span{display:block;animation:runner-saw-spin .6s linear infinite;transform-origin:center}
.runner-star{color:#ffcf76;text-shadow:0 0 5px #efba62}
.runner-warning{width:26px;height:4px;background:#ffd571;box-shadow:0 0 8px #ffd571;border-radius:50%}
@keyframes runner-saw-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.runner-saw span{animation:none}}
#divixion-view .game-controls p[hidden]{display:none}

/* EpicRoss audition artwork, fading toward the copy. */

main > #audition .audition-inner {
  background:linear-gradient(90deg,#ffd0e5 0%,#ffdcd8 45%,#fff0ad 100%);
  color:#4c294b;
}
main > #audition .audition-inner::before {
  inset:0 0 0 auto;
  width:67%;height:100%;
  border:0;border-radius:0;transform:none;
  background:url('assets/epicross-audition.webp') center center / cover no-repeat;
  -webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.15) 22%,#000 62%);
  mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.15) 22%,#000 62%);
}
main > #audition .audition-inner::after {display:none;}
main > #audition .audition-badge {display:none;}
main > #audition .audition-copy {max-width:58%;}
main > #audition .eyebrow {color:#8a3869;}
main > #audition h2 span {color:#9c366f;}
main > #audition .button-white {color:#843564;background:#fff9fc;}
@media(max-width:900px){
 main > #audition .audition-copy {max-width:100%;}
 main > #audition .audition-inner::before {width:70%;opacity:.27;}
}
@media(max-width:620px){
 main > #audition .audition-inner {padding-bottom:240px;}
 main > #audition .audition-inner::before {top:auto;bottom:0;width:100%;height:240px;opacity:1;background-position:center 35%;-webkit-mask-image:linear-gradient(to bottom,transparent,#000 45%);mask-image:linear-gradient(to bottom,transparent,#000 45%);}
}

/* Closer face framing for the EpicRoss audition illustration. */
main > #audition .audition-inner::before {
  background-size:auto 155%;
  background-position:65% 18%;
}
@media(max-width:620px){
  main > #audition .audition-inner::before {
    background-size:auto 155%;
    background-position:65% 18%;
  }
}

/* Shift the audition image without changing its scale or fade mask. */
main > #audition .audition-inner::before {
  background-position:calc(65% + 75px) 18%;
}

/* Pastel application steps with clear separation. */
main > #flow .flow-list { gap:30px; }
main > #flow .flow-list li {
  padding:30px 22px;
  background:#eee5ff;
  border:1px solid #fff;
  border-radius:22px;
  box-shadow:0 8px 24px #7055d80c;
}
main > #flow .flow-list li:nth-child(2) { background:#ffe4ef; }
main > #flow .flow-list li:nth-child(3) { background:#def5ec; }
main > #flow .flow-list li:not(:last-child)::after { right:-27px; }
@media(max-width:620px){
  main > #flow .flow-list { gap:30px; }
  main > #flow .flow-list li:not(:last-child)::after {
    right:50%; transform:translateX(50%); bottom:-30px;
  }
}

/* Match Subaru's face framing to the other featured talent cards. */
main > #talents .subaru-top-card .talent-image {position:relative;}
main > #talents .subaru-top-card .talent-image img {
  position:absolute;
  height:410%;
  width:auto;
  max-width:none;
  top:20px;
  left:50%;
  object-fit:contain;
}

/* Frame liver 04 at the same portrait scale as the other featured cards. */
main > #talents .liver-four-top-card .talent-image {position:relative;}
main > #talents .liver-four-top-card .talent-image img {
  position:absolute;
  height:350%;
  width:auto;
  max-width:none;
  top:14px;
  left:50%;
  object-fit:contain;
}

/* Match roster portraits by face framing, independent of profile-page transforms. */
.roster-grid .roster-framed-card .talent-image {position:relative;}
.roster-grid .roster-framed-card .talent-image img {
  position:absolute;
  width:auto;
  max-width:none;
  left:50%;
  object-fit:contain;
}

/* Compensate for the wide transparent canvas to match the first portrait. */
#divixion-view .dx-liver-two-card .talent-image > img {width:350%;top:20px;left:50%;transform:translate(-51%,-8%);}

#divixion-view .dx-liver-three-card .talent-image > img {width:84%;top:8px;left:50%;transform:translateX(-50%);}

#divixion-view .dx-liver-four-card .talent-image > img {width:200%;top:6px;left:50%;transform:translateX(-50%);}

/* DiviXion entry steps and topic list. */
#divixion-view #dx-flow .flow-list {gap:34px;position:relative;z-index:1;}
#divixion-view #dx-flow .flow-list li {padding:30px 22px;border:1px solid #967a46;border-radius:22px;background:#30291e;box-shadow:0 8px 24px #0002;}
#divixion-view #dx-flow .flow-list li:nth-child(2) {background:#292725;}
#divixion-view #dx-flow .flow-list li:nth-child(3) {background:#342e24;}
#divixion-view #dx-flow .flow-list strong {color:#f3e5c7;}
#divixion-view #dx-flow .flow-list p {color:#e1d4b9;}
#divixion-view #dx-flow .flow-list li:not(:last-child)::after {right:-27px;}
#divixion-view .news-list,#divixion-view .news-item {border-color:#b99a6055;}
#divixion-view .news-item {color:#f3e5c7;}
#divixion-view .news-item:hover,#divixion-view .news-item:focus-visible {background:#30291e;}
#divixion-view .news-item .category {background:#dfc080;color:#241e15;}
#divixion-view .dx-news-status {font-size:.72rem;color:#d8c397;}
@media(max-width:620px){
 #divixion-view #dx-flow .flow-list {gap:30px;}
 #divixion-view #dx-flow .flow-list li:not(:last-child)::after {right:50%;top:auto;bottom:-30px;transform:translateX(50%);}
}

.talent-card.garuru-card .talent-image {position:relative;overflow:hidden;}
.talent-card.garuru-card .talent-image img {position:absolute;height:220%;width:auto;max-width:none;top:8px;left:50%;object-fit:contain;}

/* Homepage bust portraits; retain the separate roster framing. */
main > #talents .garuru-card .talent-image img {height:350%;top:-18px;}

.company-info {margin-top:28px;padding-top:24px;border-top:1px solid #ffffff35;color:inherit;}
.company-info h2 {font-size:1rem;margin:0 0 14px;}
.company-info dl {margin:0;font-size:.82rem;line-height:1.8;}
.company-info dl > div {display:grid;grid-template-columns:5em 1fr;gap:12px;margin:6px 0;}
.company-info dd {margin:0;overflow-wrap:anywhere;}

/* Compact footer: brand, company, navigation and social links on one row. */
.footer {padding-top:34px;padding-bottom:20px;}
.footer-main {grid-template-columns:minmax(150px,.85fr) minmax(260px,1.25fr) minmax(190px,.95fr) auto;gap:28px;min-height:0;align-items:start;}
.footer-main .footer-logo .brand-logo {width:190px;}
.footer-main > div > p {margin:12px 0 18px;}
.footer-main .company-info {margin:8px 0 18px;padding:0;border:0;}
.footer-main .company-info h2 {font-size:.88rem;margin-bottom:10px;}
.footer-main .company-info dl {font-size:.76rem;}
.footer-main .company-info dl > div {grid-template-columns:3.5em 1fr;gap:8px;margin:3px 0;}
.footer-main nav {gap:15px 22px;margin-top:10px;}
.footer-bottom {padding-top:16px;}
.copyright-notice {font-size:.7rem;line-height:1.7;margin:12px 0 0;color:inherit;opacity:.85;}
@media(max-width:1050px){.footer-main{grid-template-columns:1fr 1.4fr;gap:18px 26px;}.footer-main nav{margin-top:0;}.footer-main .social-links{justify-content:flex-end;}}
@media(max-width:620px){.footer-main{grid-template-columns:1fr;gap:14px;}.footer-main .social-links{justify-content:flex-start;}.footer-main .company-info{margin:0;}.footer-main .footer-logo .brand-logo{width:155px;}}

/* Homepage portraits retain independent bust-up framing. */
main > #talents .bust-top-card .talent-image {position:relative;overflow:hidden;}
main > #talents .bust-top-card .talent-image img {position:absolute;height:340%;width:auto;max-width:none;left:50%;top:-14px;object-fit:contain;}
#divixion-view .audition-inner::before,#divixion-view .audition-inner::after {display:none;}
#divixion-view .dx-audition-art {position:absolute;right:0;top:0;width:60%;height:100%;object-fit:cover;object-position:50% 12%;pointer-events:none;mask-image:linear-gradient(to right,transparent,#000 60%);-webkit-mask-image:linear-gradient(to right,transparent,#000 60%);}
#divixion-view .dx-audition-art[data-character="miru"] {object-position:50% 6%;}
#divixion-view .dx-audition-art[data-character="koume"] {object-position:70% center;}
#divixion-view .dx-audition-art[data-character="spica"] {object-position:51% 5%;}
#divixion-view .audition-copy {max-width:58%;}
@media(max-width:900px) {
 #divixion-view .audition-copy {max-width:100%;}
 #divixion-view .dx-audition-art {opacity:.25;}
}
@media(max-width:620px) {
 #divixion-view .audition-inner {padding-bottom:280px;}
 #divixion-view .dx-audition-art {top:auto;bottom:0;width:100%;height:270px;opacity:1;mask-image:linear-gradient(to bottom,transparent,#000 35%);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 35%);}
}

main > #talents .bust-top-card[data-talent-id="03"] .talent-image img {top:-13px;left:47%;}

/* Keep portrait heads visible and the audition fade fixed while zooming. */
main > #talents .bust-top-card[data-talent-id="01"] .talent-image img {top:12px;}
#divixion-view .dx-audition-frame {position:absolute;right:0;top:0;width:60%;height:100%;overflow:hidden;pointer-events:none;mask-image:linear-gradient(to right,transparent,#000 60%);-webkit-mask-image:linear-gradient(to right,transparent,#000 60%);}
#divixion-view .dx-audition-frame .dx-audition-art {width:100%;height:100%;mask-image:none;-webkit-mask-image:none;}
#divixion-view .dx-audition-frame .dx-audition-art[data-character="spica"] {transform:scale(2.4);transform-origin:54% 0%;}
@media(max-width:620px) {
 #divixion-view .dx-audition-frame {top:auto;bottom:0;width:100%;height:270px;mask-image:linear-gradient(to bottom,transparent,#000 35%);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 35%);}
}

/* Small screens reserve a separate row for the game control. */
@media(max-width:620px){
 .hero-stage .floating-label,.hero-stage .spotlight-caption {display:none;}
 .hero .hero-stage {display:flex;flex-direction:column;align-items:center;gap:18px;padding-bottom:24px;}
 .hero .hero-stage .game-launcher {position:relative;inset:auto;align-self:center;flex-shrink:0;margin:0;transform:none;}
 .hero .hero-stage .talent-spotlight {flex-shrink:0;}
}

main > #talents .bust-top-card[data-talent-id="07"] .talent-image img {top:-60px;}

/* Soft double helix confined to the EpicRoss requirements link card. */
main #requirements .app-conditions-card {position:relative;isolation:isolate;overflow:hidden;min-height:104px;display:flex;align-items:center;justify-content:flex-end;padding:22px 26px;background:linear-gradient(110deg,#f4efff,#fff1f7 52%,#f1f7ff);border:1px solid #e9dff8;border-radius:18px;}
main #requirements .app-conditions-card::before {content:"";position:absolute;inset:0;z-index:-1;background:url("assets/requirements-helix.svg") left center / auto 104px no-repeat;opacity:.8;pointer-events:none;}
main #requirements .app-conditions-card .text-link {background:#f8f4ffdd;border-radius:10px;padding:8px 12px;position:relative;}
@media(max-width:620px){main #requirements .app-conditions-card {min-height:124px;padding:64px 16px 14px;}main #requirements .app-conditions-card::before {background-position:left -12px;background-size:auto 90px;}main #requirements .app-conditions-card .text-link{font-size:.8rem;}}

main > #talents .bust-top-card[data-talent-id="08"] .talent-image img {height:155%;top:-10px;}

/* Shared framing mechanism; source-specific calibration lives in talent-roster.js. */
.talent-grid .uniform-portrait-card .talent-image {position:relative;overflow:hidden;}
.talent-grid .uniform-portrait-card .talent-image img {position:absolute;height:var(--portrait-height,155%);width:auto;max-width:none;left:50%;top:var(--portrait-top,-3.03%);object-fit:contain;transform:translateX(var(--portrait-anchor,-50%));}


/* Match the supplied pastel helix card on both agency pages. */
.news-helix-card,#divixion-view .news-helix-card{position:relative;isolation:isolate;overflow:hidden;min-height:144px;display:flex;align-items:flex-end;justify-content:flex-end;padding:22px 26px;background:linear-gradient(110deg,#f4efff,#fff1f7 52%,#f1f7ff);border:1px solid #e9dff8;border-radius:18px;color:#756595}
.news-helix-card::before{content:"";position:absolute;inset:0;z-index:-1;background:url("assets/requirements-helix.svg") left center/auto 104px no-repeat;opacity:.8;pointer-events:none}
.news-helix-card a,#divixion-view .news-helix-card a{position:relative;padding:8px 12px;border-bottom:1px solid #756595;border-radius:10px;background:#f8f4ffdd;color:#756595;font-size:.9rem;font-weight:700;text-decoration:none}
.news-helix-card a span{margin-left:20px}.news-helix-card a:hover{background:#eee5ff}.news-helix-card a:focus-visible{outline:2px solid #9574ce;outline-offset:4px}
@media(max-width:620px){.news-helix-card,#divixion-view .news-helix-card{padding:64px 14px 18px}.news-helix-card::before{background-position:left 4px;background-size:auto 100px}.news-helix-card a,#divixion-view .news-helix-card a{font-size:.8rem}}

/* DiviXion keeps the same helix layout in its charcoal and gold palette. */
#divixion-view .news-helix-card{background:linear-gradient(110deg,#262326,#332c21 52%,#252326);border-color:#887044;color:#e9cf93}
#divixion-view .news-helix-card::before{background-image:url("assets/news-helix-gold.svg")}
#divixion-view .news-helix-card a{background:#2b2721e8;color:#e9cf93;border-bottom-color:#b99a60}
#divixion-view .news-helix-card a:hover{background:#413523}
#divixion-view .news-helix-card a:focus-visible{outline-color:#e0c184}

.news-empty-row{min-height:80px;border-bottom:1px solid var(--line)}
.news-category-news{background:var(--purple);color:#fff}.news-category-event{background:var(--yellow);color:var(--ink)}.news-category-shop{background:var(--pink);color:#fff}
#divixion-view .news-item .category,.news-divixion .news-item .category{background:#e0c184;color:#171515}
.news-divixion .news-item,.news-divixion .news-empty-row,.news-divixion .news-list{border-color:#b99a6055}.news-divixion .news-item{color:#f3e6c7}.news-divixion .news-item:hover{background:#30291f}
#archive-items{margin:32px 0}.news-detail h1{margin:20px 0}#article-meta{color:#82729c;margin:24px 0}#article-body{white-space:pre-line;line-height:2;margin:36px 0 48px}.news-divixion #article-meta{color:#d6bd85}

.news-footer{display:grid;grid-template-columns:200px minmax(0,1fr);gap:8px 36px;align-items:center;padding-top:22px;padding-bottom:16px}.news-footer>.logo{grid-column:1;grid-row:1}.news-footer>.company-info{grid-column:2;grid-row:1 / span 2;margin:0;padding:0;border:0}.news-footer>.company-info h2{font-size:.8rem;margin:0 0 6px}.news-footer>.company-info dl{font-size:.75rem}.news-footer>.company-info dl>div{margin:0}.news-footer>.logo img{width:165px}.news-footer>p:not(.copyright-notice){grid-column:1;margin:0;font-size:.7rem}.news-footer>small{grid-column:1 / -1;font-size:.65rem}.news-footer>.copyright-notice{grid-column:1 / -1;margin:0;padding-top:8px;font-size:.65rem}
.news-editor{position:fixed;z-index:10000;right:16px;top:16px;bottom:16px;width:min(440px,calc(100vw - 32px));overflow:auto;padding:24px;background:#fffafc;color:#302846;border:1px solid #cbbbea;border-radius:18px;box-shadow:0 12px 50px #0005}.news-editor[hidden]{display:none}.news-editor label{display:block;margin:16px 0}.news-editor input,.news-editor textarea,.news-editor select{display:block;width:100%;padding:10px;font:inherit;border:1px solid #baaacb;border-radius:8px}.news-editor button{padding:8px 12px;margin:4px;cursor:pointer}.news-editor p{font-size:.8rem;line-height:1.7}.news-editor-corner{position:fixed;z-index:9999;background:transparent;border:0;color:#9d83d4;font-size:28px;width:44px;height:44px;cursor:pointer}.news-editor-corner.corner-0{top:0;left:0}.news-editor-corner.corner-1{top:0;right:0}.news-editor-corner.corner-2{bottom:0;left:0}.news-editor-corner.corner-3{bottom:0;right:0}.news-divixion .news-editor{background:#262322;color:#eddaad;border-color:#a58950}.news-divixion .news-editor-corner{color:#d4b56c}
@media(max-width:520px){.news-footer{grid-template-columns:110px minmax(0,1fr);gap:8px 14px;padding-left:16px;padding-right:16px}.news-footer>.logo img{width:110px}.news-footer>.company-info dl>div{display:block}.news-footer>.company-info dt{display:none}.news-footer>.company-info dl{font-size:.68rem}}

/* Clip rotated decorative ribbons at the viewport edge. */
html { overflow-x: clip; }
