/* ============================================================
   TECH WIRE — shared stylesheet
   Ported from approved mockup (2026-10-10). Dark default, light toggle.
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --purple: #7B2FF7;
  --purple-dark: #4a0fb5;
  --dark: #0a0a12;
  --darker: #06060c;
  --card: #12121e;
  --text: #f0f0f5;
  --muted: #8a8a9e;
  --green: #bafc64;
  --red: #ff3b5c;
  --blue: #0a85ff;
  --border: #1e1e30;
}
body { background: var(--darker); color: var(--text); font-family: 'Inter', system-ui, -apple-system, sans-serif; line-height: 1.6; }
/* No horizontal page sliding — kills sideways scroll on every page (sticky header keeps working) */
html, body { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ---------- TOP BAR ---------- */
.topbar { background: var(--dark); border-bottom: 1px solid var(--border); padding: 8px 0; font-size: 12px; color: var(--muted); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.live-dot { display: inline-block; width: 8px; height: 8px; background: var(--red); border-radius: 50%; margin-right: 6px; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

/* ---------- HEADER ---------- */
header.site { background: var(--dark); padding: 18px 0; border-bottom: 2px solid var(--purple); position: sticky; top: 0; z-index: 100; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 40px; line-height: 1; }
.logo .tech { color: #fff; } .logo .wire { color: var(--purple); }
/* Footer logo keeps the bigger prominent size too */
footer.site .logo { font-size: 32px; }
nav.main { display: flex; gap: 24px; font-size: 14px; font-weight: 600; }
nav.main a { color: var(--muted); transition: color .2s; }
nav.main a:hover, nav.main a.active { color: #fff; }
nav.main a.hot { color: var(--red); }
.search-btn { background: var(--purple); color: #fff; border: 0; padding: 10px 20px; border-radius: 999px; font-weight: 700; cursor: pointer; font-size: 14px; }
.theme-toggle { background: transparent; border: 1.5px solid #3a3a55; color: #fff; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: border-color .2s; }
.theme-toggle:hover { border-color: var(--purple); }
.header-actions { display: flex; align-items: center; gap: 12px; }

/* ---------- LIGHT THEME ---------- */
body.light { --dark: #ffffff; --darker: #f4f4f8; --card: #ffffff; --text: #1a1a2e; --muted: #6a6a80; --border: #e4e4ee; }
body.light .topbar { background: #fff; }
body.light header.site { background: #fff; }
body.light .logo .tech { color: #1a1a2e; }
body.light nav.main a { color: #6a6a80; }
body.light nav.main a:hover, body.light nav.main a.active { color: #1a1a2e; }
body.light .card, body.light .fun-card, body.light .panel { border-color: var(--border); box-shadow: 0 2px 12px rgba(0,0,0,.06); }
body.light .hero { border-color: var(--border); }
body.light .theme-toggle { color: #1a1a2e; border-color: #d4d4e4; }
body.light footer.site { background: #fff; }
body.light .short-thumb { border-color: var(--border); }
body.light .poll-option { background: #f4f4f8; }
body.light input, body.light textarea, body.light select { background: #fff; color: #1a1a2e; border-color: #d4d4e4; }
body.light .xword-cell { background: #fff; color: #1a1a2e; }
body.light .quiz-opt { background: #f4f4f8; }
body.light .wire-panel { background: #fff; }

/* ---------- HERO ---------- */
.hero { position: relative; margin: 24px 0; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column;
  background: linear-gradient(135deg, #1a0b2e 0%, #0d1b2a 100%); border: 1px solid #2a2a45; }
.hero-bg { position: absolute; inset: 0; opacity: .35;
  background: radial-gradient(circle at 70% 20%, var(--purple) 0%, transparent 50%), radial-gradient(circle at 20% 80%, var(--blue) 0%, transparent 40%); }
.hero-img { width: 100%; height: 280px; object-fit: cover; display: block; flex-shrink: 0; }
.hero .hero-content { padding: 28px 32px 36px; max-width: 100%; }
.hero-content { position: relative; padding: 40px; max-width: 700px; }
.trending-tag { display: inline-flex; align-items: center; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; padding: 6px 14px; border-radius: 999px; letter-spacing: 1px; margin-bottom: 16px; }
.hero h1 { font-size: 44px; line-height: 1.1; font-weight: 900; margin-bottom: 12px; }
.hero h1 .hl { color: var(--purple); }
.hero p { color: var(--muted); font-size: 17px; margin-bottom: 20px; }
.hero-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.btn-primary { background: var(--purple); color: #fff; padding: 14px 28px; border-radius: 999px; font-weight: 700; border: 0; cursor: pointer; font-size: 15px; display: inline-block; }
.btn-primary:hover { background: var(--purple-dark); }
.btn-ghost { background: transparent; color: var(--text); padding: 14px 28px; border-radius: 999px; font-weight: 700; border: 1.5px solid #3a3a55; cursor: pointer; font-size: 15px; display: inline-block; }
body.light .btn-ghost { color: #1a1a2e; }
.readers { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* ---------- SECTIONS ---------- */
.section-head { display: flex; justify-content: space-between; align-items: center; margin: 36px 0 18px; }
.section-head h2 { font-size: 22px; font-weight: 800; }
.section-head h2 .emoji { margin-right: 8px; }
.section-head a.more { color: var(--purple); font-size: 14px; font-weight: 600; }
.page-head { margin: 32px 0 8px; }
.page-head h1 { font-size: 36px; font-weight: 900; margin-bottom: 8px; }
.page-head p.sub { color: var(--muted); font-size: 17px; }

/* ---------- CARDS / GRID ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--card); border-radius: 16px; overflow: hidden; border: 1px solid var(--border); transition: transform .2s, border-color .2s; cursor: pointer; }
.card:hover { transform: translateY(-4px); border-color: var(--purple); }
img.card-img { height: 180px; width: 100%; object-fit: cover; display: block; }
.card-img { height: 180px; background: linear-gradient(135deg, #2a1a4e, #1a2a4e); display: flex; align-items: center; justify-content: center; font-size: 48px; }
.card-body { padding: 18px; }
.card-tag { font-size: 11px; font-weight: 800; letter-spacing: 1px; color: var(--purple); text-transform: uppercase; margin-bottom: 8px; }
.card-tag.red { color: var(--red); }
.card h3 { font-size: 17px; font-weight: 700; line-height: 1.35; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.card-meta { margin-top: 12px; font-size: 12px; color: var(--muted); display: flex; gap: 12px; }

/* ---------- TOP SECRET BANNER ---------- */
.topsecret { margin: 36px 0; background: linear-gradient(135deg, #0d0d0d 0%, #1a0d0d 100%); border: 2px solid var(--red); border-radius: 20px; padding: 36px; display: flex; align-items: center; gap: 28px; position: relative; overflow: hidden; }
.topsecret::before { content: 'TOP SECRET'; position: absolute; top: 18px; right: -30px; transform: rotate(35deg); background: var(--red); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 40px; letter-spacing: 2px; }
.ts-icon { font-size: 56px; flex: none; }
.topsecret h2 { font-size: 26px; margin-bottom: 8px; color: #fff; }
.topsecret h2 span { color: var(--red); }
.topsecret p { color: #b0a0a0; margin-bottom: 16px; }

/* ---------- FUN ROW ---------- */
.fun-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 12px; }
.fun-row.days-5 { grid-template-columns: repeat(5, 1fr); }
.fun-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; text-align: center; cursor: pointer; transition: transform .2s; display: block; }
.fun-card:hover { transform: translateY(-4px); border-color: var(--green); }
.fun-card .fi { font-size: 40px; margin-bottom: 12px; }
.fun-card h3 { font-size: 16px; margin-bottom: 6px; }
.fun-card p { font-size: 13px; color: var(--muted); }

/* ---------- WATCH STRIP ---------- */
.watch-strip { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 12px; }
.short { flex: none; width: 160px; }
img.short-thumb { width: 160px; height: 285px; border-radius: 12px; object-fit: cover; border: 1px solid #2a2a45; display: block; }
.short-thumb { width: 160px; height: 285px; border-radius: 12px; background: linear-gradient(180deg, #2a1a4e, #0d0d1a); display: flex; align-items: center; justify-content: center; font-size: 36px; border: 1px solid #2a2a45; }
.short p { font-size: 13px; margin-top: 8px; font-weight: 600; }

/* ---------- NEWSLETTER ---------- */
.newsletter { margin: 40px 0; background: linear-gradient(135deg, var(--purple), var(--purple-dark)); border-radius: 20px; padding: 48px; text-align: center; }
.newsletter h2 { font-size: 30px; margin-bottom: 10px; color: #fff; }
.newsletter p { opacity: .9; margin-bottom: 24px; font-size: 16px; color: #fff; }
.nl-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
.nl-form input { flex: 1; padding: 16px 20px; border-radius: 999px; border: 0; font-size: 15px; background: #fff; color: #1a1a2e; }
.nl-form button { background: var(--dark); color: #fff; padding: 16px 32px; border-radius: 999px; border: 0; font-weight: 700; cursor: pointer; font-size: 15px; white-space: nowrap; }

/* ---------- WIRE LAUNCHER + CHAT ---------- */
#wire-launcher { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; align-items: center; gap: 10px;
  background: rgba(10,10,20,.95); border: 1.5px solid var(--purple); border-radius: 999px; padding: 8px 18px 8px 8px;
  cursor: pointer; box-shadow: 0 8px 30px rgba(123,47,247,.35); color: #fff; }
body.light #wire-launcher { background: rgba(255,255,255,.97); color: #1a1a2e; }
#wire-launcher .avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: linear-gradient(135deg, var(--purple), var(--blue));
  display: flex; align-items: center; justify-content: center; font-size: 24px; }
#wire-launcher span { font-weight: 700; font-size: 14px; }
.wire-panel { position: fixed; bottom: 90px; right: 24px; width: 340px; max-height: 480px; z-index: 10000;
  background: var(--card); border: 1.5px solid var(--purple); border-radius: 18px; overflow: hidden; display: none;
  box-shadow: 0 12px 40px rgba(0,0,0,.5); flex-direction: column; }
.wire-panel.open { display: flex; }
.wire-head { background: linear-gradient(135deg, var(--purple), var(--purple-dark)); padding: 14px 16px; display: flex; align-items: center; gap: 10px; color: #fff; }
.wire-head .avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: linear-gradient(135deg, var(--blue), var(--purple)); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.wire-head strong { flex: 1; font-size: 15px; }
.wire-head button { background: none; border: 0; color: #fff; font-size: 20px; cursor: pointer; }
.wire-body { padding: 14px; overflow-y: auto; flex: 1; min-height: 200px; max-height: 320px; }
.wire-msg { margin-bottom: 10px; font-size: 14px; line-height: 1.5; }
.wire-msg.bot { background: rgba(123,47,247,.12); border-radius: 12px 12px 12px 4px; padding: 10px 12px; }
.wire-msg.user { background: rgba(10,133,255,.12); border-radius: 12px 12px 4px 12px; padding: 10px 12px; text-align: right; }
.wire-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 14px 10px; }
.wire-quick button { background: transparent; border: 1px solid var(--purple); color: var(--purple); border-radius: 999px; padding: 6px 12px; font-size: 12px; cursor: pointer; }
.wire-input { display: flex; border-top: 1px solid var(--border); }
.wire-input input { flex: 1; border: 0; background: transparent; color: var(--text); padding: 14px; font-size: 14px; outline: none; }
.wire-input button { background: var(--purple); color: #fff; border: 0; padding: 0 20px; cursor: pointer; font-weight: 700; }
.wire-note { font-size: 11px; color: var(--muted); text-align: center; padding: 8px; border-top: 1px solid var(--border); }

/* ---------- FOOTER ---------- */
footer.site { background: var(--dark); border-top: 1px solid var(--border); padding: 40px 0; margin-top: 40px; }
footer.site .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
footer.site h4 { font-size: 14px; margin-bottom: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
footer.site a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 10px; }
footer.site a:hover { color: var(--text); }
.footer-bottom { text-align: center; padding-top: 32px; color: var(--muted); font-size: 13px; max-width: 1200px; margin: 0 auto; }

/* ---------- ARTICLE ---------- */
.article-hero { margin: 24px 0; border-radius: 20px; overflow: hidden; }
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; border-radius: 16px; overflow: hidden; background: #000; margin: 20px 0; }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.byline { display: flex; align-items: center; gap: 12px; margin: 16px 0; font-size: 14px; color: var(--muted); }
.byline .who { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--purple), var(--blue)); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.article-body { max-width: 760px; font-size: 17px; line-height: 1.8; }
.article-body p { margin-bottom: 20px; }
.article-body h2 { font-size: 24px; margin: 32px 0 12px; }
.article-body blockquote { border-left: 4px solid var(--purple); padding: 12px 20px; margin: 24px 0; font-style: italic; color: var(--muted); background: var(--card); border-radius: 0 12px 12px 0; }
.in-article-cta { background: linear-gradient(135deg, var(--purple), var(--purple-dark)); border-radius: 16px; padding: 28px; margin: 32px 0; text-align: center; color: #fff; }
.in-article-cta h3 { font-size: 20px; margin-bottom: 8px; }
.in-article-cta p { opacity: .9; margin-bottom: 16px; font-size: 15px; }
.in-article-cta .nl-form { max-width: 420px; }
.comments-box { margin-top: 40px; }
.comment { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.comment .c-head { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.comment .c-head strong { color: var(--text); }

/* ---------- POLL ---------- */
.poll { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; margin: 24px 0; }
.poll h3 { font-size: 18px; margin-bottom: 14px; }
.poll-option { display: block; width: 100%; text-align: left; background: var(--darker); border: 1px solid var(--border); color: var(--text); border-radius: 12px; padding: 12px 16px; margin-bottom: 10px; cursor: pointer; font-size: 15px; }
.poll-option:hover { border-color: var(--purple); }
.poll-bar { height: 8px; background: var(--darker); border-radius: 4px; margin-top: 6px; overflow: hidden; }
.poll-bar i { display: block; height: 100%; background: var(--purple); border-radius: 4px; }

/* ---------- CROSSWORD ---------- */
.xword-wrap { display: flex; gap: 32px; flex-wrap: wrap; margin: 24px 0; }
.xword-grid { display: grid; grid-template-columns: repeat(8, 44px); grid-template-rows: repeat(8, 44px); gap: 2px; }
.xword-cell { width: 44px; height: 44px; border: 1px solid var(--border); background: var(--card); display: flex; align-items: flex-start; justify-content: center; font-size: 20px; font-weight: 700; text-transform: uppercase; position: relative; cursor: text; }
.xword-cell.block { background: var(--darker); cursor: default; border-color: transparent; }
.xword-cell .num { position: absolute; top: 2px; left: 4px; font-size: 9px; font-weight: 600; color: var(--muted); }
.xword-cell input { width: 100%; height: 100%; border: 0; background: transparent; color: var(--text); text-align: center; font-size: 20px; font-weight: 700; text-transform: uppercase; outline: none; }
.xword-cell.active { outline: 2px solid var(--purple); }
.xword-cell.correct input { color: var(--green); }
.xword-clues { flex: 1; min-width: 280px; }
.xword-clues h3 { font-size: 16px; margin: 12px 0 8px; color: var(--purple); }
.xword-clues li { font-size: 14px; margin-bottom: 6px; list-style: none; cursor: pointer; padding: 4px 8px; border-radius: 6px; }
.xword-clues li:hover, .xword-clues li.sel { background: rgba(123,47,247,.12); }
.xword-clues li.done { text-decoration: line-through; opacity: .5; }
.streak-badge { display: inline-block; background: linear-gradient(135deg, #ff8c00, #ff3b5c); color: #fff; font-weight: 800; padding: 8px 18px; border-radius: 999px; font-size: 14px; }

/* ---------- QUIZ ---------- */
.quiz-q { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; margin: 20px 0; }
.quiz-q h3 { font-size: 20px; margin-bottom: 16px; }
.quiz-opt { display: block; width: 100%; text-align: left; background: var(--darker); border: 1px solid var(--border); color: var(--text); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; cursor: pointer; font-size: 15px; }
.quiz-opt:hover { border-color: var(--purple); }
.quiz-result { text-align: center; padding: 40px 24px; }
.quiz-result .big { font-size: 72px; margin-bottom: 16px; }
.quiz-result h2 { font-size: 30px; margin-bottom: 12px; }
.progress-dots { display: flex; gap: 8px; margin-bottom: 8px; }
.progress-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.progress-dots i.on { background: var(--purple); }

/* ---------- HOROSCOPES ---------- */
.horo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 24px 0; }
.horo-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; position: relative; overflow: hidden; }
.horo-card h3, .horo-card .dates, .horo-card .pred, .horo-card .lucky { position: relative; z-index: 1; }
.horo-card .sign { font-size: 40px; margin-bottom: 8px; }
.horo-card h3 { font-size: 18px; margin-bottom: 4px; }
.horo-card .dates { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.horo-card p { font-size: 14px; line-height: 1.6; }
.horo-card .lucky { margin-top: 12px; font-size: 12px; color: var(--green); }

/* ---------- COMIC ---------- */
.comic-strip { background: #fff; border-radius: 16px; padding: 32px; margin: 24px 0; color: #1a1a2e; }
.comic-panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.comic-panel { border: 3px solid #1a1a2e; border-radius: 8px; min-height: 280px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; background: #fdfdf5; }
.comic-panel .art { font-size: 56px; text-align: center; margin: 16px 0; }
.comic-panel .cap { font-family: 'Comic Sans MS', cursive; font-size: 14px; font-style: italic; }
.comic-panel .dlg { background: #fff; border: 2px solid #1a1a2e; border-radius: 12px; padding: 8px 12px; font-size: 13px; font-weight: 700; margin-bottom: 12px; }

/* ---------- ASK / GIGS / MISC ---------- */
.qa { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; margin-bottom: 20px; }
.qa .q { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.qa .q::before { content: 'Q: '; color: var(--purple); }
.qa .a::before { content: 'A: '; color: var(--green); font-weight: 700; }
.qa .a { font-size: 15px; line-height: 1.7; color: var(--muted); }
.qa .who { margin-top: 12px; font-size: 13px; color: var(--muted); font-style: italic; }
.form-box { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; margin: 24px 0; max-width: 640px; }
.form-box label { display: block; font-size: 14px; font-weight: 600; margin: 14px 0 6px; }
.form-box input, .form-box textarea, .form-box select { width: 100%; padding: 12px 16px; border-radius: 10px; border: 1px solid var(--border); background: var(--darker); color: var(--text); font-size: 15px; font-family: inherit; }
.form-box textarea { min-height: 120px; resize: vertical; }
.gig-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.gig-table th { text-align: left; padding: 12px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; border-bottom: 2px solid var(--border); }
.gig-table td { padding: 16px 12px; border-bottom: 1px solid var(--border); }
.gig-table tr:hover td { background: rgba(123,47,247,.05); }
.gig-tag { display: inline-block; background: rgba(123,47,247,.15); color: var(--purple); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.pay { color: var(--green); font-weight: 700; }
.weather-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 24px 0; }
.wx-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; text-align: center; }
.wx-card .wx-icon { font-size: 56px; margin-bottom: 12px; }
.wx-card h3 { font-size: 18px; margin-bottom: 8px; }
.wx-card .wx-val { font-size: 36px; font-weight: 900; margin: 8px 0; }
.wx-card p { font-size: 14px; color: var(--muted); }
.meter { height: 12px; background: var(--darker); border-radius: 6px; overflow: hidden; margin: 12px 0; }
.meter i { display: block; height: 100%; border-radius: 6px; }
.vault-item { background: var(--card); border: 1px solid var(--border); border-left: 4px solid var(--red); border-radius: 0 12px 12px 0; padding: 20px; margin-bottom: 16px; }
.vault-item h3 { font-size: 17px; margin-bottom: 6px; }
.vault-item p { font-size: 14px; color: var(--muted); }
.vault-item .status { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 1px; padding: 4px 12px; border-radius: 999px; margin-top: 8px; }
.status.open { background: rgba(255,59,92,.15); color: var(--red); }
.status.partial { background: rgba(255,140,0,.15); color: #ff8c00; }
.status.released { background: rgba(186,252,100,.15); color: var(--green); }
.author-box { display: flex; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 20px; margin: 24px 0; }
.author-box .face { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--purple), var(--blue)); display: flex; align-items: center; justify-content: center; font-size: 32px; flex: none; }
.opinion-piece { margin-bottom: 48px; }
.opinion-piece h2 { font-size: 28px; margin-bottom: 8px; }
.stamp { display: inline-block; border: 3px solid var(--red); color: var(--red); font-weight: 900; letter-spacing: 3px; padding: 6px 18px; transform: rotate(-8deg); border-radius: 6px; margin: 12px 0; }

/* ---------- SEARCH OVERLAY ---------- */
.search-overlay { position: fixed; inset: 0; z-index: 20000; background: rgba(0,0,0,.7); display: none; align-items: flex-start; justify-content: center; padding: 80px 20px 20px; }
.search-overlay.open { display: flex; }
.search-box { width: 100%; max-width: 560px; background: var(--card); border: 1.5px solid var(--purple); border-radius: 18px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.search-box input { width: 100%; border: 0; background: transparent; color: var(--text); font-size: 18px; padding: 20px; outline: none; }
.search-results { max-height: 380px; overflow-y: auto; border-top: 1px solid var(--border); }
.search-results a { display: block; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.search-results a:hover { background: rgba(123,47,247,.08); }
.search-results .sr-tag { font-size: 11px; font-weight: 800; letter-spacing: 1px; color: var(--purple); text-transform: uppercase; }
.search-results .sr-title { font-size: 15px; font-weight: 700; margin: 2px 0; }
.search-results .sr-desc { font-size: 13px; color: var(--muted); }
.search-empty { padding: 24px; text-align: center; color: var(--muted); font-size: 14px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .grid, .grid-4, .horo-grid, .weather-cards { grid-template-columns: repeat(2, 1fr); }
  .comic-panels { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .grid, .grid-2, .horo-grid, .weather-cards { grid-template-columns: 1fr; }
  .fun-row { grid-template-columns: repeat(2, 1fr); }
  .fun-row.days-5 { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 30px; }
  .hero-content { padding: 28px 24px; }
  nav.main { display: none; }
  footer.site .wrap { grid-template-columns: 1fr 1fr; }
  .nl-form { flex-direction: column; }
  .xword-grid { grid-template-columns: repeat(8, 36px); grid-template-rows: repeat(8, 36px); }
  .xword-cell { width: 36px; height: 36px; }
  .xword-cell input { font-size: 16px; }
  .wire-panel { width: calc(100vw - 48px); right: 24px; }
  .page-head h1 { font-size: 28px; }
}

/* Horoscope cards with background images */
.horo-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.25; border-radius: inherit; pointer-events: none; }
.horo-symbol { font-size: 1.2em; margin-right: 8px; }

/* Comic panel images */
.art-img { width: 100%; border-radius: 12px; display: block; margin: 16px 0; }

/* Weather card video backgrounds */
.wx-card { position: relative; overflow: hidden; }
.wx-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; pointer-events: none; }
.wx-card .wx-icon, .wx-card h3, .wx-card .wx-val, .wx-card .meter, .wx-card p, .wx-card div[style] { position: relative; z-index: 1; }

/* Gig board functional styles */
.gig-filters { margin-bottom: 20px; }
.gig-filters input[type="search"] { width: 100%; max-width: 400px; padding: 12px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); color: var(--text); font-size: 15px; margin-bottom: 12px; }
.gig-filter-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.gig-filter { padding: 8px 18px; border: 1px solid var(--border); border-radius: 999px; background: transparent; color: var(--muted); font-size: 14px; font-weight: 600; cursor: pointer; }
.gig-filter.active { background: var(--purple); border-color: var(--purple); color: #fff; }
.gig-apply { display: inline-block; padding: 8px 16px; background: var(--purple); color: #fff; border-radius: 8px; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.gig-apply:hover { opacity: 0.85; }
.gig-note { font-size: 12px; color: var(--muted); margin: 8px 0 20px; }
@media (max-width: 640px) {
  .gig-table { font-size: 13px; }
  .gig-table th, .gig-table td { padding: 10px 5px; }
  .gig-table th { font-size: 10px; letter-spacing: .5px; }
  .gig-tag { font-size: 11px; padding: 3px 9px; }
  .gig-table .pay { white-space: nowrap; font-size: 13px; }
  .gig-apply { padding: 7px 10px; font-size: 12px; }
}
.gig-form { display: flex; flex-direction: column; gap: 12px; max-width: 600px; margin: 0 auto; text-align: left; }
.gig-form-row { display: flex; gap: 12px; }
.gig-form-row > * { flex: 1; }
.gig-form input, .gig-form select, .gig-form textarea { padding: 12px 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--card); color: var(--text); font-size: 14px; font-family: inherit; }
.gig-form textarea { resize: vertical; }
.gig-form-note { font-size: 12px; color: var(--muted); text-align: center; }
@media (max-width: 600px) { .gig-form-row { flex-direction: column; } }

/* Talent directory */
.talent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin: 24px 0; }
.talent-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; text-align: center; }
.talent-avatar { font-size: 48px; margin-bottom: 12px; }
.talent-card h3 { font-size: 18px; margin-bottom: 4px; }
.talent-role { color: var(--purple); font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.talent-skills { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.talent-skills span { background: rgba(123,47,247,.12); color: var(--purple); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.talent-rate { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.talent-meta { font-size: 13px; color: var(--muted); margin-bottom: 16px; }

/* Help Wanted newspaper classifieds style */
.helpwanted-masthead { text-align: center; max-width: 680px; margin: 36px auto 28px; padding: 28px 20px; border-top: 3px double var(--text); border-bottom: 3px double var(--text); }
.hw-eyebrow { font-size: 11px; letter-spacing: 4px; font-weight: 800; color: var(--muted); margin-bottom: 10px; }
.helpwanted-masthead h1 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(38px, 8vw, 56px); font-weight: 900; margin-bottom: 10px; }
.hw-sub { color: var(--muted); font-size: 15px; line-height: 1.6; }
.hw-meta { margin-top: 12px; font-size: 13px; color: var(--muted); font-style: italic; }

/* Footer social links */
.footer-social { display: flex; gap: 12px; justify-content: center; padding: 20px 0 8px; }
.social-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--card); border: 1px solid var(--border); font-size: 20px; text-decoration: none; transition: transform .2s; }
.social-icon:hover { transform: translateY(-2px); background: var(--purple); border-color: var(--purple); }
.social-icon { color: #a0a0b0; }
.social-icon:hover { color: #fff; }
.social-icon svg { display: block; }

