:root{
  --ink:#4f4038;
  --muted:#806f65;
  --paper:#fffdfb;
  --canvas:#f8f1ec;
  --line:#eadbd2;
  --rose:#c98a71;
  --rose-soft:#f8eae4;
  --brown:#8a6a52;
  --brown-dark:#634a39;
  --gold:#c8a36a;
  --shadow:0 20px 58px rgba(91,65,50,.10);
  --radius-card:22px;
  --radius-control:15px;
  --L:#b67961;
  --M:#c98a71;
  --R:#c68568;
  --P:#8a6a52;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;min-width:320px;min-height:100vh;font-family:"Tajawal",sans-serif;color:var(--ink);background:var(--canvas)}
button,a{font:inherit}
button{-webkit-appearance:none;appearance:none}
[hidden]{display:none!important}

.progress{position:fixed;inset:0 0 auto;height:3px;background:#eadfd9;z-index:30}
.progress span{display:block;width:0;height:100%;background:var(--brown);transition:width .35s ease}
.page-shell{min-height:100vh;display:grid;place-items:start center;padding:18px}
.guide-card{width:min(100%,820px);min-height:min(760px,calc(100vh - 36px));display:flex;flex-direction:column;overflow:hidden;background:var(--paper);border:1px solid rgba(234,219,210,.90);border-radius:30px;box-shadow:var(--shadow)}
.topbar{min-height:70px;padding:12px 18px;display:grid;grid-template-columns:42px 1fr 82px;align-items:center;border-bottom:1px solid rgba(234,219,210,.55)}
.topbar-meta{display:grid;justify-items:end;gap:4px}
.language-button{min-width:39px;min-height:29px;padding:4px 9px;border:1px solid var(--line);border-radius:999px;color:var(--brown);background:#fff;font-size:11px;font-weight:800;cursor:pointer}
.language-button:active{transform:scale(.96)}
.brand-mark{grid-column:2;width:46px;height:46px;margin:auto;border:1px solid var(--line);border-radius:50%;object-fit:cover;box-shadow:0 6px 18px rgba(91,65,50,.08)}
.icon-button{width:38px;height:38px;display:grid;place-items:center;padding:0;border:1px solid var(--line);border-radius:50%;color:var(--brown);background:#fff;cursor:pointer}
.icon-button:active{transform:scale(.92)}
.icon-button svg{width:20px;fill:none;stroke:currentColor;stroke-width:2.2}
.is-hidden{visibility:hidden;pointer-events:none}
.step-label{color:#9b887d;font-size:12px;font-weight:700;white-space:nowrap}

#app{flex:1;padding:0 22px 28px}
.screen{animation:screen-in .34s ease both}
@keyframes screen-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
h1,h2,h3{margin:0;color:var(--brown);line-height:1.45}
h1{font-size:clamp(24px,4vw,31px)}
h2{font-size:clamp(21px,3.3vw,27px)}
h3{font-size:18px}
.eyebrow{margin:0;color:var(--rose);font-size:12.5px;font-weight:800;letter-spacing:.01em}
.lead{margin:8px 0 14px;color:var(--muted);font-size:14.5px;line-height:1.8}
.primary{width:100%;min-height:50px;padding:12px 16px;border:0;border-radius:var(--radius-control);color:#fff;background:var(--brown);box-shadow:0 8px 20px rgba(128,96,71,.18);font-size:15px;font-weight:800;cursor:pointer}
.primary:active{transform:scale(.985)}
.primary:disabled{opacity:.7;cursor:default}
.secondary{width:100%;min-height:46px;padding:11px 14px;border:1px solid var(--line);border-radius:var(--radius-control);color:var(--brown);background:#fff;font-weight:800;cursor:pointer}
.text-action,.quiet-action,.change-category{border:0;background:transparent;color:#8f796d;font-weight:800;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.text-action{margin-top:9px;padding:7px 10px;font-size:13px}

/* media */
.media-card{position:relative;overflow:hidden;background:#eadfd8;border:1px solid rgba(229,211,201,.9);border-radius:var(--radius-card);isolation:isolate}
.guide-video{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;background:linear-gradient(145deg,#eadfd8,#f8eee9)}
.video-shade{position:absolute;inset:auto 0 0;height:30%;pointer-events:none;background:linear-gradient(transparent,rgba(37,26,21,.34))}
.sound-pill{position:absolute;top:11px;inset-inline-start:11px;z-index:3;padding:6px 10px;border-radius:999px;color:#fff;background:rgba(45,31,24,.72);font-size:11px;font-weight:700;backdrop-filter:blur(7px)}
.media-start-button{position:absolute;inset:50% auto auto 50%;z-index:4;width:58px;height:58px;padding:0 4px 0 0;transform:translate(-50%,-50%);border:1px solid rgba(255,255,255,.78);border-radius:50%;color:#fff;background:rgba(89,63,49,.74);box-shadow:0 8px 22px rgba(44,31,24,.22);cursor:pointer}
.replay-button{position:absolute;inset-inline-end:11px;bottom:11px;z-index:4;padding:7px 10px;border:1px solid rgba(255,255,255,.68);border-radius:999px;color:#fff;background:rgba(45,31,24,.74);font-size:11.5px;font-weight:700;cursor:pointer}
.video-status{min-height:18px;margin-top:6px;color:#9a6b5d;font-size:11.5px;text-align:center}

/* intro */
.intro-screen{max-width:430px;margin:0 auto;padding-top:6px}
.media-intro{width:min(100%,390px);aspect-ratio:9/16;max-height:59vh;margin-inline:auto;box-shadow:0 12px 30px rgba(91,65,50,.10)}
.intro-copy{padding-top:17px;text-align:center}
.intro-lead{margin-bottom:10px}
.intro-note{margin:0 0 15px;padding:11px 13px;border:1px solid #eadfd8;border-radius:14px;color:#725f54;background:#fbf7f4;font-size:12.5px;font-weight:700;line-height:1.65;text-align:start}

/* selector */
.category-screen{max-width:710px;margin:0 auto;padding-top:12px}
.section-head{text-align:center;margin-bottom:18px}
.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.category-button{position:relative;min-height:178px;padding:10px 9px 13px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;border:1px solid var(--line);border-radius:20px;background:#fff;color:var(--ink);cursor:pointer;box-shadow:0 8px 22px rgba(91,65,50,.05);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.category-button:hover{transform:translateY(-2px);box-shadow:0 13px 28px rgba(91,65,50,.09)}
.category-button img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:14px;border:1px solid #efe2da;background:#faf5f2}
.category-button strong{font-size:13.5px;line-height:1.5;text-align:center}
.category-letter{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;color:#fff;font-size:16px;font-weight:800}
.category-button[data-variant="L"] .category-letter{background:var(--L)}
.category-button[data-variant="M"] .category-letter{background:var(--M)}
.category-button[data-variant="R"] .category-letter{background:var(--R)}
.category-button[data-variant="P"] .category-letter{background:var(--P)}

/* usage header */
.usage-screen{max-width:740px;margin:0 auto;padding-top:7px}
.variant-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:4px}
.variant-title-row{display:flex;align-items:center;gap:10px;min-width:0}
.variant-heading-copy{min-width:0}
.variant-badge{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;color:#fff;font-size:20px;font-weight:800;flex:0 0 auto}
.variant-badge.L{background:var(--L)}
.variant-badge.M{background:var(--M)}
.variant-badge.R{background:var(--R)}
.variant-badge.P{background:var(--P)}
.change-category{flex:0 0 auto;padding:7px 2px;font-size:12px;color:var(--rose)}
.sub-actions{margin:0 0 13px;padding-inline-start:53px}
.quiet-action{padding:2px 0;font-size:11.5px;color:#9a8579}
.usage-utility-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:2px 0 14px;padding-inline-start:53px;color:#9a8579;font-size:11.5px}
.utility-intro{padding:2px 0}
.utility-divider{color:#c9b5aa}
.compact-view-label{font-weight:700}
.compact-mode-button{padding:2px 4px;border:0;background:transparent;color:#9a8579;font-size:11.5px;font-weight:800;cursor:pointer}
.compact-mode-button[aria-pressed="true"]{color:var(--brown);text-decoration:underline;text-underline-offset:3px}
.compact-mode-separator{color:#c9b5aa}

.view-switch-wrap{margin:0 0 16px;padding:12px;border:1px solid var(--line);border-radius:18px;background:#fbf7f4;text-align:center}
.view-switch-label{margin:0 0 8px;color:#715e53;font-size:12.5px;font-weight:800}
.view-switch{width:min(100%,310px);margin:0 auto;display:grid;grid-template-columns:1fr 1fr;padding:4px;border:1px solid #e8dbd3;border-radius:14px;background:#fff}
.view-switch-button{min-height:38px;border:0;border-radius:10px;color:#8c786c;background:transparent;font-weight:800;cursor:pointer}
.view-switch-button[aria-selected="true"]{color:#fff;background:var(--brown);box-shadow:0 5px 14px rgba(91,65,50,.15)}
.view-hint{margin:8px 0 0;color:#8f7d72;font-size:11.8px;line-height:1.55}

/* video mode */
.video-mode{display:grid;gap:22px}
.video-guide-block,.shared-guide-block{padding:16px;border:1px solid var(--line);border-radius:24px;background:#fbf7f4}
.main-video-frame{width:min(100%,310px);margin:0 auto}
.main-video-frame .media-card{width:100%;aspect-ratio:9/16;border-radius:20px;box-shadow:0 10px 28px rgba(91,65,50,.09)}
.segment-meta{display:flex;justify-content:space-between;gap:10px;margin:9px 2px 0;color:#99867a;font-size:11px;font-weight:700}
.topic-tabs{display:flex;gap:7px;margin:14px 0 10px;padding:2px 0 5px;overflow-x:auto;scrollbar-width:thin}
.topic-tab{flex:1 0 auto;min-height:40px;padding:8px 11px;border:1px solid var(--line);border-radius:999px;color:#725f54;background:#fff;font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap}
.topic-tab[aria-selected="true"]{color:#fff;background:var(--brown);border-color:var(--brown)}
.shared-jump-tab{border-style:dashed;background:#fffaf7;color:#8a6a52}
.shared-guide-block,.reading-shared{scroll-margin-top:18px;transition:border-color .25s ease,box-shadow .25s ease,background .25s ease}
.shared-guide-block.is-jump-highlight,.reading-shared.is-jump-highlight{border-color:#c98a71;box-shadow:0 0 0 4px rgba(201,138,113,.10),0 12px 28px rgba(91,65,50,.08)}
.topic-card{padding:17px;border:1px solid rgba(234,219,210,.95);border-radius:19px;background:#fff}
.topic-card h3{font-size:20px}
.topic-card p{margin:7px 0 0;color:#6b584e;font-size:13.8px;line-height:1.75}
.topic-card ul{margin:12px 0 0;padding-inline-start:19px;color:#66554c;font-size:13.5px;line-height:1.75}
.topic-card li+li{margin-top:4px}
.section-play{margin-top:15px}
.full-video-button{margin-top:8px}
.shared-guide-block{background:#fffdfb}
.shared-head{margin-bottom:13px;text-align:start}
.shared-head h3{margin-top:3px;font-size:19px}
.shared-head p:last-child{margin:5px 0 0;color:var(--muted);font-size:12.8px;line-height:1.65}
.shared-video-frame{width:min(100%,260px)}
.compact-topic-card h3{font-size:18px}

/* reading mode */
.read-mode{display:grid;gap:24px}
.reading-flow{display:grid;gap:0}
.reading-card{padding:17px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 8px 22px rgba(91,65,50,.04)}
.reading-card-head{display:grid;grid-template-columns:34px 1fr;gap:11px;align-items:start}
.reading-number{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;color:#fff;background:var(--brown);font-size:13px;font-weight:800}
.reading-card h3{font-size:18px}
.reading-card-head p{margin:4px 0 0;color:var(--muted);font-size:13px;line-height:1.65}
.reading-card ul{margin:13px 0 0;padding-inline-start:20px;color:#66554c;font-size:13.5px;line-height:1.8}
.reading-card li+li{margin-top:4px}
.flow-connector{height:32px;display:grid;place-items:center;color:#c7a58f;font-size:18px;font-weight:800}
.reading-shared-jump{width:100%;min-height:44px;padding:10px 14px;border:1px dashed #d8bdae;border-radius:15px;color:var(--brown);background:#fffaf7;font-size:13px;font-weight:800;cursor:pointer}
.reading-shared{padding-top:2px;border:1px solid transparent;border-radius:20px}
.shared-reading-flow .reading-number{background:#ad8c6f}
.shared-reading-card{background:#fbf7f4}

.site-footer{padding:11px 18px 15px;border-top:1px solid #f0e6e0;text-align:center}
.site-footer a{color:#9b887d;font-size:11px;text-decoration:none}

html[dir="ltr"] body{font-family:"Manrope","Tajawal",sans-serif}
html[dir="ltr"] .icon-button svg{transform:scaleX(-1)}

@media(max-width:760px){
  .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:470px){
  .page-shell{padding:0}
  .guide-card{min-height:100vh;border:0;border-radius:0;box-shadow:none}
  .topbar{min-height:62px;padding-block:9px}
  #app{padding-inline:14px}
  .media-intro{width:min(100%,330px);max-height:57vh}
  .category-button{min-height:165px}
  .variant-head{align-items:flex-start}
  .sub-actions{padding-inline-start:0;text-align:start}
  .usage-utility-row{padding-inline-start:0;justify-content:flex-start}
  .video-guide-block,.shared-guide-block{padding:12px;border-radius:20px}
  .main-video-frame{width:min(100%,250px)}
  .shared-video-frame{width:min(100%,225px)}
  .topic-tabs{margin-top:12px}
  .topic-tab{font-size:11.5px;padding-inline:10px}
  .topic-card{padding:15px}
}
@media(max-width:350px){
  #app{padding-inline:10px}
  .category-grid{gap:8px}
  .category-button{min-height:153px;padding:8px 7px 10px}
  .category-button strong{font-size:12.5px}
  .variant-badge{width:39px;height:39px;font-size:18px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}


/* === V5 video interaction polish === */
.video-guide-block{scroll-margin-top:8px}
.media-start-button{display:grid;place-items:center;padding:0}
.media-start-button .play-glyph{display:block;margin-inline-start:3px;font-size:22px;line-height:1}
.media-card.is-loading .media-start-button{pointer-events:none}
.media-card.is-loading .media-start-button .play-glyph{visibility:hidden}
.media-card.is-loading .media-start-button::after{content:"";position:absolute;width:23px;height:23px;border:3px solid rgba(255,255,255,.42);border-top-color:#fff;border-radius:50%;animation:videoSpinner .75s linear infinite}
.media-loading-label{position:absolute;left:50%;bottom:16px;z-index:5;transform:translateX(-50%);padding:6px 10px;border-radius:999px;color:#fff;background:rgba(45,31,24,.72);backdrop-filter:blur(7px);font-size:11px;font-weight:700;white-space:nowrap}
@keyframes videoSpinner{to{transform:rotate(360deg)}}
@media(max-width:470px){.video-guide-block{scroll-margin-top:4px}}
@media(prefers-reduced-motion:reduce){.media-card.is-loading .media-start-button::after{animation-duration:1.2s!important}}

/* === V6 mobile layout hardening: keep the video centered and prevent horizontal overflow === */
html, body {
  max-width: 100%;
  overflow-x: clip;
}

#app,
.usage-screen,
#modeContent,
.video-mode,
.video-guide-block,
.shared-guide-block,
.main-video-frame,
.topic-tabs,
.topic-card {
  min-width: 0;
  max-width: 100%;
}

.video-guide-block,
.shared-guide-block,
.video-mode,
#modeContent {
  width: 100%;
}

.main-video-frame {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-inline: auto;
}

@media (max-width: 820px) {
  .video-mode {
    display: block;
    width: 100%;
  }

  .video-guide-block,
  .shared-guide-block {
    display: block;
    width: 100%;
  }

  .main-video-frame {
    width: min(100%, 290px);
    margin-left: auto;
    margin-right: auto;
    margin-inline: auto;
  }

  .topic-tabs,
  .topic-card {
    width: 100%;
  }
}

@media (max-width: 470px) {
  .usage-screen {
    width: 100%;
    max-width: none;
  }

  #modeContent,
  .video-mode {
    width: 100%;
  }

  .video-guide-block,
  .shared-guide-block {
    padding-inline: 10px;
    overflow: hidden;
  }

  .main-video-frame {
    width: min(76vw, 280px);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-inline: auto;
  }

  .main-video-frame .media-card {
    width: 100%;
    max-width: 100%;
  }
}

/* === V7 professional usage journey === */
.sound-pill{
  transition:opacity .22s ease,transform .22s ease;
  transform:translateY(0);
}
.media-card.is-playing .sound-pill,
.media-card.is-loading .sound-pill{
  opacity:0;
  transform:translateY(-5px);
  pointer-events:none;
}

.stage-status{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:26px;
  margin:10px 2px 2px;
  color:#8f7a6f;
  font-size:11.5px;
  line-height:1.4;
  text-align:center;
}
.stage-count{font-weight:700;color:#9b887d}
.stage-count::after{content:"•";margin-inline-start:7px;color:#d2beb2}
.stage-name{color:var(--brown-dark);font-size:12px;font-weight:800}

.usage-stepper{
  position:relative;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  margin:15px 2px 11px;
  padding:2px 0 0;
}
.usage-stepper::before{
  content:"";
  position:absolute;
  top:17px;
  inset-inline:12.5% 12.5%;
  height:2px;
  background:#e8d9d0;
  z-index:0;
}
.usage-step{
  position:relative;
  z-index:1;
  min-width:0;
  padding:0 3px 6px;
  border:0;
  background:transparent;
  color:#8e7b70;
  cursor:pointer;
  display:grid;
  justify-items:center;
  gap:7px;
  text-align:center;
}
.step-dot{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:2px solid #e3d4cb;
  border-radius:50%;
  background:#fffdfb;
  color:#9a8579;
  box-shadow:0 0 0 4px #fbf7f4;
  transition:background .2s ease,border-color .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease;
}
.step-dot span{font-size:11.5px;font-weight:800;line-height:1}
.step-title{
  max-width:100%;
  color:inherit;
  font-size:10.5px;
  font-weight:800;
  line-height:1.35;
  white-space:normal;
}
.usage-step[aria-selected="true"]{color:var(--brown)}
.usage-step[aria-selected="true"] .step-dot{
  border-color:var(--brown);
  background:var(--brown);
  color:#fff;
  transform:scale(1.06);
  box-shadow:0 0 0 4px #f4e9e3,0 5px 13px rgba(91,65,50,.16);
}
.usage-step.is-complete .step-dot{
  border-color:#cba58e;
  background:#f7e9e1;
  color:#8a6a52;
}
.usage-step:focus-visible .step-dot{outline:3px solid rgba(201,138,113,.22);outline-offset:3px}

.shared-guidance-jump{
  width:100%;
  min-height:44px;
  margin:1px 0 13px;
  padding:10px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  border:1px solid #dcc8bc;
  border-radius:14px;
  color:var(--brown);
  background:#fff;
  font-size:12.5px;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 5px 15px rgba(91,65,50,.035);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.shared-guidance-jump:active{transform:scale(.99)}
.shared-guidance-jump:hover{border-color:#c9a996;box-shadow:0 8px 20px rgba(91,65,50,.06)}

/* The category journey replaces the old five-pill tab row. General guidance keeps its own tabs. */
.video-guide-block > .topic-tabs{display:none}

@media(max-width:470px){
  .usage-stepper{margin-inline:-2px}
  .usage-stepper::before{inset-inline:12% 12%}
  .step-dot{width:32px;height:32px;box-shadow:0 0 0 3px #fbf7f4}
  .usage-stepper::before{top:16px}
  .step-title{font-size:9.8px}
  .stage-status{margin-top:8px}
  .shared-guidance-jump{min-height:42px;font-size:12px}
}

/* === V8: introduction completion replaces the video in place === */
.intro-finished{
  width:100%; min-height:340px; margin:12px auto 0; padding:32px 22px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;
  border:1px solid var(--line);border-radius:24px;background:#fbf7f4;
  box-shadow:0 10px 30px rgba(91,65,50,.065);text-align:center;
  animation:introFinishIn .36s ease both;
}
.intro-finished-check{
  width:54px;height:54px;display:grid;place-items:center;border-radius:50%;
  background:#f2e4dc;border:1px solid #dec6b6;color:var(--brown);
  font-size:28px;font-weight:800;line-height:1;
}
.intro-finished h1{max-width:350px;font-size:clamp(21px,5vw,27px);line-height:1.5}
.intro-finished-lead{margin:0;max-width:325px;color:var(--muted);font-size:14px;line-height:1.85}
.intro-finished-next{max-width:340px;margin-top:7px}
.intro-finished-replay{margin-top:0;min-height:38px}
@keyframes introFinishIn{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}
@media(max-width:470px){.intro-finished{min-height:320px;padding:28px 17px;margin-top:10px}}
@media(prefers-reduced-motion:reduce){.intro-finished{animation:none}}


/* === V9: visible progress around the portrait, continuous category playback === */
.media-usage .video-progress-ring{
  position:absolute; inset:0; width:100%; height:100%; overflow:visible;
  z-index:3; pointer-events:none; border-radius:inherit;
}
.media-usage .video-progress-ring rect{
  fill:none; vector-effect:non-scaling-stroke; stroke-width:3px;
}
.media-usage .video-progress-track{stroke:rgba(255,255,255,.30)}
.media-usage .video-progress-line{
  stroke:#fff8ed; stroke-linecap:round;
  stroke-dasharray:100; stroke-dashoffset:100;
  transition:stroke-dashoffset .13s linear;
  filter:drop-shadow(0 0 2px rgba(65,44,34,.68));
}
.media-usage:not(.is-playing):not(.is-loading):not(.is-progress-complete) .video-progress-ring{opacity:0}
.media-usage .video-progress-ring{transition:opacity .2s ease}
.media-usage.is-progress-complete .video-progress-line{stroke:#e6c49d}
@media (prefers-reduced-motion:reduce){.media-usage .video-progress-line{transition:none}}


/* V10 — single square guide and a live four-circle journey */
.journey-mode{display:grid;gap:24px;width:100%;min-width:0}
.journey-mode .video-guide-block{padding:16px 12px 20px;overflow:visible}
.journey-head{text-align:center;margin:0 auto 13px;max-width:420px}
.journey-head>p{font-size:11px;font-weight:800;color:var(--rose);margin:0 0 3px}
.journey-head h3{font-size:19px;margin:0 0 5px}
.journey-head>span{display:block;color:var(--muted);font-size:12px;line-height:1.7}
.journey-mode .main-video-frame{width:min(100%,350px);margin-inline:auto}
.journey-mode .media-usage{aspect-ratio:1/1!important;background:#e8d9d0}
.journey-mode .media-usage .guide-video{object-fit:contain;background:#e8d9d0}
.journey-mode .media-usage .video-progress-ring{display:none!important}
.journey-mode .usage-stepper{margin:15px 0 12px;gap:0}
.journey-mode .usage-stepper::before{background:#e4d6cd}
.journey-mode .usage-step{min-height:61px;gap:7px}
.journey-mode .step-dot{width:37px;height:37px;position:relative;border:0;background:conic-gradient(var(--brown) var(--fill,0%),#e4d6cd 0);box-shadow:0 0 0 3px #fbf7f4;isolation:isolate;transition:transform .2s ease}
.journey-mode .step-dot::before{content:"";position:absolute;inset:3px;border-radius:50%;background:#fffdfb;z-index:-1}
.journey-mode .usage-step[aria-pressed="true"] .step-dot{transform:scale(1.08);box-shadow:0 0 0 4px #f3e6df}
.journey-mode .usage-step[aria-pressed="true"] .step-dot span{color:var(--brown);font-weight:900}
.journey-mode .usage-step.is-complete .step-dot{background:var(--brown)}
.journey-mode .usage-step.is-complete .step-dot::before{background:var(--brown)}
.journey-mode .usage-step.is-complete .step-dot span{color:#fff}
.journey-mode .usage-step.is-running .step-dot{animation:journeyPulse 1.5s ease-in-out infinite}
@keyframes journeyPulse{50%{box-shadow:0 0 0 7px rgba(138,106,82,.13)}}
.journey-mode .step-title{font-size:clamp(9.5px,2.4vw,12px);line-height:1.5}
.journey-mode .topic-card{padding:14px 15px;margin-top:4px}
.journey-stage-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:10px}
.journey-stage-heading #stageCount{font-size:11px;color:var(--rose);font-weight:800}
.journey-stage-heading h3{font-size:18px}
.journey-mode .journey-restart{margin-top:12px;min-height:42px;background:transparent}
.journey-finish{margin-top:13px;padding:14px;border-radius:16px;border:1px solid #dcc8bc;background:#fff;text-align:center}
.journey-finish strong{color:var(--brown);font-size:15px}
.journey-finish p{margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.7}
.more-guides{display:grid;gap:12px;min-width:0}
.more-guides-head{text-align:center;margin:0 0 2px}
.more-guides-head h2{font-size:22px}
.more-guides-head>p:last-child{margin:5px auto 0;max-width:420px;color:var(--muted);font-size:13px;line-height:1.7}
.more-guide-card{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;padding:15px;border:1px solid var(--line);border-radius:20px;background:#fff}
.more-guide-icon{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#f4e7df;color:var(--brown);font-size:12px}
.more-guide-card h3{font-size:16px}
.more-guide-card p{margin:3px 0 0;color:var(--muted);font-size:12px;line-height:1.6}
.more-guide-card button{grid-column:1/-1;min-height:40px;background:#fbf7f4}
.more-guides .shared-guide-block{scroll-margin-top:15px}
.usage-screen:has(.journey-mode) #watchIntro{display:none}
.usage-screen:has(.journey-mode) .usage-utility-row>.utility-divider{display:none}
@media(max-width:470px){.journey-mode .main-video-frame{width:min(100%,330px)}.journey-mode .video-guide-block{padding-inline:10px}.journey-mode .step-dot{width:32px;height:32px}.journey-mode .usage-stepper::before{top:16px}.journey-mode .usage-step{min-height:58px}}
@media(prefers-reduced-motion:reduce){.journey-mode .usage-step.is-running .step-dot{animation:none}}

/* V11: shared guidance uses the same animated circular journey as category usage. */
.journey-mode .general-stepper{grid-template-columns:repeat(3,minmax(0,1fr));margin:16px 0 14px;}
.journey-mode .general-stepper::before{inset-inline:16.667% 16.667%;}
.journey-mode .general-stepper .step-dot{width:37px;height:37px;}
.journey-mode .general-stepper .step-title{font-size:clamp(10px,2.6vw,12px);line-height:1.4;max-width:112px;}
.journey-mode .shared-guide-block .topic-card{margin-top:4px;}
@media(max-width:470px){.journey-mode .general-stepper .step-dot{width:32px;height:32px;}}

/* V12: one action per supplementary guide card; no misleading duplicate play button. */
.more-guides .more-guide-card{
  width:100%; min-width:0; appearance:none; -webkit-appearance:none;
  grid-template-columns:44px minmax(0,1fr); gap:12px;
  text-align:start; color:var(--ink); font:inherit; cursor:pointer;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.more-guides .more-guide-card:hover{border-color:#c9a996;box-shadow:0 8px 20px rgba(91,65,50,.08)}
.more-guides .more-guide-card:active{transform:scale(.99)}
.more-guides .more-guide-card:focus-visible{outline:3px solid #c98a71;outline-offset:3px}
.more-guides .more-guide-icon{width:44px;height:44px;font-size:15px;flex:none}
.more-guide-copy{display:grid;gap:4px;min-width:0}
.more-guide-copy strong{font-size:16px;color:var(--brown);line-height:1.4}
.more-guide-copy>span:not(.more-guide-action){color:var(--muted);font-size:12px;line-height:1.6}
.more-guide-copy .more-guide-action{color:var(--brown);font-size:12px;font-weight:800;margin-top:2px}
html[dir="ltr"] .more-guides .more-guide-card{text-align:left}
