/* Rules of cricket pages"Flowchart + Myth vs Fact" design. Hand-written, not generated. */
.rl-page{background:#0a0e1a;color:#e8ecf6;font-family:'Nunito',sans-serif;min-height:100vh;padding:28px 16px 40px}
.rl-wrap{max-width:720px;margin:0 auto}
.rl-eyebrow{font-family:'Oswald',sans-serif;font-size:.8rem;letter-spacing:2px;text-transform:uppercase;color:#9aa4bd;margin-bottom:10px}
.rl-page h1{font-family:'Baloo 2',sans-serif;font-weight:800;font-size:2.3rem;line-height:1.1;color:#fff;margin:0 0 10px}
.rl-sum{font-size:1.05rem;line-height:1.6;color:#c9d1e6;margin:0 0 26px}
.rl-page h2{font-family:'Baloo 2',sans-serif;font-size:1.5rem;color:#fff;margin:30px 0 14px}
.rl-page h3{font-family:'Baloo 2',sans-serif;font-size:1.15rem;color:#f4a900;margin:20px 0 6px}
.rl-page p{font-size:1rem;line-height:1.7;color:#c9d1e6;margin:0 0 12px}
.rl-page a{color:#f4a900}
.rl-flow{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;align-items:center}
.rl-step{width:100%;display:flex;gap:14px;align-items:center;position:relative;padding-bottom:22px}
.rl-step::after{content:'';position:absolute;left:50%;bottom:0;width:2px;height:22px;background:#f4a900}
.rl-q{flex:1;background:#141b30;border:2px solid #f4a900;border-radius:12px;padding:14px 16px;font-weight:700;display:flex;gap:10px;align-items:baseline}
.rl-n{font-family:'Oswald',sans-serif;color:#f4a900;flex-shrink:0}
.rl-a{width:170px;flex-shrink:0;background:#3a1a22;border:1px solid #ff5d6f;color:#ffb3bc;border-radius:10px;padding:10px;font-size:.88rem;font-weight:700;text-align:center}
.rl-result{background:#103a2a;border:2px solid #39d98a;color:#b8f5d6;border-radius:999px;padding:12px 28px;font-family:'Oswald',sans-serif;font-size:1.2rem;letter-spacing:2px}
.rl-myths{display:flex;flex-direction:column;gap:12px}
.rl-myth{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-radius:12px;overflow:hidden;border:1px solid #263152}
.rl-m,.rl-f{padding:14px 16px;display:flex;flex-direction:column;gap:6px;font-size:.95rem;line-height:1.5}
.rl-m{background:#2a1419;font-weight:700}
.rl-f{background:#0f2a20}
.rl-m span,.rl-f span{font-family:'Oswald',sans-serif;font-size:.8rem;letter-spacing:2px;text-transform:uppercase;font-weight:500}
.rl-m span{color:#ffb3bc}.rl-f span{color:#b8f5d6}
.rl-nav{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:32px;font-weight:700}
.rl-btn{background:#f4a900;color:#0a0e1a!important;font-weight:800;text-decoration:none;padding:12px 20px;border-radius:999px}
.rl-share{margin-top:14px;font-weight:700}
.rl-hub{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.rl-hub a{display:flex;flex-direction:column;gap:4px;background:#141b30;border:1px solid #263152;border-radius:12px;padding:14px 16px;text-decoration:none}
.rl-hub span{font-family:'Oswald',sans-serif;font-size:.8rem;letter-spacing:2px;text-transform:uppercase;color:#9aa4bd}
.rl-hub b{font-family:'Baloo 2',sans-serif;font-size:1.2rem;color:#fff}
.rl-hub small{color:#c9d1e6;font-size:.92rem;line-height:1.5}
.rl-foot{max-width:720px;margin:36px auto 0;display:flex;gap:18px;flex-wrap:wrap;justify-content:center;font-size:.9rem}
@media (max-width:540px){
  .rl-page h1{font-size:1.9rem}
  .rl-step{flex-direction:column;align-items:stretch;gap:8px}
  .rl-a{width:auto}
  .rl-myth{grid-template-columns:1fr}
  .rl-nav{flex-direction:column;align-items:stretch;text-align:center}
}

/* ---- Breadcrumbs + "keep reading" links (Day 107, AdSense readiness) ---- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin: 0 0 14px; font-size: 0.82rem; line-height: 1.5; color: inherit; opacity: 0.8; }
.crumbs a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.crumbs i { font-style: normal; opacity: 0.6; }
.crumbs [aria-current] { opacity: 0.85; }
.rel-box { margin: 28px 0 8px; padding: 18px 20px; border: 1px solid currentColor; border-color: rgba(127,127,127,0.35); border-radius: 12px; }
.rel-box h2 { margin: 0 0 10px; font-size: 1.15rem; }
.rel-group + .rel-group { margin-top: 14px; }
.rel-group h3 { margin: 0 0 6px; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: none; opacity: 0.75; font-weight: 700; }
.rel-group ul { margin: 0; padding: 0; list-style: none; }
.rel-group li { margin: 0 0 6px; line-height: 1.45; }
.rel-group a { color: inherit; text-decoration: underline; text-underline-offset: 2px; font-weight: 700; }
.rel-group small { opacity: 0.7; margin-left: 6px; }

/* ---- Rules hub: "Umpire's Signals" (B1, Day 110) ---- */
.sg-page{background:#07130d;color:#eef3ee;padding:0 0 40px}
.sg-wrap{max-width:1160px;margin:0 auto;padding:0 20px}
.sg-hero{background:radial-gradient(700px 420px at 15% -10%,rgba(255,255,230,.2),transparent 65%),radial-gradient(700px 420px at 85% -10%,rgba(255,255,230,.16),transparent 65%),repeating-linear-gradient(90deg,#0b1f14 0 90px,#0e2618 90px 180px);border-bottom:1px solid rgba(238,243,238,.08)}
.sg-hero-in{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:32px;align-items:center;padding-top:28px;padding-bottom:40px}
.sg-hero-copy .crumbs{color:#c3d1c6}
.sg-eyebrow,.sg-signal{font-family:'Oswald',sans-serif;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:#f4a900}
.sg-eyebrow{font-size:.82rem;margin:6px 0 14px}
.sg-page h1{font-size:clamp(2.4rem,6vw,4.1rem);line-height:1;margin:0 0 16px}
.sg-sum{font-size:1.15rem;line-height:1.55;color:#c3d1c6;max-width:540px;margin:0}
.sg-hero-figs{display:flex;justify-content:center;align-items:flex-end;gap:12px}
.sg-hero-ump{width:150px;height:auto;filter:drop-shadow(0 10px 18px rgba(0,0,0,.45))}
.sg-body{display:flex;flex-direction:column;gap:24px;padding-top:36px}
.sg-group{display:grid;grid-template-columns:240px minmax(0,1fr);gap:26px;background:#0c1c13;border:1px solid rgba(238,243,238,.09);border-radius:24px;padding:26px}
.sg-side{display:flex;flex-direction:column;gap:8px;align-items:flex-start;border-right:1px dashed rgba(238,243,238,.16);padding-right:22px}
.sg-fig{width:100%;max-width:170px;aspect-ratio:170/200;border-radius:20px;background:radial-gradient(circle at 50% 35%,rgba(244,169,0,.26),transparent 70%);display:flex;align-items:flex-end;justify-content:center;margin-bottom:6px}
.sg-ump{width:82%;height:auto}
.sg-signal{font-size:.75rem}
.sg-page .sg-side h2{font-size:1.8rem;line-height:1.05;margin:0}
.sg-count{color:#a6b8ab;font-size:.9rem}
.sg-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-content:start}
.sg-list a{display:flex;align-items:center;gap:14px;padding:15px 16px;border-radius:14px;background:#0f2218;border:1px solid transparent;color:#eef3ee;text-decoration:none;height:100%;box-sizing:border-box;transition:background .15s,border-color .15s}
.sg-list a:hover,.sg-list a:focus-visible{background:#13291d;border-color:rgba(244,169,0,.5)}
.sg-n{font-family:'Oswald',sans-serif;font-weight:700;font-size:.85rem;color:#07130d;background:#f4a900;border-radius:8px;min-width:32px;height:32px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.sg-t{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.sg-t b{font-family:'Baloo 2',sans-serif;font-weight:800;font-size:1.12rem;line-height:1.15}
.sg-t small{font-size:.84rem;color:#a6b8ab}
.sg-go{color:#f4a900;font-weight:800}
.sg-page .rel-box{color:#eef3ee}
@media (prefers-reduced-motion:reduce){.sg-list a{transition:none}}
@media (max-width:860px){
  .sg-hero-in{grid-template-columns:1fr;gap:18px}
  .sg-hero-figs{justify-content:flex-start}
  .sg-hero-ump{width:110px}
  .sg-group{grid-template-columns:1fr;gap:18px;padding:20px}
  .sg-side{border-right:0;border-bottom:1px dashed rgba(238,243,238,.16);padding:0 0 16px;display:grid;grid-template-columns:110px minmax(0,1fr);column-gap:16px;row-gap:4px;align-items:center}
  .sg-fig{grid-row:1 / span 3;margin:0;max-width:110px}
  .sg-signal,.sg-side h2,.sg-count{grid-column:2}
}
@media (max-width:560px){
  .sg-list{grid-template-columns:1fr}
  .sg-page .sg-side h2{font-size:1.5rem}
  .sg-hero-ump{width:86px}
  .sg-hero-in{padding-bottom:28px}
}

/* ---- Law pages: "Coach's Chalkboard" (B3, Day 111). Hand-written. ---- */
.ck-page{background:radial-gradient(120% 70% at 25% 0,#2b4a3b 0,#1c3328 55%,#152820 100%) fixed,#152820;color:#e9f0e4;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
.ck-wrap{max-width:1000px}
.ck-page .crumbs{color:#d3e2d6}
.ck-page .rl-eyebrow{color:#bcd2c1}
.ck-page h1{font-family:'Caveat','Comic Sans MS',cursive;font-weight:700;font-size:3.4rem;line-height:1;color:#fbfbf2;margin:6px 0 12px}
.ck-page h1::after{content:'';display:block;width:110px;height:4px;border-radius:4px;background:#f4a900;margin-top:10px;transform:rotate(-1deg)}
.ck-page .rl-sum,.ck-page p{color:#dfe8da;max-width:68ch}
.ck-page h2{font-family:'Caveat','Comic Sans MS',cursive;font-weight:700;font-size:2.2rem;line-height:1.1;color:#fbfbf2;margin:34px 0 14px}
.ck-page h3{font-family:'Caveat','Comic Sans MS',cursive;font-weight:700;font-size:1.75rem;line-height:1.1;color:#f7e27a;margin:22px 0 6px}
.ck-page a{color:#f7e27a}
.ck-board{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,300px);gap:28px;align-items:start}
.ck-path{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.ck-step{display:flex;flex-direction:column;gap:4px;padding-bottom:34px;position:relative}
.ck-step::after{content:'\2193';position:absolute;left:8px;bottom:2px;font-family:'Caveat',cursive;font-size:1.7rem;line-height:1;color:#f7e27a}
.ck-q{display:flex;gap:12px;align-items:baseline;font-family:'Caveat','Comic Sans MS',cursive;font-weight:700;font-size:1.65rem;line-height:1.15;color:#fbfbf2}
.ck-n{flex:none;display:inline-grid;place-items:center;width:30px;height:30px;border:2px solid #fbfbf2;border-radius:50%;font-family:'Oswald',sans-serif;font-weight:500;font-size:.95rem;transform:translateY(-3px)}
.ck-a{margin-left:42px;font-family:'Caveat','Comic Sans MS',cursive;font-weight:600;font-size:1.4rem;line-height:1.2;color:#ffbfc7}
.ck-result span{display:inline-block;font-family:'Caveat','Comic Sans MS',cursive;font-weight:700;font-size:2.2rem;line-height:1.1;color:#9cf2be;border:3px solid #9cf2be;border-radius:50%;padding:6px 26px;transform:rotate(-3deg);margin-left:6px}
.ck-note{background:#f4ecc2;color:#2d2410;border-radius:4px;padding:16px 18px 6px;transform:rotate(1.2deg);box-shadow:0 10px 22px rgba(0,0,0,.35);position:relative;margin-top:6px}
.ck-note::before{content:'';position:absolute;top:-9px;left:50%;width:16px;height:16px;margin-left:-8px;border-radius:50%;background:#d6313f;box-shadow:inset -3px -3px 0 rgba(0,0,0,.2)}
.ck-note h2{color:#2d2410;font-size:1.9rem;margin:0 0 8px}
.ck-myth{border-top:1px dashed rgba(45,36,16,.3);padding:9px 0 4px}
.ck-myth s{display:block;font-family:'Caveat','Comic Sans MS',cursive;font-weight:700;font-size:1.3rem;line-height:1.15;color:#3a2f15;text-decoration-color:#c0182c;text-decoration-thickness:2px}
.ck-page .ck-myth p{font-size:.92rem;line-height:1.5;color:#2d2410;margin:4px 0 6px}
.ck-page .rel-box{border-color:rgba(255,255,255,.25);background:rgba(0,0,0,.15)}
.ck-page .rl-btn{color:#152820!important;box-shadow:0 3px 0 #9a5500}
.ck-page .rl-foot a{color:#d3e2d6}
@media (max-width:760px){
  .ck-board{grid-template-columns:1fr}
  .ck-note{transform:none;max-width:520px}
  .ck-page h1{font-size:2.7rem}
}
@media (max-width:540px){
  .ck-q{font-size:1.45rem}.ck-a{font-size:1.25rem;margin-left:0}
  .ck-page h2{font-size:1.9rem}
}
