.header .student-entry {
  flex: none;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 9px 15px;
  font-size: 12px;
  white-space: nowrap
}

.header .student-entry[aria-current] {
  color: var(--accent)
}

.header nav {
  min-width: 0
}

.header nav a {
  letter-spacing: .08em
}

.oc-page {
  padding-bottom: 90px
}

.oc-intro {
  max-width: 1320px
}

.oc-intro h1 {
  font-size: clamp(35px, 5vw, 64px)
}

.oc-intro>p:last-child {
  max-width: 44em
}

.oc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px
}

.oc-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fbf8f1;
  min-width: 0
}

.oc-card-cover {
  display: block
}

.oc-art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #e8e2d4;
  color: #4e5c4b
}

.oc-art:before,
.oc-art:after {
  content: '';
  position: absolute;
  border: 1px solid #a89b7b66;
  border-radius: 50%;
  width: 72%;
  aspect-ratio: 1;
  transform: translate(40%, 35%)
}

.oc-art:after {
  width: 58%;
  transform: translate(-60%, -35%)
}

.oc-art-word {
  font-family: 'Kaiti SC', 'STKaiti', serif;
  font-size: clamp(64px, 7vw, 110px);
  line-height: 1.3;
  z-index: 1
}

.oc-art small {
  font-size: 11px;
  letter-spacing: .2em;
  z-index: 1
}

.oc-art-demonstrations {
  background: #e0e5dd;
  color: #43594a
}

.oc-art-instruction {
  background: #ecdfd1;
  color: #8b4d38
}

.oc-art-free {
  background: #e6e3d8
}

.oc-card-copy {
  padding: 23px
}

.oc-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 14px
}

.oc-meta span:last-child {
  color: var(--muted)
}

.oc-card h3 {
  font-size: 23px
}

.oc-card p {
  font-size: 14px;
  color: var(--muted);
  min-height: 52px
}

.oc-card .text-link {
  display: inline-block;
  margin-top: 20px
}

.oc-free-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  background: #ece6d9;
  margin-bottom: 25px;
  border-radius: 14px
}

.oc-free-strip p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px
}

.oc-return {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 14px
}

.oc-free-banner {
  display: grid;
  grid-template-columns: 1.5fr .5fr;
  gap: 35px;
  padding: clamp(28px, 5vw, 65px);
  background: #ebe5d8;
  border: 1px solid #d8cdb8;
  border-radius: 18px;
  align-items: center
}

.oc-free-banner h2 {
  font-size: clamp(29px, 3.2vw, 46px)
}

.oc-free-banner .button {
  margin-top: 24px
}

.oc-seven {
  font-family: 'STKaiti', serif;
  font-size: 130px;
  text-align: center;
  color: #586348
}

.oc-seven span {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .4em
}

.oc-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 38px 0
}

.oc-filters a {
  border: 1px solid var(--line);
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 14px
}

.oc-filters a:hover {
  background: var(--brown);
  color: var(--paper)
}

.oc-group {
  margin: 60px 0;
  scroll-margin-top: 140px
}

.oc-group-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
  gap: 15px
}

.oc-group-head h2 {
  font-size: 32px
}

.oc-group-head>span {
  font-size: 12px;
  color: var(--muted)
}

.oc-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, .8fr);
  gap: 60px;
  align-items: start
}

.oc-detail-art .oc-art {
  max-height: 420px;
  border-radius: 16px
}

.oc-detail article>h2 {
  font-size: 28px;
  margin-top: 40px
}

.oc-detail article>p {
  color: var(--muted)
}

.oc-purchase {
  position: sticky;
  top: 135px;
  background: #eee7db;
  border: 1px solid var(--line);
  padding: 30px;
  border-radius: 16px
}

.oc-purchase h2 {
  font-size: 29px;
  margin-top: 18px
}

.oc-purchase p {
  font-size: 14px
}

.oc-purchase>.button {
  display: flex;
  width: 100%;
  margin-top: 18px;
  justify-content: center
}

.oc-purchase>.text-link {
  display: block;
  margin-top: 20px;
  text-align: center
}

.oc-status {
  font-size: 12px;
  color: var(--accent)
}

.oc-purchase button:disabled,
.oc-account-aside button:disabled {
  opacity: .55;
  cursor: default
}

.oc-empty-compact {
  border: 1px dashed #cbbda5;
  padding: 28px;
  margin-top: 18px;
  border-radius: 12px;
  text-align: center;
  color: var(--muted)
}

.oc-empty-compact>span {
  font-size: 25px
}

.oc-empty-compact p {
  margin-top: 4px
}

.oc-empty-compact small {
  font-size: 12px
}

.oc-support {
  display: flex;
  align-items: center;
  gap: 30px;
  border-top: 1px solid var(--line);
  margin-top: 65px;
  padding-top: 30px
}

