:root {
  color-scheme: dark;
  font-family:
    Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #050505;
  --surface: #0d0d0f;
  --surface-2: #151515;
  --line: rgba(255, 152, 0, 0.35);
  --line-strong: rgba(255, 152, 0, 0.56);
  --text: #f4f4f4;
  --muted: #d9d9d9;
  --soft: #a9a9a9;
  --red: #d71920;
  --red-dark: #9f1016;
  --orange: #ff9800;
  --green: #17c964;
  --blue: #2f80ed;
  --gold: #ffb300;
  --radius: 18px;
  --radius-lg: 22px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  --soft-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
  --nav-height: 78px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  display: grid;
  min-height: 100svh;
  place-items: stretch center;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(215, 25, 32, 0.1), transparent 290px),
    #050505;
  color: var(--text);
}

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}

.app-shell {
  position: relative;
  width: min(100vw, 450px);
  min-height: 100svh;
  overflow-x: hidden;
  background:
    linear-gradient(135deg, rgba(215, 25, 32, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 152, 0, 0.08), transparent 230px),
    linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
  box-shadow: 0 0 0 1px rgba(255, 152, 0, 0.24);
}

.screen {
  min-height: calc(100svh - var(--nav-height));
  padding: 16px 18px 24px;
}

.app-shell.has-role-dock .screen {
  padding-top: 58px;
}

.with-nav {
  padding-bottom: calc(var(--nav-height) + 24px);
}

.role-switcher {
  position: relative;
  z-index: 40;
}

.role-dock {
  position: fixed;
  top: 12px;
  left: max(12px, calc((100vw - 450px) / 2 + 12px));
  z-index: 90;
}

.role-chip-button {
  min-height: 24px;
  border: 1px solid rgba(255, 152, 0, 0.5);
  border-radius: 999px;
  padding: 0 9px;
  background: linear-gradient(90deg, rgba(215, 25, 32, 0.72), rgba(255, 152, 0, 0.74));
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.role-static {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border: 1px solid rgba(255, 152, 0, 0.32);
  border-radius: 999px;
  padding: 0 9px;
  background: rgba(255, 152, 0, 0.1);
  color: #ffd39a;
  font-size: 10px;
  font-weight: 800;
}

.role-menu {
  position: absolute;
  top: 30px;
  left: 0;
  z-index: 60;
  display: grid;
  width: 154px;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px;
  background: rgba(8, 5, 4, 0.98);
  box-shadow: var(--shadow);
}

.role-menu button {
  min-height: 34px;
  border: 1px solid rgba(255, 152, 0, 0.18);
  border-radius: 12px;
  background: rgba(255, 152, 0, 0.08);
  color: #ffd39a;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.role-menu button.is-active {
  background: linear-gradient(90deg, var(--red), var(--orange));
  color: #fff;
}

.top-bar,
.home-header {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  min-height: 48px;
  margin-bottom: 14px;
}

.home-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.top-bar h1 {
  margin: 0;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
}

.icon {
  display: inline-flex;
  width: 1em;
  height: 1em;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
}

.icon::before {
  display: block;
  line-height: 1;
}

.icon-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 152, 0, 0.25);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.icon-button:active,
.nav-item:active,
.quick-grid button:active,
.primary-button:active,
.secondary-button:active {
  transform: translateY(1px);
}

.is-hidden {
  visibility: hidden;
}

.muted,
small {
  color: var(--muted);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h2 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
}

h3 {
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 750;
}

p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.profile-greeting {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  align-items: center;
  margin: 12px 0 28px;
}

.profile-greeting p {
  margin: 0 0 4px;
  font-weight: 700;
}

.profile-greeting h1 {
  margin: 0 0 5px;
  font-size: 18px;
}

.home-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 14px;
  align-items: center;
  min-height: 168px;
  margin: 6px 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  background:
    radial-gradient(circle at 100% 20%, rgba(255, 152, 0, 0.2), transparent 34%),
    linear-gradient(145deg, rgba(20, 8, 6, 0.96), rgba(5, 5, 5, 0.98) 62%),
    #080808;
  box-shadow: var(--shadow);
}

.home-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 7px;
  background: linear-gradient(90deg, var(--red), var(--orange));
}

.home-hero > * {
  position: relative;
  z-index: 1;
}

.home-hero p {
  margin-bottom: 5px;
  color: var(--orange);
  font-weight: 800;
}

.home-hero h1 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.15;
  font-weight: 800;
}

.hero-brand {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.hero-brand img {
  display: block;
  width: 116px;
  max-height: 132px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.48));
}

