@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap");
:root {
  --ink: #101114;
  --sub: #6d7078;
  --paper: #f7f7f5;
  --white: #fff;
  --blue: #146bff;
  --blue2: #0049c9;
  --pink: #ff557b;
  --lime: #c8f051;
  --line: #e4e5e7;
  --soft: #eff3f8;
  --shadow: 0 24px 70px rgba(15, 31, 54, 0.11);
  --radius: 22px;
}

/* K-Mate service gateway */
.kmate-portal {
  min-height: 100svh;
  padding: clamp(22px, 3.5vw, 54px);
  overflow: hidden;
  background:
    radial-gradient(circle at 4% 4%, rgba(42, 111, 255, 0.18), transparent 29%),
    radial-gradient(circle at 96% 94%, rgba(255, 93, 137, 0.14), transparent 30%),
    #f6f8fc;
  color: #0c1220;
}
.portal-head {
  width: min(100%, 1520px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.portal-head > p {
  margin: 0;
  color: #6c7484;
  font-weight: 600;
}
.portal-head-tools { display: flex; align-items: center; gap: 18px; }
.portal-head-tools > p { margin: 0; color: #6c7484; font-weight: 600; }
.portal-language {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid #dce4f1;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  color: #455065;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(23, 48, 91, .08);
}
.portal-language select { border: 0; outline: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.portal-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  text-decoration: none;
}
.portal-brand > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: #146bff;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(20, 107, 255, 0.27);
}
.portal-brand div { display: grid; gap: 2px; }
.portal-brand b { font-size: 24px; letter-spacing: -.04em; }
.portal-brand small { color: #176cff; font-size: 9px; font-weight: 900; letter-spacing: .19em; }
.portal-intro {
  width: min(100%, 1520px);
  margin: clamp(48px, 7vh, 86px) auto clamp(32px, 5vh, 52px);
  text-align: center;
}
.portal-intro small {
  color: #176cff;
  font-weight: 900;
  letter-spacing: .2em;
}
.portal-intro h1 {
  margin: 16px 0;
  font-size: clamp(42px, 5.6vw, 78px);
  line-height: .98;
  letter-spacing: -.065em;
}
.portal-intro p {
  width: min(100%, 700px);
  margin: 0 auto;
  color: #697286;
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.7;
}
.portal-choices {
  width: min(100%, 1520px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 34px);
}
.portal-card {
  position: relative;
  min-height: clamp(390px, 48vh, 570px);
  overflow: hidden;
  border: 0;
  border-radius: clamp(24px, 3vw, 38px);
  background: #141b2a;
  color: #fff;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 28px 74px rgba(16, 31, 62, .16);
  isolation: isolate;
  transition: transform .35s ease, box-shadow .35s ease;
}
.portal-card:hover,
.portal-card:focus-visible {
  transform: translateY(-8px);
  box-shadow: 0 34px 90px rgba(16, 31, 62, .25);
}
.portal-card:focus-visible { outline: 4px solid #8bb8ff; outline-offset: 5px; }
.portal-card > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}
.portal-azit-gallery {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: grid;
  grid-template-columns: 52% 48%;
  overflow: hidden;
  background: #111a2d;
}
.portal-azit-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.portal-azit-gallery img:first-child { object-position: 49% center; }
.portal-azit-gallery img:last-child { object-position: 64% center; border-left: 2px solid rgba(255,255,255,.42); }
.portal-card:hover .portal-azit-gallery img:first-child { transform: scale(1.045) translateX(-1%); }
.portal-card:hover .portal-azit-gallery img:last-child { transform: scale(1.045) translateX(1%); }
.portal-card:hover > img { transform: scale(1.045); }
.portal-card-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 13, 27, .02) 18%, rgba(5, 13, 27, .87) 88%);
}
.portal-azit .portal-card-shade {
  background: linear-gradient(180deg, rgba(11, 21, 49, .06) 14%, rgba(12, 38, 86, .92) 91%);
}
.portal-home .portal-card-shade {
  background: linear-gradient(180deg, rgba(20, 14, 9, .03) 12%, rgba(48, 24, 15, .88) 91%);
}
.portal-card-copy {
  position: absolute;
  right: clamp(24px, 4vw, 54px);
  bottom: clamp(25px, 4vw, 50px);
  left: clamp(24px, 4vw, 54px);
}
.portal-card-copy small { color: #bcd4ff; font-weight: 900; letter-spacing: .16em; }
.portal-home .portal-card-copy small { color: #ffe0bd; }
.portal-card-copy h2 { margin: 9px 0 10px; font-size: clamp(31px, 3.4vw, 50px); letter-spacing: -.045em; }
.portal-card-copy p { max-width: 570px; margin: 0 0 22px; color: rgba(255,255,255,.78); font-size: clamp(14px, 1.2vw, 17px); line-height: 1.55; }
.portal-card-copy strong { display: inline-flex; align-items: center; gap: 13px; font-size: 16px; }
.portal-card-copy i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #176cff; font-style: normal; transition: transform .25s ease; }
.portal-card:hover .portal-card-copy i { transform: translateX(5px); }
.portal-footer {
  width: min(100%, 1520px);
  margin: 25px auto 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  color: #7e8798;
  font-size: 11px;
  letter-spacing: .12em;
}
.portal-footer span { color: #176cff; font-weight: 900; }
.portal-return {
  margin-left: auto;
  padding: 10px 14px;
  border: 1px solid #dce4ef;
  border-radius: 999px;
  background: #f7f9fc;
  color: #4f596b;
  font-weight: 800;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .kmate-portal { padding: 20px 16px 28px; }
  .portal-head > p, .portal-head-tools > p { display: none; }
  .portal-head-tools { margin-left: auto; }
  .portal-language > span { display: none; }
  .portal-intro { margin: 45px auto 30px; text-align: left; }
  .portal-intro h1 { font-size: clamp(42px, 14vw, 62px); }
  .portal-intro p { margin: 0; }
  .portal-choices { grid-template-columns: 1fr; }
  .portal-card { min-height: 390px; }
  .portal-azit-gallery { grid-template-columns: 1fr; grid-template-rows: 54% 46%; }
  .portal-azit-gallery img:last-child { border-top: 2px solid rgba(255,255,255,.42); border-left: 0; }
  .portal-footer { flex-direction: column; align-items: center; }
  .portal-return { padding: 9px 11px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .portal-card,
  .portal-card > img,
  .portal-azit-gallery img,
  .portal-card-copy i { transition: none; }
}

/* Learning path: vocabulary -> sentence practice -> ten-question check */
.learn-week .korean-original {
  display: block;
  margin-top: 8px;
  color: #6b7280;
  font-size: 13px;
}
.learn-word-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.learn-word-grid article {
  border: 1px solid #e2e5ea;
  border-radius: 20px;
  padding: 20px;
  background: #fff;
}
.learn-word-grid article > span {
  color: #1769ff;
  font-weight: 800;
}
.learn-word-grid h3 {
  font-size: 24px;
  margin: 12px 0 6px;
}
.learn-word-grid p {
  color: #70747e;
  min-height: 42px;
}
.learn-word-grid strong {
  display: block;
  color: #111827;
  font-size: 17px;
  line-height: 1.45;
  min-height: 48px;
}
.learn-word-grid dl {
  margin: 14px 0;
  display: grid;
  gap: 10px;
}
.learn-word-grid dl div {
  padding-top: 10px;
  border-top: 1px solid #edf0f4;
}
.learn-word-grid dt {
  color: #1769ff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.learn-word-grid dd {
  margin: 4px 0 0;
  color: #5f6470;
  font-size: 13px;
  line-height: 1.45;
}
.learn-word-grid button,
.quiz-listen {
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  background: #edf4ff;
  color: #1769ff;
  font-weight: 750;
}
.culture-explainer {
  margin: 18px 0 28px;
  padding: 24px 26px;
  border: 1px solid #cfe1ff;
  border-radius: 22px;
  background: linear-gradient(135deg, #f3f8ff, #fffdf4);
}
.culture-explainer span {
  color: #1769ff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
}
.culture-explainer h2 {
  margin: 8px 0 8px;
  font-size: 24px;
}
.culture-explainer p {
  margin: 0;
  max-width: 880px;
  color: #4d5563;
  line-height: 1.7;
}
.sentence-meaning {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px 18px;
  margin-bottom: 30px;
  padding: 22px 24px;
  border-radius: 20px;
  background: #eef5ff;
}
.sentence-meaning small {
  color: #1769ff;
  font-weight: 850;
}
.sentence-meaning b {
  grid-column: 1;
  font-size: 24px;
}
.sentence-meaning span {
  grid-column: 1;
  color: #5f6470;
  font-size: 17px;
}
.sentence-meaning button {
  grid-column: 2;
  grid-row: 1 / span 3;
  border: 0;
  border-radius: 14px;
  padding: 14px 18px;
  background: #1769ff;
  color: #fff;
  font-weight: 800;
}
.sentence-pattern {
  display: none;
}
.sentence-head {
  margin-top: 36px;
}
.learn-test-brief {
  margin-top: 28px;
  padding: 20px;
  border-radius: 18px;
  background: #111827;
  color: white;
  display: grid;
  gap: 7px;
}
.learn-test-brief small {
  color: #87b0ff;
  font-weight: 800;
}
.learn-test-brief b {
  font-size: 22px;
}
.learn-test-brief p {
  margin: 0;
  color: #cbd5e1;
}
.learn-lesson-hero em {
  display: block;
  margin-top: 12px;
  color: #4b5563;
  font-style: normal;
}
.learn-stage-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 18px;
}
.learn-stage-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 12px 14px;
  border: 1px solid #dfe4ec;
  border-radius: 16px;
  background: #fff;
  color: #5f6470;
  text-align: left;
}
.learn-stage-nav button span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  background: #edf1f7;
  font-weight: 850;
}
.learn-stage-nav button.active {
  border-color: #1769ff;
  color: #1769ff;
  box-shadow: 0 8px 24px #1769ff18;
}
.learn-stage-nav button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  box-shadow: none;
}
.learn-stage-nav button.active span,
.learn-stage-nav button.done span {
  background: #1769ff;
  color: #fff;
}
.learn-stage > header {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #edf0f4;
}
.learn-stage > header small {
  color: #1769ff;
  font-weight: 850;
  letter-spacing: 0.08em;
}
.learn-stage > header h2 {
  margin: 8px 0 5px;
  font-size: clamp(25px, 3vw, 38px);
}
.learn-stage > header p {
  margin: 0;
  color: #687080;
}
.learn-stage-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #edf0f4;
}
.learn-stage-controls button {
  min-height: 48px;
  padding: 11px 18px;
  border: 1px solid #dfe4ec;
  border-radius: 14px;
  background: #fff;
  font-weight: 800;
}
.learn-stage-controls button.primary {
  border-color: #1769ff;
  background: #1769ff;
  color: #fff;
  box-shadow: 0 9px 22px rgba(23, 105, 255, 0.2);
}
.learn-review {
  margin: 24px auto;
  max-width: 1120px;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid #e2e6ed;
  border-radius: 28px;
  background: #fff;
}
.learn-review > header small {
  color: #1769ff;
  font-weight: 850;
  letter-spacing: 0.08em;
}
.learn-review > header h2 {
  margin: 8px 0 24px;
  font-size: clamp(26px, 3vw, 40px);
}
.learn-review > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.learn-review-item {
  padding: 20px;
  border: 1px solid #e3e7ee;
  border-radius: 18px;
  background: #fafbfc;
}
.learn-review-item.correct {
  border-color: #bce6c8;
  background: #f4fcf6;
}
.learn-review-item.wrong {
  border-color: #ffd0c7;
  background: #fff8f6;
}
.learn-review-item header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.learn-review-item header > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #11141a;
  color: #fff;
  font-weight: 900;
}
.learn-review-item header small,
.learn-review-item p small {
  display: block;
  margin-bottom: 3px;
  color: #737b89;
  font-size: 12px;
  font-weight: 800;
}
.learn-review-item p {
  margin: 10px 0 0;
}
.learn-review-item .explanation {
  padding: 12px;
  border-radius: 12px;
  background: #eef4ff;
  line-height: 1.55;
}
.quiz-listen {
  margin: 8px 0 14px;
}
@media (max-width: 720px) {
  .learn-word-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .learn-stage-nav {
    grid-template-columns: 1fr;
  }
  .learn-stage-nav button {
    min-height: 52px;
  }
  .learn-review > div {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .learn-word-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .culture-explainer {
    padding: 19px;
  }
  .culture-explainer h2 {
    font-size: 20px;
  }
}
@media (max-width: 600px) {
  .sentence-meaning {
    grid-template-columns: 1fr;
  }
  .sentence-meaning button {
    grid-column: 1;
    grid-row: auto;
  }
}
* {
  box-sizing: border-box;
}
html {
  background: var(--paper);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", "Noto Sans KR", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
.top {
  height: 70px;
  padding: 0 clamp(22px, 4vw, 64px);
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(247, 247, 245, 0.88);
  border-bottom: 1px solid rgba(16, 17, 20, 0.07);
  backdrop-filter: blur(18px);
  position: relative;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 21px;
  letter-spacing: -0.04em;
}
.brand span {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 11px;
  background: var(--blue);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(20, 107, 255, 0.24);
  transform: rotate(-3deg);
}
.season {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.season small,
.kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.19em;
  color: var(--blue);
}
.season strong {
  font-size: 12px;
  color: #85878d;
  font-weight: 500;
  margin-top: 3px;
}
.room-chip {
  margin-left: auto;
  padding: 8px 13px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}
.room-chip i,
.entry-note i {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #35c477;
  border-radius: 50%;
  margin-right: 7px;
}
.about-menu {
  border: 0;
  background: transparent;
  color: #4f5561;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
}
.about-menu:hover {
  color: var(--blue);
}
.site-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px 14px;
  margin-top: 52px;
  color: #858a94;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.site-credit a {
  color: #111827;
  text-decoration: none;
}
.about-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(9, 16, 30, 0.56);
  backdrop-filter: blur(10px);
}
.about-panel {
  position: relative;
  width: min(620px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  padding: clamp(28px, 5vw, 54px);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.25);
}
.about-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #f0f2f5;
  font-size: 25px;
  cursor: pointer;
}
.about-panel > small {
  color: var(--blue);
  font-weight: 850;
  letter-spacing: 0.18em;
}
.about-panel h1 {
  margin: 18px 0 14px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: balance;
}
.about-panel > p {
  color: #646a75;
  font-size: 17px;
  line-height: 1.7;
}
.about-panel ul {
  display: grid;
  gap: 10px;
  margin: 25px 0;
  padding: 0;
  list-style: none;
}
.about-panel li {
  padding: 14px 16px;
  border-radius: 14px;
  background: #f5f7fa;
  font-weight: 700;
}
.about-panel li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--blue);
}
.about-maker {
  margin-top: 28px;
  padding: 23px;
  border-radius: 20px;
  background: #10141e;
  color: #fff;
}
.about-maker span {
  display: block;
  color: #8fb5ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.about-maker b {
  display: block;
  margin-top: 7px;
  font-size: 25px;
  letter-spacing: 0.02em;
}
.about-maker p {
  margin: 9px 0 17px;
  color: #c7ccd5;
  line-height: 1.55;
}
.about-maker a {
  display: inline-flex;
  padding: 11px 15px;
  border-radius: 11px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}
