/*
Theme Name: Astra Child Crypto Spiny Online
Template: astra
Version: 1.0.1
Description: Web3 Cyber Midnight, Teal & Bitcoin Gold Theme for crypto-spiny-online.cz
*/
:root {
  --cs-bg: #eff2f7; --cs-card: #ffffff; --cs-night: #0d1321; --cs-night2: #17233b;
  --cs-teal: #0d9488; --cs-teal-d: #0f766e; --cs-btc: #eab308; --cs-btc-d: #ca8a04;
  --cs-red: #e11d48; --cs-ink: #0d1321; --cs-txt: #334155; --cs-muted: #64748b; --cs-line: #d4dce8;
}
*, *::before, *::after { box-sizing: border-box; }
html, body.cso {
  margin: 0 !important; padding: 0 !important; background: var(--cs-bg); color: var(--cs-ink);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif; font-size: 16.5px; line-height: 1.68;
}
.cso h1, .cso h2, .cso h3, .cs-brand-t {
  font-family: "Space Grotesk", "Manrope", sans-serif; font-weight: 700; letter-spacing: -0.025em; color: var(--cs-night);
}
.cs-wrap { width: min(100% - 2rem, 79rem); margin-inline: auto; }

.cs-bar { background: #070a12; color: #cbd5e1; font-family: "Fira Code", monospace; font-size: 0.74rem; }
.cs-bar-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.4rem 1rem; padding: 0.4rem 0; }
.cs-bar a { color: #fde047; text-decoration: none; }
.cs-18 { background: var(--cs-red); color: #fff; padding: 0.08rem 0.46rem; border-radius: 4px; margin-right: 0.45rem; font-weight: 700; }

.cs-head { position: sticky; top: 0; z-index: 50; background: var(--cs-night); border-bottom: 3px solid var(--cs-btc); }
.cs-head-in { display: flex; align-items: center; gap: 1rem; min-height: 70px; flex-wrap: wrap; }
.cs-brand { display: inline-flex; align-items: center; gap: 0.72rem; text-decoration: none; margin-right: auto; }
.cs-hex { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--cs-teal), var(--cs-btc)); color: #0d1321; font-family: "Fira Code", monospace; font-weight: 800; display: grid; place-items: center; }
.cs-brand-t { display: block; color: #fff; font-size: 1.24rem; line-height: 1.05; }
.cs-brand-s { display: block; color: #94a3b8; font-size: 0.72rem; }

.cs-nav { display: flex; flex-wrap: wrap; gap: 0.2rem; }
.cs-cat { position: relative; }
.cs-cat > a { display: inline-block; color: #e2e8f0; text-decoration: none; font-weight: 600; font-size: 0.88rem; padding: 0.44rem 0.78rem; border-radius: 7px; }
.cs-cat > a:hover { background: rgba(13,148,136,0.28); color: #5eead4; }
.cs-dd { display: none; position: absolute; top: 100%; left: 0; min-width: 17.5rem; background: #fff; border: 1px solid var(--cs-line); border-top: 3px solid var(--cs-btc); border-radius: 0 0 10px 10px; padding: 0.45rem; box-shadow: 0 18px 36px rgba(0,0,0,0.24); z-index: 60; }
.cs-cat:hover .cs-dd, .cs-cat:focus-within .cs-dd { display: flex; flex-direction: column; }
.cs-dd a { color: var(--cs-txt); text-decoration: none; font-size: 0.87rem; padding: 0.44rem 0.7rem; border-radius: 6px; }
.cs-dd a:hover { background: var(--cs-bg); color: var(--cs-teal-d); }
.cs-mob { display: none; background: var(--cs-btc); color: var(--cs-night); border: 0; border-radius: 7px; padding: 0.45rem 0.88rem; font-weight: 800; cursor: pointer; }

.cs-main { padding: 1.85rem 0 3.3rem; }
.cs-grid { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; gap: 1.9rem; align-items: start; }
.cs-rail { position: sticky; top: 5.5rem; display: grid; gap: 1rem; }
.cs-panel { background: #fff; border: 1px solid var(--cs-line); border-radius: 14px; padding: 1.1rem 1.15rem; }
.cs-phd { margin: 0 0 0.55rem; font-family: "Fira Code", monospace; font-size: 0.72rem; text-transform: uppercase; color: var(--cs-teal-d); font-weight: 700; }
.cs-toc a { display: block; color: var(--cs-txt); text-decoration: none; font-size: 0.85rem; padding: 0.36rem 0; border-top: 1px solid var(--cs-line); }
.cs-toc a:hover { color: var(--cs-teal-d); }
.cs-calc label { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.79rem; font-weight: 700; color: var(--cs-muted); margin-bottom: 0.5rem; }
.cs-calc input, .cs-calc select { min-height: 36px; border: 1px solid var(--cs-line); border-radius: 8px; padding: 0.28rem 0.55rem; background: var(--cs-bg); font: inherit; }
.cs-calc-out { margin-top: 0.55rem; background: var(--cs-night); color: #fff; border-radius: 9px; padding: 0.65rem 0.75rem; display: grid; gap: 0.28rem; font-size: 0.83rem; }
.cs-calc-r { display: flex; justify-content: space-between; }
.cs-calc-r strong { font-family: "Fira Code", monospace; color: #fde047; }

.cs-body article { background: #fff; border: 1px solid var(--cs-line); border-radius: 18px; padding: 1.9rem 2.25rem 2.3rem; }
.cs-hero { background: linear-gradient(140deg, var(--cs-night) 0%, #102b36 100%); border: 1px solid #234754; border-radius: 16px; padding: 1.8rem 1.95rem; margin-bottom: 1.5rem; color: #f1f5f9; }
.cs-kicker { display: inline-block; background: rgba(234,179,8,0.18); border: 1px solid var(--cs-btc); color: #fde047; font-family: "Fira Code", monospace; font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.62rem; border-radius: 6px; margin: 0 0 0.75rem; }
.cs-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.3vw, 2.55rem); line-height: 1.13; margin: 0 0 0.85rem; }
.cs-hero .cs-lead { color: #cbd5e1; font-size: 1.01rem; margin: 0 0 1.15rem; }
.cs-pills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.65rem; list-style: none !important; padding: 0 !important; margin: 0 !important; }
.cs-pills li { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 10px; padding: 0.55rem 0.75rem; margin: 0 !important; }
.cs-pills span { display: block; font-family: "Fira Code", monospace; font-size: 0.69rem; color: #94a3b8; text-transform: uppercase; }
.cs-pills strong { display: block; color: #5eead4; font-size: 0.96rem; margin-top: 0.12rem; }

.cs-body h2 { font-size: 1.48rem; margin: 2.15rem 0 0.75rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--cs-night); }
.cs-body h3 { font-size: 1.08rem; margin: 1.2rem 0 0.35rem; color: var(--cs-teal-d); }
.cs-body p { margin: 0 0 0.95rem; color: var(--cs-txt); }
.cs-body ul, .cs-body ol { margin: 0.7rem 0 1.2rem; padding-left: 1.35rem; color: var(--cs-txt); }
.cs-body li { margin-bottom: 0.42rem; }
.cs-body a { color: var(--cs-teal-d); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Dual Checklist + Legal Panel */
.cs-dual { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.15rem; margin: 1.3rem 0 1.6rem; align-items: start; }
.cs-dual-a { background: var(--cs-bg); border: 1px solid var(--cs-line); border-radius: 14px; padding: 1.1rem 1.2rem; }
.cs-dual-b { background: #fff1f2; border: 1px solid #fecdd3; border-left: 4px solid var(--cs-red); border-radius: 14px; padding: 1.1rem 1.2rem; color: #881337; }
.cs-dual h3 { margin: 0 0 0.55rem; font-size: 1rem; }

/* 3-Column Top-Bar Cyber Offers Deck (.cs-board) */
.cs-body .cs-board { background: var(--cs-bg); border: 2px solid var(--cs-night); border-radius: 16px; padding: 1.35rem; margin: 1.35rem 0 1.85rem; }
.cs-body .cs-board h2 { border: 0; padding: 0; margin: 0 0 0.3rem; font-size: 1.36rem; }
.cs-body .cs-board .cs-warn { color: var(--cs-muted); font-size: 0.82rem; line-height: 1.44; margin: 0 0 1rem; }
.cs-body .cs-board .cs-deck { list-style: none !important; padding: 0 !important; margin: 0 !important; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.85rem; }
.cs-body .cs-board .cs-card { background: #fff; border: 1px solid var(--cs-line); border-top: 5px solid var(--cs-btc); border-radius: 12px; padding: 1.05rem; margin: 0 !important; display: flex; flex-direction: column; gap: 0.58rem; }
.cs-body .cs-board .cs-card:nth-child(2) { border-top-color: var(--cs-teal); }
.cs-body .cs-board .cs-card:nth-child(3) { border-top-color: var(--cs-red); }
.cs-body .cs-board .cs-top { display: flex; justify-content: space-between; align-items: center; gap: 0.4rem; }
.cs-body .cs-board .cs-rk { font-family: "Fira Code", monospace; font-weight: 700; font-size: 0.82rem; background: var(--cs-night); color: #fde047; padding: 0.14rem 0.5rem; border-radius: 6px; }
.cs-body .cs-board .cs-bdg { font-size: 0.68rem; font-weight: 700; background: #fff1f2; color: #9f1239; padding: 0.12rem 0.44rem; border-radius: 999px; }
.cs-body .cs-board .cs-card h3 { margin: 0; font-size: 1.18rem; color: var(--cs-night); }
.cs-body .cs-board .cs-amt { font-family: "Fira Code", monospace; font-weight: 700; font-size: 0.94rem; background: var(--cs-night); color: #fff; padding: 0.46rem 0.65rem; border-radius: 8px; text-align: center; }
.cs-body .cs-board .cs-desc { margin: 0; font-size: 0.84rem; line-height: 1.42; color: var(--cs-txt); flex-grow: 1; }
.cs-body .cs-board .cs-cta { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; border-radius: 9px; background: var(--cs-teal); color: #fff !important; text-decoration: none !important; font-weight: 700; font-size: 0.9rem; }
.cs-body .cs-board .cs-cta:hover { background: var(--cs-teal-d); }

.cs-tbox { width: 100%; overflow-x: auto; margin: 1.2rem 0 1.65rem; border: 1px solid var(--cs-line); border-radius: 10px; }
.cs-body table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 0.91rem; }
.cs-body thead th { background: var(--cs-night2); color: #f8fafc; font-family: "Fira Code", monospace; font-size: 0.72rem; text-transform: uppercase; text-align: left; padding: 0.82rem 0.9rem; }
.cs-body tbody td { padding: 0.82rem 0.9rem; border-bottom: 1px solid var(--cs-line); color: var(--cs-txt); vertical-align: top; }
.cs-body tbody tr:nth-child(even) { background: #f8fafd; }

.cs-fig { margin: 1.6rem 0; border: 1px solid var(--cs-line); border-radius: 12px; overflow: hidden; background: var(--cs-bg); }
.cs-fig img { display: block; width: 100%; height: auto; max-height: 410px; object-fit: cover; }
.cs-fig figcaption { padding: 0.6rem 1rem; font-size: 0.82rem; color: var(--cs-muted); background: #f8fafd; border-top: 1px solid var(--cs-line); }

.cs-foot { background: var(--cs-night); color: #cbd5e1; padding: 2.35rem 0 1.9rem; margin: 0 !important; border-top: 3px solid var(--cs-btc); }
.cs-foot-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 1.5rem; }
.cs-foot strong { color: #fff; font-family: "Space Grotesk", sans-serif; font-size: 1.28rem; }
.cs-foot h2 { margin: 0 0 0.55rem; font-family: "Fira Code", monospace; font-size: 0.73rem; text-transform: uppercase; color: #fde047; }
.cs-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.36rem; }
.cs-foot a { color: #e2e8f0; text-decoration: none; font-size: 0.9rem; }
.cs-foot a:hover { color: #5eead4; }
.cs-foot-law { margin: 1.4rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.8rem; color: #94a3b8; }


#masthead, .ast-main-header-wrap, .ast-mobile-header-wrap, .site-header,
.ast-above-header, .ast-below-header, .ast-primary-header-bar,
#secondary, .widget-area, .ast-sidebar, aside.sidebar,
#ast-scroll-top, .ast-scroll-top-icon, .ast-scroll-to-top-right, .ast-scroll-to-top-left,
#colophon, .site-footer, .ast-footer-copyright, .ast-small-footer {
  display: none !important; visibility: hidden !important; height: 0 !important; margin: 0 !important; padding: 0 !important;
}

body.cso #page, body.cso #content, body.cso .site-content, body.cso .ast-container, body.cso #primary {
  background: transparent !important; max-width: none !important; width: 100% !important; padding: 0 !important; margin: 0 !important; box-shadow: none !important;
}
@media (max-width: 1020px) {
  .cs-grid { grid-template-columns: 1fr; }
  .cs-rail { position: static; }
  .cs-body .cs-board .cs-deck { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .cs-wrap { width: min(100% - 1.25rem, 79rem); }
  .cs-body article { padding: 1.25rem 1rem; }
  .cs-hero { padding: 1.35rem 1.1rem; }
  .cs-pills, .cs-dual, .cs-foot-cols { grid-template-columns: 1fr; }
  .cs-mob { display: inline-flex; }
  .cs-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: 0.45rem 0 0.8rem; border-top: 1px solid rgba(255,255,255,0.14); }
  .cs-nav.is-open { display: flex; }
  .cs-dd { position: static; display: flex; flex-direction: column; background: rgba(255,255,255,0.08); border: 0; box-shadow: none; margin: 0.15rem 0 0.45rem 0.6rem; }
  .cs-dd a { color: #cbd5e1; }
}
/* === AUDIT CONTRAST FIX === */
body.cso .cs-body article .cs-kicker,
.cs-body p.cs-kicker { background: #161408 !important; color: #fef08a !important; }
body.cso .cs-body .cs-board .cs-cta { background: #0f766e !important; color: #ffffff !important; }
body.cso .cs-body .cs-board .cs-cta:hover { background: #115e59 !important; }
/* === AUDIT CONTRAST FIX R2 === */
body.cso .cs-body article .cs-hero .cs-pills li,
.cs-hero .cs-pills li { color: #f1f5f9 !important; }
body.cso .cs-body article .cs-hero .cs-pills span { color: #cbd5e1 !important; }
body.cso .cs-body article .cs-hero .cs-pills strong { color: #5eead4 !important; }
