/* Lekando "Registry" identity layer (2026-12). Loaded last, only when lk_ui_reg() is on.
   Tokens live here; every new rule reads them. Scoped to html.lk-r so the old look is untouched. */
html.lk-r{
  --r-bg:#fff;--r-ink:#121820;--r-mute:#4b5863;--r-rule:#dce3e8;--r-surf:#f5f8fa;
  --r-navy:#153E50;--r-navy-2:#0e2a38;--r-link:#1f5f7d;--r-ok:#1f7a4d;--r-signal:#d9531e;
  --r-rad:12px;--r-gap:16px;--r-head:64px;--r-max:1200px;
  --r-font:Arial,"Helvetica Neue",Helvetica,sans-serif;
}
html.lk-r[data-theme=dark]{
  --r-bg:#121820;--r-ink:#e8eef2;--r-mute:#a3b3bf;--r-rule:#28333d;--r-surf:#18212a;
  --r-navy:#8cc3dc;--r-link:#9ccfe6;--r-ok:#5cc48f;--r-signal:#ff8a5c;
}
html.lk-r body{font-family:var(--r-font)}
html.lk-r :focus-visible{outline:3px solid #2e8bc0;outline-offset:2px;border-radius:6px}

/* ---------- header ---------- */
html.lk-r .bar.lkr-bar{position:sticky;top:0;z-index:40;display:flex;align-items:center;gap:10px;height:var(--r-head);
  padding:0 max(16px,env(safe-area-inset-left,0px));margin:0;background:var(--r-bg);color:var(--r-ink);
  border:0;border-bottom:1px solid var(--r-rule);border-radius:0;box-shadow:none;max-width:none;width:auto;inset:auto}
html.lk-r .lkr-logo{display:flex;align-items:center;gap:10px;flex:none;color:var(--r-navy);text-decoration:none;min-height:44px}
html.lk-r[data-theme=dark] .lkr-logo{color:#fff}
html.lk-r .lkr-mark{flex:none;display:block}
html.lk-r[data-theme=dark] .lkr-mark .lkr-mbg{fill:#2a6886}
html.lk-r .lkr-wm{display:block;height:22px;width:auto}
html.lk-r .lkr-nav{display:flex;align-items:center;gap:2px;flex:1;min-width:0;margin-inline-start:8px;overflow:hidden}
html.lk-r .lkr-nav a{display:flex;align-items:center;min-height:40px;padding:0 11px;border-radius:9px;color:var(--r-ink);text-decoration:none;font-size:15px;white-space:nowrap;opacity:1}
html.lk-r .lkr-nav a:hover{background:var(--r-surf)}
html.lk-r .lkr-nav a[aria-current]{color:var(--r-navy);font-weight:700;background:var(--r-surf)}
html.lk-r .lkr-bar .bar-star,html.lk-r .lkr-bar .bar-theme,html.lk-r .lkr-bar .bar-lang{
  flex:none;width:40px;height:40px;min-height:40px;padding:0;display:grid;place-items:center;border-radius:10px;
  border:1px solid var(--r-rule);background:transparent;color:var(--r-ink);margin:0;box-shadow:none}
html.lk-r .lkr-bar .bar-lang{width:auto;padding:0 12px;font-size:14px;font-weight:700;text-decoration:none}
html.lk-r .lkr-bar .bar-star:hover,html.lk-r .lkr-bar .bar-theme:hover,html.lk-r .lkr-bar .bar-lang:hover{background:var(--r-surf);color:var(--r-navy)}
html.lk-r .lkr-bar .bar-star svg{width:20px;height:20px}
html.lk-r .lkr-bar .bar-theme svg{width:20px;height:20px}
html.lk-r .lkr-search{display:flex;align-items:center;gap:8px;flex:none;height:40px;padding:0 10px 0 12px;border:1px solid var(--r-rule);border-radius:10px;background:var(--r-surf);color:var(--r-mute);font:inherit;font-size:14px;cursor:pointer;min-width:200px}
html.lk-r .lkr-search kbd{margin-inline-start:auto;font:12px var(--r-font);direction:ltr;border:1px solid var(--r-rule);border-radius:6px;padding:2px 6px;background:var(--r-bg)}
html.lk-r .lkr-bar #lkPalBtn{display:none}

/* ---------- home: stats ---------- */
html.lk-r .lkr-stats{max-width:var(--r-max);margin:28px auto 8px;padding:0 16px}
html.lk-r .lkr-sh h2{font-size:22px;line-height:1.2;margin:0 0 14px;color:var(--r-ink)}
html.lk-r .lkr-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(9.5em,1fr));gap:10px}
html.lk-r .lkr-kpi{display:block;padding:14px 16px;border:1px solid var(--r-rule);border-radius:var(--r-rad);background:var(--r-bg);color:var(--r-ink);text-decoration:none;min-height:44px;transition:border-color .15s,transform .15s}
html.lk-r .lkr-kpi:hover{border-color:var(--r-navy);transform:translateY(-1px)}
html.lk-r .lkr-kpi b{display:block;font-size:clamp(24px,3vw,32px);line-height:1.15;font-weight:900;color:var(--r-navy);font-variant-numeric:tabular-nums;direction:ltr;text-align:start;unicode-bidi:isolate}
html.lk-r[dir=rtl] .lkr-kpi b{text-align:end}
html.lk-r .lkr-kpi span{font-size:14px;color:var(--r-mute)}
html.lk-r .lkr-src{font-size:13px;color:var(--r-mute);margin:10px 0 0}

/* ---------- footer ---------- */
html.lk-r .foot.lkr-foot{background:#0f1a22;color:#c9d6de;padding:40px 16px calc(24px + env(safe-area-inset-bottom,0px));margin-top:32px;text-align:start;border:0}
html.lk-r .lkr-fcols{max-width:var(--r-max);margin:auto;display:grid;grid-template-columns:minmax(0,1.4fr) repeat(4,minmax(0,1fr));gap:24px}
html.lk-r .lkr-fc h2{font-size:15px;color:#fff;margin:0 0 10px}
html.lk-r .lkr-fc ul{list-style:none;margin:0;padding:0}
html.lk-r .lkr-foot a{color:#c9d6de;text-decoration:none}
html.lk-r .lkr-foot a:hover{color:#fff;text-decoration:underline}
html.lk-r .lkr-fc a{display:block;padding:6px 0;font-size:14px;min-height:32px}
html.lk-r .lkr-fbrand p{font-size:14px;line-height:1.6;margin:12px 0;color:#a9bac6}
html.lk-r .lkr-foot .lkr-logo{color:#fff}
html.lk-r .lkr-foot .lkr-mark .lkr-mbg{fill:#2a6886}
html.lk-r .lkr-contact{display:grid;gap:2px;border:1px solid #ffffff26;border-radius:12px;padding:12px;font-size:13px}
html.lk-r .lkr-contact span{color:#8fa3b1;margin-top:4px}
html.lk-r .lkr-contact a{display:flex;align-items:center;gap:8px;min-height:36px;font-size:14px;overflow-wrap:anywhere}
html.lk-r .lkr-soc{display:flex;gap:8px;list-style:none;padding:0;margin:12px 0 0}
html.lk-r .lkr-soc a{display:grid;place-items:center;width:40px;height:40px;border:1px solid #ffffff26;border-radius:10px}
html.lk-r .lkr-flegal{max-width:var(--r-max);margin:24px auto 0;padding-top:14px;border-top:1px solid #ffffff1f;font-size:13px;color:#8fa3b1}

/* ---------- mobile bottom bar ---------- */
html.lk-r .lkr-bn{display:none}
@media (max-width:860px){
  html.lk-r .lkr-nav,html.lk-r .lkr-search,html.lk-r .lkr-bar #lkStar{display:none}
  html.lk-r .lkr-bar{gap:6px;height:58px}
  html.lk-r .lkr-bar .lkr-logo{margin-inline-end:auto}
  html.lk-r .lkr-bar #lkPalBtn{display:grid}
  html.lk-r .lkr-wm{height:21px}
  html.lk-r .lkr-bn{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;inset-inline:0;bottom:0;z-index:45;
    background:color-mix(in srgb,var(--r-bg) 96%,transparent);border-top:1px solid var(--r-rule);padding:4px 4px calc(4px + env(safe-area-inset-bottom,0px))}
  html.lk-r .lkr-bn a,html.lk-r .lkr-bn button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:52px;
    color:var(--r-mute);text-decoration:none;font:11.5px var(--r-font);background:none;border:0;padding:0;cursor:pointer}
  html.lk-r .lkr-bn [aria-current]{color:var(--r-navy);font-weight:700}
  html.lk-r body{padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))}
  html.lk-r .lkr-fcols{grid-template-columns:repeat(2,minmax(0,1fr))}
  html.lk-r .lkr-fbrand{grid-column:1/-1}
}
@media (max-width:420px){html.lk-r .lkr-bar .bar-lang{padding:0 9px}html.lk-r .lkr-bar #lkDrawerBtn{display:none}}
@media (prefers-reduced-motion:reduce){html.lk-r .lkr-kpi{transition:none}html.lk-r .lkr-kpi:hover{transform:none}}
@media print{html.lk-r .lkr-bn,html.lk-r .lkr-bar{display:none}}

/* home v3 under registry: the header carries the logo now */
html.lk-r .lkh-brand{display:none}

/* existing mobile tab bar (.lk-tabs from site.js), in registry colours */
html.lk-r .lk-tabs{background:color-mix(in srgb,var(--r-bg) 97%,transparent)!important;border-top:1px solid var(--r-rule)!important;box-shadow:none!important;backdrop-filter:none!important}
html.lk-r .lk-tabs a,html.lk-r .lk-tabs button{color:var(--r-mute)!important;font-family:var(--r-font)!important}
html.lk-r .lk-tabs [aria-current],html.lk-r .lk-tabs .on,html.lk-r .lk-tabs .is-on{color:var(--r-navy)!important}
@media (max-width:420px){html.lk-r .lkr-bar #lkOrbBtn{display:none}html.lk-r .lkr-wm{height:19px}html.lk-r .lkr-bar .lkr-mark{width:32px;height:32px}html.lk-r .lkr-bar .bar-star,html.lk-r .lkr-bar .bar-theme{width:38px;height:38px;min-height:38px}}

/* ================= HOME (registry) ================= */
html.lk-r .page-home main#main{max-width:none;padding:0;margin:0}
html.lk-r .lkh-reg{--k:#153E50;color:var(--r-ink)}
html.lk-r .lkh-reg h2{font-size:clamp(20px,2.4vw,24px);line-height:1.25;margin:0;color:var(--r-ink);text-align:start}
html.lk-r .lkr-hero{position:relative;z-index:5;overflow:visible;background:linear-gradient(160deg,#0e2a38 0%,#153e50 62%,#1b5470 100%);color:#fff;padding:clamp(36px,6vw,72px) 16px clamp(28px,4vw,44px)}
html.lk-r .lkr-hero::before{content:"";position:absolute;inset:0;background-image:linear-gradient(#ffffff0f 1px,transparent 1px),linear-gradient(90deg,#ffffff0f 1px,transparent 1px);background-size:44px 44px;-webkit-mask-image:radial-gradient(ellipse at 50% 0,#000 20%,transparent 75%);mask-image:radial-gradient(ellipse at 50% 0,#000 20%,transparent 75%);pointer-events:none}
html.lk-r .lkr-hin{position:relative;max-width:820px;margin:auto;text-align:center}
html.lk-r .lkr-seal{display:inline-flex;align-items:center;gap:8px;margin:0 0 16px;padding:6px 12px;border:1px solid #ffffff33;border-radius:999px;font-size:13px;color:#d4e4ec}
html.lk-r .lkr-seal span{width:8px;height:8px;border-radius:50%;background:#5cc48f;box-shadow:0 0 0 3px #5cc48f33}
html.lk-r .lkr-hero h1{font-size:clamp(30px,5vw,50px);line-height:1.1;letter-spacing:-.01em;margin:0 0 12px;color:#fff;text-wrap:balance;font-weight:900}
html.lk-r .lkr-lead{font-size:clamp(15px,1.8vw,18px);line-height:1.65;color:#cfe0e8;margin:0 auto 24px;max-width:62ch;text-wrap:pretty}
html.lk-r .lkr-q{display:flex;align-items:center;gap:10px;max-width:680px;margin:0 auto;height:60px;padding:0 6px 0 16px;background:#fff;color:#121820;border-radius:16px;box-shadow:0 10px 30px #0000003d}
html.lk-r[dir=rtl] .lkr-q{padding:0 16px 0 6px}
html.lk-r .lkr-q svg{flex:none;color:#4b5863}
html.lk-r .lkr-q input{flex:1;min-width:0;height:48px;border:0;outline:0;background:transparent;font:17px var(--r-font);color:#121820;text-align:start}
html.lk-r .lkr-q input::-webkit-search-cancel-button{display:none}
html.lk-r .lkr-q button{flex:none;height:48px;padding:0 22px;border:0;border-radius:11px;background:#F26A3D;color:#fff;font:700 16px var(--r-font);cursor:pointer}
html.lk-r .lkr-q button:hover{background:#d9531e}
html.lk-r .lkr-q:focus-within{outline:3px solid #8cc3dc;outline-offset:3px}
html.lk-r .lkr-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:16px 0 0}
html.lk-r .lkr-chips a{display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:0 15px;border:1px solid #ffffff38;border-radius:999px;background:#ffffff12;color:#fff;font-size:14.5px;text-decoration:none}
html.lk-r .lkr-chips a:hover{background:#ffffff24}
html.lk-r .lkr-hstats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:28px auto 0;max-width:760px;background:#ffffff26;border:1px solid #ffffff26;border-radius:14px;overflow:hidden}
html.lk-r .lkr-hstats a{display:block;padding:14px 10px;background:#123647;color:#fff;text-decoration:none;text-align:center}
html.lk-r .lkr-hstats a:hover{background:#164259}
html.lk-r .lkr-hstats b{display:block;font-size:clamp(22px,3vw,30px);line-height:1.1;font-weight:900;font-variant-numeric:tabular-nums;direction:ltr;unicode-bidi:isolate}
html.lk-r .lkr-hstats span{display:block;font-size:13px;color:#a9c7d6;margin-top:3px}
html.lk-r .lkr-rec{display:flex;align-items:center;gap:10px;max-width:var(--r-max);margin:18px auto 0;padding:0 16px;font-size:14px}
html.lk-r .lkr-rec[hidden]{display:none}
html.lk-r .lkr-rec b{flex:none;color:var(--r-mute);font-weight:700}
html.lk-r #lkrRecL{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}
html.lk-r #lkrRecL a{flex:none;display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border:1px solid var(--r-rule);border-radius:999px;color:var(--r-link);text-decoration:none;white-space:nowrap}
html.lk-r .lkr-sec{max-width:var(--r-max);margin:0 auto;padding:clamp(28px,4vw,44px) 16px 0}
html.lk-r .lkr-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
html.lk-r .lkr-more{font-size:14px;font-weight:700;color:var(--r-link);text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
html.lk-r .lkr-more::after{content:" ←";white-space:pre}
html.lk-r[dir=ltr] .lkr-more::after{content:" →"}
html.lk-r .lkr-vt{display:flex;border:1px solid var(--r-rule);border-radius:10px;overflow:hidden;flex:none}
html.lk-r .lkr-vt button{width:44px;height:40px;display:grid;place-items:center;border:0;background:transparent;color:var(--r-mute);cursor:pointer}
html.lk-r .lkr-vt button[aria-pressed=true]{background:var(--r-navy);color:var(--r-bg)}
/* section cards: index tabs */
html.lk-r .lkr-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px 14px;padding-top:14px}
html.lk-r .lkr-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:18px 16px 16px;min-height:150px;border:1px solid var(--r-rule);border-radius:0 var(--r-rad) var(--r-rad) var(--r-rad);background:var(--r-bg);color:var(--r-ink);text-decoration:none;text-align:start;transition:border-color .15s,box-shadow .15s,transform .15s}
html.lk-r[dir=rtl] .lkr-card{border-radius:var(--r-rad) 0 var(--r-rad) var(--r-rad)}
html.lk-r .lkr-card::before{content:"";position:absolute;top:-9px;inset-inline-start:-1px;width:56px;height:9px;background:var(--k);border-radius:6px 6px 0 0}
html.lk-r .lkr-card:hover{border-color:var(--k);box-shadow:0 8px 24px #0b1d2714;transform:translateY(-2px)}
html.lk-r .lkr-card .lkr-ic{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;background:var(--k);color:#fff}
html.lk-r .lkr-tx{display:flex;flex-direction:column;gap:3px}
html.lk-r .lkr-card b{font-size:17px;line-height:1.3}
html.lk-r .lkr-card small{font-size:14px;line-height:1.5;color:var(--r-mute)}
html.lk-r .lkr-card em{margin-top:auto;font-style:normal;font-size:13px;font-weight:700;color:var(--k)}
html.lk-r[data-theme=dark] .lkr-card em{color:var(--r-navy)}
html.lk-r .lkr-grid[data-v=list]{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-top:0}
html.lk-r .lkr-grid[data-v=list] .lkr-card{flex-direction:row;align-items:center;min-height:0;padding:12px 14px;border-radius:var(--r-rad)}
html.lk-r .lkr-grid[data-v=list] .lkr-card::before{display:none}
html.lk-r .lkr-grid[data-v=list] small{display:none}
html.lk-r .lkr-grid[data-v=list] em{margin:0;margin-inline-start:auto}
html.lk-r .lkr-grid[data-v=ring]{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 10px;scrollbar-width:thin}
html.lk-r .lkr-grid[data-v=ring] .lkr-card{flex:none;width:112px;min-height:0;align-items:center;text-align:center;border:0;background:none;padding:4px;scroll-snap-align:start;box-shadow:none;transform:none}
html.lk-r .lkr-grid[data-v=ring] .lkr-card::before,html.lk-r .lkr-grid[data-v=ring] small{display:none}
html.lk-r .lkr-grid[data-v=ring] .lkr-ic{width:76px;height:76px;border-radius:50%;margin-inline:auto}
html.lk-r .lkr-grid[data-v=ring] .lkr-tx{align-items:center}
html.lk-r .lkr-grid[data-v=ring] b{font-size:14px}
html.lk-r .lkr-grid[data-v=ring] em{margin:0 auto}
/* countries */
html.lk-r .lkr-band{background:none}
html.lk-r .lkr-flags{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
html.lk-r .lkr-flags a{display:flex;align-items:center;gap:10px;min-height:56px;padding:8px 14px;border:1px solid var(--r-rule);border-radius:12px;background:var(--r-surf);color:var(--r-ink);text-decoration:none}
html.lk-r .lkr-flags a:hover{border-color:var(--r-navy);background:var(--r-bg)}
html.lk-r .lkr-flag{font-size:24px;line-height:1}
html.lk-r .lkr-flags b{font-size:15px;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.lk-r .lkr-flags small{font-size:12px;color:var(--r-mute);font-variant-numeric:tabular-nums}
/* everyday life */
html.lk-r .lkr-life{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr));gap:10px}
html.lk-r .lkr-life a{display:flex;align-items:center;gap:12px;min-height:60px;padding:10px 14px;border:1px solid var(--r-rule);border-radius:12px;color:var(--r-ink);text-decoration:none;background:var(--r-bg)}
html.lk-r .lkr-life a:hover{border-color:var(--r-navy)}
html.lk-r .lkr-life .lkr-ic{width:40px;height:40px;flex:none;border-radius:10px;display:grid;place-items:center;background:var(--r-surf);color:var(--r-navy)}
html.lk-r .lkr-life b{font-size:15px;flex:1}
html.lk-r .lkr-life em{font-style:normal;font-size:13px;font-weight:700;color:var(--r-mute);font-variant-numeric:tabular-nums}
/* tool lists */
html.lk-r .lkr-lists{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
html.lk-r .lkr-list{border:1px solid var(--r-rule);border-radius:var(--r-rad);padding:16px 16px 8px;background:var(--r-bg);scroll-margin-top:80px}
html.lk-r .lkr-list h2{font-size:17px;display:flex;align-items:center;gap:8px;margin-bottom:6px}
html.lk-r .lkr-list ul{list-style:none;margin:0;padding:0}
html.lk-r .lkr-list li+li{border-top:1px solid var(--r-rule)}
html.lk-r .lkr-list a{display:flex;align-items:center;min-height:44px;color:var(--r-link);text-decoration:none;font-size:15px}
html.lk-r .lkr-list a:hover{text-decoration:underline}
html.lk-r .lkr-sec .lkr-src{margin-top:14px}
html.lk-r #lkr-cty{scroll-margin-top:80px}
@media (max-width:960px){html.lk-r .lkr-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html.lk-r .lkr-flags{grid-template-columns:repeat(3,minmax(0,1fr))}html.lk-r .lkr-lists{grid-template-columns:minmax(0,1fr)}}
@media (max-width:600px){
  html.lk-r .lkr-hstats{grid-template-columns:repeat(2,minmax(0,1fr))}
  html.lk-r .lkr-q{height:54px}html.lk-r .lkr-q button{padding:0 16px;height:44px}
  html.lk-r .lkr-card{min-height:0;padding:16px 14px 14px}
  html.lk-r .lkr-card small{display:none}
  html.lk-r .lkr-grid{gap:24px 10px}
  html.lk-r .lkr-grid[data-v=list]{grid-template-columns:minmax(0,1fr)}
  html.lk-r .lkr-flags{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (prefers-reduced-motion:reduce){html.lk-r .lkr-card{transition:none}html.lk-r .lkr-card:hover{transform:none}}
/* instant results */
html.lk-r .lkr-q{position:relative}
html.lk-r .lkr-sug{position:absolute;top:calc(100% + 8px);inset-inline:0;z-index:30;background:#fff;color:#121820;border:1px solid #dce3e8;border-radius:14px;box-shadow:0 18px 40px #0b1d2740;overflow:hidden;text-align:start;max-height:min(70vh,460px);overflow-y:auto}
html.lk-r .lkr-sug a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding:10px 16px;color:#121820;text-decoration:none;border-top:1px solid #eef2f5}
html.lk-r .lkr-sug a:first-of-type{border-top:0}
html.lk-r .lkr-sug a:hover,html.lk-r .lkr-sug a.on{background:#f1f6f9}
html.lk-r .lkr-sug b{font-size:15px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.lk-r .lkr-sug small{grid-column:1;font-size:13px;color:#5b6b77;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.lk-r .lkr-sug i{grid-column:2;grid-row:1/3;align-self:center;font-style:normal;font-size:12px;font-weight:700;color:#153E50;background:#e7f0f5;border-radius:999px;padding:3px 9px}
html.lk-r .lkr-sug-dym,html.lk-r .lkr-sug-none{margin:0;padding:10px 16px;font-size:14px;color:#4b5863;background:#fbf6f2}
html.lk-r .lkr-sug-dym button{font:inherit;font-weight:700;color:#d9531e;background:none;border:0;padding:0;cursor:pointer;text-decoration:underline}
html.lk-r .lkr-sug-ft{display:flex;justify-content:space-between;gap:10px;margin:0;padding:8px 16px;font-size:12px;color:#6b7a86;background:#f7f9fb;border-top:1px solid #eef2f5}
html.lk-r .lkr-sug-ft span:first-child::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#1f7a4d;margin-inline-end:6px;vertical-align:middle}
/* recently used */
html.lk-r .lkr-rec{display:block;max-width:var(--r-max);margin:20px auto 0;padding:0 16px}
html.lk-r .lkr-rech{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
html.lk-r .lkr-rech b{display:flex;align-items:center;gap:8px;font-size:15px;color:var(--r-ink)}
html.lk-r .lkr-rech button{font:13px var(--r-font);color:var(--r-mute);background:none;border:0;cursor:pointer;min-height:36px;padding:0 6px}
html.lk-r #lkrRecL{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:4px;scrollbar-width:none}
html.lk-r #lkrRecL a{flex:none;display:flex;flex-direction:column;justify-content:center;gap:2px;width:220px;min-height:62px;padding:10px 14px;border:1px solid var(--r-rule);border-inline-start:3px solid var(--r-navy);border-radius:10px;background:var(--r-bg);color:var(--r-ink);text-decoration:none;scroll-snap-align:start}
html.lk-r #lkrRecL a:hover{background:var(--r-surf)}
html.lk-r #lkrRecL b{font-size:14.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.lk-r #lkrRecL small{font-size:12px;color:var(--r-mute);text-align:start}
/* FAQ */
html.lk-r .lkr-faq{display:grid;gap:10px;max-width:860px}
html.lk-r .lkr-faq details{border:1px solid var(--r-rule);border-radius:12px;background:var(--r-bg);interpolate-size:allow-keywords}
html.lk-r .lkr-faq details[open]{border-color:var(--r-navy)}
html.lk-r .lkr-faq summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:12px 16px;font-weight:700;font-size:16px;cursor:pointer;list-style:none}
html.lk-r .lkr-faq summary::-webkit-details-marker{display:none}
html.lk-r .lkr-faq summary::after{content:"";flex:none;width:28px;height:28px;border-radius:50%;background:var(--r-surf) no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23153E50' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");transition:transform .2s}
html.lk-r .lkr-faq details[open] summary::after{transform:rotate(45deg)}
html.lk-r .lkr-faq details::details-content{block-size:0;overflow:hidden;transition:block-size .22s ease,content-visibility .22s allow-discrete}
html.lk-r .lkr-faq details[open]::details-content{block-size:auto}
html.lk-r .lkr-faq-a p{margin:0;padding:0 16px 16px;color:var(--r-mute);font-size:15.5px;line-height:1.75}
@media (prefers-reduced-motion:reduce){html.lk-r .lkr-faq details::details-content,html.lk-r .lkr-faq summary::after{transition:none}}
/* country card: quiet, optional */
html.lk-r .lkr-cc{max-width:var(--r-max);margin:20px auto 0;padding:0 16px}
html.lk-r .lkr-cc[hidden]{display:none}
html.lk-r .lkr-cc-ask,html.lk-r .lkr-cc-on{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:12px 14px;border:1px solid var(--r-rule);border-radius:14px;background:linear-gradient(90deg,var(--r-surf),var(--r-bg))}
html.lk-r .lkr-cc-ask[hidden],html.lk-r .lkr-cc-on[hidden]{display:none}
html.lk-r .lkr-cc-ic{font-size:26px;line-height:1}
html.lk-r .lkr-cc p{margin:0;flex:1;min-width:200px;display:flex;flex-direction:column;gap:2px;font-size:15px}
html.lk-r .lkr-cc p span{font-size:13px;color:var(--r-mute)}
html.lk-r .lkr-cc-do{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
html.lk-r .lkr-cc button,html.lk-r .lkr-cc select{font:600 14px var(--r-font);min-height:42px;border-radius:10px;cursor:pointer}
html.lk-r #lkrCcDetect{padding:0 14px;border:0;background:var(--r-navy);color:var(--r-bg)}
html.lk-r .lkr-cc select{padding:0 12px;border:1px solid var(--r-rule);background:var(--r-bg);color:var(--r-ink);max-width:200px}
html.lk-r .lkr-cc-x{width:42px;border:1px solid var(--r-rule);background:transparent;color:var(--r-mute);font-size:20px!important}
html.lk-r .lkr-cc-on p{flex-direction:row;align-items:center;gap:6px}
html.lk-r #lkrCcFlag{font-size:24px}
html.lk-r #lkrCcGo{font-weight:700;color:var(--r-link)}
html.lk-r #lkrCcChange{padding:0 12px;border:1px solid var(--r-rule);background:transparent;color:var(--r-ink)}
@media (max-width:600px){html.lk-r .lkr-cc-do{width:100%}html.lk-r .lkr-cc select{flex:1;max-width:none}}

/* ================= SECTION NAVIGATOR (registry) ================= */
html.lk-r .lkx{max-width:var(--r-max);margin:0 auto;padding:20px 16px 8px;color:var(--r-ink);text-align:start}
html.lk-r .lkx-crumbs ol{display:flex;flex-wrap:wrap;gap:4px;list-style:none;margin:0 0 14px;padding:0;font-size:14px;color:var(--r-mute)}
html.lk-r .lkx-crumbs li+li::before{content:"‹";margin-inline-end:6px;color:var(--r-rule)}
html.lk-r[dir=ltr] .lkx-crumbs li+li::before{content:"›"}
html.lk-r .lkx-crumbs a{color:var(--r-link);text-decoration:none}
html.lk-r .lkx-crumbs a:hover{text-decoration:underline}
html.lk-r .lkx-title h1{font-size:clamp(28px,4vw,42px);line-height:1.12;margin:0 0 8px;font-weight:900;text-wrap:balance}
html.lk-r .lkx-cc{display:inline-flex;align-items:center;gap:6px;font-size:.55em;font-weight:700;vertical-align:middle;padding:4px 12px;border:1px solid var(--r-rule);border-radius:999px;color:var(--r-mute)}
html.lk-r .lkx-title p{margin:0 0 12px;font-size:16.5px;color:var(--r-mute);max-width:70ch}
html.lk-r .lkx-meta{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0 0 18px;padding:0}
html.lk-r .lkx-meta li{font-size:13.5px;padding:6px 12px;border-radius:999px;background:var(--r-surf);color:var(--r-mute)}
html.lk-r .lkx-meta b{color:var(--r-navy);font-variant-numeric:tabular-nums}
html.lk-r .lkx-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:12px}
html.lk-r .lkx-q{flex:1;min-width:240px;display:flex;align-items:center;gap:10px;height:50px;padding:0 14px;border:1.5px solid var(--r-rule);border-radius:12px;background:var(--r-bg);color:var(--r-mute)}
html.lk-r .lkx-q:focus-within{border-color:var(--r-navy)}
html.lk-r .lkx-q input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:16px var(--r-font);color:var(--r-ink);height:44px}
html.lk-r .lkx-q output{font-size:13px;font-weight:700;color:var(--r-navy)}
html.lk-r .lkx-act{display:flex;gap:6px}
html.lk-r .lkx-act button{min-height:44px;padding:0 14px;border:1px solid var(--r-rule);border-radius:10px;background:var(--r-bg);color:var(--r-ink);font:600 14px var(--r-font);cursor:pointer}
html.lk-r .lkx-act button:hover{background:var(--r-surf)}
html.lk-r .lkx-flags{display:flex;gap:8px;overflow-x:auto;padding:2px 0 10px;scrollbar-width:thin}
html.lk-r .lkx-flags button{flex:none;min-height:40px;padding:0 14px;border:1px solid var(--r-rule);border-radius:999px;background:var(--r-bg);color:var(--r-ink);font:14px var(--r-font);cursor:pointer;white-space:nowrap}
html.lk-r .lkx-flags button[aria-pressed=true]{background:var(--r-navy);border-color:var(--r-navy);color:var(--r-bg);font-weight:700}
html.lk-r .lkx-body{display:grid;grid-template-columns:240px minmax(0,1fr);gap:28px;align-items:start;margin-top:10px}
html.lk-r .lkx-index{position:sticky;top:calc(var(--r-head) + 14px);max-height:calc(100vh - var(--r-head) - 28px);overflow:auto;border:1px solid var(--r-rule);border-radius:14px;padding:8px;background:var(--r-bg)}
html.lk-r .lkx-index ol{list-style:none;margin:0;padding:0}
html.lk-r .lkx-index a{display:flex;align-items:center;gap:8px;min-height:42px;padding:6px 10px;border-radius:9px;color:var(--r-ink);text-decoration:none;font-size:14.5px}
html.lk-r .lkx-index a span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.lk-r .lkx-index a i,html.lk-r .lkx-g h2 i,html.lk-r .lkx-sub summary i{font-style:normal;font-size:12px;font-weight:700;color:var(--r-mute);background:var(--r-surf);border-radius:999px;padding:2px 8px;font-variant-numeric:tabular-nums}
html.lk-r .lkx-index a:hover{background:var(--r-surf)}
html.lk-r .lkx-index a[aria-current]{background:var(--r-navy);color:var(--r-bg)}
html.lk-r .lkx-index a[aria-current] i{background:#ffffff26;color:inherit}
html.lk-r .lkx-g{scroll-margin-top:calc(var(--r-head) + 16px);margin:0 0 26px;padding:18px;border:1px solid var(--r-rule);border-radius:16px;background:var(--r-bg)}
html.lk-r .lkx-g[hidden]{display:none}
html.lk-r .lkx-g h2{display:flex;align-items:center;gap:10px;margin:0 0 14px;font-size:21px;line-height:1.3}
html.lk-r .lkx-g h2 span:not(.lkx-fl){flex:0 1 auto}
html.lk-r .lkx-fl{font-size:26px;line-height:1}
html.lk-r .lkx-go{margin-inline-start:auto;font-size:13.5px;font-weight:700;color:var(--r-link);text-decoration:none;white-space:nowrap}
html.lk-r .lkx-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:8px;list-style:none;margin:0 0 10px;padding:0}
html.lk-r .lkx-tiles li[hidden]{display:none}
html.lk-r .lkx-tiles a{display:flex;align-items:center;gap:10px;min-height:52px;height:100%;padding:10px 12px;border:1px solid var(--r-rule);border-radius:11px;color:var(--r-ink);text-decoration:none;font-size:14.5px;line-height:1.45;background:var(--r-surf);transition:border-color .15s,background .15s}
html.lk-r .lkx-tiles a::before{content:"";flex:none;width:30px;height:30px;border-radius:8px;background:var(--r-bg) no-repeat center/16px;border:1px solid var(--r-rule);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23153E50' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 3h9l4 4v14H6zM14 3v5h5M9 13h7M9 17h5'/%3E%3C/svg%3E")}
html.lk-r .lkx-tiles a[data-k=tool]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6F8B' stroke-width='2' stroke-linecap='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M8 7h8M8 11h2M12 11h2M16 11h0M8 15h2M12 15h2M8 18h8'/%3E%3C/svg%3E")}
html.lk-r .lkx-tiles a:hover{border-color:var(--r-navy);background:var(--r-bg)}
html.lk-r .lkx-tiles a span{min-width:0}
html.lk-r .lkx-sub{margin:8px 0;border:1px solid var(--r-rule);border-radius:12px;background:var(--r-bg);interpolate-size:allow-keywords}
html.lk-r .lkx-sub[hidden]{display:none}
html.lk-r .lkx-sub .lkx-sub{margin-inline-start:6px;border-inline-start:3px solid color-mix(in srgb,var(--r-navy) 25%,transparent)}
html.lk-r .lkx-sub summary{display:flex;align-items:center;gap:10px;min-height:50px;padding:8px 14px;cursor:pointer;list-style:none;font-weight:700;font-size:15.5px}
html.lk-r .lkx-sub summary::-webkit-details-marker{display:none}
html.lk-r .lkx-sub summary span{flex:1}
html.lk-r .lkx-sub summary::after{content:"";width:22px;height:22px;flex:none;background:no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5863' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");transition:transform .2s}
html.lk-r .lkx-sub[open]>summary::after{transform:rotate(180deg)}
html.lk-r .lkx-sub::details-content{block-size:0;overflow:hidden;transition:block-size .22s ease,content-visibility .22s allow-discrete}
html.lk-r .lkx-sub[open]::details-content{block-size:auto}
html.lk-r .lkx-subb{padding:0 12px 6px}
html.lk-r .lkx-none,html.lk-r .lkx-empty{padding:20px;border:1px dashed var(--r-rule);border-radius:12px;color:var(--r-mute);text-align:center}
html.lk-r[data-theme=dark] .lkx-tiles a::before{background-color:#e8eef2}
@media (max-width:900px){
  html.lk-r .lkx-body{grid-template-columns:minmax(0,1fr);gap:12px}
  html.lk-r .lkx-index{position:sticky;top:58px;z-index:20;max-height:none;overflow-x:auto;overflow-y:hidden;border:0;border-bottom:1px solid var(--r-rule);border-radius:0;padding:8px 0;margin:0 -16px;padding-inline:16px;background:color-mix(in srgb,var(--r-bg) 96%,transparent)}
  html.lk-r .lkx-index ol{display:flex;gap:6px}
  html.lk-r .lkx-index li{flex:none}
  html.lk-r .lkx-index a{min-height:38px;border:1px solid var(--r-rule);border-radius:999px;padding:0 12px}
  html.lk-r .lkx-index a span{overflow:visible}
  html.lk-r .lkx-g{padding:14px 12px;border-radius:14px;scroll-margin-top:120px}
  html.lk-r .lkx-act{width:100%}html.lk-r .lkx-act button{flex:1}
}
@media (prefers-reduced-motion:reduce){html.lk-r .lkx-sub::details-content,html.lk-r .lkx-sub summary::after{transition:none}}

/* ================= PAGE TEMPLATES (guide · tool · game · artist) ================= */
/* one path only: hide the old back pill wherever the page has its own breadcrumbs */
html.lk-r main:has(.crumbs) > .lk-back{display:none}
html.lk-r main > .lk-back{max-width:var(--r-max);margin:14px auto 0;padding:0 16px}
/* country chip: a quiet context pill */
html.lk-r main > .lk-cc{max-width:860px;margin:16px auto 0;padding:0 16px;display:block}
html.lk-r main > .lk-cc > summary{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border:1px solid var(--r-rule);border-radius:999px;background:var(--r-bg);color:var(--r-ink);font-size:14px;cursor:pointer;list-style:none;box-shadow:none}
html.lk-r main > .lk-cc > summary::-webkit-details-marker{display:none}
html.lk-r main > .lk-cc .lk-cc-chg{color:var(--r-link);font-size:13px}
/* official-information note: a framed notice, not a grey slab */
html.lk-r .lk-disc.lk-disc-page{max-width:860px;margin:12px auto 0;padding:12px 16px 12px 16px;padding-inline-start:44px;border:1px solid #e7d9b8;border-radius:12px;background:#fdf8ec no-repeat;background-position:right 14px top 13px;background-size:18px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a5a12' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6M12 7.5v.5'/%3E%3C/svg%3E");color:#5a4a26;font-size:14px;line-height:1.7;text-align:start}
html.lk-r[dir=ltr] .lk-disc.lk-disc-page{background-position:left 14px top 13px}
html.lk-r[data-theme=dark] .lk-disc.lk-disc-page{background-color:#2a2418;border-color:#4a3f25;color:#e6d7b0}
/* reading column */
html.lk-r main article.paper,html.lk-r main > .tk-hero,html.lk-r main > .crumbs,html.lk-r main > .tk-stats,html.lk-r main > .tk-card{max-width:860px;margin-inline:auto;text-align:start}
html.lk-r article.paper{padding:8px 16px 0;background:none;border:0;box-shadow:none}
html.lk-r .crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;font-size:13.5px;color:var(--r-mute);margin:18px auto 10px;justify-content:flex-start;text-align:start}
html.lk-r main > .crumbs{padding:0 16px}
html.lk-r .crumbs a{color:var(--r-link);text-decoration:none}
html.lk-r .crumbs a:hover{text-decoration:underline}
html.lk-r .crumbs > span[aria-hidden]{color:var(--r-rule);font-size:0}
html.lk-r .crumbs > span[aria-hidden]::after{content:"‹";font-size:13.5px;color:#9aa7b1}
html.lk-r[dir=ltr] .crumbs > span[aria-hidden]::after{content:"›"}
html.lk-r .crumbs > span:last-child{color:var(--r-ink);font-weight:700}
html.lk-r article.paper > header,html.lk-r main > .tk-hero{text-align:start;padding:6px 0 4px;border-bottom:1px solid var(--r-rule);margin-bottom:18px}
html.lk-r main > .tk-hero{padding-inline:16px}
html.lk-r article.paper h1,html.lk-r .tk-hero h1{font-size:clamp(27px,4vw,40px);line-height:1.15;letter-spacing:-.01em;font-weight:900;color:var(--r-ink);margin:6px 0 10px;text-align:start;text-wrap:balance}
html.lk-r .paper-lead,html.lk-r .tk-hero-sub{font-size:17.5px;line-height:1.8;color:var(--r-ink);text-align:start;max-width:72ch;margin-inline:0}
html.lk-r .paper-section{margin:28px 0;text-align:start}
html.lk-r .paper-section > h2,html.lk-r .tk-card > h2{position:relative;font-size:22px;line-height:1.3;color:var(--r-ink);margin:0 0 12px;padding-inline-start:16px;text-align:start}
html.lk-r .paper-section > h2::before,html.lk-r .tk-card > h2::before{content:"";position:absolute;inset-inline-start:0;top:.25em;bottom:.25em;width:5px;border-radius:3px;background:var(--r-navy)}
html.lk-r .paper-section p,html.lk-r .paper-section li{font-size:16.5px;line-height:1.85}
html.lk-r .paper-section a,html.lk-r .tk-card p a{color:var(--r-link)}
html.lk-r .tk-card{border:1px solid var(--r-rule);border-radius:16px;padding:20px;margin:18px auto;background:var(--r-bg);box-shadow:none}
html.lk-r main > .tk-card{width:calc(100% - 32px)}
html.lk-r .tk-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(10em,1fr));gap:10px}
html.lk-r .tk-stat{border:1px solid var(--r-rule);border-radius:12px;background:var(--r-surf);padding:14px;text-align:start}
html.lk-r .tk-table{width:100%;border-collapse:collapse;font-size:15px}
html.lk-r .tk-table th,html.lk-r .tk-table td{padding:10px 8px;border-bottom:1px solid var(--r-rule);text-align:start}
html.lk-r .tk-table th{font-size:13px;color:var(--r-mute)}
html.lk-r blockquote{margin:18px 0;padding:14px 18px;border:0;border-inline-start:4px solid #F26A3D;background:var(--r-surf);border-radius:0 12px 12px 0;font-size:17px;line-height:1.8}
html.lk-r[dir=rtl] blockquote{border-radius:12px 0 0 12px}
/* FAQ items on tools and guides */
html.lk-r .tk-faq-item{border:1px solid var(--r-rule);border-radius:12px;margin:8px 0;background:var(--r-bg);interpolate-size:allow-keywords}
html.lk-r .tk-faq-item[open]{border-color:var(--r-navy)}
html.lk-r .tk-faq-item > summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:10px 14px;font-weight:700;cursor:pointer;list-style:none}
html.lk-r .tk-faq-item > summary::-webkit-details-marker{display:none}
html.lk-r .tk-faq-item > summary::after{content:"";flex:none;width:26px;height:26px;border-radius:50%;background:var(--r-surf) no-repeat center/13px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23153E50' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");transition:transform .2s}
html.lk-r .tk-faq-item[open] > summary::after{transform:rotate(45deg)}
html.lk-r .tk-faq-item::details-content{block-size:0;overflow:hidden;transition:block-size .22s ease,content-visibility .22s allow-discrete}
html.lk-r .tk-faq-item[open]::details-content{block-size:auto}
html.lk-r .tk-faq-item > :not(summary){padding:0 14px 14px;margin:0;color:var(--r-mute);line-height:1.75}
/* games: the play area first, framed like a console */
html.lk-r .lk-tool-embed{border:1px solid var(--r-rule);border-radius:18px;padding:12px;background:linear-gradient(180deg,var(--r-surf),var(--r-bg));box-shadow:0 10px 30px #0b1d2712}
/* tags */
html.lk-r .lk-tags span{border-color:var(--r-rule)!important;background:var(--r-surf)!important;color:var(--r-navy)!important;font-size:14px}
/* on-page index rail */
html.lk-r .lk-rail{border:1px solid var(--r-rule)!important;border-radius:14px!important;background:var(--r-bg)!important;padding:8px!important;box-shadow:0 6px 20px #0b1d2710!important}
html.lk-r .lk-rail a{display:block;padding:7px 10px;border-radius:8px;color:var(--r-mute)!important;text-decoration:none;font-size:13.5px;line-height:1.4}
html.lk-r .lk-rail a:hover{background:var(--r-surf)}
html.lk-r .lk-rail a.is-on{background:var(--r-navy);color:var(--r-bg)!important;font-weight:700}
/* related: framed cards */
html.lk-r .lk-rel-wrap{max-width:860px;margin:36px auto 0;padding:0 16px;text-align:start}
html.lk-r .lk-rel-title{font-size:20px;margin:0 0 12px;color:var(--r-ink);text-align:start}
html.lk-r .lk-rel{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr));gap:10px;max-width:860px;margin:24px auto 0;padding:0}
html.lk-r main > nav.lk-rel{padding:0 16px}
html.lk-r .lk-rel a{position:relative;display:flex;flex-direction:column;gap:4px;padding:14px 16px;border:1px solid var(--r-rule);border-radius:14px;background:var(--r-bg);color:var(--r-ink);text-decoration:none;text-align:start;transition:border-color .15s,transform .15s}
html.lk-r .lk-rel a:hover{border-color:var(--r-navy);transform:translateY(-2px)}
html.lk-r .lk-rel strong{font-size:15.5px;line-height:1.4}
html.lk-r .lk-rel-k{font-size:12px;font-weight:700;color:#d9531e}
html.lk-r .lk-rel-d{font-size:13.5px;line-height:1.55;color:var(--r-mute);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html.lk-r .lk-reltools{max-width:860px!important;margin:24px auto!important;padding:16px!important;border:1px solid var(--r-rule);border-radius:14px;background:var(--r-surf);width:calc(100% - 32px)}
html.lk-r .lk-reltools strong{color:var(--r-ink)!important;font-size:17px}
html.lk-r .lk-reltools ul{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:6px 14px}
html.lk-r .lk-reltools a{color:var(--r-link)!important;border-bottom:1px solid var(--r-rule)!important}
/* previous / next: two large direction cards */
html.lk-r .lk-pn{display:grid!important;grid-template-columns:1fr 1fr;gap:10px;max-width:860px;margin:28px auto 8px!important;padding:0 16px}
html.lk-r .lk-pn > a,html.lk-r .lk-pn > span{max-width:none!important;min-height:64px!important;padding:12px 16px!important;border:1px solid var(--r-rule);border-radius:14px;background:var(--r-bg);color:var(--r-ink)!important;font-size:15px!important;font-weight:700}
html.lk-r .lk-pn > a:hover{border-color:var(--r-navy);background:var(--r-surf)}
html.lk-r .lk-pn > a[rel=next]{justify-content:flex-end;text-align:end}
html.lk-r .lk-pn > a > span[aria-hidden]{font-size:22px;color:#F26A3D}
/* reading progress */
html.lk-r .lkr-prog{position:fixed;top:var(--r-head);inset-inline:0;height:3px;z-index:41;pointer-events:none;background:transparent}
html.lk-r .lkr-prog i{display:block;height:100%;width:100%;background:linear-gradient(90deg,#153E50,#F26A3D);transform-origin:right;transform:scaleX(0)}
html.lk-r[dir=ltr] .lkr-prog i{transform-origin:left}
@media (max-width:860px){html.lk-r .lkr-prog{top:58px}html.lk-r .lk-pn{grid-template-columns:1fr}html.lk-r .lk-pn > a[rel=next]{justify-content:flex-start;text-align:start}}
@media (prefers-reduced-motion:reduce){html.lk-r .tk-faq-item::details-content,html.lk-r .tk-faq-item > summary::after,html.lk-r .lk-rel a{transition:none}}
/* main is a centred flex column on these templates: give direct children a real width */
html.lk-r main > article.paper,html.lk-r main > .tk-hero,html.lk-r main > .crumbs,html.lk-r main > .tk-stats,html.lk-r main > .tk-card,html.lk-r main > .lk-rel-wrap,html.lk-r main > nav.lk-rel,html.lk-r main > .lk-pn,html.lk-r main > .lk-cc,html.lk-r main > .lk-disc-page,html.lk-r main > .lk-tags{width:100%;max-width:860px;box-sizing:border-box;align-self:center}
html.lk-r main > .tk-stats{padding:0 16px}
html.lk-r main > .tk-card{width:calc(100% - 32px);max-width:828px}
html.lk-r main > .lk-disc-page{width:calc(100% - 32px);max-width:828px}
html.lk-r article.paper > header,html.lk-r article.paper > header *{text-align:start;margin-inline:0}
html.lk-r .crumbs > span:not(:last-child){font-size:0;color:transparent}
html.lk-r .crumbs > span:not(:last-child)::after{content:"‹";font-size:13.5px;color:#9aa7b1}
html.lk-r[dir=ltr] .crumbs > span:not(:last-child)::after{content:"›"}
html.lk-r .crumbs > a:last-child{color:var(--r-ink);font-weight:700}