@media (max-width: 720px) {
  .about-menu {
    order: 4;
    margin-left: auto;
  }
  .global-language {
    margin-left: 0 !important;
  }
  .room-chip {
    display: none;
  }
  .about-panel {
    border-radius: 24px;
  }
}
.landing {
  max-width: 1440px;
  margin: auto;
  padding: clamp(28px, 5vw, 76px) clamp(20px, 5vw, 74px) 80px;
}
.hero {
  min-height: 535px;
  display: grid;
  grid-template-columns: minmax(420px, 0.78fr) minmax(480px, 1.22fr);
  align-items: center;
  gap: clamp(30px, 6vw, 90px);
}
.hero-copy {
  padding-bottom: 30px;
}
.hero h1,
.login h1 {
  font-size: clamp(54px, 6vw, 91px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  margin: 18px 0 28px;
  font-weight: 600;
}
.hero h1 em {
  font-style: normal;
  color: var(--blue);
}
.hero-copy > p:not(.kicker) {
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.65;
  letter-spacing: -0.025em;
  color: #414349;
  margin: 0;
}
.feature-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.feature-row span {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  padding: 9px 13px;
  border-radius: 999px;
  color: #4d5057;
  font-size: 12px;
  font-weight: 600;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot.blue {
  background: var(--blue);
}
.dot.pink {
  background: var(--pink);
}
.dot.lime {
  background: #8fc500;
}
.culture-collage {
  height: 455px;
  position: relative;
}
.tile {
  position: absolute;
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  background: #ddd;
  box-shadow: var(--shadow);
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.tile:hover img {
  transform: scale(1.035);
}
.tile-main {
  inset: 0 12% 4% 0;
}
.tile-main:after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.62));
}
.tile figcaption {
  position: absolute;
  z-index: 1;
  color: #fff;
}
.tile-main figcaption {
  left: 25px;
  bottom: 23px;
  display: grid;
  gap: 4px;
}
.tile-main figcaption span {
  font-size: 10px;
  letter-spacing: 0.16em;
}
.tile-main figcaption b {
  font-size: 23px;
}
.tile-cafe {
  width: 32%;
  height: 43%;
  right: 0;
  top: 7%;
  border: 7px solid var(--paper);
  border-radius: 23px;
}
.tile-cafe figcaption {
  bottom: 12px;
  left: 12px;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(8px);
  padding: 7px 10px;
  border-radius: 20px;
  font-size: 11px;
}
.word-card {
  position: absolute;
  right: 2%;
  bottom: 4%;
  width: 43%;
  padding: 21px 22px;
  background: #fff;
  border-radius: 21px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 5px;
}
.word-card small {
  color: var(--blue);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.12em;
}
.word-card strong {
  font-size: 28px;
  letter-spacing: -0.04em;
}
.word-card span {
  font-size: 12px;
  color: var(--sub);
}
.mate-bubble {
  position: absolute;
  right: 4%;
  top: 54%;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--lime);
  display: grid;
  place-content: center;
  text-align: center;
  transform: rotate(5deg);
  box-shadow: 0 15px 35px rgba(96, 126, 0, 0.2);
}
.mate-bubble b {
  font-size: 25px;
  line-height: 1;
}
.mate-bubble span {
  font-size: 9px;
  margin-top: 3px;
}
.entry-wrap {
  max-width: 1080px;
  margin: 20px auto 0;
}
.entry-intro {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px 5px;
}
.entry-intro .step {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
}
.entry-intro div {
  display: grid;
}
.entry-intro b {
  font-size: 15px;
}
.entry-intro small {
  color: var(--sub);
  margin-top: 2px;
}
.entry {
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px 28px 27px;
  border-radius: var(--radius);
  box-shadow: 0 15px 45px rgba(15, 31, 54, 0.07);
}
.tabs {
  display: flex;
  width: max-content;
  gap: 24px;
  margin-bottom: 3px;
}
.tabs button,
.tabs a {
  padding: 14px 1px 11px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: #96989d;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}
.tabs .active {
  color: var(--ink);
  border-color: var(--blue);
}
.entry form {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 13px 16px;
  align-items: end;
}
.form-row {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: 13px;
}
.entry form .form-row {
  grid-column: 1/2;
}
.entry form > label {
  grid-column: 2/3;
  grid-row: 1;
}
.entry .primary {
  grid-column: 1/3;
}
.entry label,
.login label {
  display: block;
  margin: 11px 0 0;
  font-size: 9px;
  letter-spacing: 0.11em;
  color: #767980;
  font-weight: 700;
}
.entry input,
.entry select,
.login input {
  width: 100%;
  height: 48px;
  margin-top: 7px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafafa;
  color: var(--ink);
  outline: 0;
  transition: 0.2s;
}
.entry input:focus,
.entry select:focus,
.login input:focus {
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(20, 107, 255, 0.1);
}
.primary {
  height: 53px;
  border: 0;
  border-radius: 13px;
  background: var(--blue);
  color: white;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 9px 22px rgba(20, 107, 255, 0.21);
  transition: 0.2s;
}
.primary:hover {
  background: var(--blue2);
  transform: translateY(-1px);
}
.entry .primary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 18px;
}
.entry .primary b {
  font-size: 19px;
}
.entry-note {
  text-align: center;
  color: #868990;
  font-size: 10px;
  margin: 12px;
}
.login {
  min-height: calc(100vh - 70px);
  display: grid;
  place-items: center;
  padding: 30px;
  background: radial-gradient(circle at 50% 0, #e8f0ff, transparent 42%);
}
.login > section {
  width: min(480px, 92vw);
  background: #fff;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
}
.login h1 {
  font-size: 48px;
  margin: 18px 0;
}
.login p {
  color: var(--sub);
  line-height: 1.6;
}
.login .primary {
  width: 100%;
  margin-top: 22px;
}
.quiet-link {
  display: block;
  text-align: center;
  margin-top: 18px;
  color: var(--blue);
  font-size: 12px;
}
.admin-grid {
  height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr) 260px;
  background: #f2f3f5;
}
.mobile-admin-nav {
  display: none;
}
@media (min-width: 1200px) {
  .admin-grid {
    grid-template-columns: 245px minmax(0, 1fr) 350px;
  }
}
.admin-side,
.roster {
  padding: 24px;
  background: #fff;
  overflow: auto;
}
.admin-side {
  border-right: 1px solid var(--line);
}
.roster {
  border-left: 1px solid var(--line);
}
.week-list,
.host-actions {
  display: grid;
  gap: 6px;
  margin: 18px 0;
}
.week-list button,
.host-actions button {
  border: 0;
  background: #f4f5f7;
  padding: 12px;
  text-align: left;
  border-radius: 10px;
  color: #64676e;
  font-size: 12px;
}
.week-list button span {
  margin-right: 10px;
  color: var(--blue);
  font-weight: 800;
}
.week-list .active,
.host-actions .active {
  background: var(--ink);
  color: #fff;
}
.admin-side label {
  font-size: 11px;
  font-weight: 700;
}
.admin-side select {
  width: 100%;
  padding: 11px;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.stage {
  padding: 27px;
  overflow: auto;
}
.stage-head,
.dock-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.stage-head h1 {
  font-size: 32px;
  letter-spacing: -0.04em;
  margin: 5px 0 20px;
}
.live {
  margin-left: auto;
  padding: 8px 12px;
  background: #e8fff2;
  color: #178553;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}
.media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #d9dde1;
}
.media img {
  width: 100%;
  height: clamp(250px, 40vh, 500px);
  display: block;
  object-fit: cover;
}
.media > span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(5px);
  color: #fff;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 9px;
}
.mission-card,
.culture-copy {
  margin-top: -26px;
  position: relative;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 15px 50px rgba(20, 31, 45, 0.12);
}
.mission-card h2 {
  margin: 8px 0 18px;
  letter-spacing: -0.025em;
}
.sentence {
  display: grid;
  gap: 6px;
  padding: 17px 18px;
  border-radius: 12px;
  background: #f3f7ff;
}
.sentence b {
  font-size: 22px;
  letter-spacing: -0.02em;
}
.sentence span {
  color: var(--sub);
}
.person {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.avatar {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 13px;
  background: #dce9ff;
  color: var(--blue);
  font-weight: 800;
}
.person div:nth-child(2) {
  display: grid;
}
.person small {
  color: #92959b;
  font-size: 10px;
}
.online {
  margin-left: auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35c477;
}
.online.away {
  background: #b9bcc3;
}
.person .kick {
  margin-left: 4px;
  width: 25px;
  height: 25px;
  border: 0;
  border-radius: 8px;
  background: #f4f5f7;
  color: #8a8d94;
  cursor: pointer;
}
.share {
  margin-top: 22px;
  padding: 13px;
  background: #f4f5f7;
  border-radius: 10px;
}
.share code {
  display: block;
  margin-top: 7px;
  overflow-wrap: anywhere;
  font-size: 10px;
}
.play-grid {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, 0.45fr);
  gap: 14px;
  padding: 14px;
  max-width: 1600px;
  margin: auto;
}
.culture-stage {
  min-width: 0;
}
.progress {
  display: flex;
  justify-content: space-between;
  padding: 10px 4px;
  font-size: 11px;
}
.progress b {
  color: var(--blue);
}
.culture-copy h1 {
  font-size: 36px;
  letter-spacing: -0.04em;
  margin: 5px 0;
}
.culture-copy > p {
  color: #565960;
  line-height: 1.6;
}
.listen {
  justify-self: start;
  background: var(--blue);
  color: #fff;
  border: 0;
  padding: 9px 12px;
  border-radius: 8px;
}
.prompt-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.prompt-row button {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #4c4f55;
}
.social {
  display: grid;
  align-content: start;
  gap: 12px;
}
.video-dock,
.chat {
  background: #15171b;
  color: #fff;
  border-radius: 17px;
  padding: 15px;
}
.dock-head button {
  background: #fff;
  color: #15171b;
  border: 0;
  border-radius: 8px;
  padding: 8px;
}
.media-controls {
  display: flex;
  gap: 7px;
  margin-top: 12px;
}
.media-controls button {
  flex: 1;
  min-height: 36px;
  border: 1px solid #3b414b;
  border-radius: 9px;
  background: #242830;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.media-controls button[aria-pressed="false"] {
  color: #ff9aab;
}
.reliable-video {
  width: 100%;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid #3f76d4;
  border-radius: 9px;
  background: #edf4ff;
  color: #1659bd;
  font-weight: 900;
}
.device-check {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.device-check button {
  min-height: 35px;
  padding: 8px 10px;
  border: 1px solid #d7dfeb;
  border-radius: 9px;
  background: #fff;
  color: #1f2937;
  font-weight: 850;
  cursor: pointer;
}
.device-check small {
  color: #858b95;
  font-size: 9px;
  line-height: 1.35;
}
.device-check small.ok {
  color: #168451;
  font-weight: 800;
}
.device-check small.error {
  color: #c43c4d;
  font-weight: 800;
}
.connection-readiness {
  display: block;
  margin-top: 7px;
  padding: 7px 9px;
  border-radius: 8px;
  font-size: 9px;
  line-height: 1.4;
}
.connection-readiness.ready {
  background: #e9fbf2;
  color: #137548;
}
.connection-readiness.caution {
  background: #fff6df;
  color: #865f08;
}
.video-fallback-help {
  display: block;
  margin-top: 6px;
  color: #858b95;
  font-size: 9px;
  line-height: 1.4;
}
.conference-dialog {
  position: fixed;
  inset: 82px 14px auto auto;
  width: 432px;
  height: min(430px, calc(52vh - 12px));
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #15171b;
  color: #fff;
  box-shadow: 0 18px 55px rgba(16, 24, 40, 0.22);
  z-index: 1200;
}
.conference-dialog::backdrop {
  background: transparent;
}
.conference-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  padding: 0 20px;
  background: #fff;
  color: #111;
}
.conference-head div {
  display: grid;
  gap: 3px;
}
.conference-head small {
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0.12em;
}
.conference-head button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f0f2f5;
  font-size: 24px;
}
.conference-actions {
  display: flex;
  gap: 7px;
}
.conference-dialog.minimized {
  inset: auto 18px 18px auto;
  width: 310px;
  height: 66px;
}
.conference-dialog.minimized #jitsi-meet {
  visibility: hidden;
}
#jitsi-meet {
  height: calc(100% - 66px);
}
@media (min-width: 961px) {
  body.conference-open .admin-grid {
    grid-template-columns: 245px minmax(0, 1fr) 460px;
  }
  body.conference-open .admin-grid .roster {
    padding-top: 440px;
  }
  body.conference-open .play-grid {
    grid-template-columns: minmax(0, 1fr) 460px;
  }
  body.conference-open .play-grid .social {
    padding-top: 430px;
  }
  body.conference-open .video-dock {
    display: none;
  }
}
.conference-loading,
.conference-error {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  height: 100%;
  text-align: center;
}
.conference-error a {
  color: #8bb7ff;
}
.call-status {
  margin-left: 7px;
  color: #8b9098;
  font-size: 9px;
  font-style: normal;
}
.call-status.connected {
  color: #54d694;
}
.call-status.connecting {
  color: #ffd166;
}
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.self-video,
.remote-seat {
  aspect-ratio: 4/3;
  background: #262a31;
  border-radius: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.self-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.remote-seat video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.self-video span,
.remote-seat span {
  position: absolute;
  bottom: 6px;
  left: 7px;
  background: rgba(0, 0, 0, 0.55);
  padding: 4px 6px;
  border-radius: 5px;
  font-size: 10px;
}
.remote-seat small {
  color: #7e828a;
  font-size: 9px;
}
.score {
  margin-left: auto;
  padding: 4px 7px;
  border-radius: 99px;
  background: #edf4ff;
  color: var(--blue);
  font-size: 9px;
}
.leaderboard {
  margin-top: 18px;
  padding: 14px;
  border-radius: 14px;
  background: #f5f7fa;
}
.leaderboard > small {
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0.1em;
}
.leaderboard p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 9px 0 0;
  font-size: 11px;
}
.leaderboard p b {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
}
.leaderboard p span {
  flex: 1;
}
.leaderboard p strong {
  color: var(--blue);
}
.close-room {
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid #f1c9ce;
  border-radius: 10px;
  background: #fff6f7;
  color: #b53d4f;
}
.avatar.big {
  width: 50px;
  height: 50px;
  border-radius: 16px;
}
.privacy {
  font-size: 9px;
  color: #7d8189;
  line-height: 1.4;
}
.messages {
  height: 200px;
  overflow: auto;
  margin: 10px 0;
}
.messages p {
  margin: 7px 0;
  background: #25282e;
  padding: 9px;
  border-radius: 9px;
  font-size: 12px;
}
.messages b {
  display: block;
  color: #8cb5ff;
  font-size: 9px;
  margin-bottom: 2px;
}
.chat form {
  display: flex;
  gap: 6px;
}
.chat form input {
  flex: 1;
  width: auto;
  min-width: 0;
  padding: 10px;
  border: 0;
  border-radius: 8px;
}
.chat form button {
  min-width: 62px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  padding: 0 12px;
  white-space: nowrap;
}
.empty {
  color: #8c8f96;
  font-size: 11px;
}
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-copy {
    padding-bottom: 0;
  }
  .culture-collage {
    height: 420px;
  }
  .entry-wrap {
    margin-top: 45px;
  }
  .admin-grid {
    display: block;
    height: auto;
  }
  .admin-side,
  .roster {
    border: 0;
  }
  .stage {
    padding: 16px;
  }
  .play-grid {
    grid-template-columns: 1fr;
  }
  .social {
    grid-row: 2;
  }
  .culture-stage {
    grid-row: 1;
  }
  .video-dock {
    max-height: 330px;
  }
  .top .season {
    display: none;
  }
}
@media (max-width: 620px) {
  .top {
    height: 62px;
    padding: 0 16px;
  }
  .brand {
    font-size: 18px;
  }
  .brand span {
    width: 32px;
    height: 32px;
  }
  .landing {
    padding: 28px 16px 55px;
  }
  .hero h1 {
    font-size: 49px;
  }
  .hero-copy > p:not(.kicker) {
    font-size: 15px;
  }
  .culture-collage {
    height: 330px;
    margin-top: 25px;
  }
  .tile-main {
    inset: 0 6% 5% 0;
  }
  .tile-cafe {
    width: 36%;
    height: 38%;
  }
  .word-card {
    width: 52%;
    padding: 15px;
  }
  .word-card strong {
    font-size: 21px;
  }
  .mate-bubble {
    width: 69px;
    height: 69px;
    right: 1%;
  }
  .entry form,
  .form-row {
    grid-template-columns: 1fr;
  }
  .entry form .form-row,
  .entry form > label,
  .entry .primary {
    grid-column: 1;
    grid-row: auto;
  }
  .entry {
    padding: 8px 18px 20px;
  }
  .entry-intro small {
    display: none;
  }
  .play-grid {
    padding: 7px;
  }
  .culture-copy {
    padding: 18px;
  }
  .culture-copy h1 {
    font-size: 29px;
  }
  .sentence b {
    font-size: 18px;
  }
  .room-chip {
    font-size: 9px;
  }
}
.host-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.host-stats span {
  display: grid;
  gap: 3px;
  padding: 11px 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--sub);
  font-size: 10px;
}
.host-stats b {
  color: var(--ink);
  font-size: 14px;
}
.answer-summary {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.answer-summary span {
  padding: 8px 10px;
  background: #f4f5f7;
  border-radius: 8px;
  font-size: 11px;
}
.reset-week {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: #777;
  font-size: 11px;
}
.action-panel {
  margin-top: 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 35px rgba(20, 31, 45, 0.06);
}
.action-panel > small {
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.12em;
}
.action-panel h2 {
  margin: 7px 0 9px;
  letter-spacing: -0.03em;
}
.action-panel > p {
  color: var(--sub);
  line-height: 1.55;
}
.lobby-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.lobby-action h2 {
  margin: 4px 0;
}
.lobby-action p {
  margin: 0;
}
.action-primary {
  min-width: 140px;
  padding: 12px 17px;
  border: 0;
  border-radius: 11px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
}
.action-primary.done {
  background: #1aaf69;
}
.culture-tip {
  margin: 17px 0;
  padding: 15px;
  border-radius: 11px;
  background: #f2f6ff;
  color: #4d5663;
  line-height: 1.55;
}
.culture-tip b {
  display: block;
  color: var(--blue);
  font-size: 9px;
  letter-spacing: 0.13em;
  margin-bottom: 4px;
}
.profile-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: end;
}
.profile-form label {
  font-size: 10px;
  font-weight: 700;
  color: #75787e;
}
.profile-form input,
.profile-form select {
  width: 100%;
  height: 43px;
  margin-top: 6px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fafafa;
}
.talk-questions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.talk-questions button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  text-align: left;
}
.talk-questions span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 15px;
}
.choice-grid button {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fafafa;
  text-align: left;
}
.choice-grid button:hover,
.choice-grid button.selected {
  border-color: var(--blue);
  background: #f0f6ff;
}
.choice-grid i {
  font-style: normal;
  font-size: 25px;
}
.choice-grid span {
  color: var(--sub);
  font-size: 10px;
}
.submitted {
  color: #168554 !important;
  font-size: 11px;
}
.expression-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.expression-list button {
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.expression-list button span {
  color: var(--blue);
  margin-right: 6px;
}
.expression-list button.saved {
  background: #edf5ff;
  border-color: #93b9ff;
}
.saved-count {
  font-size: 11px !important;
  margin-bottom: 0;
}
@media (max-width: 620px) {
  .host-stats,
  .talk-questions,
  .choice-grid,
  .profile-form {
    grid-template-columns: 1fr;
  }
  .lobby-action {
    display: grid;
  }
  .action-primary {
    width: 100%;
  }
}
.brand {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.brand.secret-tap span {
  transform: rotate(5deg) scale(0.94);
}
.operator-chip {
  margin-left: auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: #edf4ff;
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.operator-chip + .room-chip {
  margin-left: 0;
}
.hub-back {
  margin-left: auto;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 800;
  color: #333;
}
.hub-back + .room-chip {
  margin-left: 0;
}
.share-room-link {
  margin-left: 0;
  color: var(--blue);
}
.tutorial-help {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 4px 15px #1d64ff12;
}
.operator-chip ~ .tutorial-help,
.hub-back ~ .tutorial-help {
  margin-left: 0;
}
.tutorial-help + .room-chip {
  margin-left: 0;
}
.tutorial-layer {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: #0813269c;
  backdrop-filter: blur(3px);
  animation: tutorial-fade 0.2s ease;
}
.tutorial-skip {
  position: fixed;
  right: 24px;
  top: 22px;
  padding: 10px 15px;
  border: 1px solid #ffffff55;
  border-radius: 999px;
  background: #101d31;
  color: #fff;
  font-weight: 800;
}
.tutorial-pop {
  position: fixed;
  right: clamp(14px, 4vw, 48px);
  bottom: clamp(14px, 4vw, 44px);
  width: min(430px, calc(100vw - 28px));
  padding: 25px;
  border-radius: 24px;
  background: #fff;
  color: #111;
  box-shadow: 0 30px 100px #0008;
  animation: tutorial-rise 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.tutorial-pop > i {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 3px 0 15px;
  border-radius: 17px;
  background: #eaf1ff;
  font-size: 30px;
  font-style: normal;
}
.tutorial-pop > small {
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0.12em;
}
.tutorial-pop h2 {
  margin: 7px 0 9px;
  font-size: clamp(23px, 4vw, 31px);
  letter-spacing: -0.04em;
}
.tutorial-pop p {
  margin: 0;
  color: #60646d;
  line-height: 1.65;
}
.tutorial-count {
  float: right;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f1f3f6;
  color: #555;
  font-size: 12px;
  font-weight: 900;
}
.tutorial-dots {
  display: flex;
  gap: 6px;
  margin: 20px 0;
}
.tutorial-dots b {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: #d9dce2;
  transition: 0.2s;
}
.tutorial-dots b.active {
  width: 23px;
  background: var(--blue);
}
.tutorial-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.tutorial-actions button {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  font-weight: 800;
}
.tutorial-actions button.primary {
  margin-left: auto;
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}
.tutorial-actions button:disabled {
  opacity: 0.35;
}
.tutorial-focus {
  position: relative !important;
  z-index: auto !important;
  outline: none !important;
  box-shadow: none !important;
}
.tutorial-pop {
  max-height: min(76vh, 620px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.tutorial-layer ~ * {
  pointer-events: none;
}
@keyframes tutorial-fade {
  from {
    opacity: 0;
  }
}
@keyframes tutorial-rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}
.season-select {
  display: grid !important;
  gap: 6px;
}
.season-select select {
  margin: 0 !important;
  font-size: 11px;
}
.season-subtitle {
  margin: 8px 0 16px;
  color: var(--sub);
  font-size: 10px;
  line-height: 1.5;
}
.slide-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}
.slide-controls > div {
  display: flex;
  justify-content: center;
  gap: 5px;
}
.slide-controls button {
  height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: #61646a;
  font-size: 10px;
}
.slide-controls > div button {
  width: 31px;
  padding: 0;
}
.slide-controls button.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.slide-controls button:disabled {
  opacity: 0.35;
}
.material-stage {
  position: relative;
  display: grid;
  gap: 12px;
}
.material-stage .media img {
  height: clamp(260px, 45vh, 540px);
  object-fit: contain;
}
.material-card {
  position: relative;
  margin: 0;
  padding: 25px 27px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(20, 31, 45, 0.15);
  backdrop-filter: blur(14px);
}
.material-count {
  display: flex;
  justify-content: space-between;
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.game-badge {
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-style: normal;
  letter-spacing: 0.08em;
}
.kind-observe .game-badge {
  background: #7c3aed;
}
.kind-poll .game-badge {
  background: #db2777;
}
.kind-choice .game-badge {
  background: #ea580c;
}
.kind-check .game-badge {
  background: #0891b2;
}
.kind-team-choice .game-badge {
  background: #168554;
}
.kind-reflection .game-badge {
  background: #4f46e5;
}
.kind-exit .game-badge {
  background: #111827;
}
.material-card h2 {
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing: -0.04em;
  margin: 12px 0 8px;
}
.material-card p {
  margin: 0;
  color: var(--sub);
  font-size: 15px;
  line-height: 1.65;
}
.level-support {
  display: grid;
  gap: 3px;
  margin: 10px 0;
  padding: 9px 12px;
  border: 1px solid #dbe5ff;
  border-radius: 12px;
  background: #f5f8ff;
  color: #465063;
}
.level-support b {
  color: var(--blue);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.level-support span {
  font-size: 13px;
  font-weight: 750;
}
.level-support small {
  color: #70798a;
  font-size: 12px;
}
.level-support.level-intermediate {
  border-color: #d9ead5;
  background: #f5fbf3;
}
.level-support.level-intermediate b {
  color: #3b7b32;
}
.level-support.level-advanced {
  border-color: #eadccf;
  background: #fff8f2;
}
.level-support.level-advanced b {
  color: #a85e25;
}
.kind-golden-bell .material-card {
  border-top: 4px solid #f0b429;
}
.golden-badge {
  background: #fff3c4;
  color: #805900;
}
.kind-golden-bell .interactive-options button {
  border-color: #eadba1;
}
.kind-golden-bell .interactive-options button.selected {
  border-color: #f0b429;
  background: #fff8dc;
}
.answer-reveal,
.quiz-language-clue {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 11px;
  border-radius: 10px;
  background: #eef8ef;
  color: #315f36;
  font-size: 12px;
}
.answer-reveal b,
.quiz-language-clue b {
  color: #197a31;
  font-size: 10px;
  letter-spacing: 0.06em;
}
.quiz-language-clue {
  background: #eef4ff;
  color: #36537d;
}
.localized-guide {
  margin-top: 10px !important;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f2f6ff;
  color: #34425c !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}
.localized-guide b {
  margin-right: 8px;
  color: var(--blue);
  font-size: 9px;
  text-transform: uppercase;
}
.material-card .listen {
  margin-top: 14px;
}
.kind-phrase .material-card {
  background: #edf4ff;
}
.kind-mission .material-card {
  border-bottom: 5px solid var(--blue);
}
.play-grid .material-card {
  margin: 0;
}
.play-grid .material-card h2 {
  font-size: 30px;
}
.play-grid .action-panel {
  position: relative;
}
.stage > .answer-summary {
  margin-top: 14px;
}
@media (max-width: 620px) {
  .slide-controls {
    grid-template-columns: 1fr 1fr;
  }
  .slide-controls > div {
    grid-column: 1/3;
    grid-row: 1;
  }
  .material-card,
  .play-grid .material-card {
    margin: 0;
    padding: 18px;
  }
  .material-card h2,
  .play-grid .material-card h2 {
    font-size: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.start-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.start-card.learning-card {
  border-color: #c8e997;
  background: linear-gradient(145deg, #fff 45%, #f3ffe4);
}
.start-card.travel-card {
  border-color: #c9b8ff;
  background: linear-gradient(145deg, #fff 42%, #f3efff);
}
.start-card.travel-card small {
  color: #7048df;
}
.start-card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.start-card.recommended {
  border: 2px solid var(--blue);
  box-shadow: 0 14px 35px rgba(17, 105, 255, 0.12);
}
.start-card small {
  color: var(--blue);
  font-weight: 800;
}
.start-card b {
  font-size: 22px;
}
.start-card span {
  color: var(--sub);
  line-height: 1.5;
}
.start-card em {
  margin-top: auto;
  font-style: normal;
  font-weight: 800;
}
.quick-join {
  margin-top: 14px;
}
.travel-dna-shell {
  min-height: calc(100vh - 80px);
  padding: 42px 20px 70px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 10%, #f0e9ff, transparent 35%),
    radial-gradient(circle at 85% 80%, #dff6ff, transparent 35%), #f7f7fb;
}
.travel-intro,
.travel-question,
.travel-result {
  position: relative;
  width: min(760px, 100%);
  padding: clamp(28px, 6vw, 58px);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 24px 80px #35246c1c;
  text-align: center;
}
.travel-back {
  position: absolute;
  top: 22px;
  left: 22px;
  border: 0;
  background: none;
  color: var(--sub);
  font-weight: 800;
  cursor: pointer;
}
.travel-orbit {
  width: 150px;
  height: 150px;
  margin: 18px auto 28px;
  border: 2px dashed #bea9ff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  background: #f6f2ff;
}
.travel-orbit b {
  font-size: 32px;
  color: #7048df;
}
.travel-orbit span,
.travel-orbit i {
  position: absolute;
  font-size: 30px;
  font-style: normal;
}
.travel-orbit span {
  top: -8px;
  right: 5px;
}
.travel-orbit i {
  bottom: -8px;
  left: 3px;
}
.travel-intro h1,
.travel-question h1,
.travel-result h1 {
  font-size: clamp(30px, 5vw, 48px);
  margin: 10px 0;
}
.travel-intro > p:not(.kicker),
.travel-question > p,
.travel-result-description {
  color: var(--sub);
  line-height: 1.7;
}
.travel-intro > .primary {
  margin-top: 24px;
  padding: 15px 28px;
}
.travel-saved {
  margin: 24px auto 0;
  padding: 16px;
  border-radius: 16px;
  display: grid;
  gap: 7px;
  background: #f6f2ff;
}
.travel-saved small {
  color: #7048df;
  font-weight: 800;
}
.travel-saved button {
  border: 0;
  background: none;
  font-weight: 800;
  color: #7048df;
  cursor: pointer;
}
.travel-progress-head {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  font-weight: 900;
  color: #7048df;
}
.travel-progress {
  height: 8px;
  margin: 12px 0 40px;
  border-radius: 9px;
  background: #eeeaf8;
  overflow: hidden;
}
.travel-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7048df, #21a9db);
  transition: width 0.25s;
}
.travel-options {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.travel-options button {
  min-height: 84px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #ddd7ed;
  border-radius: 16px;
  background: #fff;
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}
.travel-options button:hover {
  border-color: #7048df;
  background: #f7f4ff;
  transform: translateY(-2px);
}
.travel-options i {
  flex: 0 0 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eee8ff;
  color: #7048df;
  font-style: normal;
}
.travel-options.visual button {
  min-height: 150px;
  position: relative;
  overflow: hidden;
  align-items: flex-end;
  color: #fff;
  border: 0;
  box-shadow: inset 0 -90px 55px #101325c9;
}
.travel-options.visual img,
.travel-options.visual .option-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-repeat: no-repeat;
  background-size: 400% 500%;
}
.travel-options.visual i,
.travel-options.visual span {
  position: relative;
  z-index: 1;
}
.travel-options.visual i {
  background: #ffffffdf;
}
.travel-options.visual span {
  text-shadow: 0 2px 8px #000;
}
.play-lab-shell {
  min-height: 100vh;
  padding: 28px clamp(16px, 5vw, 72px) 80px;
  background: #f7f7fb;
}
.play-lab-hero {
  position: relative;
  min-height: 330px;
  max-width: 1440px;
  margin: auto;
  overflow: hidden;
  border-radius: 32px;
  background: #4b32c3;
  color: #fff;
}
.play-lab-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.play-lab-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #27205ecc 0%,
    #27205e66 38%,
    transparent 70%
  );
}
.play-lab-hero > div {
  position: relative;
  z-index: 1;
  width: min(560px, 88%);
  padding: clamp(30px, 5vw, 64px);
}
.play-lab-hero button {
  border: 0;
  background: #ffffff24;
  color: #fff;
  padding: 9px 13px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}
.play-lab-hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
}
.play-lab-hero p {
  line-height: 1.65;
}
.play-lab-heading {
  max-width: 1440px;
  margin: 52px auto 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.play-lab-heading small {
  color: #7048df;
  font-weight: 900;
}
.play-lab-heading h2 {
  margin: 6px 0 0;
  font-size: clamp(28px, 4vw, 42px);
}
.play-lab-heading > span {
  color: var(--sub);
}
.play-lab-grid {
  max-width: 1440px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.play-lab-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 35px #25205d0c;
}
.play-lab-card.active {
  border: 2px solid #7048df;
}
.play-card-image {
  height: 190px;
  position: relative;
  overflow: hidden;
}
.play-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.play-lab-card:hover .play-card-image img {
  transform: scale(1.04);
}
.play-card-image span {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff;
  color: #7048df;
  font-size: 11px;
  font-weight: 900;
}
.play-lab-card > div:last-child {
  padding: 22px;
}
.play-lab-card small {
  color: #7048df;
  font-weight: 900;
}
.play-lab-card h3 {
  margin: 9px 0;
  font-size: 24px;
}
.play-lab-card p {
  min-height: 48px;
  color: var(--sub);
  line-height: 1.55;
}
.play-lab-card button {
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: #7048df;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}
.play-lab-card button:disabled {
  background: #edeaf3;
  color: #9893a3;
  cursor: not-allowed;
}
.play-lab-card:not(.active) {
  opacity: 0.88;
}
.balance-shell {
  min-height: 100vh;
  padding: 30px 16px 70px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 10% 10%, #fbd8ff, transparent 32%),
    radial-gradient(circle at 90% 80%, #d7e9ff, transparent 35%), #10111a;
}
.balance-intro,
.balance-game,
.balance-result {
  position: relative;
  width: min(920px, 100%);
  padding: clamp(26px, 5vw, 50px);
  border-radius: 28px;
  background: #fff;
  text-align: center;
  box-shadow: 0 25px 90px #0006;
}
.balance-intro {
  width: min(680px, 100%);
}
.balance-cover {
  height: 250px;
  margin: -20px -20px 28px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}
.balance-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.balance-cover span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  color: #7048df;
  font-weight: 900;
}
.balance-intro h1,
.balance-result h1 {
  font-size: clamp(34px, 5vw, 55px);
  margin: 10px 0;
}
.balance-intro > p:not(.kicker),
.balance-result > p {
  color: var(--sub);
  line-height: 1.7;
}
.balance-intro > .primary {
  margin-top: 22px;
  padding: 15px 25px;
}
.balance-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.balance-top button {
  border: 0;
  background: none;
  color: var(--sub);
  font-weight: 800;
  cursor: pointer;
}
.balance-top span {
  color: #7048df;
  font-weight: 900;
}
.balance-game h1 {
  margin: 30px 0 5px;
  font-size: clamp(28px, 4vw, 42px);
}
.balance-game > p {
  color: var(--sub);
}
.balance-options {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}
.balance-options > button {
  min-height: 390px;
  padding: 0;
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: #171923;
  cursor: pointer;
}
.balance-options > button:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px #271b5d33;
}
.balance-options img,
.balance-options .option-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: 400% 500%;
}
.balance-options button > span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 110px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(transparent, #090a11f2 40%);
  color: #fff;
  text-align: left;
}
.balance-options button i {
  flex: 0 0 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #7048df;
  font-style: normal;
}
.balance-options button b {
  font-size: 20px;
}
.balance-options > em {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 5px solid #fff;
  border-radius: 50%;
  background: #7048df;
  color: #fff;
  font-style: normal;
  font-weight: 1000;
  transform: translate(-50%, -50%) rotate(-8deg);
}
.balance-result-icon {
  margin: 14px 0;
  font-size: 80px;
}
.balance-result > article {
  margin: 25px 0;
  padding: 20px;
  display: grid;
  gap: 6px;
  border-radius: 16px;
  background: #f4f0ff;
}
.balance-result article small {
  color: #7048df;
  font-weight: 900;
}
.travel-result-icon {
  font-size: 72px;
  margin-top: 10px;
}
.travel-result-grid {
  margin-top: 28px;
  display: grid;
  gap: 10px;
  text-align: left;
}
.travel-result-grid article {
  padding: 17px 20px;
  border-radius: 15px;
  background: #f7f5fb;
}
.travel-result-grid small {
  display: block;
  margin-bottom: 5px;
  color: #7048df;
  font-weight: 900;
}
.travel-result-grid b {
  line-height: 1.55;
}
.travel-save-status {
  min-height: 24px;
  color: #428300;
  font-weight: 800;
}
.travel-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.travel-actions button {
  padding: 13px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}
.assessment-shell {
  min-height: calc(100vh - 80px);
  display: grid;
  place-items: center;
  padding: 30px;
  background: #f4f6f9;
}
.assessment-welcome,
.assessment-card,
.result-card {
  width: min(720px, 100%);
  padding: clamp(25px, 5vw, 52px);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 70px rgba(26, 38, 58, 0.12);
}
.assessment-welcome {
  text-align: center;
}
.level-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 10px auto 20px;
  border-radius: 20px;
  background: var(--blue);
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}
.assessment-welcome h1,
.result-card h1 {
  font-size: clamp(30px, 5vw, 48px);
  margin: 10px 0;
}
.assessment-welcome > p {
  color: var(--sub);
  line-height: 1.7;
}
.test-facts {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 24px 0;
}
.test-facts span {
  padding: 12px 16px;
  border-radius: 14px;
  background: #f2f5fa;
}
.test-facts b {
  margin-right: 3px;
  font-size: 20px;
}
.assessment-welcome form {
  display: grid;
  gap: 13px;
  text-align: left;
}
.assessment-welcome form input,
.assessment-welcome form select {
  width: 100%;
  margin-top: 6px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.test-top,
.test-top > div,
.test-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.test-top small {
  color: var(--blue);
  font-weight: 800;
}
.test-top span {
  padding: 10px 13px;
  border-radius: 12px;
  background: #111;
  color: #fff;
  font-weight: 800;
}
.test-progress {
  height: 7px;
  margin: 18px 0 32px;
  border-radius: 10px;
  background: #e9edf3;
  overflow: hidden;
}
.test-progress i {
  display: block;
  height: 100%;
  background: var(--blue);
}
.assessment-card h1 {
  min-height: 90px;
  font-size: clamp(23px, 4vw, 34px);
}
.test-options {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}
.test-options button {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-align: left;
  font-size: 15px;
  cursor: pointer;
}
.test-options button i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #f0f3f8;
  font-style: normal;
  font-weight: 800;
}
.test-options button.selected {
  border: 2px solid var(--blue);
  background: #f1f6ff;
}
.test-options button.selected i {
  background: var(--blue);
  color: #fff;
}
.test-nav button {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}
.test-nav .primary {
  background: var(--blue);
  color: #fff;
}
.result-card {
  text-align: center;
}
.result-level {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px;
}
.result-level b {
  font-size: 76px;
  color: var(--blue);
}
.result-level em {
  padding: 8px 12px;
  border-radius: 99px;
  background: #eaf2ff;
  color: var(--blue);
  font-style: normal;
  font-weight: 800;
}
.area-scores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 8px;
  margin: 25px 0;
}
.area-scores span {
  padding: 12px;
  border-radius: 12px;
  background: #f4f6f9;
}
.area-scores b {
  display: block;
  font-size: 11px;
  color: var(--sub);
}
.hub-shell {
  min-height: calc(100vh - 80px);
  padding: 32px clamp(18px, 4vw, 60px);
  background: #f5f6f8;
}
.hub-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.hub-welcome h1 {
  margin: 5px 0;
  font-size: clamp(28px, 4vw, 44px);
}
.hub-welcome p {
  color: var(--sub);
}
.hub-welcome button {
  padding: 13px 17px;
  border: 0;
  border-radius: 12px;
  background: #111;
  color: #fff;
  font-weight: 800;
}
.hub-guide {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0;
}
.hub-guide span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #888;
}
.hub-guide span b {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #ddd;
}
.hub-guide span.active {
  color: var(--blue);
  font-weight: 800;
}
.hub-guide span.active b {
  background: var(--blue);
  color: #fff;
}
.hub-guide i {
  flex: 1;
  height: 1px;
  background: #ddd;
}
.hub-stats {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}
.hub-stats span {
  padding: 11px 15px;
  border-radius: 12px;
  background: #fff;
}
.hub-stats b {
  font-size: 20px;
  margin-right: 4px;
}
.class-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.class-card,
.empty-class,
.placement-panel {
  padding: 20px;
  border: 1px solid #e4e6ea;
  border-radius: 18px;
  background: #fff;
}
.class-card > div:first-child {
  display: flex;
  justify-content: space-between;
  color: var(--blue);
  font-weight: 800;
}
.class-card h2 {
  margin: 18px 0 6px;
}
.class-card p {
  color: var(--sub);
}
.class-card > button {
  width: 100%;
  margin-top: 14px;
  padding: 12px;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}
.class-card > button.subtle {
  margin-top: 7px;
  background: #f1f3f6;
  color: #555;
}
.assign-label {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 800;
  color: #666;
}
.assign-label select {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.capacity-control {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  padding: 12px;
  border-radius: 12px;
  background: #f5f8ff;
  color: #525967;
  font-size: 12px;
  font-weight: 800;
}
.capacity-control > div {
  display: grid;
  grid-template-columns: 72px auto 1fr;
  align-items: center;
  gap: 7px;
}
.capacity-control input {
  min-width: 0;
  padding: 9px;
  border: 1px solid #cbd8f8;
  border-radius: 9px;
  background: #fff;
  font: inherit;
}
.capacity-control button {
  padding: 9px 10px;
  border: 0;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}
.capacity-control small {
  color: #7a8291;
  font-weight: 600;
}
.class-delete-control {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f1d0d0;
}
.class-delete-control label {
  display: grid;
  gap: 6px;
  color: #8f2f2a;
  font-size: 12px;
  font-weight: 800;
}
.class-delete-control select {
  width: 100%;
  padding: 10px;
  border: 1px solid #f2b8b8;
  border-radius: 10px;
  background: #fff;
}
.class-delete {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #f2b8b8;
  border-radius: 10px;
  background: #fff7f7;
  color: #b42318;
  font-weight: 800;
}
.class-delete:hover:not(:disabled) {
  background: #fee4e2;
}
.class-delete:disabled {
  border-color: #e3e5e8;
  background: #f4f5f6;
  color: #9298a2;
  cursor: not-allowed;
}
.meet-control {
  display: grid;
  gap: 7px;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #e1e4e9;
  border-radius: 12px;
  background: #fafafa;
  color: #555d69;
  font-size: 12px;
  font-weight: 800;
}
.meet-control > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
}
.meet-control input {
  min-width: 0;
  padding: 9px;
  border: 1px solid #d8dce3;
  border-radius: 9px;
}
.meet-control button,
.google-meet-fallback {
  padding: 9px 11px;
  border: 0;
  border-radius: 9px;
  background: #f1f3f6;
  color: #313843;
  font-weight: 800;
}
.google-meet-fallback {
  display: block;
  margin-top: 7px;
  text-align: center;
  text-decoration: none;
}
.primary-video {
  padding: 12px;
  background: #1769ff;
  color: #fff;
}
.direct-video {
  margin-top: 10px;
  color: #aab0bb;
  font-size: 11px;
}
.direct-video summary {
  cursor: pointer;
}
@media (max-width: 700px) {
  .conference-dialog {
    inset: auto 8px 8px;
    width: calc(100vw - 16px);
    height: min(46vh, 440px);
    border-radius: 16px;
  }
  .conference-dialog.minimized {
    inset: auto 8px 8px auto;
    width: min(300px, calc(100vw - 16px));
    height: 62px;
  }
  body.conference-open {
    padding-bottom: min(46vh, 440px);
  }
}

/* Account-first onboarding */
.account-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.account-chip > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #216cff;
  color: #fff;
  font-weight: 900;
}
.account-chip > b {
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-chip > button {
  padding: 8px 10px;
  border: 1px solid #dfe3ea;
  border-radius: 10px;
  background: #fff;
  color: #343943;
  font-weight: 800;
  white-space: nowrap;
}
#account-profile-open {
  border-color: #b8d0ff;
  background: #edf4ff;
  color: #1765e8;
}
.account-shell {
  min-height: calc(100vh - 88px);
  padding: clamp(28px, 5vw, 72px);
  background:
    radial-gradient(circle at 80% 10%, #e7efff 0, transparent 34%), #f6f7f9;
}
.account-shell.welcome {
  display: grid;
  grid-template-columns: minmax(330px, 0.78fr) minmax(520px, 1.22fr);
  grid-template-areas: "copy visual";
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}
.account-welcome {
  grid-area: copy;
  width: min(100%, 600px);
  min-width: 0;
}
.account-welcome h1,
.account-panel h1 {
  margin: 12px 0 20px;
  font-size: clamp(42px, 5vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: balance;
}
.account-welcome p,
.account-panel > p {
  max-width: 680px;
  color: #636872;
  font-size: clamp(17px, 1.6vw, 23px);
  line-height: 1.65;
  word-break: keep-all;
}
.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.account-actions button,
.account-form .primary {
  min-height: 58px;
  padding: 0 22px;
  border-radius: 16px;
  font-size: clamp(15px, 1.12vw, 17px);
  font-weight: 850;
  word-break: keep-all;
  overflow-wrap: normal;
  white-space: nowrap;
}
.account-actions button {
  flex: 1 1 max-content;
}
.account-actions button > span {
  white-space: nowrap;
}
.account-welcome small,
.account-panel,
.account-panel button,
.account-panel label {
  word-break: keep-all;
  overflow-wrap: normal;
}
.account-visual {
  grid-area: visual;
  position: relative;
  overflow: hidden;
  height: clamp(390px, calc(100dvh - 210px), 620px);
  min-height: 0;
  border-radius: 36px;
  background: #14171e;
  box-shadow: 0 30px 80px rgba(20, 30, 55, 0.18);
}
.account-visual img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 48%;
}
.account-visual figcaption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}
.account-panel {
  max-width: 1040px;
  margin: auto;
  padding: clamp(28px, 5vw, 66px);
  border: 1px solid #e1e4ea;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(21, 31, 56, 0.12);
}
.account-panel h1 {
  font-size: clamp(38px, 4vw, 62px);
}
.account-back {
  padding: 10px 0;
  border: 0;
  background: none;
  color: #216cff;
  font-weight: 800;
}
.account-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}
.account-form label {
  display: grid;
  gap: 8px;
  color: #454a54;
  font-weight: 750;
}
.account-form label.wide {
  grid-column: 1 / -1;
}
.account-form input,
.account-form textarea,
.account-form output {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid #dfe3ea;
  border-radius: 14px;
  background: #f9fafc;
  color: #111318;
  font: inherit;
}
.account-birth-fields {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 8px;
}
.account-birth-fields select {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 12px 10px;
  border: 1px solid #dfe3ea;
  border-radius: 14px;
  background: #f9fafc;
  color: #111318;
  font: inherit;
}
.account-form output {
  display: flex;
  align-items: center;
}
.account-consent {
  grid-template-columns: auto 1fr !important;
  align-items: center;
  margin: 22px 0;
}
.account-consent input {
  width: 22px;
  min-height: 22px;
}
.conversation-availability {
  grid-column: 1 / -1;
  margin: 4px 0;
  padding: 20px;
  border: 1px solid #cfe0ff;
  border-radius: 18px;
  background: #f5f8ff;
}
.conversation-availability legend {
  padding: 0 8px;
  color: #155fd7;
  font-size: 16px;
  font-weight: 900;
}
.conversation-availability > p {
  margin: 0 0 14px;
  color: #687083;
}
.conversation-availability .timezone-choice {
  display: grid;
  grid-template-columns: minmax(150px, 0.45fr) 1fr;
  align-items: center;
  gap: 8px 14px;
  margin-bottom: 14px;
}
.conversation-availability .timezone-choice select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #cdd9ec;
  border-radius: 12px;
  background: #fff;
  color: #16213a;
  font: inherit;
}
.conversation-availability .timezone-choice small {
  grid-column: 2;
  margin: 0;
}
.conversation-availability > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.conversation-availability label {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 14px;
  border: 1px solid #dce5f5;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}
.conversation-availability input {
  width: 22px;
  min-height: 22px;
}
.conversation-availability span,
.conversation-availability small {
  display: block;
}
.conversation-availability small {
  margin-top: 4px;
  color: #697386;
  font-weight: 600;
}
.conversation-availability .korea-schedule {
  font-weight: 600;
}
.conversation-availability .local-schedule {
  font-size: 15px;
}
.conversation-availability.korean-time-primary .korea-schedule {
  color: #202c43;
  font-weight: 900;
}
.conversation-availability.korean-time-primary .local-schedule {
  font-weight: 650;
}
.conversation-availability.local-time-primary .korea-schedule {
  color: #6c7484;
  font-weight: 600;
}
.conversation-availability.local-time-primary .local-schedule {
  color: #17233a;
  font-weight: 900;
}
.conversation-availability .availability-timezone {
  margin-top: 12px;
  color: #155fd7;
}
.account-error {
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff0f2;
  color: #c83045 !important;
  font-size: 14px !important;
}
.account-loading {
  display: grid;
  place-items: center;
  min-height: 70vh;
  gap: 14px;
}
.account-loading span {
  width: 42px;
  height: 42px;
  border: 4px solid #dce7ff;
  border-top-color: #216cff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.member-management {
  margin-top: 46px;
}
.member-country-summary {
  display: grid;
  grid-template-columns: 0.72fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.member-country-summary.single-country {
  grid-template-columns: 0.72fr 2fr;
}
.member-country-summary > article,
.member-country-summary > div {
  padding: 18px;
  border: 1px solid #e0e5ed;
  border-radius: 18px;
  background: #fff;
}
.member-country-summary small {
  display: block;
  margin-bottom: 10px;
  color: #667080;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.07em;
}
.member-country-summary article > b {
  display: block;
  color: #216cff;
  font-size: 38px;
}
.member-country-summary article > span {
  color: #737985;
  font-size: 12px;
}
.member-country-summary p {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
}
.member-country-summary p span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #edf4ff;
  color: #315b9e;
  font-size: 12px;
  font-weight: 800;
}
.member-country-summary p b {
  display: inline;
  margin-left: 4px;
  color: #1765e8;
}
.member-filters {
  display: grid;
  grid-template-columns:
    minmax(220px, 1fr) minmax(160px, 0.55fr) minmax(160px, 0.55fr)
    auto auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid #e0e5ed;
  border-radius: 18px;
  background: #f7f9fc;
}
.member-filters label {
  display: grid;
  gap: 6px;
  color: #5e6570;
  font-size: 11px;
  font-weight: 850;
}
.member-filters input,
.member-filters select,
.member-filters button {
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #d9dfe8;
  border-radius: 11px;
  background: #fff;
  font: inherit;
}
.member-filters button {
  color: #1765e8;
  font-weight: 850;
}
.member-filters strong {
  align-self: center;
  color: #216cff;
  white-space: nowrap;
}
.member-table {
  overflow: hidden;
  border: 1px solid #e0e4ea;
  border-radius: 22px;
  background: #fff;
}
.member-table-head,
.member-table article {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1.5fr 1fr;
  gap: 18px;
  padding: 17px 20px;
  align-items: center;
}
.member-table-head {
  background: #111318;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.06em;
}
.member-table article + article {
  border-top: 1px solid #eceef2;
}
.member-table article b,
.member-table article small {
  display: block;
}
.member-table article small,
.member-table article p {
  margin: 4px 0 0;
  color: #737985;
  font-size: 13px;
  line-height: 1.5;
}
.profile-shell {
  min-height: calc(100vh - 88px);
  padding: clamp(24px, 4vw, 62px);
  background:
    radial-gradient(circle at 90% 0, #e7efff, transparent 32%), #f6f7f9;
}
.profile-hero {
  max-width: 1120px;
  margin: 0 auto 28px;
}
.profile-hero h1 {
  margin: 10px 0;
  font-size: clamp(38px, 5vw, 68px);
  letter-spacing: -0.045em;
}
.profile-hero > p {
  max-width: 720px;
  color: #656b76;
  font-size: 18px;
  line-height: 1.6;
}
.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
  gap: 22px;
  max-width: 1120px;
  margin: auto;
  align-items: start;
}
.profile-card {
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid #e0e4eb;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(24, 35, 60, 0.08);
}
.profile-section-title {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 22px;
}
.profile-section-title > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #111318;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}
.profile-section-title small {
  color: #216cff;
  font-weight: 900;
  letter-spacing: 0.1em;
}
.profile-section-title h2 {
  margin: 3px 0 0;
}
.profile-card > .primary {
  width: 100%;
  margin-top: 22px;
}
.security-card {
  position: sticky;
  top: 106px;
  display: grid;
  gap: 16px;
}
.security-card p {
  color: #777d88;
  font-size: 12px;
  line-height: 1.5;
}
.account-activity-card {
  grid-column: 1 / -1;
}
.account-activity-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 28px;
}
.account-activity-summary article {
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(145deg, #f7f4ff, #f2f9ff);
  display: grid;
  gap: 6px;
}
.account-activity-summary small {
  color: #7048df;
  font-weight: 900;
}
.account-activity-summary b {
  font-size: 20px;
}
.account-activity-summary span {
  color: var(--sub);
  font-size: 12px;
}
.account-activity-history h3 {
  margin-bottom: 12px;
}
.account-activity-history > article {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.account-activity-history i {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #eee8ff;
  color: #7048df;
  font-style: normal;
  font-weight: 900;
}
.account-activity-history article div {
  display: grid;
  gap: 4px;
}
.account-activity-history span,
.account-activity-history time,
.account-activity-history > p {
  color: var(--sub);
  font-size: 13px;
}
.activity-note {
  margin: 22px 0 0;
  padding: 13px 16px;
  border-radius: 12px;
  background: #fff8dc;
  color: #725f12;
  font-size: 13px;
}
.member-detail summary {
  cursor: pointer;
  list-style: none;
}
.member-detail summary::-webkit-details-marker {
  display: none;
}
.member-detail summary b {
  color: #145fd7;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.member-detail[open] {
  grid-column: 1 / -1;
  padding: 16px;
  border-radius: 16px;
  background: #f7f9fd;
}
.member-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin-top: 14px;
}
.member-detail-grid p {
  margin: 0 !important;
  padding: 12px;
  border: 1px solid #e4e8f0;
  border-radius: 12px;
  background: #fff;
}
.member-detail-grid p.wide {
  grid-column: 1 / -1;
}
.member-detail-grid small,
.member-detail-grid b {
  display: block;
}
.member-detail-grid small {
  margin-bottom: 5px;
  color: #216cff !important;
  font-weight: 850;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 900px) {
  .account-shell.welcome {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "visual";
    align-content: start;
  }
  .account-welcome {
    width: 100%;
  }
  .account-visual {
    height: clamp(320px, 44vh, 440px);
    min-height: 0;
  }
  .account-visual img {
    min-height: 0;
  }
  .member-table-head {
    display: none;
  }
  .member-table article {
    grid-template-columns: 1fr 1fr;
  }
  .member-country-summary {
    grid-template-columns: 1fr;
  }
  .member-filters {
    grid-template-columns: 1fr 1fr;
  }
  .profile-layout {
    grid-template-columns: 1fr;
  }
  .security-card {
    position: static;
  }
}
@media (max-width: 620px) {
  .account-shell {
    padding: 18px 14px;
  }
  .account-actions,
  .account-form-grid {
    grid-template-columns: 1fr;
    display: grid;
  }
  .account-form label.wide {
    grid-column: auto;
  }
  .account-shell.welcome {
    gap: 22px;
  }
  .account-welcome h1 {
    font-size: clamp(38px, 12vw, 54px);
  }
  .account-actions button {
    width: 100%;
    font-size: 16px;
  }
  .account-actions button,
  .account-form .primary {
    padding-right: 14px;
    padding-left: 14px;
  }
  .account-visual {
    height: 280px;
    min-height: 0;
    border-radius: 24px;
  }
  .account-visual img {
    min-height: 0;
  }
  .member-table article {
    grid-template-columns: 1fr;
  }
  .member-filters {
    grid-template-columns: 1fr;
  }
  .profile-shell {
    padding: 18px 12px 44px;
  }
  .profile-card {
    padding: 20px 16px;
    border-radius: 20px;
  }
  .member-detail-grid {
    grid-template-columns: 1fr;
  }
  .member-detail-grid p.wide {
    grid-column: auto;
  }
  .account-chip > b {
    display: none;
  }
  .account-chip > button {
    padding: 7px 8px;
    font-size: 12px;
  }
}

/* Level waiting room and operator placement */
.waiting-room-shell {
  min-height: calc(100vh - 92px);
  display: grid;
  place-items: center;
  padding: 42px 20px;
  background: radial-gradient(circle at 50% 20%, #edf4ff, #f7f8fb 58%, #eef1f7);
}
.waiting-room-card {
  width: min(680px, 100%);
  padding: 54px;
  text-align: center;
  border: 1px solid #dbe3f1;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 24px 70px #172a5218;
}
.waiting-room-card > small {
  color: #216cff;
  font-weight: 900;
  letter-spacing: 0.18em;
}
.waiting-room-card h1 {
  margin: 24px 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}
.waiting-room-card > p {
  margin: 0 auto;
  max-width: 520px;
  color: #687080;
  font-size: 18px;
  line-height: 1.65;
}
.waiting-room-orbit {
  position: relative;
  width: 112px;
  height: 112px;
  margin: 30px auto 12px;
  border: 1px solid #d9e5ff;
  border-radius: 50%;
}
.waiting-room-orbit span {
  position: absolute;
  inset: 21px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  border-radius: 50%;
  background: #216cff;
}
.waiting-room-orbit i {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #8aadff;
  animation: waitingOrbit 2.2s linear infinite;
  transform-origin: 56px 56px;
}
.waiting-room-orbit i:nth-of-type(2) {
  animation-delay: -0.7s;
}
.waiting-room-orbit i:nth-of-type(3) {
  animation-delay: -1.4s;
}
@keyframes waitingOrbit {
  from {
    transform: translate(-5px, -5px) rotate(0) translateX(56px);
  }
  to {
    transform: translate(-5px, -5px) rotate(360deg) translateX(56px);
  }
}
.waiting-room-card.assigned .waiting-room-orbit {
  border-color: #bde8d3;
}
.waiting-room-card.assigned .waiting-room-orbit span {
  background: #16a66a;
}
.waiting-room-meta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0;
}
.waiting-room-meta > span {
  padding: 12px 16px;
  border-radius: 999px;
  background: #f2f5fa;
  color: #667085;
}
.waiting-room-meta b {
  color: #111827;
}
.waiting-live i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #16a66a;
  animation: pulse 1.3s infinite;
}
.waiting-room-actions {
  display: grid;
  gap: 10px;
}
.waiting-room-actions button {
  min-height: 54px;
  border-radius: 14px;
}
.waiting-management {
  margin: 34px 0 42px;
  padding: 28px;
  border: 1px solid #cfdcff;
  border-radius: 24px;
  background: linear-gradient(135deg, #f8fbff, #f4f0ff);
}
.waiting-management .hub-section-head {
  margin: 0 0 20px;
}
.waiting-management .hub-section-head h2 b {
  color: #216cff;
}
.waiting-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.waiting-toolbar span {
  color: #697386;
  font-size: 14px;
}
.waiting-list {
  display: grid;
  gap: 10px;
}
.waiting-list article {
  display: grid;
  grid-template-columns: auto minmax(150px, 1fr) auto minmax(180px, 240px) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid #dbe3f1;
  border-radius: 16px;
  background: #fff;
}
.waiting-list article div {
  display: grid;
  gap: 3px;
}
.waiting-list small,
.waiting-list time {
  color: #758094;
  font-size: 13px;
}
.waiting-list select {
  min-height: 42px;
}
.waiting-remove {
  color: #b42318;
  background: #fff1f0;
}
.roster-manager {
  margin-top: 18px;
  border-top: 1px solid #d6def0;
  padding-top: 18px;
}
.roster-manager summary {
  cursor: pointer;
  font-weight: 800;
}
.roster-manager > div {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.roster-manager label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
}
.roster-manager label span {
  display: grid;
}
.roster-manager small {
  color: #758094;
}
@media (max-width: 760px) {
  .waiting-room-card {
    padding: 34px 20px;
  }
  .waiting-list article {
    grid-template-columns: auto 1fr;
  }
  .waiting-list article time,
  .waiting-list article select,
  .waiting-list article button,
  .waiting-list article em {
    grid-column: 2;
  }
  .roster-manager label {
    align-items: stretch;
    flex-direction: column;
  }
}

.room-placement,
.creation-gallery {
  margin: 22px 0;
  padding: 22px;
  border: 1px solid #dfe5ee;
  border-radius: 22px;
  background: #fff;
}
.placement-heading,
.placement-actions,
.placement-heading > div,
.creation-gallery > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.placement-heading > div,
.creation-gallery > div:first-child {
  align-items: flex-start;
  flex-direction: column;
  gap: 4px;
}
.room-placement small,
.creation-gallery small,
.creative-studio small {
  color: #216cff;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.room-placement h3,
.creation-gallery h3 {
  margin: 0;
  font-size: 24px;
}
.room-placement p {
  margin: 5px 0 0;
  color: #6d7480;
}
.placement-state {
  padding: 9px 13px;
  border-radius: 999px;
  background: #fff5db;
  color: #8b5900;
  font-weight: 850;
  white-space: nowrap;
}
.placement-state.confirmed {
  background: #e7faef;
  color: #087c44;
}
.placement-actions {
  justify-content: flex-end;
  margin: 18px 0;
}
.placement-actions button {
  padding: 11px 15px;
  border: 1px solid #d8deea;
  border-radius: 12px;
  background: #fff;
  font-weight: 850;
}
.placement-actions .primary {
  border-color: #216cff;
  background: #216cff;
  color: #fff;
}
.placement-teams {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.placement-teams article {
  min-width: 0;
  padding: 15px;
  border-radius: 16px;
  background: #f5f7fa;
}
.placement-teams article > b {
  font-size: 18px;
}
.placement-teams article > span {
  float: right;
  color: #697180;
}
.placement-teams label {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 9px;
  align-items: center;
  margin-top: 11px;
  padding: 9px;
  border-radius: 12px;
  background: #fff;
}
.placement-teams i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e8f0ff;
  color: #216cff;
  font-style: normal;
  font-weight: 900;
}
.placement-teams label span {
  display: grid;
  min-width: 0;
}
.placement-teams label small {
  color: #757d89;
  font-size: 11px;
  letter-spacing: 0;
}
.placement-teams select {
  max-width: 76px;
  padding: 8px;
  border: 1px solid #dce2ec;
  border-radius: 9px;
  background: #fff;
}
.placement-waiting {
  border-color: #cddcff;
  background: #f5f8ff;
}
.waiting-pulse {
  color: #216cff;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.2em;
}
.placement-drawer {
  margin: 0 0 15px;
  overflow: hidden;
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  background: #f8faff;
}
.placement-drawer > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.placement-drawer > summary::-webkit-details-marker {
  display: none;
}
.placement-drawer > summary span {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.placement-drawer > summary small {
  color: #216cff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
}
.placement-drawer > summary b {
  font-size: 14px;
}
.placement-drawer > summary em {
  padding: 6px 8px;
  border-radius: 999px;
  background: #fff1cf;
  color: #8b5900;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}
.placement-drawer > summary em.confirmed {
  background: #e3f8ec;
  color: #087c44;
}
.placement-drawer > summary::after {
  content: "⌄";
  color: #657083;
  font-weight: 900;
  transition: transform 0.18s;
}
.placement-drawer[open] > summary::after {
  transform: rotate(180deg);
}
.placement-drawer .room-placement-compact {
  margin: 0;
  padding: 14px;
  border: 0;
  border-top: 1px solid #dbe3ef;
  border-radius: 0;
}
.placement-drawer .room-placement-compact .placement-heading {
  display: none;
}
.placement-drawer .placement-actions {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0 0 12px;
}
.placement-drawer .placement-actions button {
  width: 100%;
}
.placement-drawer .placement-teams {
  grid-template-columns: 1fr;
}
.placement-drawer .placement-teams article {
  padding: 11px;
}
.placement-drawer .placement-teams label {
  grid-template-columns: 32px minmax(0, 1fr) auto;
  padding: 7px;
}
.placement-drawer .placement-teams i {
  width: 30px;
  height: 30px;
}

/* Creative wall and drawing studio */
.creative-launch {
  width: 100%;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid #cbd8f5;
  border-radius: 16px;
  background: #f3f7ff;
  color: #1556cb;
  font-size: 16px;
  font-weight: 900;
}
.creation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 15px;
}
.creation-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e0e5ec;
  border-radius: 15px;
  background: #f4f5f7;
}
.creation-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #edf0f4;
}
.creation-grid figcaption {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
}
.creation-grid figcaption span {
  color: #656d78;
  font-size: 13px;
}
.creation-grid figure > button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(16, 20, 28, 0.78);
  color: #fff;
}
.creative-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 14, 28, 0.72);
  backdrop-filter: blur(10px);
}
.creative-studio {
  width: min(920px, 100%);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  padding: 22px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}