.avatar {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(194, 204, 214, 0.9)),
    #d8dde2;
  color: #16191b;
  font-weight: 900;
  object-fit: cover;
}

.avatar-xs {
  width: 30px;
  height: 30px;
  font-size: 12px;
}

.avatar-md {
  width: 42px;
  height: 42px;
}

.avatar-lg {
  width: 62px;
  height: 62px;
  font-size: 20px;
}

.avatar-xl {
  width: 76px;
  height: 76px;
  font-size: 24px;
}

.avatar-xxl {
  width: 98px;
  height: 98px;
  font-size: 30px;
}

.pill {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border: 1px solid rgba(255, 152, 0, 0.42);
  border-radius: 999px;
  padding: 3px 10px;
  background: rgba(255, 152, 0, 0.14);
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
}

.panel,
.stat-card,
.quick-grid button,
.belt-card,
.lesson-card,
.question-panel,
.result-stats,
.profile-rows,
.progress-list,
.achievement-card,
.belt-metrics,
.video-card,
.role-panel,
.role-hero,
.metric-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(15, 15, 17, 0.96), rgba(5, 5, 5, 0.94)),
    var(--surface);
  box-shadow: var(--shadow);
}

.panel::after,
.stat-card::after,
.quick-grid button::after,
.belt-card::after,
.lesson-card::after,
.next-card::after,
.unlock-panel::after,
.review-panel::after,
.coach-card::after,
.trainer-select::after,
.empty-card::after,
.locked-panel::after,
.section-card::after,
.media-placeholder::after,
.video-card::after,
.achievement-card::after,
.section-mini::after,
.role-panel::after,
.role-hero::after,
.metric-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--red), var(--orange));
}

.progress-panel {
  padding: 16px;
  margin-bottom: 12px;
}

.split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.split.compact {
  align-items: center;
}

.split span {
  font-weight: 800;
}

.split strong {
  font-size: 22px;
}

.progress-line {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(255, 152, 0, 0.18);
  background: rgba(255, 255, 255, 0.11);
}

.progress-line span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--orange));
}

.progress-panel .progress-line {
  margin: 14px 0 8px;
}

.panel-caption {
  text-align: right;
  color: #d7dce1;
  font-size: 11px;
}

.requirement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 13px;
}

.requirement-grid span {
  display: grid;
  min-height: 58px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 152, 0, 0.07);
  text-align: center;
}

.requirement-grid small,
.requirement-grid strong {
  display: block;
}

.requirement-grid strong {
  font-size: 18px;
}

.next-card,
.unlock-panel,
.review-panel,
.coach-card,
.trainer-select,
.empty-card,
.locked-panel,
.role-panel,
.role-hero,
.metric-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(15, 15, 17, 0.96), rgba(5, 5, 5, 0.94)),
    var(--surface);
  box-shadow: var(--shadow);
}

.next-card {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
  padding: 16px;
}

.role-panel,
.role-hero {
  margin-bottom: 14px;
  padding: 16px;
}

.role-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.role-hero .icon {
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: #fff;
  font-size: 28px;
}

.role-hero small,
.role-panel .split span,
.metric-card small {
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
}

.role-hero h2 {
  margin: 3px 0 5px;
  font-size: 20px;
}

.role-hero p {
  margin-bottom: 8px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.metric-card {
  display: grid;
  min-height: 112px;
  align-content: space-between;
  gap: 8px;
  padding: 13px;
}

.metric-card .icon {
  color: var(--orange);
  font-size: 24px;
}

.metric-card strong {
  color: #fff;
  font-size: 20px;
  line-height: 1.1;
}

.role-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.role-list div {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255, 152, 0, 0.16);
  border-radius: 13px;
  padding: 9px 10px;
  background: rgba(255, 152, 0, 0.06);
}

.role-list span {
  min-width: 0;
  color: #fff;
  font-size: 13px;
  line-height: 1.25;
}

.role-list strong {
  color: var(--muted);
  flex: 0 0 auto;
  font-size: 12px;
  text-align: right;
}

.role-list .success {
  color: #61e391;
}

.role-list .danger {
  color: #ff6b6b;
}

.role-list .warning,
.review-card .warning {
  color: #ffcf75;
}

