/* IOMI — avatar «Conhecer a IOMI» e apresentações (2.17.0) */

/* ---------- Botão flutuante ---------- */
.iomi-assist { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 60; font-family: var(--font); }
.assist-launcher {
  display: flex; align-items: center; gap: 0.7rem; padding: 0.4rem 1.1rem 0.4rem 0.4rem;
  border: 1px solid rgba(196, 152, 65, 0.55); border-radius: 999px; cursor: pointer;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff;
  box-shadow: 0 18px 40px -18px rgba(0, 20, 45, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.assist-launcher:hover { transform: translateY(-2px); box-shadow: 0 22px 46px -18px rgba(0, 20, 45, 0.85); }
.assist-launcher:focus-visible { outline-color: var(--gold); }
.assist-launcher-face { position: relative; width: 2.75rem; height: 2.75rem; flex: none; border-radius: 50%; padding: 2px; background: linear-gradient(140deg, #E8CF94, var(--gold) 55%, #8E6A24); }
.assist-launcher-face img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--navy-deep); }
.assist-launcher-face::after { content: ""; position: absolute; right: 1px; bottom: 1px; width: 0.65rem; height: 0.65rem; border-radius: 50%; background: #3FA372; border: 2px solid var(--navy-deep); }
.assist-launcher-text { display: grid; text-align: left; line-height: 1.15; }
.assist-launcher-text strong { font-size: 0.95rem; font-weight: 600; }
.assist-launcher-text small { font-size: 0.74rem; color: #E3C47E; margin-top: 0.15rem; }
@media (prefers-reduced-motion: no-preference) {
  .assist-launcher-face::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid rgba(227, 196, 126, 0.7); animation: assist-ring 2.8s ease-out 1.2s 3; }
}
@keyframes assist-ring { 0% { transform: scale(0.9); opacity: 0.9; } 100% { transform: scale(1.35); opacity: 0; } }
@media (max-width: 520px) {
  .assist-launcher { padding-right: 0.9rem; gap: 0.55rem; }
  .assist-launcher-text small { display: none; }
  .assist-launcher-text strong { font-size: 0.88rem; }
}
.iomi-assist.is-open .assist-launcher { box-shadow: 0 0 0 3px rgba(196, 152, 65, 0.45), 0 18px 40px -18px rgba(0, 20, 45, 0.75); }

/* ---------- Painel ---------- */
.assist-panel {
  position: absolute; right: 0; bottom: calc(100% + 0.75rem);
  width: min(390px, calc(100vw - 2rem)); max-height: min(640px, calc(100dvh - 6.5rem)); overflow: auto; overscroll-behavior: contain;
  background: var(--surface); color: var(--ink); border-radius: 18px; border-top: 4px solid var(--gold);
  box-shadow: 0 30px 80px -30px rgba(0, 20, 45, 0.55), 0 0 0 1px rgba(1, 43, 87, 0.08);
}
@media (prefers-reduced-motion: no-preference) { .iomi-assist.is-open .assist-panel { animation: assist-in 0.22s ease-out; } }
@keyframes assist-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.assist-head { position: sticky; top: 0; z-index: 1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.8rem; align-items: center; padding: 1rem 1rem 0.9rem; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; }
.assist-head img { width: 3.5rem; height: 3.5rem; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.assist-title { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; line-height: 1.2; }
.assist-role { margin-top: 0.15rem !important; font-size: 0.76rem; line-height: 1.35; color: rgba(255, 255, 255, 0.72); }
.assist-close { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); background: transparent; color: #fff; cursor: pointer; }
.assist-close:hover { background: rgba(255, 255, 255, 0.1); }
.assist-close:focus-visible { outline-color: var(--gold); }
.assist-body { padding: 1rem 1rem 1.1rem; }
.assist-greeting { font-size: 0.95rem; line-height: 1.5; color: var(--ink-soft); }
.assist-main {
  display: flex; align-items: center; gap: 0.85rem; width: 100%; margin-top: 0.9rem; padding: 0.85rem 1rem;
  border: 0; border-radius: 14px; cursor: pointer; text-align: left; font: inherit;
  background: linear-gradient(135deg, #D7AE5C 0%, var(--gold) 55%, #B48632 100%); color: var(--navy-deep);
  box-shadow: 0 12px 26px -16px rgba(126, 93, 29, 0.9);
}
.assist-main .icon { width: 2.1rem; height: 2.1rem; stroke: var(--navy-deep); --icon-accent: var(--navy-deep); }
.assist-main strong { display: block; font-size: 1rem; }
.assist-main small { display: block; font-size: 0.8rem; opacity: 0.85; margin-top: 0.1rem; }
.assist-main:hover { filter: brightness(1.04); }
.assist-chapters { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; gap: 0.45rem; }
.assist-chapters button { display: flex; align-items: center; gap: 0.75rem; width: 100%; padding: 0.55rem 0.7rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; text-align: left; font: inherit; color: var(--ink); }
.assist-chapters button:hover { border-color: var(--gold); background: #FBF8F1; }
.assist-chapters strong { display: block; font-size: 0.93rem; color: var(--navy); }
.assist-chapters small { display: block; font-size: 0.76rem; color: var(--ink-faint); }
.assist-chapters .icon-tile { width: 2.3rem; height: 2.3rem; border-radius: 10px; }
.assist-sub { margin-top: 1.1rem !important; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); }
.assist-topics { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.55rem; }
.assist-topic { padding: 0.42rem 0.75rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--navy); font: 600 0.8rem/1.25 var(--font); cursor: pointer; }
.assist-topic:hover { border-color: var(--navy); background: #EEF2F8; }
.assist-answer { margin-top: 0.85rem; padding: 0.85rem 0.95rem; border-radius: 0 12px 12px 0; border-left: 3px solid var(--gold); background: #F4F6FA; font-size: 0.9rem; line-height: 1.55; color: var(--ink); }
.assist-answer p + p { margin-top: 0.4em; }
.assist-answer-title { font-weight: 700; color: var(--navy); }
.assist-answer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin-top: 0.7rem; }
.assist-link { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; font-size: 0.86rem; color: var(--navy); }
.assist-link .icon { width: 1rem; height: 1rem; }
.assist-listen { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.3rem 0.65rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font: 600 0.8rem/1.2 var(--font); cursor: pointer; }
.assist-listen .icon { width: 1rem; height: 1rem; }
.assist-listen.is-on { border-color: var(--gold); background: var(--gold-tint); }
.assist-form { display: flex; gap: 0.45rem; margin-top: 0.9rem; }
.assist-form input { flex: 1; min-width: 0; min-height: 2.6rem; padding: 0.5rem 0.75rem; border: 1px solid #B8C2D0; border-radius: 10px; font: 0.92rem var(--font); color: var(--ink); }
.assist-form input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(1, 43, 87, 0.15); }
.assist-form button { padding: 0 0.95rem; border: 0; border-radius: 10px; background: var(--navy); color: #fff; font: 600 0.88rem var(--font); cursor: pointer; }
.assist-form button:hover { background: var(--navy-soft); }
.assist-note { margin-top: 0.6rem !important; font-size: 0.74rem; line-height: 1.45; color: var(--ink-faint); }

/* ---------- Apresentação ---------- */
html.explainer-lock, html.explainer-lock body { overflow: hidden; }
.explainer { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: max(0.75rem, env(safe-area-inset-top)) 0.75rem max(0.75rem, env(safe-area-inset-bottom)); font-family: var(--font); opacity: 0; transition: opacity 0.2s ease; }
.explainer.is-open { opacity: 1; }
.explainer-backdrop { position: absolute; inset: 0; background: rgba(0, 14, 30, 0.82); backdrop-filter: blur(6px); }
.explainer-box {
  position: relative; width: min(1100px, 100%); max-height: calc(100dvh - 1.5rem); overflow: auto; overscroll-behavior: contain;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  border-radius: 22px; color: #fff; border: 1px solid rgba(227, 196, 126, 0.28);
  background: radial-gradient(120% 90% at 0% 0%, #0B3A6B 0%, var(--navy-deep) 60%), var(--navy-deep);
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.9);
}
.explainer :focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.explainer-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem 0.5rem 1.5rem; }
.explainer-chapter { font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); }
.explainer-chapter strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: #fff; }
.explainer-chapter-kicker { color: #E3C47E; font-weight: 600; }
.explainer-icon-btn { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; flex: none; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.04); color: #fff; cursor: pointer; }
.explainer-icon-btn:hover:not(:disabled) { background: rgba(255, 255, 255, 0.12); border-color: rgba(227, 196, 126, 0.7); }
.explainer-icon-btn:disabled { opacity: 0.35; cursor: default; }
.explainer-icon-btn .icon { width: 1.3rem; height: 1.3rem; }
.explainer .icon { --icon-accent: #E3C47E; }

.explainer-main { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(1rem, 3vw, 2.25rem); padding: 0.75rem clamp(1rem, 3vw, 1.75rem) 1rem; align-items: start; }
.explainer-avatar { display: grid; gap: 0.75rem; }
.avatar-frame { position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 3 / 4; border: 1px solid rgba(227, 196, 126, 0.55); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.95); background: #0B2747; }
.avatar-frame::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(to top, rgba(0, 18, 38, 0.85), transparent); pointer-events: none; }
.avatar-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transform-origin: 50% 30%; }
@media (prefers-reduced-motion: no-preference) {
  .explainer.is-open .avatar-frame img { animation: avatar-breathe 9s ease-in-out infinite alternate; }
  .explainer-avatar.is-speaking .avatar-frame { box-shadow: 0 0 0 2px rgba(227, 196, 126, 0.55), 0 30px 60px -36px rgba(0, 0, 0, 0.95); }
}
@keyframes avatar-breathe { from { transform: scale(1.0); } to { transform: scale(1.045) translateY(-1%); } }
.avatar-wave { position: absolute; z-index: 1; left: 50%; bottom: 0.9rem; transform: translateX(-50%); display: flex; align-items: flex-end; gap: 4px; height: 1.4rem; opacity: 0; transition: opacity 0.25s ease; }
.avatar-wave i { display: block; width: 4px; height: 30%; border-radius: 2px; background: #E3C47E; }
.explainer-avatar.is-speaking .avatar-wave { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .explainer-avatar.is-speaking .avatar-wave i { animation: wave 0.9s ease-in-out infinite; }
  .explainer-avatar.is-speaking .avatar-wave i:nth-child(2) { animation-delay: 0.15s; }
  .explainer-avatar.is-speaking .avatar-wave i:nth-child(3) { animation-delay: 0.3s; }
  .explainer-avatar.is-speaking .avatar-wave i:nth-child(4) { animation-delay: 0.45s; }
  .explainer-avatar.is-speaking .avatar-wave i:nth-child(5) { animation-delay: 0.6s; }
}
@media (prefers-reduced-motion: reduce) { .explainer-avatar.is-speaking .avatar-wave i { height: 70%; } }
@keyframes wave { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.avatar-name { display: grid; line-height: 1.25; }
.avatar-name strong { font-family: var(--serif); font-size: 1.15rem; }
.avatar-name span { font-size: 0.82rem; color: rgba(255, 255, 255, 0.68); }

.explainer-stage { display: grid; gap: 1rem; min-width: 0; }
.explainer-scene, .explainer-video { position: relative; min-height: clamp(220px, 34vh, 340px); border-radius: 18px; overflow: hidden; background: #F7F4EE; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(1, 43, 87, 0.08); }
.explainer-scene::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5; background-image: linear-gradient(rgba(1, 43, 87, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(1, 43, 87, 0.05) 1px, transparent 1px); background-size: 28px 28px; }
.explainer.has-video .explainer-scene { display: none; }
.explainer-video { display: grid; place-items: center; background: #000; }
.explainer-video video { width: 100%; height: 100%; max-height: 60vh; display: block; background: #000; }
.explainer-caption { min-height: 4.6em; font-family: var(--serif); font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.3rem); line-height: 1.5; color: #fff; max-width: 46em; }
.explainer-novoice { font-size: 0.82rem; color: #E3C47E; }
.explainer.has-video .avatar-wave, .explainer.has-video .explainer-progress, .explainer.has-video .explainer-controls { display: none; }

.explainer-bar { display: grid; gap: 0.85rem; padding: 0.75rem clamp(1rem, 3vw, 1.75rem) 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.explainer-progress { display: flex; gap: 4px; }
.explainer-progress span { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.16); overflow: hidden; position: relative; }
.explainer-progress span.is-done { background: var(--gold); }
.explainer-progress span.is-now { background: rgba(227, 196, 126, 0.45); }
@media (prefers-reduced-motion: no-preference) {
  .explainer.is-playing .explainer-progress span.is-now::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform-origin: left; animation: progress-fill var(--dur, 6s) linear forwards; }
}
@keyframes progress-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.explainer-controls { display: flex; align-items: center; gap: 0.6rem; }
.explainer-play { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(140deg, #E2BE72, var(--gold) 55%, #A9802F); color: var(--navy-deep); box-shadow: 0 14px 30px -14px rgba(196, 152, 65, 0.9); }
.explainer-play .icon { width: 2rem; height: 2rem; --icon-accent: var(--navy-deep); }
.explainer-play .icon circle { stroke: transparent; }
.explainer-count { margin-left: 0.4rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); font-variant-numeric: tabular-nums; }
.explainer-voice { margin-left: auto; }
.explainer-tabs { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.15rem; scrollbar-width: thin; }
.explainer-tab { display: inline-flex; align-items: center; gap: 0.5rem; flex: none; padding: 0.5rem 0.9rem 0.5rem 0.7rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); background: transparent; color: rgba(255, 255, 255, 0.85); font: 600 0.85rem/1.2 var(--font); cursor: pointer; }
.explainer-tab .icon { width: 1.15rem; height: 1.15rem; }
.explainer-tab:hover { border-color: rgba(227, 196, 126, 0.7); color: #fff; }
.explainer-tab.is-active { background: #fff; color: var(--navy); border-color: #fff; }
.explainer-tab.is-active .icon { stroke: var(--navy); --icon-accent: var(--gold-deep); }

@media (max-width: 820px) {
  .explainer { padding: 0; }
  .explainer-box { border-radius: 0; max-height: 100dvh; height: 100dvh; width: 100%; border: 0; }
  .explainer-main { grid-template-columns: minmax(0, 1fr); gap: 0.85rem; }
  .explainer-avatar { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0.85rem; }
  .avatar-frame { width: 4.75rem; aspect-ratio: 1; border-radius: 50%; }
  .avatar-frame::after { display: none; }
  .avatar-wave { bottom: 0.35rem; height: 0.9rem; gap: 2px; }
  .avatar-wave i { width: 3px; }
  .explainer-scene { min-height: 230px; }
  .explainer-top { padding: 0.85rem 0.85rem 0.25rem 1rem; }
}

/* ---------- Cenas ---------- */
.scene-visual { position: relative; z-index: 1; display: grid; place-items: center; align-content: center; gap: 1rem; min-height: inherit; padding: clamp(1.25rem, 3vw, 2.25rem); text-align: center; }
.explainer-scene.is-in .scene-visual > * { animation: scene-in 0.5s ease-out both; }
@media (prefers-reduced-motion: reduce) { .explainer-scene.is-in .scene-visual > * { animation: none; } }
@keyframes scene-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.sv-caption { font-size: 0.95rem; font-weight: 600; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 0.4rem; }
.sv-caption.is-problem { color: var(--danger); }
.sv-caption .icon { width: 1.1rem; height: 1.1rem; }
.sv-kicker { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); }

.sv-title { display: grid; justify-items: center; gap: 0.6rem; }
.sv-mark { display: inline-flex; gap: 6px; }
.sv-mark i { display: block; width: 8px; height: 3.2rem; background: var(--gold); border-radius: 1px; }
.sv-heading { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 1.4rem + 3vw, 3.6rem); line-height: 1.05; color: var(--navy); max-width: 16ch; }

.sv-fragments { display: grid; grid-template-columns: repeat(4, 3.6rem); grid-template-rows: repeat(3, 2.6rem); gap: 3px; }
.sv-fragments span { border-radius: 3px; background: linear-gradient(135deg, #E9DDBF, #F4EEDF); border: 1px solid rgba(126, 93, 29, 0.25); }
.sv-fragments span:nth-child(3n) { background: linear-gradient(135deg, #D9E0EA, #EEF2F7); border-color: rgba(1, 43, 87, 0.2); }
@media (prefers-reduced-motion: no-preference) {
  .explainer-scene.is-in .sv-fragments span { animation: frag-scatter 1.6s cubic-bezier(.2, .75, .2, 1) 0.4s both; }
  .sv-fragments span:nth-child(2n) { --dx: 14px; --dy: -10px; --r: 7deg; }
  .sv-fragments span:nth-child(3n) { --dx: -16px; --dy: 12px; --r: -8deg; }
  .sv-fragments span:nth-child(4n) { --dx: 10px; --dy: 16px; --r: 5deg; }
  .sv-fragments span:nth-child(5n) { --dx: -12px; --dy: -14px; --r: -6deg; }
}
@keyframes frag-scatter { to { transform: translate(var(--dx, 6px), var(--dy, 6px)) rotate(var(--r, 3deg)); } }

.sv-listings { display: flex; gap: 0.9rem; }
.sv-listing { display: grid; justify-items: center; gap: 0.25rem; padding: 0.9rem 1rem 0.8rem; min-width: 6.5rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 30px -24px rgba(1, 43, 87, 0.6); transform: rotate(calc((var(--n) - 1) * 3deg)) translateY(calc(var(--n) * 6px)); }
.sv-listing .sv-house .icon { width: 2rem; height: 2rem; color: var(--navy); }
.sv-listing b { font-family: var(--serif); font-size: 1.15rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.sv-listing small { font-size: 0.72rem; font-weight: 700; color: var(--ink-faint); }

.sv-iori { display: flex; align-items: flex-end; font-family: var(--mono); font-weight: 500; font-size: clamp(1.4rem, 0.9rem + 2.6vw, 2.6rem); color: var(--navy); letter-spacing: 0.02em; }
.sv-iori span { padding-bottom: 0.4rem; border-bottom: 3px solid rgba(1, 43, 87, 0.5); }
.sv-iori .cc { color: var(--gold-deep); border-bottom-color: var(--gold); }
.sv-iori .dash { border-bottom: 0; color: var(--ink-faint); }
.sv-iori .ck { color: var(--ink-faint); border-bottom-color: var(--line); }

.sv-icons { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.5rem; }
.sv-icons li { display: grid; justify-items: center; gap: 0.6rem; max-width: 10rem; font-weight: 600; font-size: 0.95rem; line-height: 1.3; color: var(--navy); }
.sv-icons .icon-tile { width: 4rem; height: 4rem; border-radius: 16px; }
.sv-icons .icon-tile .icon { width: 2rem; height: 2rem; }
.sv-icons.is-problem .icon-tile { border-color: rgba(163, 58, 43, 0.35); background: #FCF1EE; --icon-accent: var(--danger); }
.sv-icons.is-problem li { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .explainer-scene.is-in .sv-icons li, .explainer-scene.is-in .sv-flow li, .explainer-scene.is-in .sv-record li, .explainer-scene.is-in .sv-not li { animation: scene-in 0.5s ease-out both; animation-delay: calc(0.15s + var(--n, 0) * 0.35s); }
}

.sv-flow { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.6rem; }
.sv-flow li { display: grid; justify-items: center; gap: 0.5rem; max-width: 8.5rem; font-weight: 600; font-size: 0.9rem; line-height: 1.3; color: var(--navy); }
.sv-flow .icon-tile { width: 3.6rem; height: 3.6rem; border-radius: 14px; }
.sv-flow .icon-tile .icon { width: 1.8rem; height: 1.8rem; }
.sv-flow .sv-arrow { color: var(--gold-deep); padding-bottom: 1.8rem; }
.sv-flow .sv-arrow .icon { width: 1.4rem; height: 1.4rem; }

.sv-record { list-style: none; margin: 0; padding: 0 0 0 0.4rem; display: grid; gap: 0; text-align: left; min-width: min(22rem, 100%); }
.sv-record li { position: relative; padding: 0 0 0.85rem 1.4rem; border-left: 2px solid var(--line); font-weight: 600; font-size: 0.98rem; color: var(--navy); }
.sv-record li:last-child { border-left-color: transparent; padding-bottom: 0; }
.sv-record li::before { content: ""; position: absolute; left: -7px; top: 0.3em; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); }
.sv-record li.is-latest::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(196, 152, 65, 0.25); }

.sv-not { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.sv-not li { font-family: var(--serif); font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem); font-weight: 600; color: var(--navy); }
.sv-not li::before { content: ""; display: inline-block; width: 0.55rem; height: 0.55rem; margin-right: 0.7rem; border-radius: 50%; border: 2px solid var(--gold); vertical-align: 0.2em; }

.sv-branches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; width: min(40rem, 100%); }
.sv-branches > div { display: grid; justify-items: center; gap: 0.6rem; padding: 1.1rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 0.95rem; line-height: 1.4; color: var(--navy); }
.sv-branches .is-sale { border-top: 4px solid var(--ok); --icon-accent: var(--ok); }
.sv-branches .is-nosale { border-top: 4px solid var(--gold); }
.sv-branches .icon { width: 2rem; height: 2rem; }
@media (max-width: 560px) { .sv-branches { grid-template-columns: minmax(0, 1fr); } }

.sv-choose, .sv-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.85rem; }
.sv-choice { display: grid; justify-items: center; gap: 0.6rem; min-width: 11rem; padding: 1.1rem 1.25rem; border-radius: 16px; border: 1px solid var(--line); background: #fff; cursor: pointer; font: 600 1rem var(--font); color: var(--navy); box-shadow: 0 16px 30px -24px rgba(1, 43, 87, 0.7); }
.sv-choice:hover { border-color: var(--gold); transform: translateY(-2px); }
.sv-choice .icon-tile { width: 3.4rem; height: 3.4rem; }
.sv-choice .icon-tile .icon { width: 1.7rem; height: 1.7rem; }
@media (prefers-reduced-motion: no-preference) { .is-pulse { animation: cta-pulse 1.8s ease-out 0.8s 2; } }
@keyframes cta-pulse { 0% { box-shadow: 0 0 0 0 rgba(196, 152, 65, 0.55); } 100% { box-shadow: 0 0 0 14px rgba(196, 152, 65, 0); } }
.scene-end .btn .icon { width: 1.1rem; height: 1.1rem; }
