:root{
      --bg:#0B1426; --page:#0B1426; --surface:#0E1C33; --surface-2:#10223D; --line:#1E3356;
      --ink:#FFFFFF; --muted:#B8C6D9; --accent1:#F5FF6B; --accent2:#5BC0EB; --hover:#79D7F2;
      --danger:#ef4444; --round:12px; --small:13px; --base:14.5px; --tight:0.2px;
      --font-news:var(--font-sans, "Barlow Semi Condensed", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
      --title:var(--font-news);
      --body:var(--font-news);
    }
    *{box-sizing:border-box}
    html,body{margin:0;padding:0;height:100%}
    html,body{overflow-x:hidden}
    body{
      background:var(--page);
      color:var(--ink);
      font-family:var(--body);
      font-size:var(--base);
      letter-spacing:var(--tight);
      -webkit-font-smoothing:antialiased;
      -moz-osx-font-smoothing:grayscale;
      font-weight:400;
      line-height:1.55;
    }
    .skip-link{
      position:absolute;
      left:-9999px;
      top:auto;
      width:1px;
      height:1px;
      overflow:hidden;
    }
    .skip-link:focus{
      left:16px;
      top:16px;
      width:auto;
      height:auto;
      padding:10px 16px;
      background:var(--accent2);
      color:#0b1426;
      border-radius:999px;
      z-index:120;
      text-decoration:none;
      font-weight:600;
    }

main{
      padding:18px calc(16px + env(safe-area-inset-right)) 32px calc(16px + env(safe-area-inset-left));
      max-width:1200px;
      margin:0 auto;
    }
    .page-hero{margin-bottom:18px;padding:8px 4px 0}
    .page-hero h1{margin:0 0 10px;font-family:var(--title);font-size:clamp(1.9rem,4vw,2.8rem);letter-spacing:.3px}
    .page-hero p{margin:0;color:var(--muted);max-width:720px;font-size:1rem}
    .grid{display:grid;grid-template-columns:1fr;gap:16px}
    @media (min-width:1024px){ .grid{grid-template-columns:minmax(0,1fr) 320px} }

    .block{
      border:1px solid var(--line);
      border-radius:var(--round);
      background:var(--surface);
      overflow:hidden;
      box-shadow:0 1px 0 rgba(255,255,255,.04) inset,0 8px 18px rgba(0,0,0,.18);
    }
    .block h2{
      margin:0;
      padding:12px 16px;
      background:rgba(91,192,235,.12);
      border-bottom:1px solid var(--line);
      font-family:var(--title);
      font-weight:400;
      letter-spacing:.12px;
      font-size:16px;
    }

    .feed{display:grid;gap:14px;padding:14px 18px 18px 18px}
    .card{
      display:grid;
      grid-template-columns:180px 1fr;
      gap:16px;
      align-items:center;
      padding:16px;
      border:1px solid var(--line);
      border-radius:18px;
      background:var(--surface-2);
      box-shadow:0 1px 0 rgba(255,255,255,.04) inset,0 6px 16px rgba(0,0,0,.24);
      transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
      content-visibility:auto;
    }
    .card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,0,0,.28);border-color:rgba(91,192,235,.45)}
    .card:focus-within{border-color:var(--accent2);box-shadow:0 0 0 1px var(--accent2)}
    .card > a{display:block;border-radius:16px;overflow:hidden}
    .thumb{
      width:100%;
      height:140px;
      object-fit:cover;
      background:#0b172a;
      border:1px solid rgba(255,255,255,.1);
      transition:transform .3s ease, filter .3s ease;
    }
    .card:hover .thumb{transform:scale(1.02);filter:brightness(1.05)}
    .card-body{display:flex;flex-direction:column;gap:6px}
    .title{font-family:var(--title);font-weight:400;line-height:1.2;font-size:18px;margin:0;color:#eaf2ff}
    .meta{display:flex;gap:10px;flex-wrap:wrap;font-size:12.5px;color:#cfdaf0;align-items:center}
    .meta strong{font-weight:500;color:#f0f4ff;letter-spacing:.04em;text-transform:uppercase;font-size:11px}
    .desc{margin:0;color:#dbe7ff;font-size:14.5px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
    .meta-tags{gap:6px}
    .meta-time{display:inline-flex;align-items:center;gap:6px;color:#cfdaf0}
    .thumb--placeholder{display:grid;place-items:center;color:#7fa6d6;font-size:11px;font-weight:500;background:#0e2239;border:1px dashed rgba(255,255,255,.18)}
    .thumb--placeholder span{padding:0 10px;text-align:center;line-height:1.4}
    @media (max-width:720px){
      .card{
        grid-template-columns:1fr;
        gap:16px;
        padding:16px;
      }
      .thumb{height:230px}
      .card-body{padding-top:4px;gap:10px}
      .title{font-size:18px}
    }
    .card a{color:inherit;text-decoration:none}
    .card a:hover .title{text-decoration:underline}
    .tag{font-size:11px;border:1px solid rgba(255,255,255,.18);padding:2px 6px;border-radius:999px;color:#cfe4ff}

    .skel{position:relative;overflow:hidden;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.12);border-radius:14px;height:150px}
    .skel::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:rgba(255,255,255,.08);animation:shimmer 1.2s infinite}
    @keyframes shimmer{100%{transform:translateX(100%)}}
    @media (prefers-reduced-motion:reduce){
      .skel::after{display:none}
      .card,.btn{transition:none!important}
    }

    .actions{display:flex;justify-content:center;padding:12px 16px 20px 16px}
    .btn{all:unset;cursor:pointer;padding:10px 18px;border-radius:12px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06);font-weight:400;letter-spacing:.08px;transition:background .2s,border-color .2s,transform .2s}
    .btn[disabled]{opacity:.6;cursor:not-allowed}
    .btn:hover:not([disabled]){background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.28);transform:translateY(-1px)}
    .btn:focus-visible{box-shadow:0 0 0 2px rgba(91,192,235,.4)}
    .empty{padding:16px;color:#b8cbe6;text-align:center;font-size:var(--small)}
    .error{padding:12px;color:#ffd2d2;background:rgba(255,0,0,.07);border:1px solid rgba(255,0,0,.22);border-radius:12px}

    .ads{display:grid;gap:12px;padding:16px}



    .seo-copy{color:#cfe0f8;line-height:1.65;margin-top:26px;font-size:14px;letter-spacing:.08px}
    .seo-copy h2{font-family:var(--title);font-weight:400;margin:0 0 8px 0;letter-spacing:.12px;font-size:16px}

    .debug{white-space:pre-wrap;font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; background:#1a243a;border:1px solid #2b426f;border-radius:12px;padding:10px;color:#cee0ff;margin:10px}
    .hide{display:none}
