/*!
 * AME-2020 Receiver — 360° port guide
 * Styles are scoped to .ame360 so they don't collide with the theme.
 */

.ame360 {
  --ame-ink: #1c0620;
  --ame-blue: #108dd5;
  --ame-blue-rgb: 16, 141, 213;
  --ame-text: #5b5560;
  --ame-muted: #8a8490;
  --ame-line: rgba(111, 72, 144, 0.3);
  --ame-hair: rgba(28, 6, 32, 0.12);
  --ame-paper: #f7f5f1;
  --ame-sans: "Noto Sans Armenian", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ame-serif: "Noto Serif Armenian", Georgia, serif;
  --ame-ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  container: ame360 / inline-size;
  font-family: var(--ame-sans);
  color: var(--ame-ink);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

.ame360 *,
.ame360 *::before,
.ame360 *::after { box-sizing: inherit; }

/* Neutralise theme defaults on the elements we use. */
.ame360 :where(button) {
  appearance: none; -webkit-appearance: none;
  background: none; border: 0; border-radius: 0; box-shadow: none;
  margin: 0; padding: 0; min-width: 0; width: auto; height: auto;
  font: inherit; color: inherit; letter-spacing: inherit; text-transform: none; line-height: inherit;
  cursor: pointer; text-align: inherit;
}
.ame360 :where(ul, ol) { list-style: none; margin: 0; padding: 0; }
.ame360 :where(li) { margin: 0; padding: 0; }
.ame360 :where(p, h2, h3) { margin: 0; }
.ame360 :where(img) { max-width: none; border: 0; }
.ame360 :where(button:focus-visible, [tabindex]:focus-visible) {
  outline: 2px solid var(--ame-blue);
  outline-offset: 3px;
}

/* ---------- Section header (matches the site's eyebrow + serif heading) ---------- */

.ame360 .ame360-head { text-align: center; max-width: 640px; margin: 0 auto; }
.ame360 .ame360-eyebrow {
  font: 700 14px/1 var(--ame-sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ame-blue);
  margin-bottom: 16px;
}
.ame360 .ame360-title {
  font-family: var(--ame-serif);
  font-weight: 800;
  font-size: clamp(28px, 2.4vw + 14px, 37px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ame-ink);
}
.ame360 .ame360-lede {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ame-text);
}

/* ---------- Layout ---------- */

.ame360 .ame360-app { margin-top: 48px; }
.ame360 .ame360-body { display: grid; gap: 36px; }
@container ame360 (min-width: 900px) {
  .ame360 .ame360-body {
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr);
    gap: 56px;
    align-items: center;
  }
}

/* ---------- Stage ---------- */