.attendance-marks {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.attendance-marks span,
.attendance-list button span {
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 900;
}

.attendance-marks span {
  width: 42px;
  height: 42px;
  justify-self: center;
  border: 1px solid rgba(255, 152, 0, 0.22);
  background: rgba(255, 152, 0, 0.08);
}

.attendance-marks .present,
.attendance-list .present span {
  color: #61e391;
}

.attendance-marks .absent,
.attendance-list .absent span {
  color: #ff6b6b;
}

.attendance-list {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.attendance-list button {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 152, 0, 0.18);
  border-radius: 14px;
  padding: 0 12px;
  background: rgba(255, 152, 0, 0.07);
  color: #fff;
  font-weight: 800;
  text-align: left;
}

.attendance-list.interactive button {
  min-height: 54px;
}

.attendance-list button strong {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
}

.attendance-list button small {
  flex: 0 0 auto;
  font-size: 11px;
}

.attendance-list button span {
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.payment-card {
  display: grid;
  gap: 5px;
  margin-top: 12px;
  border: 1px solid rgba(255, 152, 0, 0.16);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 152, 0, 0.08);
}

.payment-card strong {
  font-size: 24px;
}

.payment-card span {
  color: var(--muted);
  font-size: 13px;
}

.progress-row {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.progress-row .split span,
.progress-row .split strong {
  font-size: 13px;
}

.award-actions {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.journal-controls {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 8px;
  margin: 12px 0;
}

.journal-controls button {
  min-height: 38px;
  border: 1px solid rgba(255, 152, 0, 0.22);
  border-radius: 999px;
  background: rgba(255, 152, 0, 0.08);
  color: #ffd39a;
  font-size: 12px;
  font-weight: 800;
}

.journal-controls button.is-active {
  border-color: transparent;
  background: linear-gradient(90deg, var(--red), var(--orange));
  color: #fff;
}

.attendance-context {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 152, 0, 0.18);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(255, 152, 0, 0.07);
}

.attendance-context strong {
  color: #ffd39a;
  font-size: 13px;
}

.attendance-context span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.today-groups {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.today-group {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(255, 152, 0, 0.18);
  border-radius: 14px;
  padding: 0 12px;
  background: rgba(255, 152, 0, 0.07);
  color: #fff;
  text-align: left;
}

.today-group span {
  min-width: 0;
  font-size: 13px;
  font-weight: 800;
}

.today-group strong {
  color: #ffd39a;
  font-size: 12px;
}

.save-note {
  margin: 10px 0 0;
  color: #61e391;
  font-size: 12px;
  font-weight: 800;
}

.inline-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.next-card small,
.unlock-panel small {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 800;
}

.next-card h2 {
  margin-bottom: 7px;
}

.next-card p,
.unlock-panel p,
.review-panel p,
.coach-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.section-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.section-mini {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 122px;
  align-content: space-between;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background:
    linear-gradient(145deg, rgba(15, 15, 17, 0.96), rgba(5, 5, 5, 0.94)),
    var(--surface);
  text-align: left;
  cursor: pointer;
}

.section-mini .icon {
  color: var(--orange);
}

.section-mini strong,
.section-mini small {
  display: block;
}

.section-mini strong {
  margin-bottom: 3px;
  font-size: 13px;
}

.unlock-panel,
.review-panel {
  margin-bottom: 14px;
  padding: 14px;
}

.unlock-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.unlock-panel strong {
  display: block;
  font-size: 15px;
}

.review-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 18px;
}

.stat-card {
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
}

.stat-card small {
  display: block;
  margin-bottom: 3px;
  font-size: 12px;
  font-weight: 700;
}

.stat-card strong {
  font-size: 23px;
}

.coin {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #8a5b00;
  font-size: 14px;
  line-height: 1;
}

.coin.silver {
  background: #c9d0d8;
  color: #626a73;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.primary-button {
  border: 0;
  background: linear-gradient(90deg, var(--red), var(--orange));
  color: white;
  box-shadow: 0 14px 24px rgba(215, 25, 32, 0.28);
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.secondary-button {
  border: 1px solid var(--line-strong);
  background: rgba(255, 152, 0, 0.08);
  color: #fff;
}

.secondary-button:disabled {
  cursor: default;
  opacity: 0.58;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.quick-grid button {
  display: grid;
  min-height: 72px;
  place-items: center;
  padding: 9px 4px;
  border: 1px solid var(--line);
  cursor: pointer;
}

.quick-grid span {
  display: block;
  max-width: 100%;
  color: #f5f6f8;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.15;
  text-align: center;
}

.quick-grid .icon {
  font-size: 25px;
  margin-bottom: 5px;
}

.bottom-nav {
  position: fixed;
  right: max(0px, calc((100vw - 450px) / 2));
  bottom: 0;
  left: max(0px, calc((100vw - 450px) / 2));
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(var(--nav-count, 4), 1fr);
  height: var(--nav-height);
  max-width: 450px;
  margin-inline: auto;
  border-top: 1px solid rgba(255, 152, 0, 0.5);
  background:
    linear-gradient(90deg, rgba(215, 25, 32, 0.32), rgba(255, 152, 0, 0.34)),
    linear-gradient(180deg, rgba(36, 14, 5, 0.98), rgba(8, 5, 4, 0.98));
  box-shadow: 0 -14px 34px rgba(255, 104, 0, 0.18);
  backdrop-filter: blur(16px);
}

.nav-item {
  display: grid;
  min-width: 0;
  place-items: center;
  align-content: center;
  gap: 4px;
  border: 0;
  border-radius: 16px;
  margin: 8px 5px;
  background: rgba(255, 152, 0, 0.08);
  color: #ffd39a;
  cursor: pointer;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.nav-item span {
  max-width: 100%;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
}

.nav-item .icon {
  font-size: 22px;
}

.nav-item.is-active {
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: #fff;
  box-shadow: 0 10px 20px rgba(255, 104, 0, 0.26);
}

.page-intro {
  margin: 10px 0 18px;
}

.page-intro h2 {
  margin-bottom: 14px;
  font-size: 17px;
}

.belt-list,
.lesson-list,
.option-list,
.action-stack,
.rating-list,
.progress-list,
.profile-rows {
  display: grid;
  gap: 10px;
}

.belt-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 54px;
  column-gap: 12px;
  row-gap: 12px;
  align-items: center;
  min-height: 104px;
  padding: 14px;
  text-align: left;
  cursor: pointer;
  box-shadow: var(--soft-shadow);
}

.belt-card.is-locked {
  cursor: not-allowed;
  opacity: 0.54;
}

.belt-copy {
  min-width: 0;
}

.belt-copy strong,
.belt-copy small {
  display: block;
}

.belt-copy strong {
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.22;
}

.belt-copy small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--soft);
  font-size: 11px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.topic-chips em {
  display: inline-flex;
  max-width: 100%;
  border: 1px solid rgba(255, 152, 0, 0.3);
  border-radius: 999px;
  padding: 3px 7px;
  background: rgba(255, 152, 0, 0.08);
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.belt-progress small {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin-bottom: 7px;
  text-align: right;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
}

.belt-progress .locked-label {
  width: 32px;
  height: 32px;
  justify-content: center;
  margin-bottom: 0;
  margin-left: auto;
  border: 1px solid rgba(255, 152, 0, 0.26);
  border-radius: 50%;
  background: rgba(255, 152, 0, 0.09);
}

.belt-progress .locked-label .icon {
  font-size: 15px;
}

.belt-progress .progress-line {
  width: 54px;
}

.belt-badge {
  position: relative;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(135deg, var(--belt-main) 0 52%, var(--belt-accent) 52% 100%);
  color: var(--belt-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.belt-badge::after {
  content: "";
  position: absolute;
  inset: auto 8px 8px;
  height: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.24);
}

.belt-badge strong {
  position: relative;
  z-index: 1;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.belt-visual {
  position: relative;
  display: inline-block;
  width: 70px;
  height: 40px;
  color: var(--belt-text);
}

.belt-tail,
.belt-knot {
  position: absolute;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.32);
  background: linear-gradient(90deg, var(--belt-main) 0 48%, var(--belt-accent) 48% 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.belt-tail.left {
  top: 15px;
  left: 2px;
  width: 35px;
  height: 10px;
  transform: rotate(-16deg);
}

.belt-tail.right {
  top: 15px;
  right: 2px;
  width: 35px;
  height: 10px;
  transform: rotate(16deg);
}

.belt-knot {
  top: 11px;
  left: 27px;
  width: 17px;
  height: 17px;
  border-radius: 4px;
  transform: rotate(45deg);
}

.belt-xs {
  width: 46px;
  height: 28px;
}

.belt-xs .belt-tail {
  width: 24px;
  height: 7px;
}

.belt-xs .belt-knot {
  top: 8px;
  left: 18px;
  width: 12px;
  height: 12px;
}

.belt-tiny {
  width: 32px;
  height: 20px;
  vertical-align: middle;
}

.belt-tiny .belt-tail {
  top: 8px;
  width: 18px;
  height: 5px;
}

.belt-tiny .belt-knot {
  top: 6px;
  left: 12px;
  width: 9px;
  height: 9px;
}

.belt-hero {
  width: 250px;
  height: 150px;
}

.belt-hero .belt-tail {
  top: 62px;
  width: 122px;
  height: 30px;
}

.belt-hero .belt-tail.left {
  left: 18px;
}

.belt-hero .belt-tail.right {
  right: 18px;
}

.belt-hero .belt-knot {
  top: 49px;
  left: 104px;
  width: 44px;
  height: 44px;
  border-radius: 7px;
}

.lesson-card {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px;
  text-align: left;
  cursor: pointer;
}

.lesson-card span:first-child {
  min-width: 0;
}

.lesson-card strong,
.lesson-card small {
  display: block;
}

.lesson-card strong {
  margin-bottom: 5px;
  font-size: 14px;
}

.lesson-card small {
  font-size: 12px;
}

.lesson-card.is-locked {
  cursor: not-allowed;
  opacity: 0.75;
}

.topic-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 14px;
}

.topic-overview span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(255, 152, 0, 0.1);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.section-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px;
  background:
    linear-gradient(145deg, rgba(15, 15, 17, 0.96), rgba(5, 5, 5, 0.94)),
    var(--surface);
  box-shadow: var(--shadow);
  text-align: left;
  cursor: pointer;
}

.section-index {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: #111;
  font-weight: 950;
}

.section-card strong,
.section-card small {
  display: block;
}

.section-card strong {
  margin-bottom: 5px;
  font-size: 15px;
}

.section-card small {
  line-height: 1.35;
}

.section-meta {
  grid-column: 2;
}

.section-meta .progress-line {
  margin-top: 8px;
}

.section-test-button {
  margin-top: 16px;
}

.status-dot {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
}

.status-dot.success {
  background: var(--orange);
  color: #111;
}

.status-dot.success .icon,
.status-dot.lock .icon {
  font-size: 15px;
}

.status-dot.active {
  border: 3px solid var(--orange);
}

.status-dot.lock {
  color: #f0f3f6;
}

.lesson-title {
  margin-bottom: 12px;
}

.lesson-title h2 {
  margin: 0 0 3px;
}

.lesson-title span {
  color: var(--muted);
  font-size: 12px;
}

.lesson-hero {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  margin: 4px 0 18px;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center;
}

.media-stack {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.media-stack .lesson-hero,
.media-stack .video-card {
  margin: 0;
}

.term-list {
  display: grid;
  gap: 7px;
  padding-left: 18px;
  margin: 0 0 28px;
  color: #e6eaee;
  font-size: 14px;
  line-height: 1.35;
}

.action-stack {
  margin-top: 18px;
}

.video-card {
  position: relative;
  min-height: 202px;
  margin: 0 0 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(15, 15, 17, 0.96), rgba(5, 5, 5, 0.94)),
    var(--surface);
  box-shadow: var(--shadow);
}

.video-card.has-frame {
  min-height: 0;
  aspect-ratio: 16 / 9;
  background: #050607;
}

.video-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-athlete {
  position: absolute;
  inset: 48px 20px auto;
  display: grid;
  place-items: center;
  opacity: 0.9;
  transform: scale(2.1);
}

.play-button {
  position: absolute;
  inset: 0;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin: auto;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
}

.video-progress {
  position: absolute;
  right: 12px;
  bottom: 10px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.video-progress span {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red) 34%, rgba(255, 255, 255, 0.32) 34%);
}

.media-placeholder {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 190px;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 152, 0, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(20, 8, 6, 0.96), rgba(5, 5, 5, 0.98) 62%),
    #080808;
  text-align: center;
}

.media-placeholder .icon {
  font-size: 38px;
  color: var(--orange);
}

.media-placeholder strong {
  font-size: 17px;
}

.media-placeholder small {
  max-width: 260px;
  line-height: 1.35;
}

.media-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.coach-card {
  display: grid;
  gap: 12px;
  margin: 18px 0 2px;
  padding: 14px;
}

.coach-card .split span {
  font-size: 13px;
}

.coach-card .split strong {
  font-size: 15px;
}

.upload-box {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px dashed rgba(255, 152, 0, 0.52);
  border-radius: 14px;
  background: rgba(255, 152, 0, 0.08);
  color: #f6f8fa;
  font-size: 13px;
  font-weight: 800;
}

.upload-box input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.question-panel {
  padding: 18px 0 0;
  border: 0;
  background: transparent;
}

.option-list {
  gap: 12px;
}

.option-button {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 13px;
  background: rgba(255, 152, 0, 0.06);
  text-align: left;
  cursor: pointer;
}

.option-button span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 700;
}

.option-button.is-selected {
  border-color: var(--orange);
  background: rgba(255, 152, 0, 0.14);
}

.option-dot {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.option-button.is-selected .option-dot {
  border: 5px solid var(--orange);
}

.bottom-action {
  margin-top: 40px;
}

.result-card {
  display: grid;
  justify-items: center;
  margin: 18px 0;
  text-align: center;
}

.trophy {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  margin-bottom: 20px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: rgba(255, 179, 0, 0.1);
  color: var(--gold);
}

.trophy .icon {
  font-size: 58px;
}

.result-card h2 {
  margin-bottom: 8px;
}

.result-card p {
  margin-bottom: 4px;
  color: var(--muted);
}

.score {
  font-size: 42px;
  line-height: 1.05;
}

.percent {
  color: var(--orange);
  font-size: 32px;
}

.result-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--line);
}

.result-stats span {
  display: grid;
  min-height: 72px;
  place-items: center;
  padding: 8px;
  text-align: center;
}

.result-stats span + span {
  border-left: 1px solid var(--line);
}

.result-stats span:last-child {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  border-left: 0;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 26px;
}

.segmented button {
  min-height: 38px;
  border: 1px solid rgba(255, 152, 0, 0.22);
  border-radius: 999px;
  background: rgba(255, 152, 0, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.segmented .is-active {
  border-color: transparent;
  background: linear-gradient(90deg, var(--red), var(--orange));
  color: #fff;
}

.podium {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 10px;
  align-items: end;
  min-height: 172px;
  margin-bottom: 18px;
}

.podium-item {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: center;
  cursor: pointer;
}

.podium-item strong {
  font-size: 13px;
}

.podium-item small {
  font-size: 12px;
}

.place-1 {
  order: 2;
}

.place-2 {
  order: 1;
}

.place-3 {
  order: 3;
}

.rank-badge {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-top: -18px;
  border: 2px solid #121416;
  border-radius: 50%;
  background: var(--gold);
  color: #15100a;
  font-weight: 950;
}

.place-2 .rank-badge {
  background: #9fb8d9;
}

.place-3 .rank-badge {
  background: #c78355;
}

.rating-list {
  gap: 8px;
}

.rating-row {
  display: grid;
  grid-template-columns: 26px 34px 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  border: 1px solid rgba(255, 152, 0, 0.18);
  border-radius: 14px;
  padding: 7px 10px;
  background: rgba(255, 152, 0, 0.07);
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.rating-row strong {
  font-size: 13px;
}

.rating-row small {
  color: #f2f4f6;
  font-size: 12px;
}

.profile-card {
  display: grid;
  justify-items: center;
  margin: 14px 0 26px;
  text-align: center;
}

.avatar-wrap {
  position: relative;
  margin-bottom: 14px;
}

.mini-edit {
  position: absolute;
  right: -2px;
  bottom: 2px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #111;
}

.mini-edit .icon {
  font-size: 16px;
}

.profile-card h2 {
  margin-bottom: 5px;
  font-size: 24px;
}

.profile-card p {
  margin-bottom: 6px;
}

.trainer-select {
  margin-bottom: 16px;
  padding: 13px;
}

.trainer-select label,
.trainer-select span {
  display: block;
}

.trainer-select span {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.trainer-select select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 0 10px;
  background: #080808;
  color: #fff;
  font: inherit;
  font-size: 13px;
}

.profile-rows {
  border: 0;
  background: transparent;
}

.profile-rows div,
.progress-list div {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.profile-rows span,
.progress-list span {
  color: var(--muted);
  font-size: 13px;
}

.profile-rows strong,
.progress-list strong {
  max-width: 58%;
  color: #fff;
  font-size: 13px;
  text-align: right;
}

.progress-ring-card {
  display: grid;
  place-items: center;
  padding: 18px 0 28px;
}

.ring {
  display: grid;
  width: 150px;
  height: 150px;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #0b0b0c 0 56%, transparent 57%),
    conic-gradient(var(--orange) calc(var(--value) * 1%), rgba(255, 152, 0, 0.2) 0);
}

.ring strong {
  font-size: 34px;
}

.ring span {
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.progress-list {
  padding: 0 2px;
  border: 0;
  background: transparent;
}

.progress-list .icon {
  font-size: 18px;
  margin-right: 8px;
  color: var(--gold);
  vertical-align: middle;
}

.belt-detail {
  display: grid;
  justify-items: center;
  margin: 12px 0 18px;
}

.belt-detail strong {
  justify-self: start;
  margin: 10px 0 8px;
  font-size: 28px;
}

.belt-detail p {
  margin-top: 20px;
}

.belt-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 22px 0 20px;
  border: 0;
  background: transparent;
}

.belt-metrics span {
  display: grid;
  min-height: 78px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 152, 0, 0.08);
  text-align: center;
}

.belt-metrics strong {
  font-size: 24px;
}

.empty-card {
  padding: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.locked-panel {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 24px 16px;
  text-align: center;
}

.locked-panel h2 {
  margin-bottom: 0;
}

.locked-panel p {
  color: var(--muted);
}

.achievement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.achievement-card {
  display: grid;
  min-height: 146px;
  justify-items: center;
  align-content: center;
  gap: 8px;
  padding: 12px;
  text-align: center;
}

.achievement-card strong {
  font-size: 13px;
}

.achievement-card small {
  max-width: 100%;
  font-size: 11px;
  line-height: 1.3;
}

.achievement-card.is-muted {
  opacity: 0.45;
}

.achievement-medal {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border-radius: 50%;
}

.achievement-medal .icon {
  font-size: 44px;
}

.achievement-medal.gold {
  color: #6d4400;
  background: linear-gradient(180deg, #ffe39a, #e0a813);
}

.achievement-medal.blue {
  color: #f6fbff;
  background: linear-gradient(180deg, #78b8ff, #1f66b8);
}

.achievement-medal.dark {
  color: #b7bdc4;
  background: linear-gradient(180deg, #4c5259, #16191c);
}

.entity-list,
.review-list,
.approval-list,
.registration-choice {
  display: grid;
  gap: 10px;
}

.entity-card,
.detail-hero,
.form-panel,
.review-card,
.registration-card,
.pending-panel,
.approval-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(15, 15, 17, 0.96), rgba(5, 5, 5, 0.94)),
    var(--surface);
  box-shadow: var(--shadow);
}

.entity-card::after,
.detail-hero::after,
.form-panel::after,
.review-card::after,
.registration-card::after,
.pending-panel::after,
.approval-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--red), var(--orange));
}

.entity-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  min-height: 118px;
  padding: 14px;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.entity-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: #fff;
}

.entity-icon .icon {
  font-size: 23px;
}

.entity-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.entity-copy strong,
.entity-copy small,
.entity-copy em {
  display: block;
  min-width: 0;
}

.entity-copy strong {
  font-size: 15px;
  line-height: 1.22;
}

.entity-copy small,
.entity-copy em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.entity-stats {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.entity-stats b {
  border: 1px solid rgba(255, 152, 0, 0.22);
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(255, 152, 0, 0.08);
  color: #ffd39a;
  font-size: 11px;
}

.detail-hero {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  margin-bottom: 14px;
  padding: 15px;
}

.detail-hero h2 {
  margin: 3px 0 5px;
  font-size: 20px;
}

.detail-hero p {
  margin-bottom: 0;
}

.page-action {
  margin: 0 0 14px;
}

.compact-intro {
  margin-bottom: 12px;
}

.compact-intro small {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 800;
}

.form-panel {
  display: grid;
  gap: 13px;
  padding: 15px;
}

.form-field,
.schedule-row label {
  display: grid;
  gap: 7px;
}

.form-field span,
.schedule-row label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea,
.schedule-row input,
.schedule-row select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 152, 0, 0.3);
  border-radius: 14px;
  padding: 0 12px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  outline: none;
}

.form-field textarea {
  min-height: 112px;
  padding: 12px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.schedule-row input:focus,
.schedule-row select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.12);
}

