/* 2026-11-12 onboarding. First screen: 게스트로 시작 (gold) / 로그인 (slate). Guest start runs the tutorial before any account;
   after it, nickname -> age -> consent. Same sizes and colors as the previous 회원가입/로그인 pair (buttons-unify-20261018.css). */
html body .account-entry070 .account-entry-card070:has(button[data-account-action="guest-start"]){width:min(100%,400px)!important;padding:18px 22px 14px!important;gap:12px!important}
html body .account-entry070 nav.account-actions070:has(>button[data-account-action="guest-start"]){gap:10px!important}
html body .account-entry070 nav.account-actions070>button[data-account-action="guest-start"]{width:140px;height:40px!important;min-height:40px!important;padding:0 12px!important;font-size:14px!important;border-radius:8px!important;border:1px solid #FFE7A0!important;border-image:none!important;background:linear-gradient(180deg,#F0C060,#D9A23F)!important;color:#1A1408!important;text-shadow:0 1px 0 rgba(255,240,200,.45)!important;box-shadow:inset 0 1px 0 rgba(255,250,220,.55),0 3px 0 #6b4c16!important;font-weight:700}
html body .account-entry070 nav.account-actions070>button[data-account-action="guest-start"]:active{transform:translateY(2px);box-shadow:inset 0 2px 3px rgba(0,0,0,.3)!important}
html body .account-entry070 nav.account-actions070>button[data-account-action="guest-start"]:disabled{filter:grayscale(.6) brightness(.8)}
#accountWelcome070 .account-start-note20261112{margin:0;text-align:center;color:#b9ccd5;font-size:12px;line-height:1.5}
#accountWelcome070 .account-nickname-chosen20261112{margin:2px 0 0;color:#ffdc82;font-size:13px}
#accountWelcome070 .account-install070{gap:16px}
/* Nickname step: same box as the age/consent form (auth070.css .account-legal070). */
#accountWelcome070 .account-nickname20261112{display:grid;gap:8px;padding:14px;border:1px solid #637d87;border-radius:8px;background:#091c29;font-size:13px;line-height:1.5;min-width:0}
#accountWelcome070 .account-nickname20261112>*{min-width:0;box-sizing:border-box}
#accountWelcome070 .account-nickname20261112 p{margin:0}
#accountWelcome070 .account-nickname20261112>label:first-child{color:#ece6d6;font-weight:700}
#accountWelcome070 .account-nickname20261112 input:not([type=checkbox]){width:100%;min-height:44px;padding:0 12px;font:inherit;font-size:16px;color:#fff;background:#081619;border:1px solid #b89a59;border-radius:8px}
#accountWelcome070 .account-nickname-note20261112{color:#b9ccd5;font-size:12px}
#accountWelcome070 .account-nickname-confirm20261112{display:flex;gap:8px;align-items:center;min-height:44px;cursor:pointer}
#accountWelcome070 .account-nickname-confirm20261112 input{width:18px;height:18px;accent-color:#e9c176;flex-shrink:0}
#accountWelcome070 .account-nickname20261112 [role=status]{color:#ffb5a1}
#accountWelcome070 .account-nickname20261112 [role=status]:empty{display:none}
#accountWelcome070 .account-nickname20261112 button.account-nickname-next20261112{min-height:44px;border:1px solid #FFE7A0;border-radius:8px;background:linear-gradient(180deg,#F0C060,#D9A23F);color:#1A1408;font:inherit;font-weight:700;box-shadow:inset 0 1px 0 rgba(255,250,220,.55),0 3px 0 #6b4c16;cursor:pointer}
#accountWelcome070 .account-nickname20261112 button.account-nickname-next20261112:active{transform:translateY(2px);box-shadow:inset 0 2px 3px rgba(0,0,0,.3)}
#accountWelcome070 .account-nickname20261112 button.account-nickname-next20261112:disabled{filter:grayscale(.7) brightness(.75);cursor:default;transform:none}
/* First story hints (onboarding-20261112.js): same look as the trial-battle notice line; appear/disappear only. */
.story-hint20261112{position:fixed;z-index:61;top:0;left:50%;transform:translateX(-50%);max-width:calc(100vw - 32px);box-sizing:border-box;
 padding:7px 14px;border-radius:8px;border:1px solid #E3B04B;background:rgba(20,28,36,.94);color:#F4D27A;font-weight:700;font-size:13px;line-height:1.35;font-family:inherit;text-align:center;
 white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s;pointer-events:none}
.story-hint20261112.show[data-fit20261112]{opacity:1;visibility:visible}
.story-hint-target20261112{outline:3px solid #FFE7A0!important;outline-offset:-3px;animation:storyHintGlow20261112 .9s ease-in-out infinite alternate}
@keyframes storyHintGlow20261112{from{filter:brightness(1);outline-color:#D9A23F}to{filter:brightness(1.3);outline-color:#FFE7A0}}
@media (prefers-reduced-motion:reduce){.story-hint-target20261112{animation:none}}
/* Nickname step on short landscape screens: same two-column signup layout as age/consent (signup-fit-20261017). */
@media (min-width:480px) and (max-height:500px){
 #accountWelcome070:has([data-signup-step]) .account-nickname20261112{grid-column:2;grid-row:1/6;gap:4px;padding:10px;align-self:stretch;align-content:center}
 #accountWelcome070 .account-nickname-confirm20261112{min-height:36px}
}
/* Consent step on short landscape screens: legal-amendment-20261021 places required consents (col 1) and the optional note (col 2)
   on the same rows, but signup-fit-20261017 stretched every child to full width, so the two blocks were drawn on top of each other.
   Keep the amendment's two columns here. */
@media (min-width:480px) and (max-height:500px){
 #accountWelcome070 .account-legal070[data-signup-step=consent]>h2,
 #accountWelcome070 .account-legal070[data-signup-step=consent]>.signup-required-consents{grid-column:1}
 #accountWelcome070 .account-legal070[data-signup-step=consent]>.legal-amendment-details20261028:not([open]){grid-column:2}
 #accountWelcome070 .account-legal070[data-signup-step=consent]>.signup-optional-note{grid-column:2;border-top:0;padding-top:0;padding-left:10px;border-left:1px solid #665b4b}
 #accountWelcome070 .account-legal070[data-signup-step=consent]>button:last-child{grid-column:1/-1}
}
/* Tutorial free fight: the coach card sits beside the player's castle, where the player's unit feed (#mergeFeedMine) appears.
   Hide that feed while the card is up so the two never overlap. */
body:has(#tutorial260:not([hidden]):is([data-step="play"],[data-step="ready"],[data-step="solo"],[data-step="victory"])) #mergeFeedMine{visibility:hidden}
