[hidden]{display:none!important}
/* Rock Christian Parents: shared styles. */
:root{
  --navy:#000080; --navy-deep:#000060; --gold:#E8A33D; --gold-dark:#8A5A10;
  --bg:#FAFAFC; --card:#FFFFFF; --card-2:#F4F1EA; --border:#DDD8CC;
  --text:#2E2E2E; --text-2:#4F4F4F; --text-3:#5B5B5B;
  --red:#A32D2D; --red-bg:#FCEBEB; --green:#0B7A5C; --wa:#0B7A5C;
  --radius:12px; --tap:44px; --tabbar:64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
html,body{margin:0;padding:0}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:16px;line-height:1.45;color:var(--text);background:var(--bg);min-height:100vh}
a{color:var(--navy)}
button,input,select,textarea{font:inherit;font-size:16px;color:inherit}
button{cursor:pointer}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px}

.wrap{max-width:600px;margin:0 auto;min-height:100vh;background:var(--bg);position:relative}
.hdr{background:var(--navy);color:#fff;padding:calc(10px + env(safe-area-inset-top,0px)) 16px 12px;position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:12px}
.crest{width:40px;height:40px;border-radius:10px;background:#fff;padding:4px;flex-shrink:0}
.crest img{width:100%;height:100%;object-fit:contain;display:block}
.hdr-t{flex:1;min-width:0}
.hdr h1{font-size:18px;margin:0;font-weight:700;line-height:1.2}
.hdr p{font-size:14px;margin:2px 0 0;color:#D6D6F0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hdr .icon-btn{color:#fff}
.icon-btn{min-width:var(--tap);min-height:var(--tap);display:inline-flex;align-items:center;justify-content:center;background:transparent;border:0;border-radius:10px;position:relative}
.icon-btn svg{width:24px;height:24px}
.badge{position:absolute;top:4px;right:2px;min-width:20px;height:20px;border-radius:10px;background:var(--gold);color:#3A2400;font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center;padding:0 5px}

main{padding:14px 14px calc(var(--tabbar) + 24px + var(--safe-b))}
.screen{display:none}
.screen.on{display:block}
h2.sec{font-size:14px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--text-2);margin:22px 2px 10px}
h2.sec:first-child{margin-top:4px}
.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:14px 16px;margin-bottom:10px}
.card h3{font-size:17px;margin:0 0 4px;line-height:1.3}
.card p{margin:0}
.muted{color:var(--text-2)}
.small{font-size:14px}
.stamp{font-size:14px;color:var(--text-3);margin-top:8px}
.row{display:flex;gap:10px;align-items:center}
.grow{flex:1;min-width:0}
.pre{white-space:pre-line}

.btn{min-height:var(--tap);padding:10px 16px;border-radius:10px;border:0;background:var(--navy);color:#fff;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;font-size:16px}
.btn.block{width:100%}
.btn.gold{background:var(--gold);color:#3A2400}
.btn.ghost{background:#fff;color:var(--navy);border:2px solid var(--navy)}
.btn.light{background:#E6E6F5;color:var(--navy)}
.btn.wa{background:var(--wa);color:#fff}
.btn.danger{background:#fff;color:var(--red);border:2px solid var(--red)}
.btn.sm{min-height:40px;padding:8px 12px;font-size:15px}
.btn[disabled]{opacity:.55;cursor:not-allowed}
.btns{display:flex;gap:8px;flex-wrap:wrap}
.btns .btn{flex:1 1 140px}

.field{margin-bottom:12px}
.field label,.lbl{display:block;font-size:15px;font-weight:600;color:var(--text-2);margin-bottom:5px}
.field input,.field select,.field textarea{width:100%;min-height:var(--tap);border:1px solid #B8C2D1;border-radius:10px;padding:10px 12px;background:#fff}
.field textarea{min-height:100px;resize:vertical}
.hint{font-size:14px;color:var(--text-3);margin-top:4px}
.err{color:var(--red);font-size:15px;min-height:20px;margin-top:6px}
.chk{display:flex;align-items:center;gap:10px;min-height:var(--tap)}
.chk input{width:22px;height:22px;flex-shrink:0}

.chips{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;margin-bottom:8px;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{flex-shrink:0;min-height:40px;padding:8px 14px;border-radius:20px;border:1px solid var(--border);background:#fff;color:var(--text);font-size:15px;font-weight:600}
.chip.on{background:var(--navy);color:#fff;border-color:var(--navy)}

.tag{display:inline-block;font-size:13px;font-weight:700;padding:2px 9px;border-radius:10px;background:#E6E6F5;color:var(--navy)}
.tag.school{background:#FFF1D6;color:#6B4300}
.tag.urgent{background:var(--red-bg);color:var(--red)}
.tag.event-today{background:#FEF3C7;color:#92400E;font-weight:800}
.tag.event-soon{background:#E0E7FF;color:#3730A3}
.tag.t-meet{background:#EAF3DE;color:#3B6D11}.tag.t-day{background:#E6F1FB;color:#185FA5}.tag.t-dead{background:#FAEEDA;color:#633806}
.tag.t-hol{background:#FCEBEB;color:#A32D2D}.tag.t-fair{background:#EEEDFE;color:#3C3489}.tag.t-bday{background:#FDEAF3;color:#9C2A63}

.banner{border-radius:var(--radius);padding:12px 14px;margin-bottom:10px;display:flex;gap:10px;align-items:flex-start;font-size:16px}
.banner.warn{background:#FAEEDA;border:1px solid #E0A04A;color:#4A2A04}
.banner.urgent{background:var(--red-bg);border:2px solid var(--red);color:#5A1010}
.banner.teaser{background:#FFF9E0;border:1px solid #D9B630;color:#4D4000}
.banner.bday{background:linear-gradient(135deg,#FFE8F3,#FFF6E0);border:2px solid #E77FB0;color:#5A1638}
.banner .ico{font-size:20px;line-height:1.2}
.banner button.link{background:none;border:0;padding:0;color:inherit;text-decoration:underline;font-weight:700;min-height:auto}

/* feed */
.post{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:14px 16px;margin-bottom:10px;display:block;width:100%;text-align:left;position:relative}
.post.unread{border-left:5px solid var(--gold)}
.post.urgent{border-color:var(--red);border-left-width:5px}
.post .meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:14px;color:var(--text-3);margin-bottom:6px}
.post h3{font-size:17px;margin:0 0 4px}
.post .body{font-size:16px;color:var(--text);display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line}
.post img.thumb{width:100%;max-height:220px;object-fit:cover;border-radius:10px;margin-top:10px;display:block;background:var(--card-2)}
.post .more{font-size:15px;font-weight:700;color:var(--navy);margin-top:6px}
.dot{width:10px;height:10px;border-radius:50%;background:var(--gold);display:inline-block}

/* absence */
.absence-btn{width:100%;min-height:60px;display:flex;align-items:center;gap:12px;background:var(--navy);color:#fff;border:0;border-radius:var(--radius);padding:12px 16px;font-size:17px;font-weight:700;text-align:left;box-shadow:0 2px 8px rgba(0,48,135,.25)}
.absence-btn .e{font-size:24px}

/* events */
.ecard{display:flex;gap:12px;align-items:flex-start;background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:12px 14px;margin-bottom:8px}
.edate{min-width:50px;text-align:center;background:var(--navy);border-radius:8px;padding:6px 4px;color:#fff;flex-shrink:0}
.edate .d{font-size:20px;font-weight:800;line-height:1.1}
.edate .m{font-size:13px;text-transform:uppercase;color:#D6D6F0}
.ecard .t{font-weight:700;font-size:16px}
.ecard .s{font-size:15px;color:var(--text-2);margin-top:2px}
details.month{margin-bottom:6px}
details.month summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;font-size:17px;font-weight:700;color:var(--navy);min-height:var(--tap);padding:4px 2px}
details.month summary::-webkit-details-marker{display:none}
details.month summary::before{content:'▸';color:var(--text-3);transition:transform .15s}
details.month[open] summary::before{transform:rotate(90deg)}
.count{margin-left:auto;background:#E6E6F5;color:var(--navy);font-size:14px;border-radius:10px;padding:1px 9px}

.hero{background:var(--navy);color:#fff;border-radius:var(--radius);padding:16px;margin-bottom:12px}
.hero .lab{font-size:14px;text-transform:uppercase;letter-spacing:.06em;color:#D6D6F0;font-weight:700}
.hero .big{font-size:30px;font-weight:800;margin:4px 0}
.track{height:8px;border-radius:5px;background:rgba(255,255,255,.2);overflow:hidden;margin-top:10px}
.fill{height:100%;background:var(--gold)}
.pill{display:inline-block;margin-top:12px;background:rgba(255,255,255,.16);padding:6px 14px;border-radius:20px;font-weight:700;font-size:15px}

.day{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:10px 14px;margin-bottom:8px}
.day.today{background:#FFF4E0;border:2px solid var(--gold)}
.day .dl{font-weight:800;color:var(--navy);width:44px;display:inline-block}
.day .wear{color:var(--navy);font-size:15px;margin-top:4px}
.day .db{font-size:15px;color:var(--text-2);margin-top:2px}
.day .db2{font-size:15px;font-weight:700;color:var(--navy);background:#FFF7E6;border-radius:8px;padding:8px 10px;margin-top:8px}

.bday{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--border);border-radius:10px;padding:10px 12px;margin-bottom:6px}
.bday .n{flex:1;font-weight:600}
.bday .d{color:var(--text-2);font-weight:700}
.menu-row{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid var(--border)}
.menu-row:last-child{border-bottom:0}
.menu-row b{width:48px;color:var(--navy);flex-shrink:0}
ul.snacks{columns:2;column-gap:16px;padding-left:18px;margin:6px 0 0}
ul.snacks li{margin-bottom:4px}
.link-card{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:12px 14px;margin-bottom:8px;text-decoration:none;color:inherit;min-height:60px}
.link-card .li{width:40px;height:40px;border-radius:10px;background:#E6E6F5;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:20px}
.link-card .go{color:var(--navy);font-size:22px}
.staff{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px dashed var(--border);font-size:15px;flex-wrap:wrap}
.staff:last-child{border-bottom:0}

/* tab bar */
.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:30;background:#fff;border-top:1px solid var(--border);padding-bottom:var(--safe-b);box-shadow:0 -2px 10px rgba(0,20,60,.06)}
.tabbar-in{max-width:600px;margin:0 auto;display:flex}
.tabbar button{flex:1;min-height:var(--tabbar);background:none;border:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:13px;font-weight:600;color:var(--text-2);position:relative}
.tabbar button svg{width:24px;height:24px}
.tabbar button.on{color:var(--navy)}
.tabbar button.on::before{content:'';position:absolute;top:0;left:22%;right:22%;height:3px;border-radius:0 0 3px 3px;background:var(--navy)}
.tabbar .badge{top:6px;right:calc(50% - 26px)}

/* sheet / modal */
.sheet-bg{position:fixed;inset:0;background:rgba(0,15,40,.5);z-index:50;display:none;align-items:flex-end;justify-content:center}
.sheet-bg.on{display:flex}
.sheet{background:#fff;width:100%;max-width:600px;max-height:90vh;overflow:auto;border-radius:18px 18px 0 0;padding:8px 18px calc(24px + var(--safe-b))}
.sheet .grab{width:44px;height:5px;border-radius:3px;background:#C9D0DB;margin:6px auto 10px}
.sheet h2{font-size:21px;margin:6px 0 8px}
.sheet img.full{width:100%;border-radius:12px;margin:10px 0;display:block}

.toast{position:fixed;left:50%;bottom:calc(var(--tabbar) + 20px + var(--safe-b));transform:translateX(-50%);background:#2E2E2E;color:#fff;padding:12px 18px;border-radius:12px;font-size:15px;z-index:60;max-width:90vw;display:none}
.toast.on{display:block}

.gate{min-height:100vh;background:linear-gradient(160deg,var(--navy-deep),var(--navy));color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 24px;text-align:center}
.gate .crest{width:72px;height:72px;border-radius:16px;margin-bottom:16px}
.gate h1{font-size:24px;margin:0 0 6px}
.gate p{color:#D6D6F0;margin:0 0 20px}
.gate form{width:100%;max-width:320px}
.gate input{width:100%;min-height:52px;border-radius:12px;border:1px solid rgba(255,255,255,.4);background:rgba(255,255,255,.1);color:#fff;text-align:center;font-size:18px;margin-bottom:12px;padding:10px}
.gate input::placeholder{color:#D6D6F0}
.gate .btn{width:100%;min-height:52px}
.gate .err{color:#FFC9C9}
.gate .note{font-size:15px;color:#D6D6F0;margin-top:18px;max-width:340px}

.push-card{background:linear-gradient(160deg,#000070,#000080);color:#fff;border-radius:var(--radius);padding:16px;margin-bottom:12px}
.push-card h3{margin:0 0 6px;font-size:18px}
.push-card p{margin:0 0 10px;color:#DCE6F7}
.push-card ol{margin:0 0 12px;padding-left:22px;color:#fff}
.push-card .st{font-size:14px;color:#D6D6F0;margin-top:8px}
.push-card .btn.ghost{background:transparent;color:#fff;border-color:#fff}

.empty{text-align:center;color:var(--text-2);padding:24px 10px}
.xmas{background:linear-gradient(160deg,#1B7A3D,#0F5228);color:#fff;border-radius:var(--radius);padding:14px;margin-bottom:12px}
.xmas img{width:100%;border-radius:10px;display:block;margin-bottom:10px}
.xmas h3{color:#FFD24C;margin:0 0 4px;font-size:20px}
.xmas .btn{background:#C0202C;color:#fff}

/* WhatsApp buttons (numbers come from the server after unlock) */
a.btn{text-decoration:none}
.btn .wa-i{flex:none}
.welcome{border:2px solid var(--gold);background:#FFFBEF}
.welcome ul{padding-left:20px;margin:8px 0 12px}
.welcome li{margin:6px 0}
.fair-card{cursor:default}
.disclaimer{opacity:.95}

/* class picker */
.cp{position:relative;width:100%;margin-bottom:12px;text-align:left}
.cp-btn{width:100%;min-height:52px;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 14px;font-size:17px;font-weight:600;cursor:pointer;border:1px solid var(--border);background:#fff;color:var(--ink,#2E2E2E)}
.cp-caret{font-size:16px;opacity:.8}
.cp-list{margin-top:6px;border-radius:12px;background:#fff;border:1px solid var(--border,#E1E5EB);box-shadow:0 8px 24px rgba(0,0,0,.18);max-height:340px;overflow:auto;padding:4px}
.cp-opt{display:flex;width:100%;align-items:center;justify-content:space-between;min-height:46px;padding:8px 12px;border:0;background:none;border-radius:8px;font-size:17px;font-weight:600;color:#2E2E2E;text-align:left;cursor:pointer}
.cp-opt:hover:not(.off),.cp-opt[aria-selected="true"]{background:#FFF4E0}
.cp-opt.off{color:#9AA3B2;cursor:not-allowed;font-weight:500}
.cp-soon{font-size:13px;font-weight:600;color:#7A8394;background:#EEF1F5;border-radius:999px;padding:3px 10px}
.cp-empty{margin:10px;color:#7A8394}
.gate .glabel{display:block;text-align:left;font-size:15px;font-weight:600;margin:4px 0 6px;color:#E6E6F5}
.gate .cp-btn{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.4);color:#fff}
.gate .cp.chosen .cp-btn{border-color:var(--gold,#E8A33D)}

.cal-link{text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:4px}
.post .more.cta{display:inline-block;margin-top:8px;background:var(--gold,#E8A33D);color:#2A1A00;font-weight:800;border-radius:10px;padding:8px 14px}

/* ---- Light only: opt out of forced dark modes (Samsung Internet, Chrome auto-dark) ---- */
:root,html,body{color-scheme:only light}
html{background-color:#FAFAFC;color:#2E2E2E}
body{background-color:#FAFAFC;color:#2E2E2E}
.wrap{background-color:#FAFAFC;color:#2E2E2E}
.card,.post,.ecard,.day,.bday,.sheet,.tabbar,.cp-list,.radio-card,.link-card{background-color:#FFFFFF;color:#2E2E2E}
.day.today,.cp-opt[aria-selected="true"]{background-color:#FFF4E0;color:#2E2E2E}
.welcome{background-color:#FFFBEF;color:#2E2E2E}
.radio-card.on{background-color:#F3F7FF;color:#2E2E2E}
.list-edit .item,.post img.thumb{background-color:#F4F1EA;color:#2E2E2E}
.notif{background-color:#F3F4F6;color:#2E2E2E}
.pinbox,.nudge{background-color:#FFF7E6;color:#4A2A04}
.tip{background-color:#EEF3FB;color:#13284F}
.link-card .li{background-color:#E6E6F5;color:#000080}
.field input,.field select,.field textarea,input,select,textarea{background-color:#FFFFFF;color:#2E2E2E}
input::placeholder,textarea::placeholder{color:#7A8698;opacity:1}
.btn{background-color:#000080;color:#FFFFFF}
.btn.gold,.pv-btn,.post .more.cta{background-color:#E8A33D;color:#3A2400}
.btn.ghost{background-color:#FFFFFF;color:#000080}
.btn.light{background-color:#E6E6F5;color:#000080}
.btn.wa{background-color:#0B7A5C;color:#FFFFFF}
.btn.danger{background-color:#FFFFFF;color:#A32D2D}
.hdr{background-color:#000080;color:#FFFFFF}
.gate{background-color:#000060;color:#FFFFFF}
.gate input,.gate .cp-btn{background-color:rgba(255,255,255,.1);color:#FFFFFF}
.gate input::placeholder{color:#D6D6F0}
.cp-btn{background-color:#FFFFFF;color:#2E2E2E}
.cp-opt{background-color:transparent;color:#2E2E2E}
.cp-opt.off{color:#9AA3B2}
.cp-soon{background-color:#EEF1F5;color:#7A8394}
.sheet-bg{background-color:rgba(0,15,40,.5)}
.push-card .btn.ghost{background-color:transparent;color:#FFFFFF}

/* ---- Samsung tip + colours picker ---- */
.sam-tip{background-color:#FFF7E6;color:#4A2A04;border:1px solid #E0A04A;border-radius:12px;padding:10px 12px;margin:10px 12px 0;font-size:15px}
.gate .sam-tip{margin:0 0 16px;text-align:left;max-width:320px}
.sam-tip p{margin:0 0 8px}.sam-btns{display:flex;gap:8px;flex-wrap:wrap}
.theme-pick{display:flex;gap:8px;flex-wrap:wrap}.theme-pick .btn.on{background-color:#000080;color:#FFFFFF}

/* ---- Dark palette (used on Samsung Internet in dark mode, or when chosen) ---- */
html.theme-dark{--bg:#0A0A30;--card:#14223F;--card-2:#1B2B4D;--border:#2C3E63;--text:#EEEEF8;--text-2:#BCC8DE;--text-3:#9AAAC6;color-scheme:dark}
html.theme-dark,html.theme-dark body,html.theme-dark .wrap{background-color:#0A0A30;color:#EEEEF8}
html.theme-dark .card,html.theme-dark .post,html.theme-dark .ecard,html.theme-dark .day,html.theme-dark .bday,html.theme-dark .sheet,html.theme-dark .cp-list,html.theme-dark .radio-card,html.theme-dark .link-card,html.theme-dark .chip,html.theme-dark .cp-btn{background-color:#14223F;color:#EEEEF8;border-color:#2C3E63}
html.theme-dark .tabbar{background-color:#0F1C38;color:#EEEEF8;border-top-color:#2C3E63}
html.theme-dark .tabbar button{color:#BCC8DE}html.theme-dark .tabbar button.on{color:#FFD27A}
html.theme-dark .tabbar button.on::before{background-color:#E8A33D}
html.theme-dark .hdr{background-color:#061433;color:#FFFFFF}
html.theme-dark .day.today,html.theme-dark .cp-opt[aria-selected="true"],html.theme-dark .cp-opt:hover:not(.off){background-color:#3A2C10;color:#FFF3DC}
html.theme-dark .welcome{background-color:#2A2410;color:#FFF3DC;border-color:#6B5520}
html.theme-dark .radio-card.on{background-color:#1D3360;color:#FFFFFF;border-color:#5C86D6}
html.theme-dark .list-edit .item,html.theme-dark .post img.thumb,html.theme-dark .day .db2{background-color:#1B2B4D;color:#EEEEF8;border-color:#2C3E63}
html.theme-dark .notif{background-color:#1B2B4D;color:#EEEEF8}html.theme-dark .notif .app{color:#BCC8DE}html.theme-dark .notif .nb{color:#EEEEF8}
html.theme-dark .pinbox,html.theme-dark .nudge,html.theme-dark .banner.warn,html.theme-dark .sam-tip{background-color:#3A2C10;color:#FFE7B8;border-color:#8A6420}
html.theme-dark .banner.teaser{background-color:#2F2A0E;color:#FFF0B0;border-color:#7A6A1E}
html.theme-dark .banner.bday{background:#3A1730;color:#FFD9EC;border-color:#B4558A}
html.theme-dark .tip{background-color:#1B2B4D;color:#DCE6F7}
html.theme-dark .link-card .li,html.theme-dark .count,html.theme-dark .tag,html.theme-dark .stat.n{background-color:#22365E;color:#CFE0FF}
html.theme-dark .tag.school{background-color:#3A2C10;color:#FFD27A}
html.theme-dark .tag.t-meet,html.theme-dark .stat{background-color:#173B22;color:#B6E3B0}
html.theme-dark .tag.t-day{background-color:#18324F;color:#A9D1FF}
html.theme-dark .tag.t-dead{background-color:#3A2A12;color:#F5CB8C}
html.theme-dark .tag.t-hol,html.theme-dark .stat.f{background-color:#3D1A1E;color:#FFB4B4}
html.theme-dark .tag.t-fair{background-color:#2A2650;color:#CFC9FF}
html.theme-dark .tag.t-bday{background-color:#3A1730;color:#FFC2E1}
html.theme-dark .field input,html.theme-dark .field select,html.theme-dark .field textarea,html.theme-dark input,html.theme-dark select,html.theme-dark textarea{background-color:#0F1C38;color:#EEEEF8;border-color:#3A4E77}
html.theme-dark input::placeholder,html.theme-dark textarea::placeholder{color:#8495B3}
html.theme-dark .btn{background-color:#2B55B5;color:#FFFFFF}
html.theme-dark .btn.gold,html.theme-dark .pv-btn,html.theme-dark .post .more.cta{background-color:#F2A93A;color:#231500}
html.theme-dark .btn.ghost{background-color:transparent;color:#CFE0FF;border-color:#8FB0EE}
html.theme-dark .btn.light{background-color:#22365E;color:#E3EDFF}
html.theme-dark .btn.wa{background-color:#11966F;color:#FFFFFF}
html.theme-dark .btn.danger{background-color:transparent;color:#FF9C9C;border-color:#FF9C9C}
html.theme-dark .theme-pick .btn.on{background-color:#F2A93A;color:#231500}
html.theme-dark .cp-opt{color:#EEEEF8}html.theme-dark .cp-opt.off{color:#6F7F9E}html.theme-dark .cp-soon{background-color:#22365E;color:#AFC0DE}
html.theme-dark .muted,html.theme-dark .field label,html.theme-dark .lbl,html.theme-dark h2.sec,html.theme-dark .ecard .s,html.theme-dark .day .db,html.theme-dark .bday .d{color:#BCC8DE}
html.theme-dark .hint,html.theme-dark .stamp,html.theme-dark .post .meta,html.theme-dark .counter{color:#9AAAC6}
html.theme-dark a{color:#9CC2FF}html.theme-dark a.btn{color:inherit}
html.theme-dark .toast{background-color:#EEEEF8;color:#0A0A30}
html.theme-dark .sheet .grab{background-color:#3A4E77}
html.theme-dark .edate{background-color:#2B55B5}
html.theme-dark body{color-scheme:dark}
.gate .sam-tip .sam-btns .btn{width:auto;flex:1;min-height:40px;margin:0}
html.theme-dark details.month summary,html.theme-dark .post .more,html.theme-dark .day .dl,html.theme-dark .day .wear,html.theme-dark .day .db2,html.theme-dark .menu-row b,html.theme-dark .link-card .go,html.theme-dark details.adv summary,html.theme-dark .count{color:#A9C8FF}
html.theme-dark [style^="color:var(--navy)"],html.theme-dark [style*=";color:var(--navy)"]{color:#A9C8FF!important}
html.theme-dark .post .more.cta{color:#231500}
.a2hs{display:flex;align-items:center;gap:10px;background:#FFF6E6;border:1px solid #F3D7A6;border-radius:var(--radius);padding:10px 6px 10px 12px;margin:12px 16px 0}
.a2hs a{flex:1;text-decoration:none;color:var(--text);font-size:15px;line-height:1.3}.a2hs a span{color:var(--text-2);font-size:14px}
.a2hs-i{font-size:22px}.a2hs .icon-btn{color:var(--text-2);font-size:16px}
.push-card .btns a.btn{text-decoration:none;display:inline-flex;align-items:center}

.crest.wm{display:flex;align-items:center;justify-content:center;background:#E8A33D;color:#000060;font-weight:800;font-family:Georgia,serif;font-size:17px;letter-spacing:.5px}
.gate .crest.wm{font-size:30px}
.card.verse{border-left:4px solid var(--gold);background:#FFFDF6}
.card.verse .verse-t{font-family:Georgia,serif;font-size:17px;margin:4px 0}

.crest.logo{width:auto;height:52px;padding:2px;background:#fff;border-radius:8px;display:flex;align-items:center}
.crest.logo img{height:100%;width:auto}
.gate .crest.logo{height:120px;width:auto;padding:6px;border-radius:14px}
.motto{font-style:italic;color:#E8A33D!important;font-size:13px;margin:0!important;letter-spacing:.3px}
.gate .motto{font-size:16px;margin:0 0 10px!important}
:root{--accent:#C8102E}
.hdr{border-bottom:3px solid #C8102E}
.tag.urgent,.post.urgent .tag,.banner.urgent{background:#C8102E!important;color:#fff!important}
.post.urgent,.card.urgent{border-left:5px solid #C8102E;background:#FDECEE}
