:root {
  color-scheme: light;
  --ink: #192e38;
  --muted: #69777e;
  --line: #e3e9e9;
  --green: #d0edac;
  --navy: #142c38;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f5f7f7;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #7caa55;
  outline-offset: 5px;
}
button {
  border: 0;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.3;
  letter-spacing: -0.035em;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 750;
  line-height: 1.35;
  font-size: 1.05rem;
}
.brand small {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-top: 4px;
  color: #7a878b;
}
.brand-mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 43px;
  height: 43px;
  background: var(--navy);
  color: var(--green);
  border-radius: 12px;
  font-family: Georgia, serif;
  font-size: 2.2rem;
  font-weight: 500;
  padding-bottom: 5px;
}
.light {
  color: #fff;
}
.light small {
  color: #b5c6cb;
}
.light .brand-mark {
  background: #d0edac;
  color: var(--navy);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  padding: 12px 27px;
  font-weight: 650;
  font-size: 1rem;
  transition:
    background 0.18s,
    transform 0.18s;
}
.button:hover {
  transform: translateY(-1px);
}
.primary {
  background: var(--navy);
  color: #fff;
}
.primary:hover {
  background: #234653;
}
.login-page {
  background: #fff;
}
.login-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100dvh;
}
.login-story {
  background: var(--navy);
  color: #fff;
  padding: 42px 55px 25px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.story-copy {
  margin-top: 78px;
  z-index: 1;
}
.story-copy .eyebrow {
  font-size: 0.75rem;
  color: #b8d2ba;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}
.story-copy h1 {
  font-size: clamp(2.25rem, 3.4vw, 3.75rem);
  line-height: 1.4;
  font-weight: 550;
  letter-spacing: 0.015em;
  margin-bottom: 25px;
}
.story-copy > p:last-child {
  font-size: 0.9rem;
  color: #b6c8ca;
  line-height: 2;
}
.word-art {
  margin: 55px 0 45px;
  position: relative;
  min-height: 170px;
  border-top: 1px solid #ffffff24;
  padding-top: 8px;
  max-width: 490px;
}
.art-word {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 6.4rem;
  letter-spacing: -0.07em;
  color: #d0edac;
  line-height: 1.5;
}
.art-caption {
  display: block;
  font-size: 0.78rem;
  color: #afc5c8;
  letter-spacing: 0.05em;
}
.art-dot {
  position: absolute;
  right: 4%;
  top: 51px;
  width: 68px;
  height: 68px;
  border: 1px solid #bad49b66;
  border-radius: 50%;
  box-shadow:
    0 0 0 22px #bad49b0c,
    0 0 0 45px #bad49b08;
}
.story-footer {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: #96b1b6;
  margin-top: auto;
  margin-bottom: 0;
}
.login-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 75px 45px;
  position: relative;
  background: #fbfcfb;
}
.login-form-wrap {
  width: 100%;
  max-width: 350px;
}
.login-form-wrap .eyebrow {
  color: #8b9a8c;
  font-size: 0.75rem;
  margin-bottom: 18px;
  letter-spacing: 0.16em;
}
.login-form-wrap h2 {
  font-size: 1.85rem;
  font-weight: 650;
  margin-bottom: 14px;
}
.login-intro {
  font-size: 0.9rem;
  margin-bottom: 38px;
}
.login-form {
  display: flex;
  flex-direction: column;
}
.login-form label {
  font-size: 0.875rem;
  font-weight: 550;
  margin: 0 0 9px;
}
.login-form input {
  width: 100%;
  height: 50px;
  background: #fff;
  border: 1px solid #dbe2e0;
  border-radius: 7px;
  padding: 0 14px;
  outline: none;
  color: var(--ink);
  margin-bottom: 22px;
  font-size: 1rem;
}
.login-form input:focus {
  border-color: #6c9280;
  box-shadow: 0 0 0 3px #6c928012;
}
.login-form input::placeholder {
  color: #a6b0af;
  font-size: 0.875rem;
}
.login-form input:last-of-type {
  margin-bottom: 0;
}
.error-space {
  min-height: 46px;
  display: flex;
  align-items: center;
}
.error {
  font-size: 0.8rem;
  color: #a43e36;
  margin: 8px 0;
}
.login-note {
  text-align: center;
  color: #8b9793;
  font-size: 0.75rem;
  margin-top: 25px;
}
.lock-icon {
  font-size: 0.8rem;
  color: #6c8a75;
}
.form-footer {
  position: absolute;
  bottom: 27px;
  color: #9aa6a1;
  font-size: 0.8rem;
  font-family: Georgia, serif;
  font-style: italic;
  margin: 0;
}
@media (max-width: 1100px) {
  .login-story {
    padding: 35px;
  }
  .story-copy {
    margin-top: 60px;
  }
}
@media (max-width: 760px) {
  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    font-size: 1.9rem;
  }
  .brand {
    font-size: 0.92rem;
    gap: 9px;
  }
  .brand small {
    font-size: 0.75rem;
  }
  .login-layout {
    grid-template-columns: 1fr;
  }
  .login-story {
    padding: 24px;
    min-height: 265px;
  }
  .story-copy {
    margin-top: 30px;
  }
  .story-copy .eyebrow {
    font-size: 0.75rem;
    margin-bottom: 11px;
  }
  .story-copy h1 {
    font-size: 1.8rem;
    margin-bottom: 11px;
  }
  .story-copy > p:last-child,
  .story-footer {
    display: none;
  }
  .word-art {
    position: absolute;
    right: 20px;
    top: 100px;
    min-height: 0;
    width: 90px;
    border: 0;
    margin: 0;
    transform: rotate(-9deg);
  }
  .art-word {
    font-size: 2.7rem;
    opacity: 0.55;
  }
  .art-caption,
  .art-dot {
    display: none;
  }
  .login-form-panel {
    padding: 35px 26px 74px;
    min-height: 520px;
    justify-content: flex-start;
  }
  .login-form-wrap .eyebrow {
    display: none;
  }
  .login-form-wrap h2 {
    font-size: 1.5rem;
  }
  .login-intro {
    margin-bottom: 26px;
  }
  .form-footer {
    bottom: 22px;
  }
  .login-note {
    font-size: 0.75rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
.entry-page {
  color-scheme: dark;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: #edf1ed;
  background:
    radial-gradient(ellipse at 80% 0%, #213b3e 0%, transparent 55%), #101e24;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", "WenQuanYi Zen Hei", sans-serif;
}
.entry-topbar {
  width: min(100% - 80px, 1120px);
  min-height: 100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ffffff10;
}
.entry-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  font-weight: 600;
  color: #bfccca;
}
.entry-monogram {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #a6beac55;
  border-radius: 10px;
  font-family: Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 1;
  padding: 0 2px 4px 0;
  color: #d1e2ba;
}
.entry-logout {
  padding: 9px 15px;
  border: 1px solid #ffffff1c;
  border-radius: 30px;
  color: #b8c5c3;
  background: transparent;
  font-size: 0.875rem;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.entry-logout:hover {
  color: #fff;
  border-color: #ffffff66;
}
.entry-panel {
  width: min(100% - 80px, 960px);
  margin: auto;
  padding: 64px 0 100px;
}
.entry-header {
  margin-bottom: 36px;
}
.entry-header p {
  margin: 0 0 13px;
  color: #a4b7b2;
  font-size: 0.75rem;
  font-weight: 550;
  letter-spacing: 0.15em;
}
.entry-header h1 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 550;
  letter-spacing: -0.04em;
}
.entry-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.entry-card {
  overflow: hidden;
  border: 1px solid #ffffff13;
  border-radius: 20px;
  background: #1b2b31;
  box-shadow: 0 16px 35px #07111625;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
}
.entry-card:hover {
  transform: translateY(-5px);
  border-color: #adc4b45c;
  box-shadow: 0 24px 45px #07111655;
}
.entry-card:active {
  transform: translateY(-1px);
}
.entry-art {
  position: relative;
  height: 262px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.vocabulary-art {
  background: linear-gradient(125deg, #d7e4c9, #a7c8bb);
  color: #254938;
}
.vocabulary-orbit {
  position: absolute;
  width: 330px;
  height: 330px;
  border: 1px solid #45695024;
  border-radius: 50%;
  transform: translate(62px, 62px);
  box-shadow:
    0 0 0 34px #45695009,
    0 0 0 68px #45695006;
}
.word-sheet {
  position: relative;
  width: 170px;
  padding: 19px 23px 22px;
  background: #f8faf1;
  border: 1px solid #ffffffa8;
  border-radius: 7px;
  box-shadow:
    7px 11px 0 #edf3e673,
    10px 22px 32px #284e3829;
  transform: rotate(-9deg);
  transition: transform 0.35s;
}
.sheet-caption {
  display: block;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
}
.sheet-letter {
  display: block;
  margin: 3px -5px 11px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 6rem;
  line-height: 1.15;
  letter-spacing: -0.08em;
}
.sheet-rule {
  display: block;
  width: 30px;
  height: 2px;
  margin-bottom: 9px;
  background: #71936c;
}
.sheet-word {
  font-family: Georgia, serif;
  font-size: 0.8rem;
  font-style: italic;
  color: #58705a;
  white-space: nowrap;
}
.vocabulary-spark {
  position: absolute;
  top: 48px;
  left: calc(50% + 100px);
  width: 43px;
  height: 43px;
  color: #507d62;
  transform: rotate(14deg);
}
.practice-art {
  background: linear-gradient(125deg, #dae4ed, #b5cbd5);
  color: #304e64;
}
.test-sheet-back {
  position: absolute;
  width: 169px;
  height: 186px;
  margin: 12px 0 0 -34px;
  border: 1px solid #ffffff70;
  border-radius: 6px;
  background: #f1f5f4b3;
  transform: rotate(-9deg);
}
.test-sheet {
  position: relative;
  width: 174px;
  padding: 20px;
  border: 1px solid #ffffffa8;
  border-radius: 6px;
  background: #f8faf8;
  box-shadow: 9px 18px 30px #344b6324;
  transform: rotate(8deg);
  transition: transform 0.35s;
}
.test-sheet .sheet-caption {
  max-width: 120px;
  line-height: 1.3;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: #6e8491;
}
.test-title {
  display: block;
  margin: 9px 0 16px;
  font-family: Georgia, serif;
  font-size: 2.1rem;
  letter-spacing: 0.02em;
  line-height: 1;
}
.test-answer {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 9px;
}
.test-answer span {
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border: 1px solid #b6c8cf;
  border-radius: 3px;
  font-family: sans-serif;
  font-size: 0.75rem;
  line-height: 1;
}
.test-answer i {
  height: 4px;
  flex: 1;
  border-radius: 4px;
  background: #d5dfe2;
}
.test-answer:last-child i {
  flex: 0.7;
}
.test-pencil {
  position: absolute;
  width: 11px;
  height: 135px;
  left: calc(50% + 100px);
  top: 90px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(
    90deg,
    #46657a 0 45%,
    #63889c 45% 70%,
    #34566b 70%
  );
  box-shadow: 5px 5px 10px #2b48522b;
  transform: rotate(25deg);
}
.test-pencil::after {
  content: "";
  position: absolute;
  bottom: -17px;
  left: 0;
  border-left: 5.5px solid transparent;
  border-right: 5.5px solid transparent;
  border-top: 17px solid #c0ab83;
}
.entry-card:hover .word-sheet {
  transform: translateY(-3px) rotate(-5deg);
}
.entry-card:hover .test-sheet {
  transform: translateY(-3px) rotate(4deg);
}
.entry-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 28px 28px;
}
.entry-category {
  display: block;
  color: #a9bdb8;
  font-size: 0.75rem;
  font-weight: 550;
  letter-spacing: 0.13em;
}
.entry-practice .entry-category {
  color: #a7bccb;
}
.entry-card h2 {
  margin: 6px 0 0;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.entry-open {
  padding: 7px 12px;
  border: 1px solid #c5d3cc33;
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 450;
  color: #cddad4;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.entry-card:hover .entry-open {
  background: #d0e2c619;
  border-color: #c5d3cc88;
}
@media (max-width: 620px) {
  .entry-topbar {
    width: calc(100% - 40px);
    min-height: 80px;
  }
  .entry-logo {
    gap: 10px;
    letter-spacing: 0.08em;
  }
  .entry-panel {
    width: calc(100% - 40px);
    padding: 35px 0 40px;
  }
  .entry-header {
    margin-bottom: 26px;
  }
  .entry-header h1 {
    font-size: 2rem;
  }
  .entry-header p {
    letter-spacing: 0.1em;
    margin-bottom: 10px;
  }
  .entry-links {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .entry-art {
    height: 190px;
  }
  .word-sheet,
  .test-sheet,
  .test-sheet-back {
    scale: 0.78;
  }
  .vocabulary-spark {
    top: 32px;
    left: calc(50% + 80px);
    width: 32px;
    height: 32px;
  }
  .test-pencil {
    left: calc(50% + 80px);
    top: 52px;
    height: 112px;
  }
  .entry-card-footer {
    padding: 18px 22px 21px;
  }
  .entry-card h2 {
    font-size: 1.4rem;
  }
}
