:root {
  color-scheme: dark;
  --bg: #11131d; --panel: #1c1f2c; --panel-2: #161924; --line: #303445;
  --text: #f2f3f5; --muted: #b5bacb; --subtle: #9b9fb3;
  --blurple: #5865f2; --blurple-hover: #4752c4; --green: #43b581; --danger: #da373c;
  --ease-ui: cubic-bezier(.2, .75, .25, 1);
  font-family: 'Segoe UI', Helvetica, Arial, sans-serif; font-synthesis: none; font-size: 14px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
body::before { content: ''; position: fixed; inset: auto 0 0; height: 420px; background: url('/assets/welcome-scene.png') center bottom / cover no-repeat; mask-image: linear-gradient(to bottom, transparent, #000 55%); opacity: .13; pointer-events: none; z-index: -1; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:disabled { cursor: default; }
button:focus-visible, a:focus-visible { outline: 2px solid #b4bcff; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 36px; line-height: 1.2; font-weight: 650; letter-spacing: -1px; }
h2 { font-size: 19px; font-weight: 600; letter-spacing: -.3px; }
h3 { font-size: 19px; font-weight: 650; }
svg.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 12px; line-height: 1.5; }
.tiny-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; background: var(--green); flex: none; }
.shell { min-height: 100vh; }
.site-header { border-bottom: 1px solid #282c3c; background: #11131dec; }
.header-inner { max-width: 1210px; min-height: 78px; margin: auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 18px; font-weight: 650; letter-spacing: -.5px; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.brand span { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.navigation { display: flex; align-items: center; gap: 5px; }
.nav-button { display: flex; align-items: center; justify-content: center; gap: 7px; background: none; border: 1px solid transparent; padding: 10px 12px; color: var(--subtle); border-radius: 7px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.nav-button .icon { width: 16px; height: 16px; }
.nav-button.active { color: #dfe2ff; background: #5865f215; border-color: #5865f23d; }
.nav-button:hover { color: var(--text); background: #252939; }
.header-tools { display: flex; align-items: center; gap: 13px; }
.discord-link { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; color: #c5caff; white-space: nowrap; }
.discord-link .icon { width: 19px; height: 19px; }
.discord-link .external-icon { width: 12px; height: 12px; color: var(--subtle); }
.discord-link:hover { color: white; }
.header-avatar { width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; background: #303446; overflow: hidden; flex: none; }
.header-avatar img { width: 100%; height: 100%; object-fit: cover; }
.header-avatar .icon { width: 16px; height: 16px; color: var(--muted); }
.icon-button { border: 0; background: none; color: var(--subtle); border-radius: 5px; padding: 5px; display: inline-flex; align-items: center; justify-content: center; }
.icon-button:hover { background: #303446; color: var(--text); }
.icon-button .icon { width: 15px; height: 15px; }
.main-content { max-width: 1110px; margin: auto; padding: 38px 32px 0; }
.hero { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin: 0 0 32px; min-height: 118px; }
.eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: #b4bcff; font-size: 9px; letter-spacing: 1px; font-weight: 600; margin-bottom: 13px; }
.eyebrow .icon { width: 16px; height: 16px; }
.mode-badge { display: inline-flex; align-items: center; font-size: 9px; font-weight: 400; letter-spacing: 0; color: var(--muted); border: 1px solid #3b4054; border-radius: 4px; padding: 3px 6px; margin-left: 7px; white-space: nowrap; }
.hero-copy p { color: var(--muted); font-size: 13px; line-height: 1.7; margin-top: 11px; max-width: 570px; }
.hero-mascot { object-fit: contain; width: 108px; height: 108px; margin-right: 12px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0,1fr) 294px; gap: 24px; align-items: start; }
.main-column { min-width: 0; }
.verification-card, .next-card, .profile-card, .access-card, .detail-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.verification-card { padding: 28px; border-top: 2px solid #6873f6; }
.card-heading { display: flex; align-items: center; gap: 12px; }
.square-icon { display: grid; place-items: center; height: 40px; width: 40px; border-radius: 10px; background: #5865f21c; color: #b4bcff; flex: none; }
.card-kicker { display: block; font-size: 9px; font-weight: 500; letter-spacing: 1px; color: var(--subtle); margin-bottom: 5px; }
.progress-label { font-size: 10px; color: var(--subtle); margin-left: auto; white-space: nowrap; font-variant-numeric: tabular-nums; }
.steps { display: flex; align-items: center; gap: 10px; margin: 30px 0 26px; }
.step { display: flex; align-items: center; gap: 7px; color: var(--subtle); font-size: 10px; white-space: nowrap; }
.step-number { display: grid; place-items: center; height: 24px; width: 24px; border-radius: 50%; border: 1px solid #454a60; color: var(--subtle); font-size: 9px; }
.step.current { color: #dfe2ff; }
.step.current .step-number { background: var(--blurple); border-color: var(--blurple); color: white; }
.step.complete .step-number { background: #43b58112; border-color: #43b58158; color: #8bd9b0; }
.step-line { height: 1px; background: #373c50; flex: 1; min-width: 8px; }
.account-confirmation { display: flex; align-items: center; gap: 12px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 15px; margin-bottom: 23px; }
.account-confirmation>.icon { width: 26px; height: 26px; color: #9ea8ff; }
.account-confirmation>div { flex: 1; min-width: 0; }
.account-confirmation strong { display: block; font-size: 12px; font-weight: 600; }
.account-confirmation span:not(.connection-pill) { display: block; margin-top: 5px; font-size: 10px; color: var(--subtle); }
.connection-pill { color: #99d9b6; background: #43b58110; border: 1px solid #43b58135; border-radius: 5px; padding: 4px 7px; font-size: 9px; }
.connection-pill.pending { background: #303446; border-color: #464b61; color: var(--muted); }
.verification-description { font-size: 13px; line-height: 1.7; color: var(--muted); margin-bottom: 20px; }
.primary-button { width: 100%; min-height: 43px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 7px; padding: 12px 18px; background: var(--blurple); color: white; font-size: 13px; font-weight: 600; transition: background 140ms, transform 120ms var(--ease-ui); }
.primary-button:hover { background: var(--blurple-hover); }
.primary-button .icon { height: 17px; width: 17px; }
.primary-button>span { min-width: 0; overflow-wrap: anywhere; }
.button-spinner { display: none; width: 16px; height: 16px; border: 2px solid #ffffff45; border-top-color: currentColor; border-radius: 50%; flex: none; }
#connect-button[aria-busy="true"]>.icon { display: none; }
#connect-button[aria-busy="true"]>.button-spinner { display: inline-block; }
.primary-button:disabled, .primary-button:disabled:hover { background: #333b65; color: #a0a8cf; }
.primary-button.compact { width: max-content; }
.permission-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 10px; color: var(--subtle); margin-top: 14px; line-height: 1.5; }
.permission-note .icon { width: 12px; height: 12px; }
.next-card { padding: 23px 26px; margin-top: 18px; background: #181b27; }
.next-card h2 { font-size: 14px; }
.next-card p { font-size: 12px; line-height: 1.8; color: var(--muted); max-width: 500px; margin-top: 10px; }
.text-button { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 11px; color: #b4bcff; text-align: left; background: none; border: 0; padding: 0; }
.text-button:hover { text-decoration: underline; }
.text-button .icon { width: 13px; height: 13px; }
.next-card>.text-button { margin-top: 14px; }
.right-column { display: flex; flex-direction: column; gap: 18px; }
.profile-card { position: relative; overflow: hidden; padding: 20px; }
.small-card-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.small-card-title h2 { font-size: 13px; font-weight: 600; }
.small-card-title .icon { width: 15px; height: 15px; color: var(--subtle); }
.profile-banner { display: flex; align-items: center; justify-content: flex-end; gap: 7px; height: 54px; background: #2d3357; color: #bdc3fa; margin: 17px -20px 0; padding: 0 20px; }
.profile-banner .icon { width: 15px; height: 15px; }
.profile-banner span { font-size: 8px; letter-spacing: .9px; }
.profile-avatar { position: relative; display: grid; place-items: center; width: 67px; height: 67px; border: 5px solid var(--panel); background: #303446; border-radius: 50%; margin: -28px 0 10px; }
.profile-avatar>img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.profile-avatar>.icon { width: 26px; height: 26px; color: var(--muted); }
.avatar-dot { position: absolute; width: 15px; height: 15px; border: 3px solid var(--panel); border-radius: 50%; bottom: 0; right: -1px; background: var(--subtle); }
.profile-avatar.connected .avatar-dot { background: var(--green); }
.profile-card h3 { font-size: 18px; }
.profile-card>p.muted { font-size: 11px; margin-top: 6px; overflow-wrap: anywhere; }
.profile-status { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 10px; margin: 16px 0 20px; }
.profile-id { position: relative; border-top: 1px solid var(--line); padding-top: 14px; }
.profile-id>span { display: block; color: var(--subtle); font-size: 8px; font-weight: 500; letter-spacing: .7px; }
.profile-id strong { display: block; font-size: 11px; font-weight: 400; color: #dfe1ed; margin-top: 9px; padding-right: 20px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.profile-id .icon-button { position: absolute; right: -5px; bottom: -4px; }
.profile-id .icon-button .icon { width: 13px; height: 13px; }
.profile-footer { display: flex; gap: 6px; align-items: center; font-size: 9px; color: var(--subtle); margin-top: 18px; }
.profile-footer .icon { width: 11px; height: 11px; }
.access-card { padding: 21px; }
.access-badge { font-size: 9px; color: var(--muted); border: 1px solid #42485d; padding: 4px 6px; border-radius: 5px; }
.access-card>.small { margin-top: 13px; font-size: 11px; }
.channel-list { display: grid; gap: 3px; margin: 12px 0; }
.channel-list>div { display: flex; align-items: center; gap: 9px; padding: 7px 0; font-size: 12px; color: var(--muted); }
.channel-hash { font-size: 18px; line-height: 1; color: var(--subtle); width: 17px; }
.channel-lock { margin-left: auto; color: var(--subtle); width: 12px !important; height: 12px !important; }
.role-preview { display: flex; align-items: center; gap: 6px; border-top: 1px solid var(--line); padding-top: 14px; font-size: 10px; color: var(--subtle); }
.role-preview>.icon { width: 13px; height: 13px; }
.role-preview strong { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; border: 1px solid #434963; border-radius: 12px; padding: 4px 7px; font-size: 9px; font-weight: 500; color: #dfe2ff; }
.role-dot { width: 6px; height: 6px; background: #858fff; border-radius: 50%; }
.help-note { display: flex; gap: 10px; padding: 0 3px; }
.help-note>.icon { width: 17px; height: 17px; margin-top: 1px; color: var(--subtle); }
.help-note strong { color: var(--muted); font-size: 11px; font-weight: 500; }
.help-note p { color: var(--subtle); font-size: 10px; line-height: 1.7; margin: 6px 0 7px; }
.help-note .text-button { font-size: 10px; }
.main-footer { display: flex; justify-content: space-between; gap: 16px; color: var(--subtle); font-size: 10px; border-top: 1px solid #2c3042; margin-top: 32px; padding: 22px 0 26px; }
.main-footer .text-button { font-size: 10px; color: var(--muted); }
.footer-separator { margin: 0 7px; color: #596078; }
.notice { padding: 13px 16px; border-radius: 8px; border: 1px solid #b5874545; background: #3b3022; color: #efd4a7; font-size: 12px; line-height: 1.6; margin-bottom: 22px; }
.notice.success { background: #1d342d; border-color: #43b58158; color: #a7e4bf; }
.secondary-view { min-height: 620px; padding-top: 20px; }
.view-description { font-size: 13px; line-height: 1.7; color: var(--muted); margin: 12px 0 28px; }
.detail-card { padding: 24px; max-width: 760px; }
.detail-card h2 { font-size: 17px; margin-top: 9px; }
.detail-card p { color: var(--muted); font-size: 12px; line-height: 1.8; margin-top: 12px; }
.detail-row { display: flex; justify-content: space-between; gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.detail-row>span { color: var(--subtle); }
.detail-row>strong { font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.secondary-button, .danger-button { min-height: 40px; padding: 10px 17px; border: 1px solid #464c62; border-radius: 7px; background: #303649; color: var(--text); font-size: 12px; font-weight: 500; }
.secondary-button:hover { background: #424960; }
.danger-button { background: #b62e3b; border-color: #b62e3b; color: white; }
.danger-button:hover { background: #972835; }
.empty-profile .primary-button { width: max-content; margin-top: 22px; }
.guide-cards { display: grid; gap: 15px; margin-bottom: 24px; }
.guide-cards .detail-card { max-width: none; display: grid; grid-template-columns: 32px 1fr; column-gap: 14px; padding: 21px 24px; }
.guide-number { grid-row: 1/3; display: grid; place-items: center; height: 29px; width: 29px; border-radius: 8px; background: #5865f220; color: #b4bcff; font-size: 13px; font-weight: 600; margin-top: 5px; }
.guide-cards h2 { margin-top: 4px; font-size: 15px; }
.guide-cards p { font-size: 12px; margin-top: 7px; }
dialog { width: calc(100% - 32px); max-width: 470px; max-height: calc(100dvh - 32px); overflow: auto; background: #1c1f2c; border: 1px solid #414760; border-radius: 14px; padding: 27px; color: var(--text); box-shadow: 0 18px 70px #0006; }
dialog::backdrop { background: #090b13bd; }
dialog>.icon-button { position: absolute; right: 14px; top: 13px; font-size: 25px; padding: 3px 8px; font-weight: 300; line-height: 1; }
dialog h2 { font-size: 23px; margin-top: 17px; font-weight: 600; letter-spacing: -.5px; }
dialog p { font-size: 13px; line-height: 1.8; color: var(--muted); margin-top: 13px; }
dialog>.primary-button { margin-top: 21px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 23px; }
.verification-dialog { padding: 26px 27px 0; max-width: 530px; border-top: 2px solid #6873f6; }
.modal-accounts { display: flex; align-items: center; justify-content: center; gap: 15px; margin-bottom: 16px; }
.modal-account-avatar { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border: 1px solid #454b64; border-radius: 14px; background: #292e40; color: var(--muted); overflow: hidden; }
.modal-account-avatar>img { width: 100%; height: 100%; object-fit: cover; }
.modal-account-avatar>.icon { width: 23px; height: 23px; }
.modal-account-link { display: flex; align-items: center; gap: 6px; color: #9ca6ff; }
.modal-account-link::before, .modal-account-link::after { content: ''; width: 16px; height: 1px; background: #5865f270; }
.modal-account-link>.icon { width: 15px; height: 15px; }
.modal-identity { display: flex; justify-content: center; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; }
.app-tag { font-size: 7px; letter-spacing: .6px; color: #b4bcff; border: 1px solid #5865f258; padding: 3px 4px; border-radius: 4px; }
.verification-dialog h2 { margin-top: 13px; text-align: center; }
.verification-dialog>p { max-width: 380px; margin: 10px auto 0; text-align: center; font-size: 12px; line-height: 1.6; }
.verification-steps { list-style: none; margin: 22px 0; padding: 0; border: 1px solid #343a50; border-radius: 10px; background: var(--panel-2); overflow: hidden; }
.verification-steps>li { display: grid; grid-template-columns: 55px minmax(0, 1fr) 18px; gap: 11px; align-items: start; padding: 17px 16px; }
.verification-steps>li+li { border-top: 1px solid #303445; }
.modal-step-label { color: #aeb6ff; font-size: 11px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.verification-steps h3 { font-size: 12px; line-height: 1.5; font-weight: 600; letter-spacing: 0; }
.step-command-highlight { color: #8ea2ff; font-weight: 800; }
.verification-steps p { font-size: 11px; line-height: 1.6; color: var(--subtle); margin-top: 5px; overflow-wrap: anywhere; }
.verification-steps>li>.icon { color: var(--subtle); width: 17px; height: 17px; margin-top: 1px; }
.verification-dialog>.reference-code-feedback { max-width: none; margin: -10px 0 18px; color: #efd4a7; font-size: 11px; line-height: 1.6; text-align: left; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; background: #181b27; margin: 0 -27px; padding: 17px 27px; border-top: 1px solid var(--line); border-radius: 0 0 14px 14px; }
.modal-actions .primary-button { width: auto; min-width: 110px; min-height: 40px; font-size: 12px; }
#copy-verification-code { min-width: 128px; }
#copy-verification-code>.icon { width: 15px; height: 15px; }
#copy-verification-code.copied { background: #24704f; }
#copy-verification-code.copied:hover { background: #1d5e42; }
.modal-actions .secondary-button { background: none; border-color: transparent; color: var(--muted); }
.modal-actions .secondary-button:hover { color: white; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #171a26; border: 1px solid #454c68; border-radius: 8px; color: #e0e3f2; padding: 13px 20px; font-size: 12px; box-shadow: 0 4px 20px #0004; z-index: 20; }

/* Short feedback follows the user's actions; content remains immediately usable. */
.nav-button, .icon-button { transition: color 140ms, background-color 140ms, border-color 140ms; }
.secondary-button, .danger-button { transition: background-color 140ms, border-color 140ms, transform 120ms var(--ease-ui); }
.step-number, .connection-pill, .avatar-dot { transition: color 180ms, background-color 180ms, border-color 180ms; }
.text-button .icon { transition: transform 140ms var(--ease-ui); }
.hero-mascot { transform-origin: 50% 75%; transition: transform 240ms var(--ease-ui); }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero-mascot:hover { transform: translateY(-3px) rotate(-3deg); }
  .text-button:hover .icon { transform: translateX(2px); }
}
@media (prefers-reduced-motion: no-preference) {
  .primary-button:active:not(:disabled), .secondary-button:active:not(:disabled), .danger-button:active:not(:disabled) { transform: translateY(1px) scale(.995); }
  .view:not(.hidden) { animation: gc-view-reveal 120ms var(--ease-ui); }
  dialog[open]:not(.is-closing) { animation: gc-dialog-reveal 180ms var(--ease-ui); }
  dialog[open]::backdrop { animation: gc-backdrop-reveal 180ms ease-out; }
  dialog.is-closing::backdrop { animation: gc-backdrop-hide 140ms ease-out forwards; }
  .notice:not(.hidden) { animation: gc-notice-reveal 160ms ease-out; }
  .toast:not(.hidden) { animation: gc-toast-reveal 160ms var(--ease-ui); }
  #connect-button[aria-busy="true"]>.button-spinner { animation: gc-spinner 750ms linear infinite; }
  .connection-confirmed #step-1.complete .step-number { animation: gc-check-confirm 280ms var(--ease-ui); }
  .connection-confirmed .account-confirmation { animation: gc-account-confirm 420ms ease-out; }
}
@keyframes gc-view-reveal { from { opacity: .6; } to { opacity: 1; } }
@keyframes gc-dialog-reveal { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: none; } }
@keyframes gc-backdrop-reveal { from { opacity: 0; } to { opacity: 1; } }
@keyframes gc-backdrop-hide { from { opacity: 1; } to { opacity: 0; } }
@keyframes gc-notice-reveal { from { opacity: 0; } to { opacity: 1; } }
@keyframes gc-toast-reveal { from { opacity: 0; transform: translate(-50%, 4px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes gc-spinner { to { transform: rotate(360deg); } }
@keyframes gc-check-confirm { 0% { transform: scale(.85); } 65% { transform: scale(1.08); } 100% { transform: scale(1); } }
@keyframes gc-account-confirm { from { border-color: #43b581; } to { border-color: var(--line); } }
@media (max-width: 1050px) {
  .header-inner { gap: 18px; padding: 0 26px; } .nav-button { padding: 10px 9px; font-size: 11px; } .discord-link span, .discord-link .external-icon { display: none; }
  .dashboard-grid { grid-template-columns: minmax(0,1fr) 274px; gap: 20px; } .verification-card { padding: 24px; } .step { font-size: 9px; gap: 5px; } .steps { gap: 6px; } .card-heading h2 { font-size: 17px; }
}
@media (max-width: 820px) {
  .header-inner { flex-wrap: wrap; padding: 18px 24px 12px; row-gap: 16px; } .brand { font-size: 17px; } .header-tools { margin-left: auto; } .navigation { order: 3; width: 100%; } .nav-button { flex: 1; font-size: 12px; }
  .main-content { padding: 30px 24px 0; } .dashboard-grid { grid-template-columns: 1fr; } .right-column { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; } .help-note { grid-column: 1/-1; }
  .steps { gap: 10px; } .step { font-size: 10px; gap: 7px; } .card-heading h2 { font-size: 19px; } .hero-copy p { font-size: 12px; max-width: 420px; }
}
@media (max-width: 520px) {
  .header-inner { padding: 15px 19px 11px; gap: 16px; } .brand { font-size: 16px; gap: 9px; } .brand img { width: 30px; height: 30px; border-radius: 9px; } .header-tools { gap: 10px; } .header-tools>.icon-button { display: none; } .header-avatar { width: 28px; height: 28px; }
  .navigation { gap: 4px; } .nav-button { padding: 9px 7px; gap: 5px; font-size: 10px; } .nav-button .icon { height: 13px; width: 13px; }
  .main-content { padding: 26px 19px 0; } .hero { gap: 9px; margin-bottom: 24px; min-height: 115px; align-items: center; } h1 { font-size: 29px; letter-spacing: -.8px; } .hero-mascot { width: 65px; height: 65px; margin: 0; } .hero-copy { min-width: 0; } .hero-copy p { font-size: 11px; line-height: 1.7; margin-top: 10px; } .eyebrow { font-size: 7px; letter-spacing: .6px; gap: 6px; margin-bottom: 10px; } .eyebrow .icon { width: 14px; height: 14px; } .mode-badge { font-size: 7px; margin-left: 0; padding: 3px 4px; }
  .verification-card { padding: 23px 19px; } .card-heading { gap: 10px; } .square-icon { height: 35px; width: 35px; border-radius: 9px; } .square-icon .icon { height: 18px; width: 18px; } .card-kicker { font-size: 7px; letter-spacing: .7px; } .card-heading h2 { font-size: 17px; line-height: 1.4; } .progress-label { font-size: 8px; }
  .steps { gap: 7px; margin: 26px 0; } .step { flex-direction: column; gap: 7px; text-align: center; white-space: normal; font-size: 9px; flex: 0 1 80px; } .step-line { margin-top: -20px; } .step-number { height: 23px; width: 23px; }
  .account-confirmation { gap: 9px; padding: 13px 11px; } .account-confirmation>.icon { width: 23px; height: 23px; } .account-confirmation strong { font-size: 11px; } .account-confirmation span:not(.connection-pill) { font-size: 9px; line-height: 1.5; } .connection-pill { font-size: 8px; padding: 4px 5px; } .verification-description { font-size: 12px; } .permission-note { font-size: 9px; align-items: flex-start; text-align: center; line-height: 1.7; } .permission-note .icon { margin-top: 2px; }
  .next-card { padding: 21px 20px; } .next-card p { font-size: 11px; } .next-card .text-button { font-size: 10px; } .right-column { grid-template-columns: 1fr; gap: 18px; } .main-footer { flex-wrap: wrap; font-size: 9px; margin-top: 28px; gap: 12px; } .main-footer .text-button { font-size: 9px; } .footer-separator { margin: 0 4px; }
  .secondary-view { min-height: 520px; padding-top: 5px; } .secondary-view h1 { font-size: 28px; } .view-description { font-size: 12px; } .detail-card { padding: 20px; } .detail-row { flex-direction: column; gap: 8px; font-size: 11px; } .detail-row>strong { text-align: left; } .guide-cards .detail-card { padding: 19px 17px; column-gap: 10px; grid-template-columns: 26px 1fr; } .guide-number { height: 25px; width: 25px; font-size: 11px; } .guide-cards h2 { font-size: 14px; } .guide-cards p { font-size: 11px; }
  dialog { padding: 23px; } dialog h2 { font-size: 22px; } dialog p { font-size: 12px; } .verification-dialog { padding: 23px 22px 0; } .modal-identity { font-size: 11px; gap: 7px; } .app-tag { font-size: 6px; letter-spacing: .4px; } .verification-steps>li { grid-template-columns: 48px minmax(0, 1fr) 15px; padding: 15px 12px; gap: 8px; } .modal-step-label { font-size: 10px; } .verification-steps h3 { font-size: 11px; } .verification-steps p { font-size: 10px; } .verification-steps>li>.icon { width: 15px; height: 15px; } .modal-actions { margin: 0 -22px; padding: 16px 22px; } .modal-actions .primary-button { min-width: 95px; }
}

/* ── Access gate ── */
.access-gate {
  display: grid;
  place-items: center;
  min-height: calc(100svh - 80px);
  padding: 40px 20px;
  box-sizing: border-box;
}
.access-gate__card {
  width: min(100%, 440px);
  box-sizing: border-box;
  padding: 32px;
  text-align: center;
  background: #1c1f2c;
  border: 1px solid #303445;
  border-top: 2px solid #5865f2;
  border-radius: 16px;
  box-shadow: 0 16px 48px #00000024;
  animation: access-gate-enter .2s ease-out;
}
.access-gate__mascot {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin: 0 auto 20px;
}
.access-gate__label {
  margin: 0 0 10px;
  color: #b4bcff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
}
.access-gate__title {
  margin: 0;
  color: #f2f3f5;
  font-size: clamp(26px, 5vw, 30px);
  font-weight: 650;
  letter-spacing: -.7px;
}
.access-gate__description {
  margin: 12px 0 24px;
  color: #b5bacb;
  font-size: 14px;
  line-height: 1.65;
}
.access-gate__channel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  margin-bottom: 20px;
  text-align: left;
  background: #161924;
  border: 1px solid #303445;
  border-radius: 10px;
}
.access-gate__hash {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  color: #b4bcff;
  background: #5865f21a;
  border-radius: 8px;
  font-size: 24px;
}
.access-gate__channel strong {
  display: block;
  color: #f2f3f5;
  font-size: 14px;
  font-weight: 600;
}
.access-gate__channel small {
  display: block;
  margin-top: 4px;
  color: #b5bacb;
  font-size: 12px;
  line-height: 1.5;
}
.access-gate__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  color: #fff;
  background: #5865f2;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background .15s ease;
}
.access-gate__button:hover { background: #4752c4; }
.access-gate__button:focus-visible { outline: 3px solid #b4bcff; outline-offset: 4px; }
.access-gate__button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.access-gate__footer {
  margin: 18px 0 0;
  color: #b5bacb;
  font-size: 12px;
  line-height: 1.5;
}
@keyframes access-gate-enter {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .access-gate__card { animation: none; }
  .access-gate__button { transition: none; }
}
@media (max-width: 480px) {
  .access-gate__card { padding: 28px 22px; }
}
@media (max-width: 370px) { .hero-mascot { display: none; } .progress-label { display: none; } .brand span { max-width: 165px; } .nav-button .icon { display: none; } .account-confirmation { flex-wrap: wrap; } .connection-pill { margin-left: 32px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after, dialog::backdrop { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
