@import url("/fonts.css");
:root {
  --purple: #6339b8;
  --purple-dark: #312044;
  --lavender: #eee8f8;
  --ink: #292631;
  --muted: #77737f;
  --line: #eae6ee;
  --paper: #faf9fc;
  --orange: #ed996c;
  --green: #388473;
  --shadow: 0 12px 40px #2e194b0b;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #aa83ee;
  outline-offset: 3px;
}
button {
  border: 0;
  background: none;
}
svg.icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 38px;
  letter-spacing: -1.6px;
  line-height: 1.14;
}
h2 {
  font-size: 23px;
  letter-spacing: -0.7px;
}
h3 {
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.3px;
}
p {
  line-height: 1.7;
}
small {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.9px;
  font-weight: 750;
  text-transform: uppercase;
}
.purple {
  color: var(--purple);
}
.skip {
  position: fixed;
  top: -100px;
  z-index: 100;
  background: white;
  padding: 15px;
}
.skip:focus {
  top: 0;
}
.topbar {
  height: 86px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 max(32px, calc((100vw - 1240px) / 2));
  gap: 42px;
  position: sticky;
  top: 0;
  z-index: 30;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.brand img {
  width: 38px;
  height: 38px;
}
.brand strong {
  font-size: 19px;
  letter-spacing: 1.5px;
  font-weight: 800;
}
.brand span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 3.3px;
  display: block;
  margin-top: 1px;
}
.desktop-nav {
  display: flex;
  height: 100%;
  gap: 30px;
  align-items: center;
}
.desktop-nav a {
  height: 100%;
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  position: relative;
}
.desktop-nav a.active {
  color: var(--purple);
}
.desktop-nav a.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--purple);
  border-radius: 2px;
}
.top-tools {
  margin-left: auto;
  display: flex;
  gap: 14px;
  align-items: center;
}
.language {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 8px 9px;
  background: white;
  font-size: 12px;
  min-height: 38px;
}
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f5dfd0;
  color: #7a523c;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
}
.icon-button {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.icon-button:hover {
  background: var(--lavender);
}
main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 34px 0 130px;
  min-height: 80vh;
}
.greeting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.greeting p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}
.greeting h1 {
  font-size: 27px;
  letter-spacing: -0.8px;
}
.pill {
  font-size: 11px;
  border: 1px solid var(--line);
  padding: 7px 12px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  background: white;
}
.pill .icon {
  width: 14px;
  height: 14px;
}
.searchbox {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  background: white;
  height: 46px;
  color: var(--muted);
}
.searchbox input {
  border: 0;
  outline: 0;
  background: none;
  min-width: 0;
  width: 100%;
  font-size: 13px;
  color: var(--ink);
}
.greeting .searchbox {
  width: 330px;
}
.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 288px;
  gap: 28px;
}
.hero {
  position: relative;
  min-height: 334px;
  border-radius: 20px;
  overflow: hidden;
  background: #eddfca;
  isolation: isolate;
}
.hero > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 50%;
  z-index: -2;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #faf2e7 0%,
    #f7eee1ef 26%,
    #f3e7d67a 50%,
    transparent 70%
  );
  z-index: -1;
}
.hero-copy {
  padding: 37px 32px;
  width: 53%;
  position: relative;
}
.hero h2 {
  font-size: 39px;
  line-height: 1.13;
  letter-spacing: -1.6px;
  margin: 15px 0;
}
.hero h2 em {
  font-style: normal;
  color: var(--purple);
}
.hero p {
  font-size: 12px;
  max-width: 240px;
  line-height: 1.6;
  color: #6b615c;
}
.hero .btn {
  margin-top: 22px;
}
.hero-sticker {
  position: absolute;
  bottom: 24px;
  right: 22px;
  background: #fffffff2;
  backdrop-filter: blur(8px);
  padding: 10px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  box-shadow: 0 6px 24px #31204418;
}
.hero-sticker .icon {
  color: var(--purple);
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  min-height: 44px;
  padding: 12px 19px;
  font-size: 12px;
  font-weight: 650;
  background: var(--purple);
  color: white;
  border: 1px solid transparent;
  line-height: 1.4;
}
.btn:hover {
  background: #502b9c;
}
.btn.secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.btn.secondary:hover {
  background: var(--lavender);
}
.btn.soft {
  background: var(--lavender);
  color: var(--purple);
}
.btn.light {
  background: white;
  color: var(--purple);
}
.btn.wide {
  width: 100%;
}
.btn .icon {
  width: 17px;
  height: 17px;
}
.text-btn {
  font-size: 12px;
  font-weight: 650;
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
}
.text-btn .icon {
  width: 15px;
  height: 15px;
}
.benefits {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 3px;
  color: var(--muted);
  font-size: 10px;
}
.benefits span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.benefits .icon {
  width: 15px;
  height: 15px;
  color: var(--purple);
}
.section {
  margin-top: 26px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 17px;
}
.section-head h2 {
  font-size: 21px;
}
.section-head p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.topics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.topic {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 11px;
  background: white;
  text-align: left;
  font-weight: 600;
  font-size: 11px;
  min-width: 0;
}
.topic:hover {
  border-color: #b99cd9;
}
.topic-icon {
  background: var(--lavender);
  color: var(--purple);
  border-radius: 10px;
  min-width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
}
.topic:nth-child(2) .topic-icon {
  background: #fff0e1;
  color: #ac7043;
}
.topic:nth-child(3) .topic-icon {
  background: #e8f2e9;
  color: #4b8267;
}
.topic:nth-child(4) .topic-icon {
  background: #e7edf9;
  color: #5e7aac;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.course-card {
  min-width: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.course-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.cover {
  height: 154px;
  position: relative;
  overflow: hidden;
  background: var(--cover, #594076);
  color: white;
  padding: 19px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
}
.cover:before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  border: 1px solid #ffffff24;
  border-radius: 50%;
  right: -65px;
  top: -65px;
  box-shadow:
    0 0 0 28px #ffffff09,
    0 0 0 56px #ffffff07;
  z-index: -1;
}
.cover:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, #00000024);
  z-index: -1;
}
.cover .cover-title {
  font-size: 23px;
  line-height: 1.03;
  letter-spacing: -0.6px;
  font-weight: 750;
  max-width: 180px;
  text-shadow: 0 1px 2px #0002;
}
.cover-symbol {
  position: absolute;
  bottom: 15px;
  right: 16px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #ffffff1a;
  display: grid;
  place-items: center;
  transform: rotate(-8deg);
}
.cover-symbol .icon {
  width: 28px;
  height: 28px;
}
.cover .eyebrow {
  font-size: 8px;
  letter-spacing: 1.6px;
  opacity: 0.8;
}
.format-label {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #2417354d;
  backdrop-filter: blur(5px);
  padding: 5px 7px;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 550;
  align-self: flex-start;
}
.format-label .icon {
  width: 11px;
  height: 11px;
}
.favorite {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffffed;
  display: grid;
  place-items: center;
  color: #776381;
  z-index: 3;
}
.favorite .icon {
  width: 16px;
  height: 16px;
}
.favorite.on {
  color: var(--purple);
}
.favorite.on .icon {
  fill: #ddd0f5;
}
.card-body {
  padding: 15px;
}
.card-category {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 6px;
}
.card-body h3 {
  font-size: 14px;
  line-height: 1.45;
  min-height: 41px;
}
.author {
  font-size: 10px;
  color: var(--muted);
  margin-top: 8px;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 10px;
}
.card-meta .icon {
  width: 12px;
  height: 12px;
}
.card-bottom {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price {
  font-size: 15px;
  font-weight: 750;
}
.card-bottom .included {
  font-size: 9px;
  color: var(--purple);
  font-weight: 550;
  display: flex;
  align-items: center;
  gap: 4px;
}
.card-bottom .icon {
  width: 13px;
  height: 13px;
}
.side-card {
  border: 1px solid var(--line);
  background: white;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 19px;
}
.side-card h3 {
  font-size: 17px;
}
.side-card p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}
.pass-card {
  background: var(--purple-dark);
  color: white;
  border: 0;
  position: relative;
  overflow: hidden;
}
.pass-card:after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  border: 1px solid #ffffff12;
  border-radius: 50%;
  right: -65px;
  top: -40px;
  box-shadow: 0 0 0 28px #ffffff08;
  pointer-events: none;
}
.pass-card .eyebrow {
  color: #d9bcee;
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 9px;
}
.pass-card h3 {
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.6px;
  margin: 14px 0 8px;
  max-width: 190px;
}
.pass-card p {
  color: #c9bbd7;
  line-height: 1.6;
}
.pass-card .btn {
  margin-top: 20px;
}
.pass-card .fine {
  font-size: 9px;
  text-align: center;
  color: #beaecb;
  margin-top: 10px;
}
.daily {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}
.daily .topic-icon {
  min-width: 44px;
  height: 44px;
}
.daily strong {
  font-size: 12px;
}
.daily small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.progress {
  height: 5px;
  background: #eee8f6;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 14px;
}
.progress > span {
  height: 100%;
  display: block;
  background: var(--purple);
  border-radius: 6px;
  max-width: 100%;
}
.live-small {
  padding: 14px;
  background: #fbf8f5;
  border-radius: 11px;
  margin-top: 16px;
}
.live-small .pill {
  border: 0;
  background: #f6e3d4;
  color: #935a30;
  font-size: 9px;
  padding: 5px 7px;
}
.live-small h4 {
  font-size: 13px;
  line-height: 1.45;
  margin: 10px 0 5px;
}
.live-small p {
  font-size: 10px;
  margin: 0;
}
.side-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.side-title .icon {
  color: var(--purple);
  width: 18px;
  height: 18px;
}
.editor-note {
  padding: 0 8px;
  display: flex;
  gap: 10px;
  color: #96909e;
  font-size: 10px;
  line-height: 1.6;
}
.editor-note .icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.bottom-nav {
  display: none;
}
.footer {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: #9993a0;
  margin-top: 45px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.footer button {
  font-size: 10px;
  color: var(--muted);
  padding: 6px;
}
.page-heading {
  margin-bottom: 28px;
}
.page-heading h1 {
  margin-top: 8px;
}
.page-heading p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 12px;
  max-width: 620px;
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 22px;
  min-height: 34px;
}
.back .icon {
  width: 15px;
  height: 15px;
}
.chips {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 3px 1px 8px;
  scrollbar-width: none;
}
.chip {
  border: 1px solid var(--line);
  border-radius: 25px;
  white-space: nowrap;
  padding: 10px 17px;
  font-size: 12px;
  background: white;
  min-height: 40px;
}
.chip.active {
  background: var(--purple);
  color: white;
  border-color: var(--purple);
}
.filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0;
}
.filters select {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px;
  background: white;
  font-size: 12px;
}
.catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.empty {
  border: 1px dashed #d7ccdf;
  padding: 50px 20px;
  text-align: center;
  background: white;
  border-radius: 16px;
  margin: 20px 0;
}
.empty > .icon {
  width: 36px;
  height: 36px;
  color: #9a80bb;
  margin-bottom: 12px;
}
.empty p {
  font-size: 13px;
  color: var(--muted);
  margin: 10px auto 20px;
  max-width: 450px;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 38px;
}
.detail-hero {
  background: #f0eaf9;
  border: 1px solid #e8def3;
  border-radius: 18px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 215px;
  gap: 28px;
  align-items: center;
}
.detail-hero .cover {
  height: 215px;
  border-radius: 12px;
  box-shadow: 0 15px 25px #43305218;
}
.detail-hero h1 {
  font-size: 31px;
  margin: 12px 0;
}
.detail-hero p {
  font-size: 12px;
  color: var(--muted);
}
.detail-hero .pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.detail-hero .pill {
  font-size: 10px;
  background: #ffffffa1;
}
.section-box {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
  margin-top: 22px;
}
.section-box h2 {
  font-size: 19px;
  margin-bottom: 16px;
}
.outcomes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.outcomes li {
  display: flex;
  gap: 9px;
  font-size: 12px;
  line-height: 1.7;
}
.outcomes .icon {
  color: var(--green);
  width: 17px;
  height: 17px;
  margin-top: 3px;
}
.lesson-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  width: 100%;
  text-align: left;
}
.lesson-row:last-child {
  border-bottom: 0;
}
.lesson-number {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--paper);
  border-radius: 10px;
  font-size: 12px;
  color: var(--muted);
  flex-shrink: 0;
}
.lesson-row strong {
  font-size: 12px;
  line-height: 1.5;
  display: block;
}
.lesson-row small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  color: var(--muted);
}
.lesson-row > .icon {
  margin-left: auto;
  color: #a497b1;
  width: 17px;
  height: 17px;
}
.sample {
  font-size: 9px;
  color: var(--green);
  background: #e7f3ee;
  padding: 4px 7px;
  border-radius: 5px;
  white-space: nowrap;
  margin-left: auto;
}
.purchase-card {
  position: sticky;
  top: 112px;
}
.purchase-card > .cover {
  border-radius: 10px;
  margin-bottom: 21px;
  height: 170px;
}
.price-big {
  font-size: 30px;
  font-weight: 750;
  letter-spacing: -1px;
}
.purchase-card .muted {
  font-size: 11px;
  margin: 6px 0 20px;
}
.purchase-card .btn {
  margin-top: 9px;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 21px 0 0;
}
.check-list li {
  display: flex;
  gap: 8px;
  font-size: 11px;
  line-height: 1.6;
  margin: 11px 0;
  color: var(--muted);
}
.check-list .icon {
  color: var(--green);
  width: 15px;
  height: 15px;
}
.source-note {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
  word-break: break-word;
}
.source-note a {
  color: var(--purple);
  text-decoration: underline;
}
.instructor {
  display: flex;
  gap: 13px;
  align-items: center;
}
.instructor .avatar {
  height: 48px;
  width: 48px;
  background: var(--lavender);
  color: var(--purple);
}
.instructor p {
  font-size: 12px;
  color: var(--muted);
}
.instructor strong {
  font-size: 14px;
}
.learning-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
}
.lesson-heading h1 {
  font-size: 29px;
  margin: 9px 0 20px;
}
.media-stage {
  background: #322043;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  color: white;
}
.audio-stage {
  padding: 35px;
  display: flex;
  gap: 28px;
  align-items: center;
  background:
    radial-gradient(ellipse at 80% 50%, #634371, transparent), #302043;
}
.audio-stage .cover {
  width: 170px;
  height: 170px;
  flex-shrink: 0;
  border-radius: 14px;
  box-shadow: 0 10px 20px #0002;
}
.audio-info {
  flex: 1;
  min-width: 0;
}
.audio-info h3 {
  font-size: 18px;
}
.audio-info p {
  font-size: 11px;
  color: #cfc1dc;
  margin: 10px 0;
}
.audio-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 15px 0;
}
.play-large {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: white;
  color: var(--purple);
  display: grid;
  place-items: center;
}
.play-large .icon {
  width: 24px;
  height: 24px;
}
.audio-controls .icon-button:hover {
  background: #ffffff20;
}
.audio-controls small {
  font-size: 10px;
}
.seek {
  width: 100%;
  height: 5px;
  accent-color: var(--purple);
  cursor: pointer;
}
.audio-stage .seek {
  accent-color: #d3b4f6;
}
.time-row {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #cfc1dc;
  margin-top: 8px;
}
.video-player {
  width: 100%;
  max-height: 480px;
  display: block;
  aspect-ratio: 16/9;
  background: #1f1529;
}


.tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin-top: 26px;
}
.tab {
  font-size: 13px;
  font-weight: 600;
  min-height: 48px;
  position: relative;
  color: var(--muted);
  padding: 0 1px;
}
.tab.active {
  color: var(--purple);
}
.tab.active:after {
  content: "";
  position: absolute;
  height: 3px;
  background: var(--purple);
  bottom: -1px;
  left: 0;
  right: 0;
}
.prose {
  font-size: 14px;
  line-height: 1.9;
  padding-top: 24px;
  max-width: 720px;
}
.prose p {
  margin: 0 0 19px;
  line-height: 1.9;
}
.prose h3 {
  margin: 15px 0;
}
.lesson-actions {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-top: 26px;
}
.note-input {
  resize: vertical;
  width: 100%;
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  padding: 16px;
  line-height: 1.7;
  font-size: 14px;
  margin: 18px 0 10px;
}
.mini-player {
  position: fixed;
  z-index: 40;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, calc(100vw - 32px));
  border-radius: 14px;
  box-shadow: 0 9px 40px #25133c33;
  background: #fff;
  border: 1px solid #e4daee;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  gap: 13px;
}
.mini-player .mini-cover {
  width: 40px;
  height: 40px;
  background: var(--purple);
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: white;
}
.mini-player .mini-text {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 650;
  text-align: left;
}
.mini-text strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.mini-text small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.mini-progress {
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 2px;
  background: #eee8f6;
  overflow: hidden;
}
.mini-progress span {
  display: block;
  background: var(--purple);
  height: 2px;
}
.mini-player .play-mini {
  width: 36px;
  height: 36px;
  background: var(--purple);
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.mini-player .play-mini .icon {
  width: 18px;
  height: 18px;
}
.checkout-layout {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
}
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 11px;
  margin: 0 0 35px;
  color: var(--muted);
}
.steps .active {
  color: var(--purple);
  font-weight: 650;
}
.steps i {
  height: 1px;
  width: 45px;
  background: var(--line);
}
.checkout-course {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 20px 0;
}
.checkout-course .cover {
  height: 96px;
  width: 110px;
  flex-shrink: 0;
  padding: 12px;
  border-radius: 9px;
}
.checkout-course .cover-title {
  font-size: 15px;
}
.checkout-course .cover-symbol,
.checkout-course .eyebrow {
  display: none;
}
.checkout-course h3 {
  font-size: 15px;
}
.checkout-course p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
}
.payment-method {
  border: 1px solid var(--line);
  border-radius: 11px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  margin-top: 10px;
  cursor: pointer;
}
.payment-method:has(input:checked) {
  border-color: var(--purple);
  background: #f6f2fc;
}
.payment-method input {
  accent-color: var(--purple);
  width: 17px;
  height: 17px;
}
.payment-method .icon {
  color: var(--purple);
}
.payment-method strong {
  font-size: 12px;
}
.payment-method small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 4px;
}
.line-item {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  margin: 16px 0;
}
.line-item.total {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-weight: 700;
  font-size: 17px;
}
.notice {
  background: #f5f0fc;
  border-radius: 10px;
  padding: 13px;
  color: #78628d;
  font-size: 11px;
  line-height: 1.7;
  display: flex;
  gap: 8px;
}
.notice .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}
.agree {
  font-size: 11px;
  line-height: 1.8;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 18px 0;
}
.agree input {
  accent-color: var(--purple);
  margin-top: 4px;
}
.result-card {
  max-width: 560px;
  margin: 40px auto;
  padding: 40px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  text-align: center;
}
.result-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: #e7f4ed;
  color: var(--green);
  display: grid;
  place-items: center;
}
.result-icon .icon {
  width: 34px;
  height: 34px;
}
.result-card h1 {
  font-size: 29px;
}
.result-card p {
  color: var(--muted);
  font-size: 13px;
  margin: 15px 0 24px;
}
.result-card .btn {
  margin: 5px;
}
.order-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.order-card .topic-icon {
  height: 48px;
  min-width: 48px;
}
.order-main {
  flex: 1;
}
.order-main h3 {
  font-size: 14px;
}
.order-main small {
  font-size: 10px;
  display: block;
  color: var(--muted);
  margin-top: 6px;
}
.order-end {
  display: flex;
  align-items: center;
  gap: 18px;
}
.status {
  font-size: 10px;
  padding: 6px 9px;
  border-radius: 6px;
  background: #f0eaf8;
  color: var(--purple);
}
.status.paid {
  background: #e7f4ed;
  color: var(--green);
}
.status.failed,
.status.refunded {
  background: #f8eae7;
  color: #ae6958;
}
.library-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 22px 0;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 21px;
  display: flex;
  gap: 15px;
  align-items: center;
}
.stat .icon {
  color: var(--purple);
  width: 26px;
  height: 26px;
}
.stat strong {
  font-size: 25px;
  display: block;
}
.stat small {
  color: var(--muted);
  font-size: 11px;
}
.live-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.live-card {
  border: 1px solid var(--line);
  background: white;
  border-radius: 16px;
  overflow: hidden;
}
.live-art {
  background: #332340;
  color: white;
  padding: 28px;
  position: relative;
  overflow: hidden;
  min-height: 185px;
}
.live-art:after {
  content: "";
  position: absolute;
  right: -10px;
  bottom: -30px;
  border: 32px solid #ffffff0c;
  width: 180px;
  height: 180px;
  border-radius: 50%;
}
.live-art h2 {
  font-size: 26px;
  max-width: 330px;
  margin-top: 17px;
  position: relative;
  z-index: 1;
}
.live-art .pill {
  background: #edb495;
  color: #452d27;
  border: 0;
  font-size: 9px;
}
.live-content {
  padding: 24px;
}
.live-content p {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 18px;
}
.live-meta {
  display: flex;
  gap: 16px;
  font-size: 11px;
  color: var(--muted);
}
.live-meta span {
  display: flex;
  gap: 6px;
  align-items: center;
}
.live-meta .icon {
  width: 14px;
  height: 14px;
}
.live-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.membership-hero {
  max-width: 760px;
  text-align: center;
  margin: 15px auto 30px;
}
.membership-hero h1 {
  font-size: 42px;
  margin: 16px 0;
}
.membership-hero p {
  color: var(--muted);
  font-size: 14px;
}
.membership-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--purple-dark);
  color: white;
  border-radius: 22px;
  padding: 34px;
}
.membership-card .price-big {
  font-size: 44px;
}
.membership-card .muted {
  color: #bfb2cd;
}
.membership-card .check-list li {
  color: #e1d8e9;
  font-size: 13px;
}
.membership-card .check-list .icon {
  color: #d0b0ee;
}
.membership-card .btn {
  margin-top: 18px;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 900px;
}
.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.settings-row:last-child {
  border: 0;
}
.settings-row strong {
  font-size: 13px;
  display: block;
}
.settings-row small {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 6px;
  line-height: 1.6;
}
.switch {
  appearance: none;
  width: 42px;
  height: 24px;
  border-radius: 20px;
  background: #ddd5e6;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}
.switch:before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: left 0.2s;
}
.switch:checked {
  background: var(--purple);
}
.switch:checked:before {
  left: 21px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  max-width: 480px;
  width: calc(100% - 32px);
  box-shadow: 0 25px 100px #1c0d3b30;
  color: var(--ink);
}
dialog::backdrop {
  background: #23143266;
  backdrop-filter: blur(4px);
}
dialog h2 {
  font-size: 22px;
  margin-bottom: 14px;
}
dialog p {
  font-size: 13px;
  color: var(--muted);
  margin: 13px 0;
}
dialog .dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
dialog .choice {
  display: block;
  text-align: left;
  border: 1px solid var(--line);
  width: 100%;
  border-radius: 10px;
  padding: 15px;
  margin-top: 10px;
  font-size: 13px;
}
dialog .choice:hover {
  background: var(--lavender);
  border-color: var(--purple);
}
dialog .choice small {
  display: block;
  color: var(--muted);
  margin-top: 6px;
  font-size: 11px;
}
#toast {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 105px;
  background: #30223f;
  color: white;
  padding: 13px 20px;
  border-radius: 11px;
  font-size: 12px;
  z-index: 100;
  max-width: calc(100% - 32px);
  box-shadow: 0 5px 25px #0002;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
  text-align: center;
}
#toast.visible {
  opacity: 1;
}
.loading {
  height: 260px;
  display: grid;
  place-items: center;
  color: var(--purple);
  font-size: 14px;
}
.initial-loading {
  padding: 20vh 20px;
  text-align: center;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--purple);
}
.initial-loading p {
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0;
  margin-top: 20px;
}
.resource {
  display: flex;
  gap: 14px;
  align-items: center;
  background: white;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 20px;
}
.resource > .icon {
  color: var(--purple);
  width: 30px;
  height: 30px;
}
.resource strong {
  font-size: 13px;
}
.resource p {
  font-size: 11px;
  color: var(--muted);
  margin: 6px 0;
}
.resource .btn {
  margin-left: auto;
}
.mobile-buy {
  display: none;
}
.error-box {
  max-width: 600px;
  margin: 60px auto;
  text-align: center;
  padding: 30px;
}
.error-box p {
  margin: 20px 0;
  color: var(--muted);
}
.text-lesson-banner {
  padding: 25px;
  background: var(--lavender);
  border-radius: 14px;
  color: var(--purple);
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}
.live-disclosure {
  margin-bottom: 18px;
}
.small-label {
  font-size: 11px;
  color: var(--muted);
}
.save-state {
  font-size: 11px;
  color: var(--muted);
  margin-left: 12px;
}
.online-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
}
.hint {
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 12px;
}
.floating-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: #fff9;
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 9px;
  color: #4e3b28;
}
.pending-controls {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}
@media (min-width: 1450px) {
  main {
    padding-top: 40px;
  }
  .hero {
    min-height: 356px;
  }
  .hero-copy {
    padding: 42px 36px;
  }
  .hero h2 {
    font-size: 43px;
  }
  .cover {
    height: 165px;
  }
}
@media (max-width: 1300px) {
  main {
    margin: 0 32px;
  }
  .topbar {
    padding: 0 32px;
    gap: 30px;
  }
  .desktop-nav {
    gap: 22px;
  }
  .home-grid {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 23px;
  }
  .hero h2 {
    font-size: 35px;
  }
  .hero-copy {
    padding: 31px 27px;
  }
  .topic {
    gap: 7px;
    padding: 11px 8px;
    font-size: 10px;
  }
  .topic-icon {
    min-width: 30px;
    height: 32px;
  }
  .course-grid {
    gap: 13px;
  }
  .cover {
    height: 143px;
  }
  .cover .cover-title {
    font-size: 22px;
  }
  .card-body {
    padding: 13px;
  }
}
@media (max-width: 1020px) {
  .topbar {
    gap: 22px;
  }
  .desktop-nav {
    gap: 17px;
  }
  .desktop-nav a {
    font-size: 12px;
  }
  .desktop-nav .icon {
    display: none;
  }
  .brand strong {
    font-size: 16px;
  }
  .home-grid {
    grid-template-columns: minmax(0, 1fr) 235px;
    gap: 20px;
  }
  .side-card {
    padding: 17px;
  }
  .hero {
    min-height: 315px;
  }
  .hero h2 {
    font-size: 31px;
  }
  .hero-copy {
    width: 59%;
    padding: 26px 23px;
  }
  .hero p {
    font-size: 11px;
  }
  .hero-sticker {
    right: 13px;
    bottom: 17px;
    font-size: 9px;
    padding: 9px;
  }
  .benefits {
    font-size: 9px;
    gap: 7px;
  }
  .topics {
    grid-template-columns: repeat(2, 1fr);
  }
  .topic {
    padding: 12px;
    font-size: 11px;
  }
  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 22px;
  }
  .detail-hero {
    grid-template-columns: 1fr;
    padding: 25px;
  }
  .detail-hero > .cover {
    display: none;
  }
  .learning-layout {
    grid-template-columns: minmax(0, 1fr) 245px;
    gap: 22px;
  }
  .audio-stage {
    padding: 24px;
    gap: 19px;
  }
  .audio-stage .cover {
    width: 125px;
    height: 145px;
  }
  .audio-stage .cover-title {
    font-size: 20px;
  }
  .audio-info h3 {
    font-size: 15px;
  }
  .audio-controls {
    gap: 5px;
  }
  .audio-controls small {
    font-size: 9px;
  }
}
@media (max-width: 800px) {
  main {
    margin: 0 24px;
    padding-top: 25px;
  }
  .topbar {
    height: 74px;
    padding: 0 24px;
  }
  .desktop-nav {
    gap: 14px;
  }
  .desktop-nav a {
    font-size: 11px;
  }
  .top-tools {
    gap: 4px;
  }
  .top-tools > .icon-button {
    display: none;
  }
  .home-grid {
    grid-template-columns: 1fr;
  }
  .home-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .home-aside .pass-card {
    grid-row: span 2;
  }
  .home-aside .editor-note {
    display: none;
  }
  .side-card {
    margin-bottom: 0;
  }
  .hero {
    min-height: 330px;
  }
  .hero-copy {
    width: 52%;
    padding: 35px;
  }
  .hero h2 {
    font-size: 38px;
  }
  .hero-sticker {
    font-size: 11px;
    right: 24px;
  }
  .benefits {
    font-size: 10px;
  }
  .topics {
    grid-template-columns: repeat(4, 1fr);
  }
  .topic {
    padding: 10px;
    font-size: 10px;
  }
  .topic-icon {
    min-width: 28px;
    height: 30px;
  }
  .course-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cover {
    height: 145px;
    padding: 17px;
  }
  .cover .cover-title {
    font-size: 22px;
  }
  .greeting .searchbox {
    width: 270px;
  }
  .greeting h1 {
    font-size: 25px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .purchase-card {
    display: none;
  }
  .detail-hero {
    grid-template-columns: 1fr 180px;
  }
  .detail-hero > .cover {
    display: flex;
    height: 180px;
  }
  .mobile-buy {
    display: flex;
    position: fixed;
    bottom: 83px;
    left: 24px;
    right: 24px;
    background: white;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 14px;
    padding: 12px 16px;
    align-items: center;
    justify-content: space-between;
    z-index: 35;
    gap: 10px;
  }
  .mobile-buy .price {
    font-size: 20px;
  }
  .mobile-buy small {
    display: block;
    font-size: 9px;
    color: var(--muted);
    margin-top: 4px;
  }
  .learning-layout {
    grid-template-columns: 1fr;
  }
  .learning-aside {
    order: 2;
  }
  .learning-aside .section-box {
    margin-top: 0;
  }
  .checkout-layout {
    grid-template-columns: 1fr 285px;
    gap: 20px;
  }
  .checkout-layout .section-box {
    padding: 20px;
  }
  .order-end {
    gap: 10px;
  }
  .topbar .avatar {
    display: none;
  }
  .live-art h2 {
    font-size: 23px;
  }
}
@media (max-width: 600px) {
  :root {
    background: #fcfbfd;
  }
  .topbar {
    height: 69px;
    padding: 0 20px;
    gap: 10px;
    border-bottom: 0;
  }
  .brand img {
    width: 33px;
    height: 33px;
  }
  .brand {
    gap: 8px;
  }
  .brand strong {
    font-size: 16px;
    letter-spacing: 1.2px;
  }
  .brand span {
    font-size: 9px;
    letter-spacing: 3px;
  }
  .desktop-nav {
    display: none;
  }
  .top-tools {
    gap: 6px;
  }
  .topbar .avatar {
    display: grid;
    width: 32px;
    height: 32px;
    font-size: 10px;
  }
  .language {
    font-size: 10px;
    min-height: 34px;
    border: 0;
    padding: 5px;
  }
  .bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 45;
    border-top: 1px solid var(--line);
    background: #fffffffa;
    backdrop-filter: blur(16px);
    padding: 9px 5px calc(8px + env(safe-area-inset-bottom));
    height: calc(68px + env(safe-area-inset-bottom));
  }
  .bottom-nav a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    font-size: 9px;
    color: #8a8491;
    min-width: 58px;
    min-height: 44px;
    justify-content: center;
  }
  .bottom-nav a.active {
    color: var(--purple);
    font-weight: 650;
  }
  .bottom-nav a.active .nav-icon {
    background: var(--lavender);
    border-radius: 20px;
  }
  .nav-icon {
    width: 40px;
    height: 25px;
    display: grid;
    place-items: center;
  }
  .nav-icon .icon {
    width: 21px;
    height: 21px;
  }
  main {
    margin: 0 20px;
    padding: 17px 0 165px;
  }
  .greeting {
    flex-wrap: wrap;
    gap: 19px;
    margin-bottom: 19px;
  }
  .greeting h1 {
    font-size: 25px;
    letter-spacing: -0.9px;
  }
  .greeting p {
    font-size: 11px;
    margin-top: 5px;
  }
  .greeting .greeting-status {
    display: none;
  }
  .greeting .searchbox {
    width: 100%;
    height: 45px;
    background: #f3f0f6;
    border-color: transparent;
  }
  .searchbox input {
    font-size: 12px;
  }
  .hero {
    min-height: 366px;
    border-radius: 17px;
    display: flex;
    align-items: flex-end;
    background: #ede5da;
  }
  .hero > img {
    height: 100%;
    object-position: 73% 50%;
    opacity: 1;
  }
  .hero:after {
    background: linear-gradient(
      0deg,
      #faf2eafc 0%,
      #f9f0e9f5 29%,
      #f4e7d994 53%,
      transparent 76%
    );
  }
  .hero-copy {
    width: 100%;
    padding: 24px;
    z-index: 1;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1.6px;
  }
  .hero h2 {
    font-size: 34px;
    letter-spacing: -1.3px;
    max-width: 280px;
    margin: 9px 0 7px;
  }
  .hero h2 br {
    display: none;
  }
  .hero p {
    font-size: 11px;
    line-height: 1.6;
    max-width: 245px;
  }
  .hero .btn {
    margin-top: 15px;
    min-height: 40px;
    font-size: 11px;
    padding: 10px 15px;
  }
  .hero-sticker {
    top: 17px;
    bottom: auto;
    right: 16px;
    max-width: 130px;
    background: #fffc;
    font-size: 9px;
    padding: 8px 10px;
    border-radius: 9px;
  }
  .hero-sticker .icon {
    width: 15px;
    height: 15px;
  }
  .benefits {
    gap: 8px;
    font-size: 8px;
    padding: 14px 0;
    align-items: flex-start;
  }
  .benefits span {
    gap: 4px;
    line-height: 1.5;
  }
  .benefits .icon {
    width: 12px;
    height: 12px;
    margin-top: 0;
  }
  .section {
    margin-top: 23px;
  }
  .section-head {
    margin-bottom: 14px;
  }
  .section-head h2 {
    font-size: 20px;
    letter-spacing: -0.6px;
  }
  .section-head p {
    font-size: 11px;
  }
  .text-btn {
    font-size: 11px;
  }
  .topics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
  .topic {
    flex-direction: column;
    border: 0;
    padding: 0;
    gap: 8px;
    background: none;
    text-align: center;
    font-size: 9px;
    line-height: 1.4;
    letter-spacing: -0.1px;
  }
  .topic-icon {
    height: 45px;
    width: 45px;
    border-radius: 14px;
  }
  .topic-icon .icon {
    width: 22px;
    height: 22px;
  }
  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .cover {
    height: 138px;
    padding: 14px;
  }
  .cover .cover-title {
    font-size: 21px;
    letter-spacing: -0.6px;
    max-width: 140px;
  }
  .cover .eyebrow {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .cover-symbol {
    width: 33px;
    height: 33px;
    border-radius: 10px;
    right: 11px;
    bottom: 11px;
  }
  .cover-symbol .icon {
    width: 20px;
    height: 20px;
  }
  .format-label {
    font-size: 8px;
    padding: 4px 6px;
  }
  .favorite {
    width: 30px;
    height: 30px;
    right: 6px;
    top: 6px;
  }
  .favorite .icon {
    width: 14px;
    height: 14px;
  }
  .card-body {
    padding: 12px;
  }
  .card-category {
    font-size: 8px;
    letter-spacing: 0.7px;
  }
  .card-body h3 {
    font-size: 12px;
    min-height: 51px;
    line-height: 1.42;
  }
  .author {
    font-size: 9px;
    margin-top: 6px;
  }
  .card-meta {
    font-size: 8px;
    gap: 4px;
    margin-top: 9px;
  }
  .card-meta .icon {
    width: 10px;
    height: 10px;
  }
  .card-bottom {
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
    padding-top: 10px;
  }
  .price {
    font-size: 13px;
  }
  .card-bottom .included {
    font-size: 8px;
  }
  .card-bottom .included .icon {
    width: 11px;
    height: 11px;
  }
  .home-aside {
    grid-template-columns: 1fr;
    margin-top: 10px;
    gap: 16px;
  }
  .home-aside .pass-card {
    grid-row: auto;
    padding: 24px;
  }
  .pass-card h3 {
    max-width: none;
    font-size: 27px;
  }
  .pass-card .btn {
    width: auto;
  }
  .pass-card .fine {
    text-align: left;
  }
  .home-aside .side-card:not(.pass-card) {
    display: none;
  }
  .footer {
    font-size: 9px;
    gap: 9px;
    flex-wrap: wrap;
    margin-top: 28px;
  }
  .footer button {
    font-size: 9px;
  }
  .footer > span {
    line-height: 1.7;
  }
  .page-heading {
    margin-bottom: 23px;
  }
  .page-heading h1 {
    font-size: 29px;
    letter-spacing: -0.9px;
  }
  .page-heading p {
    font-size: 12px;
    margin-top: 9px;
  }
  .page-heading .eyebrow {
    font-size: 9px;
  }
  .filters {
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
    margin: 15px 0;
  }
  .filters .chips {
    width: 100%;
  }
  .filters select {
    font-size: 11px;
    padding: 8px;
  }
  .chip {
    padding: 9px 14px;
    font-size: 11px;
    min-height: 38px;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .back {
    font-size: 11px;
    margin-bottom: 15px;
  }
  .detail-hero {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    padding: 23px;
    gap: 22px;
  }
  .detail-hero > .cover {
    height: 200px;
  }
  .detail-hero .cover-title {
    font-size: 38px;
    max-width: 250px;
  }
  .detail-hero .cover-symbol {
    height: 68px;
    width: 68px;
    right: 20px;
    bottom: 20px;
  }
  .detail-hero .cover-symbol .icon {
    width: 42px;
    height: 42px;
  }
  .detail-hero .cover .eyebrow {
    font-size: 9px;
  }
  .detail-hero h1 {
    font-size: 29px;
    line-height: 1.2;
  }
  .detail-hero .pills {
    gap: 6px;
  }
  .section-box {
    padding: 20px;
    margin-top: 18px;
  }
  .section-box h2 {
    font-size: 18px;
  }
  .outcomes {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .outcomes li {
    font-size: 12px;
  }
  .mobile-buy {
    bottom: calc(78px + env(safe-area-inset-bottom));
    left: 12px;
    right: 12px;
    padding: 11px 14px;
  }
  .mobile-buy .btn {
    font-size: 12px;
  }
  .lesson-row {
    padding: 16px 0;
    gap: 10px;
  }
  .lesson-row strong {
    font-size: 12px;
  }
  .lesson-number {
    width: 30px;
    height: 32px;
    font-size: 10px;
  }
  .sample {
    font-size: 8px;
    padding: 4px 5px;
  }
  .lesson-row small {
    font-size: 9px;
  }
  .lesson-heading h1 {
    font-size: 25px;
    letter-spacing: -0.8px;
    margin: 9px 0 17px;
  }
  .audio-stage {
    display: flex;
    flex-direction: column;
    padding: 26px 24px;
    gap: 23px;
    align-items: stretch;
  }
  .audio-stage .cover {
    width: 180px;
    height: 180px;
    align-self: center;
  }
  .audio-stage .cover-title {
    font-size: 30px;
    max-width: 155px;
  }
  .audio-stage .cover .eyebrow {
    font-size: 8px;
  }
  .audio-info h3 {
    text-align: center;
    font-size: 17px;
  }
  .audio-info p {
    text-align: center;
    font-size: 10px;
  }
  .audio-controls {
    justify-content: center;
    gap: 15px;
    margin: 18px 0;
  }
  .audio-controls small {
    font-size: 10px;
  }


  .tabs {
    gap: 22px;
    margin-top: 17px;
  }
  .tab {
    font-size: 12px;
    min-height: 46px;
  }
  .prose {
    font-size: 13px;
    line-height: 1.9;
    padding-top: 20px;
  }
  .lesson-actions {
    gap: 8px;
  }
  .lesson-actions .btn {
    font-size: 11px;
    padding: 10px 12px;
  }
  .mini-player {
    bottom: calc(76px + env(safe-area-inset-bottom));
    width: calc(100vw - 20px);
    padding: 9px 10px;
    gap: 9px;
    border-radius: 12px;
  }
  .mini-player .mini-cover {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
  }
  .mini-player .mini-text {
    font-size: 11px;
  }
  .mini-player .mini-text small {
    font-size: 9px;
  }
  .mini-player .icon-button {
    min-width: 28px;
    min-height: 36px;
  }
  .mini-player .icon-button .icon {
    width: 16px;
    height: 16px;
  }
  .mini-player .play-mini {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
  }
  .steps {
    font-size: 10px;
    gap: 10px;
    margin: 3px 0 23px;
  }
  .steps i {
    width: 25px;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .checkout-layout .section-box {
    margin-top: 13px;
  }
  .checkout-course {
    gap: 13px;
  }
  .checkout-course h3 {
    font-size: 14px;
  }
  .result-card {
    padding: 28px 22px;
    margin: 20px auto;
  }
  .result-card h1 {
    font-size: 25px;
  }
  .result-card p {
    font-size: 12px;
  }
  .order-card {
    padding: 16px;
    gap: 11px;
    flex-wrap: wrap;
  }
  .order-main {
    min-width: calc(100% - 60px);
  }
  .order-main h3 {
    font-size: 13px;
  }
  .order-end {
    width: 100%;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .order-main small {
    font-size: 9px;
    overflow-wrap: anywhere;
  }
  .order-card .topic-icon {
    width: 40px;
    min-width: 40px;
    height: 42px;
  }
  .library-stats {
    gap: 8px;
  }
  .stat {
    padding: 15px 10px;
    display: block;
    text-align: center;
  }
  .stat > .icon {
    width: 21px;
    height: 21px;
    margin-bottom: 6px;
  }
  .stat strong {
    font-size: 22px;
  }
  .stat small {
    font-size: 9px;
    line-height: 1.5;
    display: block;
    margin-top: 4px;
  }
  .live-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .live-art {
    padding: 25px;
    min-height: 180px;
  }
  .live-art h2 {
    font-size: 26px;
    max-width: 260px;
  }
  .live-content {
    padding: 21px;
  }
  .live-meta {
    gap: 14px;
    font-size: 10px;
  }
  .live-content p {
    font-size: 12px;
  }
  .live-buttons .btn {
    font-size: 11px;
  }
  .membership-hero h1 {
    font-size: 34px;
  }
  .membership-hero p {
    font-size: 12px;
  }
  .membership-card {
    padding: 27px;
  }
  .membership-card .price-big {
    font-size: 38px;
  }
  .membership-card .check-list li {
    font-size: 12px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .settings-row strong {
    font-size: 12px;
  }
  .settings-row small {
    font-size: 10px;
  }
  .settings-grid .section-box {
    margin-top: 15px;
  }
  .resource {
    padding: 16px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .resource .btn {
    margin-left: 0;
  }
  .resource strong {
    font-size: 12px;
  }
  .resource p {
    font-size: 10px;
  }
  .empty {
    padding: 35px 20px;
  }
  .empty h3 {
    font-size: 17px;
  }
  .empty p {
    font-size: 12px;
  }
  #toast {
    bottom: 150px;
    font-size: 11px;
  }
  .live-disclosure {
    font-size: 10px;
  }
  .hint {
    font-size: 9px;
  }
}
@media (max-width: 374px) {
  main {
    margin: 0 16px;
  }
  .topbar {
    padding: 0 16px;
  }
  .hero-copy {
    padding: 21px;
  }
  .hero h2 {
    font-size: 32px;
  }
  .hero {
    min-height: 352px;
  }
  .course-grid {
    gap: 10px;
  }
  .cover {
    height: 130px;
    padding: 12px;
  }
  .cover .cover-title {
    font-size: 19px;
  }
  .card-body {
    padding: 10px;
  }
  .card-body h3 {
    font-size: 11px;
  }
  .card-meta {
    font-size: 8px;
  }
  .card-bottom .included {
    font-size: 7px;
  }
  .benefits {
    font-size: 7px;
  }
  .topics {
    gap: 5px;
  }
  .section-head h2 {
    font-size: 19px;
  }
  .live-buttons .btn {
    padding: 11px;
  }
  .bottom-nav a {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Keep persistent audio controls above the purchase action on compact screens. */
@media (max-width: 800px) {
  body[data-page="course"] .mini-player {
    bottom: calc(151px + env(safe-area-inset-bottom));
  }
}
@media (pointer: coarse) {
  .favorite {
    width: 44px;
    height: 44px;
    top: 0;
    right: 0;
    background: none;
  }
  .favorite:before {
    content: "";
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    background: #fffffff2;
  }
  .favorite > .icon {
    position: relative;
  }
  .mini-player .icon-button {
    min-width: 38px;
    min-height: 44px;
  }
  .mini-player .play-mini {
    width: 44px;
    height: 44px;
  }
  .chip {
    min-height: 44px;
  }

}
.recording-label {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  margin: -8px 0 20px;
}
.recording-label .icon {
  width: 15px;
  height: 15px;
  color: var(--purple);
}
.filters {
  flex-wrap: wrap;
}
.filters .chips {
  flex: 1 1 460px;
}

/* VIP and local demo accounts */
.vip-summary { display:flex; justify-content:space-between; align-items:center; gap:20px; border-left:4px solid var(--purple); }
.vip-summary h2 { margin:14px 0 8px; overflow-wrap:anywhere; }
.vip-summary p { color:var(--muted); font-size:13px; }
.vip-remaining { display:grid; text-align:center; flex-shrink:0; color:var(--purple); }
.vip-remaining strong { font-size:42px; line-height:1.2; }
.vip-remaining span { font-size:12px; }
.vip-plans { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin:24px 0; }
.vip-plans .membership-card { width:auto; max-width:none; margin:0; }
.vip-plans .membership-card .eyebrow { color:#e4d2f0; }
.vip-plans .membership-card .hint { color:#dfd2e9; }
.vip-plans .price-big { margin-top:20px; }
.vip-history-row { display:flex; gap:12px; justify-content:space-between; padding:16px 0; border-top:1px solid var(--border); }
.vip-history-row > div { min-width:0; }
.vip-history-row small { display:block; color:var(--muted); margin-top:6px; font-size:12px; overflow-wrap:anywhere; }
.vip-history-row .pill { align-self:flex-start; flex-shrink:0; }
.auth-form { display:grid; gap:12px; }
.auth-form label { display:grid; gap:8px; font-size:13px; font-weight:600; }
.auth-form input { width:100%; padding:12px; border:1px solid #ccc; border-radius:10px; background:white; color:var(--ink); font:inherit; }
.auth-form small { color:var(--muted); }
.auth-actions { display:flex; gap:10px; flex-wrap:wrap; }
.auth-error { color:#ad283b; min-height:20px; font-size:13px; }
@media(max-width:600px) { .vip-plans { grid-template-columns:1fr; } .vip-summary { padding:20px; gap:12px; } .vip-remaining strong { font-size:32px; } .vip-history-row { flex-wrap:wrap; } }

/* Shared website navigation: one account and membership across all pages. */
.mobile-vip { display:none; }
.topbar .avatar.is-vip { background:var(--purple); color:white; box-shadow:0 0 0 3px #eadffc; }
@media (min-width:1001px) { .desktop-nav { gap:20px; } .topbar { gap:28px; } }
@media (max-width:600px) {
  .mobile-vip { display:grid; place-items:center; color:var(--purple); min-width:36px; min-height:44px; border-radius:12px; }
  .mobile-vip.is-vip { background:var(--lavender); }
  .topbar { padding-left:14px; padding-right:14px; gap:6px; }
  .top-tools { gap:3px; }
}


/* Avatar dropdown selects a workspace without crowding the learner page. */
.top-tools { position:relative; }
.account-menu-trigger { border:0; cursor:pointer; flex-shrink:0; }
.account-menu-trigger[aria-expanded="true"] { outline:2px solid var(--purple); outline-offset:3px; }
.account-menu { position:absolute; right:0; top:calc(100% + 14px); z-index:60; width:min(280px,calc(100vw - 32px)); padding:8px; border:1px solid var(--line); border-radius:16px; background:white; box-shadow:0 16px 48px #30204026; }
.account-menu[hidden] { display:none; }
.account-menu-heading { padding:12px; font-size:13px; font-weight:700; overflow-wrap:anywhere; }
.account-menu a { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:10px 12px; border-radius:9px; min-height:46px; }
.account-menu a:hover,.account-menu a:focus-visible { background:var(--lavender); color:var(--purple-dark); }
.account-menu a[aria-current] { color:var(--purple); background:#f5f0fc; }
.account-menu a strong { font-size:13px; }
.account-menu a small { display:block; margin-top:3px; font-size:11px; color:var(--muted); }
.account-menu .account-menu-profile { justify-content:flex-start; font-size:13px; }
.account-menu-section { padding:14px 12px 6px; border-top:1px solid var(--line); margin-top:6px; font-size:11px; color:var(--muted); }
.account-menu-note { padding:10px 12px 6px; margin-top:6px; border-top:1px solid var(--line); font-size:10px; color:var(--muted); }
body[data-page="workspace"] .desktop-nav, body[data-page="workspace"] .bottom-nav, body[data-page="workspace"] .mobile-vip { display:none; }
body[data-page="workspace"] .top-tools { margin-left:auto; }
body[data-page="workspace"] main { padding-bottom:40px; }
.redeem-box { max-width:620px; }
.redeem-error { color:#b43549; }
.operator-banner { margin-bottom:20px; }


/* Discovery cards lead with learning; purchase prices stay on decision pages. */
.card-bottom { gap:8px; flex-wrap:wrap; }
.course-entry { display:inline-flex; align-items:center; gap:6px; min-height:44px; font-size:12px; font-weight:650; color:var(--purple); }
.course-entry:hover { text-decoration:underline; }
@media(max-width:600px) { .course-entry { font-size:11px; } }

/* Full editorial course posters and restrained catalogue metadata. */
.cover.cover-editorial { position:relative; padding:0; display:block; background:var(--cover,#363343); overflow:hidden; isolation:isolate; }
.cover-editorial:before,.cover-editorial:after { display:none; }
.cover-image,.cover-paper,.cover-shade { position:absolute; inset:0; width:100%; height:100%; }
.cover-image { object-fit:cover; object-position:50% 35%; }
.cover-paper { background:radial-gradient(ellipse at 25% 0%,#ffffff1c,transparent 65%); }
.cover-shade { background:linear-gradient(180deg,#07090a26 0%,#07090a00 26%,#07090a55 48%,#07090ae8 100%); }
.cover-kicker { position:absolute; top:17px; left:17px; color:#fff; font-size:8px; line-height:1; font-weight:600; letter-spacing:1.5px; text-shadow:0 1px 3px #0008; }
.cover-caption { position:absolute; left:17px; right:17px; bottom:17px; }
.cover-editorial .cover-title { font-family:Georgia,'Times New Roman',serif; color:#fff; font-size:27px; line-height:1.08; font-weight:500; letter-spacing:-.65px; max-width:none; margin:0; text-shadow:0 1px 7px #0003; overflow-wrap:normal; }
.cover-medium { display:flex; align-items:center; gap:5px; margin-top:12px; color:#ffffffc9; font-size:9px; font-weight:500; }
.cover-medium .icon { width:12px; height:12px; }
.course-card { border:0; background:transparent; border-radius:0; overflow:visible; box-shadow:none; }
.course-card:hover { transform:none; box-shadow:none; }
.card-art { position:relative; }
.course-card .cover.cover-editorial { height:auto; aspect-ratio:3/4; border-radius:9px; box-shadow:0 5px 14px #22163214; transition:transform .2s,box-shadow .2s; }
.course-card .card-art:hover .cover { transform:translateY(-3px); box-shadow:0 9px 20px #22163224; }
.course-card .favorite { top:8px; right:8px; width:32px; height:32px; background:#1517194a; color:#fff; backdrop-filter:blur(7px); }
.course-card .favorite.on { background:#fff; color:var(--purple); }
.course-card .card-body { padding:13px 0 0; }
.course-card .author { margin:0; font-size:12px; line-height:1.4; color:var(--ink); font-weight:600; min-height:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.course-card .card-meta { margin-top:6px; gap:5px; font-size:10px; flex-wrap:wrap; line-height:1.4; }
.course-card .card-bottom { border:0; margin-top:3px; padding-top:0; gap:6px; flex-wrap:nowrap; }
.course-card .course-entry { font-size:11px; min-height:36px; line-height:1.3; gap:4px; }
.course-card .course-entry .icon { width:13px; flex-shrink:0; }
.card-membership { display:flex; gap:3px; align-items:center; font-size:9px; color:#776587; flex-shrink:0; }
.card-membership .icon { width:11px; height:11px; }
.course-grid,.catalog-grid { align-items:start; row-gap:30px; }
.detail-hero .cover.cover-editorial { height:340px; }
.detail-hero .cover-editorial .cover-title { font-size:32px; }
.audio-stage .cover-editorial .cover-title { font-size:22px; }
.checkout-course .cover-editorial .cover-title { font-size:12px; letter-spacing:-.2px; }
.checkout-course .cover-editorial .cover-caption { left:8px; right:8px; bottom:8px; }
.checkout-course .cover-kicker,.checkout-course .cover-medium { display:none; }
@media(max-width:600px) {
  .course-grid,.catalog-grid { column-gap:16px; row-gap:24px; }
  .cover-kicker { top:13px; left:13px; font-size:6px; letter-spacing:1px; }
  .cover-caption { left:13px; right:13px; bottom:14px; }
  .cover-editorial .cover-title { font-size:22px; letter-spacing:-.5px; }
  .cover-medium { margin-top:9px; font-size:8px; gap:4px; }
  .course-card .favorite { width:28px; height:28px; top:7px; right:7px; }
  .course-card .card-body { padding-top:10px; }
  .course-card .author { font-size:11px; }
  .course-card .card-meta { font-size:9px; gap:4px; }
  .course-card .course-entry { font-size:10px; }
  .card-membership { font-size:8px; }
  .detail-hero .cover.cover-editorial { height:320px; }
  .detail-hero .cover-editorial .cover-title { font-size:32px; }
  .audio-stage .cover-editorial .cover-title { font-size:20px; }
}
@media(max-width:374px) {
  .cover-editorial .cover-title { font-size:20px; }
  .cover-caption { left:11px; right:11px; bottom:12px; }
  .course-card .card-meta { font-size:8px; }
}

@media(max-width:600px) { html:lang(pt) .course-card .cover-editorial .cover-title { font-size:19px; } }
@media(max-width:374px) { html:lang(pt) .course-card .cover-editorial .cover-title { font-size:18px; } }

.language-course-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin:24px 0}

/* Original portrait tutorials keep their 9:16 teaching frame on phones. */
.portrait-stage { background:#1f1529; }
.portrait-stage .video-player { aspect-ratio:9/16; max-height:min(74svh,720px); object-fit:contain; }
.resource-language { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:12px; font-size:12px; color:var(--muted); }
.resource-language select { max-width:160px; padding:7px 10px; border:1px solid var(--line); border-radius:7px; background:white; color:var(--ink); }
@media(max-width:600px) { .resource { flex-wrap:wrap; gap:14px; } .resource > div { flex:1; min-width:150px; } }

/* Integrated media controls: one surface in inline and fullscreen modes. */
.learning-player { position:relative; margin:12px 0 20px; border-radius:16px; background:#17121e; color:white; }
.learning-player .media-stage { border-radius:16px; }
.learning-player .video-player { cursor:pointer; }
.player-chrome { position:absolute; inset:auto 0 0; z-index:3; padding:30px 14px 5px; background:linear-gradient(transparent,rgba(8,5,14,.85)); transition:opacity .2s; }
.player-control-row { display:flex; align-items:center; gap:3px; min-height:44px; }
.player-icon,.player-rate { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; width:44px; height:44px; padding:10px; color:#fff; border-radius:50%; cursor:pointer; transition:background .15s,transform .15s; background:transparent; }
.player-icon svg { width:23px; height:23px; flex-shrink:0; }
.player-icon:hover,.player-rate:hover { background:rgb(255 255 255 / 12%); }
.player-icon:active,.player-rate:active { transform:scale(.92); background:rgb(255 255 255 / 20%); }
.player-icon:disabled { opacity:.36; cursor:default; }
.player-icon.is-active { color:#d5b6ff; }
.player-rate { width:auto; min-width:44px; font-size:13px; font-weight:650; border-radius:10px; padding:8px; }
.player-time { color:#fff; white-space:nowrap; font-size:11px; font-variant-numeric:tabular-nums; letter-spacing:0; }
.player-time > span:last-child { opacity:.65; }
.player-spacer { flex:1; }
.player-timeline { height:24px; display:flex; align-items:center; }
.player-timeline .seek { appearance:none; -webkit-appearance:none; width:100%; height:24px; margin:0; padding:0; background:transparent; cursor:pointer; accent-color:#c4a0ff; }
.player-timeline .seek::-webkit-slider-runnable-track { height:3px; border-radius:3px; background:linear-gradient(to right,#c6a3ff var(--played,0%),rgba(255,255,255,.32) var(--played,0%)); }
.player-timeline .seek::-moz-range-track { height:3px; border-radius:3px; background:rgba(255,255,255,.32); }
.player-timeline .seek::-moz-range-progress { height:3px; background:#c6a3ff; }
.player-timeline .seek::-webkit-slider-thumb { appearance:none; -webkit-appearance:none; width:12px; height:12px; margin-top:-4.5px; border-radius:50%; background:#fff; box-shadow:0 1px 5px #0006; }
.player-timeline .seek::-moz-range-thumb { width:12px; height:12px; border:0; border-radius:50%; background:#fff; }
.surface-play { position:absolute; inset:50% auto auto 50%; transform:translate(-50%,-50%); z-index:2; display:flex; align-items:center; justify-content:center; width:60px; height:60px; border-radius:50%; background:rgb(15 9 23 / 55%); backdrop-filter:blur(8px); color:white; cursor:pointer; }
.surface-play svg { width:28px; height:28px; }
.learning-player[data-playback-state=playing] .surface-play,.learning-player[data-playback-state=buffering] .surface-play,.learning-player[data-playback-state=loading] .surface-play,.learning-player.preview-finished .surface-play { display:none; }
.video-learning-player.controls-hidden .player-chrome { opacity:0; pointer-events:none; }
.video-learning-player.controls-hidden .video-player { cursor:none; }
.learning-player .playback-status { position:absolute; top:12px; left:12px; right:12px; width:fit-content; max-width:calc(100% - 24px); color:white; padding:6px 10px; background:rgb(0 0 0 / 70%); border-radius:8px; font-size:12px; z-index:4; }
.learning-player .playback-status:empty { display:none; }
.learning-player .audio-stage { display:block; padding:24px 20px 8px; }
.audio-artwork { display:flex; align-items:center; justify-content:center; gap:24px; }
.audio-artwork .cover { flex-shrink:0; margin:0; }
.audio-artwork .audio-info { min-width:0; }
.audio-artwork .audio-info h3 { font-size:18px; }
.learning-player .audio-stage .player-chrome { position:relative; padding:8px 0 0; background:none; }
.player-transport { display:flex; justify-content:center; align-items:center; gap:24px; margin:10px 0; }
.player-transport .play-large { width:64px; height:64px; padding:18px; background:white; color:#302043; box-shadow:0 5px 25px #0002; }
.player-skip { position:relative; width:48px; height:48px; }
.player-skip svg { width:28px; height:28px; }
.player-skip span { position:absolute; top:20px; font-size:9px; font-weight:700; }
.caption-overlay { position:absolute; bottom:98px; left:50%; transform:translateX(-50%); width:max-content; max-width:90%; padding:5px 10px; border-radius:5px; color:#fff; background:rgb(0 0 0 / 78%); font:500 clamp(16px,2vw,23px)/1.45 system-ui,sans-serif; text-align:center; white-space:pre-line; pointer-events:none; overflow-wrap:anywhere; z-index:2; transition:bottom .2s; }
.caption-overlay:empty { display:none; }
.controls-hidden .caption-overlay { bottom:20px; }
[data-caption-size=large] .caption-overlay { font-size:clamp(21px,3vw,32px); }
.audio-stage .caption-overlay { top:12px; bottom:auto; }
.player-panel { position:absolute; inset:0; z-index:8; border-radius:inherit; overflow:hidden; }
.player-panel[hidden] { display:none; }
.player-panel-scrim { position:absolute; inset:0; background:rgb(0 0 0 / 45%); }
.player-sheet { position:absolute; bottom:0; left:0; right:0; padding:8px 16px 16px; background:#231a30; color:white; border-radius:16px 16px 0 0; box-shadow:0 -10px 35px #0004; max-height:100%; overflow:auto; overscroll-behavior:contain; }
.player-sheet header { display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:14px; }
.player-sheet header .player-icon { margin-right:-8px; }
.player-rate-options { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:6px; margin-top:8px; }
.player-rate-options button { min-height:44px; min-width:44px; padding:6px 2px; background:#ffffff0d; color:#ddd1ec; border:1px solid #ffffff12; border-radius:9px; font-size:13px; cursor:pointer; }
.player-rate-options button[aria-pressed=true] { background:#c9a5ff; color:#241232; border-color:#c9a5ff; font-weight:750; }
.player-sheet label { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:8px; font-size:13px; }
.player-sheet select { max-width:65%; min-height:44px; color:white; border:1px solid #ffffff25; background:#352642; border-radius:9px; padding:8px 12px; font-size:13px; }
.preview-notice { display:flex; flex-wrap:wrap; gap:10px 16px; align-items:center; padding:16px; background:var(--lavender); border-radius:12px; margin-bottom:12px; }
.preview-notice span { flex:1 1 200px; font-size:13px; }
.preview-notice .btn { font-size:13px; }
.preview-ended { position:absolute; inset:0; z-index:5; display:flex; flex-wrap:wrap; justify-content:center; align-content:center; gap:10px; padding:24px; background:rgb(24 15 36 / 96%); color:white; text-align:center; overflow:auto; }
.preview-ended[hidden] { display:none; }
.preview-ended h2,.preview-ended p { flex-basis:100%; margin:0 0 8px; }
.preview-ended .btn { min-height:44px; }
.player-expanded { overflow:hidden; }
.learning-player:fullscreen,.learning-player.page-fullscreen { display:flex; flex-direction:column; justify-content:center; width:100%; height:100%; margin:0; border-radius:0; background:#110d17; }
.learning-player.page-fullscreen { position:fixed; inset:0; z-index:1000; height:100dvh; }
.learning-player:fullscreen .media-stage,.learning-player.page-fullscreen .media-stage { width:100%; height:100%; border-radius:0; display:flex; align-items:center; justify-content:center; }
.learning-player:fullscreen .video-player,.learning-player.page-fullscreen .video-player { height:100%; max-height:100%; object-fit:contain; }
.learning-player:fullscreen .player-chrome,.learning-player.page-fullscreen .player-chrome { padding-bottom:max(8px,env(safe-area-inset-bottom)); padding-left:max(16px,env(safe-area-inset-left)); padding-right:max(16px,env(safe-area-inset-right)); }
.learning-player:fullscreen .audio-stage,.learning-player.page-fullscreen .audio-stage { display:flex; flex-direction:column; padding:24px; }
.learning-player:fullscreen .audio-stage .player-chrome,.learning-player.page-fullscreen .audio-stage .player-chrome { width:100%; max-width:650px; }
.learning-player:fullscreen .player-sheet,.learning-player.page-fullscreen .player-sheet { max-width:560px; left:50%; transform:translateX(-50%); width:100%; padding-bottom:max(16px,env(safe-area-inset-bottom)); }
@media(max-width:600px) {
  .audio-artwork { flex-direction:column; gap:16px; text-align:center; }
  .audio-artwork .cover { width:150px; }
  .audio-artwork .audio-info h3 { font-size:16px; }
  .audio-artwork .audio-info p { font-size:12px; margin-top:5px; }
  .player-chrome { padding:24px 10px 2px; }
  .player-control-row { gap:0; }
  .preview-ended { padding:14px; }
  .preview-ended h2 { font-size:19px; }
  .preview-ended p { font-size:13px; }
  .mobile-buy { gap:8px; }
  .mobile-buy .course-start-link { min-width:0; font-size:12px; padding:10px; }
  .mobile-buy>.text-btn { font-size:12px; flex-shrink:0; }
  .lesson-row .sample { max-width:95px; white-space:normal; text-align:center; }
}
@media(prefers-reduced-motion:reduce) { .player-chrome,.caption-overlay,.player-icon,.player-rate { transition:none; } }

.preview-exit { display:none; position:absolute; right:max(12px,env(safe-area-inset-right)); top:max(12px,env(safe-area-inset-top)); }
.learning-player:fullscreen .preview-exit,.learning-player.page-fullscreen .preview-exit { display:flex; }