.creative-studio header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.creative-studio h2 {
  margin: 4px 0 0;
}
.creative-studio header button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  font-size: 24px;
}
.creative-tools,
.trace-guide,
.creative-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 14px 0;
}
.creative-tools button,
.trace-guide button,
.photo-picker,
.creative-share button {
  padding: 10px 13px;
  border: 1px solid #d9e0eb;
  border-radius: 11px;
  background: #fff;
  font-weight: 800;
}
.creative-tools [data-draw-color] {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--draw-color);
  box-shadow: 0 0 0 1px #cfd5df;
}
.creative-tools [data-draw-color="#111827"] {
  background: #111827;
}
.creative-tools [data-draw-color="#216cff"] {
  background: #216cff;
}
.creative-tools [data-draw-color="#ff4f7b"] {
  background: #ff4f7b;
}
.creative-tools [data-draw-color="#70bd00"] {
  background: #70bd00;
}
.creative-tools [data-draw-color].selected {
  box-shadow: 0 0 0 3px #a9c4ff;
}
.trace-guide span {
  font-weight: 850;
}
#creative-canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  border: 2px solid #dbe3ef;
  border-radius: 16px;
  background: #fff;
  touch-action: none;
}
.creative-share label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}
.creative-share input[type="text"],
.creative-share input:not([type]) {
  min-width: 240px;
  padding: 11px;
  border: 1px solid #dce2eb;
  border-radius: 10px;
}
.photo-picker input {
  display: none;
}
.creative-share .primary {
  margin-left: auto;
  border-color: #216cff;
  background: #216cff;
  color: #fff;
}
.privacy-note {
  margin: 8px 0 0;
  color: #737b87;
  font-size: 12px;
}