.ame360 .ame360-stage {
  container: ame360stage / inline-size;
  position: relative;
  aspect-ratio: 1180 / 740;
  border-radius: 20px;
  border: 1px solid rgba(28, 6, 32, 0.08);
  background:
    radial-gradient(ellipse 55% 50% at 50% 40%, rgba(var(--ame-blue-rgb), 0.07), transparent 70%),
    radial-gradient(ellipse 80% 70% at 50% 45%, #fff 0%, #fbfaf8 50%, var(--ame-paper) 100%);
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.ame360 .ame360-stage:focus-visible { outline: 2px solid var(--ame-blue); outline-offset: 4px; }
.ame360.is-dragging .ame360-stage { cursor: grabbing; }

.ame360 .ame360-layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }

/* The receiver: a CSS 3D box. --u is one stage unit (the stage is 1180 units wide). */
.ame360 .ame360-stage { --u: calc(100cqw / 1180); }
.ame360 .ame360-scene {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
}
.ame360 .ame360-box {
  position: absolute;
  width: 0; height: 0;
  transform-style: preserve-3d;
  will-change: transform;
}
.ame360 .ame360-face {
  position: absolute;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.ame360 .ame360-face img {
  display: block;
  width: 100%; height: 100%;
  -webkit-user-drag: none;
}

/* Turntable */
.ame360 .ame360-platter-rim { fill: none; stroke: rgba(var(--ame-blue-rgb), 0.55); stroke-width: 1; }
.ame360 .ame360-platter-inner { fill: none; stroke: rgba(28, 6, 32, 0.08); stroke-width: 1; }
.ame360 .ame360-ticks-front { fill: none; stroke: rgba(28, 6, 32, 0.32); stroke-width: 1; }
.ame360 .ame360-ticks-back { fill: none; stroke: rgba(28, 6, 32, 0.1); stroke-width: 1; }
.ame360 .ame360-ticks-major { fill: none; stroke: rgba(var(--ame-blue-rgb), 0.9); stroke-width: 1.5; }
.ame360 .ame360-marker { fill: #fff; stroke: rgba(var(--ame-blue-rgb), 0.7); stroke-width: 1; transition: fill 0.3s; }
.ame360 .ame360-marker.is-front { fill: var(--ame-blue); }
.ame360 .ame360-shadow { fill: rgba(28, 6, 32, 0.22); }
.ame360 .ame360-wave {
  fill: none;
  stroke: rgba(var(--ame-blue-rgb), 0.5);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
}
.ame360.is-ready .ame360-wave { animation: ame360-wave 5.4s var(--ame-ease) infinite; }
.ame360.is-ready .ame360-wave:nth-of-type(2) { animation-delay: 1.8s; }
.ame360.is-ready .ame360-wave:nth-of-type(3) { animation-delay: 3.6s; }
@keyframes ame360-wave {
  0% { transform: scale(0.72); opacity: 0; }
  15% { opacity: 0.7; }
  100% { transform: scale(1.28); opacity: 0; }
}

/* ---------- Callouts ---------- */

.ame360 .ame360-co { opacity: 0; transition: opacity 0.18s; }
.ame360 .ame360-co.is-on { opacity: 1; transition-duration: 0.3s; }
.ame360 .ame360-co__line {
  fill: none;
  stroke: rgba(28, 6, 32, 0.55);
  stroke-width: 1;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.15s, stroke 0.25s, stroke-width 0.25s;
}
.ame360 .ame360-co.is-on .ame360-co__line {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.7s var(--ame-ease) var(--d, 0ms), stroke 0.25s, stroke-width 0.25s;
}
.ame360 .ame360-co.is-hot .ame360-co__line { stroke: var(--ame-blue); stroke-width: 2; }

/* Labels (HTML, positioned in % of the stage) */
.ame360 .ame360-label {
  position: absolute;
  transform: translate(-50%, 6px);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px 5px 5px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--ame-hair);
  box-shadow: 0 8px 18px -10px rgba(28, 6, 32, 0.35);
  font: 700 11px/1 var(--ame-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ame-ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s, transform 0.15s, background-color 0.25s, color 0.25s, border-color 0.25s;
}
.ame360 .ame360-label.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
  transition: opacity 0.4s var(--ame-ease) calc(var(--d, 0ms) + 380ms),
              transform 0.5s var(--ame-ease) calc(var(--d, 0ms) + 380ms),
              background-color 0.25s, color 0.25s, border-color 0.25s;
}
.ame360 .ame360-label__num {
  display: grid; place-items: center;
  width: 20px; height: 20px;
  border-radius: 999px;
  background: var(--ame-blue);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0;
}
.ame360 .ame360-label__num svg { width: 12px; height: 12px; }
.ame360 .ame360-label.is-hot { background: var(--ame-ink); border-color: var(--ame-ink); color: #fff; }

/* Port dots (HTML so they stay a fixed size at any stage width) */
.ame360 .ame360-hot {
  position: absolute;
  width: 44px; height: 44px;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}
.ame360 .ame360-hot.is-on { opacity: 1; pointer-events: auto; transition: opacity 0.3s var(--d, 0ms); }
.ame360 .ame360-hot--quiet.is-on { pointer-events: none; }
.ame360 .ame360-hot__dot {
  position: relative;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--ame-blue);
  box-shadow: 0 0 0 3px #fff, 0 3px 10px rgba(28, 6, 32, 0.35);
  transform: scale(0.3);
  transition: transform 0.45s var(--ame-ease);
}
.ame360 .ame360-hot.is-on .ame360-hot__dot { transform: scale(1); transition-delay: var(--d, 0ms); }
.ame360 .ame360-hot:hover .ame360-hot__dot,
.ame360 .ame360-hot.is-hot .ame360-hot__dot { transform: scale(1.3); transition-delay: 0s; }
.ame360 .ame360-hot__dot::before,
.ame360 .ame360-hot__dot::after {
  content: "";
  position: absolute; inset: -3px;
  border-radius: 50%;
  border: 1.5px solid rgba(var(--ame-blue-rgb), 0.9);
  opacity: 0;
}
.ame360 .ame360-hot.is-on .ame360-hot__dot::before { animation: ame360-ping 2.6s var(--ame-ease) infinite; animation-delay: var(--d, 0ms); }
.ame360 .ame360-hot.is-on .ame360-hot__dot::after { animation: ame360-ping 2.6s var(--ame-ease) infinite; animation-delay: calc(var(--d, 0ms) + 1.3s); }
@keyframes ame360-ping {
  0% { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(3.4); opacity: 0; }
}

/* STAT light + network LEDs */
.ame360 .ame360-led {
  position: absolute;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s, background 0.5s;
}
.ame360 .ame360-led.is-on { opacity: 1; transition-delay: 0.5s; }
.ame360 .ame360-led--stat {
  width: 15%; aspect-ratio: 1.45;
  background: radial-gradient(closest-side, rgba(255, 46, 46, 0.95), rgba(255, 46, 46, 0.45) 38%, rgba(255, 46, 46, 0) 100%);
}
.ame360 .ame360-led--stat::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 225, 215, 0.95), rgba(255, 110, 100, 0) 40%);
}
.ame360 .ame360-led--stat.is-on { animation: ame360-breathe 2.8s ease-in-out infinite; }
.ame360[data-led="green"] .ame360-led--stat {
  background: radial-gradient(closest-side, rgba(40, 225, 95, 0.95), rgba(40, 225, 95, 0.45) 38%, rgba(40, 225, 95, 0) 100%);
}
.ame360[data-led="green"] .ame360-led--stat::after {
  background: radial-gradient(closest-side, rgba(225, 255, 225, 0.95), rgba(80, 230, 120, 0) 40%);
}
/* Green only shows while the receiver loads data, and it blinks rather than staying lit */
.ame360[data-led="green"] .ame360-led--stat.is-on { animation: ame360-stat-blink 1s linear infinite; }
@keyframes ame360-breathe { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.18) saturate(1.2); } }
@keyframes ame360-stat-blink { 0%, 42% { opacity: 1; } 50%, 92% { opacity: 0.12; } 100% { opacity: 1; } }

