:root{
  --bg:#0b0c10; --card:#111218; --muted:#9499a5; --text:#e8ebf1; --brand:#47a6ff; --accent:#ffd166;
  --radius:18px; --pad:18px; --shadow:0 8px 30px rgba(0,0,0,.25);
}
*{box-sizing:border-box}
html{margin:0;padding:0;font-size:clamp(15px,1vw + 14px,16px);scroll-behavior:smooth}
body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:"Inter",system-ui,-apple-system,Segoe UI,Roboto,Arial;line-height:1.55;overflow-x:hidden}
img,picture,video,canvas,svg{display:block;max-width:100%;height:auto}
iframe{max-width:100%;border:0}
a{color:var(--brand);text-decoration:none}
a:hover{text-decoration:underline}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:12px;top:-120px;background:#47a6ff;color:#001423;padding:10px 16px;border-radius:12px;font-weight:700;z-index:1000;transition:top .2s ease,box-shadow .2s ease}
.skip-link:focus{top:12px;box-shadow:0 10px 30px rgba(0,0,0,.35);outline:none}
.wrapper{max-width:1200px;margin:0 auto;padding:clamp(16px,4vw,28px)}
.article-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:flex-start}
.gallery-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:flex-start}
.rail-ad{display:none}
.rail-ad-slot{display:flex;justify-content:center}
.rail-ad-slot{max-width:200px;margin:0 auto}
.rail-ad-slot .ad-placeholder{width:160px;height:600px;border-radius:12px;border:1px solid #2a2f3f;background:#0f111a;padding:6px;object-fit:cover;opacity:0.85}
header{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center;margin-bottom:18px}
.logo{display:inline-block;line-height:1}
.logo img{display:block;width:auto;height:clamp(72px, 9vw, 120px)}
nav{display:flex;flex-wrap:wrap;gap:8px}
nav a{padding:8px 12px;background:#161822;border-radius:999px;color:#dfe6f3}
.nav-toggle{display:none;align-items:center;gap:8px;background:#161822;border:1px solid #2a2f3f;border-radius:999px;color:#e9eef9;padding:8px 14px;font-weight:600;cursor:pointer}
/* Slightly tighter pills to fit big logo on desktop */
@media (min-width: 981px){ nav a{ padding:6px 12px; } }
.hero{display:grid;gap:18px;grid-template-columns:2fr 1fr}
.home-hero{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:26px;align-items:stretch}
.home-hero-content{display:flex;flex-direction:column;gap:14px}
.home-hero-content p{font-size:1.05rem;line-height:1.7}
.home-hero-media{margin:0}
.home-hero-media img{display:block;width:100%;border-radius:24px;box-shadow:0 18px 36px rgba(0,0,0,.35);object-fit:cover;max-height:320px}
.home-hero-side{display:flex;flex-direction:column;gap:18px}
.card{background:var(--card);border-radius:var(--radius);padding:var(--pad);box-shadow:var(--shadow)}
.card p{overflow-wrap:anywhere}
.headline{font-size:1.6rem;font-weight:800;margin:0 0 10px}
.meta{color:var(--muted);font-size:.85rem}
.grid{display:grid;gap:18px}
.grid.cols-3{grid-template-columns:repeat(3,1fr)}
.grid.cols-2{grid-template-columns:repeat(2,1fr)}
.tag{display:inline-flex;gap:6px;align-items:center;padding:4px 10px;border-radius:999px;background:#1a1d27;color:#cdd6e6;font-size:.8rem}
.byline{display:flex;gap:10px;align-items:center;margin-top:8px}
.avatar{width:28px;height:28px;border-radius:50%;background:#222}
.ad{background:#0f111a;border:1px dashed #2b3040;border-radius:14px;display:grid;place-items:center;color:#9aa3b2;height:120px;font-size:.9rem}
.ad[data-size="leaderboard"]{height:90px}
.ad[data-size="rectangle"]{height:250px}
.list li{margin:10px 0}
.list.list-columns{columns:2;column-gap:26px}
footer{margin:28px 0;color:var(--muted);font-size:.9rem;text-align:center}
.pill{display:inline-flex;gap:8px;align-items:center;border:1px solid #2a2f3f;border-radius:999px;padding:10px 12px}
.cta{display:flex;gap:10px;flex-wrap:wrap}
.btn{background:var(--brand);color:#001423;padding:10px 14px;border-radius:12px;font-weight:700;border:0;cursor:pointer}
.btn.secondary{background:#1d2232;color:#e9eef9}
.newsletter{display:grid;gap:16px;grid-template-columns:minmax(0,1fr) auto;position:relative;padding:22px;border-radius:18px;border:1px solid #1f2231;background:rgba(16,21,34,.9);box-shadow:var(--shadow)}
.newsletter input[type="email"]{width:100%;background:#0f111a;border:1px solid #2a2f3f;border-radius:12px;padding:12px 14px;color:#e9eef9;font-size:1rem;transition:border .2s ease,box-shadow .2s ease}
.newsletter input[type="email"]::placeholder{color:rgba(233,238,249,.45)}
.newsletter input[type="email"]:focus{outline:none;border-color:rgba(71,166,255,.6);box-shadow:0 0 0 3px rgba(71,166,255,.15)}
.newsletter button{padding:12px 22px;font-size:1rem;align-self:stretch}
.newsletter .newsletter-note{grid-column:1 / -1;margin:0;color:var(--muted);font-size:0.85rem}
.newsletter .hp-field{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);border:0;padding:0}
.newsletter .form-feedback{grid-column:1 / -1;font-size:.85rem;margin:0;color:var(--muted);min-height:1.2rem}
.newsletter[data-state="pending"] .form-feedback{color:var(--muted)}
.newsletter[data-state="error"] .form-feedback{color:#ff8080}
.newsletter[data-state="success"] .form-feedback{color:#4adf86}
input[type=email]{background:#0f111a;border:1px solid #2a2f3f;border-radius:12px;padding:12px;color:#e9eef9}
main{display:block}
article.prose{max-width:clamp(100%,820px,820px);margin:0 auto;font-size:clamp(1rem,0.4vw + 1rem,1.08rem);line-height:1.65;color:var(--text);padding-inline:min(5vw,24px)}
article.prose > *{max-width:780px;margin-left:auto;margin-right:auto}
article.prose h1{font-size:clamp(2rem,3.8vw,2.6rem);margin:0 0 1rem;font-weight:800}
article.prose h2{font-size:clamp(1.4rem,2.5vw,1.8rem);margin:2.2rem auto 0.9rem;font-weight:700;color:#f0f2f9}
article.prose h3{font-size:clamp(1.15rem,1.8vw,1.35rem);margin:1.8rem auto 0.8rem;font-weight:600;color:#d5dcff}
article.prose p{margin:1.05rem auto}
article.prose ul,article.prose ol{padding-left:1.4rem;margin:1.1rem auto;line-height:1.65}
article.prose li{margin:0.4rem 0}
article.prose a{color:#72b8ff}
article.prose a:hover{text-decoration:underline}
article.prose blockquote{margin:1.8rem auto;padding:1.2rem 1.5rem;border-left:4px solid var(--brand);background:rgba(18,21,35,.72);border-radius:14px;font-style:italic;color:#dfe5f8}
article.prose img,article.prose video{display:block;width:100%;border-radius:20px;margin:1.6rem auto;box-shadow:0 16px 32px rgba(0,0,0,.32);height:auto;object-fit:cover}
article.prose figure{margin:1.8rem auto;text-align:center}
article.prose figcaption{margin-top:0.6rem;font-size:0.85rem;color:var(--muted)}
article.prose table{width:100%;border-collapse:collapse;margin:1.6rem auto;border:1px solid #222836;border-radius:14px;overflow:hidden;background:#0f111a}
article.prose table th,article.prose table td{padding:12px 14px;border-bottom:1px solid #1f2432;text-align:left}
article.prose table th{background:#141a26;font-weight:600;color:#e4e8f6}
article.prose hr{border:0;border-top:1px solid #202533;margin:2.4rem auto}
article.prose code{background:#151d2d;border-radius:6px;padding:0 6px;font-size:0.9rem;border:1px solid #1f2a3b}
article.prose pre{background:#151d2d;padding:16px;border-radius:14px;border:1px solid #1f2a3b;overflow:auto;font-size:0.92rem}
article.prose.article-page{padding:28px}
.article-hero{display:flex;gap:26px;align-items:flex-start;margin-bottom:28px;flex-wrap:wrap}
.article-hero-content{flex:1 1 320px;min-width:0}
.article-hero-content .article-hero-excerpt{margin-top:1rem;font-size:1.05rem;color:#d0d6e6;line-height:1.7;font-style:italic}
.article-hero-media{flex:0 0 clamp(240px, 38vw, 420px);width:clamp(240px, 38vw, 420px);margin:0 auto;position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:20px;box-shadow:0 18px 36px rgba(0,0,0,.3)}
.article-hero-media img{display:block;width:100%;height:100%;object-fit:cover}
.article-page.no-hero-image .article-hero{flex-direction:column}
.article-page.no-hero-image .article-hero-content{max-width:700px;margin:0 auto}
.article-page.no-hero-image .article-hero-excerpt{font-style:normal;color:#dfe3f3}
.article-page.has-hero-image .article-hero-content{max-width:540px}
.article-page.has-hero-image .article-hero h1{margin-bottom:0.6rem}
.article-page.has-hero-image .article-hero .meta{margin-bottom:0.4rem}
.article-share{display:flex;align-items:center;gap:14px;padding:18px 20px;margin:12px auto 28px;background:#101522;border:1px solid #1f2231;border-radius:16px}
.article-share-label{font-weight:600;color:#dfe3f6}
.article-share-buttons{display:flex;gap:10px;flex-wrap:wrap}
.article-actions{display:flex;flex-direction:column;gap:16px;padding:18px 20px;margin:12px auto 28px;background:#101522;border:1px solid #1f2231;border-radius:16px}
.article-actions-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;align-items:flex-start}
.article-action{display:flex;flex-direction:column;gap:10px}
.article-action .btn{justify-content:center}
.article-action select{background:#0f111a;border:1px solid #2a2f3f;border-radius:12px;padding:10px 12px;color:#e9eef9;font-size:0.95rem}
.article-action select:focus{outline:none;border-color:rgba(71,166,255,.6);box-shadow:0 0 0 3px rgba(71,166,255,.15)}
.article-action-status{min-height:1.2em;color:var(--muted);margin:0}
.article-action-note{color:var(--muted);margin:0}
.visually-hidden{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.article-body{margin-top:24px}
.article-body > *:first-child{margin-top:0}
.article-divider{margin:40px 0 24px;border:0;border-top:1px solid rgba(118,128,155,0.35)}
.related-articles{margin-top:32px;padding:24px;background:rgba(13,16,28,0.55);border:1px solid rgba(109,122,159,0.22);border-radius:18px}
.related-articles h2{margin:0 0 14px;font-size:1.35rem}
.related-articles__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.related-articles__list li{padding-bottom:12px;border-bottom:1px solid rgba(109,122,159,0.18)}
.related-articles__list li:last-child{border-bottom:0;padding-bottom:0}
.related-articles__list a{font-weight:600;color:#f0f3ff;text-decoration:none}
.related-articles__list a:hover{text-decoration:underline}
.translation-body{display:none;margin-top:24px}
.translation-body.is-visible{display:block}
.gallery-page{display:flex;flex-direction:column;gap:24px;margin-bottom:40px}
.gallery-hero{background:rgba(11,12,20,0.65)}
.gallery-list{display:flex;flex-direction:column;gap:18px}
.gallery-card{display:grid;grid-template-columns:200px minmax(0,1fr);gap:18px;background:rgba(11,13,21,0.6);border:1px solid rgba(109,122,159,0.18);border-radius:18px;overflow:hidden;padding:18px}
.gallery-card__media{display:flex;align-items:center;justify-content:center;width:100%;height:200px;background:#0b0d15;border-radius:16px;border:1px solid rgba(109,122,159,0.2);overflow:hidden}
.gallery-card__media img{max-width:100%;max-height:100%;object-fit:contain}
.gallery-card__content{display:flex;flex-direction:column;gap:14px;justify-content:center}
.gallery-card__content h2{margin:0;font-size:1.25rem}
.gallery-card__description{margin:0}
.gallery-card__actions{display:flex;gap:10px;flex-wrap:wrap}
.gallery-card__actions .btn{flex:0 0 auto}
.gallery-card__actions .btn.secondary{background:transparent;border:1px solid rgba(118,128,155,0.4)}
.gallery-card__content--row{flex-direction:column;gap:12px}
.gallery-card__headline{display:flex;align-items:center;justify-content:space-between;gap:16px}
.gallery-card__headline h2{margin:0;flex:1 1 auto}
.gallery-card__actions--row{flex:0 0 auto;justify-content:flex-end}
.gallery-card__media--row{height:200px;border:1px solid rgba(109,122,159,0.2);display:flex;align-items:center;justify-content:center;overflow:hidden}
.gallery-card__media--row img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.gallery-card__description--row{margin:0}
.share-btn{display:inline-flex;align-items:center;padding:8px 14px;border-radius:999px;background:#1d2232;color:#e9eef9;font-weight:600;font-size:0.92rem;border:1px solid transparent;transition:background .2s ease,border .2s ease}
.share-btn:hover,.share-btn:focus{background:#47a6ff;color:#001423;border-color:#47a6ff;text-decoration:none}
.share-btn.copy{background:#25293b}
.share-btn.copy[data-state="copied"]{background:#4adf86;color:#001f0f;border-color:transparent}
kbd{background:#192133;border:1px solid #2b3a5a;border-radius:6px;padding:0 6px}
code{background:#151922;border:1px solid #2a2f3f;border-radius:6px;padding:2px 6px}
hr{border:0;border-top:1px solid #2a2f3f;margin:1.2rem 0}
.notice{background:#101522;border:1px solid #2a2f3f;border-radius:12px;padding:12px;color:#cfd7ea}
.notice.success{border-color:rgba(74,223,134,0.35);color:#4adf86}
.notice.error{border-color:rgba(255,107,107,0.35);color:#ff8080}
.contact-form{display:grid;gap:20px;margin-top:24px;padding:26px;background:#101522;border:1px solid #2a2f3f;border-radius:18px;box-shadow:var(--shadow);max-width:760px}
.contact-form .contact-row{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.contact-form .field{display:flex;flex-direction:column;gap:6px}
.contact-form label{font-weight:600;color:#d0d6e6;letter-spacing:.01em}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea{background:#0f111a;border:1px solid #2a2f3f;border-radius:12px;padding:12px 14px;color:#e9eef9;font-size:1rem;transition:border .2s ease, box-shadow .2s ease}
.contact-form input[type="text"]::placeholder,
.contact-form input[type="email"]::placeholder,
.contact-form textarea::placeholder{color:rgba(233,238,249,.45)}
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus{outline:none;border-color:rgba(71,166,255,.6);box-shadow:0 0 0 3px rgba(71,166,255,.15)}
.contact-form textarea{min-height:220px;resize:vertical}
.contact-form .hp-field{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);border:0;padding:0}
.contact-form button{justify-self:flex-start;padding:12px 24px;font-size:1rem}
.affiliate-card{position:relative;overflow:hidden}
.affiliate-card .affiliate-placeholder{display:block;width:100%;border-radius:18px;margin-top:12px;border:1px solid rgba(255,255,255,0.08);box-shadow:0 18px 36px rgba(0,0,0,.35)}
.affiliate-card.has-deals .affiliate-placeholder{display:none}
.ad-slot{display:block;text-align:center;margin:0}
.ad-slot .ad-placeholder{display:block;width:100%;max-width:728px;height:auto;margin:12px auto 0;border-radius:12px;border:1px solid #2a2f3f;background:#0f111a;padding:8px;object-fit:contain;opacity:0.75}
.ad-slot[data-placeholder="rectangle"] .ad-placeholder{max-width:320px}
.ad-slot[data-ad-loaded="true"] .ad-placeholder{display:none}
.ad-placeholder{transition:opacity .3s ease}
.ad-live-link{display:inline-block;width:100%}
.ad-live-creative{display:block;width:100%;height:auto;object-fit:contain;border-radius:14px;box-shadow:0 12px 28px rgba(0,0,0,.28);background:#0f111a}
.ads-page{max-width:min(960px,100%);margin:0 auto;padding:clamp(18px,5vw,34px)}
.ads-page__card{max-width:820px;margin:0 auto;width:100%}
@media (min-width:1200px){
  .article-layout{grid-template-columns:minmax(0,860px) 200px;justify-content:center}
  .article-layout > article{grid-column:1}
  .rail-right{display:block;position:sticky;top:80px;align-self:flex-start}
  .gallery-layout{grid-template-columns:200px minmax(0,820px) 200px;justify-content:center}
  .gallery-layout > .gallery-page{grid-column:2}
  .gallery-layout .rail-left,.gallery-layout .rail-right{display:block;position:sticky;top:80px;align-self:flex-start}
}
.home-hero, .hero{align-items:center}
.table-scroll{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.table-scroll table{width:100%;border-collapse:collapse}
.cta .btn{white-space:nowrap}
@media (max-width:980px){.hero{grid-template-columns:1fr}.grid.cols-3{grid-template-columns:1fr 1fr}.grid.cols-2{grid-template-columns:1fr}}
@media (max-width:768px){
  .home-hero{grid-template-columns:1fr}
  .home-hero-media img{max-height:none}
  .cta{flex-direction:column;align-items:stretch}
  .cta .btn{width:100%}
  .byline{flex-wrap:wrap}
  article.prose{padding-inline:min(6vw,22px)}
}
@media (max-width:640px){
  header{grid-template-columns:auto auto;align-items:center}
  .nav-toggle{display:inline-flex}
  header[data-nav-ready="true"] nav{display:none;grid-column:1 / -1;flex-direction:column;align-items:flex-start;padding-top:6px;background:#101522;border:1px solid #1f2231;border-radius:12px;padding-bottom:12px}
  header[data-nav-ready="true"] nav a{display:block;width:100%;padding:10px 14px;margin:0;border-bottom:1px solid rgba(255,255,255,0.05)}
  header[data-nav-ready="true"] nav a:last-child{border-bottom:0}
  .grid.cols-2{grid-template-columns:1fr}
  .newsletter{grid-template-columns:1fr}
  .newsletter button{width:100%}
  header[data-nav-ready="true"][data-nav-open="true"] nav{display:flex}
  .grid.cols-3{grid-template-columns:1fr}
  .list.list-columns{columns:1}
  .ad-slot .ad-placeholder{max-width:100%}
  .article-hero{flex-direction:column}
  .article-hero-media{max-width:100%}
  .article-share{flex-direction:column;align-items:flex-start}
  .article-share-buttons{width:100%}
  .article-actions{align-items:flex-start}
  .article-actions-grid{grid-template-columns:1fr;width:100%}
  .article-action select,.article-action .btn{width:100%}
  article.prose{font-size:0.98rem}
  article.prose h1{font-size:clamp(1.8rem,6vw,2.1rem)}
  article.prose h2{font-size:clamp(1.25rem,4.8vw,1.6rem)}
  article.prose h3{font-size:1.1rem}
}
@media (max-width:480px){
  .headline{font-size:1.4rem}
  article.prose{font-size:0.95rem}
  article.prose h1{font-size:clamp(1.7rem,7vw,2rem)}
  article.prose h2{font-size:clamp(1.15rem,5.2vw,1.4rem)}
  article.prose h3{font-size:1.05rem}
  .card{padding:clamp(16px,5vw,22px)}
  footer{font-size:.85rem;text-align:center}
  .home-hero-content p{font-size:1rem}
  .home-hero-media img{max-height:260px}
}
