/* KAKURA sign-in / sign-up / callback / sign-out screens (app/auth/auth-pages.ts renders the HTML; behaviour: kakura-auth.js).
   Dark VI tokens (docs/design/redesign-2026-10/vi.md). System font stack: the landing's Noto Sans TC subset does not cover this copy.
   Logo: the same-origin brand files as CSS masks filled with the ink colour (an <img> SVG would pick its own fill by the OS theme).
   Lockup = mark + KAKURA only, never wordmark-zh (Steven 2026-10-18). */
*{box-sizing:border-box}html{color-scheme:dark}
body{margin:0;min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:16px;background:#10171f;color:#f2f3f5;font:400 16px/1.5 "PingFang TC","Noto Sans TC",system-ui,sans-serif;-webkit-text-size-adjust:100%}
.card{width:100%;max-width:400px;background:#17202a;border:1px solid #2f3b48;border-radius:12px;padding:24px 24px 0}
.brand{display:inline-flex;align-items:center;gap:8px;min-height:44px;max-width:100%;color:#f2f3f5;text-decoration:none}
.mk,.wm{display:block;flex:none;background:currentColor;-webkit-mask:var(--m) center/contain no-repeat;mask:var(--m) center/contain no-repeat}
.mk{--m:url(/brand/kakura-mark-small.svg);width:30px;height:30px}
.wm{--m:url(/brand/kakura-wordmark.svg);height:20px;aspect-ratio:1460/200;flex-shrink:1;min-width:0}
.rule{width:28px;height:3px;border-radius:2px;background:#ef8a72;margin:12px 0}
h1{margin:0}.zh,.en{display:block;font-size:24px;line-height:1.3;font-weight:700}
.tag{margin:8px 0 0;font-size:14px;line-height:1.4;color:#aeb4bc}.tag b{color:#f2f3f5}.intro{margin:12px 0 0;font-size:14px;line-height:1.6;color:#d5d9de}
.note{margin:12px 0 0;font-size:13px;line-height:1.5;color:#aeb4bc}.note span{display:block}
.go{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:44px;margin:24px 0 0;padding:0 12px;border:0;border-radius:6px;background:#f2f3f5;color:#10171f;font:inherit;cursor:pointer;transition:background-color 160ms ease-out,opacity 160ms ease-out}
.go:disabled{opacity:.5;cursor:default}.go[aria-busy=true]{opacity:.7;cursor:progress}.go:not(:disabled):hover{background:#fff}
.go:focus-visible,a:focus-visible{outline:2px solid #ef8a72;outline-offset:2px}
.g{width:18px;height:18px;border-radius:50%;flex:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23EA4335' d='M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z'/%3E%3Cpath fill='%234285F4' d='M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z'/%3E%3Cpath fill='%23FBBC05' d='M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z'/%3E%3Cpath fill='%2334A853' d='M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z'/%3E%3C/svg%3E") center/12px 12px no-repeat}
.gl{display:block;text-align:left}.gl b{display:block;font-size:14px;line-height:17px;font-weight:600}
.st{min-height:6.25em;margin:12px 0 0;font-size:13px;line-height:1.5;color:#f2f3f5}.st span{display:block}
.st a{display:block;width:fit-content;padding:12px 0;margin:-12px 0;color:#f2f3f5;text-decoration:underline}
.st a[hidden]{display:none}
.foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px;border-top:1px solid #2f3b48}
.about,.lang{display:flex;align-items:center;min-height:44px;color:#aeb4bc;font-size:13px;text-decoration:none}.about:hover,.lang:hover{text-decoration:underline;color:#f2f3f5}
/* desktop: a bigger card (the 400px card was lost in a 1440 page) */
@media (min-width:1024px){.card{max-width:520px;padding:40px 40px 0}.mk{width:36px;height:36px}.wm{height:24px}.zh,.en{font-size:32px}.tag,.intro{font-size:16px}.go{height:52px}.gl b{font-size:16px;line-height:20px}.st,.note,.about,.lang{font-size:14px}}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