.ame360 .ame360-led--rj { width: 2.6%; aspect-ratio: 1; mix-blend-mode: screen; }
.ame360 .ame360-led--amber { background: radial-gradient(closest-side, rgba(255, 214, 90, 1), rgba(255, 190, 40, 0)); }
.ame360 .ame360-led--green { background: radial-gradient(closest-side, rgba(150, 255, 140, 1), rgba(60, 220, 80, 0)); }
.ame360 .ame360-led--green.is-on { animation: ame360-blink 1.6s steps(1) infinite; }
@keyframes ame360-blink { 0%, 100% { opacity: 1; } 8% { opacity: 0.25; } 14% { opacity: 1; } 52% { opacity: 0.3; } 58% { opacity: 1; } 64% { opacity: 0.35; } 70% { opacity: 1; } }

/* ---------- Stage chrome ---------- */

.ame360 .ame360-compass {
  position: absolute; top: 14px; left: 14px;
  display: flex; align-items: center; gap: 10px;
  pointer-events: none;
}
.ame360 .ame360-compass svg { width: 52px; height: 52px; overflow: visible; }
.ame360 .ame360-compass__ring { fill: rgba(255, 255, 255, 0.8); stroke: var(--ame-hair); }
.ame360 .ame360-compass__tick { stroke: rgba(28, 6, 32, 0.25); stroke-width: 1; }
.ame360 .ame360-compass__body { fill: rgba(var(--ame-blue-rgb), 0.12); }
.ame360 .ame360-compass__side { stroke: rgba(28, 6, 32, 0.4); stroke-width: 1.5; stroke-linecap: round; transition: stroke 0.25s; }
.ame360 .ame360-compass__side.is-front { stroke: var(--ame-blue); stroke-width: 2.5; }
.ame360 .ame360-compass__eye { fill: var(--ame-ink); }
.ame360 .ame360-compass__read { line-height: 1; }
.ame360 .ame360-compass__deg {
  display: block;
  font: 800 20px/1 var(--ame-serif);
  color: var(--ame-blue);
  font-variant-numeric: tabular-nums;
  min-width: 3.2ch;
}
.ame360 .ame360-compass__side-name {
  display: block;
  margin-top: 5px;
  font: 700 10px/1 var(--ame-sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ame-muted);
}

.ame360 .ame360-hint {
  position: absolute; top: 22px; left: 50%;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 11px/1 var(--ame-sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ame-muted);
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.5s;
}
.ame360 .ame360-hint svg { width: 30px; height: 14px; color: var(--ame-blue); }
.ame360 .ame360-hint svg path { animation: ame360-nudge 2.4s ease-in-out infinite; }
@keyframes ame360-nudge { 0%, 100% { transform: translateX(-2px); } 50% { transform: translateX(2px); } }
.ame360.has-interacted .ame360-hint { opacity: 0; }

