/* The gate pages (sign in, plan ended, no account, offline): a quiet black-and-white scene in front of the white dashboard. */
/* The dashboard theme paints body with a high-specificity !important rule; repeating the class outranks it. */
html body.gate-on.gate-on.gate-on.gate-on { background: #050505 !important; color: #F5F5F5; }
.gate-scene { --g-ink: #F5F5F5; --g-muted: #9A9A9F; --g-line: rgba(255, 255, 255, .14); --g-line-hi: rgba(255, 255, 255, .3); --g-serif: 'Cormorant Garamond', Georgia, serif; --g-ui: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  position: relative; min-height: 100vh; overflow: hidden; color: var(--g-ink); font-family: var(--g-ui); -webkit-font-smoothing: antialiased; }
.gate-scene::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(1200px 700px at 50% 30%, #121214 0%, #050505 70%); }
.gate-scene::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1; background: radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(0, 0, 0, .55) 100%); }
#gate-fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.gate-sweep { display: none; }
.gate-wrap { position: relative; z-index: 2; min-height: 100vh; display: grid; place-items: center; padding: 32px 16px 44px; }
.gate-col { width: 100%; max-width: 460px; display: grid; justify-items: center; gap: 0; }
.gate-knot { width: 200px; height: 200px; display: block; opacity: .9; margin-bottom: -22px; animation: gate-ignite 1.6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes gate-ignite { from { transform: scale(.7); opacity: 0; filter: blur(8px); } }
.gate-card { position: relative; width: 100%; padding: 40px 40px 32px; border-radius: 20px; background: rgba(255, 255, 255, .035); border: 1px solid var(--g-line); backdrop-filter: blur(18px) saturate(120%); -webkit-backdrop-filter: blur(18px) saturate(120%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 30px 80px rgba(0, 0, 0, .6); transform-style: preserve-3d; transition: transform .15s linear; animation: gate-in 1s cubic-bezier(.2, .7, .2, 1) .2s both; }
@keyframes gate-in { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } }
.gate-tab { display: none; }
.gate-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.gate-brand .mark { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--g-line-hi); display: grid; place-items: center; flex: none; background: rgba(255, 255, 255, .04); }
.gate-brand .mark::after { display: none; }
#app .gate-brand b { display: block; font: 600 13px/1 var(--g-ui) !important; letter-spacing: .34em !important; text-transform: uppercase !important; color: var(--g-ink) !important; animation: none; }
#app .gate-brand small { display: block; margin-top: 6px; font: 400 12px/1 var(--g-ui) !important; letter-spacing: .08em !important; text-transform: none !important; color: var(--g-muted) !important; }
#app .gate-card h1.gate-h1 { margin: 0 0 10px; font: 500 36px/1.1 var(--g-serif) !important; letter-spacing: -.01em !important; text-transform: none !important; color: #FFFFFF !important; text-shadow: none; }
#app .gate-card .note { color: var(--g-muted) !important; font-family: var(--g-ui) !important; font-size: 15px; line-height: 1.55; }
#app .gate-card .note b { color: var(--g-ink) !important; }
#app .gate-card .error { color: #F2A7A7 !important; font-family: var(--g-ui) !important; }
#app .gate-card a { color: var(--g-ink) !important; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .35); }
#app .gate-card a:hover { text-decoration-color: #fff; }
#app .gate-card .field label.note { font: 500 12px/1 var(--g-ui) !important; letter-spacing: .06em !important; text-transform: uppercase !important; color: var(--g-muted) !important; }
#app .gate-scene .gate-card .field input:not([type=checkbox]):not([type=radio]):not([type=color]) { background: rgba(0, 0, 0, .35) !important; border: 1px solid var(--g-line) !important; border-radius: 10px !important; color: #FFFFFF !important; font: 400 16px var(--g-ui) !important; height: 50px !important; padding: 0 16px !important; outline: 0; box-shadow: none; transition: border-color .2s, box-shadow .2s, background .2s; }
#app .gate-card .field input::placeholder { color: rgba(154, 154, 159, .7); }
#app .gate-scene .gate-card .field input:not([type=checkbox]):not([type=radio]):not([type=color]):focus { border-color: rgba(255, 255, 255, .6) !important; background: rgba(0, 0, 0, .5) !important; box-shadow: 0 0 0 3px rgba(255, 255, 255, .08) !important; }
#app .gate-card .btn, #app .gate-card button.btn, #app .gate-card a.btn { position: relative; overflow: hidden; border-radius: 10px !important; height: 50px !important; min-height: 50px !important; padding: 0 20px !important; background: #FFFFFF !important; border: 1px solid #FFFFFF !important; color: #0A0A0A !important; font: 600 15px/1 var(--g-ui) !important; letter-spacing: .01em !important; text-transform: none !important; cursor: pointer; transition: background .2s, transform .15s, box-shadow .2s; }
.gate-card .btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 50%; background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .06), transparent); transform: skewX(-20deg); animation: gate-shine 4s ease-in-out infinite; }
@keyframes gate-shine { 0%, 65% { left: -70%; } 100% { left: 140%; } }
#app .gate-card .btn:hover:not(:disabled) { background: #E9E9EC !important; border-color: #E9E9EC !important; color: #0A0A0A !important; transform: translateY(-1px); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
#app .gate-card .btn:disabled { opacity: .55; cursor: default; }
#app .gate-card .btn.ghost { background: transparent !important; border-color: var(--g-line-hi) !important; color: var(--g-ink) !important; }
#app .gate-card .btn.ghost:hover { background: rgba(255, 255, 255, .06) !important; color: var(--g-ink) !important; box-shadow: none; }
.gate-card .btn.ghost::after { display: none; }
#app .gate-foot { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--g-line); display: flex; gap: 18px; flex-wrap: wrap; font: 400 12px/1 var(--g-ui) !important; letter-spacing: .02em !important; text-transform: none !important; color: var(--g-muted) !important; }
#app .gate-foot .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #FFFFFF; margin-right: 8px; animation: gate-pulse 2.6s ease-in-out infinite; vertical-align: 1px; }
@keyframes gate-pulse { 50% { opacity: .3; } }
@media (max-width: 640px) { .gate-knot { width: 160px; height: 160px; margin-bottom: -16px; } .gate-card { padding: 30px 22px 24px; border-radius: 16px; } #app .gate-card h1.gate-h1 { font-size: 30px !important; } }
@media (prefers-reduced-motion: reduce) { .gate-card .btn::after { display: none; } .gate-card, .gate-knot { animation: none; } }
