* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: #101419;
  background: #dfe8ef;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  display: flex;
  justify-content: center;
}

.app {
  position: relative;
  width: min(100vw, 430px);
  min-height: 100vh;
  padding: 0 18px 86px;
  background: #eef3f7;
  box-shadow: 0 0 0 1px rgba(16, 20, 25, 0.08);
}

.screen {
  display: none;
  min-height: calc(100vh - 86px);
  padding-top: 18px;
}

.screen.active {
  display: block;
}

.hero {
  min-height: 320px;
  margin: 0 -18px 22px;
  padding: 42px 18px 28px;
  color: white;
  background:
    linear-gradient(155deg, rgba(16, 20, 25, 0.18) 0%, rgba(16, 20, 25, 0.84) 72%),
    radial-gradient(circle at 72% 18%, rgba(223, 248, 251, 0.72) 0 8%, transparent 9%),
    linear-gradient(135deg, #8fb7c6 0%, #eff6f8 43%, #4d7181 44%, #101419 100%);
  background-position: center;
  background-size: cover;
}

.review-hero {
  min-height: 312px;
  margin-bottom: 14px;
}

.eyebrow {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 6px 10px;
  color: #dff8fb;
  font-size: 12px;
  font-weight: 800;
}

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

h1 {
  margin-top: 56px;
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero p {
  margin-top: 16px;
  width: min(330px, 100%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.55;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

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

.primary,
.secondary,
.dark,
.file-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.primary {
  color: white;
  background: #0f6670;
}

.secondary,
.file-btn {
  color: #101419;
  border: 1px solid #cdd8e1;
  background: white;
}

.dark {
  color: white;
  background: #101419;
}

.panel h2 {
  font-size: 19px;
  font-weight: 900;
}

.tips p,
.profile p,
#shareSummary,
.order-card p,
.coach-block p,
.coach-loading p,
.coach-card p,
.share-coach p,
.empty-history p,
.course-item p {
  color: #66727f;
  font-size: 14px;
  line-height: 1.55;
}

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  margin: 0 -18px 14px;
  padding: 12px 18px;
  background: rgba(238, 243, 247, 0.96);
  backdrop-filter: blur(14px);
}

.top strong {
  text-align: center;
  font-size: 18px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #101419;
  background: white;
  font-size: 28px;
  line-height: 1;
}

.panel {
  border: 1px solid #dbe5ec;
  border-radius: 8px;
  background: white;
  padding: 16px;
}

.uploader {
  display: grid;
  gap: 12px;
}

.video-shell,
.video {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background: #101419;
}

.video-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a8b4c0;
}

.upload-entry {
  flex-direction: column;
  gap: 8px;
  border: 1px dashed #9db2bf;
  color: #0f6670;
  background:
    linear-gradient(180deg, rgba(229, 246, 247, 0.72), rgba(247, 250, 252, 0.96));
  cursor: pointer;
  text-align: center;
}

.upload-plus {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: white;
  background: #0f6670;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.upload-entry strong,
.upload-entry em {
  display: block;
}

.upload-entry strong {
  color: #101419;
  font-size: 18px;
  font-weight: 900;
}

.upload-entry em {
  color: #66727f;
  font-size: 12px;
  font-style: normal;
}

.hidden {
  display: none !important;
}

.file-btn {
  position: relative;
  overflow: hidden;
}

.file-btn input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.upload-rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.upload-rules div,
.file-meta {
  border: 1px solid #dbe5ec;
  border-radius: 8px;
  background: #f7fafc;
  padding: 10px;
}

.rider-upload-card {
  display: grid;
  gap: 10px;
  border: 1px solid #dbe5ec;
  border-radius: 8px;
  background: #f7fafc;
  padding: 12px;
}

.rider-upload-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

.rider-upload-card summary::-webkit-details-marker {
  display: none;
}

.rider-upload-card summary span,
.rider-upload-card summary strong {
  display: block;
}

.rider-upload-card summary span {
  color: #66727f;
  font-size: 12px;
  font-weight: 900;
}

.rider-upload-card summary strong {
  color: #101419;
  font-size: 14px;
  font-weight: 900;
}

.rider-upload-card p {
  color: #66727f;
  font-size: 12px;
  line-height: 1.45;
}

.rider-upload-card select {
  margin-top: 0;
}

.upload-rules strong,
.upload-rules span {
  display: block;
}

.upload-rules strong {
  color: #0f6670;
  font-size: 15px;
  font-weight: 900;
}

.upload-rules span,
.file-meta {
  color: #66727f;
  font-size: 12px;
  line-height: 1.45;
}

.progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #d6e0e8;
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  background: #0f6670;
  transition: width 180ms ease;
}

.tips {
  margin-top: 16px;
  color: #66727f;
}

.tips strong {
  display: block;
  margin-bottom: 6px;
  color: #101419;
}

.review-video {
  margin-bottom: 14px;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.section-head p {
  margin-top: 5px;
  color: #66727f;
  font-size: 12px;
  line-height: 1.45;
}

.section-head span {
  color: #0f6670;
  font-size: 12px;
  font-weight: 800;
}

.tags,
.manual-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag,
.manual-tag {
  border-radius: 999px;
  background: #e5f6f7;
  color: #0f6670;
  padding: 8px 11px;
  font-size: 13px;
  font-weight: 800;
}

.manual-tag {
  border: 1px solid #d6e0e8;
  color: #101419;
  background: white;
}

.manual-tag.active {
  border-color: #0f6670;
  color: #0f6670;
  background: #e5f6f7;
}

.notes {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  color: #66727f;
  font-size: 14px;
  line-height: 1.55;
}

.screen-review .panel {
  margin-top: 12px;
}

.coach-report {
  display: grid;
  gap: 14px;
}

.coach-loading {
  border: 1px solid #dbe5ec;
  border-radius: 8px;
  background: #f7fafc;
  padding: 14px;
}

.coach-loading strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}

.coach-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.coach-steps span {
  border-radius: 8px;
  background: white;
  color: #66727f;
  padding: 9px;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.coach-steps span.active {
  color: #0f6670;
  background: #e5f6f7;
}

.coach-hero {
  display: grid;
  grid-template-columns: 1fr 64px;
  gap: 12px;
  align-items: center;
  border-radius: 8px;
  color: white;
  background: #101419;
  padding: 16px;
}

.coach-hero span {
  color: #bcecef;
  font-size: 12px;
  font-weight: 900;
}

.coach-hero h3 {
  margin-top: 6px;
  font-size: 18px;
  line-height: 1.35;
}

.coach-hero b {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  color: #101419;
  background: #dff8fb;
  font-size: 24px;
}

.coach-block {
  display: grid;
  gap: 8px;
  border: 1px solid #dbe5ec;
  border-radius: 8px;
  background: #fbfdff;
  padding: 14px;
}

.coach-block h3,
.coach-card h3 {
  font-size: 16px;
}

.next-focus {
  border-color: #0f6670;
  background: #eaf7f8;
}

.drill-list,
.reference-list,
.check-list {
  display: grid;
  gap: 8px;
}

.drill-card {
  border-radius: 8px;
  background: white;
  padding: 12px;
}

.drill-card div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}

.drill-card strong,
.drill-card span,
.drill-card em {
  font-size: 13px;
}

.drill-card span {
  color: #c43f35;
  font-weight: 900;
}

.drill-card em {
  display: block;
  margin-top: 7px;
  color: #0f6670;
  font-style: normal;
  font-weight: 800;
}

.check-list {
  grid-template-columns: 1fr;
}

.check-list span {
  border-radius: 8px;
  background: white;
  padding: 10px;
  color: #0f6670;
  font-size: 13px;
  font-weight: 800;
}

.reference-card {
  display: block;
  border: 1px solid #dbe5ec;
  border-radius: 8px;
  background: white;
  padding: 12px;
  color: #101419;
  text-decoration: none;
}

.reference-card strong,
.reference-card span {
  display: block;
}

.reference-card span {
  margin-top: 5px;
  color: #66727f;
  font-size: 12px;
}

.coach-card {
  display: grid;
  gap: 8px;
  border-radius: 8px;
  background: #eef3f7;
  padding: 14px;
}

.coach-card.recommended {
  border: 1px solid #c43f35;
  background: #fff7f5;
}

.coach-card strong,
.coach-apply-note,
.coach-apply-link {
  color: #c43f35;
  font-size: 13px;
  font-weight: 900;
}

.coach-apply-link {
  text-decoration: none;
}

.metrics-box {
  border: 1px solid #dbe5ec;
  border-radius: 8px;
  padding: 12px;
}

.metrics-box summary,
.aux-panel summary {
  cursor: pointer;
  font-weight: 900;
}

.metrics-box dl {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 7px;
  margin: 12px 0 0;
  font-size: 13px;
}

.metrics-box dt {
  color: #66727f;
}

.metrics-box dd {
  margin: 0;
}

.review-actions,
.share-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.review-actions button,
.share-buttons button {
  min-height: 42px;
  padding: 0 10px;
  font-size: 13px;
}

textarea,
input,
select {
  width: 100%;
  border: 1px solid #d6e0e8;
  border-radius: 8px;
  outline: none;
  padding: 13px;
  color: #101419;
  background: white;
}

textarea {
  min-height: 112px;
  margin-top: 12px;
  resize: vertical;
}

input {
  margin-top: 10px;
}

select {
  min-height: 46px;
  margin-top: 10px;
}

#saveCoachBtn,
#saveTagsBtn,
#saveLeadBtn {
  width: 100%;
  margin-top: 12px;
}

.aux-hint {
  margin-top: 10px;
  color: #66727f;
  font-size: 13px;
  line-height: 1.5;
}

.sticky-actions {
  position: sticky;
  bottom: 72px;
  margin-top: 14px;
  padding: 10px 0;
  background: linear-gradient(180deg, rgba(238, 243, 247, 0), #eef3f7 28%);
}

.sticky-actions.payment-off {
  grid-template-columns: 1fr;
}

.sku-list {
  display: grid;
  gap: 12px;
}

.sku {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #d6e0e8;
  border-radius: 8px;
  background: white;
  padding: 16px;
}

.sku.active {
  border-color: #0f6670;
  box-shadow: inset 0 0 0 2px #0f6670;
}

.sku strong,
.sku span {
  display: block;
}

.sku span {
  margin-top: 5px;
  color: #66727f;
  font-size: 13px;
  line-height: 1.45;
}

.sku b {
  color: #c43f35;
  font-size: 23px;
}

.pay-main,
.order-card {
  margin-top: 14px;
  width: 100%;
}

.order-card {
  display: grid;
  gap: 10px;
}

.share-url {
  overflow-wrap: anywhere;
  border-radius: 8px;
  margin: 12px 0;
  padding: 12px;
  color: #0f6670;
  background: #e5f6f7;
  font-size: 13px;
  line-height: 1.45;
}

.share-card {
  display: grid;
  gap: 12px;
}

.share-badge {
  justify-self: start;
  border-radius: 999px;
  background: #e5f6f7;
  color: #0f6670;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
}

.share-coach {
  border-left: 4px solid #0f6670;
  border-radius: 8px;
  background: #f7fafc;
  padding: 12px;
}

.share-coach strong {
  display: block;
  margin-bottom: 5px;
}

.share-copy {
  min-height: 92px;
  margin-top: 0;
}

.share-buttons {
  grid-template-columns: 1fr 1fr;
}

.profile {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 10px 14px;
  text-align: left;
}

.profile .avatar {
  grid-row: span 2;
  width: 58px;
  height: 58px;
  font-size: 20px;
}

.profile h2 {
  align-self: end;
  font-size: 22px;
}

.profile > p {
  align-self: start;
}

.profile-stats,
.profile-actions {
  grid-column: 1 / -1;
}

.profile-stats,
.profile-actions {
  display: grid;
  width: 100%;
  gap: 10px;
}

.profile-stats {
  grid-template-columns: repeat(3, 1fr);
}

.profile-stats div {
  border-radius: 8px;
  background: #f7fafc;
  padding: 10px 8px;
}

.profile-stats strong,
.profile-stats span {
  display: block;
}

.profile-stats strong {
  color: #0f6670;
  font-size: 22px;
}

.profile-stats span {
  color: #66727f;
  font-size: 12px;
  font-weight: 800;
}

.profile-actions {
  grid-template-columns: 1fr 1fr;
}

.profile-tool-capsule {
  grid-column: 1 / -1;
  width: 100%;
  border: 1px solid #dbe5ec;
  border-radius: 999px;
  background: #f7fafc;
  padding: 6px;
}

.profile-tool-capsule[open] {
  border-radius: 8px;
}

.profile-tool-capsule summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  border-radius: 999px;
  padding: 0 12px;
  color: white;
  background: #101419;
  cursor: pointer;
  list-style: none;
}

.profile-tool-capsule summary::-webkit-details-marker {
  display: none;
}

.profile-tool-capsule summary span,
.profile-tool-capsule summary strong {
  display: block;
}

.profile-tool-capsule summary span {
  font-size: 15px;
  font-weight: 900;
}

.profile-tool-capsule summary strong {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.profile-tool-menu {
  display: grid;
  margin-top: 10px;
  padding: 0 8px 2px;
}

.profile-menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 62px;
  border-top: 1px solid #e4ecf2;
  padding: 12px 0;
  color: #101419;
  background: transparent;
  text-align: left;
}

.profile-menu-item:first-child {
  border-top: 0;
}

.profile-menu-item span,
.profile-menu-item strong,
.profile-menu-item em {
  display: block;
}

.profile-menu-item strong {
  font-size: 16px;
  font-weight: 900;
}

.profile-menu-item em {
  margin-top: 5px;
  color: #66727f;
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.profile-menu-item b {
  border-radius: 999px;
  background: #e5f6f7;
  padding: 7px 10px;
  color: #0f6670;
  font-size: 12px;
  line-height: 1;
}

.profile-menu-item.active b {
  color: white;
  background: #0f6670;
}

.growth-panel {
  margin-top: 12px;
}

.history-panel {
  margin-top: 12px;
}

.history-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.history-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  width: 100%;
  border: 1px solid #dbe5ec;
  border-radius: 8px;
  background: #fbfdff;
  padding: 10px;
  color: #101419;
  text-align: left;
}

.history-item video {
  width: 92px;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  background: #101419;
}

.history-item span,
.history-item strong,
.history-item em,
.history-item small {
  display: block;
}

.history-item strong {
  font-size: 14px;
  line-height: 1.35;
}

.history-item em,
.history-item small {
  margin-top: 5px;
  color: #66727f;
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.empty-history {
  display: grid;
  gap: 10px;
  justify-items: start;
  border: 1px dashed #cdd8e1;
  border-radius: 8px;
  background: #f7fafc;
  padding: 14px;
}

.learn-panel {
  margin-top: 12px;
}

.lead-panel {
  margin-top: 12px;
}

.lead-form {
  display: grid;
  gap: 0;
  margin-top: 12px;
}

.lead-form input:first-child {
  margin-top: 0;
}

.lead-form textarea {
  min-height: 88px;
}

.rider-panel {
  margin-top: 12px;
}

.rider-form {
  display: grid;
  gap: 0;
  margin-top: 12px;
}

.rider-form input:first-of-type,
.rider-form select:first-of-type {
  margin-top: 0;
}

.gear-tool,
.equipment-tip-box {
  border: 1px solid #dbe5ec;
  border-radius: 8px;
  background: #fbfdff;
  padding: 12px;
}

.gear-tool {
  margin-top: 12px;
}

.gear-tool summary,
.equipment-tip-box summary {
  cursor: pointer;
  color: #101419;
  font-weight: 900;
}

.gear-form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.gear-form select,
.gear-form input {
  margin-top: 0;
}

.gear-grid,
.gear-result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.gear-result {
  margin-top: 10px;
}

.gear-result article {
  display: grid;
  gap: 8px;
  border-radius: 8px;
  background: white;
  padding: 12px;
}

.gear-result p {
  color: #66727f;
  font-size: 13px;
  line-height: 1.55;
}

.gear-result-grid span {
  border-radius: 8px;
  background: #e5f6f7;
  padding: 10px;
}

.gear-result-grid b,
.gear-result-grid em {
  display: block;
}

.gear-result-grid b {
  color: #0f6670;
  font-size: 12px;
}

.gear-result-grid em {
  margin-top: 4px;
  color: #101419;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.35;
}

.equipment-tips {
  margin-top: 10px;
}

.equipment-tip-box > div {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.equipment-tip-box article {
  border-radius: 8px;
  background: white;
  padding: 11px;
}

.equipment-tip-box strong {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
}

.equipment-tip-box p {
  color: #66727f;
  font-size: 13px;
  line-height: 1.5;
}

.course-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.course-tabs button {
  min-height: 42px;
  border: 1px solid #dbe5ec;
  border-radius: 8px;
  color: #101419;
  background: #f7fafc;
  font-weight: 900;
}

.course-tabs button.active {
  border-color: #0f6670;
  color: white;
  background: #0f6670;
}

.course-roadmap {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.course-item {
  border: 1px solid #dbe5ec;
  border-radius: 8px;
  background: #fbfdff;
  padding: 12px;
}

.course-item summary {
  cursor: pointer;
  list-style: none;
}

.course-item summary::-webkit-details-marker {
  display: none;
}

.course-item summary span,
.course-item summary strong {
  display: block;
}

.course-item summary span {
  color: #0f6670;
  font-size: 12px;
  font-weight: 900;
}

.course-item summary strong {
  margin-top: 4px;
  font-size: 15px;
}

.course-item p {
  margin-top: 10px;
}

.growth-report {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.growth-empty,
.growth-block,
.growth-more article {
  display: grid;
  gap: 8px;
  border: 1px solid #dbe5ec;
  border-radius: 8px;
  background: #fbfdff;
  padding: 14px;
}

.growth-more {
  border: 1px solid #dbe5ec;
  border-radius: 8px;
  background: #fbfdff;
  padding: 12px;
}

.growth-more summary {
  cursor: pointer;
  color: #0f6670;
  font-size: 14px;
  font-weight: 900;
}

.growth-more article {
  margin-top: 10px;
  background: white;
}

.growth-hero {
  display: grid;
  grid-template-columns: 1fr 58px;
  gap: 12px;
  align-items: center;
  border-radius: 8px;
  color: white;
  background: #101419;
  padding: 14px;
}

.growth-hero span {
  color: #bcecef;
  font-size: 12px;
  font-weight: 900;
}

.growth-hero strong {
  display: block;
  margin-top: 5px;
  font-size: 17px;
  line-height: 1.35;
}

.growth-hero p {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.45;
}

.growth-hero b {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  color: #101419;
  background: #dff8fb;
  font-size: 22px;
}

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

.growth-grid article {
  border-radius: 8px;
  background: #f7fafc;
  padding: 10px 8px;
  text-align: center;
}

.growth-grid span,
.growth-grid p {
  display: block;
}

.growth-grid span {
  color: #0f6670;
  font-size: 20px;
  font-weight: 900;
}

.growth-grid p {
  color: #66727f;
  font-size: 12px;
  font-weight: 800;
}

.growth-block h3 {
  font-size: 16px;
}

.growth-block p,
.growth-empty p {
  color: #66727f;
  font-size: 14px;
  line-height: 1.55;
}

.growth-movie {
  border-color: #c43f35;
  background: #fff7f5;
}

.growth-movie span {
  color: #c43f35;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.45;
}

.growth-timeline {
  display: grid;
  gap: 8px;
}

.growth-time-item {
  display: grid;
  gap: 4px;
  width: 100%;
  border: 1px solid #dbe5ec;
  border-radius: 8px;
  background: white;
  padding: 11px;
  color: #101419;
  text-align: left;
}

.growth-time-item span,
.growth-time-item em {
  color: #66727f;
  font-size: 12px;
  font-style: normal;
}

.growth-time-item strong {
  font-size: 13px;
  line-height: 1.35;
}

.course-drills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.course-drills em {
  border-radius: 999px;
  background: #e5f6f7;
  color: #0f6670;
  padding: 7px 10px;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: white;
  background: #101419;
  font-weight: 900;
}

.tabs {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: min(100vw, 430px);
  min-height: 64px;
  transform: translateX(-50%);
  border-top: 1px solid #dbe5ec;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.tabs button {
  color: #66727f;
  background: transparent;
  font-size: 13px;
  font-weight: 800;
}

.tabs button.active {
  color: #0f6670;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 82px;
  z-index: 30;
  max-width: min(360px, calc(100vw - 40px));
  transform: translate(-50%, 20px);
  border-radius: 8px;
  padding: 10px 14px;
  color: white;
  background: rgba(16, 20, 25, 0.9);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: 180ms ease;
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

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

  .app {
    min-height: calc(100vh - 36px);
    border-radius: 22px;
    overflow: hidden;
  }

  .tabs {
    bottom: 18px;
    border-radius: 0 0 22px 22px;
  }
}
