/* ip-10-0-0-1.css: audience switcher (Piso WiFi / Xfinity / other), the coin-hotspot drawing, the portal
   button glossary, the owner box and the Xfinity model split. Resting state of every animated element is
   its informative frame (coin above the slot, timer bar partly full). */

.audience-chips { margin: 0.25rem 0 0.25rem; }
.audience-chips { flex-wrap: nowrap; gap: 0.4rem; }
.audience-chips li, .audience-chips .chip { flex: 0 1 auto; }
.audience-chips .chip { font-size: 0.9375rem; padding: 0.5rem 0.8rem; white-space: nowrap; }
.audience:not(.toggle-ready) .audience-panel + .audience-panel { margin-top: 2.5rem; border-top: 2px solid var(--rule); padding-top: 0.5rem; }
.audience-panel > .panel-heading { margin-top: 1.25rem; }
.portal-hint { margin-top: 0.6rem; }

.coin-art { display: block; width: 100%; max-width: 30rem; height: auto; overflow: visible; }
.cn-machine { fill: #c98a0b; }
.cn-antenna { stroke: #18222e; stroke-width: 3; stroke-linecap: round; }
.cn-panel { fill: #18222e; }
.cn-panel-text { font-size: 11px; font-weight: 700; fill: #ffd779; text-anchor: middle; letter-spacing: 0.06em; }
.cn-slot-plate { fill: #7a5306; }
.cn-slot { fill: #18222e; }
.cn-tray { fill: #7a5306; }
.cn-coin circle { fill: #f3c54a; stroke: #a87708; stroke-width: 2; }
.cn-coin text { font-size: 10px; font-weight: 800; fill: #7a5306; text-anchor: middle; }
.cn-coin { animation: cn-drop 3.2s ease-in infinite; }
.cn-wave { fill: none; stroke: var(--wan); stroke-width: 2.5; stroke-linecap: round; animation: cn-glow 1.8s ease-in-out infinite; }
.cn-wave.w2 { animation-delay: 0.25s; }
.cn-wave.w3 { animation-delay: 0.5s; }
.cn-phone { fill: #18222e; }
.cn-screen { fill: #f8f9fb; }
.cn-url { font-size: 10.5px; font-weight: 700; fill: var(--muted); text-anchor: middle; font-variant-numeric: tabular-nums; }
.cn-btn { fill: #fff; stroke: #aeb9c4; stroke-width: 1.2; }
.cn-btn.main { fill: var(--led); stroke: none; }
.cn-btn-text { font-size: 11.5px; font-weight: 700; fill: #fff; text-anchor: middle; }
.cn-btn-text.dark { fill: var(--ink); font-size: 10px; }
.cn-small { font-size: 10px; fill: var(--muted); }
.cn-time { font-size: 18px; font-weight: 800; fill: var(--ink); font-variant-numeric: tabular-nums; }
.cn-track { fill: #e2e8ef; }
.cn-fill { fill: var(--led); transform-box: fill-box; transform-origin: left center; animation: cn-fill 3.2s ease-out infinite; }
.cn-step circle { fill: var(--ink); }
.cn-step text { font-size: 11px; font-weight: 700; fill: #fff; text-anchor: middle; }
.cn-hop { fill: none; stroke: #c98a0b; stroke-width: 2; stroke-dasharray: 3 4; }

@keyframes cn-drop { 0% { transform: translateY(-14px); opacity: 0; } 15% { opacity: 1; } 40%, 100% { transform: none; opacity: 1; } }
@keyframes cn-fill { 0%, 40% { transform: scaleX(0.08); } 85%, 100% { transform: scaleX(1); } }
@keyframes cn-glow { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.portal-terms { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0.5rem 0 0.75rem; background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }
.portal-terms dt { font-weight: 700; padding: 0.65rem 0.9rem 0; }
.portal-terms dd { margin: 0; padding: 0.15rem 0.9rem 0.65rem; color: var(--ink); border-bottom: 1px solid var(--rule); }
.portal-terms dd:last-child { border-bottom: 0; }
@media (min-width: 34rem) {
  .portal-terms { grid-template-columns: 9.5rem 1fr; }
  .portal-terms dt { padding: 0.65rem 0.9rem; border-bottom: 1px solid var(--rule); }
  .portal-terms dd { padding: 0.65rem 0.9rem; }
  .portal-terms dt:nth-last-of-type(1) { border-bottom: 0; }
}

.owner-box { margin: 1.75rem 0 0.5rem; padding: 0.9rem 1rem; border: 2px dashed var(--lan); border-radius: 12px; background: var(--lan-wash); }
.owner-box h3 { margin-top: 0; }
.owner-box > :last-child { margin-bottom: 0; }

.model-split { display: grid; gap: 0.75rem; margin: 1rem 0; }
@media (min-width: 40rem) { .model-split { grid-template-columns: 1fr 1fr; } }
.model { background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; padding: 0.8rem 0.95rem 0.2rem; }
.model h3 { margin-top: 0; }
.model ol.steps { margin-top: 0; }

/* Visible key for the numbered markers in the coin drawing */
.coin-legend { margin: 0.5rem 0 0; padding-left: 1.4rem; font-size: 0.9375rem; }
.coin-legend li + li { margin-top: 0.15rem; }
