@font-face {
  font-family: "MV Faseyha";
  src: url("/fonts/MV-Faseyha.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MV Waheed";
  src: url("/fonts/MV_Waheed.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MV A Waheed Bold";
  src: url("/fonts/MV-A-Waheed-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --thaana-regular: "MV Faseyha", "MV Waheed", sans-serif;
  --thaana-bold: "MV A Waheed Bold", "MV Waheed", var(--thaana-regular);
}

:root { --thaana-font: var(--thaana-regular); }

*{box-sizing:border-box}body{margin:0;background:#f4f5f6;color:#20252a;font-family:var(--thaana-font);
  font-family: var(--thaana-regular);
}header{background:#24282d;color:white;position:sticky;top:0;z-index:10;box-shadow:0 2px 14px #0002}.top{max-width:1180px;margin:auto;padding:15px 20px 10px;display:flex;justify-content:space-between;align-items:center;gap:15px}.brand{font-size:34px;font-weight:900}.brand small{display:block;font-size:11px;font-weight:500;color:#aeb5bd;margin-top:2px}.actions{display:flex;gap:8px;align-items:center}.actions button,.actions a{border:1px solid #59616a;background:#30363d;color:#fff;border-radius:9px;padding:8px 12px;text-decoration:none}nav{max-width:1180px;margin:auto;display:flex;gap:8px;padding:7px 20px 12px;overflow:auto}nav button{
  white-space:nowrap;
  position:relative;
  border:1px solid #4d555e;
  background:#30363d;
  color:#fff;
  border-radius:20px;
  padding:8px 14px;
  cursor:pointer;
  overflow:hidden;
  transition:transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}
nav button::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(120deg, transparent 20%, rgba(255,255,255,.14) 50%, transparent 80%);
  transform:translateX(-130%);
  transition:transform .45s ease;
  pointer-events:none;
}
nav button:hover{
  transform:translateY(-2px) scale(1.025);
  background:#3b424a;
  border-color:#78818b;
  box-shadow:0 6px 16px rgba(0,0,0,.22);
}
nav button:hover::after{transform:translateX(130%)}
nav button:active{transform:translateY(0) scale(.98);box-shadow:0 2px 7px rgba(0,0,0,.18)}
nav button:focus-visible{outline:2px solid #fff;outline-offset:3px}
nav button.active{background:#fff;color:#222;border-color:#fff;box-shadow:0 4px 12px rgba(0,0,0,.18)}
nav button.active:hover{background:#f1f3f5;color:#111}nav img,.meta img{width:20px;height:20px;object-fit:contain;vertical-align:middle;margin-left:6px;border-radius:50%}main{max-width:980px;margin:auto;padding:25px 18px}.hero{text-align:center;padding:25px 0}.hero h1{font-size:32px;margin:0 0 8px}.hero p{color:#68717a}.filters{display:flex;gap:10px;max-width:560px;margin:20px auto}.filters input,.filters select{flex:1;border:1px solid #d2d7dc;background:#fff;padding:13px 15px;border-radius:10px;font-family:var(--thaana-font);font-size:17px;direction:rtl;text-align:right}.status{color:#707981;margin:10px 0;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.visitor-count-chip{direction:ltr;display:inline-flex;align-items:center;gap:7px;padding:5px 9px;border:1px solid #d7dade;border-radius:999px;background:#f1f2f3;color:#49515a;font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1;font-variant-numeric:tabular-nums;box-shadow:0 2px 7px #173b2410;transition:background .2s ease,box-shadow .2s ease,transform .2s ease}.visitor-count-chip:hover{background:#e9ebed;box-shadow:0 4px 11px #00000018;transform:translateY(-1px)}.visitor-count-chip svg{display:block;flex:0 0 16px;width:16px;height:16px;fill:currentColor}.visitor-count-chip .visitor-number{display:block;min-width:1ch;text-align:center;font-family:Arial,Helvetica,sans-serif;font-size:14px;font-weight:700;line-height:1}.visitor-count-chip .visitor-live-dot{position:relative;display:block;flex:0 0 7px;width:7px;height:7px;margin-left:1px;border-radius:50%;background:#66717c;box-shadow:0 0 0 2px #66717c26}.visitor-count-chip .visitor-live-dot:after{position:absolute;inset:-3px;border:1px solid #66717c70;border-radius:50%;content:"";animation:visitor-pulse 2s ease-out infinite}@keyframes visitor-pulse{0%{transform:scale(.65);opacity:.8}100%{transform:scale(1.7);opacity:0}}.dark .visitor-count-chip{background:#30353b;border-color:#454b52;color:#d2d6db}.dark .visitor-count-chip:hover{background:#383e45}.dark .visitor-count-chip .visitor-live-dot{background:#aeb6bd;box-shadow:0 0 0 2px #aeb6bd26}.dark .visitor-count-chip .visitor-live-dot:after{border-color:#aeb6bd70}@media(prefers-reduced-motion:reduce){.visitor-count-chip,.visitor-count-chip .visitor-live-dot:after{transition:none;animation:none}}.feed{display:grid;gap:14px}.card{background:#fff;border:1px solid #e1e5e8;border-radius:15px;padding:17px;box-shadow:0 3px 12px #00000008}.meta{display:flex;align-items:center;gap:7px;color:#69727a;font-size:13px}.meta span{margin-right:auto}.card h2{font-size:27px;line-height:1.75;margin:10px 0 2px;font-weight:700}.headline-link{color:inherit;text-decoration:none;display:block;transition:transform .18s ease,opacity .18s ease,text-shadow .18s ease}.headline-link:hover{text-decoration:none;opacity:1;transform:translateY(-2px);text-shadow:0 1px 0 rgba(0,0,0,.08)}.headline-link:active{transform:translateY(0);opacity:.9}.headline-link:focus-visible{text-decoration:none;outline:2px solid currentColor;outline-offset:5px;border-radius:6px}footer{text-align:center;padding:35px;color:#7b848c}.dark{background:#16191c;color:#eee}.dark .card,.dark .filters input,.dark .filters select{background:#20252a;color:#eee;border-color:#343b42}.dark .hero p,.dark .status,.dark .meta{color:#aeb6bd}.dark nav button.active{background:#eee;color:#222}@media(max-width:650px){.top{padding:12px}.brand{font-size:27px}.hero h1{font-size:25px}.filters{flex-direction:column}.card h2{font-size:24px}main{padding:15px 12px}}
#login{max-width:430px;margin:80px auto}.admin-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin:12px 0}.admin-grid input,.card>input{border:1px solid #d2d7dc;padding:11px;border-radius:8px;font:inherit;font-family:var(--thaana-font);direction:rtl;text-align:right}.admin-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.card button,#login button{border:0;background:#252a2f;color:#fff;border-radius:8px;padding:10px 14px;cursor:pointer}pre{white-space:pre-wrap;max-height:260px;overflow:auto;background:#15191d;color:#dce2e6;padding:10px;border-radius:8px;margin-top:12px;direction:ltr;text-align:left}@media(max-width:650px){.admin-grid{grid-template-columns:1fr}}

input,select,textarea,button{font-family:var(--thaana-font);font-variant-ligatures:normal}
textarea{direction:rtl;text-align:right}
[dir="rtl"] input,[dir="rtl"] select,[dir="rtl"] textarea{direction:rtl;text-align:right}


/* ހަބަރުދަބަރު Thaana typography */
body, input, textarea, select, button, .search-box, .admin-form {
  font-family: var(--thaana-regular);
}

h1, h2, h3, .brand, .article-title, .headline, .source-title, .section-title, .feed-title, .hero-title {
  font-family: var(--thaana-bold);
  font-weight: 700;
}

.article-title a, .headline a {
  font-family: var(--thaana-bold);
  font-weight: 700;
}

/* Mobile header: keep source chips readable and let people swipe across them. */
@media (max-width: 650px) {
  .top {
    padding: 11px 14px 8px;
    gap: 10px;
  }
  .brand {
    min-width: 0;
    font-size: 25px;
    line-height: 1.25;
  }
  .brand small {
    font-size: 10px;
    line-height: 1.5;
  }
  .actions {
    flex: 0 0 auto;
    gap: 6px;
  }
  .actions button,
  .actions a {
    min-height: 42px;
    padding: 8px 11px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* English typography for publication dates */
.date {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-style: normal;
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
}

/* Desktop source tabs use Faseyha at a compact, readable size. */
@media (min-width: 651px) {
  #sources button {
    font-family: "MV Faseyha", var(--thaana-regular);
    font-size: 14px;
    font-weight: 400;
    padding: 8px 14px;
    direction: rtl;
  }
}

/* Use one clear source dropdown on small screens instead of a crowded row. */
.mobile-source-picker { display: none; }
@media (max-width: 650px) {
  #sources { display: none; }
  .mobile-source-picker {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 0 14px 12px;
  }
  .mobile-source-picker label {
    color: #aeb5bd;
    font-size: 14px;
    white-space: nowrap;
  }
  .mobile-source-picker select {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 8px 13px;
    border: 1px solid #59616a;
    border-radius: 12px;
    background: #30363d;
    color: #fff;
    font-size: 16px;
    font-family: var(--thaana-bold);
    direction: rtl;
    text-align: right;
  }
}

#search { font-family: var(--thaana-regular); direction: rtl; text-align: right; unicode-bidi: plaintext; }

/* Center the masthead and source tabs while keeping utility actions accessible. */
.top{position:relative;justify-content:center;min-height:76px}
.brand{text-align:center;font-size:38px;line-height:1.3}
.brand small{font-size:13px;line-height:1.5}
.actions{position:absolute;left:20px;top:50%;transform:translateY(-50%)}
#sources{justify-content:center}
@media(max-width:650px){
 .top{min-height:70px;padding:10px 12px}
 .brand{font-size:31px;padding-inline:78px}
 .brand small{font-size:11px}
 .actions{left:12px}
 .mobile-source-picker{justify-content:center}
 .filters{max-width:100%}
}

.brand{line-height:1.15}.brand small{margin-top:-6px;line-height:1.15}
@media(max-width:650px){.brand{line-height:1.15}.brand small{margin-top:-5px;line-height:1.2}}

/* Give the logo title crisp silver-white color and solid dimensional depth. */
.brand-title{display:inline-block;color:#e8edf2;-webkit-text-fill-color:#e8edf2;-webkit-text-stroke:.25px #f5f8fa80;text-shadow:0 1px 0 #ffffffb8;filter:drop-shadow(0 2px 3px #0009)}

@media(max-width:650px){
 .actions #theme{display:none}
 .mobile-source-picker{
   display:grid;
   grid-template-columns:48px minmax(0,1fr) 48px;
   direction:ltr;
   align-items:center;
   gap:9px;
   padding:0 14px 12px;
 }
 .mobile-source-picker select{
   font-family:"MV Waheed",var(--thaana-regular);
   font-weight:400;
   direction:rtl;
   text-align:right;
   text-align-last:right;
 }
 .mobile-source-picker button,.home-button{
   display:flex;
   align-items:center;
   justify-content:center;
   width:48px;
   height:46px;
   border:1px solid #59616a;
   border-radius:12px;
   background:#30363d;
   color:#fff;
   text-decoration:none;
   font-size:23px;
   font-family:Arial,sans-serif;
 }
 .home-button svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
 .dark .mobile-source-picker button,.dark .home-button{background:#30363d;color:#fff}
}

/* Keep the moon understated on phones and clearer on desktop. */
.actions #theme{font-size:28px;line-height:1}
@media(max-width:650px){
 .mobile-source-picker [data-theme-toggle]{font-size:18px;line-height:1}
 .mobile-source-picker select,
 .mobile-source-picker option{
   font-family:"MV Waheed",var(--thaana-regular)!important;
   font-weight:400;
   direction:rtl;
   text-align:right;
 }
 .mobile-source-picker select{text-align-last:right}
}


/* Keep the native mobile picker compact and match the site's Thaana type. */
.actions #theme{font-size:24px}
@media(max-width:650px){
 .mobile-source-picker select{
   min-width:0;width:100%;min-height:46px;padding:8px 12px;
   font-family:"MV Waheed",var(--thaana-regular)!important;font-size:15px;font-weight:400;
   direction:rtl;text-align:right;text-align-last:right;
 }
 .mobile-source-picker option{
   font-family:"MV Waheed",var(--thaana-regular)!important;font-size:15px;
   direction:rtl;text-align:right;
 }
}

@media(max-width:650px){
 .source-picker{position:relative;width:100%;min-width:0;font-family:"MV Faseyha",var(--thaana-regular)}
 .mobile-source-picker .source-trigger{
   display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;height:auto;min-width:0;min-height:46px;
   padding:8px 12px;border:1px solid #59616a;border-radius:12px;background:#30363d;color:#fff;
   font-family:"MV Faseyha",var(--thaana-regular)!important;font-size:16px;font-weight:400;direction:rtl;text-align:right
 }
 .source-trigger span{display:block;flex:1;min-width:0;text-align:right}
 .source-trigger svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:2}
 .source-options{
   position:absolute;z-index:60;top:calc(100% + 7px);inset-inline:0;max-height:min(58vh,400px);overflow-y:auto;
   padding:5px;border:1px solid #59616a;border-radius:13px;background:#30363d;box-shadow:0 12px 28px #0006;
   direction:rtl;font-family:"MV Faseyha",var(--thaana-regular)
 }
 .source-options[hidden]{display:none}
 .mobile-source-picker button.source-option{
   display:block;width:100%;height:auto;min-height:42px;padding:8px 12px;border:0;border-bottom:1px solid #454b52;border-radius:0;
   background:transparent;color:#fff;text-align:right;direction:rtl;font-family:"MV Faseyha",var(--thaana-regular)!important;
   font-size:15px;font-weight:400;line-height:1.4;white-space:normal;cursor:pointer
 }
 .mobile-source-picker button.source-option[aria-selected="true"]{background:#fff;color:#20252a;border-radius:8px}
 .dark .source-trigger,.dark .source-options{background:#30363d;color:#fff}
 .dark .mobile-source-picker button.source-option[aria-selected="true"]{background:#fff;color:#20252a}
}

@media(max-width:650px){
 .mobile-source-picker .source-trigger{
   border-color:rgba(255,255,255,.24);
   background:rgba(255,255,255,.10);
   -webkit-backdrop-filter:blur(12px) saturate(150%);
   backdrop-filter:blur(12px) saturate(150%);
   transition:background .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease
 }
 .mobile-source-picker .source-trigger[aria-expanded="true"]{
   background:rgba(255,255,255,.18);
   border-color:rgba(255,255,255,.48);
   box-shadow:0 0 0 2px rgba(116,183,255,.28)
 }
 .source-trigger svg{transition:transform .22s ease}
 .source-trigger[aria-expanded="true"] svg{transform:rotate(180deg)}
 .source-options{
   padding:8px;
   border:1px solid rgba(255,255,255,.24);
   border-radius:19px;
   background:rgba(40,46,52,.78);
   -webkit-backdrop-filter:blur(22px) saturate(170%);
   backdrop-filter:blur(22px) saturate(170%);
   box-shadow:0 18px 48px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.12)
 }
 .source-options:not([hidden]){animation:source-menu-in .2s cubic-bezier(.2,.8,.2,1) both}
 .mobile-source-picker button.source-option{
   min-height:44px;
   padding:9px 13px;
   border:1px solid transparent;
   border-radius:12px;
   background:transparent;
   transition:background .16s ease,color .16s ease,transform .16s ease,border-color .16s ease
 }
 .mobile-source-picker button.source-option:hover,
 .mobile-source-picker button.source-option:focus-visible{
   background:rgba(255,255,255,.12);
   border-color:rgba(255,255,255,.16);
   outline:none
 }
 .mobile-source-picker button.source-option:active{transform:scale(.985)}
 .mobile-source-picker button.source-option[aria-selected="true"]{
   background:rgba(255,255,255,.94);
   color:#20252a;
   border-color:rgba(255,255,255,.72);
   box-shadow:0 3px 12px rgba(0,0,0,.18)
 }
 .dark .source-options{background:rgba(36,41,46,.78)}
}
@keyframes source-menu-in{
 from{opacity:0;transform:translateY(-6px) scale(.985)}
 to{opacity:1;transform:translateY(0) scale(1)}
}
@media(prefers-reduced-motion:reduce){
 .source-options:not([hidden]){animation:none}
 .source-trigger,.source-trigger svg,.source-option{transition:none!important}
}

@media(max-width:650px){.hero .filters{display:none}}

@media(max-width:650px){main{padding-top:4px}.hero{padding:0}.status{margin:2px 0 10px;min-height:34px}#status{display:none}}

.mobile-visitor-count{display:none!important}.desktop-visitor-count{display:inline-flex!important}@media(max-width:650px){.mobile-visitor-count{display:inline-flex!important}.desktop-visitor-count{display:none!important}}

@media(max-width:650px){.mobile-visitor-count,.dark .mobile-visitor-count{background:#30363d;border-color:#59616a;color:#f1f3f5;box-shadow:none}.mobile-visitor-count:hover,.dark .mobile-visitor-count:hover{background:#394149}.mobile-visitor-count .visitor-live-dot,.dark .mobile-visitor-count .visitor-live-dot{background:#aeb6bd;box-shadow:0 0 0 2px #aeb6bd26}.mobile-visitor-count .visitor-live-dot:after,.dark .mobile-visitor-count .visitor-live-dot:after{border-color:#aeb6bd70}}

@media(min-width:651px){.top{max-width:1180px;min-height:84px;padding-top:18px;padding-bottom:12px}.actions{left:max(16px,calc(50% - 435px))}#sources{max-width:1180px;padding-top:10px;padding-bottom:16px}}

@media(max-width:650px){header .top{min-height:74px}.mobile-source-picker{padding-bottom:16px}}

@media(min-width:651px){main{padding-top:12px}.hero{padding:8px 0 0}.hero .filters{margin:8px auto 4px}.status{margin:2px 0 8px}}

/* Polished animated light/dark theme toggle */
.actions .theme-toggle,.mobile-source-picker .theme-toggle{position:relative;isolation:isolate;display:inline-grid;place-items:center;flex:0 0 52px;width:52px;height:52px;min-height:52px;padding:0;border:1px solid #69737e;border-radius:16px;background:linear-gradient(145deg,#3b434c,#2d333a);color:#f6f8fa;box-shadow:0 5px 14px #0003,inset 0 1px 0 #ffffff22;cursor:pointer;overflow:hidden;transition:transform .22s ease,border-color .22s ease,background .22s ease,box-shadow .22s ease}
.actions .theme-toggle:before,.mobile-source-picker .theme-toggle:before{position:absolute;z-index:-1;inset:-40%;background:radial-gradient(circle at 35% 30%,#ffffff20,transparent 56%);content:"";opacity:0;transition:opacity .25s ease}
.actions .theme-toggle:hover,.mobile-source-picker .theme-toggle:hover{transform:translateY(-2px);border-color:#8994a0;box-shadow:0 8px 18px #0004,inset 0 1px 0 #ffffff30}
.actions .theme-toggle:hover:before,.mobile-source-picker .theme-toggle:hover:before{opacity:1}
.actions .theme-toggle:active,.mobile-source-picker .theme-toggle:active{transform:scale(.94)}
.theme-icon{position:absolute;display:grid;place-items:center;width:24px;height:24px;opacity:0;transform:rotate(-55deg) scale(.55);transition:opacity .32s ease,transform .42s cubic-bezier(.2,.8,.2,1)}
.theme-icon svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.theme-moon-icon{opacity:1;transform:rotate(0) scale(1)}
.dark .theme-moon-icon{opacity:0;transform:rotate(55deg) scale(.55)}
.dark .theme-sun-icon{opacity:1;transform:rotate(0) scale(1)}
.dark .actions .theme-toggle,.dark .mobile-source-picker .theme-toggle{background:linear-gradient(145deg,#48515b,#353c44);border-color:#76818d}
@media(max-width:650px){.actions .theme-toggle,.mobile-source-picker .theme-toggle{flex-basis:48px;width:48px;height:46px;min-height:46px;border-radius:14px}.theme-icon{width:22px;height:22px}}
@media(prefers-reduced-motion:reduce){.theme-icon,.actions .theme-toggle,.mobile-source-picker .theme-toggle,.actions .theme-toggle:before,.mobile-source-picker .theme-toggle:before{transition:none!important}}

@media(min-width:651px){.actions .theme-toggle{flex-basis:44px;width:44px;height:44px;min-height:44px;border-radius:13px}.actions .theme-toggle .theme-icon{width:21px;height:21px}}

@media(min-width:651px){.actions .theme-toggle{flex-basis:52px;width:52px;height:52px;min-height:52px;border-radius:16px}.actions .theme-toggle .theme-icon{width:19px;height:19px}}

@media(min-width:651px){.actions .theme-toggle{flex-basis:44px;width:44px;height:44px;min-height:44px;border-radius:13px}.actions .theme-toggle .theme-icon{width:17px;height:17px}}

@media(max-width:650px){.mobile-source-picker{grid-template-columns:48px 42px minmax(0,1fr) 48px}.mobile-source-picker .mobile-search-toggle{display:flex;align-items:center;justify-content:center;width:42px;height:46px;min-height:46px;padding:0;border:1px solid #59616a;border-radius:14px;background:linear-gradient(145deg,#3b434c,#2d333a);color:#f6f8fa;cursor:pointer;transition:transform .2s ease,background .2s ease,border-color .2s ease}.mobile-source-picker .mobile-search-toggle svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.mobile-source-picker .mobile-search-toggle:active{transform:scale(.94)}body.mobile-search-open .hero .filters{display:flex;max-width:100%;margin:8px auto 10px}}

@media(max-width:650px){.mobile-source-picker .mobile-search-toggle{position:relative;isolation:isolate;overflow:hidden;border-color:#6d7884;box-shadow:0 4px 11px #0003,inset 0 1px 0 #ffffff25;transition:transform .22s ease,border-color .22s ease,background .22s ease,box-shadow .22s ease}.mobile-source-picker .mobile-search-toggle:before{position:absolute;z-index:-1;inset:-45%;background:radial-gradient(circle at 35% 28%,#ffffff2b,transparent 58%);content:"";opacity:0;transition:opacity .25s ease}.mobile-source-picker .mobile-search-toggle:hover{transform:translateY(-2px);border-color:#8b97a4;box-shadow:0 7px 15px #0004,inset 0 1px 0 #ffffff35}.mobile-source-picker .mobile-search-toggle:hover:before{opacity:1}.mobile-source-picker .mobile-search-toggle svg{transition:transform .28s cubic-bezier(.2,.8,.2,1)}.mobile-source-picker .mobile-search-toggle:active svg{transform:scale(.84) rotate(-10deg)}body.mobile-search-open .mobile-source-picker .mobile-search-toggle{border-color:#91a0ad;background:linear-gradient(145deg,#46515c,#343b43);box-shadow:0 0 0 2px #aeb6bd22,0 5px 13px #0004}body.mobile-search-open .mobile-source-picker .mobile-search-toggle svg{transform:scale(1.08) rotate(-8deg)}body.mobile-search-open .hero .filters{animation:mobile-search-reveal .24s ease-out both}@keyframes mobile-search-reveal{from{opacity:0;transform:translateY(-7px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}}@media(prefers-reduced-motion:reduce){.mobile-source-picker .mobile-search-toggle,.mobile-source-picker .mobile-search-toggle:before,.mobile-source-picker .mobile-search-toggle svg,body.mobile-search-open .hero .filters{transition:none!important;animation:none!important}}
/* Anchor the desktop theme control at a fixed offset from the centered brand. */
@media(min-width:651px){.top .actions{left:calc(50% - 220px);top:calc(50% - 5px);transform:translateY(-50%)}}
@media(min-width:651px){.actions .theme-toggle{flex-basis:40px;width:40px;height:40px;min-height:40px;border-radius:12px}.actions .theme-toggle .theme-icon{width:16px;height:16px}}

/* Give Home the same tactile hover and press feedback as the mobile theme and search controls. */
@media(max-width:650px){
 .mobile-source-picker .home-button{position:relative;isolation:isolate;overflow:hidden;box-shadow:0 4px 11px #0003,inset 0 1px 0 #ffffff25;transition:transform .22s ease,border-color .22s ease,background .22s ease,box-shadow .22s ease}
 .mobile-source-picker .home-button:before{position:absolute;z-index:-1;inset:-45%;background:radial-gradient(circle at 35% 28%,#ffffff2b,transparent 58%);content:"";opacity:0;transition:opacity .25s ease}
 .mobile-source-picker .home-button:hover{transform:translateY(-2px);border-color:#8b97a4;box-shadow:0 7px 15px #0004,inset 0 1px 0 #ffffff35}
 .mobile-source-picker .home-button:hover:before{opacity:1}
 .mobile-source-picker .home-button svg{transition:transform .28s cubic-bezier(.2,.8,.2,1)}
 .mobile-source-picker .home-button:active{transform:scale(.94)}
 .mobile-source-picker .home-button:active svg{transform:scale(.84)}
}
@media(prefers-reduced-motion:reduce){.mobile-source-picker .home-button,.mobile-source-picker .home-button:before,.mobile-source-picker .home-button svg{transition:none!important}}

.back-to-top{position:fixed;z-index:20;right:28px;bottom:calc(26px + env(safe-area-inset-bottom));display:grid;place-items:center;width:52px;height:52px;padding:0;border:1px solid #69737e;border-radius:50%;background:linear-gradient(145deg,#3b434cdd,#2d333add);color:#f6f8fa;box-shadow:0 8px 22px #0004,inset 0 1px 0 #ffffff2b;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);cursor:pointer;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(14px) scale(.88);transition:opacity .28s ease,transform .35s cubic-bezier(.2,.8,.2,1),visibility .28s,border-color .2s ease,box-shadow .2s ease}
.back-to-top.visible{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0) scale(1)}
.back-to-top:hover{transform:translateY(-3px) scale(1.04);border-color:#9aa5af;box-shadow:0 11px 26px #0005,inset 0 1px 0 #ffffff38}
.back-to-top:active{transform:scale(.92)}
.back-to-top svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s ease}
.back-to-top:hover svg{transform:translateY(-2px)}
.dark .back-to-top{background:linear-gradient(145deg,#48515bdd,#353c44dd);border-color:#76818d}
@media(max-width:650px){.back-to-top{right:18px;bottom:calc(22px + env(safe-area-inset-bottom));width:48px;height:48px}.back-to-top svg{width:21px;height:21px}}
@media(prefers-reduced-motion:reduce){.back-to-top,.back-to-top svg{transition:none!important}}

@media(min-width:651px){.thaana-date{display:flex;align-items:center;justify-content:flex-start;gap:16px;margin-left:auto;white-space:nowrap;direction:rtl;font-family:var(--thaana-font);font-size:20px;line-height:1.5;color:#68717b}.thaana-date .date-group{display:flex;align-items:center;gap:12px;direction:ltr;font-variant-numeric:tabular-nums}.thaana-date .date-group b{font-family:Arial,Helvetica,sans-serif;font-weight:600}.thaana-date .date-separator{display:block;width:1px;height:28px;background:currentColor;opacity:.32}.thaana-date .date-weekday{font-weight:600}.dark .thaana-date{color:#aeb6bd}}

@media(min-width:651px){.nakaiy-group small{font-family:var(--thaana-font);font-size:.72em;font-weight:500;opacity:.72}.thaana-date .nakaiy-group{gap:10px}}
@media(max-width:650px){.status{display:flex!important;justify-content:center;min-height:0;margin:4px 0 10px}#status.thaana-date{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;width:100%;white-space:normal;font-family:var(--thaana-font);font-size:12px;line-height:1.4}.thaana-date .date-group{align-items:baseline;gap:4px;direction:ltr}.thaana-date .date-group b{font-family:var(--thaana-font);font-size:1em;line-height:inherit;font-weight:600;font-variant-numeric:normal}.thaana-date .date-separator{height:16px}.thaana-date .nakaiy-group{gap:4px}.thaana-date .nakaiy-group small{font-size:.7em}}
@media(min-width:651px){main{display:flex;flex-direction:column}.status{order:1;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;justify-content:initial}.status #status.thaana-date{grid-column:2;margin:0;justify-self:center}.status .desktop-visitor-count{grid-column:1;grid-row:1;justify-self:start}.hero{order:2}.feed{order:3}}
@media(max-width:650px){#status.thaana-date{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center;gap:5px 4px;font-size:15px;line-height:1.55}.thaana-date .date-group{flex:0 1 auto;justify-content:center;gap:5px;direction:ltr;unicode-bidi:isolate;white-space:nowrap}.thaana-date .date-group b{direction:ltr;unicode-bidi:isolate;font-family:var(--thaana-font);font-size:1em;line-height:inherit;font-variant-numeric:normal}.thaana-date .date-group span,.thaana-date .date-group small{direction:rtl;unicode-bidi:isolate}.thaana-date .date-separator{display:block;flex:0 0 auto;width:auto;height:auto;padding:0 2px;background:none;opacity:.5}.thaana-date .date-separator::before{content:"|"}.thaana-date .nakaiy-group small{font-size:.8em}}
@media(max-width:650px){.thaana-date .date-group{column-gap:10px}.thaana-date .date-group b,.thaana-date .date-group span,.thaana-date .date-group small{margin-inline:2px}.thaana-date .date-separator{font-family:Arial,Helvetica,sans-serif;font-style:normal;font-weight:400;font-size:1em;line-height:inherit;opacity:.55;padding-inline:6px}.thaana-date .date-separator::before{font-family:Arial,Helvetica,sans-serif;font-style:normal;font-weight:400}}
@media(min-width:651px){.desktop-search-toggle{position:relative;isolation:isolate;display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;min-height:40px;padding:0;border:1px solid #69737e;border-radius:12px;background:linear-gradient(145deg,#3b434c,#2d333a);color:#f6f8fa;box-shadow:0 4px 11px #0003,inset 0 1px 0 #ffffff22;cursor:pointer;overflow:hidden;transition:transform .22s ease,border-color .22s ease,background .22s ease,box-shadow .22s ease}.desktop-search-toggle:before{position:absolute;z-index:-1;inset:-45%;background:radial-gradient(circle at 35% 28%,#ffffff2b,transparent 58%);content:"";opacity:0;transition:opacity .25s ease}.desktop-search-toggle:hover{transform:translateY(-2px);border-color:#8b97a4;box-shadow:0 7px 15px #0004,inset 0 1px 0 #ffffff35}.desktop-search-toggle:hover:before{opacity:1}.desktop-search-toggle:active{transform:scale(.94)}.desktop-search-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .28s cubic-bezier(.2,.8,.2,1)}.desktop-search-toggle:active svg{transform:scale(.84) rotate(-10deg)}body.desktop-search-open .desktop-search-toggle{border-color:#91a0ad;background:linear-gradient(145deg,#46515c,#343b43);box-shadow:0 0 0 2px #aeb6bd22,0 5px 13px #0004}body.desktop-search-open .desktop-search-toggle svg{transform:scale(1.08) rotate(-8deg)}.hero{display:none}body.desktop-search-open .hero{display:block}body.desktop-search-open .hero .filters{display:flex;max-width:560px;margin:8px auto 8px;animation:desktop-search-reveal .26s ease-out both}@keyframes desktop-search-reveal{from{opacity:0;transform:translateY(-9px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}}
@media(max-width:650px){.desktop-search-toggle{display:none!important}}
@media(prefers-reduced-motion:reduce){.desktop-search-toggle,.desktop-search-toggle:before,.desktop-search-toggle svg,body.desktop-search-open .hero .filters{transition:none!important;animation:none!important}}
@media(min-width:651px){.desktop-search-toggle{border-radius:12px;background:linear-gradient(145deg,#3b434c,#2d333a);box-shadow:0 5px 14px #0003,inset 0 1px 0 #ffffff22}.desktop-search-toggle svg{position:absolute;width:18px;height:18px;transform-origin:center;transition:opacity .28s ease,transform .42s cubic-bezier(.2,.8,.2,1)}.desktop-search-toggle .search-close-icon{opacity:0;transform:rotate(-65deg) scale(.45)}body.desktop-search-open .desktop-search-toggle svg:first-of-type{opacity:0;transform:rotate(65deg) scale(.45)}body.desktop-search-open .desktop-search-toggle .search-close-icon{opacity:1;transform:rotate(0) scale(1)}body.desktop-search-open .desktop-search-toggle{border-color:#91a0ad;background:linear-gradient(145deg,#46515c,#343b43);box-shadow:0 0 0 2px #aeb6bd22,0 5px 13px #0004,inset 0 1px 0 #ffffff2b}}
@media(min-width:651px){.status{display:flex;align-items:center;justify-content:center;gap:16px}.status #status.thaana-date{grid-column:auto;justify-self:auto;margin:0}.status .desktop-visitor-count{grid-column:auto;grid-row:auto;justify-self:auto;flex:0 0 auto}}
@media(min-width:651px){.desktop-search-toggle svg:first-of-type{opacity:1!important;transform:rotate(0) scale(1)!important}body.desktop-search-open .desktop-search-toggle svg:first-of-type{opacity:1!important;transform:scale(1.08) rotate(-8deg)!important}}
@media(min-width:651px){.thaana-date{font-size:12px}}
@media(min-width:651px){.thaana-date{font-size:12px}}
@media(min-width:651px){#status.thaana-date,#status.thaana-date *{font-size:12px!important}}
.thaana-date .nakaiy-group small{font-size:1em!important;line-height:inherit;opacity:.9}
.thaana-date,.thaana-date .date-group,.thaana-date .date-group b,.thaana-date .date-group span,.thaana-date .date-group small,.thaana-date .date-weekday{font-weight:400!important}
@media(min-width:651px){.thaana-date{font-size:14px}}
@media(max-width:650px){#status.thaana-date{font-size:13px}}
#feed{margin-block-start:1em}

@media(min-width:651px){.thaana-date{font-size:16px;gap:12px;line-height:1.45}.thaana-date .date-group{align-items:baseline;gap:8px}.thaana-date .date-group b{font-family:var(--thaana-font);font-size:1em;line-height:inherit;font-weight:600;font-variant-numeric:normal}.thaana-date .date-separator{height:22px}}

/* Put the mobile search field directly below the date row when opened. */
@media(max-width:650px){main{display:flex;flex-direction:column}.status{order:1}.hero{order:2}.feed{order:3}}

.admin-login-card{max-width:440px;margin:48px auto}.oauth-button{display:flex;align-items:center;justify-content:center;gap:12px;min-height:48px;margin:18px auto 10px;padding:10px 18px;border:1px solid #747775;border-radius:8px;background:#fff;color:#1f1f1f;text-decoration:none;direction:ltr;font:500 15px Arial,sans-serif;box-shadow:0 1px 2px #0002;transition:box-shadow .15s ease,background-color .15s ease}.oauth-button:hover{background:#f8faff;box-shadow:0 2px 6px #0003}.google-mark{font-weight:700;font-size:20px;color:#4285f4}.oauth-hint{font-size:13px;opacity:.75;text-align:center}.admin-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.admin-heading h1{margin:0}

.meta .thaana-card-date{font-family:var(--thaana-font);font-weight:400;direction:ltr;unicode-bidi:isolate;white-space:nowrap}