@media (max-width: 700px) {
  .conversation-availability > div {
    grid-template-columns: 1fr;
  }
  .conversation-availability .timezone-choice {
    grid-template-columns: 1fr;
  }
  .conversation-availability .timezone-choice small {
    grid-column: 1;
  }
  .account-activity-summary {
    grid-template-columns: 1fr;
  }
  .account-activity-history > article {
    grid-template-columns: 42px 1fr;
  }
  .account-activity-history time {
    grid-column: 2;
  }
  .room-placement,
  .creation-gallery {
    padding: 15px;
    border-radius: 16px;
  }
  .placement-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .placement-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .placement-actions button {
    min-width: 0;
  }
  .creative-backdrop {
    padding: 0;
    place-items: end center;
  }
  .creative-studio {
    max-height: 92dvh;
    padding: 16px;
    border-radius: 22px 22px 0 0;
  }
  .creative-share {
    align-items: stretch;
    flex-direction: column;
  }
  .creative-share label {
    justify-content: space-between;
  }
  .creative-share input[type="text"],
  .creative-share input:not([type]) {
    min-width: 0;
    width: 100%;
  }
  .creative-share .primary {
    margin-left: 0;
  }
  .creation-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.class-students {
  display: flex;
  margin-top: 15px;
}
.class-students i,
.class-students b {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  margin-right: -5px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #e7efff;
  color: var(--blue);
  font-style: normal;
}
.placement-panel {
  margin-top: 20px;
}
.placement-list > div {
  display: grid;
  grid-template-columns: 38px 1fr 1fr minmax(150px, 220px);
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #eee;
}
.placement-list em {
  font-style: normal;
  color: var(--sub);
}
.placement-list select {
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.merge-form {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #eee;
}
.merge-form select,
.merge-form button {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}
.merge-form button {
  background: #111;
  color: #fff;
  font-weight: 800;
}
#class-dialog {
  width: min(480px, 90vw);
  border: 0;
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 30px 90px #0004;
}
#class-dialog::backdrop {
  background: #10131a99;
}
#class-dialog form {
  padding: 28px;
  display: grid;
  gap: 13px;
}
#class-dialog label {
  font-weight: 700;
}
#class-dialog input,
#class-dialog select {
  width: 100%;
  margin-top: 5px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
}
#class-dialog form > div {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
@media (max-width: 700px) {
  .start-cards {
    grid-template-columns: 1fr;
  }
  .assessment-shell {
    padding: 12px;
  }
  .assessment-card {
    padding: 22px 16px;
  }
  .hub-welcome {
    align-items: flex-start;
    flex-direction: column;
  }
  .hub-guide i {
    display: none;
  }
  .hub-guide {
    flex-wrap: wrap;
  }
  .placement-list > div {
    grid-template-columns: 36px 1fr;
  }
  .placement-list em,
  .placement-list select {
    grid-column: 2;
  }
  .test-facts {
    flex-wrap: wrap;
  }
  .merge-form {
    grid-template-columns: 1fr;
  }
  .merge-form span {
    display: none;
  }
  .hub-back {
    font-size: 0;
  }
  .hub-back:after {
    content: "교실";
    font-size: 12px;
  }
  .tutorial-pop {
    padding: 21px;
    bottom: 10px;
  }
  .tutorial-skip {
    right: 14px;
    top: 12px;
  }
  .tutorial-focus {
    outline-width: 3px !important;
  }
  .top .season {
    display: none;
  }
  .tutorial-help {
    margin-left: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tutorial-layer,
  .tutorial-pop {
    animation: none;
  }
  .tutorial-focus {
    scroll-behavior: auto;
  }
}
.tutorial-focus {
  pointer-events: none !important;
}
.global-language {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 7px 9px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

/* K-Mate self learning */
.learn-shell {
  min-height: calc(100vh - 80px);
  padding: 34px clamp(18px, 5vw, 76px) 70px;
  background: #f6f7f9;
}
.learn-hero {
  padding: 32px 0 28px;
}
.learn-hero h1 {
  margin: 8px 0;
  font-size: clamp(38px, 5vw, 68px);
}
.learn-hero > p:last-child {
  max-width: 680px;
  color: var(--sub);
  font-size: 18px;
}
.learn-profile,
.learn-register {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  align-items: center;
  gap: 28px;
  margin-bottom: 28px;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(120deg, #111318, #20273a);
  color: #fff;
}
.learn-profile h1 {
  margin: 5px 0;
  font-size: 32px;
}
.learn-profile em {
  display: block;
  margin-top: 9px;
  color: #a9eb3d;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.06em;
}
.learn-profile > div:not(:first-child) {
  min-width: 120px;
  padding-left: 24px;
  border-left: 1px solid #ffffff25;
}
.learn-profile b {
  display: block;
  font-size: 34px;
  color: #a9eb3d;
}
.learn-profile small {
  color: #b9bdc8;
}
.learn-profile .learn-delete {
  padding: 10px 14px;
  border: 1px solid #ffffff38;
  border-radius: 10px;
  background: transparent;
  color: #d9dce3;
  font-weight: 750;
}
.learn-privacy {
  margin: -16px 4px 24px;
  color: var(--sub);
  font-size: 12px;
}
.learn-register {
  grid-template-columns: 1fr 1.2fr;
}
.learn-register h1 {
  margin: 6px 0;
  font-size: 34px;
}
.learn-register p {
  color: #c7cbd4;
}
.learn-register .learn-privacy-note {
  color: #a9eb3d;
  font-size: 12px;
  line-height: 1.5;
}
.learn-register form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.learn-register label {
  color: #d9dce3;
  font-size: 13px;
  font-weight: 700;
}
.learn-register input,
.learn-register select {
  width: 100%;
  margin-top: 6px;
  padding: 13px;
  border: 0;
  border-radius: 11px;
  background: #fff;
}
.learn-register button {
  grid-column: 1 / -1;
}
.learn-register .learn-consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 12px;
  border: 1px solid #ffffff25;
  border-radius: 11px;
  background: #ffffff0c;
}
.learn-register .learn-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
}
.learn-register .learn-consent span {
  line-height: 1.45;
}
.learn-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
}
.learn-catalog,
.learn-ranking,
.phrase-section,
.learn-test-card,
.learn-result {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}
.learn-ranking {
  position: sticky;
  top: 95px;
}
.learn-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.learn-section-head small {
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0.08em;
}
.learn-section-head h1,
.learn-section-head h2 {
  margin: 5px 0 0;
}
.learn-season {
  margin-top: 30px;
}
.learn-season > header {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  margin-bottom: 13px;
}
.learn-season > header span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}
.learn-season h2 {
  margin: 0;
  font-size: 22px;
}
.learn-season p {
  margin: 4px 0 0;
  color: var(--sub);
}
.learn-season .season-progress {
  overflow: hidden;
  width: 100%;
  max-width: 320px;
  height: 6px;
  margin-top: 10px;
  border-radius: 99px;
  background: #e8ecf2;
}
.learn-season .season-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}
.learn-season > header small {
  display: block;
  margin-top: 5px;
  color: var(--sub);
  font-weight: 800;
}
.learn-season.season-complete > header span {
  color: #579900;
}
.learn-week-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.learn-week {
  overflow: hidden;
  padding: 0 0 17px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.learn-week:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: 0 14px 30px #1269ff16;
}
.learn-week.completed {
  border-color: #b9df80;
  background: #fbfff5;
}
.learn-week.completed span,
.learn-week.completed em {
  color: #579900;
}
.learn-week img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}
.learn-week span,
.learn-week b,
.learn-week p,
.learn-week em {
  display: block;
  margin-left: 16px;
  margin-right: 16px;
}
.learn-week span {
  margin-top: 13px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
}
.learn-week b {
  margin-top: 5px;
  font-size: 18px;
}
.learn-week p {
  min-height: 40px;
  font-size: 13px;
}
.learn-week em {
  margin-top: 12px;
  font-style: normal;
  font-weight: 900;
}
.ranking-head,
.ranking-row {
  display: grid;
  grid-template-columns: 42px 1fr 54px 60px;
  gap: 8px;
  align-items: center;
  padding: 10px 6px;
}
.ranking-head {
  border-bottom: 1px solid var(--line);
  color: var(--sub);
  font-size: 11px;
}
.ranking-row {
  border-bottom: 1px solid #eef0f3;
  font-size: 13px;
}
.ranking-row.me {
  margin: 0 -8px;
  padding-left: 14px;
  padding-right: 14px;
  border-radius: 10px;
  background: #edf4ff;
  color: var(--blue);
}
.ranking-row em {
  font-style: normal;
  color: var(--sub);
}
.ranking-row b {
  text-align: right;
}
.learn-empty {
  padding: 30px;
  text-align: center;
  color: var(--sub);
}
.lesson-mode {
  max-width: 1220px;
  margin: auto;
}
.learn-lesson-hero {
  position: relative;
  overflow: hidden;
  min-height: 370px;
  margin: 18px 0 24px;
  border-radius: 28px;
  background: #111;
  color: #fff;
}
.learn-lesson-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}
.learn-lesson-hero:after {
  content: "";
  position: absolute;
  inset: 30% 0 0;
  background: linear-gradient(transparent, #080b12dd);
}
.learn-lesson-hero div {
  position: absolute;
  z-index: 1;
  left: 38px;
  bottom: 34px;
  right: 38px;
}
.learn-lesson-hero h1 {
  margin: 8px 0;
  font-size: clamp(34px, 5vw, 58px);
}
.phrase-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.phrase-grid article {
  min-height: 220px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
}
.phrase-grid article > span {
  color: var(--blue);
  font-weight: 900;
}
.phrase-grid h3 {
  margin: 18px 0 8px;
  font-size: 22px;
}
.phrase-grid p {
  color: var(--sub);
  font-size: 13px;
}
.phrase-grid button {
  margin-top: auto;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  background: #edf4ff;
  color: var(--blue);
  font-weight: 800;
}
.learn-test-start {
  display: block;
  width: min(420px, 100%);
  margin: 25px auto 0;
}
.learn-test {
  max-width: 920px;
  margin: auto;
}
.learn-test-card {
  margin-top: 18px;
}
.quiz-question {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.quiz-question > small {
  color: var(--blue);
  font-weight: 900;
}
.quiz-question h2 {
  margin-bottom: 6px;
  white-space: pre-line;
}
.quiz-question > p {
  margin-top: 0;
  color: var(--sub);
  white-space: pre-line;
}
.quiz-question > span {
  display: block;
  margin: -2px 0 15px;
  color: var(--sub);
  font-size: 13px;
  white-space: pre-line;
}
.quiz-question > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.quiz-question button {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-align: left;
  font-weight: 700;
}
.quiz-question button.selected {
  border-color: var(--blue);
  background: #edf4ff;
  color: var(--blue);
}
.quiz-question i {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-right: 9px;
  border-radius: 7px;
  background: #f0f2f5;
  font-style: normal;
}
.learn-test-card > .primary {
  width: 100%;
}
.learn-result {
  max-width: 680px;
  margin: 50px auto 25px;
  text-align: center;
}
.learn-score-ring {
  width: 180px;
  height: 180px;
  margin: 22px auto;
  border: 14px solid #dce9ff;
  border-top-color: var(--blue);
  border-radius: 50%;
  display: grid;
  place-content: center;
}
.learn-score-ring b {
  font-size: 55px;
}
.learn-score-ring span {
  color: var(--sub);
}
.learn-result > div:last-child {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}
.learn-result button {
  padding: 13px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-weight: 900;
}
.learn-loading {
  min-height: calc(100vh - 80px);
  display: grid;
  place-content: center;
  gap: 16px;
  text-align: center;
}
.learn-loading span {
  width: 42px;
  height: 42px;
  margin: auto;
  border: 4px solid #dbe7ff;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 1050px) {
  .play-lab-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .start-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .learn-layout {
    grid-template-columns: 1fr;
  }
  .learn-ranking {
    position: static;
  }
  .phrase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .start-cards {
    grid-template-columns: 1fr;
  }
  .travel-dna-shell {
    padding: 12px;
  }
  .travel-intro,
  .travel-question,
  .travel-result {
    padding: 58px 18px 28px;
    border-radius: 20px;
  }
  .travel-options {
    grid-template-columns: 1fr;
  }
  .travel-actions {
    flex-direction: column;
  }
  .play-lab-shell {
    padding: 12px 12px 50px;
  }
  .play-lab-hero {
    min-height: 430px;
    border-radius: 22px;
  }
  .play-lab-hero::after {
    background: linear-gradient(180deg, #27205e44 20%, #27205edd 76%);
  }
  .play-lab-hero > div {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    padding: 24px;
  }
  .play-lab-heading {
    margin-top: 34px;
    align-items: flex-start;
    flex-direction: column;
  }
  .play-lab-grid {
    grid-template-columns: 1fr;
  }
  .balance-shell {
    padding: 10px;
  }
  .balance-intro,
  .balance-game,
  .balance-result {
    padding: 54px 16px 24px;
    border-radius: 20px;
  }
  .balance-top {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .balance-options {
    grid-template-columns: 1fr;
  }
  .balance-options > button {
    min-height: 230px;
  }
  .balance-game h1 {
    margin-top: 24px;
  }
  .learn-shell {
    padding: 18px 12px 50px;
  }
  .learn-register,
  .learn-profile {
    grid-template-columns: 1fr;
  }
  .learn-profile > div:not(:first-child) {
    padding: 0;
    border: 0;
  }
  .learn-register form,
  .learn-week-grid,
  .quiz-question > div {
    grid-template-columns: 1fr;
  }
  .phrase-grid {
    grid-template-columns: 1fr;
  }
  .learn-catalog,
  .learn-ranking,
  .phrase-section,
  .learn-test-card,
  .learn-result {
    padding: 18px;
    border-radius: 18px;
  }
  .learn-lesson-hero {
    min-height: 300px;
  }
  .learn-lesson-hero div {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }
}
.global-language select {
  border: 0;
  background: transparent;
  color: #111;
  font: inherit;
  outline: 0;
  cursor: pointer;
}
.global-language + .room-chip {
  margin-left: 0;
}
.test-korean {
  margin: 22px 0 7px !important;
  padding: 10px 13px;
  border-left: 3px solid var(--blue);
  border-radius: 0 9px 9px 0;
  background: #f1f5ff;
  color: #3c4b67 !important;
  font-weight: 750;
}
.test-options button > span {
  display: grid;
  gap: 3px;
  text-align: left;
}
.test-options button > span b {
  font-size: 16px;
}
.test-options button > span small {
  color: #6f7580;
  font-size: 13px;
  font-weight: 600;
}
.test-options button.selected > span small {
  color: #315ea9;
}
@media (max-width: 700px) {
  .global-language span {
    display: none;
  }
  .global-language {
    padding: 6px 8px;
  }
  .global-language select {
    max-width: 100px;
  }
  .test-options button > span b {
    font-size: 14px;
  }
  .test-options button > span small {
    font-size: 12px;
  }
}
html[lang="ko"] .test-korean,
html[lang="ko"] .test-options button > span small {
  display: none;
}
.supervisor-access {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #f7f8fa;
}
.supervisor-access summary {
  cursor: pointer;
  color: #535861;
  font-weight: 800;
}
.supervisor-access label {
  display: block;
  margin-top: 12px;
}
.supervisor-access small {
  display: block;
  margin-top: 7px;
  color: var(--sub);
}
.supervisor-access > p {
  margin: 10px 0 0;
  color: var(--sub);
  font-size: 13px;
  line-height: 1.5;
}
#request-supervisor-code {
  width: 100%;
  margin-top: 10px;
  padding: 11px 14px;
  border: 1px solid #b9d0ff;
  border-radius: 10px;
  background: #eef4ff;
  color: var(--blue);
  font-weight: 800;
  cursor: pointer;
}
#request-supervisor-code:disabled {
  cursor: wait;
  opacity: 0.65;
}
#supervisor-code-status {
  min-height: 18px;
}
.jitsi-window-fallback {
  display: block;
  margin-top: 9px;
  padding: 10px 12px;
  border: 1px solid #c9d8f6;
  border-radius: 10px;
  color: var(--blue);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.slide-controls > div {
  overflow-x: auto;
  justify-content: flex-start;
  padding: 3px;
  scrollbar-width: thin;
}
.interactive-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  gap: 9px;
  margin-top: 18px;
}
.interactive-options button {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fafafa;
  text-align: left;
  cursor: pointer;
  transition: 0.18s;
}
.interactive-options button:hover,
.interactive-options button.selected {
  border-color: var(--blue);
  background: #edf4ff;
  transform: translateY(-1px);
}
.interactive-options i {
  font-style: normal;
  font-size: 22px;
}
.interactive-options span {
  font-weight: 700;
}
.interactive-options small {
  margin-left: auto;
  color: var(--blue);
  font-size: 9px;
}
.response-done {
  margin-top: 10px !important;
  color: #168554 !important;
  font-size: 11px !important;
}
.response-bars {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}
.response-bars > div {
  display: grid;
  grid-template-columns: minmax(100px, 150px) 1fr 24px;
  align-items: center;
  gap: 10px;
  font-size: 11px;
}
.response-bars i {
  height: 9px;
  border-radius: 99px;
  background: #e9ebef;
  overflow: hidden;
}
.response-bars i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
  transition: width 0.35s;
}
.response-bars strong {
  text-align: right;
}
.private-role {
  margin-top: 17px;
  padding: 20px;
  border-radius: 16px;
  background: #111318;
  color: #fff;
  text-align: center;
}
.private-role > small {
  display: block;
  color: #8db5ff;
  font-size: 10px;
  letter-spacing: 0.08em;
}
.private-role > i {
  display: block;
  font-style: normal;
  font-size: 42px;
  margin: 10px;
}
.private-role h3 {
  font-size: 22px;
  margin: 4px;
}
.private-role p {
  color: #c8cbd1;
  margin: 8px !important;
}
.role-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 17px;
}
.role-overview span {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: #f4f6f9;
  border-radius: 12px;
}
.role-overview i {
  font-style: normal;
  font-size: 24px;
}
.role-overview small {
  color: var(--sub);
  line-height: 1.4;
}
.bilingual {
  display: grid;
  gap: 5px;
  margin-top: 16px;
  padding: 15px;
  background: #f1f6ff;
  border-radius: 12px;
}
.bilingual strong {
  font-size: 20px;
}
.bilingual span {
  color: var(--sub);
}
.kind-result .material-card {
  border-bottom: 5px solid var(--lime);
}
.kind-private .material-card {
  border-bottom: 5px solid var(--pink);
}
.kind-teaser .material-card {
  background: #111318;
  color: #fff;
}
.kind-teaser .material-card p {
  color: #c8cbd1;
}
@media (max-width: 620px) {
  .role-overview {
    grid-template-columns: 1fr;
  }
  .response-bars > div {
    grid-template-columns: 90px 1fr 20px;
  }
  .slide-controls > div button {
    flex: 0 0 31px;
  }
}
.listen {
  cursor: pointer;
  transition: 0.18s;
}
.listen.speaking {
  background: #111318;
  box-shadow: 0 0 0 4px rgba(20, 107, 255, 0.16);
}
@media (min-width: 961px) {
  .admin-grid {
    overflow: hidden;
  }
  .admin-grid .stage {
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 16px 27px;
  }
  .admin-grid .stage-head,
  .admin-grid .host-stats,
  .admin-grid .slide-controls {
    flex: 0 0 auto;
  }
  .admin-grid .stage-head h1 {
    font-size: 28px;
    margin: 2px 0 9px;
  }
  .admin-grid .host-stats {
    margin-bottom: 8px;
  }
  .admin-grid .host-stats span {
    padding: 7px 11px;
  }
  .admin-grid .slide-controls {
    margin-bottom: 8px;
  }
  .admin-grid .material-stage {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #d9dde1;
    display: grid;
    grid-template-rows: minmax(220px, 46%) minmax(0, 54%);
    gap: 0;
  }
  .admin-grid .material-stage .media {
    position: relative;
    height: 100%;
    min-height: 0;
    border-radius: 18px 18px 0 0;
    background: #17191d;
  }
  .admin-grid .material-stage .media img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
  }
  .admin-grid .material-card {
    position: relative;
    z-index: 2;
    margin: 0;
    max-height: none;
    min-height: 0;
    overflow: auto;
    padding: 17px 21px;
    border-radius: 0 0 18px 18px;
    box-shadow: none;
    backdrop-filter: none;
    scrollbar-width: thin;
  }
  .admin-grid .material-card h2 {
    font-size: clamp(22px, 2.2vw, 32px);
    margin: 7px 0 4px;
  }
  .admin-grid .material-card p {
    font-size: 12px;
    line-height: 1.4;
  }
  .admin-grid .material-card .bilingual {
    margin-top: 9px;
    padding: 10px 13px;
  }
  .admin-grid .material-card .bilingual strong {
    font-size: 17px;
  }
  .admin-grid .material-card .listen {
    margin-top: 8px;
    padding: 8px 12px;
  }
  .admin-grid .interactive-options,
  .admin-grid .response-bars,
  .admin-grid .role-overview {
    margin-top: 9px;
  }
  .admin-grid .interactive-options button {
    min-height: 52px;
    padding: 8px 10px;
  }
  .admin-grid .private-role {
    margin-top: 9px;
    padding: 12px;
  }
  .admin-grid .private-role > i {
    font-size: 28px;
    margin: 4px;
  }
  .admin-grid .answer-summary {
    position: absolute;
    right: 34px;
    top: 72px;
    z-index: 3;
  }
}