.form-hint {
  border: 1px solid rgba(255, 152, 0, 0.16);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(255, 152, 0, 0.06);
  color: #ffd39a;
  font-size: 12px;
  font-weight: 800;
}

.form-group-title {
  border-top: 1px solid rgba(255, 152, 0, 0.16);
  padding-top: 12px;
  color: #ffd39a;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.form-group-title:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.consent-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid rgba(255, 152, 0, 0.2);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 152, 0, 0.06);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--orange);
}

.registration-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 24px;
  gap: 12px;
  align-items: center;
  min-height: 104px;
  padding: 14px;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.registration-card > .icon:first-child,
.pending-panel > .icon:first-child {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: #fff;
}

.registration-card strong,
.registration-card small {
  display: block;
}

.registration-card strong {
  margin-bottom: 5px;
  font-size: 15px;
}

.registration-card small {
  line-height: 1.35;
}

.pending-panel {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: 18px;
}

.pending-panel h2 {
  margin-bottom: 0;
}

.pending-panel p {
  margin-bottom: 0;
}

.approval-section {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  padding: 4px 0 0;
}

.approval-section > .split strong {
  font-size: 16px;
}

.approval-card {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.approval-card > .split strong {
  color: #ffd39a;
  font-size: 12px;
}

.compact-list {
  margin-top: 0;
}

.student-group-panel {
  display: grid;
  gap: 12px;
}

.student-card {
  min-height: 104px;
  box-shadow: none;
}

.form-error {
  border: 1px solid rgba(255, 107, 107, 0.42);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(215, 25, 32, 0.16);
  color: #ffd1d1;
  font-size: 13px;
  font-weight: 800;
}

.action-notice {
  position: fixed;
  top: 44px;
  right: max(18px, calc((100vw - 450px) / 2 + 18px));
  left: max(18px, calc((100vw - 450px) / 2 + 18px));
  z-index: 90;
  display: flex;
  max-width: 414px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 auto;
  border: 1px solid rgba(255, 152, 0, 0.46);
  border-radius: 16px;
  padding: 11px 13px;
  background: rgba(16, 10, 6, 0.96);
  box-shadow: var(--shadow);
  color: #ffd39a;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
}

.action-notice span {
  min-width: 0;
}

.action-notice button {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 152, 0, 0.24);
  border-radius: 50%;
  background: rgba(255, 152, 0, 0.12);
  color: #ffd39a;
}

