:root{--bg:#0b1119;--panel:#121d29;--muted:#92a4b7;--line:#29394a;--accent:#89c5ff;--danger:#ffabb3}
body{background:radial-gradient(ellipse at 90% 0%,#163d6944,transparent 42%),var(--bg);color:#eaf0f6;font-family:Inter,"Noto Sans TC","Microsoft JhengHei",sans-serif;-webkit-font-smoothing:antialiased}
.shell{max-width:1264px;padding:0 48px}header{height:104px;border-bottom-color:#26344299;gap:24px}.brand{letter-spacing:0;font-size:17px}.brand .mark{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;background:#89c5ff10;border:1px solid #89c5ff38;line-height:1}.brand .mark .site-icon{width:26px;height:26px}.brand small{font-size:9px;letter-spacing:.16em;color:#71889c}.header-right{gap:10px}.header-right .badge{background:#111c27;border-color:#2a3a4b;padding:8px 12px}.header-right>.profile-avatar{width:32px;height:32px}.badge{border-radius:9px}.site-icon{width:18px;height:18px;flex:none;vertical-align:middle;pointer-events:none}
h1,h2,h3{letter-spacing:-.035em}h1{font-weight:750}.dashboard{padding:38px 0 60px}.page-heading{margin-bottom:26px;align-items:center}.page-heading h1{font-size:34px;line-height:1.35}.page-heading .eyebrow{font-size:9px;margin-bottom:7px;letter-spacing:.18em}.page-heading .lead{font-size:12px;color:var(--muted)}.card{border-color:#2a3b4d;border-radius:18px;background:linear-gradient(145deg,#152232,#111b28);box-shadow:0 14px 40px #00000015}.card-body{padding:28px}.card h2{font-size:21px}.card .hint{line-height:1.8}
.quiet,.primary-link,.submit,.danger-button{border-radius:10px;transition:background .16s,border-color .16s,transform .16s;font-size:13px;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}.quiet{background:#152231;border-color:#304358;color:#c9d6e4}.quiet:hover{background:#1c3042;border-color:#6b8971}.primary-link,.submit{background:var(--accent);color:#132610;border:1px solid #89c5ff;box-shadow:0 5px 20px #8bb95f12;font-weight:700}.primary-link:hover,.submit:hover{background:#c9fa98}.submit{width:100%;justify-content:space-between;padding:14px 18px}.danger-button{background:#3c202b;border-color:#733847;color:#ffc0c7}.button-row{flex-wrap:wrap;gap:10px}.button-row .submit{min-width:140px}.quiet:active,.primary-link:active,.submit:active{transform:translateY(1px)}button:disabled{cursor:not-allowed}form[aria-busy=true] button:disabled{cursor:wait}
input,select,textarea{background:#0e1925;border-color:#2f4053;border-radius:10px;min-height:45px;color:#e7eff6;font-size:14px}input::placeholder{color:#708398}label{font-size:12px;color:#d4dfeb;font-weight:600}input:focus,select:focus,textarea:focus{border-color:#89c5ff88;box-shadow:0 0 0 3px #89c5ff10}input[readonly],select:disabled{background:#111c28;color:#9cafc1}.field-note{color:#8296aa;font-size:11px;line-height:1.75}.status{font-size:13px}.announcement{border:1px solid #74975b38;border-left:3px solid var(--accent);background:#89c5ff07;border-radius:11px;line-height:1.8;margin-top:22px}.transfer-notice{background:#18302980}.transfer-notice a{display:block}
.admin-nav{gap:7px;padding:6px;margin-bottom:26px;border:1px solid #283b4d;background:#0d1722;border-radius:13px}.admin-nav a,.admin-nav button{display:inline-flex;align-items:center;justify-content:center;gap:7px;color:#94a9bd;padding:10px 13px;min-height:41px;border:1px solid transparent;border-radius:9px;text-decoration:none;font-size:12px}.admin-nav a:hover,.admin-nav button:hover{color:#e8f2fb;background:#182738}.admin-nav .active{border-color:#89c5ff3d!important;color:var(--accent)!important;background:#89c5ff0d!important}.member-status-tabs{width:max-content;max-width:100%;margin-bottom:15px}.toolbar{gap:15px;flex-wrap:wrap}.toolbar form{flex-wrap:wrap}.toolbar h2{font-size:20px}.toolbar select{width:auto;max-width:100%}.table-wrap{border-color:#293b4f;border-radius:14px;background:#101d2b}.table-wrap th{background:#0e1925;color:#87a0b7;font-size:11px;letter-spacing:.02em}.table-wrap td{border-color:#23374b88;font-size:13px}.table-wrap tbody tr:hover{background:#bfdcff03}.table-wrap td,.table-wrap th{padding:16px}.table-wrap td:last-child .quiet{padding:8px 11px;border-radius:8px;min-height:35px}.member-identity strong{font-size:13px}.member-identity small{margin-top:4px}.profile-avatar{border-color:#3b5368;background:#1d3143}.pager{font-size:12px;gap:12px}.log-tag{border-radius:6px;padding:4px 8px;font-size:10px}.audit-filter-form{background:#101c29;border:1px solid #293c50;padding:18px;border-radius:13px;gap:14px}.audit-filter-form label{margin-top:0}.audit-filter-form .filter-buttons{align-items:end;display:flex;gap:8px}
.admin-kpis{gap:14px}.kpi{background:linear-gradient(135deg,#142336,#111b29);border-color:#2a3e53;border-radius:15px;padding:21px}.kpi small{font-size:12px;color:#92a9c1}.kpi strong{color:#e3efdf;font-size:31px;line-height:1.3;margin-top:12px}.family-totals{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:15px}.family-total{border-color:#2a3e53;background:#122031;border-radius:15px}.family-total h2{font-size:16px;color:#c6d8e8}.family-total strong{font-size:36px}.member-overview-grid{gap:15px}.member-overview-grid>div{border:1px solid #2a3e53;border-radius:12px;background:#0e1a27;padding:17px}.member-overview-grid small{font-size:12px}.member-overview-grid strong{font-size:21px;color:#e1edd9}.weplay-profile{background:#0c1824;border-color:#293d50;border-radius:13px;padding:18px}.weplay-profile strong{font-size:20px}.member-shortcuts{gap:10px}.activity-row{padding:17px;border-bottom:1px solid #2a3d4e}.activity-row strong{font-size:14px}.activity-row p,.activity-row time{font-size:12px}.number-wrap input{font-size:36px!important;letter-spacing:-.03em}.family-search{padding:15px;border:1px solid #2a3e53;background:#101c2a;border-radius:13px}
.home-main{padding:42px 0 62px}.home-hero{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:35px;padding:35px 35px 38px;margin:0;max-width:none;border:1px solid #2d4353;border-radius:25px;background:radial-gradient(ellipse at 100% 5%,#4b8a5326,transparent 65%),linear-gradient(135deg,#132332,#0f1b28);overflow:hidden;min-height:350px}.home-copy{position:relative;z-index:1}.home-kicker{font-size:10px;color:#8ba794;letter-spacing:.18em;font-weight:700;margin:0 0 18px;display:flex;align-items:center;gap:9px}.status-dot{width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 15px #89c5ff66}.home-hero h1{font-size:clamp(35px,4.2vw,53px);line-height:1.35;letter-spacing:-.055em;margin:0;color:#f0f6ef}.home-hero h1 span{display:block;color:#9cb0bb;font-size:.7em;font-weight:500;letter-spacing:-.03em;margin-top:6px}.home-actions{display:flex;gap:10px;margin:25px 0 0}.home-actions .primary-link,.home-actions .quiet{padding:13px 23px;min-height:48px}.home-shortcuts{display:flex;gap:15px;flex-wrap:wrap;margin-top:22px}.home-shortcut{font-size:11px;color:#a8bdca;display:flex;align-items:center;gap:6px;text-decoration:none}.home-shortcut:hover{color:var(--accent)}.home-shortcut .site-icon{width:15px;height:15px}.home-art{height:270px;position:relative;display:grid;place-items:center;isolation:isolate}.orbit{position:absolute;inset:20px;border:1px solid #a7d09325;border-radius:50%;transform:rotate(-25deg) scaleY(.68)}.orbit-two{inset:0;transform:rotate(42deg) scaleY(.8);border-color:#749fbd25}.art-core{width:120px;height:134px;display:grid;place-items:center;background:linear-gradient(145deg,#cee4a927,#91c8600b);border:1px solid #c4ec9d66;border-radius:31px;transform:rotate(-9deg);box-shadow:0 0 75px #94cc7115}.art-core>.site-icon{width:68px;height:68px;color:var(--accent);transform:rotate(9deg)}.art-tile{position:absolute;width:63px;height:63px;border:1px solid #7ca2bf44;border-radius:17px;display:grid;place-items:center;background:#192d3a;color:#99c8e4;box-shadow:0 10px 22px #0002}.art-tile .site-icon{width:28px;height:28px}.tile-one{left:15%;top:15%;transform:rotate(-13deg)}.tile-two{right:9%;bottom:13%;transform:rotate(12deg);color:#d3bcf4;background:#28283a}.art-dot{position:absolute;width:8px;height:8px;border-radius:50%;background:#89c5ff;box-shadow:0 0 20px #89c5ff33}.dot-one{right:17%;top:19%}.dot-two{left:16%;bottom:22%;background:#84b8de}.art-label{position:absolute;bottom:2px;font-size:8px;letter-spacing:.23em;color:#6e8c9b}.home-families{margin-top:34px}.home-section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:17px;gap:20px}.home-section-heading .home-kicker{margin:0 0 6px;font-size:9px}.home-section-heading h2{font-size:23px;margin:0}.home-section-heading .badge{font-size:11px;color:#8ba3b9}.home-family-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:14px}.home-family-grid .home-family-card{padding:0;background:#101d2a;border:1px solid #293e52;border-radius:16px;position:relative;overflow:hidden;transition:background .18s,border-color .18s,transform .18s}.home-family-card a{display:block;padding:22px;min-height:177px;color:#e7f0f7;text-decoration:none}.family-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.family-emblem{display:grid;place-items:center;border-radius:12px;width:43px;height:43px;background:color-mix(in srgb,var(--family-tone,#89c5ff) 9%,transparent);border:1px solid color-mix(in srgb,var(--family-tone,#89c5ff) 28%,transparent);color:var(--family-tone,#89c5ff)}.family-emblem .site-icon{width:24px;height:24px}.family-index{font-size:11px;color:#567087;font-variant-numeric:tabular-nums}.home-family-card h2{font-size:17px!important;letter-spacing:-.03em;line-height:1.5;margin:0;padding-right:20px}.family-arrow{position:absolute;right:18px;bottom:22px;color:#688697;transition:transform .18s}.home-family-card:hover{background:#16283a;border-color:#607a69;transform:translateY(-3px)}.home-family-card:hover .family-arrow{transform:translateX(3px);color:var(--family-tone,#89c5ff)}.tone-0{--family-tone:#89c5ff}.tone-1{--family-tone:#83c5ef}.tone-2{--family-tone:#c3aff3}.tone-3{--family-tone:#efc184}.tone-4{--family-tone:#80d6c4}
body[data-page=login] #guest,body[data-page=register] #guest{grid-template-columns:1fr 445px;gap:55px;align-items:center;padding:50px 0;min-height:620px}.auth-intro{padding:15px 0}.auth-intro h1{font-size:47px;line-height:1.45;letter-spacing:-.05em}.auth-emblem{width:87px;height:95px;background:#89c5ff0b;border:1px solid #89c5ff3a;display:grid;place-items:center;border-radius:23px;margin:30px 0;color:var(--accent);transform:rotate(-5deg)}.auth-emblem .site-icon{width:50px;height:50px;transform:rotate(5deg)}.tabs{background:#0b1621;padding:6px;border-color:#293d50}.tabs a,.tabs button{border-radius:9px;font-size:13px;min-height:43px}.tabs .active{background:#263b4e!important}.auth-card .card-body{padding:30px}.card-body .eyebrow{color:#829eaf}.card h2#auth-title{font-size:27px}.privacy{font-size:11px;color:#8299ad;border-color:#2b3c4d}
dialog{background:linear-gradient(145deg,#152435,#0e1a27);border-color:#3b556a;border-radius:20px;box-shadow:0 35px 100px #0008;padding:28px}dialog::backdrop{background:#030910bb;backdrop-filter:blur(4px)}dialog h2{font-size:24px;margin-bottom:18px}dialog p{line-height:1.85}dialog .button-row{margin-top:20px}dialog form label{font-size:12px}.error-main>.card{max-width:580px}.error-main .card-body{padding:34px}.error-number{font-size:68px;color:var(--accent)}.error-main h1{font-size:31px}.legal-content{background:#111d2a;border:1px solid #293e50;border-radius:20px;padding:35px;max-width:850px}.legal-content h1{font-size:33px}.legal-content h2{font-size:19px}.legal-content p,.legal-content li{font-size:14px;color:#b9c8d7}.legal-date{font-size:11px!important}.transfer-card .card-body{padding:25px}.transfer-card h2{font-size:20px;margin-top:17px}.transfer-card .hint{margin-bottom:16px}.transfer-card .button-row{margin-top:18px}footer{padding:24px 0;margin-top:0;border-color:#263847;font-size:11px}.legal-links{gap:18px}.legal-links a{color:#91a9bd}
@media(max-width:1024px){.shell{padding:0 30px}.home-hero{padding:30px;gap:15px;min-height:320px}.home-art{height:235px}.art-core{width:105px;height:118px}.art-core>.site-icon{width:56px;height:56px}.home-family-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-nav a,.admin-nav button{padding:10px}.family-totals{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-page=login] #guest,body[data-page=register] #guest{gap:28px;grid-template-columns:1fr 400px}.auth-intro h1{font-size:38px}}
@media(max-width:740px){.shell{padding:0 20px}header{height:auto;min-height:110px;padding:20px 0;gap:16px;flex-wrap:wrap}.brand{font-size:15px}.brand .mark{width:37px;height:37px;border-radius:11px}.brand .mark .site-icon{width:23px;height:23px}.header-right{margin-left:auto;gap:7px}.header-right .quiet{font-size:10px;min-height:36px;padding:7px 9px}.header-right .badge{max-width:125px;font-size:10px;padding:7px 10px}.header-right>.profile-avatar{width:27px;height:27px}.home-main{padding:24px 0 36px}.home-hero{grid-template-columns:1fr;padding:25px;min-height:0;gap:0;border-radius:20px;position:relative}.home-copy{max-width:100%}.home-hero h1{font-size:36px}.home-hero h1 span{font-size:.67em}.home-kicker{font-size:9px;margin-bottom:15px}.home-actions{margin-top:23px;gap:9px}.home-actions .primary-link,.home-actions .quiet{font-size:13px;min-height:46px;padding:12px 18px;flex:1}.home-art{height:148px;width:200px;position:absolute;right:-28px;top:-30px;opacity:.16;pointer-events:none;z-index:0}.art-core{width:75px;height:85px;border-radius:20px}.art-core>.site-icon{width:43px;height:43px}.art-tile{width:40px;height:40px;border-radius:10px}.art-tile .site-icon{width:20px;height:20px}.art-label{display:none}.home-shortcuts{gap:13px;margin-top:19px}.home-shortcut{font-size:10px}.home-families{margin-top:27px}.home-section-heading h2{font-size:21px}.home-family-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.home-family-card a{padding:16px;min-height:157px}.home-family-card h2{font-size:15px!important}.family-card-top{margin-bottom:20px}.family-emblem{width:38px;height:38px;border-radius:11px}.family-emblem .site-icon{width:21px;height:21px}.family-index{font-size:9px}.family-arrow{right:13px;bottom:15px}.family-arrow .site-icon{width:15px;height:15px}.home-family-card:hover{transform:none}.dashboard{padding:27px 0 40px}.page-heading h1{font-size:29px}.page-heading{margin-bottom:22px}.page-heading .lead{font-size:12px;line-height:1.75}.card-body{padding:22px}.admin-nav{padding:5px;gap:4px;margin-bottom:20px}.admin-nav a,.admin-nav button{font-size:11px;padding:9px 10px;gap:5px;min-height:41px}.admin-nav .site-icon{width:15px;height:15px}.member-nav{display:flex;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}.member-nav a{flex:none}.table-wrap td{font-size:13px}.table-wrap.mobile-cards table,.table-wrap table.mobile-cards{min-width:0}.admin-kpis{gap:10px}.kpi{padding:17px}.kpi small{font-size:10px}.kpi strong{font-size:27px}.family-totals{grid-template-columns:1fr}.family-total{padding:22px}.family-total strong{font-size:33px}.member-overview-grid{grid-template-columns:1fr;gap:10px}.member-overview-grid>div{padding:15px}.member-overview-grid strong{font-size:20px}.weplay-profile{padding:15px}.weplay-profile strong{font-size:18px}.member-shortcuts a{font-size:12px;padding:12px}.family-search{padding:12px}.family-search button{font-size:11px;padding:9px}.announcement{font-size:12px;padding:13px 15px;margin-top:18px}.audit-filter-form{padding:14px}.audit-filter-form .filter-buttons{flex-wrap:wrap}.audit-filter-form .filter-buttons button{flex:1}.legal-main{padding-top:25px}.legal-content{padding:23px;border-radius:16px}.legal-content h1{font-size:28px}.legal-content p,.legal-content li{font-size:13px}.error-main{padding:20px}.error-main .card-body{padding:25px}.error-main h1{font-size:27px}.error-number{font-size:58px}dialog{padding:23px}dialog h2{font-size:22px}body[data-page=login] #guest,body[data-page=register] #guest{display:block;min-height:0;padding:24px 0 36px}.auth-intro{display:none}.auth-card .card-body{padding:25px}.card h2#auth-title{font-size:26px}input,select,textarea{font-size:16px;min-height:47px}.transfer-card .card-body{padding:22px}.transfer-card h2{font-size:18px}.transfer-card .button-row button{flex:1}footer{font-size:10px;padding:22px 0}}
@media(max-width:370px){.shell{padding:0 15px}.header-right{width:100%;justify-content:flex-end}.home-hero{padding:22px}.home-hero h1{font-size:32px}.home-family-card a{padding:14px}.home-family-card h2{font-size:14px!important}}
@media(prefers-reduced-motion:reduce){.quiet,.primary-link,.submit,.home-family-card,.family-arrow{transition:none!important;transform:none!important}}
.footer-brand{display:inline-flex;align-items:center;gap:7px}.footer-mark{display:inline-flex;color:#8ba6bf}.footer-mark .site-icon{width:15px;height:15px}/* Workspace navigation: persistent rail on desktop, wrapping touch tabs on smaller screens. */
@media(min-width:1100px){.dashboard:has(>.admin-nav){display:grid;grid-template-columns:184px minmax(0,1fr);column-gap:26px;align-items:start}.dashboard>.page-heading{grid-column:1/-1}.dashboard>.admin-nav{grid-column:1;grid-row:2/span 30;display:flex;flex-direction:column;align-items:stretch;position:sticky;top:22px;margin:0;padding:9px}.dashboard>.admin-nav a{justify-content:flex-start;padding:12px;min-height:47px;font-size:13px}.dashboard>:not(.page-heading):not(.admin-nav){grid-column:2;min-width:0}.family-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
.primary-link:hover,.submit:hover{background:#aed8ff;color:#0b2034}.quiet:hover{border-color:#6487a8}.home-hero{background:radial-gradient(ellipse at 100% 5%,#3268a52b,transparent 65%),linear-gradient(135deg,#132332,#0f1b28)}.art-core{background:linear-gradient(145deg,#27486a88,#142b4388);border-color:#648ab080}.home-kicker{color:#9bbad5}.kpi strong,.member-overview-grid strong{color:#e6f1fc}.transfer-notice{background:#18314c80}.announcement{border-color:#587b9a50;border-left-color:var(--accent)}
@media(max-width:740px){.member-nav{flex-wrap:wrap;overflow:visible}.member-nav a{flex:1 0 auto}.admin-nav a{min-height:44px}.page-heading>.quiet{font-size:11px}.home-shortcuts{flex-wrap:wrap}}

.workspace-content{min-width:0}.workspace-content>.status:empty{display:none}@media(min-width:1100px){.dashboard>.admin-nav{grid-row:2}.dashboard>.workspace-content{grid-column:2;grid-row:2}.dashboard{align-content:start}.workspace-content .toolbar{display:block}.workspace-content .toolbar form{margin:16px 0 20px;display:flex;justify-content:flex-start}}
@media(min-width:1100px){.dashboard:has(>.admin-nav){row-gap:0}}

.brand .mark{font-size:32px;color:var(--accent);font-family:"Segoe UI Historic","Noto Sans Egyptian Hieroglyphs",sans-serif}.footer-mark{font-size:21px}.art-core{font-size:85px;color:var(--accent)}.auth-emblem{font-size:65px}.page-heading .lead:empty{display:none}@media(max-width:740px){.art-core{font-size:53px}.brand .mark{font-size:29px}}
.workspace-content>.card+section,.workspace-content>.card+.admin-section{margin-top:22px}.workspace-content>.toolbar{margin-bottom:20px}.workspace-content>.empty-state{padding:30px;border:1px dashed #344b61;border-radius:14px}.family-search{border-color:#2e4358}
body[data-page=family] .page-heading>.button-row{display:none}.family-search{margin-bottom:20px}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid #89c5ff;outline-offset:4px}.workspace-content>.status.error{margin:0 0 18px}.password-toggle{color:#a9c8e4}.empty-state{color:#94aabe;line-height:1.8}.home-families .badge{color:#b7cadc}@media(min-width:1100px){.workspace-content>.admin-section>.toolbar>h2{font-size:18px}}
.filter-summary{padding:12px 15px;margin:0 0 18px;border:1px solid #2c455d;border-radius:10px;background:#102034;color:#b6cce0;font-size:13px}.family-drilldown{display:inline-flex;align-items:center;margin-top:16px;color:#a7d1ff;text-decoration:none;font-size:13px}.family-drilldown:hover{text-decoration:underline}.activity-filters{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:18px 0;padding:14px;background:#0c1927;border:1px solid #2a4055;border-radius:12px}.activity-filters label{margin:0}.activity-filters select{width:auto;min-width:140px}.activity-filters .hint{margin:0;font-size:12px}.unsaved{color:#ffd79a!important}#count-preview{min-height:24px;padding:10px 0}#member-search{gap:9px}#member-search select{max-width:220px}.family-total .family-drilldown:focus-visible{outline:2px solid #89c5ff;outline-offset:5px}@media(max-width:740px){#member-search{display:grid;grid-template-columns:1fr 1fr}#member-search input{grid-column:1/-1}#member-search select{width:100%;max-width:100%;min-width:0}#member-search button{min-height:44px}#member-search button[type=submit]{grid-column:1/-1;background:#89c5ff;color:#0b2034}#count-form .submit{position:sticky;bottom:12px;z-index:2;box-shadow:0 5px 24px #0009}.activity-filters select{flex:1}.activity-filters .hint{flex-basis:100%}}
#member-search{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center}#member-search input,#member-search select{width:100%;max-width:100%;min-width:0}#member-search .filter-actions{grid-column:1/-1;display:flex;gap:9px;flex-wrap:wrap}#member-search .filter-actions button{min-width:95px}@media(max-width:740px){#member-search{grid-template-columns:1fr 1fr}#member-search .filter-actions button{flex:1;min-width:0}#member-search .filter-actions button[type=submit]{flex:1.2}}
#admin-members>.toolbar>h2{display:none}
.home-statistics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:20px}.home-stat-card{display:flex;align-items:center;gap:19px;padding:25px 27px;border:1px solid #2d435a;border-radius:17px;background:linear-gradient(130deg,#15283c,#102030);position:relative;overflow:hidden}.home-stat-card .stat-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;border:1px solid #42617a66;background:#89c5ff0a;color:#8bbef0;flex:none}.home-stat-card .site-icon{width:23px;height:23px}.home-stat-card>div{display:grid;grid-template-columns:auto auto;align-items:baseline;column-gap:10px}.home-stat-card>div>span{grid-column:1/-1;color:#9db4cb;font-size:12px}.home-stat-card strong{font-size:39px;letter-spacing:-.04em;color:#e2efff;line-height:1.5;font-variant-numeric:tabular-nums}.home-stat-card small{font-size:11px;color:#97aec4}.home-stat-card.stat-featured{border-color:#6496c277;background:radial-gradient(ellipse at 90% 5%,#3979b840,transparent 75%),#13283c}.stat-featured strong{color:#9bd0ff}.stat-featured small{grid-column:1/-1}.home-section-tools{display:flex;align-items:center;gap:9px}.home-section-tools .quiet{min-height:35px;font-size:11px;padding:7px 11px}.family-participation{margin-top:18px;padding-right:22px}.family-participation p{margin:0 0 8px!important;font-size:11px!important;color:#9eb6ca}.family-participation progress{display:block;appearance:none;width:100%;height:3px;border:0;border-radius:4px;overflow:hidden;background:#294058;color:#89c5ff}.family-participation progress::-webkit-progress-bar{background:#294058}.family-participation progress::-webkit-progress-value{background:#89c5ff;border-radius:4px}.family-participation progress::-moz-progress-bar{background:#89c5ff}.home-family-card a{min-height:206px}.home-family-card .family-arrow{bottom:24px}.home-statistics+#home-stats-status:empty{display:none}@media(max-width:1024px){.home-stat-card{padding:20px;gap:12px}.home-stat-card .stat-icon{width:37px;height:37px}.home-stat-card>div{display:block}.home-stat-card>div>span,.home-stat-card small{display:block}.home-stat-card strong{font-size:34px}}@media(max-width:740px){.home-statistics{grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.home-stat-card{padding:17px;align-items:flex-start;gap:10px;border-radius:14px}.home-stat-card .stat-icon{width:30px;height:30px;border-radius:9px}.home-stat-card .site-icon{width:17px;height:17px}.home-stat-card>div>span{font-size:10px}.home-stat-card strong{font-size:31px}.home-stat-card small{font-size:9px}.home-stat-card.stat-featured{grid-column:1/-1;align-items:center}.stat-featured>div{display:grid;grid-template-columns:auto auto;gap:0 13px;align-items:center;flex:1}.stat-featured>div>span{grid-column:1;grid-row:1}.stat-featured>div>small{grid-column:1;grid-row:2}.stat-featured>div>strong{grid-column:2;grid-row:1/3;justify-self:end;font-size:36px}.home-section-tools{gap:7px}.home-section-tools .badge{font-size:9px;padding:6px 8px}.home-section-tools .quiet{font-size:10px;padding:7px 9px}.home-family-card a{min-height:190px}.family-participation{padding-right:10px;margin-top:14px}.family-participation p{font-size:10px!important}.home-family-card .family-arrow{bottom:24px;right:9px}}

#open-create-account{margin-bottom:20px;padding:10px 18px}#create-account-dialog{max-width:510px;width:calc(100% - 32px)}#create-result .button-row{gap:8px}#created-member{margin:18px 0}#created-member p{margin:4px 0;color:#9bb5ca;font-size:13px}.create-success{color:#9cd0ff;font-weight:700}#create-copy-fallback{width:100%;font-size:16px;min-height:84px}@media(max-width:740px){#create-account-dialog{padding:23px}#create-result .button-row{display:flex;flex-wrap:wrap}#copy-created-account{width:100%;min-height:46px}#create-another,#create-done{flex:1;min-height:44px}#open-create-account{min-height:44px}}
/* Homepage: compact entry, readable live aggregates, and short native help panels. */
body[data-page=home] .home-main{padding-top:30px}.home-hero{min-height:265px;padding:30px 35px;grid-template-columns:1.25fr .75fr}.home-hero h1{font-size:46px;margin:0}.home-description{font-size:17px;color:#9fb6cb;margin:14px 0 0;line-height:1.7}.home-art{height:210px}.home-actions{margin-top:24px}.home-overview-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:30px 0 0}.home-overview-title h2{font-size:21px;margin:0}.home-overview-title span{color:#88a2b9;font-size:11px}.home-statistics{margin-top:13px}.home-stat-card{padding:19px 24px;min-height:115px}.home-stat-card strong{font-size:35px}.home-families{margin-top:30px}.family-participation p{display:flex;align-items:center;justify-content:space-between;gap:6px}.family-participation b{font-size:10px;font-weight:500;color:#b4d3ef;flex:none}.home-family-card a{min-height:195px}.home-help{margin-top:36px}.home-help .home-section-heading h2{font-size:22px}.home-help .home-section-heading>.quiet{padding:8px 13px;font-size:12px}.home-faq{border:1px solid #2d4258;border-radius:16px;overflow:hidden;background:#101e2c}.home-faq details+details{border-top:1px solid #263b4e}.home-faq summary{padding:18px 21px;cursor:pointer;list-style:none;font-size:14px;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:58px;color:#cbdcec}.home-faq summary::-webkit-details-marker{display:none}.home-faq summary:after{content:'+';color:#8ec7fa;font-size:20px;font-weight:400}.home-faq details[open] summary:after{content:'−'}.home-faq details[open] summary{color:#a7d4ff}.home-faq p{margin:0;padding:0 21px 21px;color:#91a9bf;line-height:1.9;font-size:13px;max-width:850px}.home-faq a{color:#a3cfff;text-underline-offset:4px}.home-family-grid:empty:before{content:'家族載入中…';color:#8da6bb;font-size:13px;padding:20px}.home-stat-card strong{font-variant-numeric:tabular-nums}
/* Policy pages: document navigation and an independent reading column. */
.legal-main{display:grid;grid-template-columns:190px minmax(0,1fr);gap:24px;align-items:start;padding:34px 0 55px}.legal-heading{grid-column:1/-1;padding-bottom:8px}.legal-breadcrumb{display:flex;align-items:center;gap:10px;font-size:11px;color:#718ba3;margin-bottom:27px}.legal-breadcrumb a{color:#a4c8e9;text-decoration:none}.legal-heading>.home-kicker{font-size:10px;margin-bottom:10px}.legal-heading h1{font-size:38px;margin:0 0 14px;line-height:1.4}.legal-heading-meta{display:flex;align-items:center;justify-content:space-between;gap:16px}.legal-heading .legal-date{margin:0!important;font-size:12px;color:#8ca5bc}.legal-heading-meta .quiet{font-size:12px;padding:9px 13px}.legal-toc{grid-column:1;grid-row:2;position:sticky;top:20px;padding:17px 0}.legal-toc>p{font-size:11px;letter-spacing:.1em;color:#728ea6;margin:0 0 12px;padding:0 11px}.legal-toc-links{display:grid;gap:5px}.legal-toc-links a{display:flex;align-items:center;gap:10px;color:#94adc3;font-size:12px;text-decoration:none;padding:10px;border-radius:8px;line-height:1.6}.legal-toc-links a>span{font-size:10px;color:#587a99;font-variant-numeric:tabular-nums}.legal-toc-links a:hover,.legal-toc-links a:focus-visible{color:#a4d0f7;background:#162c40}.legal-content{grid-column:2;grid-row:2;margin:0;width:100%;max-width:none;background:#101e2c;border-color:#2c4258;border-radius:18px;padding:30px 35px;min-width:0}.legal-content .legal-summary{background:#15314a70;border:1px solid #52799b55;border-radius:12px;padding:20px;margin-bottom:30px}.legal-content .legal-summary h2{margin:0 0 10px;font-size:15px;color:#a7d4ff;letter-spacing:0}.legal-summary ul{padding-left:18px;margin:0}.legal-summary li{font-size:13px;color:#a8bed2;margin:7px 0}.legal-section{scroll-margin-top:24px}.legal-content .legal-section h2{font-size:18px;display:flex;align-items:baseline;gap:12px;border-top:1px solid #293f53;padding-top:27px;margin:29px 0 13px;letter-spacing:-.02em;line-height:1.7}.legal-section h2>span{color:#6a9cc4;font-size:12px;font-variant-numeric:tabular-nums}.legal-content .legal-section p,.legal-content .legal-section li{font-size:14px;color:#adbed0;line-height:2}.legal-content strong{color:#d2e1ed;font-weight:600}.legal-content a{overflow-wrap:anywhere;text-underline-offset:4px}.legal-content a:hover{text-decoration:underline}.legal-data-list{margin:0}.legal-data-list>div{padding:15px 0;border-bottom:1px solid #293d4f}.legal-data-list>div:last-child{border:0}.legal-data-list dt{font-size:13px;color:#c8d9e8;font-weight:600}.legal-data-list dd{margin:6px 0 0;font-size:13px;color:#9eb3c7;line-height:1.9}.legal-contact{display:flex;gap:16px;padding:22px;background:#142a3f;border:1px solid #345574;border-radius:13px;margin-top:32px;align-items:start}.legal-contact>.site-icon,.legal-contact>span{color:#94c6f3;flex:none;margin-top:2px}.legal-content .legal-contact h2{margin:0 0 6px;font-size:16px}.legal-content .legal-contact p{margin:0 0 8px;font-size:12px;color:#8fa8bf}.legal-contact a{font-size:13px}.legal-document-footer{display:flex;justify-content:space-between;gap:15px;margin-top:28px;padding-top:20px;border-top:1px solid #293d50;font-size:12px}
@media(max-width:1024px){.legal-main{grid-template-columns:165px minmax(0,1fr);gap:20px}.legal-content{padding:25px}.legal-toc-links a{font-size:11px;gap:8px}.home-hero{min-height:245px}.home-hero h1{font-size:40px}.home-stat-card{padding:19px}.home-art{height:180px}}
@media(max-width:740px){body[data-page=home] .home-main{padding-top:22px}.home-hero{min-height:0;display:block;padding:25px}.home-hero h1{font-size:34px}.home-description{font-size:14px;margin-top:9px}.home-art{height:148px}.home-actions{margin-top:21px}.home-overview-title{margin-top:24px;gap:10px}.home-overview-title h2{font-size:19px}.home-overview-title span{font-size:10px}.home-stat-card{padding:16px;min-height:108px}.home-stat-card strong{font-size:30px}.home-stat-card.stat-featured{min-height:83px}.home-families{margin-top:25px}.home-family-card a{min-height:184px}.home-help{margin-top:28px}.home-help .home-section-heading h2{font-size:20px}.home-help .home-section-heading>.quiet{font-size:10px;min-height:36px;padding:7px 10px}.home-faq summary{font-size:12px;padding:16px;line-height:1.8;min-height:56px}.home-faq p{font-size:12px;padding:0 16px 17px}.legal-main{display:grid;grid-template-columns:minmax(0,1fr);gap:17px;padding:24px 0 35px}.legal-heading{grid-column:1}.legal-heading h1{font-size:29px}.legal-breadcrumb{margin-bottom:23px}.legal-heading-meta .quiet{font-size:11px;padding:8px 11px}.legal-heading .legal-date{font-size:10px}.legal-toc{grid-column:1;grid-row:2;position:static;padding:0;min-width:0}.legal-toc>p{padding:0;margin-bottom:8px;font-size:10px}.legal-toc-links{display:flex;overflow-x:auto;gap:7px;scrollbar-width:thin;padding-bottom:7px;scroll-snap-type:x proximity}.legal-toc-links a{flex:none;padding:9px 11px;border:1px solid #2f455a;background:#102032;border-radius:8px;font-size:11px;scroll-snap-align:start;min-height:40px}.legal-content{grid-column:1;grid-row:3;padding:21px;border-radius:15px}.legal-content .legal-summary{padding:17px;margin-bottom:24px}.legal-summary li{font-size:12px}.legal-content .legal-section h2{font-size:17px;gap:9px;margin-top:25px;padding-top:22px}.legal-content .legal-section p,.legal-content .legal-section li{font-size:13px;line-height:1.95}.legal-content ul{padding-left:20px}.legal-contact{padding:16px;gap:11px}.legal-content .legal-contact p{font-size:11px}.legal-contact a{font-size:12px}.legal-document-footer{font-size:11px}}
@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
html:has(.legal-main){scroll-behavior:auto}.legal-content{overflow-wrap:break-word}
