@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;1,600&display=swap");

:root { color-scheme: light; font-family: "DM Sans", sans-serif; color: #252038; background: #f7edda; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }

.login-page { min-height: 100svh; position: relative; display: flex; justify-content: flex-end; align-items: center; overflow: hidden; padding: 50px 12vw 50px 47%; background: #f7edda; }
.login-page::before { content: "MAMBOLÂNDIA"; position: absolute; inset: 0 auto 0 0; width: 43%; display: flex; align-items: center; padding-left: 7vw; color: #ffe8c7; background: #34294b; font: 800 clamp(50px, 8vw, 132px) "DM Sans", sans-serif; letter-spacing: -.1em; line-height: .82; writing-mode: vertical-rl; transform: rotate(180deg); }
.login-page::after { content: ""; position: absolute; width: 340px; height: 340px; left: 18%; top: 12%; border: 42px solid #ed655f; border-radius: 50%; transform: rotate(17deg); box-shadow: 115px 380px 0 -85px #f2c653, -115px 530px 0 -112px #5b88c6; }

.ambient { position: absolute; pointer-events: none; }
.ambient-left { width: 150px; height: 150px; left: 32%; bottom: 11%; border-radius: 50% 50% 50% 8%; background: #dc719f; transform: rotate(19deg); }
.ambient-right { width: 70px; height: 70px; right: 6%; top: 8%; border: 13px solid #5b88c6; border-radius: 50%; }

.login-shell { width: min(100%, 480px); padding: 26px 0 22px; position: relative; z-index: 1; text-align: left; animation: slide-in .7s ease both; }
.login-shell::before { content: "01"; position: absolute; top: -20px; right: 0; color: #d35752; font: 500 12px "DM Mono", monospace; letter-spacing: .2em; }
.login-shell::after { content: ""; position: absolute; top: 47px; right: -105px; width: 74px; height: 10px; background: #e8aa39; transform: rotate(-9deg); }

.brand-mark { width: 62px; height: 62px; margin: 0 0 35px 4px; display: grid; place-items: center; border: 3px solid #34294b; border-radius: 50% 50% 50% 8px; color: #34294b; background: #f2c653; font-family: "Playfair Display", serif; font-size: 31px; box-shadow: 7px 7px 0 #ed655f; transform: rotate(-8deg); }
.brand-mark span { transform: rotate(8deg); }
.eyebrow, .bottom-line, .site-footer { font-family: "DM Mono", monospace; letter-spacing: .16em; }
.eyebrow { color: #d35752; font-size: 11px; margin: 0 0 20px; font-weight: 500; }
h1 { max-width: 520px; margin: 0; color: #252038; font-size: clamp(48px, 7vw, 86px); font-weight: 800; letter-spacing: -.09em; line-height: .88; }
h1 em { display: inline-block; color: #d95761; font-family: "Playfair Display", serif; font-weight: 600; letter-spacing: -.06em; transform: translateX(34px) rotate(-3deg); }
.intro { color: #6b6270; font-size: 15px; line-height: 1.65; margin: 31px 0 28px; }

.discord-button { width: min(100%, 390px); display: flex; align-items: center; gap: 12px; padding: 18px 20px; border: 2px solid #34294b; border-radius: 5px; cursor: pointer; color: #fff8ee; background: #586fc2; font: 700 14px "DM Sans", sans-serif; box-shadow: 7px 7px 0 #34294b; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.discord-button:hover { background: #d95761; box-shadow: 3px 3px 0 #34294b; transform: translate(4px, 4px); }
.discord-button:active { box-shadow: 0 0 0 #34294b; transform: translate(7px, 7px); }
.discord-button svg { width: 23px; height: 23px; flex: 0 0 auto; }
.button-arrow { margin-left: auto; font-size: 20px; font-weight: 400; line-height: 1; }
.privacy-note { color: #817782; font-size: 11px; margin: 23px 0 55px; }
.lock-icon { color: #d35752; font-size: 17px; vertical-align: -2px; margin-right: 5px; }
.bottom-line { display: flex; align-items: center; gap: 12px; width: min(100%, 390px); color: #9b8c8a; font-size: 8px; white-space: nowrap; }
.bottom-line span { height: 2px; flex: 1; background: #d9c9b8; }
.site-footer { position: absolute; left: 7vw; bottom: 27px; display: flex; gap: 13px; color: #c9b59d; font-size: 8px; z-index: 1; }
.footer-dot { color: #ed655f; }
.toast { position: fixed; left: 50%; bottom: 40px; z-index: 4; width: max-content; max-width: calc(100% - 32px); padding: 12px 16px; border: 2px solid #34294b; border-radius: 5px; background: #f2c653; color: #34294b; font-size: 12px; box-shadow: 5px 5px 0 #34294b; opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
@keyframes slide-in { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: translateX(0); } }

@media (max-width: 760px) {
  .login-page { justify-content: center; padding: 70px 25px 100px; }
  .login-page::before { inset: 0 0 auto; width: 100%; height: 30%; padding: 24px 25px; align-items: flex-start; writing-mode: horizontal-tb; transform: none; font-size: 11vw; letter-spacing: -.09em; }
  .login-page::after { width: 180px; height: 180px; left: auto; right: -55px; top: 5%; border-width: 25px; box-shadow: none; }
  .ambient-left { left: -35px; bottom: 5%; width: 100px; height: 100px; }
  .ambient-right { right: 12%; top: 26%; width: 42px; height: 42px; border-width: 8px; }
  .login-shell { width: min(100%, 480px); padding-top: 40px; }
  .login-shell::after { display: none; }
  .brand-mark { margin-bottom: 25px; }
  h1 { font-size: clamp(46px, 14vw, 75px); }
  .site-footer { left: 25px; bottom: 22px; }
}

/* Lightweight decorative Mambo rain, active only on the auth page. */
.mambo-rain {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  contain: layout paint;
}

.falling-mambo {
  position: absolute;
  top: -82px;
  left: var(--mambo-left);
  width: var(--mambo-size);
  height: var(--mambo-size);
  object-fit: contain;
  opacity: 0;
  user-select: none;
  will-change: transform, opacity;
  animation: mambo-fall var(--mambo-duration) linear forwards;
}

@keyframes mambo-fall {
  0% { opacity: 0; transform: translate3d(0, -8vh, 0) rotate(var(--mambo-rotation-start)); }
  10% { opacity: .82; }
  82% { opacity: .72; }
  100% { opacity: 0; transform: translate3d(8vw, 118vh, 0) rotate(var(--mambo-rotation-end)); }
}

/* Final polish for the two retained directions. */
.theme-poster .login-page { background: #f4e8d2; background-image: linear-gradient(90deg, rgba(52,41,75,.045) 1px, transparent 1px), linear-gradient(rgba(52,41,75,.045) 1px, transparent 1px); background-size: 42px 42px; }
.theme-poster .login-page::before { content: "MAMBO"; width: 43%; height: auto; padding: 9vh 5vw; display: block; color: #ffe8c7; background: #34294b; box-shadow: inset -20px 0 0 rgba(255,255,255,.035); font: 800 clamp(58px, 7.5vw, 125px) "DM Sans", sans-serif; letter-spacing: -.12em; writing-mode: horizontal-tb; transform: none; }
.theme-poster .login-page::after { width: min(27vw, 330px); height: min(27vw, 330px); left: 9%; top: 37%; border: 10px solid #ed655f; background: transparent; box-shadow: 0 0 0 20px #34294b, 0 0 0 29px #f2c653; opacity: .9; }
.theme-poster .ambient-left { width: 20px; height: 20px; left: 8%; top: 9%; border-radius: 50%; background: #f2c653; box-shadow: 0 42px 0 #ed655f, 0 84px 0 #5b88c6; }
.theme-poster .ambient-right { width: 90px; height: 90px; right: 8%; bottom: 10%; border: 12px solid #5b88c6; border-radius: 50%; }
.theme-poster .login-shell { width: min(100%, 520px); padding: 35px 0 24px; }
.theme-poster .login-shell::before { content: \"MAMBO / 001\"; top: -23px; left: 0; right: auto; width: auto; height: auto; background: none; color: #d35752; font: 11px \"DM Mono\", monospace; letter-spacing: .16em; }
.theme-poster .login-shell::after { content: \"★\"; display: block; position: absolute; right: -20px; top: 25px; width: auto; height: auto; background: none; color: #ed655f; font-size: 27px; }
.theme-poster .brand-mark { width: 66px; height: 66px; margin-bottom: 27px; border: 3px solid #34294b; border-radius: 50% 50% 50% 8px; background: #f2c653; box-shadow: 8px 8px 0 #ed655f; }
.theme-poster .eyebrow { color: #d35752; font-size: 10px; }
.theme-poster h1 { font-size: clamp(51px, 7vw, 86px); line-height: .84; }
.theme-poster h1 em { color: #d95761; }
.theme-poster .intro { max-width: 380px; margin-left: auto; margin-right: auto; color: #6c606e; }
.theme-poster .discord-button { width: min(100%, 410px); border: 2px solid #34294b; background: #587fc0; box-shadow: 7px 7px 0 #34294b; }
.theme-poster .discord-button:hover { background: #d95761; box-shadow: 3px 3px 0 #34294b; }
.theme-poster .privacy-note { color: #857879; }
.theme-poster .bottom-line { width: min(100%, 410px); margin-left: auto; margin-right: auto; color: #8d7d7c; }
.theme-poster .bottom-line span { background: #cbbbab; }
.theme-poster .theme-switcher { color: #34294b; border-color: #34294b; background: rgba(244,232,210,.9); }
.theme-poster .theme-switcher::after { content: "Trocar"; margin-left: 2px; color: #8d7d7c; font: 9px "DM Mono", monospace; letter-spacing: .08em; }
.theme-poster .site-footer { color: #bda891; }

.theme-dark-card .login-page { background: radial-gradient(circle at 50% 28%, #3a2a48 0, #171522 36%, #090b12 100%); }
.theme-dark-card .login-page::before { content: ""; opacity: .12; background-size: 64px 64px; }
.theme-dark-card .login-page::after { width: 420px; height: 420px; right: -160px; top: -170px; border-radius: 50%; background: #5d4cb2; opacity: .16; }
.theme-dark-card .ambient-left { width: 290px; height: 290px; left: -190px; bottom: -150px; border-radius: 50%; background: #dc655d; filter: blur(50px); opacity: .14; }
.theme-dark-card .ambient-right { width: 7px; height: 7px; right: 15%; top: 19%; border-radius: 50%; background: #f1c75b; box-shadow: 0 0 24px 5px rgba(241,199,91,.35); }
.theme-dark-card .login-shell { width: min(100% - 40px, 470px); padding: 53px 48px 38px; border: 1px solid rgba(255,255,255,.14); border-radius: 24px; background: linear-gradient(155deg, rgba(50,40,64,.92), rgba(20,18,29,.95)); box-shadow: 0 30px 90px rgba(0,0,0,.48), inset 0 1px rgba(255,255,255,.09); }
.theme-dark-card .login-shell::before { content: \"MAMBOLÂNDIA / ACCESS\"; top: 20px; left: 0; right: 0; width: auto; height: auto; background: none; color: #c89073; font: 9px \"DM Mono\", monospace; letter-spacing: .18em; text-align: center; }
.theme-dark-card .login-shell::after { content: \"✦\"; display: block; position: absolute; right: 27px; top: 22px; width: auto; height: auto; background: none; color: #f1c75b; font-size: 16px; }
.theme-dark-card .brand-mark { width: 61px; height: 61px; margin: 0 auto 25px; border: 1px solid #d89a76; border-radius: 18px 18px 18px 5px; color: #f0c792; background: rgba(216,154,118,.08); box-shadow: 0 0 0 7px rgba(216,154,118,.05), 0 0 32px rgba(216,154,118,.12); }
.theme-dark-card .eyebrow { color: #d89a76; font-size: 10px; }
.theme-dark-card h1 { font-size: clamp(44px, 9vw, 67px); line-height: .9; }
.theme-dark-card h1 em { color: #eea36f; }
.theme-dark-card .intro { color: #b4a8b8; }
.theme-dark-card .discord-button { border: 1px solid rgba(255,255,255,.2); background: #626df0; box-shadow: 0 13px 30px rgba(98,109,240,.22), inset 0 1px rgba(255,255,255,.2); }
.theme-dark-card .discord-button { border-color: #34294b; background: #587fc0; box-shadow: 7px 7px 0 #34294b; }
.theme-dark-card .discord-button:hover { background: #6c91ce; box-shadow: 3px 3px 0 #34294b; transform: translate(4px, 4px); }
.theme-dark-card .discord-button:active { box-shadow: 0 0 0 #34294b; transform: translate(7px, 7px); }
.theme-dark-card .privacy-note { color: #82778b; }
.theme-dark-card .lock-icon { color: #e1ad70; }
.theme-dark-card .bottom-line { color: #786b80; }
.theme-dark-card .bottom-line span { background: #493d55; }
.theme-dark-card .theme-switcher { color: #f3e5d9; border-color: #5a4c66; background: rgba(28,25,39,.88); }
.theme-dark-card .theme-switcher::after { content: "Trocar"; margin-left: 2px; color: #82778b; font: 9px "DM Mono", monospace; letter-spacing: .08em; }
.theme-dark-card .site-footer { color: #665b70; }
.theme-dark-card .brand-mark { color: #34294b; background: #f2c653; border-color: #34294b; box-shadow: 7px 7px 0 #ed655f; }
.theme-dark-card .eyebrow, .theme-dark-card h1 em { color: #ed655f; }
.theme-dark-card .lock-icon { color: #f2c653; }

@media (max-width: 760px) {
  .theme-poster .login-page { padding: 126px 23px 78px; }
  .theme-poster .login-page::before { width: 100%; height: 29%; box-shadow: inset 0 -12px 0 rgba(255,255,255,.035); }
  .theme-poster .login-page::before { padding: 25px 23px; font-size: clamp(46px, 14vw, 76px); }
  .theme-poster .login-page::after { width: 145px; height: 145px; left: auto; right: -35px; top: 6%; border-width: 6px; box-shadow: 0 0 0 11px #34294b, 0 0 0 17px #f2c653; }
  .theme-poster .login-shell { width: min(100%, 520px); padding-top: 27px; }
  .theme-poster .login-shell::after { right: 8px; top: 28px; }
  .theme-poster .site-footer { left: 23px; }
  .theme-dark-card .login-page { padding: 90px 18px 70px; }
  .theme-dark-card .login-shell { width: min(100%, 470px); padding: 49px 24px 32px; }
  .theme-dark-card .site-footer { bottom: 14px; }
}

/* A single shipped direction: the Noite layout with Poster accents. */
.theme-switcher { display: none; }

/* Final structural pass: themes 3–10 are intentionally different interfaces. */
.character-art { display: none !important; }
.theme-sunset .login-page { display: block; padding: 0; background: #17394c; }
.theme-sunset .login-page::before { content: "START"; inset: 0 auto auto 0; width: 100%; height: 31%; padding: 25px 7vw; color: #f8dc73; background: #bd4d50; border-bottom: 13px solid #f8dc73; border-radius: 0; font: 800 clamp(58px, 12vw, 150px) "DM Sans", sans-serif; letter-spacing: -.11em; opacity: 1; }
.theme-sunset .login-page::after { content: ""; width: 100%; height: 69%; right: 0; top: 31%; left: auto; border: 0; border-radius: 0; background: repeating-linear-gradient(90deg, transparent 0 16.1%, rgba(248,220,115,.9) 16.1% 16.35%); box-shadow: none; opacity: 1; }
.theme-sunset .ambient-left { width: 100%; height: 9px; left: 0; bottom: 18%; background: #f8dc73; transform: none; z-index: 0; }
.theme-sunset .ambient-right { width: 55px; height: 55px; right: 6%; top: 19%; border: 8px solid #f8dc73; border-radius: 50%; z-index: 2; }
.theme-sunset .login-shell { position: absolute; right: 9vw; top: 40%; width: min(42vw, 540px); padding: 30px 34px; text-align: left; border: 0; border-left: 12px solid #f8dc73; border-radius: 0; background: #fff0d2; box-shadow: 18px 18px 0 #102938; }
.theme-sunset .login-shell::before { content: "LANE 01"; top: -32px; left: 0; right: auto; width: auto; height: auto; background: none; color: #f8dc73; font: 11px "DM Mono", monospace; letter-spacing: .16em; }
.theme-sunset .login-shell::after { content: "♞"; display: block; position: absolute; right: 20px; top: 20px; width: auto; height: auto; color: #bd4d50; background: none; font: 54px Georgia, serif; transform: none; }
.theme-sunset .brand-mark { width: 45px; height: 45px; margin: 0 0 21px; border-radius: 50%; color: #17394c; background: #f8dc73; box-shadow: none; transform: none; }
.theme-sunset h1 { color: #17394c; font-size: clamp(39px, 5vw, 64px); }
.theme-sunset h1 em { display: inline; color: #bd4d50; transform: none; }
.theme-sunset .intro { color: #6c5c5e; }
.theme-sunset .discord-button { max-width: none; background: #17394c; border-radius: 0; box-shadow: 6px 6px 0 #bd4d50; }
.theme-sunset .bottom-line { max-width: none; }
.theme-sunset .site-footer { left: 7vw; color: #f8dc73; }

.theme-ocean .login-page { display: block; padding: 0 0 0 190px; background: #e7efe9; background-image: repeating-linear-gradient(0deg, transparent 0 35px, #c8dcd5 35px 36px); }
.theme-ocean .login-page::before { content: ""; inset: 0 auto 0 0; width: 190px; height: auto; border-radius: 0; background: #294c62; opacity: 1; }
.theme-ocean .login-page::after { content: "TRAINER\A NOTES"; white-space: pre; inset: 17% auto auto 38px; width: auto; height: auto; color: #f4d36c; background: none; font: 800 26px "DM Sans", sans-serif; line-height: .95; opacity: 1; }
.theme-ocean .ambient-left { width: 18px; height: 18px; left: 76px; top: 39%; border-radius: 50%; background: #d65b68; box-shadow: 0 48px 0 #f4d36c, 0 96px 0 #8cb8bb; }
.theme-ocean .ambient-right { width: 100px; height: 100px; right: 8%; bottom: 8%; border: 12px solid #d65b68; border-radius: 50%; }
.theme-ocean .login-shell { width: min(100%, 570px); margin: 0 auto; padding: 94px 0 55px; border: 0; border-radius: 0; text-align: left; background: transparent; box-shadow: none; }
.theme-ocean .login-shell::before { content: "MAMBOLÂNDIA / REGISTRO DE TREINO"; top: 35px; left: 0; right: auto; width: auto; height: auto; background: none; color: #d65b68; font: 11px "DM Mono", monospace; letter-spacing: .12em; }
.theme-ocean .login-shell::after { content: "✦"; display: block; position: absolute; right: 5%; top: 34px; width: auto; height: auto; background: none; color: #294c62; font-size: 34px; }
.theme-ocean .brand-mark { width: 70px; height: 70px; margin: 0 0 28px; border-radius: 8px; color: #fff; background: #d65b68; box-shadow: 8px 8px 0 #294c62; transform: rotate(3deg); }
.theme-ocean h1 { color: #294c62; font-size: clamp(45px, 6vw, 76px); }
.theme-ocean h1 em { color: #d65b68; transform: none; }
.theme-ocean .intro { color: #526c70; }
.theme-ocean .discord-button { width: 100%; max-width: 410px; background: #294c62; border-radius: 4px; box-shadow: 7px 7px 0 #f4d36c; }
.theme-ocean .bottom-line { max-width: 410px; }
.theme-ocean .site-footer { left: 28px; color: #c4d8d0; writing-mode: vertical-rl; transform: rotate(180deg); }

.theme-candy .login-page { display: block; padding: 0 0 0 310px; background: #111b24; }
.theme-candy .login-page::before { content: "MAMBO\A SYSTEM"; white-space: pre; inset: 0 auto 0 0; width: 310px; height: auto; padding: 80px 42px; border-radius: 0; color: #8df0c0; background: #0b1219; border-right: 1px solid #274354; font: 800 34px "DM Mono", monospace; line-height: .95; opacity: 1; }
.theme-candy .login-page::after { content: "●  ●  ●"; inset: 28px auto auto 42px; width: auto; height: auto; color: #d76690; background: none; font: 18px Arial, sans-serif; letter-spacing: 8px; opacity: 1; }
.theme-candy .ambient-right { width: 8px; height: 8px; right: 8%; bottom: 13%; border-radius: 50%; background: #f4cf60; box-shadow: 0 0 22px #f4cf60; }
.theme-candy .login-shell { width: min(100%, 620px); margin: 0 auto; padding: 22px 45px; border: 1px solid #315264; border-radius: 4px; text-align: left; background: #172631; box-shadow: 0 20px 50px #071017; }
.theme-candy .login-shell::before { content: "mambu@mambolandia:~$ login"; top: -35px; left: 0; right: auto; width: auto; height: auto; background: none; color: #8df0c0; font: 12px "DM Mono", monospace; }
.theme-candy .login-shell::after { content: "_"; display: block; position: absolute; right: 20px; bottom: 18px; width: auto; height: auto; background: none; color: #8df0c0; font: 22px "DM Mono", monospace; }
.theme-candy .brand-mark { width: 45px; height: 45px; margin: 0 0 20px; border-radius: 4px; color: #111b24; background: #8df0c0; box-shadow: none; transform: none; }
.theme-candy h1 { color: #f3efe4; font: 600 clamp(37px, 5vw, 60px) "DM Mono", monospace; letter-spacing: -.08em; }
.theme-candy h1 em { color: #f27b9e; transform: none; }
.theme-candy .intro { color: #8ba7ac; }
.theme-candy .discord-button { max-width: none; color: #111b24; background: #8df0c0; border-radius: 3px; box-shadow: none; }
.theme-candy .privacy-note, .theme-candy .bottom-line { color: #66818d; }
.theme-candy .bottom-line span { background: #315264; }
.theme-candy .site-footer { left: 42px; color: #446275; }

.theme-forest .login-page { display: block; padding: 0; background: #211a31; }
.theme-forest .login-page::before { content: ""; inset: 0 auto 0 0; width: 22%; height: auto; border-radius: 0; background: repeating-linear-gradient(90deg, #702f50 0 25px, #4c2241 25px 50px); opacity: 1; }
.theme-forest .login-page::after { content: ""; inset: 0 0 0 auto; width: 22%; height: auto; border-radius: 0; background: repeating-linear-gradient(90deg, #4c2241 0 25px, #702f50 25px 50px); opacity: 1; }
.theme-forest .ambient-left { width: 43vw; height: 43vw; left: 29%; top: 4%; border-radius: 50%; background: radial-gradient(circle, rgba(255,239,174,.28), rgba(255,239,174,0) 67%); }
.theme-forest .ambient-right { width: 20px; height: 20px; right: 9%; bottom: 12%; border: 5px solid #f3c967; border-radius: 50%; }
.theme-forest .login-shell { width: min(100% - 44px, 570px); margin: 0 auto; padding: 44px 52px 37px; border: 2px solid #f3c967; border-radius: 3px; text-align: center; background: #f6eac9; box-shadow: 0 0 0 10px #211a31, 0 0 0 12px #b75372; }
.theme-forest .login-shell::before { content: "TONIGHT / MAMBO STAGE"; top: -40px; left: 0; right: 0; width: auto; height: auto; background: none; color: #f3c967; font: 11px "DM Mono", monospace; text-align: center; }
.theme-forest .login-shell::after { content: "✦"; display: block; position: absolute; left: -31px; top: -31px; width: auto; height: auto; background: none; color: #f3c967; font-size: 28px; }
.theme-forest .brand-mark { margin: 0 auto 24px; border-radius: 50%; color: #211a31; background: #f3c967; box-shadow: 0 0 0 7px #b75372; transform: none; }
.theme-forest .brand-mark span { transform: none; }
.theme-forest h1 { color: #412541; font-size: clamp(42px, 6vw, 68px); }
.theme-forest h1 em { color: #b75372; transform: none; }
.theme-forest .intro { color: #806770; }
.theme-forest .discord-button { margin: 0 auto; background: #412541; border-radius: 2px; box-shadow: 0 7px 0 #b75372; }
.theme-forest .bottom-line { margin: 0 auto; }

.theme-royal .login-page { display: block; padding: 0 0 0 39%; background: #f4f0e5; }
.theme-royal .login-page::before { content: "RACE\A RESULT"; white-space: pre; inset: 0 auto 0 0; width: 39%; height: auto; padding: 17vh 7vw; border-radius: 0; color: #f4f0e5; background: #263b54; font: 800 clamp(54px, 9vw, 120px) "DM Sans", sans-serif; letter-spacing: -.1em; line-height: .82; opacity: 1; }
.theme-royal .login-page::after { content: "01  02  03  04  05"; inset: auto auto 20vh 7vw; width: auto; height: auto; color: #f1c65c; background: none; font: 12px "DM Mono", monospace; letter-spacing: .3em; opacity: 1; }
.theme-royal .ambient-left { width: 70px; height: 7px; left: 8%; top: 12%; background: #e06b76; transform: rotate(-8deg); }
.theme-royal .ambient-right { width: 95px; height: 95px; right: 9%; top: 13%; border: 14px solid #e06b76; border-radius: 50%; }
.theme-royal .login-shell { width: min(100%, 520px); margin: 0 auto; padding: 40px 45px; border: 0; border-radius: 0; text-align: left; background: transparent; box-shadow: none; }
.theme-royal .login-shell::before { content: "QUALIFIER / 0001"; top: 13%; left: auto; right: 0; width: auto; height: auto; background: none; color: #263b54; font: 11px "DM Mono", monospace; }
.theme-royal .login-shell::after { content: "★"; display: block; position: absolute; right: 5%; bottom: 12%; width: auto; height: auto; background: none; color: #f1c65c; font-size: 42px; }
.theme-royal .brand-mark { width: 48px; height: 48px; margin: 0 0 35px; border-radius: 2px; color: #f4f0e5; background: #e06b76; box-shadow: 8px 8px 0 #263b54; transform: rotate(-4deg); }
.theme-royal h1 { color: #263b54; font-size: clamp(46px, 6vw, 75px); }
.theme-royal h1 em { color: #e06b76; transform: none; }
.theme-royal .intro { color: #737982; }
.theme-royal .discord-button { max-width: 410px; background: #263b54; border-radius: 0; box-shadow: 7px 7px 0 #e06b76; }
.theme-royal .site-footer { left: 7vw; color: #9eb0bd; }

.theme-paper .login-page { display: block; padding: 0; background: #946144; background-image: repeating-linear-gradient(0deg, rgba(49,29,22,.18) 0 2px, transparent 2px 48px); }
.theme-paper .login-page::before { content: "MAMBO\A STABLE"; white-space: pre; inset: 8vh auto auto 7vw; width: auto; height: auto; color: #f8e4b5; background: none; font: 800 clamp(48px, 8vw, 110px) "Playfair Display", serif; line-height: .78; opacity: 1; }
.theme-paper .login-page::after { content: "♞"; inset: auto 8vw 4vh auto; width: auto; height: auto; color: #c77b55; background: none; font: 180px Georgia, serif; opacity: .45; }
.theme-paper .ambient-left { width: 140px; height: 140px; right: 19%; top: 11%; border: 12px solid #f1cb69; border-radius: 50%; }
.theme-paper .ambient-right { width: 65px; height: 65px; left: 12%; bottom: 12%; border: 8px solid #50352f; border-radius: 50%; }
.theme-paper .login-shell { position: absolute; right: 12vw; top: 22%; width: min(46vw, 540px); padding: 44px 45px 38px; border: 8px solid #f1cb69; border-radius: 110px 110px 12px 12px; text-align: center; background: #f8e4b5; box-shadow: 14px 14px 0 #50352f; }
.theme-paper .login-shell::before { content: "ADMIT ONE"; top: 16px; left: 0; right: 0; width: auto; height: auto; background: none; color: #946144; font: 11px "DM Mono", monospace; }
.theme-paper .login-shell::after { content: "⌁"; display: block; position: absolute; left: 20px; top: 21px; width: auto; height: auto; background: none; color: #d4605a; font-size: 25px; }
.theme-paper .brand-mark { margin: 0 auto 24px; width: 52px; height: 52px; border-radius: 50%; color: #f8e4b5; background: #d4605a; box-shadow: 0 0 0 7px #50352f; transform: none; }
.theme-paper h1 { color: #50352f; font-size: clamp(40px, 5vw, 64px); }
.theme-paper h1 em { display: block; color: #d4605a; transform: none; }
.theme-paper .intro { color: #765c51; }
.theme-paper .discord-button { margin: 0 auto; background: #50352f; border-radius: 3px; box-shadow: 6px 6px 0 #d4605a; }
.theme-paper .bottom-line { margin: 0 auto; }
.theme-paper .site-footer { left: 7vw; color: #f8e4b5; }

.theme-citrus .login-page { display: block; padding: 0 0 0 44%; background: #171c2a; }
.theme-citrus .login-page::before { content: "MAMBO\A HEIST"; white-space: pre; inset: 0 auto 0 0; width: 44%; height: auto; padding: 30vh 7vw; border-radius: 0; color: #e9c45d; background: #202c43; font: 800 clamp(52px, 8vw, 120px) "DM Mono", monospace; line-height: .8; letter-spacing: -.13em; opacity: 1; }
.theme-citrus .login-page::after { content: "SECURE ACCESS // 000"; inset: 8vh auto auto 7vw; width: auto; height: auto; color: #e97876; background: none; font: 11px "DM Mono", monospace; opacity: 1; }
.theme-citrus .ambient-left { width: 120px; height: 120px; right: 9%; top: 9%; border: 13px solid #5cb6af; border-radius: 50%; }
.theme-citrus .ambient-right { width: 100px; height: 100px; left: 10%; bottom: 12%; border: 5px dashed #e97876; border-radius: 50%; }
.theme-citrus .login-shell { width: min(100%, 510px); margin: 0 auto; padding: 35px 45px; border: 1px solid #526985; border-radius: 2px; text-align: left; background: #252f42; box-shadow: 0 0 0 8px #171c2a, 0 0 0 9px #e9c45d; }
.theme-citrus .login-shell::before { content: "CLEARANCE: MAMBO"; top: -39px; left: 0; right: auto; width: auto; height: auto; background: none; color: #e9c45d; font: 11px "DM Mono", monospace; }
.theme-citrus .login-shell::after { content: "✦"; display: block; position: absolute; right: 21px; top: 18px; width: auto; height: auto; background: none; color: #5cb6af; font-size: 27px; }
.theme-citrus .brand-mark { width: 43px; height: 43px; margin: 0 0 20px; border-radius: 3px; color: #171c2a; background: #e9c45d; box-shadow: none; transform: none; }
.theme-citrus h1 { color: #f4eedf; font: 600 clamp(38px, 5vw, 61px) "DM Mono", monospace; letter-spacing: -.1em; }
.theme-citrus h1 em { color: #e97876; transform: none; }
.theme-citrus .intro { color: #9cafbd; }
.theme-citrus .discord-button { max-width: none; color: #171c2a; background: #5cb6af; border-radius: 2px; box-shadow: 5px 5px 0 #e9c45d; }
.theme-citrus .privacy-note, .theme-citrus .bottom-line { color: #778b9d; }
.theme-citrus .bottom-line span { background: #526985; }
.theme-citrus .site-footer { left: 7vw; color: #526985; }

.theme-rose .login-page { display: flex; justify-content: center; padding: 70px 25px; background: #122a39; }
.theme-rose .login-page::before { content: "WINNER"; inset: 0; width: auto; height: auto; border-radius: 50%; border: 22px solid #e5bd57; background: transparent; color: transparent; box-shadow: 0 0 0 16px #122a39, 0 0 0 19px #cf5d70, 0 0 0 100px #19394a; opacity: 1; }
.theme-rose .login-page::after { content: "MAMBOLÂNDIA / VICTORY CIRCLE"; inset: 8vh 0 auto; width: auto; height: auto; color: #e5bd57; background: none; font: 11px "DM Mono", monospace; text-align: center; letter-spacing: .2em; opacity: 1; }
.theme-rose .ambient-left { width: 18px; height: 18px; left: 16%; top: 24%; border-radius: 50%; background: #cf5d70; box-shadow: 0 42px 0 #5ca2b0, 0 84px 0 #e5bd57; }
.theme-rose .ambient-right { width: 18px; height: 18px; right: 16%; bottom: 22%; border-radius: 50%; background: #e5bd57; box-shadow: 0 -42px 0 #cf5d70, 0 -84px 0 #5ca2b0; }
.theme-rose .login-shell { width: min(100%, 500px); padding: 25px 35px 31px; border: 0; border-radius: 0; text-align: center; background: transparent; box-shadow: none; }
.theme-rose .login-shell::before { content: "★  ★  ★"; top: -55px; left: 0; right: 0; width: auto; height: auto; background: none; color: #e5bd57; font-size: 18px; letter-spacing: 13px; }
.theme-rose .login-shell::after { content: "♞"; display: block; position: absolute; right: -70px; bottom: -25px; width: auto; height: auto; background: none; color: #cf5d70; font: 80px Georgia, serif; }
.theme-rose .brand-mark { margin: 0 auto 30px; border-radius: 50%; color: #122a39; background: #e5bd57; box-shadow: 0 0 0 8px #cf5d70; transform: none; }
.theme-rose .brand-mark span { transform: none; }
.theme-rose h1 { color: #f9edda; font-size: clamp(43px, 6vw, 70px); }
.theme-rose h1 em { display: block; color: #e88691; transform: none; }
.theme-rose .intro { color: #acc0c2; }
.theme-rose .discord-button { margin: 0 auto; background: #cf5d70; border-radius: 28px; box-shadow: 0 6px 0 #e5bd57; }
.theme-rose .bottom-line { margin: 0 auto; }
.theme-rose .site-footer { left: 0; right: 0; justify-content: center; color: #5ca2b0; }

@media (max-width: 760px) {
  .theme-sunset .login-page, .theme-ocean .login-page, .theme-candy .login-page, .theme-citrus .login-page { display: flex; padding: 120px 22px 75px; }
  .theme-sunset .login-page::before, .theme-candy .login-page::before, .theme-citrus .login-page::before { width: 100%; height: 25%; padding: 28px 22px; }
  .theme-sunset .login-page::after { top: 25%; height: 75%; }
  .theme-sunset .login-shell, .theme-candy .login-shell, .theme-citrus .login-shell { position: relative; right: auto; top: auto; width: min(100%, 570px); margin: 0; padding: 28px 23px 30px; text-align: center; }
  .theme-sunset .brand-mark, .theme-candy .brand-mark, .theme-citrus .brand-mark { margin-left: auto; margin-right: auto; }
  .theme-sunset .discord-button, .theme-candy .discord-button, .theme-citrus .discord-button { margin-left: auto; margin-right: auto; }
  .theme-sunset .bottom-line, .theme-candy .bottom-line, .theme-citrus .bottom-line { margin-left: auto; margin-right: auto; }
  .theme-ocean .login-page { padding-left: 0; padding-top: 110px; }
  .theme-ocean .login-page::before { width: 100%; height: 110px; }
  .theme-ocean .login-page::after { inset: 35px 25px auto auto; font-size: 0; }
  .theme-ocean .login-shell { width: min(100% - 35px, 570px); padding: 55px 22px 35px; }
  .theme-ocean .login-shell::before { left: 22px; font-size: 9px; }
  .theme-ocean .site-footer { writing-mode: horizontal-tb; transform: none; left: 22px; }
  .theme-forest .login-page { display: flex; padding: 110px 22px 80px; }
  .theme-forest .login-page::before, .theme-forest .login-page::after { width: 14%; }
  .theme-forest .login-shell { width: min(100% - 20px, 570px); padding: 38px 23px 31px; }
  .theme-forest .login-shell::before { font-size: 9px; }
  .theme-royal .login-page, .theme-rose .login-page { padding: 120px 22px 80px; }
  .theme-royal .login-page { display: flex; }
  .theme-royal .login-page::before { width: 300px; height: 300px; }
  .theme-royal .login-shell, .theme-rose .login-shell { width: min(100%, 500px); padding-left: 10px; padding-right: 10px; text-align: center; }
  .theme-royal .login-shell::before { top: 0; right: 20px; }
  .theme-paper .login-page { display: flex; padding: 130px 22px 90px; }
  .theme-paper .login-shell { position: relative; right: auto; top: auto; width: min(100% - 15px, 540px); padding: 54px 23px 35px; }
  .theme-paper .login-page::before { height: 105px; padding: 23px; font-size: 44px; }
  .theme-citrus .login-page { padding-top: 105px; padding-bottom: 105px; }
  .theme-rose .login-page::before { width: 270px; height: 270px; border-width: 13px; }
  .theme-rose .login-shell::after { right: -20px; bottom: -45px; font-size: 52px; }
  .theme-sunset .site-footer, .theme-candy .site-footer, .theme-citrus .site-footer, .theme-paper .site-footer { left: 22px; }
}

/* Mambo / Matikanetannhauser motifs */
.character-art { display: none; position: absolute; z-index: 0; pointer-events: none; }
.character-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* Poster: a character card replaces the generic left-side decoration. */
.theme-poster .character-art { display: block; width: 285px; height: 440px; left: 8%; bottom: -90px; border: 8px solid #f2c653; border-radius: 145px 145px 18px 18px; overflow: hidden; transform: rotate(-7deg); box-shadow: 14px 14px 0 #34294b; opacity: .95; }
.theme-poster .character-art::after { content: "★  ★  ★"; position: absolute; top: 14px; left: 0; right: 0; color: #f2c653; text-align: center; font-size: 18px; letter-spacing: 12px; }

/* Sunset: race-day split, with a cropped portrait as a starting gate. */
.theme-sunset .character-art { display: block; width: 31vw; max-width: 390px; min-width: 220px; height: 68vh; max-height: 700px; left: 8%; bottom: 0; border: 12px solid #49303c; border-bottom: 0; border-radius: 190px 190px 0 0; overflow: hidden; transform: rotate(3deg); opacity: .88; }
.theme-sunset .character-art img { object-position: 53% top; }

/* Ocean: a horizontal finish-line profile. */
.theme-ocean .character-art { display: block; width: 205px; height: 205px; left: 8%; bottom: 10%; border: 10px solid #f2c65d; border-radius: 50%; overflow: hidden; transform: rotate(-8deg); box-shadow: 0 0 0 7px #214b6a; }
.theme-ocean .character-art img { object-position: 50% 22%; }

/* Candy: collectible sticker / card floating behind the entry. */
.theme-candy .character-art { display: block; width: 220px; height: 280px; left: 10%; bottom: 15%; border: 8px solid #fff1f7; border-radius: 25px; overflow: hidden; transform: rotate(-12deg); box-shadow: 10px 10px 0 #42264e; }
.theme-candy .character-art img { object-position: 50% 16%; }

/* Forest: trainer's notebook portrait, tucked into the lower landscape. */
.theme-forest .character-art { display: block; width: 190px; height: 270px; right: 12%; bottom: 6%; border: 10px solid #f4efd9; border-bottom-width: 35px; overflow: hidden; transform: rotate(8deg); box-shadow: 8px 8px 0 #294d3e; opacity: .9; }
.theme-forest .character-art img { object-position: 50% 15%; }

/* Royal: medal / rarity emblem, cropped into a circular seal. */
.theme-royal .character-art { display: block; width: 176px; height: 176px; right: 11%; bottom: 12%; border: 9px solid #f1c75b; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 6px #b14d74; opacity: .9; }
.theme-royal .character-art img { object-position: 50% 18%; }

/* Paper: a proper race poster inset into the newspaper layout. */
.theme-paper .character-art { display: block; width: 145px; height: 200px; left: 12%; top: 38%; border: 5px solid #263f51; overflow: hidden; transform: rotate(-5deg); box-shadow: 8px 8px 0 #d86458; }
.theme-paper .character-art img { object-position: 50% 8%; }

/* Citrus: a compact starting-number badge with the character behind it. */
.theme-citrus .character-art { display: block; width: 120px; height: 120px; right: 12%; bottom: 20%; border: 8px solid #273b4b; border-radius: 50%; overflow: hidden; transform: rotate(12deg); }
.theme-citrus .character-art img { object-position: 50% 20%; }

/* Rosé: character card on the Mambo side of the split. */
.theme-rose .character-art { display: block; width: 215px; height: 315px; left: 10%; bottom: 8%; border: 8px solid #e9bd54; border-radius: 110px 110px 12px 12px; overflow: hidden; transform: rotate(-5deg); box-shadow: 10px 10px 0 #e97791; opacity: .88; }
.theme-rose .character-art img { object-position: 50% 10%; }

@media (max-width: 760px) {
  .theme-poster .character-art { width: 125px; height: 185px; left: auto; right: 3%; bottom: 2%; border-width: 5px; opacity: .45; box-shadow: 5px 5px 0 #34294b; }
  .theme-sunset .character-art, .theme-candy .character-art, .theme-rose .character-art { width: 120px; min-width: 0; height: 170px; left: auto; right: 4%; bottom: 4%; border-width: 5px; opacity: .5; }
  .theme-ocean .character-art { width: 105px; height: 105px; left: auto; right: 5%; bottom: 5%; border-width: 5px; opacity: .6; }
  .theme-forest .character-art { width: 95px; height: 135px; right: 5%; bottom: 5%; border-width: 5px; opacity: .45; }
  .theme-royal .character-art { width: 95px; height: 95px; right: 5%; bottom: 7%; border-width: 5px; opacity: .5; }
  .theme-paper .character-art { width: 75px; height: 105px; left: auto; right: 5%; top: 31%; border-width: 3px; opacity: .45; }
  .theme-citrus .character-art { width: 70px; height: 70px; right: 4%; bottom: 9%; border-width: 4px; opacity: .5; }
}

@media (max-width: 450px) {
  .login-page { padding-left: 21px; padding-right: 21px; }
  .login-page::before { height: 25%; }
  .login-shell { padding-top: 34px; }
  h1 em { transform: translateX(17px) rotate(-3deg); }
  .footer-dot, .site-footer span:last-child { display: none; }
}

/* Visual theme picker */
.theme-switcher { position: fixed; top: 24px; right: 28px; z-index: 5; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid rgba(52,41,75,.3); border-radius: 999px; color: #34294b; background: rgba(255,245,225,.86); font: 600 11px "DM Sans", sans-serif; cursor: pointer; box-shadow: 0 5px 16px rgba(52,41,75,.1); backdrop-filter: blur(8px); transition: transform .2s, box-shadow .2s; }
.theme-switcher:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(52,41,75,.18); }
.theme-switcher:focus-visible { outline: 3px solid #f2c653; outline-offset: 4px; }
.theme-icon { color: #d35752; font-size: 16px; line-height: 1; }
.theme-count { color: #8f7d86; font: 9px "DM Mono", monospace; }

/* 02 — the original dark card direction */
.theme-dark-card .login-page { justify-content: center; padding: 40px 20px; background: radial-gradient(circle at 50% 40%, #292237 0, #11111a 38%, #0b0b12 100%); }
.theme-dark-card .login-page::before { inset: 0; width: auto; height: auto; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse at center, black, transparent 72%); }
.theme-dark-card .login-page::after { width: 0; height: 0; background: none; }
.theme-dark-card .ambient-left { width: 28rem; height: 28rem; left: -18rem; top: 18%; background: #d36b5e; filter: blur(75px); opacity: .18; }
.theme-dark-card .ambient-right { width: 28rem; height: 28rem; right: -18rem; bottom: 5%; background: #6651b8; filter: blur(75px); opacity: .18; }
.theme-dark-card .login-shell { width: min(100% - 40px, 460px); padding: 48px 42px 35px; border: 1px solid rgba(255,255,255,.1); border-radius: 28px; text-align: center; background: linear-gradient(145deg, rgba(35,32,48,.92), rgba(17,16,25,.82)); box-shadow: 0 25px 90px rgba(0,0,0,.38), inset 0 1px rgba(255,255,255,.07); }
.theme-dark-card .brand-mark { margin: 0 auto 23px; border: 1px solid rgba(228,177,127,.6); border-radius: 16px 16px 16px 5px; color: #e5b27f; background: transparent; box-shadow: 0 0 38px rgba(212,126,92,.15); transform: rotate(-4deg); }
.theme-dark-card .brand-mark span { transform: rotate(4deg); }
.theme-dark-card .eyebrow { color: #d59b73; }
.theme-dark-card h1 { color: #f5f1ea; font-size: clamp(42px, 10vw, 64px); }
.theme-dark-card h1 em { color: #e2ac7d; }
.theme-dark-card .intro { color: #a6a2af; }
.theme-dark-card .discord-button { width: 100%; border: 1px solid rgba(255,255,255,.18); background: #5865f2; box-shadow: 0 12px 30px rgba(88,101,242,.2); }
.theme-dark-card .privacy-note { color: #777481; margin-bottom: 54px; }
.theme-dark-card .lock-icon { color: #b59c86; }
.theme-dark-card .bottom-line span { background: #34313d; }
.theme-dark-card .bottom-line { color: #5f5b67; }
.theme-dark-card .site-footer { color: #56525e; }
.theme-dark-card .theme-switcher { color: #eee5db; border-color: #564b61; background: rgba(29,27,39,.8); }

/* 03-10 — palette-based variations */
.theme-sunset .login-page { background: linear-gradient(135deg, #fff0d5, #f4b7a8 52%, #b96069); }
.theme-sunset .login-page::before { width: 480px; height: 480px; left: -150px; bottom: -190px; background: #e97968; opacity: .72; }
.theme-sunset .login-page::after { width: 300px; height: 300px; right: -80px; top: -120px; background: #f5cb62; opacity: .8; }
.theme-sunset .login-shell { padding: 54px 52px; border: 0; border-radius: 0; background: #fff7e8; box-shadow: 14px 14px 0 #743b4a; }
.theme-sunset h1 em, .theme-sunset .eyebrow, .theme-sunset .lock-icon { color: #cf514d; }
.theme-sunset .brand-mark { background: #e97968; color: #fff7e8; box-shadow: 6px 6px 0 #f5cb62; }
.theme-sunset .discord-button { background: #743b4a; border-radius: 3px; box-shadow: 0 8px 0 #cf514d; }
.theme-sunset .theme-switcher { background: #fff7e8; }

.theme-ocean .login-page { background: #d9f1eb; }
.theme-ocean .login-page::before { width: 600px; height: 600px; left: -170px; bottom: -260px; background: #79c9ca; opacity: .8; }
.theme-ocean .login-page::after { width: 430px; height: 430px; right: -120px; top: -180px; background: #4e79bd; opacity: .82; }
.theme-ocean .login-shell { padding: 48px 55px; border: 2px solid #163b59; border-radius: 42px 9px 42px 9px; background: #edf9ee; box-shadow: 12px 12px 0 #163b59; }
.theme-ocean h1 em, .theme-ocean .eyebrow, .theme-ocean .lock-icon { color: #d24f68; }
.theme-ocean .brand-mark { color: #edf9ee; background: #d24f68; box-shadow: 6px 6px 0 #f0bd56; }
.theme-ocean .discord-button { background: #3479be; border-radius: 20px; box-shadow: 0 7px 0 #163b59; }
.theme-ocean .theme-switcher { color: #163b59; background: #edf9ee; }

.theme-candy .login-page { background: #f7d6e9; }
.theme-candy .login-page::before { width: 430px; height: 430px; left: -120px; bottom: -170px; background: #f487b5; }
.theme-candy .login-page::after { width: 390px; height: 390px; right: -100px; top: -140px; background: #9f88df; }
.theme-candy .login-shell { padding: 48px 54px; border: 3px solid #42264e; border-radius: 52px; background: #fff1f7; box-shadow: 0 12px 0 #42264e; }
.theme-candy h1 em, .theme-candy .eyebrow, .theme-candy .lock-icon { color: #e34e8c; }
.theme-candy .brand-mark { color: #fff1f7; background: #e34e8c; box-shadow: 6px 6px 0 #8065cd; }
.theme-candy .discord-button { background: #8065cd; border-radius: 28px; box-shadow: none; }
.theme-candy .theme-switcher { background: #fff1f7; }

.theme-forest .login-page { background: #d9dfc8; }
.theme-forest .login-page::before { width: 500px; height: 500px; left: -180px; bottom: -210px; background: #8eae72; }
.theme-forest .login-page::after { width: 320px; height: 320px; right: -100px; top: -120px; background: #d7a64a; }
.theme-forest .login-shell { padding: 55px 52px; border: 2px solid #223d36; border-radius: 8px; background: #f5efd8; box-shadow: 18px 18px 0 #52775f; }
.theme-forest h1 em, .theme-forest .eyebrow, .theme-forest .lock-icon { color: #b34d52; }
.theme-forest .brand-mark { color: #f5efd8; background: #52775f; box-shadow: 6px 6px 0 #d7a64a; }
.theme-forest .discord-button { background: #315d72; border-radius: 5px; box-shadow: 6px 6px 0 #223d36; }
.theme-forest .theme-switcher { background: #f5efd8; }

.theme-royal .login-page { background: #1b1832; }
.theme-royal .login-page::before { width: 500px; height: 500px; left: -150px; bottom: -230px; background: #933d75; opacity: .8; }
.theme-royal .login-page::after { width: 400px; height: 400px; right: -100px; top: -190px; background: #d98b45; opacity: .8; }
.theme-royal .login-shell { padding: 52px 56px; border: 1px solid #b99be9; border-radius: 3px; background: #2a2450; box-shadow: 0 0 0 10px #1b1832, 0 0 0 11px #b99be9; }
.theme-royal h1, .theme-royal .intro { color: #fff4df; }
.theme-royal h1 em, .theme-royal .eyebrow, .theme-royal .lock-icon { color: #f09a6b; }
.theme-royal .brand-mark { color: #2a2450; background: #f0c75e; box-shadow: 6px 6px 0 #e06b76; }
.theme-royal .discord-button { background: #e06b76; box-shadow: none; }
.theme-royal .theme-switcher { color: #fff4df; border-color: #b99be9; background: #2a2450; }

.theme-paper .login-page { background: #ead9bb; }
.theme-paper .login-page::before { width: 650px; height: 650px; left: -280px; bottom: -310px; background: #c36d55; }
.theme-paper .login-page::after { width: 400px; height: 400px; right: -150px; top: -180px; background: #7c9bb7; }
.theme-paper .login-shell { padding: 50px 58px; border: 1px solid #493d39; border-radius: 0; background: #f8eccc; box-shadow: 10px 10px 0 #493d39; }
.theme-paper h1 em, .theme-paper .eyebrow, .theme-paper .lock-icon { color: #b64f4b; }
.theme-paper .brand-mark { color: #f8eccc; background: #b64f4b; box-shadow: 6px 6px 0 #d19b43; }
.theme-paper .discord-button { color: #f8eccc; background: #385b78; border-radius: 0; box-shadow: 5px 5px 0 #493d39; }
.theme-paper .theme-switcher { background: #f8eccc; }

.theme-citrus .login-page { background: #e7efc0; }
.theme-citrus .login-page::before { width: 450px; height: 450px; left: -170px; bottom: -200px; background: #f2b84a; }
.theme-citrus .login-page::after { width: 390px; height: 390px; right: -130px; top: -160px; background: #e16d66; }
.theme-citrus .login-shell { padding: 50px 54px; border: 3px solid #293f50; border-radius: 18px; background: #f8f5da; box-shadow: -10px 10px 0 #293f50; }
.theme-citrus h1 em, .theme-citrus .eyebrow, .theme-citrus .lock-icon { color: #dd5a54; }
.theme-citrus .brand-mark { color: #293f50; background: #f2c653; box-shadow: 6px 6px 0 #dd5a54; }
.theme-citrus .discord-button { color: #f8f5da; background: #293f50; border-radius: 9px; box-shadow: none; }
.theme-citrus .theme-switcher { background: #f8f5da; }

.theme-rose .login-page { background: #3b1e30; }
.theme-rose .login-page::before { width: 520px; height: 520px; left: -210px; bottom: -240px; background: #d75c83; opacity: .8; }
.theme-rose .login-page::after { width: 390px; height: 390px; right: -140px; top: -180px; background: #6d83c8; opacity: .7; }
.theme-rose .login-shell { padding: 50px 54px; border: 1px solid #efb6bf; border-radius: 70px 15px 70px 15px; background: #5a2944; box-shadow: 0 20px 0 #261827; }
.theme-rose h1, .theme-rose .intro { color: #fff0e3; }
.theme-rose h1 em, .theme-rose .eyebrow, .theme-rose .lock-icon { color: #f49b91; }
.theme-rose .brand-mark { color: #5a2944; background: #f2c653; box-shadow: 6px 6px 0 #ef8faf; }
.theme-rose .discord-button { background: #ef6e91; border-radius: 30px; box-shadow: none; }
.theme-rose .theme-switcher { color: #fff0e3; border-color: #efb6bf; background: #5a2944; }

@media (max-width: 760px) { .theme-switcher { top: 15px; right: 16px; } .theme-dark-card .login-page { padding: 70px 20px 50px; } .theme-dark-card .login-shell { padding: 38px 25px 30px; } }

/* Individual compositions: each theme changes its structure, not only its palette. */
.theme-sunset .login-page { justify-content: flex-start; padding: 0 0 0 54%; background: #f8d8ba; }
.theme-sunset .login-page::before { inset: 0 auto 0 0; width: 48%; height: auto; border-radius: 0 48% 48% 0; background: #db6157; opacity: 1; }
.theme-sunset .login-page::after { width: 250px; height: 250px; left: 21%; top: 18%; border: 26px solid #f2be4b; background: transparent; box-shadow: 90px 370px 0 -70px #e78e91; opacity: 1; }
.theme-sunset .ambient-left { width: 16px; height: 180px; left: 10%; bottom: 12%; background: #f8d8ba; transform: rotate(35deg); }
.theme-sunset .ambient-right { width: 80px; height: 80px; right: 8%; bottom: 8%; border: 12px solid #db6157; border-radius: 50%; }
.theme-sunset .login-shell { width: min(100%, 500px); padding: 28px 0; border: 0; border-radius: 0; text-align: left; background: transparent; box-shadow: none; }
.theme-sunset .login-shell::before { top: 0; left: 0; right: auto; width: 55px; background: #db6157; }
.theme-sunset .login-shell::after { display: none; }
.theme-sunset .brand-mark { margin-left: 0; border-radius: 50%; background: #f2be4b; color: #49303c; box-shadow: 8px 8px 0 #49303c; }
.theme-sunset h1 { color: #49303c; font-size: clamp(48px, 7vw, 80px); }
.theme-sunset h1 em { display: block; transform: none; color: #db6157; }
.theme-sunset .intro { color: #76575a; }
.theme-sunset .discord-button { max-width: 390px; background: #49303c; box-shadow: 7px 7px 0 #db6157; }
.theme-sunset .bottom-line { max-width: 390px; }
.theme-sunset .site-footer { left: 6vw; color: #f8d8ba; }

.theme-ocean .login-page { justify-content: center; padding: 60px 25px; background: #b6e1dd; }
.theme-ocean .login-page::before { width: 100%; height: 43%; left: 0; bottom: 0; border-radius: 50% 50% 0 0; background: #3975a1; opacity: 1; }
.theme-ocean .login-page::after { width: 230px; height: 230px; right: 7%; top: 10%; border: 22px solid #f2c65d; background: transparent; box-shadow: -600px 430px 0 -90px #dc6e79; opacity: 1; }
.theme-ocean .ambient-left { width: 38px; height: 38px; left: 11%; top: 18%; border-radius: 50%; background: #3975a1; }
.theme-ocean .ambient-right { width: 38px; height: 38px; right: 19%; bottom: 18%; border-radius: 50%; background: #f2c65d; }
.theme-ocean .login-shell { width: min(100%, 510px); padding: 36px 55px 42px; border: 0; border-radius: 50% 50% 12px 12px / 15% 15% 12px 12px; text-align: center; background: #f1f5df; box-shadow: 0 18px 0 #214b6a; }
.theme-ocean .login-shell::before { top: auto; bottom: 0; left: 35%; width: 30%; background: #dc6e79; }
.theme-ocean .login-shell::after { display: none; }
.theme-ocean .brand-mark { margin: 0 auto 25px; border-radius: 50%; color: #f1f5df; background: #3975a1; box-shadow: 0 0 0 8px #f2c65d; transform: none; }
.theme-ocean .brand-mark span { transform: none; }
.theme-ocean h1 { color: #214b6a; font-size: clamp(44px, 7vw, 72px); }
.theme-ocean h1 em { transform: none; color: #dc6e79; }
.theme-ocean .intro { color: #5e7377; }
.theme-ocean .discord-button { margin: 0 auto; background: #3975a1; box-shadow: 0 7px 0 #214b6a; }
.theme-ocean .bottom-line { margin: 0 auto; }
.theme-ocean .site-footer { color: #d5f0e8; }

.theme-candy .login-page { justify-content: flex-start; padding: 0 0 0 50%; background: #ffe8f1; }
.theme-candy .login-page::before { inset: 0 auto 0 0; width: 43%; height: auto; border-radius: 0; background: repeating-linear-gradient(-45deg, #f18bb8 0 18px, #e978aa 18px 36px); opacity: 1; }
.theme-candy .login-page::after { width: 190px; height: 190px; left: 18%; top: 16%; border: 24px solid #f5c952; background: transparent; box-shadow: 60px 470px 0 -65px #7f6cc9; opacity: 1; }
.theme-candy .ambient-left { width: 90px; height: 90px; left: 29%; bottom: 12%; border-radius: 10px; background: #42264e; transform: rotate(20deg); }
.theme-candy .ambient-right { width: 40px; height: 40px; right: 9%; top: 13%; border-radius: 50%; background: #f5c952; }
.theme-candy .login-shell { width: min(100%, 500px); padding: 25px 0; border: 0; border-radius: 0; text-align: left; background: transparent; box-shadow: none; }
.theme-candy .login-shell::before { left: 0; right: auto; width: 42px; background: #e978aa; }
.theme-candy .login-shell::after { display: none; }
.theme-candy .brand-mark { margin-left: 0; border-radius: 50% 50% 10px 50%; color: #fff; background: #7f6cc9; box-shadow: 7px 7px 0 #42264e; transform: rotate(8deg); }
.theme-candy h1 { color: #42264e; font-size: clamp(46px, 7vw, 78px); }
.theme-candy h1 em { display: block; transform: none; color: #e34e8c; }
.theme-candy .intro { color: #805d71; }
.theme-candy .discord-button { background: #42264e; border-radius: 30px; box-shadow: 7px 7px 0 #e978aa; }
.theme-candy .site-footer { left: 7vw; color: #ffe8f1; }

.theme-forest .login-page { justify-content: flex-start; align-items: flex-end; padding: 0 0 12vh 13%; background: #d4dfc1; }
.theme-forest .login-page::before { inset: auto 0 0; width: 100%; height: 28%; border-radius: 50% 50% 0 0; background: #668b68; opacity: 1; }
.theme-forest .login-page::after { width: 260px; height: 260px; left: 8%; top: 8%; border: 32px solid #cf6a5d; border-radius: 50% 10% 50% 10%; background: transparent; box-shadow: 700px 400px 0 -110px #d7b74f; opacity: 1; }
.theme-forest .ambient-left { width: 22px; height: 220px; left: 36%; top: 13%; background: #668b68; transform: rotate(38deg); }
.theme-forest .ambient-right { width: 68px; height: 68px; right: 10%; top: 16%; border: 11px solid #cf6a5d; border-radius: 50%; }
.theme-forest .login-shell { width: min(100%, 570px); padding: 38px 48px 34px; border: 2px solid #294d3e; border-radius: 3px; text-align: left; background: #f4efd9; box-shadow: 14px 14px 0 #294d3e; }
.theme-forest .login-shell::before { left: auto; right: 30px; width: 44px; background: #d7b74f; }
.theme-forest .login-shell::after { display: none; }
.theme-forest .brand-mark { width: 50px; height: 50px; margin: 0 0 25px; border-radius: 8px; color: #f4efd9; background: #668b68; box-shadow: 5px 5px 0 #cf6a5d; transform: rotate(4deg); }
.theme-forest h1 { color: #294d3e; font-size: clamp(43px, 6vw, 70px); }
.theme-forest h1 em { display: block; transform: none; color: #cf6a5d; }
.theme-forest .intro { color: #667268; }
.theme-forest .discord-button { background: #294d3e; box-shadow: 6px 6px 0 #d7b74f; }
.theme-forest .site-footer { left: 13%; color: #d4dfc1; }

.theme-royal .login-page { justify-content: center; padding: 70px 25px; background: #211936; }
.theme-royal .login-page::before { width: 520px; height: 520px; left: 50%; bottom: auto; top: 50%; transform: translate(-50%,-50%); border: 1px solid #a68bd6; border-radius: 50%; background: transparent; box-shadow: 0 0 0 34px #2d2148, 0 0 0 35px #b14d74, 0 0 0 82px #211936; opacity: 1; }
.theme-royal .login-page::after { width: 20px; height: 20px; left: 19%; top: 20%; border-radius: 50%; background: #f1c75b; box-shadow: 730px 520px 0 2px #e57372; opacity: 1; }
.theme-royal .ambient-left { width: 55px; height: 55px; left: 13%; bottom: 16%; border: 10px solid #5e77c2; border-radius: 50%; }
.theme-royal .ambient-right { width: 65px; height: 8px; right: 13%; top: 18%; background: #e57372; transform: rotate(45deg); }
.theme-royal .login-shell { width: min(100%, 480px); padding: 30px 45px 35px; border: 0; border-radius: 0; text-align: center; background: transparent; box-shadow: none; }
.theme-royal .login-shell::before { top: 0; left: 41%; width: 18%; background: #f1c75b; }
.theme-royal .login-shell::after { display: none; }
.theme-royal .brand-mark { margin: 0 auto 30px; border-radius: 50%; color: #211936; background: #f1c75b; box-shadow: 0 0 0 8px #211936, 0 0 0 10px #b14d74; transform: none; }
.theme-royal .brand-mark span { transform: none; }
.theme-royal h1 { color: #fff3df; font-size: clamp(43px, 7vw, 72px); }
.theme-royal h1 em { display: block; transform: none; color: #e57372; }
.theme-royal .intro { color: #c5b8d1; }
.theme-royal .discord-button { margin: 0 auto; background: #b14d74; border-radius: 2px; box-shadow: 0 0 0 1px #f1c75b; }
.theme-royal .bottom-line { margin: 0 auto; }

.theme-paper .login-page { justify-content: center; padding: 80px 25px; background: #c6d1d5; }
.theme-paper .login-page::before { inset: 0 0 auto; width: 100%; height: 20%; background: #3c566a; opacity: 1; }
.theme-paper .login-page::after { width: 230px; height: 230px; right: 9%; bottom: -85px; border: 30px solid #d86458; background: transparent; opacity: 1; }
.theme-paper .ambient-left { width: 85px; height: 85px; left: 12%; top: 28%; background: #e1b84c; transform: rotate(45deg); }
.theme-paper .ambient-right { width: 60px; height: 60px; right: 24%; top: 13%; border: 8px solid #e1b84c; border-radius: 50%; }
.theme-paper .login-shell { width: min(100%, 570px); padding: 50px 60px 42px; border: 0; border-radius: 2px; text-align: left; background: #f8edcf; box-shadow: 12px 12px 0 #263f51; }
.theme-paper .login-shell::before { left: auto; right: 32px; width: 45px; background: #d86458; }
.theme-paper .login-shell::after { display: none; }
.theme-paper .brand-mark { margin: 0 0 25px; width: 54px; height: 54px; border-radius: 0; color: #f8edcf; background: #3c566a; box-shadow: 6px 6px 0 #d86458; transform: rotate(3deg); }
.theme-paper h1 { color: #263f51; font-size: clamp(45px, 7vw, 76px); }
.theme-paper h1 em { display: block; transform: none; color: #d86458; }
.theme-paper .intro { color: #697173; }
.theme-paper .discord-button { background: #3c566a; border-radius: 0; box-shadow: 6px 6px 0 #d86458; }
.theme-paper .site-footer { color: #edf4e8; }

.theme-citrus .login-page { justify-content: center; padding: 90px 25px 130px; background: #f2edb7; }
.theme-citrus .login-page::before { inset: auto 0 0; width: 100%; height: 18%; border-radius: 50% 50% 0 0; background: #efb84c; opacity: 1; }
.theme-citrus .login-page::after { width: 300px; height: 300px; left: -100px; top: -100px; border-radius: 50%; background: #dc6d66; opacity: 1; }
.theme-citrus .ambient-left { width: 85px; height: 85px; right: 9%; top: 16%; border: 15px solid #4d7191; border-radius: 50%; }
.theme-citrus .ambient-right { width: 20px; height: 160px; left: 12%; bottom: 12%; background: #4d7191; transform: rotate(28deg); }
.theme-citrus .login-shell { width: min(100%, 500px); padding: 38px 50px 34px; border: 3px solid #273b4b; border-radius: 24px; text-align: center; background: #fff8d9; box-shadow: -12px 12px 0 #273b4b; }
.theme-citrus .login-shell::before { top: auto; bottom: -3px; left: 38%; width: 24%; background: #dc6d66; }
.theme-citrus .login-shell::after { display: none; }
.theme-citrus .brand-mark { margin: 0 auto 24px; border-radius: 50%; color: #fff8d9; background: #dc6d66; box-shadow: 6px 6px 0 #4d7191; transform: none; }
.theme-citrus .brand-mark span { transform: none; }
.theme-citrus h1 { color: #273b4b; font-size: clamp(44px, 7vw, 72px); }
.theme-citrus h1 em { display: block; transform: none; color: #dc6d66; }
.theme-citrus .intro { color: #697275; }
.theme-citrus .discord-button { margin: 0 auto; color: #fff8d9; background: #273b4b; border-radius: 24px; box-shadow: none; }
.theme-citrus .bottom-line { margin: 0 auto; }

.theme-rose .login-page { justify-content: flex-end; padding: 0 15% 0 48%; background: #f0bdd0; }
.theme-rose .login-page::before { inset: 0 auto 0 0; width: 43%; height: auto; border-radius: 0 55% 0 0; background: #5d2946; opacity: 1; }
.theme-rose .login-page::after { width: 250px; height: 250px; left: 13%; top: 16%; border: 28px solid #e97791; background: transparent; box-shadow: 200px 500px 0 -85px #e9bd54; opacity: 1; }
.theme-rose .ambient-left { width: 75px; height: 75px; left: 30%; bottom: 13%; border-radius: 50%; background: #587fc0; }
.theme-rose .ambient-right { width: 50px; height: 120px; right: 8%; top: 14%; background: #5d2946; transform: rotate(-35deg); }
.theme-rose .login-shell { width: min(100%, 500px); padding: 28px 0; border: 0; border-radius: 0; text-align: left; background: transparent; box-shadow: none; }
.theme-rose .login-shell::before { left: 0; right: auto; background: #e9bd54; }
.theme-rose .login-shell::after { display: none; }
.theme-rose .brand-mark { margin: 0 0 32px; border-radius: 50% 50% 8px 50%; color: #5d2946; background: #e9bd54; box-shadow: 8px 8px 0 #e97791; transform: rotate(-7deg); }
.theme-rose h1 { color: #5d2946; font-size: clamp(47px, 7vw, 79px); }
.theme-rose h1 em { display: block; transform: none; color: #bd496b; }
.theme-rose .intro { color: #80536b; }
.theme-rose .discord-button { background: #5d2946; border-radius: 4px; box-shadow: 7px 7px 0 #e97791; }
.theme-rose .site-footer { left: 7vw; color: #f0bdd0; }

@media (max-width: 760px) {
  .theme-switcher { top: 15px; right: 16px; }
  .theme-sunset .login-page, .theme-candy .login-page, .theme-rose .login-page { justify-content: center; padding: 125px 25px 75px; }
  .theme-sunset .login-page::before, .theme-candy .login-page::before, .theme-rose .login-page::before { inset: 0 0 auto; width: 100%; height: 31%; border-radius: 0; }
  .theme-sunset .login-shell, .theme-candy .login-shell, .theme-rose .login-shell { width: min(100%, 500px); padding: 28px 0; }
  .theme-sunset .login-shell, .theme-candy .login-shell, .theme-rose .login-shell, .theme-forest .login-shell, .theme-paper .login-shell { text-align: center; }
  .theme-sunset .brand-mark, .theme-candy .brand-mark, .theme-rose .brand-mark, .theme-forest .brand-mark, .theme-paper .brand-mark { margin-left: auto; margin-right: auto; }
  .theme-sunset h1 em, .theme-candy h1 em, .theme-rose h1 em, .theme-forest h1 em, .theme-paper h1 em { display: block; }
  .theme-sunset .discord-button, .theme-candy .discord-button, .theme-rose .discord-button, .theme-forest .discord-button, .theme-paper .discord-button { margin-left: auto; margin-right: auto; }
  .theme-sunset .bottom-line, .theme-candy .bottom-line, .theme-rose .bottom-line, .theme-forest .bottom-line, .theme-paper .bottom-line { margin-left: auto; margin-right: auto; }
  .theme-forest .login-page { align-items: center; justify-content: center; padding: 105px 25px 80px; }
  .theme-forest .login-shell, .theme-paper .login-shell { width: min(100%, 550px); padding: 36px 25px 32px; }
  .theme-ocean .login-shell, .theme-royal .login-shell, .theme-citrus .login-shell { padding-left: 25px; padding-right: 25px; }
  .theme-paper .login-page { padding-top: 115px; padding-bottom: 95px; }
  .theme-citrus .login-page { padding-top: 105px; padding-bottom: 105px; }
  .theme-royal .login-page { padding-top: 95px; padding-bottom: 80px; }
  .theme-rose .site-footer, .theme-sunset .site-footer, .theme-candy .site-footer, .theme-forest .site-footer, .theme-paper .site-footer { left: 25px; }
}

/* Product polish: consistent focus, motion and intermediate desktop widths. */
.discord-button:focus-visible { outline: 3px solid #f2c653; outline-offset: 4px; }
.theme-poster .discord-button:focus-visible { outline-color: #34294b; }
.theme-dark-card .discord-button:focus-visible { outline-color: #eea36f; }
.discord-button svg { transition: transform .2s ease; }
.discord-button:hover svg { transform: translateX(2px) rotate(-4deg); }
.theme-poster .login-shell, .theme-dark-card .login-shell { animation-duration: .7s; }
.theme-poster .login-shell > *, .theme-dark-card .login-shell > * { position: relative; z-index: 1; }
.theme-poster .intro, .theme-dark-card .intro { max-width: 39ch; }

@media (min-width: 761px) and (max-width: 1100px) {
  .theme-poster .login-page { padding-left: 46%; padding-right: 7vw; }
  .theme-poster .login-page::before { width: 42%; }
  .theme-poster .login-page::after { left: 8%; width: 230px; height: 230px; }
  .theme-poster .login-shell { width: min(100%, 470px); }
  .theme-dark-card .login-shell { width: min(100% - 50px, 470px); }
}

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

/* Definitive shipped palette: Noite layout with Poster button and accents. */
body.theme-dark-card .login-page { background: radial-gradient(circle at 50% 28%, #3b2d4d 0, #171522 37%, #090b12 100%) !important; }
body.theme-dark-card .login-page { background: radial-gradient(ellipse at 50% 48%, #304d71 0%, #1b2942 28%, #101625 63%, #080c16 100%) !important; }
body.theme-dark-card .login-page::before { content: \"\" !important; opacity: 1 !important; background: linear-gradient(90deg, transparent 0 12%, rgba(221,91,93,.18) 12% 12.3%, transparent 12.3% 87.7%, rgba(221,91,93,.18) 87.7% 88%, transparent 88%), repeating-linear-gradient(0deg, transparent 0 52px, rgba(242,198,83,.08) 52px 53px) !important; background-size: auto, 100% 100% !important; mask-image: none !important; }
body.theme-dark-card .login-page::after { content: \"✦   ✦   ✦\" !important; width: auto !important; height: auto !important; right: 8% !important; top: 19% !important; left: auto !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; color: #f2c653 !important; font-size: 18px !important; letter-spacing: 18px !important; opacity: .85 !important; }
body.theme-dark-card .login-shell { width: min(100% - 40px, 520px) !important; padding: 54px 48px 40px !important; border: 1px solid rgba(242,198,83,.32) !important; border-top: 3px solid #f2c653 !important; border-radius: 20px !important; background: linear-gradient(145deg, rgba(36,51,76,.96), rgba(17,25,42,.98)) !important; box-shadow: 0 28px 90px rgba(0,0,0,.5), 0 0 0 8px rgba(16,25,41,.35), inset 0 1px rgba(255,255,255,.1) !important; }
body.theme-dark-card .login-shell::before { content: \"MAMBOLÂNDIA / ACCESS\" !important; top: 20px !important; left: 0 !important; right: 0 !important; width: auto !important; height: auto !important; background: none !important; color: #d89a76 !important; font: 9px \"DM Mono\", monospace !important; letter-spacing: .18em !important; text-align: center !important; }
body.theme-dark-card .login-shell::after { content: \"✦\" !important; display: block !important; position: absolute !important; right: 27px !important; top: 22px !important; width: auto !important; height: auto !important; background: none !important; color: #f2c653 !important; font-size: 16px !important; }
body.theme-dark-card .brand-mark { width: 64px !important; height: 64px !important; margin: 0 auto 22px !important; border: 2px solid #19263d !important; border-radius: 20px 20px 20px 6px !important; color: #19263d !important; background: #f2c653 !important; box-shadow: 7px 7px 0 #dd5b5d !important; transform: rotate(-4deg) !important; }
body.theme-dark-card .brand-mark span { transform: rotate(4deg) !important; }
body.theme-dark-card .eyebrow, body.theme-dark-card h1 em { color: #dd5b5d !important; }
body.theme-dark-card h1 { color: #fff3df !important; }
body.theme-dark-card .intro { color: #c6d0d7 !important; }
body.theme-dark-card .discord-button { width: 100% !important; border: 2px solid #17243a !important; border-radius: 6px !important; color: #fff8ee !important; background: #5b8fd1 !important; box-shadow: 7px 7px 0 #dd5b5d !important; }
body.theme-dark-card .discord-button:hover { background: #73a6e3 !important; box-shadow: 4px 4px 0 #dd5b5d !important; transform: translate(3px, 3px) !important; }
body.theme-dark-card .discord-button:active { box-shadow: 0 0 0 #dd5b5d !important; transform: translate(7px, 7px) !important; }
body.theme-dark-card .privacy-note { color: #9fb0bd !important; }
body.theme-dark-card .lock-icon { color: #f2c653 !important; }
body.theme-dark-card .bottom-line { color: #91a1b0 !important; }
body.theme-dark-card .bottom-line span { background: #48627f !important; }
body.theme-dark-card .site-footer { color: #778da3 !important; }

body.theme-dark-card .identity-strip { display: flex; justify-content: space-between; gap: 12px; width: 100%; margin: -2px 0 19px; padding: 8px 10px; border-top: 1px solid rgba(242,198,83,.38); border-bottom: 1px solid rgba(242,198,83,.2); color: #f2c653; font: 8px \"DM Mono\", monospace; letter-spacing: .1em; }
body.theme-dark-card .identity-strip span:last-child { color: #8bb4dc; }
body.theme-dark-card .login-shell > .identity-strip { position: relative; z-index: 1; }
body.theme-dark-card .ambient-left { width: 510px !important; height: 230px !important; left: calc(50% - 255px) !important; top: calc(50% - 115px) !important; border: 1px solid rgba(242,198,83,.34) !important; border-radius: 50% !important; background: transparent !important; filter: none !important; opacity: 1 !important; transform: rotate(-8deg) !important; box-shadow: 0 0 0 18px rgba(221,91,93,.12), 0 0 0 36px rgba(242,198,83,.08) !important; }
body.theme-dark-card .ambient-right { width: auto !important; height: auto !important; right: 13% !important; top: auto !important; bottom: 18% !important; border: 0 !important; background: none !important; color: #dd5b5d !important; filter: none !important; opacity: 1 !important; }
body.theme-dark-card .ambient-right::after { content: \"♞\"; font: 52px Georgia, serif; text-shadow: 0 0 22px rgba(221,91,93,.35); }

@media (max-width: 760px) {
  body.theme-dark-card .login-page { padding: 90px 18px 70px !important; }
  body.theme-dark-card .login-shell { width: min(100%, 470px) !important; padding: 49px 24px 32px !important; }
  body.theme-dark-card .identity-strip { font-size: 7px; letter-spacing: .04em; }
  body.theme-dark-card .ambient-left { width: 330px !important; height: 160px !important; left: calc(50% - 165px) !important; top: calc(50% - 80px) !important; }
  body.theme-dark-card .ambient-right { right: 7% !important; bottom: 12% !important; }
}

/* Latest visual correction: calmer background, stronger Mambolandia identity. */
body.theme-dark-card .login-page { background: radial-gradient(circle at 50% 44%, #355677 0%, #203654 32%, #111c2e 68%, #09101d 100%) !important; }
body.theme-dark-card .login-page::before { content: \"\" !important; background: radial-gradient(circle at 18% 45%, rgba(221,91,93,.18), transparent 20%), radial-gradient(circle at 84% 18%, rgba(242,198,83,.13), transparent 17%), linear-gradient(135deg, rgba(255,255,255,.035), transparent 42%) !important; opacity: 1 !important; mask-image: none !important; }
body.theme-dark-card .login-page::after { content: \"✦  ✦  ✦\" !important; right: 8% !important; top: 18% !important; width: auto !important; height: auto !important; color: #f2c653 !important; background: none !important; font-size: 16px !important; letter-spacing: 12px !important; opacity: .75 !important; }
body.theme-dark-card .eyebrow { margin-bottom: 28px !important; color: #f2c653 !important; font-size: 14px !important; font-weight: 700 !important; letter-spacing: .28em !important; }
body.theme-dark-card .identity-strip { display: none !important; }
body.theme-dark-card .ambient-left { width: 380px !important; height: 170px !important; left: calc(50% - 190px) !important; top: calc(50% - 85px) !important; border-color: rgba(242,198,83,.16) !important; box-shadow: 0 0 0 14px rgba(221,91,93,.055), 0 0 0 28px rgba(242,198,83,.035) !important; opacity: .6 !important; }
body.theme-dark-card .ambient-right { opacity: .55 !important; }
@media (max-width: 760px) {
  body.theme-dark-card .ambient-left { width: 270px !important; height: 125px !important; left: calc(50% - 135px) !important; top: calc(50% - 62px) !important; }
}

/* Character artwork layer: kept behind the login so it adds life without reducing readability. */
body.theme-dark-card .character-background { display: block; position: absolute; z-index: 0; inset: 0 0 0 auto; width: 42%; height: 100%; overflow: hidden; pointer-events: none; opacity: .48; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.65) 22%, #000 54%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.65) 22%, #000 54%); }
body.theme-dark-card .character-background::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #111c2e 0%, rgba(17,28,46,.44) 35%, rgba(17,28,46,.08) 100%), linear-gradient(0deg, rgba(9,15,28,.62), transparent 35%, rgba(9,15,28,.2)); }
body.theme-dark-card .character-background img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% center; filter: saturate(.88) contrast(1.02); }
body.theme-dark-card .login-shell { z-index: 1 !important; }
@media (max-width: 760px) {
  body.theme-dark-card .character-background { width: 100%; height: 38%; top: auto; bottom: 0; opacity: .25; -webkit-mask-image: linear-gradient(0deg, #000, transparent); mask-image: linear-gradient(0deg, #000, transparent); }
  body.theme-dark-card .character-background::after { background: linear-gradient(0deg, #111c2e 0%, rgba(17,28,46,.42) 48%, transparent 100%); }
}

/* Two-sided artwork composition: blue stage on the left, pink character world on the right. */
body.theme-dark-card .login-page { background: linear-gradient(90deg, #4659a0 0%, #313d72 29%, #2a2948 48%, #4e2e4c 70%, #87516e 100%) !important; }
body.theme-dark-card .character-background { width: 43% !important; opacity: .56 !important; -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.8) 72%, transparent 100%) !important; mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.8) 72%, transparent 100%) !important; }
body.theme-dark-card .character-background-left { display: block; position: absolute; z-index: 0; inset: 0 auto 0 0; width: 43%; height: 100%; overflow: hidden; pointer-events: none; opacity: .5; -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.8) 72%, transparent 100%); mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.8) 72%, transparent 100%); }
body.theme-dark-card .character-background-left img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% center; filter: saturate(.88) contrast(1.03); }
body.theme-dark-card .character-background-left::after { content: \"\"; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(41,51,111,.18), rgba(41,51,111,.45) 58%, #2a2948 100%), linear-gradient(0deg, rgba(16,20,50,.62), transparent 36%, rgba(16,20,50,.16)); }
body.theme-dark-card .character-background::after { background: linear-gradient(90deg, #4e2e4c 0%, rgba(78,46,76,.42) 35%, rgba(78,46,76,.04) 100%), linear-gradient(0deg, rgba(45,27,44,.62), transparent 35%, rgba(45,27,44,.14)) !important; }
body.theme-dark-card .login-shell { background: linear-gradient(145deg, rgba(45,43,75,.97), rgba(45,27,44,.98)) !important; }
@media (max-width: 760px) {
  body.theme-dark-card .character-background, body.theme-dark-card .character-background-left { width: 100% !important; height: 30% !important; left: 0; right: auto; top: auto; bottom: 0; opacity: .2 !important; -webkit-mask-image: linear-gradient(0deg, #000, transparent) !important; mask-image: linear-gradient(0deg, #000, transparent) !important; }
  body.theme-dark-card .character-background-left { bottom: auto; top: 0; -webkit-mask-image: linear-gradient(180deg, #000, transparent) !important; mask-image: linear-gradient(180deg, #000, transparent) !important; }
}

/* Pink / mauve palette tuned to the character artwork. */
body.theme-dark-card .login-page { background: radial-gradient(ellipse at 53% 42%, #7b4b69 0%, #4e2e4c 31%, #2c1d32 67%, #171320 100%) !important; }
body.theme-dark-card .login-page::before { background: radial-gradient(circle at 16% 44%, rgba(231,112,145,.22), transparent 22%), radial-gradient(circle at 87% 17%, rgba(244,184,194,.16), transparent 18%), linear-gradient(135deg, rgba(255,220,225,.04), transparent 42%) !important; }
body.theme-dark-card .login-page::after { color: #f2c1cb !important; opacity: .8 !important; }
body.theme-dark-card .login-shell { border-color: rgba(244,177,190,.42) !important; border-top-color: #f2c1cb !important; background: linear-gradient(145deg, rgba(79,42,67,.97), rgba(45,27,44,.98)) !important; box-shadow: 0 28px 90px rgba(21,10,22,.55), 0 0 0 8px rgba(49,24,45,.35), inset 0 1px rgba(255,235,238,.1) !important; }
body.theme-dark-card .login-shell::before { color: #ef9eae !important; }
body.theme-dark-card .login-shell::after { color: #f2c1cb !important; }
body.theme-dark-card .brand-mark { color: #4b2944 !important; background: #f4c45f !important; border-color: #4b2944 !important; box-shadow: 7px 7px 0 #e56d8d !important; }
body.theme-dark-card .eyebrow { color: #f4c45f !important; }
body.theme-dark-card h1 { color: #fff1e7 !important; }
body.theme-dark-card h1 em { color: #f08eaa !important; }
body.theme-dark-card .intro { color: #e3c8d1 !important; }
body.theme-dark-card .discord-button { border-color: #351c35 !important; color: #fff5ec !important; background: #d96b91 !important; box-shadow: 7px 7px 0 #351c35 !important; }
body.theme-dark-card .discord-button:hover { background: #ed86a9 !important; box-shadow: 4px 4px 0 #351c35 !important; }
body.theme-dark-card .discord-button:active { box-shadow: 0 0 0 #351c35 !important; }
body.theme-dark-card .privacy-note { color: #caa9b7 !important; }
body.theme-dark-card .lock-icon { color: #f4c45f !important; }
body.theme-dark-card .bottom-line { color: #bd94a8 !important; }
body.theme-dark-card .bottom-line span { background: #80516d !important; }
body.theme-dark-card .site-footer { color: #b77e98 !important; }
body.theme-dark-card .ambient-left { border-color: rgba(244,196,95,.24) !important; box-shadow: 0 0 0 14px rgba(229,109,141,.09), 0 0 0 28px rgba(244,196,95,.05) !important; }
body.theme-dark-card .ambient-right { color: #e56d8d !important; }
body.theme-dark-card .ambient-right::after { text-shadow: 0 0 24px rgba(229,109,141,.45) !important; }
body.theme-dark-card .character-background { opacity: .58 !important; }
body.theme-dark-card .character-background::after { background: linear-gradient(90deg, #4e2e4c 0%, rgba(78,46,76,.5) 34%, rgba(78,46,76,.05) 100%), linear-gradient(0deg, rgba(45,27,44,.68), transparent 35%, rgba(45,27,44,.18)) !important; }
body.theme-dark-card .character-background img { filter: saturate(1.04) contrast(1.02) !important; }
@media (max-width: 760px) {
  body.theme-dark-card .character-background::after { background: linear-gradient(0deg, #4e2e4c 0%, rgba(78,46,76,.42) 48%, transparent 100%) !important; }
}

/* Seamless center blend: the two artworks overlap instead of creating a hard stripe. */
body.theme-dark-card .login-page { background: linear-gradient(90deg, #5064ad 0%, #4d4b82 28%, #633d62 58%, #a15d80 100%) !important; }
body.theme-dark-card .character-background { width: 57% !important; right: 0 !important; opacity: .52 !important; -webkit-mask-image: linear-gradient(270deg, #000 0%, #000 58%, rgba(0,0,0,.55) 76%, transparent 100%) !important; mask-image: linear-gradient(270deg, #000 0%, #000 58%, rgba(0,0,0,.55) 76%, transparent 100%) !important; }
body.theme-dark-card .character-background-left { width: 57% !important; left: 0 !important; right: auto !important; opacity: .47 !important; -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 58%, rgba(0,0,0,.55) 76%, transparent 100%) !important; mask-image: linear-gradient(90deg, #000 0%, #000 58%, rgba(0,0,0,.55) 76%, transparent 100%) !important; }
body.theme-dark-card .character-background::after { background: linear-gradient(270deg, rgba(78,46,76,.16), rgba(78,46,76,.08) 55%, transparent 100%), linear-gradient(0deg, rgba(45,27,44,.58), transparent 38%, rgba(45,27,44,.1)) !important; }
body.theme-dark-card .character-background-left::after { background: linear-gradient(90deg, rgba(56,69,143,.12), rgba(56,69,143,.08) 55%, transparent 100%), linear-gradient(0deg, rgba(28,35,82,.58), transparent 38%, rgba(28,35,82,.1)) !important; }
@media (max-width: 760px) {
  body.theme-dark-card .character-background, body.theme-dark-card .character-background-left { width: 100% !important; }
}

/* Modal-only style picker. The artwork/background remains unchanged. */
body.theme-dark-card .theme-switcher { display: flex !important; position: fixed; top: 24px; right: 28px; z-index: 10; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid rgba(255,237,228,.38); border-radius: 999px; color: #fff4ea; background: rgba(50,28,51,.76); font: 600 11px "DM Sans", sans-serif; cursor: pointer; box-shadow: 0 8px 25px rgba(20,8,22,.2); backdrop-filter: blur(12px); transition: transform .2s, background .2s; }
body.theme-dark-card .theme-switcher:hover { transform: translateY(-2px); background: rgba(105,55,87,.9); }
body.theme-dark-card .theme-switcher:focus-visible { outline: 3px solid #f4c45f; outline-offset: 4px; }
body.theme-dark-card .theme-icon { color: #f4c45f; font-size: 16px; line-height: 1; }
body.theme-dark-card .theme-count { color: #d7aeba; font: 9px "DM Mono", monospace; }

body.theme-dark-card.modal-glass .login-shell { background: linear-gradient(145deg, rgba(72,39,70,.75), rgba(37,22,46,.8)) !important; border: 1px solid rgba(255,224,230,.42) !important; border-top: 3px solid #f4c45f !important; border-radius: 24px !important; box-shadow: 0 25px 80px rgba(25,7,28,.3), inset 0 1px rgba(255,255,255,.17) !important; backdrop-filter: blur(18px) !important; }

/* 2 — wine: solid, warm and closer to the pink side of the artwork. */
body.theme-dark-card.modal-wine .login-shell { background: linear-gradient(160deg, #6d3455, #3b203b) !important; border: 1px solid #ef9eb2 !important; border-top: 7px solid #e9b85c !important; border-radius: 18px !important; box-shadow: 12px 12px 0 rgba(43,20,42,.72) !important; }
body.theme-dark-card.modal-wine .login-shell::before { color: #f4c45f !important; }
body.theme-dark-card.modal-wine .brand-mark { background: #ef9eb2 !important; color: #4a2744 !important; box-shadow: 7px 7px 0 #e9b85c !important; }
body.theme-dark-card.modal-wine .eyebrow { color: #f4c45f !important; }
body.theme-dark-card.modal-wine h1, body.theme-dark-card.modal-wine .intro { color: #fff0e5 !important; }
body.theme-dark-card.modal-wine h1 em { color: #f3a1b3 !important; }
body.theme-dark-card.modal-wine .discord-button { background: #4e80be !important; border: 2px solid #2c1a38 !important; box-shadow: 6px 6px 0 #e9b85c !important; }
body.theme-dark-card.modal-wine .bottom-line span { background: #a86b86 !important; }

/* 3 — paper: a bright collectible card with the background visible around it. */
body.theme-dark-card.modal-paper .login-shell { background: #fff0d2 !important; border: 8px solid #f6d889 !important; outline: 2px solid #4b3569 !important; border-radius: 6px !important; box-shadow: 14px 14px 0 #49305d !important; }
body.theme-dark-card.modal-paper .login-shell::before { color: #be5871 !important; }
body.theme-dark-card.modal-paper .brand-mark { background: #d76683 !important; color: #fff0d2 !important; border-color: #4b3569 !important; box-shadow: 7px 7px 0 #e6b952 !important; }
body.theme-dark-card.modal-paper .eyebrow { color: #be5871 !important; }
body.theme-dark-card.modal-paper h1 { color: #4b3569 !important; }
body.theme-dark-card.modal-paper h1 em { color: #d76683 !important; }
body.theme-dark-card.modal-paper .intro { color: #765d70 !important; }
body.theme-dark-card.modal-paper .discord-button { background: #587fc0 !important; border: 2px solid #4b3569 !important; box-shadow: 7px 7px 0 #4b3569 !important; }
body.theme-dark-card.modal-paper .privacy-note { color: #947786 !important; }
body.theme-dark-card.modal-paper .bottom-line { color: #987c7c !important; }
body.theme-dark-card.modal-paper .bottom-line span { background: #ddc4a5 !important; }

/* 4 — float: no heavy rectangle, only a luminous frame around the content. */
body.theme-dark-card.modal-float .login-shell { background: rgba(46,28,55,.74) !important; border: 1px solid rgba(255,223,228,.62) !important; border-radius: 42px !important; box-shadow: 0 0 0 1px rgba(244,196,95,.28), 0 24px 80px rgba(28,8,31,.28) !important; backdrop-filter: blur(10px) !important; }
body.theme-dark-card.modal-float .login-shell::before { color: #f4c45f !important; }
body.theme-dark-card.modal-float .login-shell::after { right: 34px !important; color: #f3a0b3 !important; }
body.theme-dark-card.modal-float .brand-mark { background: rgba(244,196,95,.95) !important; box-shadow: 0 0 0 8px rgba(229,109,141,.55), 0 0 30px rgba(244,196,95,.26) !important; }
body.theme-dark-card.modal-float .eyebrow { color: #f4c45f !important; }
body.theme-dark-card.modal-float h1 em { color: #ff9db7 !important; }
body.theme-dark-card.modal-float .discord-button { background: rgba(221,109,149,.88) !important; border: 1px solid rgba(255,255,255,.42) !important; box-shadow: 0 10px 28px rgba(221,91,132,.25) !important; }
body.theme-dark-card.modal-float .bottom-line span { background: rgba(244,196,95,.55) !important; }

/* 5 — ticket: horizontal entrance ticket with a perforated edge. */
body.theme-dark-card.modal-ticket .login-shell { width: min(100% - 40px, 700px) !important; padding: 48px 58px 38px !important; background: #fff0d2 !important; border: 0 !important; border-left: 16px dotted #d76683 !important; border-radius: 9px !important; box-shadow: 13px 13px 0 #3e294f !important; text-align: left !important; }
body.theme-dark-card.modal-ticket .login-shell::before { content: \"MAMBO EXPRESS\" !important; top: 19px !important; left: 58px !important; right: auto !important; color: #bd5d74 !important; font: 10px \"DM Mono\", monospace !important; }
body.theme-dark-card.modal-ticket .login-shell::after { content: \"✦\" !important; right: 26px !important; top: 18px !important; color: #bd5d74 !important; }
body.theme-dark-card.modal-ticket .brand-mark { width: 54px !important; height: 54px !important; margin: 0 0 24px !important; border-radius: 50% !important; color: #fff0d2 !important; background: #bd5d74 !important; box-shadow: 7px 7px 0 #e8bc5d !important; transform: none !important; }
body.theme-dark-card.modal-ticket .eyebrow { color: #bd5d74 !important; }
body.theme-dark-card.modal-ticket h1 { color: #402a50 !important; }
body.theme-dark-card.modal-ticket h1 em { color: #bd5d74 !important; }
body.theme-dark-card.modal-ticket .intro { color: #765e70 !important; }
body.theme-dark-card.modal-ticket .discord-button { max-width: 420px !important; background: #587fc0 !important; border: 2px solid #402a50 !important; border-radius: 5px !important; box-shadow: 7px 7px 0 #402a50 !important; }
body.theme-dark-card.modal-ticket .privacy-note { color: #947786 !important; }
body.theme-dark-card.modal-ticket .bottom-line { color: #947786 !important; }
body.theme-dark-card.modal-ticket .bottom-line span { background: #d6baa8 !important; }

@media (max-width: 760px) {
  body.theme-dark-card .theme-switcher { top: 14px; right: 14px; }
  body.theme-dark-card.modal-ticket .login-shell { width: min(100% - 28px, 700px) !important; padding: 48px 25px 33px !important; text-align: center !important; }
  body.theme-dark-card.modal-ticket .brand-mark { margin-left: auto !important; margin-right: auto !important; }
  body.theme-dark-card.modal-ticket .discord-button { margin-left: auto !important; margin-right: auto !important; }
  body.theme-dark-card.modal-paper .login-shell, body.theme-dark-card.modal-float .login-shell, body.theme-dark-card.modal-wine .login-shell { width: min(100% - 28px, 520px) !important; padding-left: 24px !important; padding-right: 24px !important; }
}

/* Five selectable login compositions. */
.theme-switcher { display: flex !important; position: fixed; top: 24px; right: 28px; z-index: 10; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid rgba(255,237,228,.35); border-radius: 999px; color: #fff4ea; background: rgba(44,28,47,.78); font: 600 11px "DM Sans", sans-serif; cursor: pointer; box-shadow: 0 8px 25px rgba(20,8,22,.2); backdrop-filter: blur(12px); transition: transform .2s, background .2s; }
.theme-switcher:hover { transform: translateY(-2px); background: rgba(91,48,79,.9); }
.theme-switcher:focus-visible { outline: 3px solid #f4c45f; outline-offset: 4px; }
.theme-icon { color: #f4c45f; font-size: 16px; line-height: 1; }
.theme-count { color: #d7aeba; font: 9px "DM Mono", monospace; }
.theme-glass .login-page, .theme-card .login-page, .theme-side .login-page, .theme-portal .login-page, .theme-ticket .login-page { isolation: isolate; }
.theme-glass .login-shell, .theme-card .login-shell, .theme-side .login-shell, .theme-portal .login-shell, .theme-ticket .login-shell { z-index: 2 !important; }
.theme-glass .character-background, .theme-glass .character-background-left, .theme-card .character-background, .theme-card .character-background-left, .theme-side .character-background, .theme-side .character-background-left, .theme-portal .character-background, .theme-portal .character-background-left, .theme-ticket .character-background, .theme-ticket .character-background-left { display: block !important; z-index: 0 !important; }

/* 1. Vidro rosado */
.theme-glass .login-page { background: linear-gradient(90deg, #4b5da1, #493b70 44%, #733d61 70%, #b66486); }
.theme-glass .login-page::before { content: \"\"; background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.08), transparent 42%); }
.theme-glass .login-page::after { content: \"✦  ✦  ✦\"; width: auto; height: auto; left: auto; right: 8%; top: 17%; color: #f4c45f; background: none; font-size: 18px; letter-spacing: 14px; }
.theme-glass .character-background, .theme-glass .character-background-left { width: 56% !important; opacity: .47 !important; }
.theme-glass .character-background { right: 0 !important; mask-image: linear-gradient(270deg,#000 10%,#000 55%,transparent 100%) !important; }
.theme-glass .character-background-left { left: 0 !important; mask-image: linear-gradient(90deg,#000 10%,#000 55%,transparent 100%) !important; }
.theme-glass .character-background::after { background: linear-gradient(270deg, rgba(112,49,84,.25), transparent), linear-gradient(0deg, rgba(35,18,37,.5), transparent); }
.theme-glass .character-background-left::after { background: linear-gradient(90deg, rgba(50,66,145,.25), transparent), linear-gradient(0deg, rgba(26,31,72,.5), transparent); }
.theme-glass .login-shell { width: min(100% - 40px, 500px); padding: 50px 48px 38px; border: 1px solid rgba(255,231,232,.35); border-top: 3px solid #f4c45f; border-radius: 24px; background: linear-gradient(145deg, rgba(61,35,69,.73), rgba(37,23,46,.84)); box-shadow: 0 24px 70px rgba(27,9,31,.35), inset 0 1px rgba(255,255,255,.16); backdrop-filter: blur(18px); }
.theme-glass .brand-mark { background: #f4c45f; color: #4b2944; box-shadow: 7px 7px 0 #e56d8d; }
.theme-glass .eyebrow { color: #f4c45f; }
.theme-glass h1 { color: #fff3e8; }
.theme-glass h1 em { color: #f18eaa; }
.theme-glass .intro { color: #e5cbd5; }
.theme-glass .discord-button { background: #df6f96; border: 2px solid #3b203c; box-shadow: 7px 7px 0 #3b203c; }
.theme-glass .discord-button:hover { background: #f08bad; box-shadow: 3px 3px 0 #3b203c; transform: translate(4px,4px); }
.theme-glass .bottom-line span { background: #91627d; }
.theme-glass .privacy-note { color: #d6afbf; }
.theme-glass .site-footer { color: #e1a5ba; }

/* 2. Carta de personagem */
.theme-card .login-page { background: #efe1c2; }
.theme-card .login-page::before { content: \"MAMBOLÂNDIA\"; inset: 0 auto 0 0; width: 26%; height: auto; padding: 8vh 3vw; color: #fff0d0; background: #354d83; font: 800 clamp(34px,5vw,72px) "DM Sans",sans-serif; writing-mode: vertical-rl; letter-spacing: -.08em; opacity: 1; }
.theme-card .login-page::after { content: \"★  ★  ★\"; width: auto; height: auto; right: 7%; top: 9%; color: #d45f70; background: none; font-size: 20px; letter-spacing: 12px; }
.theme-card .character-background, .theme-card .character-background-left { opacity: .22 !important; }
.theme-card .character-background { width: 39% !important; right: 0 !important; mask-image: linear-gradient(270deg,#000,transparent) !important; }
.theme-card .character-background-left { width: 39% !important; left: 26% !important; mask-image: linear-gradient(90deg,transparent,#000 75%) !important; }
.theme-card .login-shell { width: min(100% - 40px, 520px); padding: 50px 54px 40px; border: 8px solid #f6e8c5; outline: 2px solid #344b80; border-radius: 4px; background: #fff4d9; box-shadow: 14px 14px 0 #344b80; text-align: center; }
.theme-card .brand-mark { background: #d45f70; color: #fff4d9; box-shadow: 7px 7px 0 #e2b74e; }
.theme-card .eyebrow { color: #c34f62; }
.theme-card h1 { color: #344b80; }
.theme-card h1 em { color: #d45f70; }
.theme-card .intro { color: #766777; }
.theme-card .discord-button { margin: 0 auto; background: #4f80bf; border: 2px solid #344b80; box-shadow: 7px 7px 0 #344b80; }
.theme-card .discord-button:hover { background: #d45f70; box-shadow: 3px 3px 0 #344b80; transform: translate(4px,4px); }
.theme-card .privacy-note { color: #958081; }
.theme-card .bottom-line { margin: 0 auto; color: #9a7d78; }
.theme-card .bottom-line span { background: #ddc7a9; }

/* 3. Painel lateral */
.theme-side .login-page { display: block; padding: 0; background: #24213c; }
.theme-side .login-page::before { content: \"MAMBOLÂNDIA\"; inset: 0 auto 0 0; width: 42%; height: auto; padding: 12vh 5vw; color: #f7d4b9; background: linear-gradient(160deg,#405ca3,#6d426f); font: 800 clamp(40px,6vw,96px) "DM Sans",sans-serif; letter-spacing: -.1em; }
.theme-side .login-page::after { content: \"TEAM CANOPUS\"; inset: auto auto 10vh 5vw; width: auto; height: auto; color: #f4c45f; background: none; font: 11px "DM Mono",monospace; letter-spacing: .18em; }
.theme-side .character-background-left { width: 42% !important; left: 0 !important; opacity: .3 !important; mask-image: linear-gradient(90deg,#000,transparent) !important; }
.theme-side .character-background { width: 48% !important; right: 0 !important; opacity: .25 !important; mask-image: linear-gradient(270deg,#000,transparent) !important; }
.theme-side .login-shell { position: absolute; right: 8vw; top: 50%; transform: translateY(-50%); width: min(43vw,560px); padding: 52px 54px 40px; border: 0; border-left: 6px solid #f4c45f; border-radius: 0; background: #302244; box-shadow: -18px 0 0 rgba(221,91,93,.7); text-align: left; }
.theme-side .login-shell::before { content: \"01 / LOGIN\"; top: 21px; left: 54px; right: auto; width: auto; height: auto; background: none; color: #f4c45f; font: 10px "DM Mono",monospace; }
.theme-side .login-shell::after { display: none; }
.theme-side .brand-mark { margin-left: 0; background: #f4c45f; color: #302244; box-shadow: 7px 7px 0 #dd5b5d; }
.theme-side .eyebrow { color: #ef90a9; }
.theme-side h1 { color: #fff1e5; }
.theme-side h1 em { color: #ef90a9; }
.theme-side .intro { color: #cfb9c7; }
.theme-side .discord-button { max-width: none; background: #5b8fd1; border-radius: 4px; box-shadow: 6px 6px 0 #dd5b5d; }
.theme-side .bottom-line { max-width: none; }

/* 4. Portal central */
.theme-portal .login-page { background: radial-gradient(circle,#cb7190 0,#5e3d67 38%,#202542 80%); }
.theme-portal .login-page::before { content: \"\"; inset: 50% auto auto 50%; width: min(78vw,900px); height: min(78vw,900px); transform: translate(-50%,-50%); border: 1px solid rgba(244,196,95,.7); border-radius: 50%; background: transparent; box-shadow: 0 0 0 18px rgba(221,91,93,.32), 0 0 0 42px rgba(244,196,95,.16); opacity: 1; }
.theme-portal .login-page::after { content: \"✦\"; width: auto; height: auto; right: 13%; top: 17%; color: #f4c45f; background: none; font-size: 32px; }
.theme-portal .character-background, .theme-portal .character-background-left { width: 52% !important; opacity: .27 !important; }
.theme-portal .character-background { right: 0 !important; mask-image: radial-gradient(ellipse at right,#000 0 42%,transparent 76%) !important; }
.theme-portal .character-background-left { left: 0 !important; mask-image: radial-gradient(ellipse at left,#000 0 42%,transparent 76%) !important; }
.theme-portal .login-shell { width: min(100% - 40px, 490px); padding: 53px 47px 39px; border: 2px solid rgba(244,196,95,.75); border-radius: 48% 48% 28px 28px / 12% 12% 28px 28px; background: rgba(43,27,54,.79); box-shadow: 0 0 0 10px rgba(43,27,54,.3), 0 25px 80px rgba(22,12,38,.35); backdrop-filter: blur(8px); text-align: center; }
.theme-portal .brand-mark { margin: 0 auto 24px; border-radius: 50%; background: #f4c45f; color: #43284d; box-shadow: 0 0 0 7px #dd5b5d; transform: none; }
.theme-portal .brand-mark span { transform: none; }
.theme-portal .eyebrow { color: #f4c45f; }
.theme-portal h1 { color: #fff3e6; }
.theme-portal h1 em { color: #f18eaa; }
.theme-portal .discord-button { margin: 0 auto; background: #dd6d95; border-radius: 25px; box-shadow: 0 7px 0 #f4c45f; }
.theme-portal .bottom-line { margin: 0 auto; }

/* 5. Bilhete de entrada */
.theme-ticket .login-page { background: linear-gradient(135deg,#394e87,#6d3d65 55%,#c36b88); }
.theme-ticket .login-page::before { content: \"MAMBOLÂNDIA\"; inset: 8% auto auto 7%; width: auto; height: auto; color: rgba(255,243,222,.22); background: none; font: 800 clamp(50px,9vw,140px) "DM Sans",sans-serif; letter-spacing: -.1em; }
.theme-ticket .login-page::after { content: \"ADMIT ONE  •  2026\"; inset: auto auto 9% 7%; width: auto; height: auto; color: #f4c45f; background: none; font: 11px "DM Mono",monospace; letter-spacing: .16em; }
.theme-ticket .character-background, .theme-ticket .character-background-left { opacity: .18 !important; }
.theme-ticket .login-shell { width: min(100% - 40px, 760px); padding: 45px 60px 39px; border: 0; border-radius: 18px; background: #fff0d4; box-shadow: 0 17px 0 #402849; text-align: left; }
.theme-ticket .login-shell::before { content: \"MAMBO EXPRESS\"; top: 20px; left: 60px; right: auto; width: auto; height: auto; background: none; color: #bd5870; font: 10px "DM Mono",monospace; letter-spacing: .15em; }
.theme-ticket .login-shell::after { content: \"✦\"; display: block; position: absolute; right: 27px; top: 19px; width: auto; height: auto; background: none; color: #bd5870; font-size: 19px; }
.theme-ticket .brand-mark { width: 54px; height: 54px; margin: 0 0 25px; border-radius: 50%; color: #fff0d4; background: #bd5870; box-shadow: 7px 7px 0 #f4c45f; transform: none; }
.theme-ticket h1 { color: #402849; font-size: clamp(42px,6vw,70px); }
.theme-ticket h1 em { color: #bd5870; }
.theme-ticket .intro { color: #796171; }
.theme-ticket .discord-button { max-width: 420px; background: #4d70b2; border-radius: 7px; box-shadow: 7px 7px 0 #402849; }
.theme-ticket .bottom-line { max-width: 420px; }
.theme-ticket .bottom-line span { background: #d8bfa8; }

@media (max-width: 760px) {
  .theme-switcher { top: 14px; right: 14px; }
  .theme-side .login-page { display: flex; padding: 110px 22px 80px; }
  .theme-side .login-page::before { width: 100%; height: 27%; padding: 24px 22px; }
  .theme-side .login-shell { position: relative; right: auto; top: auto; transform: none; width: min(100%,560px); padding: 50px 24px 35px; text-align: center; }
  .theme-side .brand-mark { margin-left: auto; margin-right: auto; }
  .theme-side .discord-button { margin-left: auto; margin-right: auto; }
  .theme-ticket .login-shell { width: min(100% - 20px,760px); padding: 50px 24px 33px; text-align: center; }
  .theme-ticket .brand-mark { margin-left: auto; margin-right: auto; }
  .theme-ticket .discord-button { margin-left: auto; margin-right: auto; }
  .theme-portal .login-shell, .theme-glass .login-shell, .theme-card .login-shell { width: min(100% - 28px,520px); padding-left: 24px; padding-right: 24px; }
  .theme-card .login-page::before { width: 18%; }
}

/* Final framing for the two user-provided background assets. */
body.theme-dark-card .character-background {
  background: #a85f82 !important;
}

body.theme-dark-card .character-background img {
  object-fit: cover !important;
  object-position: 50% 52% !important;
  transform: scale(1) !important;
  transform-origin: center center !important;
  image-rendering: auto;
  filter: saturate(1.02) contrast(1.04) !important;
}

body.theme-dark-card .character-background-left {
  background: #5368ae !important;
}

body.theme-dark-card .character-background-left img {
  object-fit: cover !important;
  object-position: 50% 50% !important;
  transform: scale(1) !important;
  transform-origin: center center !important;
  image-rendering: auto;
  filter: saturate(.96) contrast(1.03) !important;
}

@media (max-width: 760px) {
  body.theme-dark-card .character-background img {
    object-position: 50% 54% !important;
    transform: scale(1) !important;
  }

  body.theme-dark-card .character-background-left img {
    object-position: 50% 48% !important;
    transform: scale(1) !important;
  }
}

/* Keep both character assets side by side on narrow screens. */
@media (max-width: 760px) {
  body.theme-dark-card .character-background,
  body.theme-dark-card .character-background-left {
    top: 0 !important;
    bottom: auto !important;
    height: 100% !important;
    width: 59% !important;
    opacity: .48 !important;
  }

  body.theme-dark-card .character-background {
    left: auto !important;
    right: 0 !important;
    -webkit-mask-image: linear-gradient(270deg, #000 0%, #000 58%, rgba(0, 0, 0, .58) 82%, transparent 100%) !important;
    mask-image: linear-gradient(270deg, #000 0%, #000 58%, rgba(0, 0, 0, .58) 82%, transparent 100%) !important;
  }

  body.theme-dark-card .character-background-left {
    left: 0 !important;
    right: auto !important;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 58%, rgba(0, 0, 0, .58) 82%, transparent 100%) !important;
    mask-image: linear-gradient(90deg, #000 0%, #000 58%, rgba(0, 0, 0, .58) 82%, transparent 100%) !important;
  }

  body.theme-dark-card .character-background img,
  body.theme-dark-card .character-background-left img {
    height: 100% !important;
    object-fit: cover !important;
  }
}

/* Final modal cleanup and logo slot. */
body.theme-dark-card.modal-float .brand-mark {
  width: 132px !important;
  height: 132px !important;
  margin: 0 auto 24px !important;
  display: grid !important;
  place-items: center !important;
  border: 2px solid rgba(255, 224, 233, .78) !important;
  border-radius: 36px !important;
  background: rgba(255, 210, 226, .12) url("/assets/logo.webp") center / cover no-repeat !important;
  box-shadow: 0 12px 28px rgba(21, 7, 28, .22), 0 0 0 7px rgba(239, 128, 169, .12) !important;
  transform: none !important;
}

body.theme-dark-card.modal-float .brand-mark span {
  display: none !important;
}

body.theme-dark-card.modal-float .intro {
  display: none !important;
}

body.theme-dark-card.modal-float .privacy-note,
body.theme-dark-card.modal-float .bottom-line {
  display: none !important;
}

body.theme-dark-card.modal-float .discord-button {
  margin-top: 28px !important;
  background: linear-gradient(135deg, #d96b98, #c85688) !important;
  border: 1px solid rgba(255, 231, 241, .62) !important;
  box-shadow: 0 12px 26px rgba(117, 34, 83, .28) !important;
  transition: background .2s ease, box-shadow .2s ease, filter .2s ease !important;
}

body.theme-dark-card.modal-float .discord-button:hover {
  background: linear-gradient(135deg, #ed82aa, #d96599) !important;
  box-shadow: 0 15px 32px rgba(117, 34, 83, .38) !important;
  transform: none !important;
  filter: saturate(1.08) brightness(1.04);
}

body.theme-dark-card.modal-float .discord-button:active {
  transform: scale(.985) !important;
  box-shadow: 0 8px 18px rgba(117, 34, 83, .28) !important;
}

body.theme-dark-card .site-footer {
  left: auto !important;
  right: 28px !important;
  bottom: 20px !important;
  align-items: center;
  gap: 11px;
  color: #d8b2c4 !important;
  font-size: 13px !important;
  letter-spacing: .09em;
  text-shadow: 0 2px 12px rgba(30, 8, 29, .45);
}

.discord-invite {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  transition: color .2s ease, text-shadow .2s ease;
}

.discord-invite:hover {
  color: #f2b4ca;
  text-shadow: 0 0 12px rgba(242, 180, 202, .45);
}

body.theme-dark-card .discord-invite {
  color: #f0c0d2;
  font-size: 1em;
}

.discord-invite:focus-visible {
  outline: 2px solid #f2c653;
  outline-offset: 5px;
  border-radius: 3px;
}

body.theme-dark-card.modal-float h1 {
  position: relative;
  letter-spacing: -.08em !important;
  line-height: .86 !important;
  font-size: clamp(52px, 10vw, 76px) !important;
  text-wrap: balance;
  text-shadow: 0 4px 0 rgba(255, 239, 232, .06), 0 14px 28px rgba(22, 7, 29, .18);
}

body.theme-dark-card.modal-float h1 em {
  position: relative;
  z-index: 0;
  margin-top: 8px;
  display: block;
  width: max-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  transform: translateX(8px) rotate(-3deg) !important;
  font-size: .9em !important;
  padding: 0 8px 5px;
  filter: drop-shadow(0 7px 14px rgba(241, 116, 163, .2));
  text-shadow: 2px 2px 0 rgba(255, 194, 212, .26), 0 11px 18px rgba(73, 18, 54, .24);
}

/* Final spacing and frame polish for the only active modal. */
body.theme-dark-card.modal-float .eyebrow,
body.theme-dark-card.modal-float .login-shell::before {
  display: none !important;
}

body.theme-dark-card.modal-float .login-shell {
  border: 2px solid rgba(255, 224, 233, .72) !important;
  border-radius: 34px !important;
  overflow: hidden !important;
  box-shadow:
    0 0 0 1px rgba(244, 196, 95, .22),
    inset 0 1px 0 rgba(255, 245, 248, .16),
    inset 0 -18px 42px rgba(17, 5, 25, .12),
    0 25px 80px rgba(28, 8, 31, .3) !important;
}

body.theme-dark-card.modal-float .login-shell::after {
  display: none !important;
}

@media (max-width: 760px) {
  body.theme-dark-card.modal-float .brand-mark {
    width: 112px !important;
    height: 112px !important;
  }

  body.theme-dark-card.modal-float .login-shell {
    border-radius: 28px !important;
  }
}

/* Responsive layout for phones and compact tablets. */
@media (max-width: 760px) {
  body.theme-dark-card .login-page {
    min-height: 100svh;
    padding: 52px 14px 76px !important;
    justify-content: center;
    align-items: center;
  }

  body.theme-dark-card .login-shell {
    width: min(100%, 520px) !important;
    padding: 42px 22px 28px !important;
  }

  body.theme-dark-card.modal-float .brand-mark {
    width: 104px !important;
    height: 104px !important;
    margin-bottom: 22px !important;
    border-radius: 29px !important;
  }

  body.theme-dark-card.modal-float h1 {
    font-size: clamp(40px, 12.5vw, 62px) !important;
    line-height: .88 !important;
  }

  body.theme-dark-card.modal-float h1 em {
    max-width: 100%;
    transform: translateX(4px) rotate(-3deg) !important;
    font-size: .84em !important;
    padding-left: 3px;
    padding-right: 3px;
  }

  body.theme-dark-card.modal-float .discord-button {
    width: 100% !important;
    margin-top: 24px !important;
    padding: 16px 15px !important;
  }

  body.theme-dark-card .site-footer {
    left: 14px !important;
    right: 14px !important;
    bottom: 18px !important;
    justify-content: center;
    gap: 8px;
    font-size: 11px !important;
    text-align: center;
  }
}

@media (max-width: 420px) {
  body.theme-dark-card .login-page {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  body.theme-dark-card .login-shell {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body.theme-dark-card.modal-float .brand-mark {
    width: 92px !important;
    height: 92px !important;
    border-radius: 25px !important;
  }

  body.theme-dark-card.modal-float h1 {
    font-size: clamp(37px, 12vw, 52px) !important;
  }

  body.theme-dark-card.modal-float h1 em {
    font-size: .8em !important;
  }

  body.theme-dark-card.modal-float .discord-button {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .login-shell,
  .discord-button,
  .brand-mark {
    animation: none !important;
    transition: none !important;
  }
}
