/* Scoped exclusively to Home / Account. Interpreter and Kiroku surfaces are untouched. */
.au-page{--au-ink:#203f78;--au-blue:#2e6cdb;--au-teal:#17aa9a;--au-border:#c6daf6;box-sizing:border-box;color:var(--au-ink);background:linear-gradient(180deg,#fbfdff 0%,#f3f9ff 46%,#f8fbff 100%);font-family:"Zen Maru Gothic","Hiragino Maru Gothic ProN","Yu Gothic UI",system-ui,-apple-system,sans-serif;font-size:16px;line-height:1.55;min-height:calc(100dvh - 72px);max-width:760px;margin:auto;display:flex;flex-direction:column;text-align:start}
/* Keep rounded Gothic for Japanese while preventing mixed per-glyph fallback in complex scripts. */
html[lang="vi"] .au-page,.au-page[lang="vi"],
html[lang="th"] .au-page,.au-page[lang="th"],
html[lang="hi"] .au-page,.au-page[lang="hi"],
html[lang="bn"] .au-page,.au-page[lang="bn"],
html[lang="ar"] .au-page,.au-page[lang="ar"]{font-family:"Noto Sans","Segoe UI","Leelawadee UI","Nirmala UI",system-ui,-apple-system,sans-serif}
.au-page *{box-sizing:border-box}
#cotoaPortal:has(>.au-page){position:fixed;inset:0;z-index:100;overflow:auto;background:#f3f9ff;overscroll-behavior:contain}
#cotoaPortal>.au-page{min-height:100dvh}
.au-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 16px;background:rgb(255 255 255 / 96%);border-bottom:1px solid #e2edf9;position:sticky;top:0;z-index:2;min-height:66px}
.au-header .au-row{width:auto;min-width:44px;border:0;min-height:48px;margin:0;padding:8px;color:var(--au-blue)}
.au-header .au-arrow{display:none}
.au-brand{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:0;color:#203f78;text-align:start}
.au-brand__mark{display:block;width:28px;height:28px;object-fit:contain;border-radius:8px}
.au-brand__words{display:flex;flex-direction:column;min-width:0;line-height:1.05}
.au-brand__words b{font-size:15px;font-weight:900;letter-spacing:.02em}
.au-brand__descriptor{font-size:10px;font-weight:700;color:#587092;white-space:nowrap;margin-top:3px}
.au-body{padding:18px 16px 32px;flex:1;min-width:0;width:100%;max-width:680px;margin:0 auto}
.au-body h1{font-size:25px;line-height:1.35;margin:0 0 16px;font-weight:900;letter-spacing:.01em}
.au-body h1{scroll-margin-top:80px}
.au-row,.au-button{font:inherit;color:inherit;border:1.5px solid var(--au-border);background:white;border-radius:18px;padding:12px 38px 12px 16px;min-height:52px;display:block;width:100%;margin:9px 0;position:relative;text-align:start;cursor:pointer;overflow-wrap:anywhere;box-shadow:0 5px 16px rgb(36 79 139 / 6%);transition:transform .12s ease,box-shadow .18s ease,border-color .18s ease}
.au-row:active,.au-button:active{transform:scale(.985)}
.au-row>span:first-child{font-weight:700;display:block}
.au-provider{display:flex;align-items:center;gap:12px;padding-inline:14px 34px}
.au-provider__label{font-weight:700;display:block;line-height:1.35}
.au-provider__mark{width:26px;height:26px;display:block;object-fit:contain;flex:0 0 26px}
.au-provider--google{gap:10px;padding:12px;color:#1f1f1f;background:#fff;border-color:#747775;font-family:"Google Sans",Roboto,Arial,sans-serif;font-size:14px;line-height:20px}
.au-provider--google .au-provider__label{font-weight:500;line-height:20px}
.au-provider--google .au-provider__mark{width:20px;height:20px;flex-basis:20px}
.au-provider--google .au-arrow{display:none}
.au-provider--discord .au-provider__mark{background:#5865f2;border-radius:7px;padding:4px}
.au-row small{display:block;font-size:14px;font-weight:500;margin-top:4px;color:#536b8d;line-height:1.5}
.au-arrow{position:absolute;inset-inline-end:14px;top:12px;color:var(--au-blue)}
.au-button--primary{color:white;background:var(--au-blue);border-color:var(--au-blue);font-weight:700;text-align:center;padding:12px}
.au-page button:disabled{cursor:wait;opacity:.65}
.au-page :focus-visible{outline:3px solid #dc7a00;outline-offset:3px}
.au-note,.au-status{font-size:16px;line-height:1.55;margin:12px 0;overflow-wrap:anywhere}
.au-runtime,.au-status{border:1px solid var(--au-border);border-radius:16px;padding:12px;background:white}
.au-footer{position:sticky;bottom:0;padding:8px 16px max(12px,env(safe-area-inset-bottom));background:rgb(243 249 255 / 96%);border-top:1px solid #e3efff;z-index:1;display:flex;gap:8px;align-items:stretch;flex-wrap:wrap}
.au-page[data-account-page="home"] .au-footer,.au-page[data-account-page="menu"] .au-footer,.au-page[data-account-page="acct"] .au-footer{position:static}
.au-footer>*{flex:1 1 140px}.au-footer .au-note{background:#e9f3ff;border-radius:12px;padding:10px;margin:0}
.au-label{display:block;font-weight:700;margin:16px 0 6px}.au-field{font:inherit;color:inherit;border:1px solid var(--au-border);border-radius:10px;background:white;width:100%;min-height:48px;padding:12px}.au-page textarea.au-field{min-height:180px;resize:vertical}
.au-language-list button[aria-pressed=true]{border:2px solid var(--au-blue);background:#e9f3ff}
.au-check{display:flex;gap:12px;align-items:flex-start;padding:12px 0;min-height:48px}.au-check input{width:24px;height:24px;flex:none;margin:0}
.au-page[dir=rtl] .au-row{padding-inline:14px 34px}
.au-header .au-row{box-shadow:none;border-radius:999px;font-size:14px;font-weight:800}
.au-home{padding-top:16px}
.au-home__hero{padding:19px 18px;margin-bottom:16px;border:1px solid #d8e7f8;border-radius:24px;background:linear-gradient(135deg,#fff 0%,#edf7ff 100%);box-shadow:0 10px 28px rgb(36 79 139 / 7%)}
.au-home__hero h1{margin-bottom:10px}
.au-balance{display:inline-flex;align-items:center;min-height:34px;margin:0;padding:6px 12px;border-radius:999px;background:#fff;color:#38567f;font-size:14px;font-weight:700;box-shadow:0 2px 9px rgb(36 79 139 / 6%)}
.au-home__group{margin-top:18px}
.au-home__group h2{margin:0 0 8px;font-size:19px;line-height:1.35;font-weight:900;letter-spacing:.02em}
.au-home__route{min-height:70px;padding-inline-start:20px}
.au-home__group--interpret .au-home__route{border-inline-start:6px solid var(--au-blue);background:linear-gradient(100deg,#fff 0%,#f2f7ff 100%)}
.au-home__group--record .au-home__route{border-inline-start:6px solid var(--au-teal);background:linear-gradient(100deg,#fff 0%,#effbf8 100%)}
.au-home__group--record .au-arrow{color:#148b80}
.au-home__account{margin-top:20px;background:transparent;box-shadow:none;border-color:#afc9e9;min-height:48px}
.au-menu h1{margin-top:5px}
.au-menu .au-row{min-height:58px;padding-block:15px;padding-inline-start:20px}
.au-menu .au-row[data-account-item="remain"],.au-menu .au-row[data-account-item="words"],.au-menu .au-row[data-account-item="sound"]{border-inline-start:6px solid var(--au-blue)}
.au-menu .au-row[data-account-item="acct"],.au-menu .au-row[data-account-item="help"],.au-menu .au-row[data-account-item="legal"]{border-inline-start:6px solid var(--au-teal)}
@media(max-width:359px){.au-body,.au-header{padding-inline:12px}.au-body h1{font-size:22px}.au-footer{padding-inline:12px}}
@media(max-width:359px){.au-header:has(.au-header__back) .au-brand__descriptor{font-size:8.5px}.au-header:has(.au-header__back) .au-brand__mark{width:24px;height:24px}.au-header .au-row{font-size:13px;padding-inline:6px}.au-home__hero{padding:16px 14px}.au-home__route{padding-inline-start:15px}}
@media(max-width:359px) and (max-height:700px){.au-footer{position:static}}
@media(min-width:640px){.au-home{display:grid;grid-template-columns:1fr 1fr;gap:18px}.au-home__hero,.au-home>.au-runtime,.au-home>.au-home__account{grid-column:1/-1}.au-home__group{margin-top:0}.au-home__account{justify-self:center;max-width:360px}.au-menu{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.au-menu h1,.au-menu>.au-runtime,.au-menu .au-row[data-account-item="acct"]{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){.au-page *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