.empty-inline {
  margin-top: 12px;
  border: 1px solid rgba(255, 152, 0, 0.16);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 152, 0, 0.06);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.schedule-editor {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 152, 0, 0.16);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255, 152, 0, 0.05);
}

.schedule-editor .split strong {
  font-size: 15px;
}

.schedule-list {
  display: grid;
  gap: 9px;
}

.schedule-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  border: 1px solid rgba(255, 152, 0, 0.16);
  border-radius: 16px;
  padding: 9px;
  background: rgba(0, 0, 0, 0.16);
}

.schedule-row label {
  min-width: 0;
}

.schedule-row label:first-child,
.schedule-row .delete-button {
  grid-column: 1 / -1;
}

.schedule-row input,
.schedule-row select {
  min-height: 40px;
  min-width: 0;
  border-radius: 12px;
  padding: 0 10px;
  font-size: 13px;
}

.delete-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(255, 107, 107, 0.36);
  border-radius: 999px;
  background: rgba(215, 25, 32, 0.12);
  color: #ffd1d1;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.schedule-display {
  margin-top: 12px;
  border: 1px solid rgba(255, 152, 0, 0.16);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 152, 0, 0.06);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.8;
}

.review-card {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.review-card h3 {
  margin-bottom: 0;
}

.review-card p {
  margin-bottom: 0;
}

.review-video {
  display: block;
  width: 100%;
  max-height: 260px;
  border: 1px solid rgba(255, 152, 0, 0.18);
  border-radius: 14px;
  background: #050505;
}

.review-video-empty {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px dashed rgba(255, 152, 0, 0.36);
  border-radius: 14px;
  background: rgba(255, 152, 0, 0.06);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.review-comment {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(255, 152, 0, 0.18);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(255, 152, 0, 0.07);
}

.review-comment strong {
  color: #ffd39a;
  font-size: 12px;
}

.review-comment p {
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  white-space: pre-wrap;
}

.review-comment-field textarea {
  min-height: 82px;
}

.review-card .split strong {
  font-size: 12px;
}

.review-card .success {
  color: #61e391;
}

.review-card .danger {
  color: #ff8a8a;
}

.review-meta {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255, 152, 0, 0.16);
  border-radius: 13px;
  padding: 8px 10px;
  background: rgba(255, 152, 0, 0.06);
  font-size: 12px;
  font-weight: 800;
}

.review-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
}

