@charset "UTF-8";

.site-shell { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.site-header { min-height: 106px; display: flex; align-items: center; gap: 34px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: 10px; font-family: var(--font-display); font-size: 29px; font-weight: 800; letter-spacing: -1.1px; }
.brand__icon { width: 39px; height: 43px; color: var(--orange); transition: transform .3s ease; }
.brand:hover .brand__icon { transform: rotate(-9deg); }
.brand__accent, .brand__dot { color: var(--orange); }
.header-note { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 12px; margin-left: 27px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #63745d10; }
.header-link { margin-left: auto; display: flex; align-items: center; gap: 13px; font-size: 13px; color: var(--muted); }
.header-link strong { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); padding: 9px 0; }
.header-link svg { width: 17px; height: 17px; transform: rotate(-35deg); transition: transform .2s; }
.header-link:hover strong { color: var(--orange-dark); }
.header-link:hover svg { transform: rotate(-35deg) translateX(3px); }

.auth-layout { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(355px, .9fr); align-items: center; gap: clamp(48px, 6.5vw, 100px); padding: 47px 0 42px; }
.welcome { min-width: 0; animation: enter-up .7s ease both; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: #966047; font-size: 10px; font-weight: 700; letter-spacing: 1.8px; }
.tiny-star { color: var(--orange); width: 16px; height: 16px; }
h1 { margin-top: 22px; font-family: var(--font-display); font-size: clamp(49px, 5.2vw, 76px); font-weight: 800; letter-spacing: -3.7px; line-height: 1.08; }
.play-word { color: var(--orange); position: relative; display: inline-block; font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-style: italic; letter-spacing: -3px; padding-right: 4px; }
.play-word svg { position: absolute; left: -4px; bottom: -10px; width: 100%; height: 15px; opacity: .75; }
.play-word path { stroke-dasharray: 270; stroke-dashoffset: 270; animation: draw-line 1s .5s ease forwards; }
.welcome__intro { margin-top: 25px; font-size: 15px; line-height: 1.8; color: var(--muted); }
.welcome__promise { display: flex; gap: 11px; align-items: center; padding-left: 9px; font-size: 12px; color: var(--muted); }
.welcome__promise strong { color: #5e574e; font-weight: 600; }
.promise-icon { width: 26px; height: 23px; color: #7a846a; }
.promise-dash { width: 47px; height: 1px; background: #bdb6a4; margin-left: 5px; transform: rotate(-5deg); }

.account-area { min-width: 0; padding-top: 15px; animation: enter-up .8s .13s ease both; scroll-margin-top: 22px; }
.account-card { background: var(--paper-light); padding: 27px 35px 0; border: 1px solid #e5dbcc; border-radius: 23px; box-shadow: 0 8px 0 -3px #ece3d4, 0 20px 50px -25px #63533b26; position: relative; }
.account-card::before { content: ""; width: 53px; height: 17px; position: absolute; top: -9px; left: 50%; margin-left: -26px; background: #eed1a99e; transform: rotate(-5deg); border-left: 1px dashed #cdb99c; border-right: 1px dashed #cdb99c; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: #f2ece2; border-radius: 10px; margin-bottom: 29px; font-size: 13px; font-weight: 600; text-align: center; }
.auth-tabs a { padding: 9px 14px; border-radius: 7px; color: #756b60; transition: color .2s, background .2s, box-shadow .2s; }
.auth-tabs a[aria-current] { background: #fffcf6; color: var(--ink); box-shadow: 0 2px 5px #8a71591a; }
.auth-tabs a:hover { color: var(--orange-dark); }
.eyebrow--small { font-size: 9px; letter-spacing: 1.65px; }
.account-card__heading h2 { position: relative; margin-top: 11px; font-family: var(--font-display); font-size: 43px; font-weight: 800; line-height: 1.08; letter-spacing: -1.8px; }
.account-card__heading > p:last-child { font-size: 13px; line-height: 1.75; color: var(--muted); margin-top: 15px; max-width: 310px; }
.heading-star { position: absolute; color: #e8ba7b; width: 24px; height: 24px; right: 12px; top: 26px; transform: rotate(12deg); }
.steam-connection { display: flex; align-items: center; justify-content: center; margin: 29px 0 27px; gap: 15px; }
.connection-icon { display: grid; place-items: center; width: 61px; height: 61px; border: 1px solid var(--line); border-radius: 17px; }
.connection-icon svg { width: 34px; height: 34px; }
.connection-icon--steam { background: #eeeee5; color: #455343; transform: rotate(-7deg); }
.connection-icon--fox { background: #fae6ce; color: var(--orange); transform: rotate(7deg); }
.connection-icon--fox svg { width: 41px; height: 41px; }
.connection-line { width: 88px; border-top: 1px dashed #c7bdab; position: relative; }
.connection-line > span { position: absolute; width: 27px; height: 23px; top: -12px; left: 30px; color: #a08f78; padding: 2px; background: var(--paper-light); }
.steam-button { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 17px 17px; border: 1px solid transparent; border-radius: 11px; background: #b8491b; box-shadow: 0 3px 0 #943916; color: #fffaf2; font-size: 15px; font-weight: 650; letter-spacing: .05px; transition: transform .2s, background .2s, box-shadow .2s; }
.steam-button__icon { width: 25px; height: 25px; flex-shrink: 0; }
.steam-button__arrow { width: 20px; height: 20px; margin-left: auto; transition: transform .25s; }
.steam-button > [data-submit-label] { flex: 1; }
.steam-button:hover { background: #a84218; transform: translateY(-2px); box-shadow: 0 5px 0 #873414, 0 12px 20px -10px #d35e3850; }
.steam-button:hover .steam-button__arrow { transform: translateX(3px); }
.steam-button:active { transform: translateY(2px); box-shadow: 0 0 0 #b44e22; }
.steam-button:disabled { opacity: .75; transform: none; }
.security-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 15px; font-size: 11px; color: #78715f; }
.security-note svg { width: 13px; height: 15px; color: var(--green); }
.availability-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 22px 0 21px; font-size: 10px; color: #7c644e; }
.availability-note > span { flex-shrink: 0; width: 5px; height: 5px; border-radius: 50%; background: #ba894f; }
.auth-status { margin: 20px 0; border: 1px solid #edd2ae; border-radius: 9px; padding: 12px 13px; background: #fff2dd; font-size: 12px; line-height: 1.6; color: #7c4b25; }
.auth-status[data-state="error"] { background: #ffede8; border-color: #eec0ad; color: #94401e; }
.auth-status[data-state="success"] { background: #edf2e7; border-color: #ccd7bd; color: #41543b; }
.authenticated-view { padding: 6px 0 28px; animation: enter-up .45s ease both; }
.session-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; margin-bottom: 27px; border: 1px solid #ccd7bd; border-radius: 30px; background: #edf2e7; color: #41543b; font-size: 11px; font-weight: 650; }
.session-badge svg { width: 16px; height: 16px; }
.session-details { display: grid; gap: 17px; padding: 19px; margin: 24px 0 16px; border: 1px solid var(--line); border-radius: 12px; background: #f7f1e7; }
.session-details dt { color: var(--muted); font-size: 10px; }
.session-details dd { margin: 4px 0 0; font-size: 15px; font-weight: 650; overflow-wrap: anywhere; }
.session-details .session-details__id { font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: .2px; }
.steam-profile-link { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-bottom: 22px; color: var(--orange-dark); font-size: 12px; font-weight: 650; }
.steam-profile-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.external-link-note { font-size: 10px; font-weight: 400; color: var(--muted); }
.auth-secondary-button { width: 100%; padding: 12px; border: 1px solid #d5c5ae; border-radius: 9px; background: transparent; color: #675340; font-size: 12px; font-weight: 600; transition: background .2s, border-color .2s; }
.auth-secondary-button:hover:not(:disabled) { background: #f4e8d7; border-color: #bca384; }
.auth-secondary-button:disabled { opacity: .65; }
.auth-retry-button { margin-bottom: 22px; }
.account-switch { border-top: 1px solid var(--line); margin: 0 -35px; padding: 19px 12px 20px; display: flex; justify-content: center; flex-wrap: wrap; gap: 5px 7px; font-size: 11px; color: var(--muted); }
.account-switch a { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--orange-dark); }
.account-switch svg { width: 14px; height: 14px; }
.account-switch a:hover { text-decoration: underline; text-underline-offset: 3px; }
.steam-info { margin: 22px 6px 0; color: var(--muted); font-size: 11px; line-height: 1.75; }
.steam-info summary { display: flex; align-items: center; justify-content: center; gap: 12px; cursor: pointer; list-style: none; width: fit-content; margin: 0 auto; padding: 3px; }
.steam-info summary::-webkit-details-marker { display: none; }
.details-plus { color: #9e8d74; font-size: 19px; line-height: 1; transition: transform .2s; }
.steam-info[open] .details-plus { transform: rotate(45deg); }
.steam-info > p { padding: 14px 12px 0; max-width: 360px; margin: 0 auto; }
.onboarding-steps { list-style: none; padding: 0; margin: 24px 0 26px; display: grid; gap: 16px; }
.onboarding-steps li { display: flex; align-items: center; gap: 13px; }
.onboarding-steps li > span { display: grid; place-items: center; width: 31px; height: 31px; flex-shrink: 0; border-radius: 50%; border: 1px solid #e7d9c5; color: #a67643; font-size: 10px; font-weight: 600; font-variant-numeric: tabular-nums; }
.onboarding-steps strong { font-size: 12px; font-weight: 650; display: block; }
.onboarding-steps p { font-size: 11px; color: var(--muted); margin-top: 1px; }
body[data-page="register"] .account-card__heading h2 { font-size: 38px; }
body[data-page="register"] .account-card__heading .heading-star { right: 2px; width: 20px; }

.site-footer { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: #73695d; font-size: 10px; }
.site-footer > p { font-size: 11px; }
.site-footer > p span { color: #574e42; font-weight: 600; }
.footer-signature { display: inline-flex; align-items: center; gap: 7px; }
.footer-heart { font-size: 19px; color: #b67a52; }
.footer-year { font-size: 10px; letter-spacing: .4px; }

@keyframes enter-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes draw-line { to { stroke-dashoffset: 0; } }

@media (min-width: 1500px) {
  .site-shell { max-width: 1320px; }
  .auth-layout { padding-top: 66px; padding-bottom: 56px; }
  h1 { font-size: 79px; }
}
@media (max-width: 1160px) {
  .site-shell { width: calc(100% - 72px); }
  .header-note { display: none; }
  .auth-layout { gap: 40px; grid-template-columns: minmax(0, 1.12fr) minmax(340px, 1fr); }
  h1 { font-size: 58px; letter-spacing: -3px; }
  .account-card { padding-inline: 28px; }
  .account-switch { margin-inline: -28px; }
  .footer-signature { display: none; }
}
@media (max-width: 850px) {
  .site-shell { width: min(620px, calc(100% - 48px)); }
  .site-header { min-height: 86px; }
  .brand { font-size: 26px; }
  .brand__icon { width: 33px; height: 37px; }
  .header-link { font-size: 11px; gap: 8px; }
  .auth-layout { grid-template-columns: 1fr; gap: 25px; padding-block: 36px 38px; }
  .welcome { text-align: center; }
  .welcome > .eyebrow { justify-content: center; }
  h1 { font-size: clamp(48px, 8.2vw, 68px); }
  .welcome__intro { margin-top: 23px; font-size: 14px; }
  .welcome__promise { justify-content: center; padding: 0; }
  .account-area { width: min(440px, 100%); margin: 0 auto; padding-top: 0; }
  .account-card { text-align: left; padding: 27px 34px 0; }
  .account-switch { margin-inline: -34px; }
  .account-card__heading h2 { font-size: 42px; }
  .site-footer { align-items: flex-start; padding-block: 21px; min-height: 74px; gap: 12px; }
  .site-footer > p { max-width: 220px; }
}
@media (max-width: 480px) {
  .site-shell { width: calc(100% - 36px); }
  .site-header { min-height: 78px; }
  .header-link { font-size: 0; gap: 0; }
  .header-link strong { font-size: 12px; }
  .brand { font-size: 24px; }
  .brand__icon { width: 32px; height: 35px; }
  .auth-layout { padding-top: 30px; }
  .eyebrow { font-size: 8px; letter-spacing: 1.3px; }
  h1 { font-size: clamp(42px, 10.8vw, 54px); letter-spacing: -2.6px; margin-top: 16px; }
  .play-word { letter-spacing: -2px; }
  .welcome__intro { font-size: 12px; line-height: 1.75; }
  .welcome__promise { font-size: 10px; gap: 8px; }
  .promise-dash { width: 23px; }
  .account-card { padding-inline: 23px; border-radius: 19px; }
  .account-card__heading h2 { font-size: 38px; }
  .account-switch { margin-inline: -23px; }
  .account-card__heading > p:last-child { font-size: 12px; }
  .availability-note { font-size: 9px; }
  .steam-button { font-size: 14px; padding: 16px 14px; gap: 10px; }
  .site-footer { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
  .site-footer > p { max-width: none; }
}

@media (max-width: 360px) {
  h1 { font-size: 36px; letter-spacing: -1.8px; }
  .play-word { letter-spacing: -1.8px; }
}
