*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth}body{font-family:'Trebuchet MS',Verdana,Arial,sans-serif;font-size:1.05rem;line-height:1.6;color:#0d2a4a;min-height:100vh;background:linear-gradient(135deg,#deeeff 0%,#b3d9ff 50%,#6ab4f5 100%) fixed,#6ab4f5}a{color:#1a6bc7;text-decoration:none}a:hover{color:#0d4a9e;text-decoration:underline}p{margin-bottom:.85rem}img{vertical-align:middle}h1,h2,h3,h4{font-family:'Trebuchet MS','Nunito',sans-serif;font-weight:800;line-height:1.2;margin-bottom:.5rem}h1{font-size:2rem;color:#1a5fa8;border-bottom:3px dashed #4aa8f5;padding-bottom:8px;margin:10px 2px 16px;text-transform:uppercase}h2{font-size:1.4rem;color:#1e7a3c}h3{font-size:1.15rem;color:#0d2a4a}.page-wrap{max-width:1080px;margin:0 auto}.page-wrap::before{content:'';display:block;height:12px;background:repeating-linear-gradient(45deg,#1a6bc7 0 12px,#fff 12px 24px);border-radius:8px 8px 0 0}.site-header{background:linear-gradient(180deg,#1a6bc7 0%,#0d4a9e 100%);border-radius:0 0 8px 8px;padding:8px 6px;box-shadow:0 4px 16px rgba(13,74,158,.35);position:sticky;top:0;z-index:100}.site-header .wrap{max-width:1080px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:0 16px;gap:16px}.logo{font-family:'Nunito',sans-serif;font-weight:900;font-size:22px;color:#fff;letter-spacing:-.01em;display:flex;align-items:center;gap:10px;text-decoration:none}.logo:hover{text-decoration:none;color:#fff}.logo-img{width:44px;height:44px;border-radius:10px;object-fit:cover;box-shadow:0 2px 8px rgba(0,0,0,.25);flex-shrink:0}.logo em{color:#a8d8ff;font-style:normal}.logo-tiles{display:flex;gap:3px}.logo-tile{width:28px;height:28px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-family:'Nunito',sans-serif;font-weight:900;font-size:14px;color:#fff;line-height:1}.logo-tile.t1{background:#4aa8f5}.logo-tile.t2{background:#2e8fd4}.logo-tile.t3{background:#1a6bc7}.site-nav{display:flex;gap:4px}.site-nav a{color:#fff;background:#0d4a9e;padding:7px 14px;border-radius:20px;font-size:14px;font-weight:600;transition:all .2s}.site-nav a:hover,.site-nav a.active{color:#fff;background:rgba(0,0,0,.25);text-decoration:none}.page-hero{background:linear-gradient(135deg,#0d2a4a 0%,#1a6bc7 50%,#4aa8f5 100%);padding:2.5rem 1.5rem 3rem;text-align:center;position:relative;overflow:hidden}.hero-dots{position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.1) 1.5px,transparent 1.5px);background-size:24px 24px;pointer-events:none}.hero-pattern{position:absolute;inset:0;opacity:.05;background-image:radial-gradient(circle,#fff 1px,transparent 1px);background-size:20px 20px;pointer-events:none}.hero-badge{display:inline-flex;align-items:center;gap:7px;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.35);color:#fff;font-size:.8rem;font-weight:700;padding:.28rem .9rem;border-radius:20px;margin-bottom:.9rem;position:relative;z-index:1;text-transform:uppercase;letter-spacing:.06em}.page-hero h1{font-size:clamp(1.5rem,4vw,2.4rem);color:#fff;border:none;padding:0;margin:0 auto .7rem;max-width:780px;position:relative;z-index:1;text-shadow:0 2px 8px rgba(0,0,0,.25)}.hero-sub{font-size:1rem;color:rgba(255,255,255,.88);max-width:560px;margin:0 auto;position:relative;z-index:1}.hero-wave{display:block;width:100%;height:40px;margin-top:-2px;color:#f0f8ff}.appdescription{background:#e6f3ff;border-bottom:2px solid #b3d9f5;padding:1rem 1.5rem}.appdescription p{font-size:.97rem;color:#0d3a6b;line-height:1.75;max-width:960px;margin:0 auto}.content-box{background:#f0f8ff;border:1px solid #b3d9f5;border-radius:0 0 8px 8px;box-shadow:0 4px 16px rgba(0,0,0,.10);padding:22px 20px}.wrap{max-width:1080px;margin:0 auto;padding:0 20px}.container{max-width:1080px;margin:0 auto;padding:0 20px}.breadcrumb-bar{background:#e0f0ff;border-bottom:1px solid #b3d9f5;padding:.5rem 0}.breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem;list-style:none;font-size:.82rem}.breadcrumb a{color:#1a6bc7;font-weight:600}.bc-current{color:#1a5fa8}.bc-sep{color:#7fafd0;margin:0 .1rem}.byline{font-size:.8rem;color:#4b5563;margin-left:auto}.byline a{color:#0369a1;text-decoration:none}.parent-link{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}#scroll-progress{position:fixed;top:0;left:0;height:3px;width:0;background:linear-gradient(90deg,#4aa8f5,#1a6bc7,#0d4a9e);z-index:9999;transition:width .1s linear}html,body{overflow-x:hidden}.skip-link{position:absolute;top:-40px;left:0;background:#0369a1;color:#fff;padding:8px 12px;z-index:10000;font-size:.9rem;font-weight:700;text-decoration:none;border-radius:0 0 4px 0;transition:top .1s}.skip-link:focus{top:0}
/* WCAG: underline body paragraph links */
.appdescription p a,.content-box p a,.wc-content-section p a,.faq-section p a,
.about-section p a,.comment-body a,.leave-comment-title+* a{text-decoration:underline}
/* Muted text min contrast */
.char-counter,.rating-meta,.comment-date,.byline,.cmt-like-btn{color:#595959}.bc-current{color:#374151}
/* Pack-card/tile gradient overlay for text contrast */
.pack-card,.pack-tile{position:relative}
.pack-card::before,.pack-tile::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 0%,transparent 45%,rgba(0,0,0,0.6) 100%);pointer-events:none;border-radius:inherit;z-index:0}
.pack-card>*,.pack-tile>*{position:relative;z-index:1}
.pack-name,.pack-meta,.pack-levels{color:#fff!important;font-weight:700;text-shadow:0 1px 3px rgba(0,0,0,0.7)}


/* =====================================================
   SOLITAIRE ASSOCIATIONS - Premium Navy/Gold Theme
   Gold standard template v4
   ===================================================== */


/* ── Reset & base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Trebuchet MS', Verdana, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #0f1b30;
  min-height: 100vh;
  background: linear-gradient(135deg, #e9f1fc 0%, #b3d9ff 50%, #6ab4f5 100%) fixed, #6ab4f5;
}

a { color: #2d6fc7; text-decoration: none; }
a:hover { color: #16356a; text-decoration: underline; }
p { margin-bottom: .85rem; }
img { vertical-align: middle; }

/* ── Page wrapper ─────────────────────────────────── */
.page-wrap {
  max-width: 1080px;
  margin: 0 auto;
}

/* Diagonal stripe accent at top of content */
.page-wrap::before {
  content: "";
  display: block;
  height: 12px;
  background: repeating-linear-gradient(45deg, #2d6fc7 0 12px, #fff 12px 24px);
  border-radius: 8px 8px 0 0;
}

/* ── Header ───────────────────────────────────────── */
.site-header {
  background: linear-gradient(180deg, #2d6fc7 0%, #16356a 100%);
  border-radius: 0 0 8px 8px;
  padding: 8px 6px;
  box-shadow: 0 4px 16px rgba(13,74,158,.35);
  position: sticky; top: 0; z-index: 100;
}
.site-header .wrap {
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 16px; gap: 16px;
}
.logo {
  font-family: system-ui, -apple-system, 'Trebuchet MS', Arial, sans-serif;
  font-weight: 900; font-size: 22px;
  color: #fff; letter-spacing: -.01em;
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.logo:hover { text-decoration: none; color: #fff; }
.logo-img {
  width: 44px; height: 44px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  flex-shrink: 0;
}
.logo-tiles { display: flex; gap: 3px; }
.logo-tile {
  width: 28px; height: 28px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: system-ui, -apple-system, 'Trebuchet MS', Arial, sans-serif; font-weight: 900;
  font-size: 14px; color: #fff; line-height: 1;
}
.logo-tile.t1 { background: #4a8ae0; }
.logo-tile.t2 { background: #2e8fd4; }
.logo-tile.t3 { background: #2d6fc7; }
.logo em { color: #a8d8ff; font-style: normal; }
.site-nav { display: flex; gap: 4px; }
.site-nav a {
  color: rgba(255,255,255,.82); padding: 7px 14px;
  border-radius: 20px; font-size: 14px; font-weight: 600;
  transition: all .2s;
}
.site-nav a:hover, .site-nav a.active {
  color: #fff; background: rgba(255,255,255,.2);
  text-decoration: none;
}

/* ── Main content box ─────────────────────────────── */
.content-box {
  background: #f3f6fb;
  border: 1px solid #e7ecf4;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,.10);
  padding: 22px 20px;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ── Breadcrumb ───────────────────────────────────── */
.breadcrumb-bar {
  background: #e9f1fc; border-bottom: 1px solid #e7ecf4;
  padding: .5rem 0;
}
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .3rem; list-style: none; font-size: .82rem;
}
.breadcrumb a { color: #2d6fc7; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .bc-current { color: #16356a; }
.bc-sep { color: #7fafd0; margin: 0 .1rem; }

/* ── Headings ─────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Trebuchet MS', system-ui, -apple-system, 'Trebuchet MS', Arial, sans-serif;
  font-weight: 800; line-height: 1.2; margin-bottom: .5rem;
}
h1 {
  font-size: 2rem; color: #16356a;
  border-bottom: 3px dashed #4a8ae0;
  padding-bottom: 8px; margin: 10px 2px 16px;
  text-transform: uppercase;
}
h2 { font-size: 1.4rem; color: #1e7a3c; }
h3 { font-size: 1.15rem; color: #0f1b30; }

/* ── Hero ─────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #0f1b30 0%, #16356a 50%, #2d6fc7 100%);
  padding: 2.5rem 1.5rem 3rem;
  text-align: center; position: relative; overflow: hidden;
}
.hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.1) 1.5px, transparent 1.5px);
  background-size: 24px 24px; pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35);
  color: #fff; font-size: .8rem; font-weight: 700;
  padding: .28rem .9rem; border-radius: 20px;
  margin-bottom: .9rem; position: relative; z-index: 1;
  text-transform: uppercase; letter-spacing: .06em;
}
.page-hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  color: #fff; border: none; padding: 0;
  margin: 0 auto .7rem; max-width: 780px;
  position: relative; z-index: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.hero-sub {
  font-size: 1rem; color: rgba(255,255,255,.88);
  max-width: 560px; margin: 0 auto;
  position: relative; z-index: 1;
}
.hero-wave { display: block; width: 100%; height: 40px; margin-top: -2px; color: #f3f6fb; }

/* ── App description banner ───────────────────────── */
.appdescription {
  background: #f3f6fb;
  border-bottom: 2px solid #e7ecf4;
  padding: 1rem 1.5rem;
}
.appdescription p {
  font-size: .97rem; color: #0f1b30;
  line-height: 1.75; max-width: 960px; margin: 0 auto;
}

/* ── Daily highlight ──────────────────────────────── */
.daily-highlight {
  background: linear-gradient(135deg, #16356a 0%, #2980d4 50%, #4a8ae0 100%);
  border-radius: 14px; padding: 1.6rem 1.8rem;
  margin: 1.5rem 0; color: #fff;
  box-shadow: 0 6px 20px rgba(26,111,200,.35);
  position: relative; overflow: hidden;
}
.daily-eyebrow {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.35);
  color: rgba(255,255,255,.95); font-size: .76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  padding: .2rem .7rem; border-radius: 20px; margin-bottom: .6rem;
}
.daily-highlight h3 {
  font-family: system-ui, -apple-system, 'Trebuchet MS', Arial, sans-serif; font-weight: 800; font-size: 1.2rem;
  color: #fff; margin: 0 0 .9rem;
}
.daily-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: #2d6fc7;
  padding: .5rem 1.3rem; border-radius: 22px;
  font-weight: 800; font-size: .88rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}
.daily-btn:hover {
  transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.22);
  text-decoration: none; color: #2d6fc7;
}

/* ── Section titles ───────────────────────────────── */
.section-title {
  font-family: 'Trebuchet MS', sans-serif; font-size: 1.2rem; font-weight: 800;
  color: #0f1b30; margin-bottom: 1rem;
  display: flex; align-items: center; gap: .6rem;
}
.section-count {
  font-size: .76rem; font-weight: 700;
  color: #2d6fc7; background: #e9f1fc;
  padding: 2px 10px; border-radius: 20px;
}
.section-intro {
  font-size: .95rem; color: #1a5280;
  margin-bottom: 1.25rem; line-height: 1.6;
}

/* ── Blocks grid ──────────────────────────────────── */
.blocks-grid-section, .packs-grid-section { margin-top: 1.75rem; }

.blocks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: .6rem;
  margin-bottom: 2rem;
}
.block-card {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .2rem; padding: .95rem .7rem;
  border-radius: 12px; color: #fff;
  text-decoration: none; min-height: 70px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  transition: transform .18s, box-shadow .18s, filter .18s;
}
.block-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
  filter: brightness(1.08);
  color: #fff; text-decoration: none;
}
.block-card .block-range {
  font-family: 'Trebuchet MS', sans-serif; font-weight: 700;
  font-size: 1rem; letter-spacing: -.01em; line-height: 1;
}
.block-card .block-sub {
  font-size: .7rem; font-weight: 700;
  opacity: .85; text-transform: uppercase; letter-spacing: .06em;
}

/* ── Level grid ───────────────────────────────────── */
.levels-grid {
  display: flex; flex-wrap: wrap; gap: 7px;
  margin-bottom: 2rem;
}
.level-card {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 16px; min-width: 110px;
  background: linear-gradient(180deg, #e8f4ff, #c8e4ff);
  border: 1px solid #7ab8e8;
  border-radius: 14px; line-height: 1.2;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
  color: #16356a; font-weight: 700; font-size: .95rem;
  transition: transform .1s, background .15s;
  text-decoration: none;
}
.level-card:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #fff, #b3d9ff);
  color: #0d3a8a; text-decoration: none;
}

/* ── Answer words / definitions ───────────────────── */
.answers-section { margin: 1.5rem 0 2rem; }
.word-defs-list { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.5rem; }
.word-def-card {
  background: linear-gradient(180deg, #f3f6fb, #e2f0fc);
  border: 1px solid #b3d9ff;
  border-radius: 12px; padding: .8rem 1.1rem;
  transition: border-color .15s, transform .12s;
}
.word-def-card:hover { border-color: #2d6fc7; transform: translateX(3px); }
.word-def-top {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: .25rem;
}
.word-def-word {
  font-family: 'Trebuchet MS', sans-serif; font-weight: 900;
  font-size: 1.05rem; text-transform: uppercase;
  color: #16356a; letter-spacing: .05em;
}
.word-def-len {
  font-size: .73rem; font-weight: 700;
  color: #2d6fc7; background: #e9f1fc;
  padding: 2px 9px; border-radius: 20px;
}
.word-def-text {
  font-size: .87rem; color: #2a5070; line-height: 1.5; margin: 0;
}

/* ── Players also searched ────────────────────────── */
.also-searched { margin: 1.75rem 0; }
.also-grid { display: flex; flex-direction: column; gap: .35rem; margin-top: .75rem; }
.also-card {
  display: block; padding: .55rem 1rem;
  background: linear-gradient(180deg, #f3f6fb, #e2f0fc);
  border: 1px solid #b3d9ff;
  border-radius: 10px; font-size: .9rem; font-weight: 700;
  color: #2d6fc7; transition: all .15s; text-decoration: none;
}
.also-card:hover {
  background: linear-gradient(180deg, #fff, #c8e4ff);
  border-color: #2d6fc7; text-decoration: none;
  transform: translateX(4px);
}

/* ── Feature cards ────────────────────────────────── */
.feature-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem; margin: 1.5rem 0 2rem;
}
.feature-card {
  border-radius: 12px; padding: 1.2rem 1.1rem;
  border: 1.5px solid;
}
.feature-card.fc-blue   { background: #e8f4ff; border-color: #9ccef5; }
.feature-card.fc-orange { background: #fff5e6; border-color: #ffd09e; }
.feature-card.fc-green  { background: #eafaf0; border-color: #9de0b6; }
.feature-card.fc-purple { background: #f3eeff; border-color: #c9aaed; }
.feature-card .fc-icon { font-size: 1.7rem; margin-bottom: .4rem; }
.feature-card h3 { font-family: system-ui, -apple-system, 'Trebuchet MS', Arial, sans-serif; font-size: .95rem; font-weight: 800; margin-bottom: .25rem; }
.feature-card.fc-blue h3   { color: #16356a; }
.feature-card.fc-orange h3 { color: #9a4f00; }
.feature-card.fc-green h3  { color: #1e7a3c; }
.feature-card.fc-purple h3 { color: #5b2d9e; }
.feature-card p { font-size: .84rem; line-height: 1.55; margin: 0; color: #1e4d6b; }

/* ── World/pack blocks ────────────────────────────── */
.world-block {
  margin: 14px 0 8px; padding: 14px;
  background: #f3f6fb;
  border: 1px dashed #7ab8e8;
  border-radius: 10px;
}
.world-title {
  margin: 0 0 10px; color: #16356a;
  font-family: system-ui, -apple-system, 'Trebuchet MS', Arial, sans-serif; font-size: 1.25rem; font-weight: 900;
  letter-spacing: .03em;
  border-bottom: 2px solid #4a8ae0; padding-bottom: 6px;
  text-transform: uppercase;
}

/* ── Grid puzzle ──────────────────────────────────── */

.grid-table { border-collapse: collapse; margin: 0 auto; }
.grid-table td {
  width: 38px; height: 38px; text-align: center; vertical-align: middle;
  font-family: system-ui, -apple-system, 'Trebuchet MS', Arial, sans-serif; font-weight: 900; font-size: 1.1rem;
  border: 2px solid #e7ecf4; color: #0f1b30;
  text-transform: uppercase; border-radius: 4px;
}
.grid-table td.filled { background: #e9f1fc; }
.grid-table td.empty { background: #0f1b30; border-color: #0f1b30; }
.letter-pool {
  display: flex; gap: .4rem; flex-wrap: wrap;
  justify-content: center; margin: 1rem 0;
}
.letter-tile {
  width: 40px; height: 40px; border-radius: 8px;
  background: linear-gradient(180deg, #4a8ae0, #2d6fc7);
  color: #fff; font-family: system-ui, -apple-system, 'Trebuchet MS', Arial, sans-serif;
  font-weight: 900; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 0 #16356a, 0 3px 6px rgba(0,0,0,.15);
  text-transform: uppercase;
}

/* ── Pager ────────────────────────────────────────── */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 2rem 0; }
.pager a {
  background: linear-gradient(180deg, #f3f6fb, #e2f0fc);
  border: 1.5px solid #b3d9ff; border-radius: 12px;
  padding: 14px 18px; display: flex; flex-direction: column; gap: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,.07); transition: all .18s; text-decoration: none;
}
.pager a:hover { border-color: #2d6fc7; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(26,107,199,.2); }
.pager a.next { align-items: flex-end; text-align: right; }
.pager div.empty { background: transparent; box-shadow: none; border: none; }
.pager .label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #2d6fc7; }
.pager .target { font-family: system-ui, -apple-system, 'Trebuchet MS', Arial, sans-serif; font-weight: 800; font-size: 14px; color: #0f1b30; }

/* ── About / FAQ ──────────────────────────────────── */
.about-section {
  margin-top: 1.75rem; background: #e8f4ff;
  border-radius: 12px; padding: 1.5rem 1.75rem;
  border: 1px solid #b3d9ff;
}
.about-section h2, .about-section h3 {
  font-family: system-ui, -apple-system, 'Trebuchet MS', Arial, sans-serif; font-size: 1.1rem; font-weight: 800;
  color: #0f1b30; margin-bottom: .75rem;
}
.about-section p { font-size: .94rem; color: #2a5070; line-height: 1.72; margin-bottom: .7rem; }
.about-section p:last-child { margin-bottom: 0; }
.about-section a { color: #2d6fc7; font-weight: 600; }
.about-section a:hover { text-decoration: underline; }

.related-list { display: flex; flex-wrap: wrap; gap: .4rem; }
.related-list a {
  padding: .3rem .8rem; background: #e9f1fc;
  border: 1px solid #7ab8e8; border-radius: 8px;
  font-size: .85rem; font-weight: 700; color: #16356a;
  transition: all .15s;
}
.related-list a:hover { background: #2d6fc7; color: #fff; text-decoration: none; }

.faq-section { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 2px dashed #e7ecf4; }
.faq-section h2 { font-family: system-ui, -apple-system, 'Trebuchet MS', Arial, sans-serif; font-size: 1.1rem; font-weight: 800; color: #0f1b30; margin-bottom: .9rem; }
.faq-item {
  background: #fff; border: 1px solid #e7ecf4;
  border-radius: 10px; padding: .9rem 1.2rem; margin-bottom: .55rem;
}
.faq-item h3 { font-family: system-ui, -apple-system, 'Trebuchet MS', Arial, sans-serif; font-size: .93rem; font-weight: 700; color: #16356a; margin-bottom: .3rem; }
.faq-item p { font-size: .87rem; color: #2a5070; line-height: 1.6; margin: 0; }

/* ── Parent link ──────────────────────────────────── */
.parent-link { margin: .75rem 0 1.25rem; }
.parent-link a {
  color: #2d6fc7; font-weight: 700; font-size: .9rem;
  padding: .3rem .75rem; background: #e9f1fc;
  border-radius: 20px; border: 1px solid #7ab8e8;
  transition: all .15s;
}
.parent-link a:hover { background: #2d6fc7; color: #fff; text-decoration: none; }

/* ── Footer ───────────────────────────────────────── */
.site-footer {
  background: linear-gradient(180deg, #0f1b30, #071828);
  margin-top: 2rem; padding: .3rem 0 0;
  color: rgba(255,255,255,.8);
  border-top: 3px solid #2d6fc7;
}
.footer-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 22px .3rem;
  display: flex; gap: 1rem; flex-wrap: wrap;
  justify-content: space-between; align-items: center;
}
.footer-brand strong { font-family: system-ui, -apple-system, 'Trebuchet MS', Arial, sans-serif; font-size: .9rem; font-weight: 800; color: #fff; }
.footer-brand em { color: #7ab8e8; font-style: normal; }
.footer-brand p { display: none; }
.footer-links { display: flex; flex-direction: row; flex-wrap: wrap; gap: .3rem .9rem; }
.footer-links a { color: rgba(255,255,255,.85); font-size: .87rem; transition: color .15s; }
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-related {
  text-align: center; padding: 5px 0 2px;
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 8px;
}
.footer-related .related-label { font-size: .78rem; color: rgba(255,255,255,.8); margin-right: 8px; }
.footer-related a { display: inline-block; margin: 4px 8px; font-size: .83rem; color: rgba(255,255,255,.88); text-decoration: underline; }
.footer-related a:hover { color: #fff; }
.footer-copy {
  background: rgba(0,0,0,.3); padding: .4rem 22px;
  text-align: center; font-size: .8rem; color: rgba(255,255,255,.9);
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 640px) {
  /* mobile nav: keep all links visible */
  .page-hero { padding: 1.8rem 1rem 2.5rem; }
  .pager { grid-template-columns: 1fr; gap: 8px; }
  .about-section { padding: 1.1rem; }
  .footer-inner { flex-direction: column; gap: 1.25rem; }
  .blocks-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  .feature-strip { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 1.5rem; }
}

/* Star Rating */
.rating-section {
  margin: 2rem 0 1.5rem;
  padding: 1.2rem 1.5rem;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #d0e8ff;
  box-shadow: 0 2px 8px rgba(0,80,180,.07);
}
.rating-heading {
  font-size: .95rem;
  font-weight: 700;
  color: #16356a;
  margin: 0 0 .6rem;
  border: none;
}
.star-widget { display: flex; align-items: center; gap: .2rem; flex-wrap: wrap; }
.star {
  font-size: 1.8rem;
  color: #ccc;
  line-height: 1;
  transition: color .12s;
}
.star.on { color: #f5a623; }
.rating-meta {
  font-size: .85rem;
  color: #555;
  margin-left: .5rem;
}
.rating-meta strong { color: #f5a623; }

/* ── Scroll progress bar ──────────────────────────── */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, #4a8ae0, #2d6fc7, #16356a);
  z-index: 9999; transition: width .1s linear;
  box-shadow: 0 0 6px rgba(74,168,245,.6);
}

/* ── Back-to-top button ───────────────────────────── */
#back-to-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(180deg, #4a8ae0, #2d6fc7);
  color: #fff; font-size: 20px; line-height: 44px; text-align: center;
  box-shadow: 0 4px 14px rgba(26,107,199,.45);
  cursor: pointer; border: none;
  opacity: 0; transform: translateY(12px);
  transition: opacity .25s, transform .25s;
  z-index: 999;
}
#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover { background: linear-gradient(180deg, #5ab8ff, #2d6fc7); box-shadow: 0 6px 20px rgba(26,107,199,.55); }

/* ── Copy toast ───────────────────────────────────── */
#copy-toast {
  position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%) translateY(10px);
  background: #0f1b30; color: #fff; font-size: .85rem; font-weight: 700;
  padding: .5rem 1.2rem; border-radius: 22px;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
  opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 9998; white-space: nowrap;
}
#copy-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── Word cards: copy cursor + tap hint ───────────── */
.word-def-word {
  cursor: pointer; user-select: none;
  position: relative;
}
.word-def-word::after {
  content: 'tap to copy';
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: .65rem; font-weight: 600; color: #7ab8e8;
  text-transform: uppercase; letter-spacing: .05em;
  opacity: 0; transition: opacity .15s;
}
.word-def-card:hover .word-def-word::after { opacity: 1; }

/* ── Answers highlight pulse on load ─────────────── */
@keyframes answers-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(74,168,245,0); }
  40%  { box-shadow: 0 0 0 8px rgba(74,168,245,.25); }
  100% { box-shadow: 0 0 0 0 rgba(74,168,245,0); }
}
.answers-section.answers-highlight,
.word-defs-list.answers-highlight { animation: answers-pulse .9s ease-out; }

/* ── Mobile nav: show all links, wrap neatly ──────── */
@media (max-width: 640px) {
  .site-nav { flex-wrap: wrap; justify-content: flex-end; gap: 2px; }
  .site-nav a { font-size: 12px; padding: 5px 9px; }
}

/* ── Hide HashOver branding ───────────────────────── */
#hashover-end-links, [id*="-end-links"] { display: none !important; }

/* ── Info cards (home page) ───────────────────────── */
.info-section { margin: 1.75rem 0; }
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.info-card {
  background: #fff;
  border: 1.5px solid #e7ecf4;
  border-radius: 14px;
  padding: 1.3rem 1.2rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(26,107,199,.08);
  transition: transform .18s, box-shadow .18s;
}
.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(26,107,199,.15);
}
.info-icon { font-size: 2rem; margin-bottom: .5rem; }
.info-card h3 {
  font-family: system-ui, -apple-system, 'Trebuchet MS', Arial, sans-serif;
  font-size: 1rem; font-weight: 800;
  color: #16356a; margin-bottom: .4rem;
}
.info-card p { font-size: .87rem; color: #1e4d6b; line-height: 1.55; margin: 0; }

/* ── Level jump search (home page) ───────────────── */
.level-jump {
  background: linear-gradient(135deg, #e8f4ff, #d0eaff);
  border: 1.5px solid #7ab8e8;
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  margin: 1.5rem 0;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.level-jump label {
  font-weight: 800; font-size: .95rem; color: #0f1b30;
  white-space: nowrap;
}
.level-jump input[type=number] {
  width: 110px; padding: 8px 12px;
  border: 1.5px solid #7ab8e8; border-radius: 8px;
  font-size: 1rem; font-weight: 700; color: #0f1b30;
  outline: none; transition: border .15s;
}
.level-jump input[type=number]:focus { border-color: #2d6fc7; }
.level-jump button {
  padding: 9px 22px;
  background: linear-gradient(180deg, #4a8ae0, #2d6fc7);
  color: #fff; border: none; border-radius: 8px;
  font-size: .95rem; font-weight: 800; cursor: pointer;
  transition: filter .15s;
}
.level-jump button:hover { filter: brightness(1.1); }

/* ── Level card word count badge ───────────── */
.level-card { display:flex; flex-direction:column; align-items:center; gap:2px; }
.lc-num { font-weight:800; font-size:.92rem; }
.lc-meta { font-size:.72rem; color:rgba(255,255,255,.9); font-weight:600; }

/* ── Today highlight on daily archive ──────── */
.today-link { background:linear-gradient(135deg,#16356a,#2d6fc7)!important; color:#fff!important; font-weight:800!important; border:2px solid #4a8ae0!important; }
.today-link .arrow { color:#fff!important; }

/* Mobile safety */
html,body{overflow-x:hidden}
*{box-sizing:border-box}


/* ── Letter search ─────────────────────────────── */
.letter-search-section{margin-bottom:1.5rem}
.letter-search-box{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:.75rem}
.letter-search-box input{flex:1 1 220px;padding:10px 14px;font-size:1rem;border:2px solid #e7ecf4;border-radius:8px;outline:none;min-width:0}
.letter-search-box input:focus{border-color:#2d6fc7}
.letter-search-box button{padding:10px 20px;background:#2d6fc7;color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:700;cursor:pointer;white-space:nowrap}
.letter-search-box button:hover{background:#16356a}
.word-search-results{min-height:40px;margin-top:.5rem}
.search-found,.search-no-results,.search-error{font-size:.95rem;color:#4b5563;margin-bottom:.5rem}
.search-level-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:.4rem}
.search-chip{display:inline-block;padding:4px 12px;background:#e9f1fc;border:1px solid #e7ecf4;border-radius:20px;font-size:.85rem;color:#2d6fc7;font-weight:600;text-decoration:none}
.search-chip:hover{background:#2d6fc7;color:#fff;text-decoration:none}
.search-chip-more{color:#6b7280;background:#f3f4f6;border-color:#e5e7eb;cursor:default}
.recent-dailies-list{margin-top:1rem}
.recent-daily-links{list-style:none;display:flex;flex-wrap:wrap;gap:6px;padding:0}
.recent-daily-links li a{display:inline-block;padding:5px 14px;background:#f3f6fb;border:1px solid #e7ecf4;border-radius:20px;font-size:.87rem;color:#2d6fc7;font-weight:600}
.recent-daily-links li a:hover{background:#2d6fc7;color:#fff;text-decoration:none}
.content-section{background:#f8fbff;border:1px solid #dbeafe;border-radius:10px;padding:1.5rem 1.75rem;margin:1.75rem 0}
.content-section h2{margin-bottom:.9rem}
.how-to-play-inner{display:flex;gap:1.5rem;align-items:flex-start;flex-wrap:wrap}
.how-to-play-text{flex:1 1 320px}
.how-to-play-img{text-align:center}
.tips-list{padding-left:0;list-style:none;display:flex;flex-direction:column;gap:.75rem}
.tips-list li{padding:.6rem .85rem;background:#fff;border-left:4px solid #4a8ae0;border-radius:0 6px 6px 0;font-size:.96rem;line-height:1.55}
.sky-sticky-daily{position:fixed;bottom:0;left:0;right:0;z-index:200;background:linear-gradient(90deg,#2d6fc7,#16356a);padding:10px 16px;text-align:center;transform:translateY(100%);transition:transform .25s ease;pointer-events:none}
.sky-sticky-daily.sticky-daily-visible{transform:translateY(0);pointer-events:auto}
.sticky-daily-link{color:#fff;font-weight:700;font-size:.97rem;text-decoration:none;display:inline-block}
.sticky-daily-link:hover{text-decoration:underline;color:#fff}
@media(min-width:768px){.sky-sticky-daily{display:none}}

/* ── Mock game grid (How to Play visual) ──────── */
.how-to-play-img{flex:0 0 220px;text-align:center}
.mock-grid{display:inline-flex;flex-direction:column;gap:4px;background:#2d6fc7;padding:12px;border-radius:10px;box-shadow:0 4px 16px rgba(26,107,199,.35)}
.mock-grid-row{display:flex;gap:4px}
.mock-cell{width:44px;height:44px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:1.25rem;font-family:'Trebuchet MS',sans-serif}
.mc-filled{background:#fff;color:#0f1b30}
.mc-empty{background:rgba(255,255,255,.15)}
.mc-accent{background:#a8d8ff;color:#0f1b30}
.mc-new{background:#6ab4f5;color:#0f1b30;animation:pop .4s ease}
@keyframes pop{0%{transform:scale(.7)}60%{transform:scale(1.15)}100%{transform:scale(1)}}
.mock-grid-caption{font-size:.78rem;color:#4b5563;margin:.55rem 0 .65rem;font-style:italic}
.mock-tiles{display:flex;gap:5px;justify-content:center;flex-wrap:wrap}
.mock-tile{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:7px;background:linear-gradient(135deg,#2d6fc7,#16356a);color:#fff;font-weight:900;font-size:1rem;font-family:'Trebuchet MS',sans-serif;box-shadow:0 2px 6px rgba(0,0,0,.2)}
.mt-used{background:linear-gradient(135deg,#6b7280,#4b5563);opacity:.5}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Crossword grid (render_grid) ── */
.grid-wrap { margin: 1.5rem 0; text-align: center; }
.grid-label { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase;
              letter-spacing: .06em; color: #4b5563; margin-bottom: .6rem; }
.grid {
  display: grid;
  gap: 3px;
  justify-content: center;
  margin: 0 auto;
}
.cell {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .88rem; border-radius: 3px;
}
.cell.filled  { background: #dbeafe; color: #1e3a5f; border: 1px solid #b3d9ff; }
.cell.empty   { background: transparent; }
.letter-tiles { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 1rem; }
.letter-tiles .eyebrow { width: 100%; font-size: .75rem; font-weight: 700;
                         text-transform: uppercase; letter-spacing: .05em; color: #6b7280; margin-bottom: 2px; }
.letter-tiles .tile { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
                       background: #2d6fc7; color: #fff; border-radius: 6px; font-weight: 700; font-size: .9rem; }

/* Letter-pool search results */
.letter-search-results-list{margin-top:.75rem;display:flex;flex-direction:column;gap:.5rem}
.lsr-item{display:flex;align-items:baseline;gap:.6rem;padding:.45rem .75rem;background:#f0f9ff;border:1px solid #bae6fd;border-radius:8px;flex-wrap:wrap}
.lsr-level{font-weight:700;color:#0369a1;text-decoration:none;white-space:nowrap;font-size:.9rem}
.lsr-level:hover{text-decoration:underline}
.lsr-words{font-size:.88rem;color:#334155;line-height:1.6}
.lsr-words strong{color:#0f1b30;background:#f3f6fb;padding:1px 5px;border-radius:4px;margin:1px}
.search-more{font-size:.85rem;color:#64748b;margin-top:.35rem}

/* ── Answer tiles (B2) ───────────────────────────────── */
.answer-tiles{display:inline-flex;flex-wrap:wrap;gap:3px;align-items:center}
.answer-tile{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;background:#dbeafe;border:1.5px solid #3b82f6;border-radius:5px;font-family:'Trebuchet MS',Verdana,sans-serif;font-weight:800;font-size:1rem;color:#1e40af;line-height:1;flex-shrink:0}
.word-entry{display:flex;align-items:center;gap:.6rem;padding:.4rem 0;border-bottom:1px solid #e9f1fc}
.word-entry:last-child{border-bottom:none}
.word-entry .len{color:#1a4a7a;font-size:.8rem;white-space:nowrap}

/* ── CTA search more (B3) ────────────────────────────── */
.cta-search-more{text-align:center;padding:1.5rem;margin:1.5rem 0;background:#fff9e6;border:1px solid #fde68a;border-radius:10px}
.cta-search-more p{color:#78350f;margin-bottom:.75rem;font-weight:600}
.btn-cta{display:inline-block;background:#fbbf24;color:#1a1a1a;font-weight:700;padding:.65rem 1.5rem;border-radius:25px;text-decoration:none;font-size:1rem;transition:background .2s}
.btn-cta:hover{background:#f59e0b;color:#1a1a1a;text-decoration:none}

/* ── 5-pill level nav (B4) ───────────────────────────── */
.level-pill-nav{display:flex;flex-wrap:wrap;gap:.4rem;justify-content:center;padding:1rem 0}
.level-pill{display:inline-flex;align-items:center;padding:.4rem .9rem;border-radius:20px;border:1.5px solid #3b82f6;color:#1e40af;font-size:.88rem;font-weight:600;text-decoration:none;transition:all .15s}
.level-pill:hover{background:#3b82f6;color:#fff;text-decoration:none}
.level-pill.active{background:#1e40af;border-color:#1e40af;color:#fff;cursor:default}

/* ── About Sky Words block (B5) ──────────────────────── */
.about-sky-words{background:#e0f4ff;border:1px solid #e7ecf4;border-radius:8px;padding:1.25rem 1.5rem;margin:1.5rem 0}
.about-sky-words h2{font-size:1.15rem;margin-bottom:.6rem;color:#1a3a6b}
.about-sky-words p{color:#1a3a6b;margin:0;line-height:1.7;font-size:.97rem}

/* ── Calendar nav (B7) ───────────────────────────────── */
.cal-arrow{color:#2d6fc7;font-weight:600;text-decoration:none;padding:.4rem .8rem;border-radius:6px;background:#e9f1fc}
.cal-arrow:hover{background:#3b82f6;color:#fff;text-decoration:none}

/* A11y contrast fix - parent-link and byline anchors */
.parent-link a,.byline a{color:#16356a}
.parent-link a:hover,.byline a:hover{color:#0a3a7e}

/* === Range Intro === */
.range-intro{background:#f8fafc;border-left:4px solid #16356a;padding:16px 20px;margin:20px 0 28px;border-radius:4px}
.range-intro p{margin:0;color:#334155;line-height:1.6;font-size:1rem}
@media(prefers-color-scheme:dark){.range-intro{background:rgba(255,255,255,.04);border-left-color:#5a8fc7}.range-intro p{color:#cbd5e1}}

/* === Answers Callout === */
.answers-callout{background:linear-gradient(135deg,#16356a 0%,#16356a 100%);border-radius:16px;padding:28px 32px;margin:24px auto 32px;box-shadow:0 8px 24px rgba(13,74,158,.25);color:#fff}
.answers-callout-label{font-size:.8rem;font-weight:700;letter-spacing:.15em;color:rgba(255,255,255,.85);text-transform:uppercase;margin-bottom:8px}
.answers-callout-title{font-size:1.5rem;font-weight:800;color:#fff;margin:0 0 20px;border:none;padding:0}
.answers-list{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px}
.answer-pill{display:inline-flex;align-items:center;gap:10px;background:#fff;border-radius:12px;padding:10px 18px;text-decoration:none;transition:transform .15s,box-shadow .15s}
.answer-pill:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.12)}
.answer-pill strong{font-size:1.4rem;font-weight:800;color:#16356a;letter-spacing:.05em}
.answer-pill span{font-size:.8rem;padding:2px 8px;border-radius:8px}
.answer-pill[data-len="3"] span{background:#d1fae5;color:#065f46}
.answer-pill[data-len="4"] span,.answer-pill[data-len="5"] span{background:#dbeafe;color:#1e40af}
.answer-pill[data-len="6"] span,.answer-pill[data-len="7"] span{background:#fef3c7;color:#92400e}
.answer-pill[data-len="8"] span,.answer-pill[data-len="9"] span,.answer-pill[data-len="10"] span{background:#fce7f3;color:#9f1239}
.answers-meta{font-size:.85rem;color:rgba(255,255,255,.85)}
.copy-btn{background:none;border:none;cursor:pointer;color:#94a3b8;padding:2px;transition:color .15s}
.copy-btn:hover{color:#16356a}.copy-btn.copied{color:#10b981}
@media(max-width:640px){.answers-callout{padding:20px 18px}.answer-pill strong{font-size:1.2rem}}

/* === Answer Table === */
.answers-table{width:100%;border-collapse:collapse;margin:16px 0 28px;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.answers-table th{background:#f1f5f9;padding:12px 16px;text-align:left;font-size:.85rem;font-weight:700;color:#475569;text-transform:uppercase;letter-spacing:.05em}
.answers-table td{padding:14px 16px;border-top:1px solid #e2e8f0}
.answer-cell strong{font-size:1.25rem;font-weight:800;color:#16356a;letter-spacing:.05em}
.len-tag{display:inline-block;padding:4px 10px;border-radius:999px;font-size:.8rem;font-weight:600}
.len-3{background:#d1fae5;color:#065f46}
.len-4,.len-5{background:#dbeafe;color:#1e40af}
.len-6,.len-7{background:#fef3c7;color:#92400e}
.len-8,.len-9,.len-10{background:#fce7f3;color:#9f1239}
.clue-cell{color:#334155;font-size:.95rem}
@media(max-width:640px){.answers-table th:nth-child(2),.answers-table td:nth-child(2){display:none}}

/* === Search Tool Cards === */
.search-tool-card{border-radius:12px;padding:24px 28px;margin-bottom:20px;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.search-tool-card h2{font-size:1.5rem;font-weight:800;margin:0 0 8px;line-height:1.2;border:none;padding:0;text-transform:none}
.search-tool-card .tool-description{color:#475569;margin-bottom:16px;font-size:.95rem}
.search-tool-card+.search-tool-card{margin-top:24px}
.search-tool-card.tool-primary{background:linear-gradient(135deg,#f3f6fb 0%,#bfdbfe 100%);border-left:5px solid #16356a}
.search-tool-card.tool-primary h2{color:#16356a}
.search-tool-card.tool-primary button{background:#16356a;color:#fff;border:none;padding:.55rem 1.2rem;border-radius:8px;font-weight:700;cursor:pointer;transition:background .2s}
.search-tool-card.tool-primary button:hover{background:#083a7a}
.search-tool-card.tool-rescue{background:linear-gradient(135deg,#fef3c7 0%,#fde68a 100%);border-left:5px solid #d97706}
.search-tool-card.tool-rescue h2{color:#92400e}
.search-tool-card.tool-rescue button{background:#d97706;color:#fff;border:none;padding:.55rem 1.2rem;border-radius:8px;font-weight:700;cursor:pointer;transition:background .2s}
.search-tool-card.tool-rescue button:hover{background:#b45309}
@media(prefers-color-scheme:dark){.search-tool-card.tool-primary{background:linear-gradient(135deg,rgba(13,74,158,.20),rgba(13,74,158,.30));border-left-color:#5a8fc7}.search-tool-card.tool-primary h2{color:#b3d9ff}.search-tool-card.tool-rescue{background:linear-gradient(135deg,rgba(217,119,6,.18),rgba(217,119,6,.28));border-left-color:#f59e0b}.search-tool-card.tool-rescue h2{color:#fbbf24}}

/* === Comments Section === */
.comments-section{margin-top:2.5rem;padding-top:1.5rem;border-top:2px solid #e7ecf4}
.comments-title{font-size:1.3rem;color:#16356a;margin-bottom:1rem}
.cmt-count{font-size:.9rem;color:#4b5563;font-weight:400}
.comments-list{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.5rem}
.comment-item{background:#fff;border:1px solid #e9f1fc;border-radius:8px;padding:.9rem 1.1rem}
.comment-meta{display:flex;align-items:center;gap:.75rem;margin-bottom:.4rem;font-size:.82rem}
.comment-author{font-weight:700;color:#16356a}
.comment-date{color:#6b7280}
.comment-body{font-size:.95rem;color:#1e293b;line-height:1.6;white-space:pre-line}
.comments-empty{color:#6b7280;font-style:italic;margin-bottom:1rem;text-align:center;padding:1.5rem 0}
.comment-form-wrap{background:#f3f6fb;border:1px solid #e7ecf4;border-radius:12px;padding:1.5rem 2rem;margin-top:1.5rem;box-shadow:0 2px 8px rgba(0,0,0,.04)}
.leave-comment-title{font-size:1.1rem;color:#16356a;margin-bottom:1rem}
.cmt-field{margin-bottom:.9rem}
.cmt-field label{display:block;font-size:.85rem;font-weight:600;color:#374151;margin-bottom:.3rem}
.cmt-field input,.cmt-field textarea{width:100%;box-sizing:border-box;border:1.5px solid #cbd5e1;border-radius:8px;padding:.65rem .85rem;font-size:.95rem;font-family:inherit;color:#0f1b30;background:#f8fafc;transition:border-color .2s,background .2s}
.cmt-field input:focus,.cmt-field textarea:focus{outline:none;border-color:#16356a;background:#fff;box-shadow:0 0 0 3px rgba(44,95,160,.12)}
.cmt-field textarea{resize:vertical;min-height:120px}
.char-counter{font-size:.78rem;color:#6b7280;display:block;margin-top:.25rem;text-align:right}
.cmt-notify-row{display:flex;align-items:center;gap:.5rem;margin:.75rem 0}
.cmt-notify-cb{width:18px;height:18px;accent-color:#16356a}
.cmt-notify-label{font-size:.85rem;color:#374151;font-weight:normal}
.cmt-submit{background:#16356a;color:#fff;border:none;padding:.7rem 2rem;border-radius:8px;font-size:1rem;font-weight:700;cursor:pointer;font-family:inherit;transition:background .2s,transform .1s;margin-top:.5rem}
.cmt-submit:hover{background:#16356a;transform:translateY(-1px)}.cmt-submit:disabled{opacity:.6;cursor:not-allowed}
.cmt-msg{margin-top:.6rem;font-weight:600;font-size:.9rem;min-height:1.2em}
.cmt-avatar{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:.95rem;color:#fff;flex-shrink:0}
.cmt-reply-btn{background:none;border:none;color:#16356a;cursor:pointer;font-size:.8rem;font-weight:600;padding:0}.cmt-reply-btn:hover{text-decoration:underline}
.cmt-like-btn{background:none;border:none;cursor:pointer;font-size:.82rem;color:#6b7280;display:flex;align-items:center;gap:.25rem;padding:0}.cmt-like-btn:hover{color:#ef4444}.cmt-like-btn.liked{color:#ef4444}
.cmt-sort{display:flex;gap:.5rem;align-items:center;margin-bottom:1rem;font-size:.85rem;color:#6b7280}
.cmt-sort a{color:#16356a;text-decoration:none;font-weight:600}.cmt-sort a:hover{text-decoration:underline}
.cmt-sort .active{color:#16356a;font-weight:700;text-decoration:none;cursor:default}
.cmt-fields-row{display:flex;gap:.75rem}.cmt-fields-row .cmt-field{flex:1}
@media(max-width:600px){.cmt-fields-row{flex-direction:column}}
.cmt-pager{display:flex;gap:.4rem;flex-wrap:wrap;margin:.75rem 0}
.cmt-pager-link,.cmt-pager-current{display:inline-block;padding:.3rem .7rem;border-radius:5px;font-size:.85rem;font-weight:600}
.cmt-pager-link{background:#e9f1fc;color:#16356a;text-decoration:none}.cmt-pager-link:hover{background:#e7ecf4}
.cmt-pager-current{background:#16356a;color:#fff}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);border:0}

/* === Level Card Word Count Badges === */
.level-card-words{display:inline-block;font-size:.78rem;font-weight:700;padding:3px 10px;border-radius:999px;margin:4px auto 0;letter-spacing:.02em}
.level-card[data-wordcount="1"] .level-card-words,.level-card[data-wordcount="2"] .level-card-words,.level-card[data-wordcount="3"] .level-card-words,.level-card[data-wordcount="4"] .level-card-words{background:#10b981;color:#fff}
.level-card[data-wordcount="5"] .level-card-words,.level-card[data-wordcount="6"] .level-card-words,.level-card[data-wordcount="7"] .level-card-words{background:#2563eb;color:#fff}
.level-card[data-wordcount="8"] .level-card-words,.level-card[data-wordcount="9"] .level-card-words,.level-card[data-wordcount="10"] .level-card-words,.level-card[data-wordcount="11"] .level-card-words,.level-card[data-wordcount="12"] .level-card-words,.level-card[data-wordcount="13"] .level-card-words,.level-card[data-wordcount="14"] .level-card-words,.level-card[data-wordcount="15"] .level-card-words{background:#f59e0b;color:#fff}
.level-card{background:#fff;border:1.5px solid #cbd5e1;border-radius:10px;padding:14px 12px;text-align:center;text-decoration:none;display:flex;flex-direction:column;gap:6px;align-items:center;transition:transform .15s,box-shadow .15s,border-color .15s}
.level-card:hover{transform:translateY(-2px);border-color:#16356a;box-shadow:0 4px 12px rgba(44,95,160,.18);text-decoration:none}
.lc-num{font-weight:800;color:#16356a;font-size:1rem;letter-spacing:.02em}
@media(prefers-color-scheme:dark){.level-card{background:#1e293b;border-color:#334155}.level-card:hover{border-color:#5a8fc7}.lc-num{color:#b3d9ff}}

/* === Contrast + Visual Weight Fixes === */

/* Hero intro paragraph - white on green gradient */
.page-hero p[data-seo-intro], .page-hero .hero-sub, .page-hero .level-intro {
    color: rgba(255,255,255,0.95) !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.25);
    max-width: 680px;
    margin: 18px auto 24px;
    line-height: 1.65;
}

/* Category cards - solid white + brand accent border */
.word-def-card, .category-card {
    background: #fff !important;
    border: 1px solid #d1d5db !important;
    border-left: 5px solid #16356a !important;
    border-radius: 12px !important;
    padding: 22px 26px !important;
    margin-bottom: 16px !important;
    box-shadow: 0 2px 8px rgba(22,101,52,0.08) !important;
}
.word-def-card:hover, .category-card:hover {
    box-shadow: 0 6px 18px rgba(22,101,52,0.15) !important;
    transform: translateY(-1px);
}

/* Rotating accent colors on category cards */
.word-def-card:nth-child(5n+1), .category-card:nth-child(5n+1) { border-left-color: #16356a !important; }
.word-def-card:nth-child(5n+2), .category-card:nth-child(5n+2) { border-left-color: #2563eb !important; }
.word-def-card:nth-child(5n+3), .category-card:nth-child(5n+3) { border-left-color: #f59e0b !important; }
.word-def-card:nth-child(5n+4), .category-card:nth-child(5n+4) { border-left-color: #dc2626 !important; }
.word-def-card:nth-child(5n+5), .category-card:nth-child(5n+5) { border-left-color: #7c3aed !important; }

/* Category label */
.word-def-card .word-def-word, .category-label {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #16356a;
    text-transform: uppercase;
    margin-bottom: 14px;
}

/* Word chips - solid borders, readable */
.answer-pill, .word-chip {
    display: inline-block !important;
    padding: 8px 14px !important;
    margin: 4px 6px 4px 0 !important;
    background: #f3f6fb !important;
    color: #0f1b30 !important;
    border: 1.5px solid #16356a !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.92rem !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.answer-pill:hover, .word-chip:hover {
    background: #16356a !important;
    color: #fff !important;
}

/* FAQ cards */
.faq-section { margin: 40px 0; }
.faq-section h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f1b30;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}
.faq-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.faq-item h3 { font-weight: 700; color: #0f1b30; margin: 0 0 8px; }
.faq-item p { color: #374151; line-height: 1.6; margin: 0; }

/* Nearby levels grid */
.also-grid, .nearby-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)) !important;
    gap: 10px !important;
}
.also-card, .nearby-card {
    display: block !important;
    padding: 12px 16px !important;
    background: #fff !important;
    border: 1.5px solid #d1d5db !important;
    border-radius: 8px !important;
    color: #0f1b30 !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-decoration: none !important;
}
.also-card:hover, .nearby-card:hover {
    border-color: #16356a !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(22,101,52,0.15);
}

/* Section headings with brand underline */
.section-title, .section-heading {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f1b30;
    padding-bottom: 12px;
    border-bottom: 3px solid #16356a;
}

/* Back link button */
.parent-link a {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    background: #fff;
    border: 1.5px solid #16356a;
    border-radius: 8px;
    color: #16356a;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
}
.parent-link a:hover { background: #16356a; color: #fff; }

/* Page background */
body { background: #f8fafc; }

/* Dark mode overrides */
@media (prefers-color-scheme: dark) {
    .word-def-card, .category-card, .faq-item, .also-card, .nearby-card {
        background: rgba(255,255,255,0.04) !important;
        border-color: rgba(255,255,255,0.12) !important;
    }
    .answer-pill, .word-chip {
        background: rgba(22,101,52,0.15) !important;
        color: #b3d9ff !important;
        border-color: #2d6fc7 !important;
    }
    .word-def-card .word-def-word, .category-label, .faq-item h3, .section-title { color: #b3d9ff !important; }
    .faq-item p { color: #cbd5e1; }
    body { background: #0f172a; }
}

/* ===== SKY WORDS PREMIUM THEME - NAVY/GOLD OVERRIDE ===== */
body{background:#f3f6fb!important;color:#0f1b30;font-family:"Plus Jakarta Sans",system-ui,sans-serif}
h1,h2,h3,h4{font-family:"Fraunces",Georgia,serif;font-weight:700;color:#0f1b30;border:none!important;text-transform:none!important;padding-bottom:0!important}
.page-wrap{max-width:1000px!important}
.page-wrap::before{display:none!important}
.content-box{background:transparent!important;border:none!important;box-shadow:none!important;padding:0!important}
.wrap{max-width:1000px}
.site-header{height:60px!important;overflow:visible;background:rgba(12,19,34,.92)!important;backdrop-filter:blur(14px);border-radius:0!important;border-bottom:1px solid rgba(255,255,255,.08);padding:0 6px!important;box-shadow:none!important}
.site-header .wrap{max-width:1000px;min-height:60px;display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;gap:16px!important}
.logo{font-family:"Fraunces",Georgia,serif!important;font-weight:700!important;font-size:20px!important}
.logo em{color:#f5a623!important;font-style:normal}
.site-nav{display:flex!important;align-items:center!important;gap:4px!important;flex-wrap:nowrap!important}
.site-nav a{background:rgba(255,255,255,.08)!important;border-radius:8px!important;font-size:13px!important;padding:7px 14px!important;font-weight:600}
.page-hero{background:linear-gradient(135deg,#0c1322 0%,#16356a 52%,#2f74cf 100%)!important;padding:56px 24px 64px!important}
.hero-badge{background:rgba(255,255,255,.14)!important;border:1px solid rgba(255,255,255,.30)!important;font-size:.72rem!important;letter-spacing:.08em!important}
.page-hero h1{font-family:"Fraunces",Georgia,serif!important;font-weight:700!important;font-size:clamp(1.6rem,4vw,2.5rem)!important;text-shadow:0 2px 8px rgba(0,0,0,.28)!important}
.hero-sub{font-size:1.05rem!important;color:rgba(255,255,255,.9)!important}
.hero-wave path{fill:#f3f6fb!important}
.hero-pattern{opacity:.06!important}
.lv-card{background:#fff;border:1px solid #e7ecf4;border-radius:16px;padding:28px 30px;box-shadow:0 6px 20px rgba(15,27,48,.07);margin-bottom:22px}
.lv-sh{font-family:"Fraunces",Georgia,serif;font-weight:700;font-size:1.5rem;color:#0f1b30;margin:0 0 8px}
.lv-bar{width:40px;height:3px;background:#f5a623;border-radius:2px;margin-bottom:16px}
.stat-ribbon{background:transparent;margin-top:22px;padding-top:18px;border-top:1px solid rgba(255,255,255,.18)}
.stat-ribbon .wrap{display:flex;justify-content:center;gap:0;flex-wrap:wrap}
.stat-ribbon .st{padding:8px 22px;text-align:center;border-right:1px solid rgba(255,255,255,.18)}
.stat-ribbon .st:last-child{border-right:0}
.stat-ribbon .st .v{font-family:"JetBrains Mono",monospace;font-weight:800;font-size:20px;color:#f5a623;line-height:1}
.stat-ribbon .st .l{font-size:.7rem;color:#cbd6e8;text-transform:uppercase;letter-spacing:.08em;margin-top:3px}
#dm-toggle{flex:0 0 auto!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;padding:0!important;border-radius:8px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:0!important;font-size:.95rem!important}
.faq-item{background:#fff!important;border:1px solid #e7ecf4!important;border-radius:10px!important;padding:0!important;margin-bottom:8px!important;overflow:hidden}
.faq-item>summary{list-style:none}
.faq-item>summary::-webkit-details-marker{display:none}
.faq-item h3{margin:0!important;padding:0!important}
.faq-q{display:flex!important;justify-content:space-between;align-items:center;width:100%;padding:14px 18px;font-family:"Plus Jakarta Sans",system-ui,sans-serif;font-weight:700;font-size:.93rem;color:#1b59b3;cursor:pointer;background:none;border:none;text-align:left;line-height:1.4}
.faq-q:focus{outline:2px solid #2d6fc7;outline-offset:-2px;border-radius:8px}
.faq-q::after{content:"+";font-size:1.2rem;color:#5b6b82;transition:transform .2s;flex-shrink:0;margin-left:12px}
.faq-item[open] .faq-q::after{transform:rotate(45deg)}
.faq-item p{padding:0 18px 14px!important;font-size:.88rem!important;color:#5b6b82!important;line-height:1.6!important;display:none}
.faq-item[open] p{display:block}
.site-footer{background:linear-gradient(180deg,#0d2a4a,#071828)!important;border-top:none!important;margin-top:2.5rem!important;padding:0!important}
h1,.page-hero h1,.lv-card h1,.lv-sh{border-bottom:none!important;padding-bottom:0!important}
/* Dark mode */
[data-theme="dark"] body{background:#080f1d!important}
[data-theme="dark"] .lv-card{background:#0f1b30!important;border-color:#1e3050!important}
[data-theme="dark"] .lv-sh,[data-theme="dark"] h2,[data-theme="dark"] h3{color:#e2e8f0!important}
[data-theme="dark"] .faq-item{background:#0f1b30!important;border-color:#1e3050!important}
[data-theme="dark"] .faq-q{color:#60a5fa!important}
[data-theme="dark"] .faq-item p{color:#94a3b8!important}
@media(max-width:640px){
  .page-hero{padding:36px 16px 48px!important}
  .lv-card{padding:20px 18px}
  .stat-ribbon .st{padding:6px 14px}
  .site-nav{gap:2px!important}
  .site-nav a{font-size:11px!important;padding:5px 8px!important}
}
/* Comment form */
.comment-form-wrap{background:#fff;border:1px solid #e7ecf4;border-radius:16px;padding:28px 30px;box-shadow:0 6px 20px rgba(15,27,48,.07);margin-bottom:22px}
.cmt-submit{background:linear-gradient(135deg,#f5a623,#ffcb4d)!important;color:#0c1322!important;font-weight:700!important;border:0!important;border-radius:8px!important;padding:10px 22px!important}
.cmt-field input,.cmt-field textarea{border:1px solid #d6dde8!important;border-radius:8px!important;padding:10px 14px!important;font-size:.95rem!important}

/* Green purge - override any remaining green */
.section-title,.about-section h2,.about-section h3{color:#0f1b30!important;border-left-color:#f5a623!important}
.section-count{color:#1b59b3!important;background:#e9f1fc!important}
.block-card{background:#fff!important;border:1px solid #e7ecf4!important;color:#0f1b30!important}
.block-card:hover{border-color:#2d6fc7!important}
.block-card .block-range{color:#0f1b30!important}
.block-card .block-sub{color:#5b6b82!important}
.level-card{background:#fff!important;border:1px solid #e7ecf4!important;color:#0f1b30!important}
.level-card:hover{border-color:#2d6fc7!important;background:#f8fafb!important}
.leave-comment-title{color:#0f1b30!important}
a{color:#1b59b3}
a:hover{color:#2d6fc7}



.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}



/* Final polish */
.appdescription p{font-size:1.02rem;line-height:1.78;color:#16233b;max-width:760px;margin-left:auto;margin-right:auto}
.about-section h2{padding-bottom:8px;border-bottom:2px solid #f5a623;display:inline-block;font-family:"Fraunces",Georgia,serif;font-weight:700;font-size:1.35rem}
.about-section p,.about-section li{font-size:1rem;line-height:1.72;color:#2a3a52}
.about-section{margin-top:28px;box-shadow:0 2px 12px rgba(15,27,48,.06);border:1px solid #e7ecf4;border-radius:14px}
.info-card:nth-child(1){border-top:4px solid #16356a}
.info-card:nth-child(2){border-top:4px solid #16a34a}
.info-card:nth-child(3){border-top:4px solid #f5a623}
.cat-search-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:1.25rem 1.5rem;margin:1.5rem 0}
.author-card{background:#f0f5ff;border:1px solid #b3cef5;border-radius:12px;padding:1.25rem 1.5rem;margin:1.5rem 0}
.level-card{min-height:46px}
@media(max-width:640px){.level-card{font-size:13px}.levels-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}}
.tier-group:nth-child(1) .tier-label::before{background:#16356a}
.tier-group:nth-child(2) .tier-label::before{background:#2563eb}
.tier-group:nth-child(3) .tier-label::before{background:#f5a623}
.tier-group:nth-child(4) .tier-label::before{background:#dc2626}
.tier-group:nth-child(5) .tier-label::before{background:#7c3aed}
/* SA-DEPTH-STYLE-V1 */
.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem;font-size:.82rem;color:#5a7392;margin:0 0 1rem}
.crumbs a{color:#1a6bc7;font-weight:600;text-decoration:none}
.crumbs a:hover{text-decoration:underline}
.answer-summary{background:linear-gradient(135deg,#eef6ff,#dcecfe);border:1px solid #b3d3f5;border-left:5px solid #1a6bc7;border-radius:12px;padding:1rem 1.15rem;margin:1.1rem 0;font-size:1rem;color:#0d2a4a;line-height:1.6}
.solve-note{background:#f4f9ff;border:1px solid #d8e8fb;border-radius:10px;padding:.7rem .85rem;margin:.55rem 0 0;font-size:.9rem;color:#33475f;line-height:1.55}
.solve-note strong{color:#0d4a9e}
.level-about{background:#fff;border:1px solid #dbe9fb;border-radius:14px;padding:1.15rem 1.25rem;margin:1.5rem 0;box-shadow:0 3px 12px rgba(13,74,158,.07)}
.level-about h2,.level-about h3{color:#0d2a4a}
.level-about p{font-size:.96rem;line-height:1.7;color:#2c435c}
