:root {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-synthesis: none;
  color: #3c4642;
  --ink: #364c46;
  --muted: #77817a;
  --red: #ad343d;
  --red-bright: #d95453;
  --gold: #e5bc71;
  --jade: #357c70;
  --line: #ecdfca;
}
.captcha-field { min-width: 0; width: 100%; }
.cf-turnstile { min-height: 65px; width: 100%; max-width: 100%; }
.cf-turnstile[data-size=compact] { min-height: 140px; }
.captcha-field p { margin: 0; font-size: .75rem; line-height: 1.5; }
.registration-card { min-width: 0; max-height: 100%; overflow-x: hidden; overflow-y: auto; }
@media(max-width:380px) { .account-shell:has(.captcha-field) .registration-card { padding-inline: 12px; } }
.feature-notice { width: min(420px,calc(100% - 32px)); max-height: calc(100svh - 40px); overflow-y: auto; padding: 28px; border: 2px solid #dfbd7c; border-radius: 22px; background: #fffdf5; color: #3c5148; text-align: center; box-shadow: 0 18px 70px #44372366; }
.feature-notice::backdrop { background: #263d3c99; backdrop-filter: blur(4px); }
.feature-notice h2 { color: #a33740; font-size: 1.4rem; margin-bottom: 14px; }
.feature-notice p { font-size: .9375rem; line-height: 1.75; overflow-wrap: anywhere; white-space: pre-line; }
.feature-notice .message-icon { margin-bottom: 16px; }
* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: #ecf3df url('/images/tet-village.png') center / cover fixed no-repeat;
}
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: linear-gradient(90deg, #f8edce18, #f0f8e62b 40%, #fcf4df26), linear-gradient(0deg, #fff1d494, transparent 26%);
}
a { color: #a5363f; text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #267e73; outline-offset: 4px; }
h1, h2, p { margin-top: 0; }
h1, h2 { letter-spacing: -.035em; }
p { line-height: 1.65; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.content-container, .nav-container, .site-footer { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.site-header {
  position: relative; z-index: 3; background: #fffbecbd; border-bottom: 1px solid #fff9db;
  box-shadow: 0 3px 22px #8d634012; backdrop-filter: blur(14px);
}
.nav-container { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; }
.brand-logo { display: block; width: 172px; height: 75px; object-fit: contain; filter: drop-shadow(0 2px 0 #fff); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-login { font-size: .875rem; font-weight: 700; padding: 11px 22px; border-radius: 30px; color: #885442; }
.nav-login:last-child { border: 1px solid #e1b974; background: #fff7dd; box-shadow: inset 0 1px 0 #fff; color: #a7353c; }
.nav-login:hover { background: #fff1d1; text-decoration: none; }
main { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; }
.account-shell { display: flex; align-items: center; justify-content: center; gap: 64px; flex: 1; padding-block: 38px 50px; }
.account-illustration { flex: 1 1 500px; max-width: 550px; min-width: 0; text-align: center; position: relative; }
.spring-greeting { position: relative; z-index: 1; }
.spring-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff8dfde; border: 1px solid #e8c47b; box-shadow: 0 3px 0 #d5b77b26; border-radius: 30px; padding: 6px 15px; font-size: .625rem; font-weight: 800; letter-spacing: .14em; color: #a95435; }
.spring-badge>span { font-size: 1rem; color: #dc9e45; }
.spring-greeting p { margin: 18px 0 10px; color: #a5373d; font-size: 2.95rem; font-weight: 850; letter-spacing: -.045em; line-height: 1.18; text-shadow: 0 2px 0 #fff4dc; }
.spring-greeting strong { color: #387b69; font-weight: 850; }
.character-stage { position: relative; width: 100%; height: 350px; margin-top: 5px; isolation: isolate; }
.character-halo { position: absolute; inset: 15px -10px -10px; border-radius: 50%; background: radial-gradient(ellipse, #fff6cfba 0%, #f1e5ad45 46%, transparent 70%); z-index: -1; }
.stage-ring { position: absolute; height: 48px; width: 70%; border-radius: 50%; bottom: 12px; left: 15%; background: #c3b27026; border: 2px solid #fff6d97a; box-shadow: 0 0 0 7px #fff6d929; transform: rotate(-4deg); }
.stage-spark { position: absolute; color: #d6983e; font-size: 2rem; text-shadow: 0 0 15px #fff; animation: twinkle 4s ease-in-out infinite; }
.spark-one { left: 4%; top: 16%; }.spark-two { right: 2%; top: 5%; font-size: 2.7rem; animation-delay: -2s; }
.registration-card {
  position: relative; flex-shrink: 0; width: 100%; max-width: 450px; border: 1px solid #e1bd7c;
  border-radius: 24px; padding: 32px 34px 31px; background: #fffdf5;
  box-shadow: inset 0 0 0 5px #fff8e6, inset 0 0 0 6px #ecd4a583, 0 7px 0 #d4af7366, 0 22px 58px #74623024;
  animation: card-arrive .45s ease-out both;
}
.registration-card::before { content: ''; position: absolute; width: 60px; height: 4px; border-radius: 4px; background: #d3a55b; top: 0; left: calc(50% - 30px); }
.registration-card::after { content: ''; position: absolute; width: 43px; height: 43px; background: url('/images/tet-blossom.svg') center / contain no-repeat; right: 6px; top: 6px; filter: drop-shadow(0 3px 0 #ae6e3422); pointer-events: none; transform: rotate(14deg); }
.eyebrow { display: block; font-size: .625rem; font-weight: 800; letter-spacing: .14em; color: #956c34; line-height: 1.7; }
.account-card h1 { color: #94353b; font-size: 1.9rem; font-weight: 800; line-height: 1.25; margin: 10px 0 8px; overflow-wrap: anywhere; }
.card-subtitle { font-size: .875rem; color: #69705f; margin-bottom: 22px; }
.form-tabs { display: flex; padding: 4px; gap: 4px; background: #f4eddd; border: 1px solid #eaddc4; border-radius: 12px; margin-bottom: 23px; }
.form-tabs>* { flex: 1; text-align: center; padding: 9px 10px; color: #756b57; font-size: .875rem; font-weight: 750; border-radius: 8px; }
.form-tabs [aria-current] { background: #fffdf5; color: #aa3b40; box-shadow: 0 2px 4px #806b3814; border: 1px solid #ead4a7; padding: 8px 9px; }
.form-tabs a:hover { background: #fff9ea; text-decoration: none; }
.account-form { display: flex; flex-direction: column; gap: 15px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: .875rem; font-weight: 650; color: #586457; }
.field input { width: 100%; border: 1px solid #e2dbc8; border-radius: 11px; padding: 11px 13px; min-height: 46px; background: #fffefa; color: #344b40; font-size: .9375rem; box-shadow: inset 0 2px 3px #846e3b05; transition: border-color .2s, box-shadow .2s; }
.field input::placeholder { color: #9b9d91; font-size: .875rem; }
.field input:hover { border-color: #cdb57d; }
.field input:focus { outline: 0; border-color: #b69352; box-shadow: 0 0 0 3px #e5c98738; }
.field-hint { color: #717767; font-size: .75rem; line-height: 1.5; }
.password-wrap { position: relative; }.password-wrap input { padding-right: 46px; }
.toggle-password { position: absolute; right: 4px; top: 5px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: transparent; border-radius: 8px; color: #9a9a86; }
.toggle-password:hover { color: #a84443; background: #f9efdc; }
.checkbox-label { display: flex; gap: 9px; align-items: flex-start; font-size: .8125rem; line-height: 1.7; color: #69735f; }
.checkbox-label input { width: 16px; height: 16px; flex: 0 0 16px; margin: 3px 0 0; accent-color: #ad3d43; }
.checkbox-label a { font-weight: 650; }.terms-field { margin: 1px 0 3px; }
.button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 49px; border-radius: 12px; padding: 13px 18px; border: 1px solid #e5b775; font-size: .9375rem; font-weight: 750; line-height: 1.5; text-align: center; overflow: hidden; transition: transform .16s, box-shadow .16s, filter .16s; }
.button:hover { text-decoration: none; }.button-pink { color: #fff9e9; background: linear-gradient(#da6760, #bd4247 60%, #af343e); box-shadow: inset 0 1px 0 #f3ada0, inset 0 0 0 3px #f7bd841a, 0 4px 0 #892e36, 0 7px 15px #a1483226; text-shadow: 0 1px 1px #87313e; }
.button-pink::after { content: ''; position: absolute; inset: -40% auto -40% -60%; width: 28%; background: linear-gradient(90deg, transparent, #fff4d741, transparent); transform: skewX(-20deg); pointer-events: none; transition: left .55s ease; }
.button-pink:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: inset 0 1px 0 #f3ada0, inset 0 0 0 3px #f7bd841a, 0 6px 0 #892e36, 0 10px 19px #a1483226; }
.button-pink:hover::after { left: 135%; }.button-pink:active { transform: translateY(3px); box-shadow: inset 0 1px 4px #6f283540, 0 1px 0 #892e36; }
.button-full { width: 100%; }.account-form>.button { margin-top: 4px; }
.back-link { display: block; margin-top: 23px; text-align: center; font-size: .875rem; }.form-options { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .8125rem; margin-bottom: 5px; }
.validation-summary-errors { background: #fff0ed; border: 1px solid #efd2c7; color: #a6323b; font-size: .8125rem; line-height: 1.6; padding: 12px; border-radius: 10px; }
.validation-summary-errors ul { margin: 0; padding-left: 18px; }.field-validation-error { color: #a53240; font-size: .8125rem; line-height: 1.5; }.field-validation-valid, .validation-summary-valid { display: none; }.input-validation-error { border-color: #c66364!important; }
.profile-details { background: #faf5e9; border: 1px solid #ebddbf; border-radius: 14px; padding: 20px; font-size: .9375rem; margin-block: 22px 26px; overflow-wrap: anywhere; }
.profile-details dt { font-size: .8125rem; color: #8c8978; margin-bottom: 5px; }.profile-details dd { margin: 0 0 17px; font-weight: 600; }.profile-details dd:last-child { margin-bottom: 0; }.verified-label { color: #317663; }.logout-button { width: 100%; background: none; border: 0; color: #a5363f; }
.message-shell { display: flex; flex: 1; align-items: center; justify-content: center; padding-block: 50px; }.message-card { text-align: center; padding-block: 38px; }.message-card h1 { color: #96383c; font-size: 1.8rem; line-height: 1.3; margin-bottom: 15px; }.message-card>p { color: #69715f; font-size: .9375rem; margin-bottom: 26px; }
.message-icon { display: grid; place-items: center; width: 65px; height: 65px; margin: 0 auto 24px; border: 1px solid #ebd49c; background: #fff2cc; border-radius: 21px; color: #af7b35; font-size: 1.8rem; font-weight: 700; transform: rotate(-5deg); }
.secure-note { font-size: .8125rem; color: #69715f; line-height: 1.6; margin: 20px 0 0; }
.site-footer { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 23px; color: #6a7763; font-size: .75rem; line-height: 1.5; }
.footer-separator { padding-inline: 6px; color: #b9a36b; }.footer-links { display: flex; gap: 20px; }.footer-links a { color: #67775f; }.effects-toggle { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #dcd6b7; border-radius: 20px; background: #fffae9b8; color: #877849; padding: 6px 11px; font-size: .6875rem; white-space: nowrap; }.effects-toggle:hover { background: #fff8df; }
.legal-page { max-width: 780px; margin-block: 45px; padding: 36px; background: #fffdf6; border: 1px solid #e1c48f; border-radius: 24px; box-shadow: 0 12px 40px #74623014; }.legal-page h1 { font-size: 2rem; margin-top: 12px; color: #9e3e42; }.legal-page h2 { font-size: 1.2rem; margin-top: 26px; }.legal-page p { color: #69715f; line-height: 1.8; font-size: .9375rem; }.legal-page .button { margin-top: 15px; }
.skip-link { position: fixed; left: 20px; top: -100px; background: #fffdf2; border: 2px solid #a5363f; padding: 12px; z-index: 20; }.skip-link:focus { top: 8px; }
.tet-decoration { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }.hanging-lantern { position: absolute; top: 64px; width: 80px; height: 160px; transform-origin: top center; animation: lantern-sway 6s ease-in-out infinite; filter: drop-shadow(0 5px 10px #a43b3724); }.lantern-left { left: max(14px, calc(50% - 690px)); }.lantern-right { right: max(14px, calc(50% - 690px)); width: 65px; animation-delay: -3s; }
.petal-field { position: absolute; inset: 0; }.petal-field i { position: absolute; top: -35px; width: 13px; height: 9px; border-radius: 80% 10% 70% 25%; background: #e9a09a; opacity: 0; animation: petal-fall 18s linear infinite; }.petal-field i:nth-child(1) { left: 6%; animation-delay: -4s; }.petal-field i:nth-child(2) { left: 17%; animation-delay: -12s; background: #ebc95a; width: 11px; }.petal-field i:nth-child(3) { left: 29%; animation-delay: -8s; animation-duration: 22s; }.petal-field i:nth-child(4) { left: 42%; animation-delay: -16s; background: #efcb65; }.petal-field i:nth-child(5) { left: 51%; animation-delay: -2s; animation-duration: 25s; }.petal-field i:nth-child(6) { left: 63%; animation-delay: -13s; }.petal-field i:nth-child(7) { left: 74%; animation-delay: -5s; background: #e9bd60; }.petal-field i:nth-child(8) { left: 83%; animation-delay: -17s; animation-duration: 23s; }.petal-field i:nth-child(9) { left: 91%; animation-delay: -10s; background: #ecc966; }.petal-field i:nth-child(10) { left: 35%; animation-delay: -20s; animation-duration: 26s; width: 9px; }
@keyframes lantern-sway { 0%,100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes twinkle { 0%,100% { opacity: .4; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes petal-fall { 0% { opacity: 0; transform: translate3d(0,-10px,0) rotate(0); } 10% { opacity: .65; } 85% { opacity: .5; } 100% { opacity: 0; transform: translate3d(65px,105vh,0) rotate(360deg); } }
@keyframes card-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
html[data-effects=off] .hanging-lantern, html[data-effects=off] .stage-spark { animation: none; } html[data-effects=off] .petal-field { display: none; } html[data-effects=off] .button-pink::after { display: none; } html[data-effects=off] .registration-card { animation: none; }

/* The account screen uses the available viewport; artwork gets the remaining space. */
body { height: 100svh; min-height: 100svh; display: grid; grid-template-rows: auto minmax(0,1fr) auto; }
main { min-height: 0; }
.content-container, .nav-container, .site-footer { width: min(1440px,calc(100% - 72px)); }
.nav-container { height: 64px; }.brand-logo { height: 58px; width: 154px; }
.nav-login { padding: 8px 19px; }
.account-shell { width: min(1440px,calc(100% - 72px)); height: 100%; min-height: 0; display: grid; grid-template-columns: minmax(0,1.55fr) minmax(370px,450px); gap: clamp(20px,3vw,54px); align-items: center; padding-block: 12px; }
.account-illustration { width: 100%; max-width: none; height: 100%; max-height: 790px; min-height: 0; display: flex; flex-direction: column; justify-content: center; }
.spring-greeting { flex: 0 0 auto; }.spring-greeting p { font-size: clamp(1.65rem,3.1vw,3rem); line-height: 1.14; margin: 11px 0 0; white-space: nowrap; }.spring-greeting strong { display: block; }
.spring-badge { padding: 4px 12px; font-size: .5625rem; }
.character-stage { flex: 1 1 auto; min-height: 0; height: auto; max-height: 600px; width: 106%; margin: 0 -3%; }
.character-halo { inset: 8% 3% 0; }.stage-ring { bottom: 4%; width: 60%; left: 20%; height: 30px; }
.class-labels { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; gap: 12px; margin: 3px 0 0; }
.class-labels button { padding: 5px 13px; color: #55715f; background: #fffbeaeb; border: 1px solid #dfcc9b; border-radius: 20px; font-size: .75rem; font-weight: 650; white-space: nowrap; }
.registration-card { max-width: 450px; padding: 24px 28px; }
.account-card h1 { font-size: 1.7rem; margin-block: 6px; }.card-subtitle { font-size: .8125rem; margin-bottom: 15px; }.eyebrow { font-size: .5625rem; }
.form-tabs { margin-bottom: 16px; }.form-tabs>* { padding-block: 7px; }.form-tabs [aria-current] { padding-block: 6px; }
.account-form { gap: 11px; }.field { gap: 5px; }.field input { min-height: 42px; padding-block: 9px; }.field-hint { font-size: .6875rem; }.field label { font-size: .8125rem; }.toggle-password { top: 3px; }
.register-form { display: flex; flex-direction: column; gap: 11px; }
.register-form>.field { width: 100%; }.register-form .field-hint { line-height: 1.45; }
.register-form .terms-field { margin: 0; }.register-form .checkbox-label { font-size: .75rem; }.register-form .field input { font-size: .875rem; }
.button { min-height: 45px; padding-block: 11px; }.back-link { margin-top: 15px; }.form-options { margin-block: 0 3px; }
.profile-details { padding: 15px 18px; margin-block: 17px 21px; }.profile-details dd { margin-bottom: 13px; }
.site-footer { min-height: 39px; padding-block: 7px; gap: 14px; font-size: .6875rem; }.effects-toggle { padding-block: 4px; }
.hanging-lantern { top: 40px; width: 65px; height: 135px; }.lantern-left { left: 8px; }.lantern-right { right: 8px; }
.message-shell { min-height: 0; padding-block: 20px; }.message-card { padding-block: 28px; }.message-card h1 { font-size: 1.65rem; }.message-card>p { font-size: .875rem; margin-bottom: 20px; }.message-icon { width: 54px; height: 54px; margin-bottom: 18px; }
.legal-page { max-height: calc(100% - 24px); min-height: 0; overflow-y: auto; margin-block: 12px; }
@media(min-width:1600px) { .account-shell { grid-template-columns: minmax(0,1.65fr) minmax(420px,480px); }.registration-card { max-width: 480px; }.spring-greeting p { font-size: 3rem; }.class-labels button { font-size: .8125rem; }.field input { min-height: 46px; }.account-form { gap: 15px; }.register-form { gap: 18px; } }
@media(max-height:760px) and (min-width:701px) { .nav-container { height: 56px; }.brand-logo { height: 52px; }.account-shell { padding-block: 8px; }.registration-card { padding: 20px 25px; }.spring-greeting p { font-size: 2rem; }.spring-badge { padding-block: 2px; }.class-labels button { padding-block: 3px; }.hanging-lantern { top: 35px; height: 110px; width: 52px; } }
@media(max-width:1100px) and (min-width:701px) { .content-container, .nav-container, .site-footer, .account-shell { width: calc(100% - 48px); }.account-shell { grid-template-columns: minmax(0,1fr) minmax(350px,405px); gap: 20px; }.registration-card { max-width: 405px; padding-inline: 24px; }.spring-greeting p { font-size: 2rem; }.spring-badge { font-size: .5rem; }.class-labels { gap: 6px; }.class-labels button { padding-inline: 9px; font-size: .6875rem; } }
@media(max-width:700px) {
  body { background-position: 40% center; }.content-container, .nav-container, .site-footer, .account-shell { width: calc(100% - 28px); }
  .nav-container { height: 53px; gap: 10px; }.brand-logo { width: 119px; height: 50px; }.nav-actions { gap: 3px; }.nav-login { font-size: .75rem; padding: 7px 12px; }
  .account-shell { grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(85px,1fr) auto; gap: 7px; padding-block: 6px 10px; justify-items: center; }
  .account-illustration { max-width: 480px; max-height: 300px; }.spring-greeting { display: none; }.character-stage { width: 100%; margin: 0; max-height: none; }.character-halo { inset: 0 10%; }.stage-ring { height: 15px; bottom: 0; }.stage-spark { font-size: 1rem; }.spark-two { font-size: 1.25rem; }.class-labels { gap: 6px; margin-top: 1px; }.class-labels button { padding: 2px 9px; font-size: .625rem; }
  .registration-card { max-width: 460px; padding: 18px 22px; border-radius: 19px; }.registration-card::after { height: 30px; width: 30px; top: 5px; right: 5px; }.account-card h1 { font-size: 1.5rem; margin-block: 3px 6px; }.eyebrow { display: none; }.card-subtitle { display: none; }.form-tabs { display: none; }.form-tabs>* { font-size: .8125rem; padding-block: 6px; }.form-tabs [aria-current] { padding-block: 5px; }
  .account-form { gap: 10px; }.field label { font-size: .8125rem; }.field input, .register-form .field input { font-size: 1rem; min-height: 40px; padding: 8px 10px; }.field input::placeholder { font-size: .75rem; }.field-hint { display: none; }.password-wrap input { padding-right: 37px; }.toggle-password { width: 30px; height: 32px; }.register-form { gap: 11px 10px; }.register-form .checkbox-label { font-size: .6875rem; }.checkbox-label { font-size: .75rem; }.button { min-height: 42px; padding-block: 9px; font-size: .875rem; }.form-options { font-size: .75rem; gap: 8px; }.back-link { font-size: .8125rem; margin-top: 12px; }
  .site-footer { justify-content: center; gap: 15px; min-height: 32px; padding-block: 4px; font-size: .625rem; }.footer-copyright { display: none; }.footer-links { gap: 13px; }.effects-label { display: none; }.effects-toggle { padding: 2px 8px; font-size: 1rem; line-height: 1.3; order: 1; }.hanging-lantern { top: 32px; height: 90px; width: 42px; }.lantern-left { left: -6px; }.lantern-right { right: -6px; }.petal-field i:nth-child(n+6) { display: none; }
  .message-shell { padding-block: 15px; }.message-card { padding-block: 24px; }.message-card h1 { font-size: 1.5rem; }.legal-page { padding: 22px; }.legal-page h1 { font-size: 1.5rem; }
  .account-shell:has(.field-validation-error) .account-illustration, .account-shell:has(.validation-summary-errors) .account-illustration { display: none; }
  .account-shell:has(.field-validation-error), .account-shell:has(.validation-summary-errors) { grid-template-rows: minmax(0,1fr); }
}
@media(max-width:380px) { .registration-card { padding: 15px 17px; }.register-form { gap: 9px 8px; }.register-form .field label { font-size: .75rem; }.form-tabs { margin-block: 9px 12px; }.nav-login { padding-inline: 10px; }.class-labels button { font-size: .5625rem; }.register-form .checkbox-label { font-size: .625rem; } }
@media(max-height:680px) and (max-width:700px) { .registration-card { padding-block: 13px; }.account-card h1 { font-size: 1.3rem; }.account-form { gap: 8px; }.form-tabs { margin-block: 8px 10px; }.register-form { gap: 9px 8px; }.field label { font-size: .75rem; }.class-labels { display: none; }.account-shell { grid-template-rows: minmax(65px,1fr) auto; }.button { min-height: 40px; }.profile-details { margin-block: 12px 15px; padding-block: 12px; } }
/* Long legal text or a very short/zoomed viewport stays accessible instead of being clipped. */
@media(max-height:520px) { body { height: auto; min-height: 100svh; grid-template-rows: auto 1fr auto; }.account-shell { min-height: 440px; }.account-illustration { max-height: 410px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } html:not([data-effects=on]) *,html:not([data-effects=on]) *::before,html:not([data-effects=on]) *::after { animation: none!important; transition: none!important; } html:not([data-effects=on]) .petal-field,html:not([data-effects=on]) .button-pink::after { display: none; } }
/* Each input occupies one full-width row. Short screens reduce spacing, not columns. */
.register-form .field input { font-size: .9375rem; }
@media(max-height:820px) and (min-width:701px) { .account-card .eyebrow { display: none; }.account-card .card-subtitle { margin-bottom: 11px; }.registration-card { padding-block: 20px; }.form-tabs { margin-bottom: 13px; }.register-form { gap: 9px; }.register-form .field-hint { font-size: .6875rem; }.register-form .field input { min-height: 40px; padding-block: 8px; } }
@media(max-height:740px) and (min-width:701px) { .account-card .card-subtitle { display: none; }.form-tabs { margin-top: 12px; }.register-form { gap: 8px; }.register-form .field { gap: 4px; } }
@media(max-width:700px) { .register-form { gap: 9px; }.register-form .field input { font-size: 1rem; }.account-shell { grid-template-rows: minmax(70px,1fr) auto; } }
@media(max-width:700px) and (max-height:680px) { .register-form { gap: 7px; }.register-form .field { gap: 4px; }.register-form .field input { min-height: 38px; padding-block: 7px; }.account-shell { grid-template-rows: minmax(55px,1fr) auto; }.register-form .terms-field { font-size: .6875rem; } }
/* The portraits are separate RGBA layers. Alpha hit-testing in site.js skips their transparent padding. */
.class-portrait { position: absolute; width: 49%; height: 94%; pointer-events: none; transform-origin: center bottom; transition: transform .2s ease, filter .2s ease; filter: brightness(.98) drop-shadow(0 9px 9px #594e3326); }
.class-portrait img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; pointer-events: none; }
.portrait-assassin { left: 0; bottom: 18%; z-index: 1; }.portrait-biochemist { left: 57%; bottom: 18%; z-index: 2; }.portrait-rocker { left: 44%; bottom: 0; z-index: 3; }.portrait-guardian { left: 17%; bottom: 0; z-index: 4; }
.character-stage[data-active]:not([data-active=""]) .class-portrait:not(.is-highlighted) { filter: brightness(.83) saturate(.88) drop-shadow(0 8px 8px #594e3326); }
.class-portrait.is-highlighted { z-index: 20; transform: translateY(-5px) scale(1.075); filter: brightness(1.15) saturate(1.08) drop-shadow(0 0 9px #ffe8a6) drop-shadow(0 13px 12px #594e3340); }
.class-labels button { font-family: inherit; line-height: 1.4; transition: color .16s, background .16s, border-color .16s; }
.class-labels button:hover, .class-labels button.is-active { color: #9c343a; border-color: #c99b49; background: #fff2bd; box-shadow: 0 2px 7px #b88a3726; }
.character-stage { touch-action: pan-y; }.stage-spark { pointer-events: none; }
.nav-actions { align-items: center; }
.nav-download { display: inline-flex; align-items: center; gap: 6px; background: #fff1c9; border-color: #dbb35f; }
.language-picker { position: relative; flex: 0 0 auto; font-size: .75rem; color: #6e503c; }
.language-picker summary { display: flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; padding: 7px 9px; border: 1px solid #ddc797; border-radius: 18px; background: #fff9e9; }
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker summary::marker { content: ""; }
.language-picker summary:focus-visible { outline: 3px solid #267e73; outline-offset: 3px; }
.language-picker img { display: block; border-radius: 2px; box-shadow: 0 0 0 1px #896d4633; object-fit: cover; }
.language-options { position: absolute; z-index: 40; right: 0; top: calc(100% + 8px); width: 155px; padding: 6px; border: 1px solid #ddc797; border-radius: 13px; background: #fffaf0; box-shadow: 0 8px 22px #6d4b3126; }
.language-options button { display: flex; gap: 10px; align-items: center; width: 100%; padding: 10px 8px; border: 0; border-radius: 8px; background: transparent; text-align: left; color: inherit; }
.language-options button:hover, .language-options button[aria-pressed=true] { background: #fae9b9; color: #983a3d; }
.download-emblem { display: grid; place-items: center; width: 64px; height: 64px; margin: 15px 0 20px; color: #a8463f; border: 1px solid #e8cc8d; border-radius: 20px; background: #fff0c5; box-shadow: inset 0 1px #fff; }
.download-platform { width: fit-content; color: #467464; background: #eaf2e5; padding: 5px 12px; border-radius: 15px; font-size: .75rem; margin-block: 16px 22px; }
.download-card .secure-note { margin-top: 16px; }
.download-card button:disabled { cursor: default; }
.character-actions { display: flex; justify-content: center; gap: 14px; flex: 0 0 auto; margin-top: 15px; padding-bottom: 5px; }
.character-actions .button { min-width: 166px; min-height: 44px; padding: 9px 22px; font-size: .875rem; border-radius: 13px; }
.button-discord { color: #fffdf4; border-color: #e1bd82; background: linear-gradient(#8584ce, #6664aa 65%, #585496); box-shadow: inset 0 1px #b4b0e3, 0 4px 0 #454073, 0 7px 15px #594d8a26; text-shadow: 0 1px 1px #464174; }
.button-discord:hover { filter: brightness(1.08); transform: translateY(-2px); }
.button-discord:active { transform: translateY(3px); box-shadow: inset 0 1px 4px #46417440, 0 1px #454073; }
.button-discord:disabled { cursor: default; opacity: .8; }
html[lang=th] { font-family: "Leelawadee UI", Tahoma, "Segoe UI", sans-serif; }
html[lang=th] h1, html[lang=th] h2 { letter-spacing: 0; line-height: 1.45; }
html[lang=th] .spring-greeting p { white-space: normal; line-height: 1.3; }
@media(max-width:700px) { .character-actions { display: none; } }
@media(max-height:760px) and (min-width:701px) { .character-actions { margin-top: 10px; }.character-actions .button { min-height: 40px; padding-block: 7px; } }
@media(min-width:701px) and (max-width:1100px) { .character-actions { gap: 10px; }.character-actions .button { min-width: 0; max-width: 200px; flex: 1 1 0; gap: 6px; padding-inline: 8px; font-size: .75rem; white-space: nowrap; } }
@media(max-width:700px) and (max-height:680px) { .class-labels { display: flex; } }
@media(max-width:700px) { .nav-container { gap: 6px; }.brand-logo { width: 90px; height: 43px; }.nav-actions { gap: 4px; }.nav-login { font-size: .625rem; padding: 6px 7px; }.nav-download { gap: 4px; }.nav-download svg { width: 12px; height: 12px; }.language-picker { font-size: .625rem; }.language-picker summary { gap: 4px; padding: 6px; }.language-picker summary img { width: 18px; height: 12px; }.language-options { font-size: .8125rem; }.download-emblem { margin-block: 12px; width: 54px; height: 54px; }.download-card .card-subtitle { display: block; margin-bottom: 10px; }.download-platform { margin-block: 12px 18px; } }
@media(max-width:700px) { .character-stage { overflow-x: clip; }.class-portrait { width: 49%; height: 100%; }.portrait-assassin { bottom: 4%; }.portrait-biochemist { bottom: 4%; }.class-portrait.is-highlighted { transform: translateY(-3px) scale(1.045); } }
@media(prefers-reduced-motion:reduce) { html:not([data-effects=on]) .class-portrait { transition: none!important; } html:not([data-effects=on]) .class-portrait.is-highlighted { transform: none; } }