.ame360 .ame360-play {
  position: absolute; top: 16px; right: 16px;
  display: inline-flex; align-items: center; gap: 7px;
  height: 32px; padding: 0 12px 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--ame-hair);
  font: 700 10px/1 var(--ame-sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ame-ink);
  transition: border-color 0.2s, color 0.2s;
}
.ame360 .ame360-play:hover { border-color: var(--ame-blue); color: var(--ame-blue); }
.ame360 .ame360-play svg { width: 12px; height: 12px; }
.ame360 .ame360-play .ame360-i-pause { display: none; }
.ame360.is-touring .ame360-play .ame360-i-pause { display: block; }
.ame360.is-touring .ame360-play .ame360-i-play { display: none; }

.ame360 .ame360-arrow {
  position: absolute; top: 40%;
  width: 44px; height: 44px;
  margin-top: -22px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--ame-hair);
  box-shadow: 0 8px 20px -12px rgba(28, 6, 32, 0.4);
  color: var(--ame-ink);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.ame360 .ame360-arrow:hover { border-color: var(--ame-blue); color: var(--ame-blue); }
.ame360 .ame360-arrow:active { transform: scale(0.94); }
.ame360 .ame360-arrow svg { width: 18px; height: 18px; }
.ame360 .ame360-arrow--prev { left: 14px; }
.ame360 .ame360-arrow--next { right: 14px; }

.ame360 .ame360-loading {
  position: absolute; left: 50%; bottom: 14%;
  width: 120px; height: 2px; margin-left: -60px;
  border-radius: 2px;
  background: rgba(28, 6, 32, 0.08);
  overflow: hidden;
  transition: opacity 0.4s;
}
.ame360 .ame360-loading span { display: block; height: 100%; width: 0; background: var(--ame-blue); transition: width 0.3s; }
.ame360.is-ready .ame360-loading { opacity: 0; }

/* Small stages: keep the photo clear, show numbers only. */
@container ame360stage (max-width: 540px) {
  .ame360 .ame360-label { padding: 3px; gap: 0; }
  .ame360 .ame360-label__text { display: none; }
}
@container ame360stage (max-width: 620px) {
  .ame360 .ame360-compass { top: 10px; left: 10px; }
  .ame360 .ame360-compass svg { width: 40px; height: 40px; }
  .ame360 .ame360-compass__side-name { display: none; }
  .ame360 .ame360-compass__deg { font-size: 16px; }
  .ame360 .ame360-play { top: 10px; right: 10px; height: 28px; padding: 0 9px; }
  .ame360 .ame360-play__text { display: none; }
  .ame360 .ame360-arrow { width: 36px; height: 36px; margin-top: -18px; }
  .ame360 .ame360-arrow--prev { left: 8px; }
  .ame360 .ame360-arrow--next { right: 8px; }
}
@container ame360stage (max-width: 480px) {
  .ame360 .ame360-hint { display: none; }
}

/* ---------- Side tabs ---------- */