/* Teacher choice, lesson preview, and live-class collaboration */
.hub-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 30px 0 14px;
}
.hub-section-head small,
.host-collab-title small {
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0.14em;
}
.hub-section-head h2 {
  margin: 5px 0 0;
  font-size: clamp(23px, 3vw, 32px);
}
.hub-section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--sub);
}
.class-card.assigned {
  border-color: var(--blue);
  box-shadow: 0 12px 32px rgba(27, 105, 255, 0.11);
}
.lesson-heading {
  margin-top: 46px;
}
.lesson-library {
  display: grid;
  gap: 12px;
  padding-bottom: 40px;
}
.teacher-permissions {
  margin: 10px 0 42px;
  padding: 4px 22px 22px;
  border: 1px solid #dce3ee;
  border-radius: 22px;
  background: #fff;
}
.permission-list {
  display: grid;
  gap: 10px;
}
.permission-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) 2fr;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border-radius: 16px;
  background: #f7f8fa;
}
.permission-row > div:first-child {
  display: flex;
  align-items: center;
  gap: 11px;
}
.permission-row p {
  display: grid;
  gap: 3px;
  margin: 0;
}
.permission-row small {
  color: var(--sub);
}
.season-permissions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.season-permissions button {
  min-width: 48px;
  padding: 9px 10px;
  border: 1px solid #d9dde5;
  border-radius: 10px;
  background: #fff;
  color: #667085;
  font-weight: 850;
}
.season-permissions button.active {
  border-color: var(--blue);
  background: #eaf2ff;
  color: var(--blue);
}
.season-permissions button.locked {
  opacity: 1;
  cursor: default;
}
.season-access-note {
  margin: 8px 0 14px;
  padding: 9px 10px;
  border-radius: 9px;
  background: #edf4ff;
  color: #1957ba;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
}
.lesson-season {
  border: 1px solid #e1e5eb;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}
.lesson-season summary {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}
.lesson-season summary::-webkit-details-marker {
  display: none;
}
.lesson-season summary > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #edf4ff;
  color: var(--blue);
  font-weight: 900;
}
.lesson-season summary div {
  display: grid;
  gap: 4px;
}
.lesson-season summary small {
  color: var(--sub);
}
.lesson-season summary em {
  color: var(--blue);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}
