
  @import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

  :root{
    --bg:#eef1f5; --surface:#ffffff; --surface-2:#f4f6f9; --surface-3:#eaeef3;
    --border:#dbe0e8; --border-strong:#c4cbd6; --text:#171b22; --muted:#5a6270; --muted-2:#838ba0;
    --accent:#0074F6; --accent-ink:#ffffff; --accent-soft:#e3efff;
    --link:#00265B; --link-soft:#e1e8f5; --node:#00265B; --node-soft:#dfe6f3; --ok:#1f8f5a; --err:#d1394a;
    --shadow: 0 1px 2px rgba(20,23,28,.05), 0 10px 24px -14px rgba(20,23,28,.14);
    --grid-line: rgba(20,25,35,.05);
    color-scheme: light;
  }
  :root[data-theme="dark"]{ color-scheme: dark; }
  @media (prefers-color-scheme: dark){ :root:not([data-theme="light"]){ color-scheme: dark; } }
  @media (prefers-color-scheme: dark){
    :root:not([data-theme="light"]){
      --bg:#242424; --surface:#333333; --surface-2:#3a3a3a; --surface-3:#2c2c2c;
      --border:#474747; --border-strong:#5c5c5c; --text:#f8f8f6; --muted:#b8b8b3; --muted-2:#8c8c86;
      --accent:#3B93FF; --accent-ink:#00132e; --accent-soft:#10315c;
      --link:#7FB6FF; --link-soft:#1b2b45; --node:#7FA8E8; --node-soft:#1b2b45; --ok:#3ecf8e; --err:#ff6b7a;
      --shadow: 0 1px 2px rgba(0,0,0,.35), 0 14px 30px -16px rgba(0,0,0,.6);
      --grid-line: rgba(255,255,255,.05);
    }
  }
  :root[data-theme="dark"]{
    --bg:#242424; --surface:#333333; --surface-2:#3a3a3a; --surface-3:#2c2c2c;
    --border:#474747; --border-strong:#5c5c5c; --text:#f8f8f6; --muted:#b8b8b3; --muted-2:#8c8c86;
    --accent:#3B93FF; --accent-ink:#00132e; --accent-soft:#10315c;
    --link:#7FB6FF; --link-soft:#1b2b45; --node:#7FA8E8; --node-soft:#1b2b45; --ok:#3ecf8e; --err:#ff6b7a;
    --shadow: 0 1px 2px rgba(0,0,0,.35), 0 14px 30px -16px rgba(0,0,0,.6);
    --grid-line: rgba(255,255,255,.05);
  }

  *{ box-sizing:border-box; }
  body{ background:var(--bg); color:var(--text); font-family:'Manrope', ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing:antialiased; }
  h1,h2,h3{ font-family:'Rajdhani','Manrope',sans-serif; font-weight:700; letter-spacing:.005em; text-wrap:balance; margin:0; }
  .mono{ font-family:'JetBrains Mono', ui-monospace, monospace; }
  a{ color:inherit; text-decoration:none; }
  button{ font:inherit; }
  .wrap{ max-width:1280px; margin:0 auto; padding:0 22px; }

  .route-strip{ height:5px; position:relative; overflow:hidden; background:repeating-linear-gradient(90deg, var(--accent) 0 10px, transparent 10px 18px); }
  .route-strip .runner{ position:absolute; top:0; left:-6%; width:6%; height:100%; background:linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent); animation: run 5.5s linear infinite; }
  @media (prefers-reduced-motion: reduce){ .route-strip .runner{ animation:none; display:none; } }
  @keyframes run{ to{ left:106%; } }

  header.site{ background:var(--surface); border-bottom:1px solid var(--border); }
  .topbar{ display:flex; align-items:center; justify-content:space-between; padding:8px 0; font-size:.76rem; color:var(--muted-2); border-bottom:1px solid var(--border); }
  .topbar .ticker{ display:flex; gap:16px; align-items:center; }
  .topbar .ticker b{ color:var(--accent); font-weight:700; }
  .topbar .right-links{ display:flex; gap:14px; align-items:center; }
  .topbar .right-links a:hover{ color:var(--accent); }
  .topbar-divider{ width:1px; height:12px; background:var(--border-strong); }
  .auth-link{ font-weight:700; color:var(--text); }
  .auth-link.accent{ color:var(--accent); }
  .theme-toggle{ display:inline-flex; align-items:center; justify-content:center; width:25px; height:25px; border-radius:6px; border:1px solid var(--border); background:var(--surface-2); cursor:pointer; color:var(--muted); }
  .theme-toggle:hover{ color:var(--accent); border-color:var(--accent); }
  .theme-toggle svg{ width:13px; height:13px; }

  .mainbar{ display:flex; align-items:center; gap:26px; padding:15px 0; }
  .logo{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
  .logo-badge{ width:42px; height:42px; border-radius:8px; background:linear-gradient(160deg, var(--accent), #00265B); color:#fff; display:flex; align-items:center; justify-content:center; font-family:'Rajdhani',sans-serif; font-weight:700; font-size:1rem; box-shadow:var(--shadow); position:relative; }
  .logo-badge:after{ content:""; position:absolute; inset:-3px; border:1px solid var(--border-strong); border-radius:11px; opacity:.5; }
  .logo-text{ line-height:1.05; }
  .logo-text .name{ font-family:'Rajdhani',sans-serif; font-weight:700; font-size:1.28rem; }
  .logo-text .tag{ font-size:.66rem; color:var(--muted); letter-spacing:.09em; text-transform:uppercase; }
  .search{ flex:1; max-width:420px; display:flex; align-items:center; gap:8px; background:var(--surface-2); border:1px solid var(--border); border-radius:8px; padding:9px 14px; color:var(--muted); font-size:.85rem; }
  .search svg{ flex-shrink:0; opacity:.6; }
  .mainbar-actions{ display:flex; align-items:center; gap:9px; margin-left:auto; }
  .btn{ display:inline-flex; align-items:center; gap:7px; padding:9px 16px; border-radius:7px; font-weight:700; font-size:.83rem; border:1px solid transparent; cursor:pointer; font-family:'Rajdhani',sans-serif; letter-spacing:.02em; }
  .btn-accent{ background:var(--accent); color:var(--accent-ink); }
  .btn-ghost{ background:transparent; border-color:var(--border-strong); color:var(--text); }
  .btn-block{ width:100%; justify-content:center; }
  .avatar{ width:36px; height:36px; border-radius:7px; background:var(--node-soft); color:var(--node); display:flex; align-items:center; justify-content:center; font-weight:700; font-family:'Rajdhani',sans-serif; border:1px solid var(--border); }

  nav.crumbs{ display:flex; gap:1px; padding:0 0 13px; font-family:'Rajdhani',sans-serif; font-weight:600; font-size:.91rem; }
  nav.crumbs a{ padding:7px 13px; border-radius:6px; color:var(--muted); }
  nav.crumbs a.active{ background:var(--accent-soft); color:var(--accent); }
  nav.crumbs a:hover{ color:var(--text); }
  nav.crumbs a.crumb-highlight{ margin-left:auto; display:inline-flex; align-items:center; gap:6px; background:var(--node-soft); color:var(--node); font-weight:700; }
  nav.crumbs a.crumb-highlight:hover{ background:var(--node); color:#fff; }

  .breadcrumb{ display:flex; align-items:center; gap:6px; margin:16px 0 14px; font-size:.78rem; color:var(--muted-2); flex-wrap:wrap; }
  .breadcrumb a:hover{ color:var(--accent); }
  .breadcrumb .sep{ opacity:.6; }
  .breadcrumb .here{ color:var(--text); font-weight:700; }

  .cat-hero{
    border:1px solid var(--border); border-radius:4px; overflow:hidden;
    background: linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0/34px 34px, linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0/34px 34px, var(--surface);
    display:flex; align-items:center; gap:22px; padding:26px 28px; flex-wrap:wrap;
  }
  .cat-hero-icon{ width:62px; height:62px; border-radius:14px; flex-shrink:0; display:flex; align-items:center; justify-content:center; background:var(--accent-soft); color:var(--accent); box-shadow:var(--shadow); }
  .cat-hero-copy{ flex:1; min-width:260px; }
  .cat-hero-copy .eyebrow{ font-family:'Rajdhani',sans-serif; font-weight:700; font-size:.7rem; text-transform:uppercase; letter-spacing:.12em; color:var(--muted-2); margin-bottom:6px; }
  .cat-hero-copy h1{ font-size:1.8rem; margin-bottom:6px; }
  .cat-hero-copy p{ color:var(--muted); font-size:.9rem; max-width:62ch; line-height:1.55; }
  .cat-hero-stats{ display:flex; gap:22px; flex-shrink:0; }
  .chs{ text-align:center; }
  .chs b{ display:block; font-family:'JetBrains Mono',monospace; font-size:1.1rem; }
  .chs span{ font-size:.62rem; color:var(--muted-2); text-transform:uppercase; letter-spacing:.05em; }

  .hero-search{ display:flex; align-items:center; gap:9px; background:var(--surface); border:1.5px solid var(--border-strong); border-radius:10px; padding:12px 16px; margin-top:14px; max-width:560px; }
  .hero-search svg{ flex-shrink:0; opacity:.6; }
  .hero-search input{ border:none; outline:none; background:transparent; font:inherit; font-size:.88rem; color:var(--text); width:100%; }
  .hero-search button{ flex-shrink:0; }

  .section-head{ display:flex; align-items:baseline; justify-content:space-between; margin:30px 0 14px; flex-wrap:wrap; gap:8px; }
  .section-head h2{ font-size:1.24rem; }
  .section-head a{ font-size:.81rem; color:var(--link); font-weight:700; }

  .layout{ display:grid; grid-template-columns:1fr 322px; gap:22px; margin-top:8px; }
  .panel{ background:var(--surface); border:1px solid var(--border); border-radius:5px; overflow:hidden; }

  .ad-slot{ background:var(--surface); border:1px solid var(--border); border-radius:5px; overflow:hidden; }
  .ad-ctrl{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:8px 13px; border-bottom:1px solid var(--border); background:var(--surface-2); }
  .ad-ctrl-label{ font-size:.68rem; font-weight:700; color:var(--muted); font-family:'Rajdhani',sans-serif; text-transform:uppercase; letter-spacing:.05em; display:flex; gap:6px; align-items:center; }
  .ad-ctrl-label .mono{ color:var(--muted-2); font-weight:500; text-transform:none; letter-spacing:0; }
  .switch{ position:relative; width:32px; height:18px; border-radius:999px; background:var(--border-strong); border:none; cursor:pointer; flex-shrink:0; padding:0; }
  .switch .knob{ position:absolute; top:2px; left:2px; width:14px; height:14px; border-radius:50%; background:#fff; transition:transform .15s ease; box-shadow:0 1px 2px rgba(0,0,0,.35); }
  .switch[aria-checked="true"]{ background:var(--accent); }
  .switch[aria-checked="true"] .knob{ transform:translateX(14px); }
  .ad-placeholder{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; margin:10px; border:1.5px dashed var(--border-strong); border-radius:4px; color:var(--muted-2); font-size:.72rem; height:200px; }
  .ad-placeholder.leaderboard{ height:70px; }
  .ad-body[hidden]{ display:none; }

  .side-block{ margin-bottom:20px; }
  .side-head{ padding:12px 15px; border-bottom:1px solid var(--border); font-family:'Rajdhani',sans-serif; font-weight:700; font-size:.88rem; display:flex; justify-content:space-between; align-items:center; }
  .side-head span{ font-size:.7rem; color:var(--muted-2); font-weight:600; }
  .tip-item{ display:flex; gap:10px; padding:12px 15px; border-bottom:1px solid var(--border); align-items:flex-start; }
  .tip-item:last-child{ border-bottom:none; }
  .tip-num{ flex-shrink:0; width:22px; height:22px; border-radius:50%; background:var(--accent-soft); color:var(--accent); display:flex; align-items:center; justify-content:center; font-family:'JetBrains Mono',monospace; font-weight:700; font-size:.68rem; }
  .tip-item p{ font-size:.78rem; color:var(--muted); line-height:1.4; }
  .link-item{ display:block; padding:11px 15px; border-bottom:1px solid var(--border); font-size:.82rem; font-weight:600; }
  .link-item:last-child{ border-bottom:none; }
  .link-item:hover{ color:var(--accent); background:var(--surface-2); }

  .cta-block{ background:linear-gradient(155deg, var(--accent), #00265B); border-radius:5px; padding:19px; color:#fff; }
  .cta-block h3{ font-size:1.05rem; margin-bottom:6px; }
  .cta-block p{ font-size:.81rem; opacity:.92; margin-bottom:14px; line-height:1.45; }
  .cta-block .btn-ghost{ border-color:rgba(255,255,255,.5); color:#fff; }

  .foot-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:24px; margin-bottom:20px; }
  .foot-col h4{ font-family:'Rajdhani',sans-serif; font-size:.8rem; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); margin-bottom:9px; }
  .foot-col a{ display:block; padding:3px 0; }
  .foot-col a:hover{ color:var(--accent); }
  footer{ margin-top:44px; border-top:1px solid var(--border); padding:28px 0 24px; color:var(--muted-2); font-size:.79rem; }
  .foot-bottom{ display:flex; justify-content:space-between; border-top:1px solid var(--border); padding-top:15px; font-size:.73rem; flex-wrap:wrap; gap:6px; }

  /* ---- chip filter ---- */
  .chip-filter{ display:flex; flex-wrap:wrap; gap:8px; margin:16px 0 18px; }
  .chip-seg{ display:inline-flex; align-items:center; gap:7px; padding:8px 15px; border-radius:20px; border:1.5px solid var(--border-strong); background:var(--surface); color:var(--text); font-family:'Rajdhani',sans-serif; font-weight:700; font-size:.82rem; cursor:pointer; transition:transform .12s ease; }
  .chip-seg:hover{ transform:translateY(-1px); }
  .chip-seg[aria-pressed="true"]{ background:var(--accent); border-color:var(--accent); color:var(--accent-ink); }

  /* ---- FAQ accordion ---- */
  .faq-item{ border-bottom:1px solid var(--border); }
  .faq-item:last-child{ border-bottom:none; }
  .faq-item[hidden]{ display:none; }
  .faq-q{ width:100%; display:flex; align-items:center; justify-content:space-between; gap:10px; padding:15px 18px; background:none; border:none; text-align:left; cursor:pointer; color:var(--text); font-family:'Rajdhani',sans-serif; font-weight:700; font-size:.92rem; }
  .faq-q:hover{ color:var(--accent); }
  .faq-q svg{ flex-shrink:0; transition:transform .18s ease; color:var(--muted-2); }
  .faq-item.open .faq-q svg{ transform:rotate(180deg); color:var(--accent); }
  .faq-a{ max-height:0; overflow:hidden; transition:max-height .22s ease; }
  .faq-item.open .faq-a{ max-height:400px; }
  .faq-a-inner{ padding:0 18px 16px; font-size:.83rem; color:var(--muted); line-height:1.6; }
  .faq-cat-tag{ display:inline-block; font-size:.6rem; font-weight:700; padding:2px 7px; border-radius:4px; background:var(--accent-soft); color:var(--accent); font-family:'Rajdhani',sans-serif; text-transform:uppercase; letter-spacing:.04em; margin-left:8px; flex-shrink:0; }

  .help-cat-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--border); border:1px solid var(--border); border-radius:6px; overflow:hidden; }
  .help-cat-card{ background:var(--surface); padding:18px 17px 15px; transition:background .15s ease; cursor:pointer; }
  .help-cat-card:hover{ background:var(--surface-2); }
  .help-cat-icon{ width:38px; height:38px; border-radius:9px; margin-bottom:11px; display:flex; align-items:center; justify-content:center; background:var(--accent-soft); color:var(--accent); }
  .help-cat-card h3{ font-size:.92rem; margin-bottom:4px; }
  .help-cat-card p{ font-size:.74rem; color:var(--muted); line-height:1.4; }

  /* ---- blog grid ---- */
  .blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
  .blog-card{ background:var(--surface); border:1px solid var(--border); border-radius:8px; overflow:hidden; transition:transform .15s ease, border-color .15s ease; display:flex; flex-direction:column; }
  .blog-card:hover{ transform:translateY(-3px); border-color:var(--accent); }
  .blog-card[hidden]{ display:none; }
  .blog-banner{ height:120px; position:relative; display:flex; align-items:center; justify-content:center; overflow:hidden; }
  .blog-banner:before{ content:""; position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size:14px 14px; }
  .blog-banner svg{ position:relative; z-index:1; color:#fff; opacity:.95; }
  .blog-tag{ position:absolute; top:10px; left:10px; z-index:1; font-family:'Rajdhani',sans-serif; font-weight:700; font-size:.6rem; text-transform:uppercase; letter-spacing:.05em; color:#fff; background:rgba(0,0,0,.28); border-radius:4px; padding:3px 8px; }
  .blog-body{ padding:14px 16px 15px; display:flex; flex-direction:column; flex:1; gap:7px; }
  .blog-body h3{ font-size:.98rem; line-height:1.32; }
  .blog-body p{ font-size:.78rem; color:var(--muted); line-height:1.45; flex:1; }
  .blog-meta{ display:flex; align-items:center; justify-content:space-between; border-top:1px solid var(--border); padding-top:10px; margin-top:4px; }
  .blog-author{ display:flex; align-items:center; gap:7px; font-size:.74rem; font-weight:700; }
  .blog-author .av{ width:22px; height:22px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; font-family:'Rajdhani',sans-serif; font-weight:700; font-size:.6rem; flex-shrink:0; }
  .blog-time{ font-size:.68rem; color:var(--muted-2); }
  @media (max-width:1040px){ .blog-grid{ grid-template-columns:repeat(2,1fr); } .help-cat-grid{ grid-template-columns:repeat(2,1fr); } }
  @media (max-width:640px){ .blog-grid{ grid-template-columns:1fr; } .help-cat-grid{ grid-template-columns:1fr; } }

  /* ---- forms ---- */
  .form-card{ background:var(--surface); border:1px solid var(--border); border-radius:8px; padding:24px 26px; }
  .form-group{ margin-bottom:16px; }
  .form-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
  .form-label{ display:block; font-family:'Rajdhani',sans-serif; font-weight:700; font-size:.82rem; margin-bottom:6px; }
  .form-label .opt{ color:var(--muted-2); font-weight:500; font-size:.72rem; }
  .form-input, .form-select, .form-textarea{ width:100%; font:inherit; font-size:.86rem; color:var(--text); background:var(--surface-2); border:1px solid var(--border-strong); border-radius:7px; padding:10px 13px; outline:none; transition:border-color .15s ease; }
  .form-input:focus, .form-select:focus, .form-textarea:focus{ border-color:var(--accent); }
  .form-textarea{ resize:vertical; min-height:120px; font-family:inherit; line-height:1.5; }
  .form-hint{ font-size:.71rem; color:var(--muted-2); margin-top:5px; }
  .form-check{ display:flex; align-items:flex-start; gap:9px; font-size:.81rem; color:var(--muted); line-height:1.4; }
  .form-check input{ margin-top:3px; flex-shrink:0; accent-color:var(--accent); }
  .form-check a{ color:var(--link); font-weight:700; }
  .form-actions{ display:flex; gap:10px; align-items:center; margin-top:20px; flex-wrap:wrap; }
  .price-input{ position:relative; }
  .price-input .curr{ position:absolute; right:13px; top:50%; transform:translateY(-50%); color:var(--muted-2); font-weight:700; font-size:.82rem; pointer-events:none; }
  .upload-drop{ border:1.5px dashed var(--border-strong); border-radius:8px; padding:26px 16px; text-align:center; color:var(--muted); background:var(--surface-2); }
  .upload-drop svg{ opacity:.5; margin-bottom:8px; }
  .upload-drop b{ color:var(--text); }
  .upload-drop .sub{ font-size:.71rem; color:var(--muted-2); margin-top:4px; }
  .compose-toolbar{ display:flex; gap:4px; padding:7px 8px; border:1px solid var(--border-strong); border-bottom:none; border-radius:7px 7px 0 0; background:var(--surface-2); }
  .compose-toolbar button{ width:28px; height:28px; border-radius:5px; border:1px solid transparent; background:none; color:var(--muted); display:flex; align-items:center; justify-content:center; cursor:pointer; }
  .compose-toolbar button:hover{ background:var(--surface-3); color:var(--text); }
  .compose-toolbar + .form-textarea{ border-radius:0 0 7px 7px; }
  .tag-input-row{ display:flex; flex-wrap:wrap; gap:6px; padding:9px; border:1px solid var(--border-strong); border-radius:7px; background:var(--surface-2); }
  .tag-pill{ display:inline-flex; align-items:center; gap:5px; font-size:.73rem; font-weight:700; background:var(--accent-soft); color:var(--accent); border-radius:14px; padding:4px 6px 4px 10px; }
  .tag-pill button{ width:14px; height:14px; border-radius:50%; background:none; border:none; color:inherit; cursor:pointer; display:flex; align-items:center; justify-content:center; }
  .tag-input-row input{ border:none; outline:none; background:none; font:inherit; font-size:.82rem; color:var(--text); flex:1; min-width:100px; padding:4px; }

  /* ---- auth pages ---- */
  .auth-wrap{ max-width:420px; margin:32px auto 60px; }
  .auth-card{ background:var(--surface); border:1px solid var(--border); border-radius:10px; padding:30px 28px 26px; box-shadow:var(--shadow); }
  .auth-head{ text-align:center; margin-bottom:22px; }
  .auth-head .logo-badge{ margin:0 auto 12px; }
  .auth-head h1{ font-size:1.4rem; margin-bottom:5px; }
  .auth-head p{ font-size:.83rem; color:var(--muted); }
  .auth-divider{ display:flex; align-items:center; gap:12px; margin:20px 0; color:var(--muted-2); font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; }
  .auth-divider:before, .auth-divider:after{ content:""; flex:1; height:1px; background:var(--border); }
  .social-row{ display:flex; flex-direction:column; gap:9px; }
  .social-btn{ display:flex; align-items:center; justify-content:center; gap:9px; padding:10px 14px; border-radius:7px; border:1px solid var(--border-strong); background:var(--surface-2); font-weight:700; font-size:.83rem; cursor:pointer; color:var(--text); }
  .social-btn:hover{ border-color:var(--accent); color:var(--accent); }
  .auth-foot{ text-align:center; margin-top:20px; font-size:.83rem; color:var(--muted); }
  .auth-foot a{ font-weight:700; color:var(--link); }
  .auth-forgot{ text-align:right; margin-top:-8px; margin-bottom:16px; }
  .auth-forgot a{ font-size:.76rem; color:var(--link); font-weight:600; }

  /* ---- rules page ---- */
  .rules-layout{ display:grid; grid-template-columns:250px 1fr; gap:24px; margin-top:8px; }
  .rules-toc{ background:var(--surface); border:1px solid var(--border); border-radius:6px; padding:8px; align-self:start; position:sticky; top:16px; }
  .rules-toc a{ display:block; padding:9px 11px; border-radius:6px; font-size:.82rem; font-weight:600; color:var(--muted); }
  .rules-toc a:hover{ background:var(--surface-2); color:var(--text); }
  .rule-section{ background:var(--surface); border:1px solid var(--border); border-radius:6px; padding:22px 24px; margin-bottom:16px; scroll-margin-top:16px; }
  .rule-section h2{ display:flex; align-items:center; gap:11px; font-size:1.15rem; margin-bottom:12px; }
  .rule-num{ width:30px; height:30px; border-radius:8px; background:var(--accent-soft); color:var(--accent); display:flex; align-items:center; justify-content:center; font-family:'JetBrains Mono',monospace; font-weight:700; font-size:.85rem; flex-shrink:0; }
  .rule-section p{ font-size:.85rem; color:var(--muted); line-height:1.65; margin-bottom:10px; }
  .rule-list{ margin:0; padding-left:0; list-style:none; }
  .rule-list li{ display:flex; gap:9px; font-size:.84rem; color:var(--muted); line-height:1.55; padding:6px 0; }
  .rule-list li:before{ content:"—"; color:var(--accent); flex-shrink:0; font-weight:700; }
  @media (max-width:1040px){ .rules-layout{ grid-template-columns:1fr; } .rules-toc{ position:static; display:flex; flex-wrap:wrap; gap:4px; } .rules-toc a{ padding:7px 10px; } }

  /* ---- contact page ---- */
  .contact-info-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin:22px 0; }
  .contact-info-card{ background:var(--surface); border:1px solid var(--border); border-radius:8px; padding:16px; text-align:center; }
  .contact-info-card .cic-icon{ width:38px; height:38px; border-radius:9px; margin:0 auto 10px; display:flex; align-items:center; justify-content:center; background:var(--accent-soft); color:var(--accent); }
  .contact-info-card h4{ font-size:.85rem; margin-bottom:4px; }
  .contact-info-card p{ font-size:.76rem; color:var(--muted); line-height:1.4; }
  @media (max-width:1040px){ .contact-info-grid{ grid-template-columns:repeat(2,1fr); } }

  @media (max-width: 1040px){
    .layout{ grid-template-columns:1fr; }
    .foot-grid{ grid-template-columns:1fr 1fr; }
    .form-row{ grid-template-columns:1fr; }
  }

  /* ---- mobil menü & taşma güvenliği ---- */
  html, body{ max-width:100%; overflow-x:hidden; }
  .hamburger{ display:none; align-items:center; justify-content:center; width:36px; height:36px; border-radius:7px; border:1px solid var(--border-strong); background:var(--surface-2); color:var(--text); cursor:pointer; flex-shrink:0; }
  .hamburger:hover{ border-color:var(--accent); color:var(--accent); }
  .hamburger svg{ width:18px; height:18px; }
  .mobile-drawer-overlay{ position:fixed; inset:0; background:rgba(10,12,16,.5); z-index:60; opacity:0; pointer-events:none; transition:opacity .18s ease; }
  .mobile-drawer-overlay.open{ opacity:1; pointer-events:auto; }
  .mobile-drawer{ position:fixed; top:0; right:0; bottom:0; width:82%; max-width:320px; background:var(--surface); z-index:61; box-shadow:-8px 0 24px rgba(0,0,0,.2); transform:translateX(100%); transition:transform .2s ease; display:flex; flex-direction:column; overflow-y:auto; }
  .mobile-drawer.open{ transform:translateX(0); }
  .mobile-drawer-head{ display:flex; align-items:center; justify-content:space-between; padding:14px 16px; border-bottom:1px solid var(--border); }
  .mobile-drawer-head .logo-text .name{ font-family:'Rajdhani',sans-serif; font-weight:700; font-size:1.05rem; }
  .mobile-drawer-close{ display:flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:7px; border:1px solid var(--border-strong); background:var(--surface-2); color:var(--text); cursor:pointer; }
  .mobile-drawer-close:hover{ color:var(--accent); border-color:var(--accent); }
  .mobile-drawer-search{ margin:14px 16px 4px; display:flex; align-items:center; gap:8px; background:var(--surface-2); border:1px solid var(--border); border-radius:8px; padding:9px 12px; color:var(--muted); font-size:.85rem; }
  .mobile-drawer-search svg{ flex-shrink:0; opacity:.6; }
  .mobile-drawer-nav{ display:flex; flex-direction:column; padding:10px 8px; font-family:'Rajdhani',sans-serif; font-weight:600; font-size:.98rem; }
  .mobile-drawer-nav a{ padding:11px 12px; border-radius:7px; color:var(--text); }
  .mobile-drawer-nav a.active{ background:var(--accent-soft); color:var(--accent); }
  .mobile-drawer-actions{ display:flex; flex-direction:column; gap:9px; padding:14px 16px; border-top:1px solid var(--border); margin-top:auto; }
  .mobile-drawer-actions .btn{ width:100%; justify-content:center; }
  .mobile-drawer-auth{ display:flex; gap:14px; padding:0 16px 16px; font-size:.82rem; }
  .mobile-drawer-auth a{ font-weight:700; }
  .mobile-drawer-auth a.accent{ color:var(--accent); }
  body.drawer-open{ overflow:hidden; }

  @media (max-width:900px){
    .hamburger{ display:inline-flex; }
    nav.crumbs{ display:none; }
  }
  @media (max-width:680px){
    .topbar .ticker{ display:none; }
    .topbar .right-links a:not(.auth-link){ display:none; }
    .topbar .right-links{ gap:10px; }
    .mainbar{ flex-wrap:wrap; gap:10px 12px; }
    .search{ order:3; flex:1 1 100%; max-width:100%; }
    .mainbar-actions{ margin-left:0; }
  }
