/* Sign-in, sign-up and the signed-in placeholder. Uses the tokens from site.css. */

body.auth { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.auth .stars { position: fixed; inset: 0; z-index: 0; }

.auth-top {
  position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center;
  width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 22px var(--gut);
}
.auth-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--mute); transition: color .15s; }
.auth-back:hover { color: var(--text); }
.auth-back i { font-size: 12px; transition: transform .15s; }
.auth-back:hover i { transform: translateX(-3px); }

.auth-main { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px var(--gut) 40px; }

.auth-card {
  width: 100%; max-width: 440px; padding: 32px;
  background: rgb(14 14 14 / .9); border: 1px solid rgb(255 255 255 / .1); border-radius: 22px;
  box-shadow: 0 40px 90px -40px rgb(0 0 0 / .9);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: cardIn .45s cubic-bezier(.2, .8, .2, 1);
}
.auth-card-wide { max-width: 540px; }
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } }

.auth-head { text-align: center; margin-bottom: 26px; }
.auth-mark svg { width: 48px; height: 48px; margin: 0 auto; fill: #fff; --mark-hole: #0e0e0e; }
.auth-avatar { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: #0a0a0a; font-size: 22px; font-weight: 700; }
.auth-head h1 { margin-top: 16px; font-size: 27px; font-weight: 650; letter-spacing: -0.03em; line-height: 1.15; }
.auth-head p { margin-top: 6px; color: var(--mute); font-size: 15px; }

/* alerts */
.alert { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; padding: 12px 14px; border-radius: 12px; font-size: 14px; line-height: 1.45; }
.alert i { margin-top: 2px; }
.alert-error   { background: rgb(240 82 82 / .1);  border: 1px solid rgb(240 82 82 / .32); color: #ffb3b3; }
.alert-error i { color: var(--red); }
.alert-success { background: rgb(60 207 145 / .08); border: 1px solid rgb(60 207 145 / .3); color: #b9f0d6; }
.alert-success i { color: var(--mint); }
.alert-info    { background: var(--surface); border: 1px solid var(--line-2); color: var(--text); }

/* fields */
.auth-form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.field label, .label-row { display: block; margin-bottom: 8px; font-size: 13.5px; font-weight: 550; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; }
.label-row label { margin: 0; }
.label-link { font-size: 13px; font-weight: 500; color: var(--mute); }
.label-link:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.opt { margin-left: 4px; font-size: 12px; font-weight: 400; color: var(--mute-2); }

.control { position: relative; display: flex; align-items: center; }
.control > i { position: absolute; left: 15px; font-size: 14px; color: var(--mute-2); pointer-events: none; transition: color .15s; }
.control input {
  width: 100%; height: 48px; padding: 0 46px 0 42px;
  border-radius: 12px; border: 1px solid var(--line-2); background: #0a0a0a;
  color: var(--text); font-size: 15px;
  transition: border-color .15s, box-shadow .15s;
}
.control input::placeholder { color: var(--mute-2); }
.control input:hover { border-color: #3a3a3a; }
.control input:focus { outline: none; border-color: #fff; box-shadow: 0 0 0 4px rgb(255 255 255 / .08); }
.control:focus-within > i { color: #fff; }
.control input:-webkit-autofill,
.control input:-webkit-autofill:hover,
.control input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text); caret-color: var(--text);
  box-shadow: 0 0 0 1000px #0a0a0a inset; transition: background-color 9999s;
}

.has-error .control input { border-color: rgb(240 82 82 / .75); }
.has-error .control input:focus { box-shadow: 0 0 0 4px rgb(240 82 82 / .14); }
.has-error .control > i { color: var(--red); }
.field-error { margin-top: 7px; font-size: 13px; color: #ff9b9b; }
.field-help { margin-top: 6px; font-size: 13px; }
.field-help a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.caps-hint { margin-top: 7px; font-size: 12.5px; color: var(--amber); }

.reveal {
  position: absolute; right: 6px; display: grid; place-items: center; width: 36px; height: 36px;
  border: 0; border-radius: 9px; background: none; color: var(--mute); cursor: pointer; transition: color .15s, background-color .15s;
}
.reveal:hover { color: var(--text); background: var(--surface-2); }
.match { position: absolute; right: 15px; font-size: 13px; color: var(--mint); opacity: 0; transform: scale(.5); transition: opacity .2s, transform .2s; }
.is-match .match { opacity: 1; transform: none; }

/* strength meter */
.meter { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 52px; gap: 6px; align-items: center; margin-top: 10px; }
.meter i { height: 4px; border-radius: 2px; background: var(--line-2); transition: background-color .25s; }
.meter-label { font-size: 12px; color: var(--mute); text-align: right; }
.meter[data-score="1"] i:nth-child(-n+1) { background: var(--red); }
.meter[data-score="2"] i:nth-child(-n+2) { background: var(--amber); }
.meter[data-score="3"] i:nth-child(-n+3) { background: var(--mint); }
.meter[data-score="4"] i:nth-child(-n+4) { background: var(--mint); }
.rules-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; padding: 0; font-size: 12.5px; color: var(--mute-2); }
.rules-list i { margin-right: 6px; font-size: 10px; opacity: .5; }
.rules-list li { transition: color .2s; }
.rules-list li.ok { color: var(--mint); }
.rules-list li.ok i { opacity: 1; }

/* checkbox */
.check { position: relative; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--mute); cursor: pointer; user-select: none; }
.check input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.check .box { display: grid; place-items: center; width: 20px; height: 20px; flex: none; border-radius: 6px; border: 1px solid var(--line-2); background: #0a0a0a; transition: background-color .15s, border-color .15s; }
.check .box i { font-size: 11px; color: #0a0a0a; opacity: 0; transform: scale(.4); transition: opacity .15s, transform .15s; }
.check:hover .box { border-color: #4a4a4a; }
.check input:checked + .box { background: #fff; border-color: #fff; }
.check input:checked + .box i { opacity: 1; transform: none; }
.check input:focus-visible + .box { outline: 2px solid #fff; outline-offset: 2px; }

/* submit */
.auth-submit { width: 100%; height: 50px; margin-top: 4px; }
.auth-submit i { font-size: 13px; transition: transform .15s; }
.auth-submit:hover i.fa-arrow-right { transform: translateX(3px); }
.auth-submit.is-busy { opacity: .85; pointer-events: none; }
.auth-submit.is-busy i::before { content: "\f110"; }
.auth-submit.is-busy i { animation: spin .8s linear infinite; }

.auth-fine { margin-top: -4px; text-align: center; font-size: 12.5px; color: var(--mute-2); }
.auth-switch { margin-top: 22px; font-size: 14.5px; color: var(--mute); text-align: center; }
.auth-switch a { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; transition: text-decoration-color .15s; }
.auth-switch a:hover { text-decoration-color: #fff; }

/* signed-in summary */
.who { margin: 0 0 20px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.who div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 14px; border-top: 1px solid var(--line); font-size: 14px; }
.who div:first-child { border-top: 0; }
.who dt { color: var(--mute); }
.who dd { margin: 0; text-align: right; overflow-wrap: anywhere; }

.auth-foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; padding: 18px var(--gut) 24px; font-size: 13px; color: var(--mute-2); }
.auth-foot a:hover { color: var(--text); }

@media (max-width: 560px) {
  .auth-top { padding-top: 16px; padding-bottom: 16px; }
  .auth-main { justify-content: flex-start; padding-top: 8px; }
  .auth-card { padding: 24px 20px; border-radius: 18px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .auth-head h1 { font-size: 24px; }
}

/* two-step sign-in */
.mfa-ico { font-size: 22px; }
.control input.mfa-code { padding-right: 16px; font-size: 22px; letter-spacing: .25em; text-align: center; padding-left: 42px; }
.mfa-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; font-size: 13.5px; }
.mfa-links a { font-weight: 500; }
.fg-wait { color: var(--mute); }
.fg-wait b { color: var(--text); font-variant-numeric: tabular-nums; }
.fg-note { margin-top: 16px; }
.fg-note a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.tg-wait { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 13px 15px; border-radius: 12px; background: #111; border: 1px solid rgb(255 255 255 / .1); font-size: 14px; color: rgb(255 255 255 / .8); }
.tg-wait a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.tg-spin { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 2px solid rgb(255 255 255 / .2); border-top-color: #fff; animation: spin .8s linear infinite; }
.tg-wait.is-ok { border-color: rgb(60 207 145 / .4); color: #c4f2dc; }
.tg-wait.is-ok .tg-spin { border-color: var(--mint); border-top-color: transparent; }
.tg-wait.is-bad { border-color: rgb(240 82 82 / .4); color: #ffc2c2; }
.tg-wait.is-bad .tg-spin { display: none; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ======================= forgot password ======================= */

.fg-card { max-width: 480px; }

/* the three-stop path at the top */
.fg-path { position: relative; display: flex; justify-content: space-between; margin: 0 6px 44px; padding: 0; list-style: none; }
.fg-path::before, .fg-path::after { content: ""; position: absolute; top: 13px; left: 14px; height: 2px; border-radius: 2px; }
.fg-path::before { right: 14px; background: var(--line-2); }
.fg-path::after { width: 0; background: var(--mint); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.fg-card[data-step="code"] .fg-path::after { width: calc(50% - 14px); }
.fg-card[data-step="done"] .fg-path::after { width: calc(100% - 28px); }
.fg-path li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; width: 28px; }
.fg-path small { position: absolute; top: 36px; left: 50%; transform: translateX(-50%); font-size: 12px; color: var(--mute-2); white-space: nowrap; }
.fg-path li:first-child small { left: 0; transform: none; }
.fg-path li:last-child small { left: auto; right: 0; transform: none; }
.fg-node {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: #0e0e0e; border: 2px solid var(--line-2); color: var(--mute); font-size: 12px; font-weight: 700;
}
.fg-path li.is-now .fg-node { border-color: #fff; color: #fff; box-shadow: 0 0 0 5px rgb(255 255 255 / .07); animation: fgPulse 2s ease-in-out infinite; }
.fg-path li.is-now small { color: var(--text); }
.fg-path li.is-done .fg-node { background: var(--mint); border-color: var(--mint); color: #062b1c; }
.fg-path li.is-done small { color: var(--mute); }
@keyframes fgPulse { 50% { box-shadow: 0 0 0 9px rgb(255 255 255 / .02); } }

.fg-head { margin-bottom: 22px; }
.fg-head h1 { font-size: 30px; font-weight: 650; letter-spacing: -0.035em; line-height: 1.1; }
.fg-head p { margin-top: 8px; color: var(--mute); font-size: 15px; line-height: 1.55; }
.fg-head p b { color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.fg-chip { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 600; color: var(--text); }
.fg-chip .fa-telegram { color: #2aabee; }

/* route tiles */
.fg-routes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.fg-routes legend { margin-bottom: 8px; padding: 0; font-size: 13.5px; font-weight: 550; }
.fg-route {
  position: relative; display: grid; align-content: start; gap: 6px; padding: 16px 14px 15px; border-radius: 16px; cursor: pointer;
  background: #0d0d0d; border: 1px solid var(--line-2); transition: border-color .2s ease, background-color .2s ease, transform .15s ease;
}
.fg-route:hover { border-color: #3a3a3a; }
.fg-route:active { transform: scale(.985); }
.fg-route input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fg-route-ico { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 6px; border-radius: 12px; background: #181818; border: 1px solid var(--line-2); font-size: 18px; color: var(--text); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.fg-tg .fg-route-ico { color: #2aabee; }
.fg-route b { font-size: 15.5px; font-weight: 650; }
.fg-route small { font-size: 12.5px; line-height: 1.45; color: var(--mute-2); }
.fg-route em { position: absolute; top: 14px; right: 14px; padding: 2px 8px; border-radius: 999px; background: rgb(60 207 145 / .12); color: var(--mint); font-style: normal; font-size: 11px; font-weight: 600; }
.fg-tick { position: absolute; right: 14px; bottom: 14px; font-size: 17px; color: #fff; opacity: 0; transform: scale(.5); transition: opacity .2s, transform .25s cubic-bezier(.2, .8, .2, 1); }
.fg-route:has(input:checked) { border-color: #fff; background: #141414; }
.fg-route:has(input:checked) .fg-tick { opacity: 1; transform: none; }
.fg-route:has(input:checked) .fg-route-ico { transform: rotate(-8deg) scale(1.06); }
.fg-route:has(input:checked) em { opacity: 0; }
.fg-route:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 3px; }

/* six code boxes over one real input */
.fg-otp { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 14px repeat(3, minmax(0, 1fr)); gap: 8px; align-items: center; }
.fg-otp .fg-otp-real { grid-column: 1 / -1; width: 100%; height: 56px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: #0a0a0a; color: var(--text); font: 600 22px var(--mono); letter-spacing: .4em; text-align: center; }
.fg-otp:not(.is-js) .fg-cell, .fg-otp:not(.is-js) .fg-dash { display: none; }
.fg-otp.is-js .fg-otp-real { position: absolute; inset: 0; z-index: 2; height: 100%; opacity: 0; font-size: 16px; caret-color: transparent; cursor: text; }
.fg-cell {
  position: relative; display: grid; place-items: center; height: 60px; border-radius: 14px;
  background: #0a0a0a; border: 1px solid var(--line-2); font: 600 26px var(--mono); color: #fff;
  transition: border-color .15s, background-color .15s, transform .15s;
}
.fg-cell.is-full { border-color: #4a4a4a; background: #111; animation: fgPop .18s ease; }
.fg-cell.is-cur { border-color: #fff; box-shadow: 0 0 0 4px rgb(255 255 255 / .07); }
.fg-cell.is-cur:empty::after { content: ""; width: 2px; height: 26px; border-radius: 1px; background: #fff; animation: fgCaret 1s steps(1) infinite; }
.fg-otp.is-complete .fg-cell { border-color: rgb(60 207 145 / .6); }
.fg-dash { height: 2px; border-radius: 1px; background: var(--line-2); }
@keyframes fgPop { 50% { transform: scale(1.06); } }
@keyframes fgCaret { 50% { opacity: 0; } }
.has-error .fg-cell { border-color: rgb(240 82 82 / .6); }
.fg-help { margin-top: 8px; font-size: 12.5px; color: var(--mute-2); }
.fg-meter { margin-top: 10px; }

/* done: the keyhole unlocks */
.fg-done { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 6px 0 4px; }
.fg-done h1 { margin-top: 8px; font-size: 30px; font-weight: 650; letter-spacing: -0.035em; }
.fg-done p { max-width: 340px; color: var(--mute); font-size: 15px; line-height: 1.55; }
.fg-done .auth-submit { margin-top: 14px; }
.fg-done > *:not(.fg-lock) { animation: fgUp .5s .9s both cubic-bezier(.2, .8, .2, 1); }
.fg-lock svg { width: 104px; height: 104px; overflow: visible; }
.fg-ring { fill: none; stroke: var(--mint); stroke-width: 2.5; stroke-dasharray: 183; stroke-dashoffset: 183; transform: rotate(-90deg); transform-origin: 32px 32px; animation: fgDraw .8s .1s forwards cubic-bezier(.65, 0, .35, 1); }
.fg-disc { fill: #fff; transform-origin: 32px 32px; animation: fgScale .45s .2s both cubic-bezier(.2, .9, .3, 1.3); }
.fg-hole { fill: #0e0e0e; transform-origin: 32px 31px; animation: fgTurn .55s .75s forwards cubic-bezier(.3, 1.4, .5, 1); }
@keyframes fgDraw { to { stroke-dashoffset: 0; } }
@keyframes fgScale { from { transform: scale(0); } }
@keyframes fgTurn { to { transform: rotate(90deg); } }
@keyframes fgUp { from { opacity: 0; transform: translateY(10px); } }

@media (max-width: 560px) {
  .fg-routes { grid-template-columns: 1fr; }
  .fg-route { grid-template-columns: 42px 1fr; column-gap: 12px; align-items: center; }
  .fg-route-ico { grid-row: span 2; margin: 0; }
  .fg-cell { height: 52px; font-size: 22px; }
  .fg-otp { gap: 6px; grid-template-columns: repeat(3, minmax(0, 1fr)) 8px repeat(3, minmax(0, 1fr)); }
  .fg-head h1, .fg-done h1 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .fg-ring { stroke-dashoffset: 0; }
  .fg-hole { transform: rotate(90deg); }
}

/* ---- live code check ---- */
.fg-otp { isolation: isolate; }
.fg-cell { overflow: hidden; }
/* checking: a light sweeps across, cells breathe in turn */
.fg-scan { position: absolute; inset: -2px 0; z-index: 3; pointer-events: none; opacity: 0; border-radius: 14px;
  background: linear-gradient(100deg, transparent 0%, rgb(255 255 255 / .16) 45%, rgb(255 255 255 / .28) 50%, rgb(255 255 255 / .16) 55%, transparent 100%);
  background-size: 40% 100%; background-repeat: no-repeat; background-position: -40% 0; }
.fg-otp.is-checking .fg-scan { opacity: 1; animation: fgSweep .75s cubic-bezier(.45, 0, .55, 1) infinite; }
.fg-otp.is-checking .fg-cell { border-color: #5a5a5a; animation: fgBreathe .75s ease-in-out infinite; animation-delay: calc(var(--i) * 60ms); }
@keyframes fgSweep { to { background-position: 140% 0; } }
@keyframes fgBreathe { 50% { transform: translateY(-3px); border-color: #fff; } }

/* right: green one by one, then fold into the pill */
.fg-otp.is-ok .fg-cell { animation: fgOk .38s cubic-bezier(.2, .9, .3, 1.3) forwards; animation-delay: calc(var(--i) * 70ms); }
@keyframes fgOk { 40% { transform: scale(1.12); } to { transform: none; background: rgb(60 207 145 / .14); border-color: var(--mint); color: var(--mint); } }
.fg-verified {
  position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 14px; background: rgb(60 207 145 / .1); border: 1px solid rgb(60 207 145 / .5); color: var(--mint);
  font-size: 15px; font-weight: 650; opacity: 0; transform: scaleX(.6); pointer-events: none;
  transition: opacity .35s ease, transform .45s cubic-bezier(.2, .9, .3, 1.15);
}
.fg-verified i { font-size: 17px; transform: scale(0); transition: transform .4s .2s cubic-bezier(.2, .9, .3, 1.5); }
.fg-otp.is-verified .fg-cell, .fg-otp.is-verified .fg-dash { opacity: 0; transform: scale(.7); transition: opacity .25s, transform .3s; }
.fg-otp.is-verified .fg-verified { opacity: 1; transform: none; }
.fg-otp.is-verified .fg-verified i { transform: none; }
.fg-otp.is-verified .fg-otp-real { pointer-events: none; }

/* wrong: shake, red, digits drop away */
.fg-otp.is-bad { animation: fgShake .42s cubic-bezier(.36, .07, .19, .97); }
.fg-otp.is-bad .fg-cell { border-color: rgb(240 82 82 / .75); background: rgb(240 82 82 / .08); color: #ff9b9b; }
.fg-cell.is-drop { animation: fgDrop .26s ease-in forwards; }
@keyframes fgShake { 15%, 85% { transform: translateX(-2px); } 30%, 70% { transform: translateX(5px); } 45% { transform: translateX(-7px); } 60% { transform: translateX(7px); } }
@keyframes fgDrop { to { color: transparent; transform: translateY(10px) scale(.9); } }
.fg-help.is-bad { color: #ff9b9b; }

/* the password part opens after the code is right */
.fg-pass { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .5s cubic-bezier(.2, .8, .2, 1), opacity .4s ease; }
.fg-pass-in { min-height: 0; display: grid; gap: 18px; }
.fg-pass.is-shut { grid-template-rows: 0fr; opacity: 0; pointer-events: none; }
.fg-pass.is-shut .fg-pass-in { overflow: hidden; }
.fg-pass.is-open .fg-pass-in { animation: fgUp .45s .1s both cubic-bezier(.2, .8, .2, 1); }

/* path: half way between "Code" and "New password" once verified */
.fg-card.is-verified[data-step="code"] .fg-path::after { width: calc(75% - 21px); }
.fg-card.is-verified .fg-path li:nth-child(2) .fg-node { background: var(--mint); border-color: var(--mint); color: #062b1c; animation: none; box-shadow: none; }
.fg-card.is-verified .fg-path li:nth-child(3) .fg-node { border-color: #fff; color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .fg-otp.is-checking .fg-scan, .fg-otp.is-checking .fg-cell, .fg-otp.is-bad, .fg-otp.is-ok .fg-cell { animation-duration: 1ms; animation-iteration-count: 1; }
}

/* Sign in / sign up with Telegram (login.php, register.php, telegram-login.php) */
.auth-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; font-size: 12.5px; color: rgb(255 255 255 / .38); }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: rgb(255 255 255 / .1); }
.auth-tg { display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; height: 48px; font-size: 15px; }
.auth-tg i { color: #2aabee; font-size: 18px; }
.tgl-ico { background: #2aabee; color: #fff; }
.tgl-number { display: grid; justify-items: center; gap: 2px; margin: 4px 0 18px; padding: 14px; border-radius: 14px; background: #111; border: 1px solid rgb(255 255 255 / .1); }
.tgl-number small { font-size: 12.5px; color: rgb(255 255 255 / .5); }
.tgl-number b { font: 700 44px/1.1 var(--mono, monospace); letter-spacing: .06em; color: #fff; }
.tgl-open { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.tgl-open > div:not(.tgl-qr) { flex: 1; min-width: 0; display: grid; gap: 8px; }
.tgl-qr { width: 112px; height: 112px; flex: none; padding: 6px; border-radius: 12px; background: #fff; }
.tgl-qr svg { display: block; width: 100%; height: 100%; }
@media (max-width: 420px) { .tgl-qr { display: none; } }

/* Continue with Google (google-login.php): the same outlined button as Telegram, Google's own "G" */
.auth-google .g-ico { width: 18px; height: 18px; flex: none; }
.auth-google + .auth-tg { margin-top: 10px; }
