/* © 2026 Stuart Parkins. All rights reserved. Not for reuse, modification or redistribution without written permission. */
@font-face{font-family:Poppins;font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/poppins-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:Poppins;font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/poppins-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:Poppins;font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/poppins-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:Poppins;font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/poppins-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:Poppins;font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/poppins-latin-800-normal.woff2) format('woff2')}
:root{
  /* agreed style (design/STYLE.md, samples/ui-mockup.png) */
  --orange:#f39200; --orange-d:#c26f00; --orange-l:#fdebd3;
  --cream:#fbf3e6; --peach:#f8ddbb; --peach-l:#fdf0e0;
  --ink:#1d1d1b; --ink-2:#4a4743; --muted:#6f685f;
  --paper:#fffdf9; --wood:#f3e8d8; --wood-2:#eadcc8; --line:#eadfce;
  --ok:#2f7d4f; --radius:18px;
  --shadow:0 1px 2px rgba(120,80,20,.05),0 6px 18px rgba(120,80,20,.07);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:Poppins,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);font-size:16px;line-height:1.5;
  background:var(--cream);
  min-height:100vh;padding-bottom:calc(76px + env(safe-area-inset-bottom))}
img{max-width:100%;display:block}
button{font:inherit;color:inherit}
a{color:#9c5600}
.wrap{max-width:720px;margin:0 auto;padding:0 16px}
header.top{position:sticky;top:0;z-index:20;background:rgba(251,243,230,.94);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
header.top .wrap{display:flex;align-items:center;gap:12px;height:60px}
header.top img{width:40px;height:40px;border-radius:50%}
header.top .t{font-weight:800;font-size:19px;letter-spacing:-.2px;line-height:1.1}
header.top .s{font-size:12px;color:var(--muted);line-height:1.2}
header.top .back{margin-left:auto;border:0;background:var(--wood);border-radius:999px;padding:8px 14px;font-weight:500;font-size:14px;cursor:pointer}
nav.tabs{position:fixed;left:0;right:0;bottom:0;z-index:30;background:var(--paper);border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom)}
nav.tabs .wrap{display:grid;grid-template-columns:repeat(4,1fr);padding:0}
nav.tabs button{border:0;background:none;padding:8px 0 10px;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:12px;font-weight:500;color:var(--muted);cursor:pointer;min-height:60px}
nav.tabs button svg{width:24px;height:24px}
nav.tabs button.on{color:var(--orange-d)}
h1{font-size:26px;line-height:1.2;margin:20px 0 4px;font-weight:800;letter-spacing:-.3px}
h2{font-size:19px;margin:26px 0 10px;font-weight:700}
h3{font-size:16px;margin:0 0 6px;font-weight:700}
.jp{color:var(--orange-d);font-weight:500;font-size:15px}
.lead{color:var(--ink-2);margin:6px 0 16px}
.card{background:var(--paper);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px;margin:12px 0}
.plan{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.plan span{background:var(--orange-l);color:#7a4a00;border-radius:999px;padding:4px 10px;font-size:13px;font-weight:500}
.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
@media(min-width:560px){.grid{grid-template-columns:repeat(3,1fr)}}
.tile{background:var(--paper);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;border:0;padding:0;text-align:left;cursor:pointer;display:flex;flex-direction:column}
.tile .im{aspect-ratio:4/3;background:#f4efe8 center/cover no-repeat}
.tile .tx{padding:10px 12px 12px}
.tile .n{font-weight:700;font-size:15px;line-height:1.25}
.tile .c{font-size:12px;color:var(--muted)}
.list{display:flex;flex-direction:column;gap:10px;margin:12px 0}
.row{display:flex;align-items:center;gap:12px;background:var(--paper);border-radius:14px;box-shadow:var(--shadow);padding:10px;border:0;text-align:left;width:100%;cursor:pointer;min-height:72px}
.row .th{width:72px;height:54px;border-radius:10px;background:#f4efe8 center/cover no-repeat;flex:none}
.row .n{font-weight:600;line-height:1.25}
.row .c{font-size:13px;color:var(--muted)}
.row .tick{margin-left:auto;flex:none;width:26px;height:26px;border-radius:50%;border:2px solid var(--line);display:grid;place-items:center;color:#fff;font-size:15px}
.row .tick.on{background:var(--ok);border-color:var(--ok)}
.cardimg{border-radius:14px;overflow:hidden;box-shadow:var(--shadow);background:#fff;cursor:zoom-in;margin:14px 0}
.cardimg img{width:100%}
.strip{display:flex;gap:8px;overflow-x:auto;padding:4px 2px 10px;scroll-snap-type:x mandatory}
.strip img{height:120px;width:auto;border-radius:10px;scroll-snap-align:start;cursor:zoom-in;background:#fff}
ol.steps{padding-left:0;list-style:none;counter-reset:s;margin:8px 0}
ol.steps li{counter-increment:s;position:relative;padding:8px 0 8px 40px;border-bottom:1px solid #f0ebe3}
ol.steps li:last-child{border-bottom:0}
ol.steps li::before{content:counter(s);position:absolute;left:0;top:8px;width:28px;height:28px;border-radius:50%;background:var(--orange);color:#fff;font-weight:700;font-size:14px;display:grid;place-items:center}
.btns{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}
.btn{border:0;border-radius:999px;padding:12px 18px;font-weight:600;font-size:15px;cursor:pointer;display:inline-flex;align-items:center;gap:8px;min-height:48px;text-decoration:none}
.btn.pri{background:var(--orange);color:#fff}
.btn.pri:active{background:var(--orange-d)}
.btn.sec{background:#fff;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--line)}
.btn.ok{background:var(--ok);color:#fff}
.btn.big{width:100%;justify-content:center;font-size:17px;min-height:56px}
.btn svg{width:20px;height:20px}
.media{margin:10px 0}
.media video{width:100%;border-radius:12px;background:#000}
.media audio{width:100%}
.reps{background:var(--orange-l);border-radius:12px;padding:12px 14px;white-space:pre-line;font-size:15px}
details{background:#fff;border-radius:12px;box-shadow:var(--shadow);margin:12px 0}
details summary{padding:14px 16px;font-weight:600;cursor:pointer;list-style:none;display:flex;justify-content:space-between}
details summary::after{content:"+";color:var(--orange-d);font-weight:800}
details[open] summary::after{content:"–"}
details .in{padding:0 16px 14px}
.note{font-size:13px;color:var(--muted)}
.pill{display:inline-block;background:var(--wood-2);border-radius:999px;padding:2px 10px;font-size:12px;font-weight:500;color:var(--ink-2)}
.check{display:flex;align-items:center;gap:12px;padding:10px 4px;border-bottom:1px solid #f0ebe3;cursor:pointer}
.check input{width:22px;height:22px;accent-color:var(--orange);flex:none}
.check .c{font-size:12px;color:var(--muted)}
input[type=text],input[type=url]{font:inherit;width:100%;padding:12px 14px;border-radius:12px;border:1.5px solid var(--line);background:#fff}
footer.foot{margin:34px 0 10px;text-align:center;font-size:13px;color:var(--ink-2)}
footer.foot p{margin:8px 0}
footer.foot .cof{display:inline-flex;align-items:center;gap:8px;background:#fff;border-radius:999px;padding:10px 18px;font-weight:600;color:var(--ink);text-decoration:none;box-shadow:var(--shadow)}
footer.foot .sh{border:0;background:none;color:var(--orange-d);font-weight:600;text-decoration:underline;cursor:pointer;padding:0;font-size:13px}
/* zoom */
#zoom{position:fixed;inset:0;background:rgba(0,0,0,.92);z-index:60;display:none;align-items:center;justify-content:center;padding:12px}
#zoom.on{display:flex}
#zoom img{max-height:100%;max-width:100%;object-fit:contain}
#zoom button{position:absolute;top:calc(12px + env(safe-area-inset-top));right:12px;border:0;background:#fff;border-radius:999px;padding:10px 16px;font-weight:600}
/* player */
#player{position:fixed;inset:0;z-index:50;background:var(--cream);display:none;flex-direction:column}
#player.on{display:flex}
#player .ph{display:flex;align-items:center;gap:10px;padding:calc(10px + env(safe-area-inset-top)) 16px 10px;background:#fff;border-bottom:1px solid var(--line)}
#player .ph .stage{font-weight:700;color:var(--orange-d);font-size:14px;text-transform:uppercase;letter-spacing:.5px}
#player .ph .cnt{font-size:13px;color:var(--muted)}
#player .ph .x{margin-left:auto;border:0;background:var(--wood);border-radius:999px;padding:8px 14px;font-weight:600;cursor:pointer}
#player .bar{height:4px;background:var(--wood-2)}
#player .bar i{display:block;height:100%;background:var(--orange);width:0;transition:width .3s}
#player .pb{flex:1;overflow:auto;padding:14px 16px}
#player .pimg{border-radius:14px;overflow:hidden;background:#fff;box-shadow:var(--shadow);max-width:520px;margin:0 auto}
#player .pimg img{width:100%;max-height:38vh;object-fit:contain;background:#fff}
#player .pname{font-size:24px;font-weight:800;text-align:center;margin:14px 0 0;line-height:1.2}
#player .pjp{text-align:center}
#player .pdose{text-align:center;color:var(--ink-2);margin:6px 0}
.seq{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:8px 0}
.seq span{background:#fff;border-radius:999px;padding:6px 12px;font-weight:600;box-shadow:var(--shadow);font-size:14px}
#player .timer{font-size:56px;font-weight:800;text-align:center;font-variant-numeric:tabular-nums;line-height:1;margin:10px 0 2px}
#player .tl{font-size:13px;text-align:center;color:var(--muted)}
#player .next{text-align:center;font-size:14px;color:var(--ink-2);margin-top:6px}
#player .pc{display:grid;grid-template-columns:1fr 1.3fr 1fr;gap:10px;padding:12px 16px calc(14px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line)}
#player .pc button{min-height:64px;border-radius:16px;border:0;font-weight:700;font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px}
#player .pc .pp{background:var(--orange);color:#fff;font-size:18px}
#player .pc .sk{background:var(--wood)}
.done-big{text-align:center;padding:30px 10px}
.done-big .em{font-size:54px}
.kstep{text-align:center}
.kstep .im{background:#fff;border-radius:14px;box-shadow:var(--shadow);padding:10px;display:inline-block;max-width:100%}
.kstep .im img{max-height:46vh;width:auto;margin:0 auto;cursor:zoom-in}
.kprog{height:6px;border-radius:6px;background:var(--wood-2);overflow:hidden;margin:10px 0}
.kprog i{display:block;height:100%;background:var(--orange)}
.empty{color:var(--muted);text-align:center;padding:20px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
/* ---- v2 additions ---- */
.pic{aspect-ratio:4/3;background:#fff center/cover no-repeat;border-radius:12px}
.pic.contain{background-size:contain}
.tile .pic{border-radius:0}
.row .th .pic{width:72px;height:54px;border-radius:10px}
.combo3{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:6px;max-width:520px;margin:0 auto}
.gallery.one{grid-template-columns:1fr}
#player .ptile .pic{max-height:38vh;margin:0 auto;background-size:contain}
[hidden]{display:none!important}
@media(max-width:420px){header.top .s{display:none}header.top .t{font-size:17px}}
header.top .brand{display:flex;align-items:center;gap:12px;min-height:44px;border:0;background:none;padding:0;cursor:pointer;text-align:left}
header.top .acts{margin-left:auto;display:flex;gap:8px}
header.top .acts button{border:0;background:var(--wood);border-radius:999px;padding:8px 12px;font-weight:600;font-size:14px;cursor:pointer;display:inline-flex;align-items:center;gap:6px;min-height:40px}
header.top .acts svg{width:18px;height:18px}
/* the set Pocket Karate tile style */
.pkt{position:relative;aspect-ratio:4/3;border-radius:12px;overflow:hidden;container-type:inline-size;
  background-color:#e9e4dc;
  background-image:linear-gradient(180deg,rgba(255,255,255,.55),rgba(255,255,255,.15)),
    repeating-linear-gradient(90deg,rgba(0,0,0,0) 0 31%,rgba(110,95,80,.10) 31% 31.6%),
    repeating-linear-gradient(0deg,rgba(255,255,255,.25) 0 2px,rgba(150,135,115,.08) 2px 5px,rgba(255,255,255,.12) 5px 9px);
  color:var(--ink);text-align:left}
.pkt .lg{position:absolute;left:5%;top:7%;width:20%;aspect-ratio:1;border-radius:50%;background:var(--orange) center/cover;box-shadow:0 1px 3px rgba(0,0,0,.15)}
.pkt .km{position:absolute;right:5%;top:6%;font-size:5.2cqw;color:#55504a;letter-spacing:.3px}
.pkt .ct{position:absolute;right:5%;top:15%;font-size:6cqw;font-weight:800;color:var(--orange)}
.pkt .ic{position:absolute;left:4%;bottom:6%;width:36%;color:var(--orange)}
.pkt .ic svg{width:100%;height:auto}
.pkt .nm{position:absolute;right:5%;left:38%;bottom:22%;font-size:9cqw;font-weight:800;line-height:1.05;text-align:right}
.pkt .jn{position:absolute;right:5%;left:38%;bottom:9%;font-size:5.4cqw;color:#55504a;text-align:right;font-variant:small-caps;letter-spacing:.4px}
.pkt.big .nm{font-size:8cqw}
.pkt.mini .km,.pkt.mini .ct,.pkt.mini .nm,.pkt.mini .jn{display:none}
.pkt.mini .ic{left:50%;top:50%;bottom:auto;width:62%;transform:translate(-50%,-44%)}
.pkt.mini .lg{width:22%;left:4%;top:5%}
.tile .pkt{border-radius:0}
.row .th{overflow:hidden;background:none}
.row .th .pkt{width:72px;height:54px;border-radius:10px}
.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px;margin:10px 0}
.gallery img{width:100%;border-radius:10px;background:#fff;cursor:zoom-in;aspect-ratio:4/3;object-fit:cover}
.tip{background:#fff;border-left:4px solid var(--orange);border-radius:8px;padding:10px 12px;margin:10px 0}
.btn.yt{background:#fff;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--line)}
.btn.yt svg{color:#e1251b}
.btn.speaking{background:var(--ink);color:#fff}
#player .ptile{max-width:420px;margin:0 auto}
#player .psteps{max-width:520px;margin:8px auto 0;font-size:14px;color:var(--ink-2)}
select{font:inherit;padding:10px 12px;border-radius:12px;border:1.5px solid var(--line);background:#fff}

/* ==== Run 01: agreed visual style (cream, peach circles, orange accents, rounded cards) ==== */
h1{font-weight:700;letter-spacing:-.2px}
.card,.row,details,.tile{border:1px solid var(--line)}
.card,details{background:var(--paper)}
.btn.big{border-radius:999px;font-weight:600;box-shadow:0 6px 16px rgba(243,146,0,.28)}
.btn.big.sec,.btn.big.ok{box-shadow:none}
.btn.sec{background:var(--paper)}
.btn svg{flex:none}
.reps{background:var(--peach-l);border:1px solid var(--line)}
.plan span{background:var(--peach-l);color:#7a4a00;border:1px solid var(--peach)}
/* round orange icon disc (mockup section icon) */
.disc{width:52px;height:52px;border-radius:50%;background:var(--orange);color:#fff;display:grid;place-items:center;flex:none;box-shadow:0 4px 12px rgba(243,146,0,.3)}
.disc svg{width:72%;height:72%}
.disc svg [stroke="#1d1d1b"],.disc svg [fill="#1d1d1b"]{stroke:#fff;fill:#fff}
/* image on a peach circle (until Run 2 sticker tiles replace the photos) */
.peach{position:relative;aspect-ratio:1/1;background:var(--peach-l);overflow:hidden;display:grid;place-items:center}
.peach::before{content:"";position:absolute;width:76%;aspect-ratio:1;border-radius:50%;background:var(--peach);top:9%}
.peach .ph{position:relative;width:66%;aspect-ratio:1;border-radius:50%;background:#fff center/cover no-repeat;box-shadow:0 0 0 4px #fff,0 6px 14px rgba(120,80,20,.12);margin-top:-6%}
.peach .ph.contain{background-size:contain}
/* section navigation tiles */
.stile{display:flex;flex-direction:column;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;padding:0;text-align:left;cursor:pointer;color:var(--ink);min-height:44px}
.stile .tx{padding:10px 12px 12px;display:flex;flex-direction:column;gap:6px;flex:1}
.stile .n{font-weight:700;font-size:16px;line-height:1.2}
.stile .ft{display:flex;align-items:center;justify-content:space-between;margin-top:auto}
.stile .cnt{background:var(--peach-l);color:#8a5200;border-radius:999px;padding:2px 10px;font-size:12px;font-weight:600}
.stile .arr{color:var(--orange);font-size:20px;line-height:1;font-weight:600}
/* simple tile list rows */
.row{background:var(--paper);border-radius:16px;padding:8px 10px 8px 8px;min-height:76px}
.row .th{width:76px;height:60px;border-radius:12px;background:var(--peach-l);overflow:hidden;flex:none}
.row .th .pic{width:76px;height:60px;border-radius:12px}
.row .n{font-weight:600}
.row .chev{margin-left:8px;color:var(--orange);font-size:22px;font-weight:600;flex:none}
.row .tick{margin-left:auto}
.row .tick + .chev{margin-left:6px}
/* section header (mockup: simple tile list) */
.shead{display:flex;align-items:center;gap:14px;margin:18px 0 6px}
.shead h1{margin:0}
.shead .sub{font-size:13px;color:var(--muted)}
/* steps: orange numbered circles, roomier */
ol.steps li{padding:9px 0 9px 44px;border-bottom:0}
ol.steps li::before{width:30px;height:30px;top:7px}
header.top .acts button{background:var(--paper);border:1px solid var(--line)}
#player .ph,#player .pc{background:var(--paper)}
#player .pc .sk{background:var(--peach-l)}
#player .ph .x{background:var(--peach-l)}
footer.foot .cof{background:var(--paper);border:1px solid var(--line)}
.kstep .im{background:var(--paper)}
header.top .acts button{white-space:nowrap;min-height:44px}
header.top .t{white-space:nowrap}
@media(max-width:420px){header.top .acts button{padding:8px 11px}}

/* ==== Run 02: sticker tiles, level switch, player ==== */
.stk{position:relative;aspect-ratio:1/1;background:var(--cream);overflow:hidden;display:block}
.stk img{width:100%;height:100%;object-fit:cover;display:block}
.stk.picto{display:grid;place-items:center}
.stk.picto::before{content:"";position:absolute;width:75%;aspect-ratio:1;border-radius:50%;background:var(--peach);top:9.5%;left:12.5%}
.stk.picto .pg{position:relative;width:48%;color:var(--orange);margin-top:-6%}
.stk.picto .pg svg{width:100%;height:auto;display:block}
.stk.kimg{background:var(--cream)}
.stk.kimg img{object-fit:contain;padding:8%}
.row .th .stk{width:60px;height:60px;border-radius:12px}
.row .th{width:60px;height:60px;background:var(--cream)}
.stile .stk{border-bottom:1px solid var(--line)}
#player .ptile .stk{width:min(240px,34vh);margin:0 auto;border-radius:50%}
#player .combo3 .stk{border-radius:50%}
.seq .ar{background:none;box-shadow:none;padding:6px 0;color:var(--orange-d)}
#player .preps{max-width:520px;margin:8px auto;background:var(--peach-l);border:1px solid var(--line);border-radius:12px;padding:10px 12px;font-size:14px;white-space:pre-line}
.lvl{display:inline-flex;background:var(--peach-l);border:1px solid var(--line);border-radius:999px;padding:4px;gap:4px;margin:0 0 10px}
.lvl button{border:0;background:none;border-radius:999px;padding:8px 14px;min-height:44px;font-weight:600;font-size:14px;cursor:pointer;color:var(--ink-2)}
.lvl button.on{background:var(--orange);color:#fff}
button.cardimg{display:block;width:100%;padding:0;border:1px solid var(--line);position:relative;text-align:left}
.cardimg .zm{position:absolute;right:8px;bottom:8px;background:rgba(255,253,249,.92);border-radius:999px;padding:3px 10px;font-size:12px;font-weight:600;color:var(--ink-2)}
.kstep button.im{border:0;cursor:zoom-in}
#player .ptile .combo3 .stk{width:auto;max-width:none}
#player .ptile .combo3{max-width:360px}

/* ---------- Run 03: glossary, From Stuart panels, offline media ---------- */
input[type=search]{font:inherit;width:100%;padding:12px 14px;border-radius:12px;border:1.5px solid var(--line);background:#fff;min-height:48px;margin:4px 0 14px}
.gloss{display:flex;flex-direction:column;gap:10px}
.gterm h3{margin:0 0 4px}
.gterm p{margin:6px 0}
.gterm .btn{margin-top:6px}
.gterm[hidden]{display:none}
.stk.picto .pg.gl{font-size:17px;font-weight:800;color:var(--orange-d);width:auto;margin-top:-4%}
.fromstu{font-size:15px;background:var(--peach-l);border-left:4px solid var(--orange);border-radius:12px;padding:12px 14px;margin:14px 0}
.fromstu .fh{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#7a4a00}
.fromstu .ft{font-weight:600;margin:2px 0 4px}
.fromstu p{margin:6px 0}
.btn.off{opacity:.45;cursor:not-allowed;pointer-events:none}
.needs{background:#fff3cd;border:1px solid #e9c46a;color:#5c4400;border-radius:12px;padding:10px 12px;font-size:14px;margin:-4px 0 12px}
.gloss .card{margin:0}
/* personal video link (Run 05) */
.lnk{font:inherit;font-weight:600;color:var(--orange-d);background:none;border:0;padding:12px 4px;min-height:44px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.myvform{background:#fff;border-radius:14px;padding:12px 14px;margin:0 0 12px;box-shadow:var(--shadow)}
.myvform .note{display:block;margin:0 0 6px}
/* getting-started guide (Run 07) */
.glist{padding-left:20px;margin:8px 0 14px}.glist li{margin:0 0 10px;line-height:1.5}
/* why train karate (Run 08) */
.why{margin:22px 0 8px}.why .banner{width:100%;height:auto;border-radius:14px;display:block;box-shadow:var(--shadow)}
.why blockquote{margin:10px 0;padding:10px 14px;border-left:4px solid var(--orange);background:#fff;border-radius:0 12px 12px 0;font-style:italic}
.why blockquote cite{display:block;font-style:normal;font-size:13px;color:var(--muted);margin-top:4px}
.abc{display:grid;gap:10px;margin:10px 0}.abc .card{margin:0}.abch{font-weight:700;display:flex;align-items:center;gap:10px;font-size:18px}
.abcl{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--orange);color:#fff;font-weight:800}
.whynav .btn{padding:10px 14px}
/* 20 Oct 2026 – pathway, points, badges, certificates */
.seq span.cue{background:var(--orange-l);color:#7a4a00;font-style:italic}
.row .pts{margin-left:auto;flex:none;font-weight:700;color:var(--orange-d);font-size:14px}
.stn{flex:none;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--wood);color:var(--ink-2);font-weight:800;font-size:17px}
.stn.on{background:var(--ok);color:#fff}
.progc{display:flex;align-items:center;gap:6px;width:100%;border:0;cursor:pointer;text-align:center}
.progc .pcn{flex:1;display:flex;flex-direction:column}
.progc .pcn b{font-size:24px;line-height:1.1;color:var(--orange-d)}
.progc .pcn span{font-size:12px;color:var(--muted)}
.progc .chev{color:var(--muted);font-size:20px}
.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:12px 0}
@media(min-width:520px){.stats{grid-template-columns:repeat(4,1fr)}}
.stats div{background:var(--paper);border-radius:14px;box-shadow:var(--shadow);padding:12px;text-align:center;display:flex;flex-direction:column}
.stats b{font-size:28px;line-height:1.1;color:var(--orange-d)}
.stats span{font-size:13px;color:var(--muted)}
h2 .note{font-weight:500;font-size:13px;margin-left:6px}
.badges{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:8px 0 14px}
@media(min-width:520px){.badges{grid-template-columns:repeat(3,1fr)}}
h3.bfam{margin:18px 0 4px;font-size:16px}
h3.bfam .note{font-weight:500;font-size:13px;margin-left:4px}
.badge{background:var(--paper);border-radius:14px;box-shadow:var(--shadow);padding:10px 10px 12px;text-align:center;display:flex;flex-direction:column;align-items:center}
.badge .medal{width:68px;height:82px;margin:0 auto 4px;filter:grayscale(.8) opacity(.45)}
.badge.on .medal{filter:drop-shadow(0 2px 3px rgba(120,80,20,.25))}
.badge .bn{font-weight:700;font-size:14px;line-height:1.25}
.badge:not(.on) .bn{color:var(--ink-2)}
.badge .bh{font-size:12px;color:var(--muted);line-height:1.3;margin-top:2px}
.badge.on .bh{color:var(--ok);font-weight:600}
.badge .bt{font-size:12px;font-weight:600;color:var(--orange-d);margin-top:2px}
.bgo{width:100%;max-width:140px;height:6px;border-radius:3px;background:#efe7db;margin:6px auto 0;overflow:hidden}
.bgo i{display:block;height:100%;background:var(--orange);border-radius:3px}
.btn.sm{padding:6px 12px;min-height:36px;font-size:13px;margin-top:8px}
.nextb{display:flex;align-items:center;gap:12px;padding:10px 14px}
.nextb .medal{width:52px;height:62px;flex:none;filter:grayscale(.6) opacity(.75)}
.nextb .nbx{flex:1;min-width:0}
.nextb .n{font-weight:700;line-height:1.2}
.nextb .note{margin:0;font-size:12px}
.nextb .bgo{max-width:none;margin:6px 0 2px;height:8px;border-radius:4px}
.nextb .bt{font-size:13px;font-weight:600;color:var(--orange-d)}
.ptsum{background:var(--paper);border-radius:14px;box-shadow:var(--shadow);padding:12px 14px;margin:14px auto;max-width:420px;text-align:left}
.ptbig{font-size:34px;font-weight:800;color:var(--orange-d);text-align:center;line-height:1.1;margin-bottom:6px}
.ptbig span{font-size:16px;font-weight:600}
.ptl{display:flex;justify-content:space-between;gap:10px;font-size:14px;padding:4px 0;border-top:1px solid #f0ebe3}
.ptl b{color:var(--orange-d)}
.newb{max-width:420px;margin:14px auto;position:relative}
.newb .nbh{font-size:22px;font-weight:800;color:var(--orange-d);margin-bottom:6px}
.newb .nbl{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.newb .badge{width:150px;position:relative;overflow:hidden}
.newb .badge::before{content:"";position:absolute;inset:-40%;background:repeating-conic-gradient(from 0deg,rgba(243,146,0,.13) 0 12deg,transparent 12deg 30deg);animation:rays 14s linear infinite;z-index:0}
.newb .badge>*{position:relative;z-index:1}
.newb .badge .medal{width:96px;height:115px;animation:pop .7s cubic-bezier(.2,1.4,.4,1) both}
@keyframes pop{0%{transform:scale(.2) rotate(-25deg);opacity:0}100%{transform:none;opacity:1}}
@keyframes rays{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.newb .badge::before,.newb .badge .medal{animation:none}}
.certimg{width:100%;border-radius:10px;box-shadow:var(--shadow);margin:14px 0 4px}
details ul{padding-left:20px;margin:6px 0}
details li{margin:6px 0}

/* 29 Oct 2026 – quick "how to" in the session player */
#player .phow{max-width:520px;margin:8px auto;background:var(--paper);border:1px solid var(--line);border-radius:12px;text-align:left}
#player .phow summary{padding:10px 14px;font-weight:700;cursor:pointer;min-height:44px;display:flex;align-items:center}
#player .phow .in{padding:0 14px 12px}
#player .phow .steps{margin:8px 0 0;padding-left:22px;font-size:15px}
#player .phow .steps li{margin:4px 0}
#player .pcard{display:block;position:relative;width:100%;border:0;padding:0;background:none;cursor:zoom-in;border-radius:10px;overflow:hidden}
#player .pcard img{width:100%;height:auto}
#player .pcard span{position:absolute;right:8px;bottom:8px;background:rgba(255,255,255,.9);border-radius:999px;padding:3px 10px;font-size:12px;font-weight:600}

/* 29 Oct 2026 – welcome note for DE/FR/ES visitors */
.langnote{background:var(--orange-l);border-bottom:1px solid var(--line)}
.langnote .wrap{padding-top:12px;padding-bottom:12px}
.langnote p{margin:0 0 8px;font-size:14px;line-height:1.45}
.langnote .lnb{display:flex;gap:10px;align-items:center;justify-content:flex-end}
.langnote .lnb a{font-size:14px;font-weight:600;padding:8px 4px}
.langnote .lnb button{border:0;background:var(--ink);color:#fff;border-radius:999px;padding:8px 16px;min-height:40px;font-weight:600;cursor:pointer}
/* Pocket Karate Club (Run 20) */
a.row{color:inherit;text-decoration:none}
.clubmsg{margin:6px 0 0;color:var(--orange-d);font-weight:500}
.clubmsg:empty{display:none}
.badge .clubmsg{font-size:12px;line-height:1.3}
