:root{font:16px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#f5d779;background:#111;color-scheme:dark;--bar-height:78px;--safe-bottom:env(safe-area-inset-bottom,0px)}
*{box-sizing:border-box}body{margin:0;height:100vh;height:100dvh;overflow:hidden}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #ffe8a2;outline-offset:3px}[hidden]{display:none!important}
#content{position:absolute;inset:0 0 calc(var(--bar-height) + var(--safe-bottom));overflow:hidden}#page,#support-page{width:100%;height:100%;border:0;display:block;background:#111}
.bottom-bar{position:fixed;bottom:0;left:0;right:0;z-index:10;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));height:calc(var(--bar-height) + var(--safe-bottom));padding:0 max(12px,env(safe-area-inset-right)) var(--safe-bottom) max(12px,env(safe-area-inset-left));background:linear-gradient(180deg,#211d16,#12110e);border-top:1px solid #6f572b;box-shadow:0 -8px 32px #0006}
.bottom-bar>button{border:0;background:none;color:#c8ba9d;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:12px;font-weight:600;min-width:44px;min-height:44px}.bottom-bar>button:hover,.bottom-bar>button[aria-pressed=true]{color:#ffe7a4}.bottom-bar svg,.bell svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.bottom-bar #menu-toggle{color:#f5d779;gap:3px}.menu-orb{display:grid;place-items:center;width:54px;height:48px;margin-top:-15px;border-radius:17px;border:1px solid #d9b554;background:linear-gradient(145deg,#e1bf68,#ac8230);color:#18130a;box-shadow:0 4px 14px #0005}
dialog{position:fixed;inset:auto 12px calc(var(--bar-height) + var(--safe-bottom) + 14px);margin:0 auto;width:min(400px,calc(100% - 24px));max-height:calc(100dvh - var(--bar-height) - var(--safe-bottom) - 42px);padding:18px;border:1px solid #80642f;border-radius:24px;background:linear-gradient(145deg,#252017,#141310);color:#f5d779;box-shadow:0 20px 70px #000b;overflow:auto}dialog::backdrop{background:#0008;backdrop-filter:blur(3px)}.sheet-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.sheet-heading h2{margin:0;font-size:17px}.sheet-heading button{width:44px;height:44px;background:none;border:0;color:#d5c7aa;font-size:30px}
.destinations{display:grid;gap:8px}.destinations>a,.destinations>button{display:flex;align-items:center;gap:14px;min-height:56px;padding:8px 12px;border:1px solid #4f4128;border-radius:14px;background:#191713;color:#eee1c5;text-decoration:none;text-align:left;font-weight:600}.destinations>a:hover,.destinations>button:hover{background:#302719;border-color:#c59c43}.logo{width:48px;height:36px;flex:0 0 48px;display:grid;place-items:center;border-radius:6px;overflow:hidden}.logo img{max-width:100%;max-height:36px;object-fit:contain}.logo.fluxa{background:linear-gradient(145deg,#ded1b1,#c9b386);border:1px solid #a98a4b;padding:3px}.logo.fluxa img{max-height:28px}.bell{color:#e2b94f}.external{margin-left:auto;color:#a39780}
#notices{height:100%;overflow:auto;padding:24px max(20px,calc((100% - 580px)/2)) 36px;overscroll-behavior:contain}#notices header{display:flex;align-items:center;gap:18px;margin-bottom:24px}#notices h1{font-size:25px}#notices header img{object-fit:contain}#notice-list{display:grid;gap:14px}#notice-list article{padding:20px;border:1px solid #6f572b;border-radius:18px;background:linear-gradient(145deg,#242019,#151412)}#notice-list h2{margin:0 0 12px;font-size:18px}#notice-list p{white-space:pre-wrap;overflow-wrap:anywhere;color:#d3c8b1;line-height:1.6;margin:0}#notice-list time{display:block;color:#a99b81;font-size:12px;margin-bottom:12px}
@media(min-width:700px){.bottom-bar{padding-left:calc((100% - 600px)/2);padding-right:calc((100% - 600px)/2)}}

.push-panel{padding:18px;margin-bottom:20px;border:1px solid #6f572b;border-radius:18px;background:#191713}.push-panel button{min-height:44px;padding:10px 16px;border:1px solid #c59c43;border-radius:12px;background:#302719;color:#f5d779;font:inherit;cursor:pointer}.push-panel button:disabled{opacity:.65;cursor:default}.push-panel p{color:#d3c8b1;font-size:14px;line-height:1.5;margin:12px 0 0}

.frame-recovery{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px;overflow:auto;background:#111;color:#f5d779;text-align:center}.frame-recovery h2{font-size:20px;margin:0}.frame-recovery p{max-width:430px;line-height:1.5;margin:0}.frame-recovery div{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.frame-recovery button,.frame-recovery a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid #c59c43;border-radius:12px;background:#302719;color:#f5d779;text-decoration:none;font:inherit}.frame-recovery[hidden]{display:none}