.ame360 .ame360-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}
@container ame360 (max-width: 560px) {
  .ame360 .ame360-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.ame360 .ame360-tab {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(28, 6, 32, 0.14);
  background: #fff;
  font: 700 11px/1.2 var(--ame-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ame-ink);
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
.ame360 .ame360-tab svg { width: 16px; height: 16px; flex: none; color: var(--ame-blue); transition: color 0.25s; }
.ame360 .ame360-tab:hover { border-color: var(--ame-blue); color: var(--ame-blue); }
.ame360 .ame360-tab[aria-selected="true"] { background: var(--ame-blue); border-color: var(--ame-blue); color: #fff; }
.ame360 .ame360-tab[aria-selected="true"] svg { color: #fff; }

/* ---------- Info panel ---------- */

.ame360 .ame360-panel { min-height: 320px; }
.ame360 .ame360-kicker {
  display: flex; align-items: center; gap: 12px;
  font: 700 12px/1 var(--ame-sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ame-blue);
}
.ame360 .ame360-kicker::after { content: ""; flex: 1; height: 1px; background: var(--ame-hair); }
.ame360 .ame360-panel__title {
  margin-top: 14px;
  font-family: var(--ame-serif);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.12;
  text-transform: uppercase;
  color: var(--ame-ink);
}
.ame360 .ame360-panel__intro { margin-top: 10px; font-size: 15px; line-height: 1.65; color: var(--ame-text); }
.ame360 .ame360-list { margin-top: 28px; }

.ame360 .ame360-item {
  position: relative;
  padding: 2px 0 2px 24px;
  border-left: 1px solid var(--ame-line);
}
.ame360 .ame360-item + .ame360-item { margin-top: 26px; }
.ame360 .ame360-item::before {
  content: "";
  position: absolute; left: -1px; top: 0; bottom: 0;
  width: 2px;
  background: var(--ame-blue);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ame-ease);
}
.ame360 .ame360-item.is-hot::before { transform: scaleY(1); }
.ame360 .ame360-item__head { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; }
.ame360 .ame360-item__icon {
  flex: none;
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 999px;
  background: rgba(var(--ame-blue-rgb), 0.1);
  color: var(--ame-blue);
  transition: background-color 0.25s, color 0.25s;
}
.ame360 .ame360-item__icon svg { width: 20px; height: 20px; }
.ame360 .ame360-item.is-hot .ame360-item__icon { background: var(--ame-blue); color: #fff; }
.ame360 .ame360-item__name {
  display: block;
  font: 700 19px/1.2 var(--ame-serif);
  color: var(--ame-ink);
}
.ame360 .ame360-item__num { color: var(--ame-blue); font-weight: 800; margin-right: 8px; font-variant-numeric: tabular-nums; }
.ame360 .ame360-item__tag {
  display: block;
  margin-top: 4px;
  font: 700 10px/1 var(--ame-sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ame-muted);
}
.ame360 .ame360-item__text { margin-top: 10px; font-size: 15px; line-height: 1.65; color: var(--ame-text); }

/* STAT colour legend */
.ame360 .ame360-legend { display: grid; gap: 8px; margin-top: 14px; }
.ame360 .ame360-legend button {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--ame-hair);
  background: #fff;
  font-size: 14px; line-height: 1.4;
  color: var(--ame-text);
  transition: border-color 0.25s, background-color 0.25s, color 0.25s;
}
.ame360 .ame360-legend button:hover { border-color: rgba(28, 6, 32, 0.3); }
.ame360 .ame360-legend button[aria-pressed="true"] { border-color: var(--ame-ink); color: var(--ame-ink); background: var(--ame-paper); }
.ame360 .ame360-legend b { font-weight: 700; color: var(--ame-ink); }
.ame360 .ame360-swatch { flex: none; width: 12px; height: 12px; border-radius: 50%; }
.ame360 .ame360-swatch--red { background: #ff2d2d; box-shadow: 0 0 0 3px rgba(255, 45, 45, 0.18), 0 0 10px rgba(255, 45, 45, 0.7); }
.ame360 .ame360-swatch--green { background: #28d65a; box-shadow: 0 0 0 3px rgba(40, 214, 90, 0.18), 0 0 10px rgba(40, 214, 90, 0.7); }
.ame360 .ame360-legend button[aria-pressed="true"] .ame360-swatch--green { animation: ame360-stat-blink 1s linear infinite; }

/* Jump list on the model side */
.ame360 .ame360-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ame360 .ame360-jump button {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 36px;
  padding: 0 14px 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(28, 6, 32, 0.14);
  background: #fff;
  font: 700 11px/1 var(--ame-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ame-ink);
  transition: border-color 0.2s, color 0.2s;
}
.ame360 .ame360-jump button svg { width: 15px; height: 15px; color: var(--ame-blue); }
.ame360 .ame360-jump button:hover { border-color: var(--ame-blue); color: var(--ame-blue); }

/* Panel content swaps in with a short stagger */
.ame360 .ame360-panel.is-entering > *,
.ame360 .ame360-panel.is-entering .ame360-item { animation: ame360-rise 0.55s var(--ame-ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
.ame360 .ame360-panel.is-entering .ame360-item:nth-child(2) { animation-delay: 240ms; }
.ame360 .ame360-panel.is-entering .ame360-item:nth-child(3) { animation-delay: 300ms; }
@keyframes ame360-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.ame360 .ame360-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* No-JS fallback */
.ame360 .ame360-static img { display: block; width: 100%; max-width: 760px; height: auto; margin: 0 auto; }
.ame360 .ame360-static ul { max-width: 640px; margin: 24px auto 0; }
.ame360 .ame360-static li { padding: 8px 0 8px 20px; border-left: 1px solid var(--ame-line); color: var(--ame-text); line-height: 1.6; }
.ame360 .ame360-static li + li { margin-top: 10px; }
.ame360 .ame360-static strong { color: var(--ame-ink); }

@media (prefers-reduced-motion: reduce) {
  .ame360 *,
  .ame360 *::before,
  .ame360 *::after { animation: none !important; }
}
