
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--chrome); }
body { font-family: var(--font-family); font-weight: var(--font-weight-body); color: var(--ink); line-height: 1.55;
  --acc-deep: var(--royal); --acc-bright: var(--royal); }
img { max-width: 100%; display: block; }
a { color: var(--acc-deep); font-weight: 700; }
.ashell-bar a, .ashell-web a, .ashell-tabs a { font-weight: 700; }
.ashell-bar .ashell-ib { color: #fff; }
@media (max-width: 767px) {
  body.bl-page { padding-bottom: calc(var(--ashell-tabs-h) + env(safe-area-inset-bottom)); }
}
.bl-lang { position: relative; }
.bl-lang > summary { list-style: none; cursor: pointer; }
.bl-lang > summary::-webkit-details-marker { display: none; }
.bl-lang-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; width: 240px; max-height: 70vh; overflow-y: auto;
  display: grid; gap: 2px; padding: 8px; background: #fff; border-radius: var(--radius-md); box-shadow: 0 6px 24px rgba(0, 0, 0, .28); }
.bl-lang-menu .ashell-lang-row { text-decoration: none; }
.bl-main { background: #fff; padding: 16px 16px 40px; min-height: 70vh; }
.bl-main > * { max-width: 700px; margin-left: auto; margin-right: auto; }
.bl-sender { font-size: var(--text-xs); color: var(--muted); margin-top: 0; margin-bottom: 12px; }
.bl-draft { background: #fff7dc; border-radius: var(--radius-md); padding: 10px 14px; font-size: var(--text-xs); font-weight: 700; color: var(--paper-chip-ink); }
.bl-article h1 { font-size: var(--text-xl); line-height: 1.2; font-weight: var(--font-weight-heading); margin: 6px 0 18px; overflow-wrap: break-word; }
.bl-article h2 { font-size: var(--text-lg); line-height: 1.25; font-weight: var(--font-weight-heading); margin: 32px 0 8px; color: var(--acc-deep); }
.bl-article h3 { font-size: var(--text-md); font-weight: var(--font-weight-heading); margin: 26px 0 6px; color: var(--acc-deep); }
.bl-article p, .bl-article li { font-size: var(--text-base); }
.bl-article p { margin: 0 0 14px; }
.bl-head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.bl-head a { text-decoration: none; }
.bl-name { margin: 0 0 6px !important; font-size: var(--text-lg) !important; font-weight: var(--font-weight-heading); color: var(--acc-deep); line-height: 1.15; }
.bl-level { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 4px; border-radius: 999px; background: #f3f1f4;
  color: var(--muted); font-size: var(--text-xs); font-weight: 600; text-decoration: none; }
.bl-level img { width: 18px; height: 18px; filter: brightness(0); opacity: .72; }
a.bl-level:hover { text-decoration: underline; }
.bl-face { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .22); background: #eee7f0; flex: none; }
.bl-face-visitor { display: block; overflow: hidden; background: #fff; }
.bl-face-visitor img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%;
  transform: scale(.9); transform-origin: 50% 100%; }
.bl-art-head { flex-wrap: wrap; gap: 12px 16px; margin-bottom: 18px; }
.bl-head-text { flex: 1 1 200px; min-width: 0; }
.bl-art-head .bl-name { font-size: var(--text-md) !important; margin-bottom: 4px !important; }
.bl-article .bl-art-head h1 { font-size: var(--text-lg); margin: 8px 0 0; }
.bl-sf { margin: 8px 0 8px; padding: 16px 18px 4px; border: 2px solid #ece8ee; border-radius: var(--radius-lg); }
.bl-badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px !important; padding: 4px 12px 4px 8px; border-radius: 999px;
  border: 2px solid var(--ink); color: var(--ink); font-size: var(--text-sm) !important; font-weight: 800; }
.bl-badge span { color: var(--acc-deep); }
.bl-badge-mark { width: 20px; height: 20px; color: var(--ink); }
.bl-em { color: var(--acc-deep); font-weight: 700; }
.bl-move { margin: 26px 0 8px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: start; max-width: 440px; }
.bl-move h3 { margin: 0 0 6px !important; }
.bl-move-guard { margin-top: 10px; padding-top: 14px; border-top: 2px dashed #ece8ee; }
.bl-guard { margin: 0 0 6px !important; font-weight: var(--font-weight-heading); color: var(--acc-deep); }
.bl-panel p { margin: 0 0 10px; }
.bl-board { width: 100%; height: auto; display: block; border-radius: 6px; box-shadow: 0 1px 4px rgba(0, 0, 0, .18); }
.bl-coord { font: 700 19px var(--font-family); fill: #6f6876; }
.bl-stage { position: relative; width: 78%; max-width: 300px; margin: 4px auto 0; aspect-ratio: 7 / 5; border-radius: var(--radius-lg);
  overflow: hidden; background: #fff; border: 2px solid #ece8ee; }
.bl-clip { display: block; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; background: #fff; }
.bl-play { position: absolute; right: 8px; bottom: 8px; width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0;
  background: var(--chrome); color: #fff; cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); display: flex;   
  align-items: center; justify-content: center; }
.bl-play:focus-visible, .bl-step:focus-visible { outline: 3px solid var(--acc-deep); outline-offset: 2px; }
.bl-play-icon { width: 0; height: 0; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.bl-play.is-playing .bl-play-icon { width: 14px; height: 18px; border: 0; margin: 0; border-left: 5px solid #fff; border-right: 5px solid #fff; }
.bl-slot { aspect-ratio: 7 / 5; width: 78%; max-width: 300px; margin: 4px auto 0; border: 3px dashed #c9c2cd; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; color: var(--muted);
  font-size: var(--text-xs); background: #faf9fb; }
.bl-fig-board { min-width: 0; }
.bl-steps { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 0 0; }
.bl-step { min-width: 48px; min-height: 40px; border: 2px solid #ece8ee; border-radius: var(--radius-md); background: #fff;
  color: var(--acc-deep); font: 800 20px var(--font-family); cursor: pointer; }
.bl-step:disabled { opacity: .4; cursor: default; }
.bl-step-label { font-size: var(--text-sm); font-weight: 700; color: var(--ink); text-align: center; }
.bl-article .bl-lead { margin-bottom: 2px; }
.bl-article .bl-side { display: flex; align-items: center; gap: 0; font-size: var(--text-sm); font-style: italic; color: var(--muted); margin: 0; }
.bl-side img { flex: none; margin: 0 -2px 0 -6px; position: relative; top: -5px; }   
[hidden] { display: none !important; }
.bl-cta { margin-top: 34px; padding: 18px 18px 6px; background: #fff; border: 2px solid #ece8ee; border-radius: var(--radius-lg); }
.bl-eyebrow { display: inline-block; margin: 0 0 8px !important; padding: 2px 10px; border-radius: 999px; background: var(--paper-chip);
  color: var(--paper-chip-ink); font-size: var(--text-xs) !important; font-weight: 800; }
.bl-btn { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--acc-bright); color: #fff; text-decoration: none; font-weight: 800; }
.bl-btn:hover { filter: brightness(1.08); }
.bl-main > .bl-play-toy { margin: 36px auto 0; }   
.bl-next { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: var(--text-base); }
.bl-next .bl-fwd { margin-left: auto; text-align: right; }
.bl-next .bl-fwd::after { content: " \2192"; }
.bl-next .bl-back::before { content: "\2190\00a0"; }
.bl-next a { color: var(--ink); }   
.bl-intro { font-size: var(--text-base); color: var(--ink); }
.bl-group h2 { margin: 26px 0 6px !important; }
.bl-cards { list-style: none; margin: 0; padding: 0; }
.bl-card a { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid #ece8ee; text-decoration: none; color: var(--ink); font-weight: 400; }
.bl-card .bl-face { width: 72px; height: 72px; }
.bl-card strong { display: block; color: var(--acc-deep); font-size: var(--text-md); }
.bl-card span { font-size: var(--text-sm); }
.bl-card a:hover strong { text-decoration: underline; }
@media (min-width: 768px) {
  .bl-article h1 { font-size: var(--text-2xl); }
  .bl-article .bl-art-head h1 { font-size: var(--text-xl); }
  .bl-main { padding-top: 24px; }
  .bl-main > .ashell-pagebar { max-width: 700px; margin: -12px auto 4px; }   
  .bl-main > .ashell-pagebar .ashell-ib { margin-left: -12px; }
  .bl-move { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 20px; }
  .bl-stage, .bl-slot { width: 100%; max-width: 260px; margin: 6px 0 0; }
}
@media (max-width: 420px) {
  .bl-face { width: 88px; height: 88px; }
}
