:root{color-scheme:dark;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#080d13;color:#eef1f4;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #60ccff;outline-offset:4px}.shell{max-width:560px;margin:auto;padding:20px 24px 36px;padding-top:max(20px,env(safe-area-inset-top))}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:34px}.brand{width:52px;height:52px;display:block}.brand img{width:100%;height:100%;object-fit:contain;border-radius:12px}.discord{font-size:12px;padding:12px 15px;border:1px solid #494778;border-radius:10px;background:#24233f}.discord[aria-disabled=true]{opacity:.5;cursor:not-allowed}.context{display:flex;justify-content:space-between;align-items:center;color:#8f9baa;letter-spacing:2px;font-size:10px;font-weight:600}#refresh{background:none;color:#99a7b8;border:0;font-size:25px;width:44px;height:44px}.eyebrow{font-size:13px;color:#9ca7b5;margin:22px 0 6px}h1{font-size:36px;letter-spacing:-1.3px;margin:0 0 26px;font-weight:650}.hero{border:1px solid #34414c;border-radius:20px;background:linear-gradient(145deg,#17222d,#10171f);padding:28px 20px 12px}.hero-label{font-size:11px;letter-spacing:3px;color:#dbbf80;margin:0}.hero-time{font-size:70px;font-weight:650;letter-spacing:-3px;margin:9px 0 0}.countdown{font-size:17px;color:#b5bfce;margin:0 0 24px}.row{display:flex;align-items:center;gap:12px;padding:14px 0;border-top:1px solid #26313c;min-height:76px}.icon{width:55px;height:55px;object-fit:contain;flex:none}.name{font-size:15px;font-weight:550;line-height:1.35}.badge{display:inline-block;font-size:10px;border-radius:5px;padding:3px 7px;margin-top:6px;background:#24313c;color:#b7c5d5}.peace{background:#173c2d;color:#90dbb2}.field,.guild{background:#43351c;color:#e9c579}.conflict{background:#44252c;color:#f5a2aa}.domain{background:#2e2947;color:#bfa9ee}.cooperative{background:#173d47;color:#8addf1}.after{margin:18px 0 0;padding:18px;background:#101820;border:1px solid #23303c;border-radius:14px}.after-label{font-size:11px;letter-spacing:1px;color:#9ba8b9;margin:0 0 10px}.after .row{padding:9px 0}.primary{display:flex;justify-content:space-between;border:1px solid #8b7750;background:#211f1a;border-radius:12px;padding:17px 18px;margin-top:22px;font-size:14px}.primary span{color:#e5c47b}.title{display:flex;align-items:baseline;justify-content:space-between;margin-top:20px}.back{font-size:12px;color:#aab6c4}.days,.filters{display:flex;gap:8px;overflow-x:auto;padding:3px 0 12px}.days button,.filters button{white-space:nowrap;border:1px solid #2c3744;background:#131c26;color:#aeb9c8;border-radius:9px;padding:12px 16px;font-size:13px}.days button[aria-pressed=true],.filters button[aria-pressed=true]{background:#d8bd80;color:#181a1e;border-color:#d8bd80}.filters button{border-radius:24px;padding:9px 16px}.slot{display:grid;grid-template-columns:55px 1fr;gap:13px;margin-top:18px}.slot time{font-size:14px;color:#cfb67e;padding-top:21px}.slot-card{border:1px solid #263341;border-radius:14px;background:#111923;padding:0 14px}.slot-card .row:first-child{border:0}.empty{padding:35px 20px;border:1px dashed #3b4854;border-radius:15px;color:#a4b0c1;line-height:1.6;font-size:14px}footer{margin-top:34px;font-size:11px;color:#8795a6;line-height:1.7}footer p{margin:5px 0}summary{cursor:pointer;color:#b6c1cf;padding:12px 0}#notice{font-size:12px;color:#d9bf86;line-height:1.5}#notice:empty{display:none}#splash{position:fixed;inset:0;z-index:5;background:#070c12;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;pointer-events:none;animation:exit .3s 1s forwards}#splash img{width:145px;height:145px;object-fit:contain}#splash strong{font-size:25px;letter-spacing:-.5px}#splash small{font-size:12px;color:#8899a9}@keyframes exit{to{opacity:0;visibility:hidden}}[hidden]{display:none!important}@media(prefers-reduced-motion:reduce){#splash{display:none}}@media(max-width:360px){.shell{padding:16px}.hero-time{font-size:60px}.name{font-size:13px}}
:root .back-to-top{position:fixed;right:max(8px,calc((100vw - 560px)/2 - 60px));top:50%;transform:translateY(-50%);z-index:4;width:44px;height:44px;padding:0;border:1px solid #88764f;border-radius:50%;background:#18222eed;color:#efd49a;box-shadow:0 6px 24px #0008;font-size:24px;font-weight:500;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.back-to-top:hover{background:#303b49}
/* Dark glass: keep the existing palette and opaque, readable labels. */
body{background:radial-gradient(ellipse at 10% 15%,#16354a40,transparent 52%),radial-gradient(ellipse at 90% 65%,#40375126,transparent 50%),#080d13;background-attachment:fixed}
.hero,.after,.slot-card{background:linear-gradient(135deg,#7fa4be14,transparent 45%),linear-gradient(160deg,#1b2935d9,#101720e8);border-color:#9bb8cd30;box-shadow:inset 0 1px 0 #d5eaff19,inset 0 -1px 0 #0003,0 12px 32px #0003;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.hero{border-color:#b9c9d33d}.row{border-top-color:#9bb8cd20}
@media(max-width:680px){#calendar{padding-right:36px}.slot{grid-template-columns:45px minmax(0,1fr);gap:8px}.slot-card{padding:0 10px}.slot-card .row{gap:8px}.slot-card .name{overflow-wrap:anywhere}}
.hero,.after,.slot-card{background:linear-gradient(120deg,#d5efff26 0%,#c4e4ff08 28%,transparent 52%),linear-gradient(160deg,#20334499,#0d1620b8);border-color:#b9def34d;box-shadow:inset 0 1px 0 #edfbff4a,inset 1px 0 0 #c9e8ff14,inset 0 -1px 0 #d4eaff0d,0 16px 40px #0005;backdrop-filter:blur(22px) saturate(135%);-webkit-backdrop-filter:blur(22px) saturate(135%)}
.hero,.after,.slot-card{position:relative;isolation:isolate;border-radius:22px;border:1px solid #d9efffa6;background:linear-gradient(125deg,#c7e2f033,#aac5df0c 48%,#7a9bb222),#172433b3;box-shadow:inset 0 2px 2px #ffffff70,inset 2px 0 5px #d7eeff26,inset 0 -3px 5px #dceeff40,0 8px 12px #0007,0 22px 40px #0003;backdrop-filter:blur(24px) saturate(120%);-webkit-backdrop-filter:blur(24px) saturate(120%)}
.hero::after,.after::after,.slot-card::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:inherit;background:radial-gradient(ellipse 42% 9px at 50% 100%,#f0fbffb3,transparent),linear-gradient(115deg,#ffffff10,transparent 40%);box-shadow:inset 0 0 0 3px #e2f2ff0a}
.home-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #b8d6ea45;border-radius:14px;background:#bfdfff0d;color:#d8e8f4}.home-icon svg{width:23px;height:23px}.home-icon:hover{background:#bfdfff20}footer .discord{display:flex;justify-content:center;margin-top:22px;min-height:44px;align-items:center}
@supports not (backdrop-filter:blur(1px)){.hero,.after,.slot-card{background:linear-gradient(145deg,#334858,#172433)}}
#home .hero .icon{width:88px;height:88px}#home .after .icon{width:76px;height:76px}#home .row{gap:18px}#home .name{font-size:17px}#home .badge{font-size:12px}@media(max-width:380px){#home .hero .icon{width:76px;height:76px}#home .after .icon{width:68px;height:68px}#home .row{gap:12px}#home .name{font-size:15px}}

header{display:flex;align-items:center;justify-content:space-between;position:relative;z-index:20}
.settings{position:relative}.settings summary{display:grid;place-items:center;width:44px;height:44px;border:1px solid #71849555;border-radius:14px;cursor:pointer;list-style:none;background:#ffffff0b}.settings summary::-webkit-details-marker{display:none}
.settings-panel{position:absolute;right:0;top:54px;width:min(290px,calc(100vw - 40px));display:grid;gap:12px;padding:20px;border-radius:22px;border:1px solid #bcd1e477;background:linear-gradient(135deg,#304252ed,#101c28fa);backdrop-filter:blur(24px);box-shadow:inset 0 1px 2px #ffffff70,0 16px 45px #0008}
.settings-panel label{font-size:12px;color:#c5d2df}.settings-panel select{width:100%;padding:12px;border-radius:10px;border:1px solid #8999ab66;background:#142330;color:#f1f5f9;font:inherit}.settings-panel a{padding:12px 0;color:#d9c394}.settings-panel button:disabled{opacity:.6;cursor:not-allowed}.settings-panel small{line-height:1.5;color:#adbac7}
:root[data-theme="light"]{color-scheme:light}
:root[data-theme="light"] body{background:radial-gradient(at 10% 0%,#fff 0%,transparent 55%),linear-gradient(140deg,#e5eef6,#c6d4e2);color:#172a3b}
:root[data-theme="light"] .hero,:root[data-theme="light"] .after,:root[data-theme="light"] .slot-card{background:linear-gradient(135deg,#ffffffaa,#eef5fa60);border-color:#ffffff;box-shadow:inset 0 1px 5px #fff, inset 0 -2px 6px #8b9faf66,0 10px 28px #54677925;color:#172a3b}
:root[data-theme="light"] h1,:root[data-theme="light"] .name,:root[data-theme="light"] .hero-time{color:#172a3b}
:root[data-theme="light"] .countdown,:root[data-theme="light"] .after-label,:root[data-theme="light"] footer,:root[data-theme="light"] .eyebrow,:root[data-theme="light"] #notice{color:#40576a}
:root[data-theme="light"] button,:root[data-theme="light"] .back,:root[data-theme="light"] .primary{color:#213d53;background:#ffffff88;border-color:#8c9fae}
:root[data-theme="light"] button[aria-pressed="true"]{background:#dbc494;color:#172a3b}
:root[data-theme="light"] .settings-panel{background:linear-gradient(135deg,#f9fcfff5,#dce7f1fa);color:#172a3b}
:root[data-theme="light"] .settings-panel select{background:#fff;color:#172a3b}
:root[data-theme="light"] .settings-panel label,:root[data-theme="light"] .settings-panel small,:root[data-theme="light"] .settings-panel a,:root[data-theme="light"] .discord{color:#354e64}
:root[data-theme="light"] .badge{filter:saturate(.85);color:#fff}
:root[data-theme="light"] .hero-label,:root[data-theme="light"] .slot>time{color:#735317}
:focus-visible{outline:2px solid #51c6fa;outline-offset:4px}
.notification-dialog input.notification-search{display:block;box-sizing:border-box;width:100%;height:auto;margin-top:12px;padding:12px;border:1px solid #849aab88;border-radius:10px;background:transparent;color:inherit;font:inherit}.notification-dialog input.notification-search[hidden]{display:none}.notification-search::placeholder{color:inherit;opacity:.65}
.notification-dialog{width:min(540px,calc(100vw - 32px));max-height:85dvh;box-sizing:border-box;border:1px solid #9bb4c988;border-radius:24px;padding:24px;background:#172632;color:#eef4fa;box-shadow:inset 0 1px 4px #ffffff77,0 20px 70px #0008}.notification-dialog::backdrop{background:#030a12aa;backdrop-filter:blur(6px)}.notification-dialog h2{margin-top:0}.notification-dialog p,.notification-dialog small{font-size:13px;line-height:1.6;opacity:.85}.notification-dialog fieldset{border:1px solid #849aab66;border-radius:14px;margin:16px 0;padding:14px}.notification-dialog label{display:flex;align-items:center;gap:10px;margin:10px 0}.notification-dialog input{width:18px;height:18px;accent-color:#c9af75;flex-shrink:0}.notification-dialog select{padding:10px;width:100%;background:transparent;color:inherit;border:1px solid #849aab;border-radius:10px}.notification-dialog option{color:#172632;background:#fff}.notification-choices{max-height:240px;overflow:auto}.notification-actions{display:flex;gap:10px;justify-content:flex-end}.notification-dialog button,#notification-settings{font:inherit;padding:11px;border:1px solid #849aab66;border-radius:10px;background:transparent;color:inherit;cursor:pointer}.notification-dialog button[type=submit]{background:#c9af75;color:#172632}.notification-times small{display:block}:root[data-theme="light"] .notification-dialog{background:#eef5fa;color:#172632}
.community-link{display:flex;align-items:center;gap:10px}.community-link svg{flex-shrink:0}
:root[data-theme="light"] .settings summary{color:#354e64}
.settings-panel button:disabled{border:1px solid #8a9aaa55;border-radius:10px;padding:10px;background:transparent;color:inherit;font:inherit;text-align:left}
.settings-panel [hidden]{display:none!important}
.settings-panel .menu-control,.settings-panel .menu-option{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:12px 14px;text-align:left;font:inherit;color:inherit;border:1px solid #a9c5dd38;border-radius:12px;background:linear-gradient(120deg,#ffffff09,#ffffff02)}
.settings-panel .menu-control svg,.settings-panel .menu-option svg{width:23px;height:23px;flex-shrink:0}
.menu-control>span:first-of-type,.menu-option>span:first-of-type{flex:1}
.menu-chevron{font-size:22px;transition:transform .18s}
.menu-control[aria-expanded="true"] .menu-chevron{transform:rotate(180deg)}
.menu-options{display:grid;gap:3px;margin-top:7px;padding:5px;border:1px solid #aac5dd30;border-radius:14px;background:#07121c55}
.settings-panel .menu-option{border-color:transparent;background:transparent;min-height:43px;padding:9px}
.settings-panel .menu-option:hover,.settings-panel .menu-option[aria-pressed="true"]{background:#b2d5f01a}
.menu-check{color:#dfc58d}
.settings-panel .community-link{padding:12px 14px}
.settings-panel .menu-support{font-size:13px}
html[data-theme="light"] .menu-options{background:#ffffff55}
