@font-face{font-family:Thmanyah;src:url("/assets/fonts/thmanyah-regular.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Thmanyah;src:url("/assets/fonts/thmanyah-bold.woff2") format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:Thmanyah;src:url("/assets/fonts/thmanyah-black.woff2") format("woff2");font-weight:900;font-display:swap}
:root{--page:#f3f6f7;--card:#fcfdfd;--ink:#26353a;--muted:#6b7a80;--line:#dce4e6;--soft:#e8eff0;--accent:#4f7478;--accent-ink:#fff;--logo-bg:#eaf1f2}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--page);color:var(--ink);font:400 13px/1.5 Thmanyah,Tahoma,Arial,sans-serif;transition:background .2s,color .2s}
body.dark{--page:#12191c;--card:#1a2428;--ink:#e6edef;--muted:#9aa9ae;--line:#2f3e43;--soft:#233136;--accent:#83aeb2;--accent-ink:#102023;--logo-bg:#25363a}
button,a{font:inherit}
button{cursor:pointer}
a{text-decoration:none;color:inherit}
.site-header{padding:25px 18px;background:var(--accent);color:var(--accent-ink)}
.header-inner{max-width:1120px;margin:auto;display:flex;align-items:center;gap:12px}
.header-inner h1{margin:0;font-size:clamp(20px,3.5vw,27px);font-weight:900;line-height:1}
.brand-mark{width:45px;height:45px;display:grid;place-items:center;position:relative;flex:0 0 auto;border:2px solid currentColor;border-radius:18px 5px 18px 5px}
.brand-mark::before{content:"";width:18px;height:18px;border:2px solid currentColor;border-radius:50%}
.brand-mark::after{content:"";position:absolute;width:6px;height:6px;background:currentColor;border-radius:50%}
.icon-button{border:0;width:42px;height:42px;display:grid;place-items:center;background:transparent;color:inherit}
.theme-toggle{margin-right:auto;border-radius:50%;background:#ffffff24}
.icon-button svg,.section-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.content{max-width:760px;margin:auto;padding:12px 18px 0}
.section{margin-top:34px}
.section-head{display:flex;align-items:center;gap:11px;margin-bottom:14px;padding-right:13px;border-right:4px solid var(--accent)}
.section-title{margin:0;font-size:clamp(20px,3.5vw,28px);font-weight:900;line-height:1.1}
.section-icon{width:35px;height:35px;display:grid;place-items:center;color:var(--accent)}
.section-icon svg{width:26px;height:26px}
.cards{display:grid;gap:8px;padding:1px 0 4px}
.card{width:100%;min-width:0;padding:8px 10px;display:flex;align-items:center;gap:10px;background:var(--card);border:1px solid var(--line);border-radius:8px 18px 8px 18px;box-shadow:0 5px 16px #263f4408}
.site-logo{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:8px 13px 8px 13px;background:var(--logo-bg);color:var(--accent);font-size:13px;font-weight:900;overflow:hidden}
.site-logo img{width:100%;height:100%;padding:4px;object-fit:contain;display:block}
.visit-button{min-height:38px;display:flex;align-items:center;justify-content:center;flex:1;padding:7px 10px;border-radius:8px;background:var(--accent);color:var(--accent-ink);font-size:11px;font-weight:700;text-align:center}
.visit-button.disabled{cursor:not-allowed;opacity:.52}
.visit-button:focus-visible,.theme-toggle:focus-visible{outline:3px solid color-mix(in srgb,var(--accent) 45%,transparent);outline-offset:3px}
.loading,.error-state,.empty-state{min-height:45vh;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--muted);text-align:center}
.error-state,.empty-state{flex-direction:column}
.spinner{width:22px;height:22px;border:3px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}
.toast{position:fixed;z-index:50;bottom:22px;left:50%;transform:translate(-50%,25px);opacity:0;pointer-events:none;background:#1e2d31;color:#fff;padding:9px 14px;border-radius:99px;transition:.22s;white-space:nowrap}
.toast.show{opacity:1;transform:translate(-50%,0)}
footer{max-width:1120px;margin:45px auto 0;padding:24px 18px;text-align:center;color:var(--muted);font-size:11px}
@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:640px){
  .site-header{padding:18px 15px}
  .content{padding:6px 15px 0}
  .brand-mark{width:41px;height:41px}
  .header-inner h1{font-size:20px}
  .section{margin-top:27px}
  .section-title{font-size:18px}
  .section-head{margin-bottom:10px}
  .card{padding:7px 8px}
  .site-logo{width:39px;height:39px;flex-basis:39px}
  .visit-button{min-height:36px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
