/* Isolated login presentation; never applies to the authenticated workspace. */
.dq-login {
  --dq-ink: #152331; --dq-muted: #566477; --dq-gold: #e3c58a; --dq-line: #bbc6d1;
  position: relative; isolation: isolate; box-sizing: border-box; display: flex; flex-direction: column; align-items: stretch;
  min-height: 100vh; min-height: 100svh; padding: 44px 64px 30px; overflow: hidden;
  color: var(--dq-ink); color-scheme: light; background: #edf2f7;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.dq-login *, .dq-login *::before, .dq-login *::after { box-sizing: border-box; }
.dq-login svg { width: 22px; height: 22px; flex: none; }
.dq-login p, .dq-login h1, .dq-login h2 { margin: 0; }
.dq-space { position: absolute; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(ellipse at 76% 28%, #d5e2ee 0, transparent 52%), radial-gradient(ellipse at 13% 27%, #ffffff 0, transparent 43%), linear-gradient(145deg, #f7f9fb, #e5ebf2 75%, #e8e5dd); }
.dq-space-wall { position: absolute; width: 180%; height: 67%; left: -25%; top: -2%; border-bottom: 2px solid rgba(255,255,255,.85); transform: rotate(-12deg); background: linear-gradient(170deg, transparent 65%, rgba(255,255,255,.55)); }
.dq-space-ring { position: absolute; width: 132%; height: 42%; left: -16%; bottom: -17%; border: 2px solid rgba(255,255,255,.95); border-radius: 50%; transform: rotate(-5deg); box-shadow: 0 -12px 42px rgba(255,255,255,.55), inset 0 16px 40px rgba(255,255,255,.4); }
.dq-space-ring-two { width: 152%; left: -26%; bottom: -25%; height: 55%; border-color: rgba(206,179,121,.38); box-shadow: 0 -1px 10px rgba(222,190,133,.2); }
.dq-space-floor { position: absolute; inset: 65% 0 0; background: linear-gradient(0deg, rgba(244,248,251,.55), transparent); }
.dq-login-header { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; gap: 24px; }
.dq-login-brand { display: flex; align-items: center; gap: 14px; }
.dq-brand-mark { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #dbc18d; border-radius: 14px; background: linear-gradient(135deg,#eed9ad,var(--dq-gold)); font-size: 19px; font-weight: 750; box-shadow: inset 0 1px rgba(255,255,255,.65); }
.dq-login-brand strong { display: block; font-size: 25px; letter-spacing: -.04em; font-weight: 700; line-height: 1.45; }
.dq-login-brand div > span { display: block; font-size: 13px; color: var(--dq-muted); margin-top: 2px; }
.dq-header-caption { color: var(--dq-muted); font-size: 13px; letter-spacing: .15em; }
.dq-login-composition { width: 100%; flex: 1; position: relative; display: grid; grid-template-columns: 1fr 480px 1fr; align-items: center; gap: 48px; padding: 54px 0 64px; }
.dq-login-story { padding-left: clamp(0px,3vw,60px); position: relative; z-index: 1; animation: dq-space-enter 550ms ease-out both; }
.dq-story-rule { display: block; width: 36px; height: 3px; background: #b6965a; margin-bottom: 25px; }
.dq-login-story h2 { font-size: clamp(28px,2.5vw,45px); line-height: 1.5; font-weight: 500; letter-spacing: -.055em; }
.dq-login-story p { margin-top: 24px; color: var(--dq-muted); font-size: 15px; line-height: 1.95; letter-spacing: .04em; }
.dq-login .dq-login-panel { width: 100%; padding: 42px 40px 28px; position: relative; border: 1px solid rgba(255,255,255,.98); border-radius: 24px; background: linear-gradient(130deg,rgba(255,255,255,.95),rgba(255,255,255,.84)); color: var(--dq-ink); box-shadow: 0 25px 65px rgba(45,66,86,.13), 0 0 0 1px rgba(157,175,194,.23); z-index: 3; animation: dq-panel-enter 350ms ease-out both; }
.dq-login .dq-login-panel::before { content: ""; position: absolute; inset: 26px auto 26px -1px; width: 3px; border-radius: 3px; background: linear-gradient(var(--dq-gold),rgba(227,197,138,.1)); }
.dq-panel-symbol { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 22px; background: #f1ede3; color: #826737; border: 1px solid #e5dccb; border-radius: 12px; }
.dq-panel-symbol svg { width: 24px; height: 24px; }
.dq-login-eyebrow { color: var(--dq-muted); font-size: 11px; font-weight: 600; letter-spacing: .22em; }
.dq-login .dq-login-panel h1 { margin-top: 10px; font-size: 32px; line-height: 1.35; letter-spacing: -.04em; font-weight: 650; }
.dq-login .cc-login-copy { margin: 12px 0 32px; font-size: 14px; color: var(--dq-muted); line-height: 1.65; }
.dq-login #cc-login-form { display: grid; gap: 0; }
.dq-login #cc-login-form > label { display: block; color: #38495b; font-size: 14px; font-weight: 550; margin-bottom: 9px; }
.dq-login #cc-login-form > label:not(:first-child) { margin-top: 22px; }
.dq-login-input { display: flex; align-items: center; height: 56px; border: 1px solid var(--dq-line); border-radius: 10px; color: #566477; background: rgba(255,255,255,.8); padding: 0 14px; gap: 12px; transition: border-color 150ms, box-shadow 150ms; }
.dq-login-input:focus-within { border-color: #8c713f; box-shadow: 0 0 0 3px rgba(168,133,64,.14); }
.dq-login .dq-login-input input { display: block; flex: 1; min-width: 0; width: 100%; border: 0; border-radius: 0; padding: 0; height: 100%; background: transparent; color: var(--dq-ink); box-shadow: none; font: inherit; font-size: 16px; outline: none; }
.dq-login .dq-login-input input:focus { border: 0; box-shadow: none; }
.dq-login-input input::placeholder { color: #6b7787; opacity: 1; }
.dq-login .dq-password-toggle { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; margin: 0 -8px 0 0; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #566477; cursor: pointer; }
.dq-password-toggle:hover { background: #e9eef3; }
.dq-password-toggle.is-showing { color: #826737; background: #f4eedf; }
.dq-login .cc-form-error { min-height: 18px; margin: 10px 0 10px; font-size: 13px; line-height: 1.5; color: #a3203b; overflow-wrap: anywhere; }
.dq-login .cc-form-error[data-tone="success"] { color: #136b4c; }
.dq-login .dq-login-submit { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; height: 56px; padding: 0 18px; margin: 0; color: #fff; border: 1px solid #152331; border-radius: 10px; background: linear-gradient(135deg,#273c4e,#152331); font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; box-shadow: 0 10px 22px rgba(21,35,49,.14); transition: box-shadow 150ms, background 150ms, transform 150ms; }
.dq-login .dq-login-submit:hover:not(:disabled) { background: #2c4256; box-shadow: 0 12px 24px rgba(21,35,49,.2); }
.dq-login .dq-login-submit:active:not(:disabled) { transform: translateY(1px); box-shadow: 0 5px 14px rgba(21,35,49,.12); }
.dq-login .dq-login-submit:disabled { opacity: .65; cursor: wait; }
.dq-login a:focus-visible, .dq-login button:focus-visible { outline: 3px solid #876b36; outline-offset: 3px; }
.dq-login .ad-login-renew { display: flex; justify-content: center; align-items: center; gap: 5px; min-height: 44px; margin: 14px 0 0; color: var(--dq-muted); text-decoration: none; font-size: 14px; background: transparent; }
.dq-login .ad-login-renew svg { width: 16px; height: 16px; }
.dq-login .ad-login-renew:hover { color: var(--dq-ink); text-decoration: underline; text-underline-offset: 4px; }
.dq-panel-footer { border-top: 1px solid #e0e6ed; margin-top: 18px; padding-top: 20px; display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--dq-muted); font-size: 12px; }
.dq-panel-footer > span { width: 5px; height: 5px; background: #a2854d; border-radius: 50%; }
.dq-product-scene { position: relative; height: 450px; width: min(36vw,600px); margin-left: -18px; perspective: 1100px; pointer-events: none; animation: dq-space-enter 550ms ease-out both; }
.dq-scene-screen { position: absolute; width: 520px; height: 310px; left: 10px; top: 0; padding: 22px 30px; border: 7px solid #dbe3ea; border-radius: 17px; background: linear-gradient(145deg,#263b4c,#112330); color: #f5e9ca; box-shadow: 18px 35px 48px rgba(41,64,88,.15), inset 0 0 0 1px #8494a3; transform: rotateY(-26deg) rotateX(6deg); opacity: .84; }
.dq-scene-heading { display: flex; justify-content: space-between; font-size: 12px; color: #e1d2b6; }
.dq-scene-level { margin-top: 32px; text-align: center; font-size: 11px; letter-spacing: .15em; color: #bcc9d5; }
.dq-scene-timer { display: block; text-align: center; margin-top: 5px; font-size: 88px; line-height: 1.1; letter-spacing: -.04em; font-weight: 600; font-variant-numeric: tabular-nums; }
.dq-scene-blinds { display: flex; justify-content: center; gap: 32px; margin-top: 16px; font-size: 11px; color: #b5c3ce; }
.dq-scene-blinds b { font-size: 18px; color: #ead3a7; margin-left: 8px; font-weight: 500; }
.dq-scene-welcome { display: flex; align-items: center; gap: 9px; width: 72%; height: 34px; position: absolute; bottom: 16px; left: 14%; padding: 0 12px; border: 1px solid #526375; background: rgba(53,70,83,.96); border-radius: 8px; color: #fff4dc; font-size: 12px; }
.dq-scene-welcome > span:last-child { margin-left: auto; color: #e3c58a; }
.dq-scene-avatar { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: #d9c08d; color: #1c3041; font-weight: 600; }
.dq-scene-base { position: absolute; top: 304px; left: 170px; width: 180px; height: 18px; border-radius: 50%; background: #d2dce5; box-shadow: 0 10px 30px #bdcbd7; transform: rotate(-2deg); }
.dq-scene-feature { position: absolute; top: 338px; left: 80px; display: flex; align-items: center; gap: 18px; width: 400px; padding: 18px 22px; border-radius: 14px; border: 1px solid #fff; background: rgba(255,255,255,.65); box-shadow: 0 12px 32px rgba(57,75,93,.08); transform: rotateY(-20deg); color: #526477; }
.dq-feature-mark { font-size: 42px; color: #998050; }
.dq-scene-feature > div > span { font-size: 12px; }
.dq-scene-feature strong { margin-left: auto; font-size: 14px; font-weight: 500; }
.dq-bingo-dots { display: grid; grid-template-columns: repeat(3,8px); gap: 3px; margin-top: 7px; }
.dq-bingo-dots i { width: 8px; height: 8px; border: 1px solid #b7c2cc; border-radius: 2px; }
.dq-bingo-dots .is-lit { background: #c0a269; border-color: #c0a269; }
.dq-login-footer { display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--dq-muted); font-size: 12px; letter-spacing: .04em; }
.dq-login-footer i { width: 1px; height: 10px; background: #aab7c4; }
@keyframes dq-panel-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes dq-space-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 1450px) { .dq-login { padding-inline: 40px; } .dq-login-composition { gap: 24px; grid-template-columns: 1fr 440px 1fr; } .dq-login .dq-login-panel { padding-inline: 34px; } .dq-product-scene { transform: scale(.8); transform-origin: left center; } .dq-login-story { padding-left: 10px; } }
@media (max-width: 1180px) { .dq-login-composition { grid-template-columns: 1fr 440px 1fr; gap: 16px; } .dq-login-story h2 { font-size: 27px; } .dq-login-story p { font-size: 13px; } .dq-product-scene { opacity: .52; transform: scale(.67); margin-left: -5px; } }
@media (max-width: 900px) { .dq-login { padding: 28px 24px 22px; } .dq-header-caption, .dq-login-story, .dq-product-scene { display: none; } .dq-login-composition { display: flex; justify-content: center; padding: 42px 0; } .dq-login .dq-login-panel { max-width: 480px; padding: 36px; } .dq-login-header { justify-content: center; } .dq-space-ring { width: 190%; left: -45%; } }
@media (max-width: 480px) { .dq-login { padding: 24px 20px; } .dq-login-brand strong { font-size: 22px; } .dq-brand-mark { width: 46px; height: 46px; font-size: 17px; } .dq-login-composition { padding: 32px 0; } .dq-login .dq-login-panel { padding: 28px 24px 24px; border-radius: 20px; } .dq-login .dq-login-panel h1 { font-size: 29px; } .dq-login .cc-login-copy { font-size: 13px; margin-bottom: 28px; } .dq-panel-symbol { margin-bottom: 20px; } .dq-login .dq-login-input { gap: 9px; padding-inline: 12px; } }
@media (max-height: 760px) and (min-width: 901px) { .dq-login { padding-top: 24px; padding-bottom: 20px; } .dq-login-composition { padding-block: 28px; } .dq-login .dq-login-panel { padding-top: 28px; padding-bottom: 24px; } .dq-panel-symbol { margin-bottom: 14px; } .dq-login .cc-login-copy { margin-bottom: 22px; } }
@media (prefers-reduced-motion: reduce) { .dq-login *, .dq-login *::before, .dq-login *::after { animation: none !important; transition: none !important; } }