.score-breakdown {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.score-breakdown div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(255, 152, 0, 0.16);
  border-radius: 14px;
  padding: 10px;
  background: rgba(255, 152, 0, 0.06);
}

.score-breakdown strong,
.score-breakdown small {
  display: block;
}

.score-breakdown strong {
  margin-bottom: 3px;
  color: #fff;
  font-size: 13px;
}

.score-breakdown small {
  font-size: 11px;
}

.score-breakdown b {
  color: #ffd39a;
  font-size: 12px;
  white-space: nowrap;
}

.public-profile-card {
  margin-bottom: 14px;
}

.profile-rank {
  position: absolute;
  right: -4px;
  bottom: 0;
  margin: 0;
}

button.status-dot {
  border: 0;
  cursor: pointer;
}

@media (min-width: 560px) {
  body {
    padding: 18px 0;
  }

  .role-dock {
    top: 30px;
  }

  .app-shell {
    min-height: calc(100svh - 36px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    overflow: hidden;
  }

  .bottom-nav {
    bottom: 18px;
    border-radius: 0 0 28px 28px;
  }
}

@media (max-width: 360px) {
  .screen {
    padding-right: 14px;
    padding-left: 14px;
  }

  .quick-grid {
    gap: 7px;
  }

  .quick-grid span,
  .nav-item span {
    font-size: 9px;
  }

  .belt-card {
    grid-template-columns: 58px minmax(0, 1fr) 66px;
  }

  .belt-visual {
    transform: scale(0.84);
    transform-origin: left center;
  }
}