.lesson-season[open] summary {
  border-bottom: 1px solid #e8ebf0;
}
.lesson-weeks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  background: #f8f9fb;
}
.lesson-weeks article {
  padding: 17px;
  border: 1px solid #e7e9ee;
  border-radius: 14px;
  background: #fff;
}
.lesson-weeks article > small {
  color: var(--blue);
  font-weight: 900;
}
.lesson-weeks h3 {
  margin: 8px 0 14px;
}
.lesson-weeks p {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 6px;
  margin: 8px 0;
  color: #555;
  font-size: 13px;
  line-height: 1.45;
}
.lesson-weeks p b {
  color: #111;
}
.lesson-weeks blockquote {
  margin: 14px 0 0;
  padding: 12px;
  border-radius: 10px;
  background: #edf4ff;
  color: #164ea8;
  font-weight: 800;
}
.host-collab {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}
.host-collab-title {
  display: grid;
  gap: 3px;
  padding: 2px 0 6px;
}
.host-collab .video-dock,
.host-collab .chat {
  border: 1px solid #e1e5eb;
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
}
.host-collab .video-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: 280px;
  overflow: auto;
}
.host-collab .self-video,
.host-collab .remote-seat {
  min-height: 88px;
}
.host-collab .messages {
  height: 82px;
  min-height: 82px;
  max-height: 82px;
}
.host-chat form input {
  min-width: 0;
}
.chat-translate-toolbar {
  display: grid;
  gap: 5px;
  padding: 9px 12px;
  border-bottom: 1px solid #e7eaf0;
  background: #f7f9fc;
}
.chat-translate-toolbar label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 850;
}
.chat-translate-toolbar select {
  min-width: 112px;
  padding: 6px 8px;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  background: #fff;
}
.chat-translate-toolbar small {
  color: #727987;
}
.chat-message {
  border-bottom: 1px solid #edf0f4;
}
.chat-message:last-child {
  border-bottom: 0;
}
.chat-translation {
  padding: 0 10px 8px;
}
.chat-translation span {
  display: block;
  padding: 7px 9px;
  border-radius: 8px;
  background: #eef4ff;
  color: #1859bd;
  font-size: 12px;
  line-height: 1.45;
}
.chat-translation button {
  padding: 5px 8px;
  border: 1px solid #cfe0ff;
  border-radius: 7px;
  background: #fff;
  color: #1265df;
  font-size: 11px;
  font-weight: 800;
}

