.ritmo-addition { margin-top: 18px; }
.hero #heroEmblem { display: none; }
.hero .ritmo-couple { align-self: stretch; overflow: hidden; }
.ritmo-couple img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 40%; }
.ritmo-addition video { display: block; width: 100%; max-width: 34rem; max-height: 32rem; margin: .75rem auto; background: #10151b; border-radius: 12px; }
#dance-groups label { display: grid; gap: .3rem; }
#dance-groups input { width: 100%; padding: .55rem; border: 1px solid #b8bec9; border-radius: 8px; font: inherit; }
#ritmo-result { display: block; overflow-wrap: anywhere; margin-top: .65rem; }
#ritmo-invitation { padding: .8rem 0; }

/* ---------- nav: 10 sections ---------- */
@media (min-width: 761px) and (max-width: 1400px) { nav.main a { padding: 6px 7px; font-size: .78rem; } nav.main .lf { display: none; } nav.main .ls { display: inline; } .brand small { display: none; } }
@media (max-width: 760px) {
  nav.main { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  nav.main::-webkit-scrollbar { display: none; }
  nav.main a { flex: 0 0 auto; min-width: 64px; }
}

/* ---------- footwork ---------- */
.mv-strip { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; margin: 8px 0 12px; }
.mv-strip span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; border-radius: 9px; background: var(--blue-soft); color: var(--blue); text-align: center; transition: background .06s, transform .06s; }
.mv-strip span b { font-size: 1rem; }
.mv-strip span small { font-size: .62rem; font-weight: 700; line-height: 1.1; min-height: 2.2em; }
.mv-strip span.x { background: #fff; border: 1.5px dashed var(--red); color: var(--red); }
.mv-strip span.p { opacity: .45; }
.mv-strip span.on { background: var(--red); color: #fff; opacity: 1; transform: scale(1.06); }
.mv-card.done { border-color: var(--red); }
.mv-card video { width: 100%; border-radius: 10px; margin-top: 8px; background: #000; }
.mv-card details summary { cursor: pointer; font-weight: 700; color: var(--blue); font-size: .88rem; }
.cb-item { border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; margin-bottom: 8px; }
.cb-item.now { border-color: var(--red); box-shadow: 0 0 0 2px var(--red-soft); }
.st-list { list-style: none; padding: 0; margin: 6px 0 0; }
.st-list li { padding: 4px 0; }

/* ---------- studios ---------- */
.st-in { padding: .55rem .6rem; border: 1px solid #b8bec9; border-radius: 8px; font: inherit; background: #fff; color: var(--ink); max-width: 100%; }
.st-label { display: grid; gap: .3rem; font-size: .85rem; font-weight: 600; }
.st-label .st-in { width: 100%; }
textarea.st-in { resize: vertical; font-size: .85rem; }
.st-gap { margin-top: 14px; }
.st-small { font-size: .82rem; }
.st-form h4 { margin: 0 0 8px; color: var(--blue); }
.st-table-wrap { overflow-x: auto; }
.st-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.st-table th { text-align: left; font-size: .7rem; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); padding: 6px 8px; border-bottom: 2px solid var(--line); }
.st-table td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pill.g { background: #e3f4e9; color: #0d5c2b; }
.pill:not(.b):not(.r):not(.g) { background: var(--paper); color: var(--muted); }
.st-class { border-left: 5px solid var(--blue); }
.st-mbox { max-width: 640px; max-height: 90vh; overflow-y: auto; }
#stTabs { flex-wrap: wrap; }
@media (max-width: 760px) { #stTabs { flex-wrap: nowrap; } .mv-strip small { font-size: .56rem; } }

/* ---------- schedules & instructor ---------- */
.st-days { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.st-days legend { font-size: .85rem; font-weight: 600; padding: 0 4px; }
.st-days label { font-weight: 600; font-size: .88rem; display: flex; align-items: center; gap: 4px; }
.st-day { border-top: 1px solid var(--line); padding: 10px 0; }
.st-day:first-of-type { border-top: 0; }
.st-day-h { font-weight: 800; color: var(--blue); margin-bottom: 4px; }
.st-sess { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 10px; background: var(--paper); margin-top: 6px; }
.st-sess.off { opacity: .55; text-decoration: line-through; }
.st-sess.off button { text-decoration: none; }
.st-code { font-size: 1.15rem; letter-spacing: 3px; color: var(--red); }

/* ---------- check-in screen ---------- */
body.st-kiosk-on { overflow: hidden; }
.st-kiosk { position: fixed; inset: 0; z-index: 100; background: var(--blue); color: #fff; display: flex; flex-direction: column; }
.st-kiosk[hidden] { display: none; }
.st-k-top { display: flex; align-items: center; gap: 16px; padding: 14px 22px; border-bottom: 6px solid var(--red); font-size: 1.1rem; }
.st-k-top b { flex: 1; font-family: "Playfair Display", serif; font-size: 1.4rem; }
#kClock { font-weight: 800; font-size: 1.3rem; }
.st-k-exit { background: transparent; border: 1.5px solid rgba(255,255,255,.5); color: #fff; border-radius: 999px; padding: 6px 14px; font-size: .8rem; opacity: .7; user-select: none; -webkit-user-select: none; touch-action: none; }
.st-k-main { flex: 1; overflow-y: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; text-align: center; }
.st-k-main h1 { color: #fff; font-size: 2.4rem; margin: 0 0 6px; }
.st-k-code { font-size: 2.6rem; letter-spacing: 18px; text-align: center; width: 260px; padding: 10px; border-radius: 14px; border: 0; margin: 12px 0; font-weight: 800; color: var(--blue); }
.st-k-pad { display: grid; grid-template-columns: repeat(3, 86px); gap: 10px; justify-content: center; }
.st-k-pad button { height: 70px; border: 0; border-radius: 16px; background: rgba(255,255,255,.14); color: #fff; font-size: 1.7rem; font-weight: 800; }
.st-k-pad button:active { background: var(--red); }
.st-k-pad button[type=submit] { background: var(--red); font-size: 1.2rem; }
.st-k-hint { opacity: .8; margin-top: 16px; }
.st-k-hint.warn, .st-kiosk .warn { color: #ffd2d7; font-weight: 700; opacity: 1; }
.st-k-ok { background: #127a3a; padding: 12px 18px; border-radius: 12px; font-weight: 700; font-size: 1.15rem; margin: 8px 0 14px; }
.st-k-list { display: grid; gap: 12px; width: min(640px, 100%); margin: 10px 0; }
.st-k-item { background: #fff; color: var(--ink); border-radius: 16px; padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; text-align: left; }
.st-k-item > div { flex: 1; min-width: 180px; }
.st-k-item small { display: block; color: var(--muted); }
.st-k-item small.warn { color: var(--red); }
.st-k-big { border: 0; border-radius: 14px; padding: 16px 26px; font-size: 1.2rem; font-weight: 800; background: var(--blue); color: #fff; }
.st-k-big.out { background: var(--red); }
.st-k-small { border: 1.5px solid currentColor; background: transparent; color: inherit; border-radius: 10px; padding: 8px 14px; font-weight: 700; }
.st-k-main > .st-k-small { color: #fff; margin-top: 8px; }
.st-k-today { padding: 12px 22px; background: rgba(0,0,0,.18); display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .95rem; }
.st-k-today span.off { text-decoration: line-through; opacity: .6; }

/* ---------- school subscription ---------- */
.st-bill { border-left: 5px solid var(--blue); }
.st-bill.locked { border-left-color: var(--red); background: var(--red-soft); }
.st-bill details summary { cursor: pointer; font-weight: 700; color: var(--blue); font-size: .88rem; }

/* ---------- social events ---------- */
.st-ev { border: 1px solid var(--line); border-left: 5px solid var(--red); border-radius: 12px; padding: 10px 12px; margin-top: 10px; background: #fff; }
.st-ev.off { opacity: .6; }
.st-ev details summary { cursor: pointer; font-weight: 700; color: var(--blue); font-size: .85rem; margin-top: 6px; }