.oc-support h3 {
  font-size: 22px
}

.oc-support p {
  margin: 0;
  flex: 1;
  font-size: 14px;
  color: var(--muted)
}

.oc-student-nav {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 35px
}

.oc-student-nav a {
  padding: 12px 0
}

.oc-student-nav a[aria-current] {
  border-bottom: 2px solid var(--accent);
  color: var(--accent)
}

.oc-account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(270px, .8fr);
  gap: 30px
}

.oc-account-panel,
.oc-account-aside {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px
}

.oc-account-panel h2,
.oc-account-aside h2 {
  font-size: 28px
}

.oc-account-aside {
  background: #ece5d8
}

.oc-account-aside .button {
  margin: 25px 0 5px;
  width: 100%
}

.oc-account-aside p {
  font-size: 14px
}

.oc-empty {
  text-align: center;
  padding: 50px 15px
}

.oc-empty-symbol {
  font-size: 45px;
  color: var(--accent)
}

.oc-empty h3 {
  font-size: 23px;
  margin-top: 18px
}

.oc-empty p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 25px
}

.oc-watch-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
  gap: 25px
}

.oc-player {
  aspect-ratio: 16/9;
  background: #e8e2d7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--line)
}

.oc-play-symbol {
  font-size: 50px;
  color: var(--accent)
}

.oc-player h2 {
  font-size: 28px
}

.oc-player p {
  font-size: 14px;
  margin: 12px 0 24px
}

.oc-chapters {
  padding: 30px;
  background: #eee8dc;
  border-radius: 16px
}

.oc-chapters h2 {
  font-size: 25px
}

.oc-chapters p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 25px
}

.oc-watch-notes {
  margin-top: 28px
}

.oc-watch-notes p {
  font-size: 14px
}

.oc-learning-switch {
  display: flex;
  gap: 10px;
  margin-top: 25px
}

.oc-learning-switch a {
  padding: 10px 22px;
  border: 1px solid var(--line);
  border-radius: 25px;
  font-size: 14px
}

.oc-learning-switch [aria-current] {
  background: var(--brown);
  color: var(--paper)
}

@media(min-width:1001px) {
  .header {
    gap: 12px;
    padding-inline: 24px
  }

  .header .brand small {
    letter-spacing: 0
  }

  .header nav {
    flex: 1;
    max-width: 950px
  }

  .header nav a {
    font-size: clamp(11px, .9vw, 15px);
    padding-inline: 5px
  }

  .header .brand b {
    font-size: 27px
  }

  .header nav {
    grid-template-columns: repeat(8, minmax(0, 1fr))
  }
}

@media(max-width:1000px) {
  .header .student-entry {
    position: absolute;
    right: 18px;
    top: 14px
  }

  .header .brand-area {
    padding-right: 115px
  }

  .header nav {
    grid-template-columns: repeat(8, minmax(76px, 1fr))
  }

  .oc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .oc-detail {
    gap: 28px;
    grid-template-columns: 1.3fr 1fr
  }

  .oc-account-grid {
    grid-template-columns: 1.3fr 1fr
  }
}

@media(max-width:700px) {

  .oc-grid,
  .oc-detail,
  .oc-account-grid,
  .oc-watch-grid {
    grid-template-columns: 1fr
  }

  .oc-purchase {
    position: static;
    grid-row: 1
  }

  .oc-detail-art {
    display: none
  }

  .oc-free-banner {
    grid-template-columns: 1fr
  }

  .oc-seven {
    display: none
  }

  .oc-free-strip,
  .oc-support {
    display: block
  }

  .oc-free-strip .button,
  .oc-support .button {
    margin-top: 20px
  }

  .oc-return {
    flex-wrap: wrap;
    text-align: center
  }

  .oc-group-head {
    display: block
  }

  .oc-group-head>span {
    display: block;
    margin-top: 8px
  }

  .oc-card h3 {
    font-size: 25px
  }

  .oc-art {
    aspect-ratio: 2/1
  }

  .oc-art-word {
    font-size: 85px
  }

  .oc-account-aside {
    grid-row: 1
  }

  .oc-player {
    aspect-ratio: auto;
    min-height: 320px
  }

  .oc-page {
    padding-bottom: 55px
  }

  .oc-student-nav {
    gap: 20px;
    font-size: 14px
  }

  .oc-support p {
    margin-top: 10px
  }

  .oc-filters {
    gap: 8px
  }

  .oc-filters a {
    padding: 8px 15px
  }

  .header .student-entry {
    font-size: 11px;
    padding: 7px 12px
  }
}

@media(max-width:1000px) {
  .header nav {
    grid-template-columns: repeat(8, minmax(108px, 1fr))
  }

  .header nav a {
    font-size: 12px;
    letter-spacing: .1em;
    white-space: nowrap
  }
}