.live-meeting-control {
  margin: 28px 0;
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid #c8d9ff;
  border-radius: 28px;
  background: linear-gradient(135deg, #0c1730, #173d86 62%, #216cff);
  color: #fff;
  box-shadow: 0 22px 60px rgba(20, 66, 150, 0.2);
}
.live-meeting-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}
.live-meeting-head small { color: #85b2ff; font-weight: 900; letter-spacing: .15em; }
.live-meeting-head h2 { margin: 8px 0; font-size: clamp(26px, 3vw, 42px); }
.live-meeting-head p { margin: 0; color: #d8e5ff; }
.meeting-stage { padding: 10px 16px; border-radius: 999px; background: #fff2; font-weight: 900; white-space: nowrap; }
.meeting-stage.assembly { background: #d7ffe5; color: #087834; }
.meeting-stage.breakouts { background: #fff1bf; color: #8a5500; }
.meeting-counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.meeting-counts span { padding: 17px; border: 1px solid #ffffff28; border-radius: 16px; background: #ffffff12; }
.meeting-counts b { display: block; font-size: 28px; }
.meeting-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.meeting-actions button { padding: 13px 16px; border: 1px solid #ffffff45; border-radius: 12px; background: #ffffff15; color: #fff; font-weight: 850; }
.meeting-actions button.primary { border-color: #fff; background: #fff; color: #1555c7; }
.meeting-actions button.danger { margin-left: auto; border-color: #ffb2b2; color: #ffd2d2; }
.meeting-actions button:disabled {
  border-color: #ffffff1f;
  background: #ffffff0d;
  color: #a9b8d4;
  cursor: not-allowed;
  opacity: .72;
}
.teacher-waiting { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: 14px; background: #ffffff16; }
.teacher-waiting i { width: 12px; height: 12px; border-radius: 50%; background: #ffd05a; box-shadow: 0 0 0 7px #ffd05a25; }
.admin-waiting-list { margin-top: 22px; padding-top: 20px; border-top: 1px solid #ffffff25; }
.admin-waiting-list article { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: center; padding: 10px 0; }
.admin-waiting-list time { color: #c8d9ff; }

.login-welcome-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 16, 34, .68);
  backdrop-filter: blur(10px);
}
.login-welcome-card {
  width: min(100%, 520px);
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid #d9e5ff;
  border-radius: 30px;
  background: #fff;
  color: #101522;
  text-align: center;
  box-shadow: 0 30px 90px rgba(5, 24, 65, .32);
}
.login-welcome-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: 0 auto 20px;
  border-radius: 22px;
  background: #176cff;
  color: #fff;
  font-size: 32px;
  font-weight: 900;
}
.login-welcome-card small { color: #176cff; font-weight: 900; letter-spacing: .14em; }
.login-welcome-card h2 { margin: 10px 0; font-size: clamp(28px, 5vw, 42px); }
.login-welcome-card p { margin: 0 0 24px; color: #596276; font-size: 18px; line-height: 1.65; }
.login-welcome-card button { width: 100%; min-height: 54px; margin-top: 10px; border: 1px solid #dce4f2; border-radius: 14px; background: #fff; color: #273247; font-weight: 900; }
.login-welcome-card button.primary { border-color: #176cff; background: #176cff; color: #fff; box-shadow: 0 12px 28px rgba(23, 108, 255, .24); }
.login-welcome-card em { display: block; margin-top: 18px; color: #7a8497; font-size: 13px; font-style: normal; }

@media (max-width: 700px) {
  .live-meeting-head { flex-direction: column; }
  .meeting-counts { grid-template-columns: 1fr; }
  .meeting-actions { display: grid; grid-template-columns: 1fr; }
  .meeting-actions button.danger { margin-left: 0; }
  .admin-waiting-list article { grid-template-columns: auto 1fr; }
  .login-welcome-card { padding: 28px 20px; border-radius: 22px; }
}

@media (max-width: 1100px) {
  .lesson-weeks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .permission-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .mobile-admin-nav {
    position: sticky;
    top: 70px;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
  }
  .mobile-admin-nav button {
    padding: 10px 5px;
    border: 1px solid #dce3ee;
    border-radius: 10px;
    background: #fff;
    color: #30343b;
    font-weight: 850;
  }
  #admin-controls,
  #admin-material,
  #admin-live {
    scroll-margin-top: 128px;
  }
  .hub-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .teacher-permissions {
    padding: 2px 14px 14px;
  }
  .lesson-season summary {
    grid-template-columns: 44px 1fr;
  }
  .lesson-season summary em {
    grid-column: 2;
  }
  .lesson-weeks {
    grid-template-columns: 1fr;
  }
}
