/* Oshipass demo: a phone-shaped recording of the app and, beside it, a panel in the app's own
   navigation look (tint pill behind the icon, ink label, muted line). Colours are AppColors.light
   with the sample oshi colour #3b8fe0. */
.op-play {
  --op-ink: #202C40; --op-muted: #5F6B7E; --op-line: #E2E7EF; --op-surface: #fff; --op-surface2: #F6F8FC;
  --op-oshi: #3B8FE0; --op-tint: #E4EFFB; --op-oshi-ink: #2F6699;
  display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 400px); justify-content: center; align-items: center;
  gap: clamp(28px, 5vw, 72px); margin-top: clamp(32px, 4vw, 48px);
}
.op-demo {
  --demo-bg: #F6F8FC; --demo-fg: #202C40; --demo-soft: #5F6B7E; --demo-accent: #3B8FE0; --demo-accent-fg: #fff;
  --demo-line: rgba(32, 44, 64, 0.1); --demo-radius: 44px;
  justify-self: center; max-width: 360px;
  box-shadow: 0 0 0 9px #1d1a22, 0 0 0 10px #3a3640, 0 40px 80px -30px rgba(58, 18, 48, 0.55);
}

.op-panel { font-family: "Zen Kaku Gothic New", var(--font); color: var(--op-ink); }
html[lang="zh-TW"] .op-panel { font-family: "Noto Sans TC", var(--font); }
html[lang="ko"] .op-panel { font-family: var(--font); }
.op-steps {
  list-style: none; margin: 0; padding: 8px; display: grid; gap: 2px;
  background: var(--op-surface); border: 1px solid var(--op-line); border-radius: 18px;
}
.op-step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px 10px; border-radius: 14px; }
.op-ind { display: grid; place-items: center; width: 56px; height: 32px; border-radius: 16px; transition: background-color 0.3s ease; }
.op-ind svg { width: 22px; height: 22px; fill: none; stroke: var(--op-muted); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s ease; }
.op-text { display: grid; gap: 2px; }
.op-text b { font-size: 0.95rem; font-weight: 700; line-height: 1.35; color: var(--op-muted); transition: color 0.3s ease; }
.op-text span { font-size: 0.8125rem; line-height: 1.55; color: var(--op-muted); text-wrap: pretty; }
.op-step.is-now .op-ind { background: var(--op-tint); }
.op-step.is-now .op-ind svg { stroke: var(--op-oshi-ink); }
.op-step.is-now .op-text b { color: var(--op-ink); }
.op-step.is-past .op-ind svg { stroke: var(--op-oshi); }
.op-note { margin: 14px 4px 0; color: var(--muted); font-size: var(--t-small, 0.875rem); }

/* Phone width: the panel becomes the app's bottom navigation bar, the current row's line under it */
@media (max-width: 760px) {
  .op-play { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .op-demo { width: min(100%, 340px); }
  .op-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 8px 4px 10px; gap: 0; position: relative; }
  .op-step { grid-template-columns: 1fr; justify-items: center; gap: 4px; padding: 2px 0; }
  .op-text { text-align: center; }
  .op-text b { font-size: 0.6875rem; line-height: 1.3; }
  .op-text span { display: none; }
  .op-step.is-now .op-text span {
    display: block; position: absolute; left: 0; right: 0; top: calc(100% + 10px); padding: 0 6px;
    font-size: 0.875rem; color: var(--op-ink); text-align: center;
  }
  .op-panel [data-demo-panel] { padding-bottom: 60px; }
  .op-note { margin-top: 4px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .op-ind, .op-ind svg, .op-text b { transition: none; }
}
