@charset "UTF-8";
:root {
  --bp-xs: 22rem;
  --bp-sm: 45rem;
  --bp-md: 60rem;
  --bp-lg: 75rem;
  --bp-xl: 90rem;
}

:root {
  --font-default: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, system-ui, Roboto,
  'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Malgun Gothic',
  'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
}

:root {
  --container-width: 960px;
  --header-height: 6rem;
}
@media screen and (max-width: 719px) {
  :root {
    --header-height:4rem;
  }
}

:root {
  --stack-modal: 9999;
  --stack-cookie: 8888;
  --stack-nav: 7777;
  --stack-panel: 6666;
  --stack-popover: 5555;
  --stack-popup: 4444;
}

:root {
  --form-height: 2.5em;
  --color-theme: #2196F3;
  --color-base: #FFFFFF;
  --color-font-body: #333333;
  --color-font-heading: #000000;
  --color-form-base: #f4f4f4;
  --color-form-border: hsla(0 0% 0% / 0.1);
  --color-dialog-base: #ffffff;
  --color-dialog-border: #000000;
}

:root[data-theme=light] {
  color-scheme: light;
}

@media screen {
  :root[data-theme=dark] {
    color-scheme: dark;
    --color-base: #222222;
    --color-font-body: #eeeeee;
    --color-font-heading: #ffffff;
    --color-form-base: #333333;
    --color-form-border: #888888;
    --color-dialog-base: #333333;
    --color-dialog-border: #888888;
  }
}

@layer reset {
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
    font: inherit;
  }
  *::before, *::after {
    box-sizing: border-box;
  }
  html, body {
    -webkit-font-smoothing: antialiased;
  }
  html {
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    color-scheme: dark light;
  }
  body {
    min-width: 320px;
    min-height: 100vh;
  }
  body::before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    margin-block-start: -1px;
  }
  img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
  }
  input, button, textarea, select {
    border-radius: 0;
    font: inherit;
  }
  input:disabled, button:disabled, textarea:disabled, select:disabled {
    cursor: auto;
  }
  button, select {
    cursor: pointer;
  }
  h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    text-wrap: balance;
  }
  h1, h2, h3, h4, h5, h6, p {
    overflow-wrap: break-word;
  }
  h1, h2, h3, h4, h5, h6, button, input, label {
    line-height: 1.1;
  }
  dialog {
    margin: auto;
  }
  ol:not([role=list]), ul:not([role=list]) {
    list-style: none;
    padding-inline-start: 0;
  }
  table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }
}
body {
  font-family: var(--font-default);
  font-display: swap;
  line-height: 1.5;
  background-color: var(--color-base);
  color: var(--color-font-body);
}

h1 {
  --step: 5;
}

h2 {
  --step: 4;
}

h3 {
  --step: 3;
}

h4 {
  --step: 2;
}

h5 {
  --step: 1;
}

h6 {
  --step: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-size: calc(1em + var(--step, 0) * 0.25em);
  font-weight: 800;
  margin-block-start: 1em;
  margin-block-end: 0.5em;
  color: var(--color-font-heading);
}

p {
  margin-block: 0.5em;
}

a {
  color: inherit;
}
a:hover, a:active {
  color: hsl(from var(--color-theme) h s 45%);
}
a:focus {
  background-color: var(--color-theme);
  color: var(--color-base);
}

ol[role=list], ul[role=list] {
  padding-inline-start: 1em;
}

svg {
  width: 1.5em;
}

button,
input:not([type=checkbox], [type=radio], [type=range]) {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

button.form,
input.form:not([type=checkbox], [type=radio], [type=range]),
label.form:has([type=checkbox], [type=radio], [type=range]),
select.form {
  min-height: 1.75em;
  padding-inline: 0.5em;
  vertical-align: middle;
}

button.form,
input.form:not([type=checkbox], [type=radio], [type=range]),
select.form,
textarea.form {
  background-color: var(--color-form-base);
  border: 1px solid var(--color-form-border);
}

label.form:has([type=radio], [type=checkbox]) input {
  margin-inline-end: 0.25em;
}
label.form:has([type=radio], [type=checkbox]) + label:has([type=radio], [type=checkbox]) {
  margin-inline-start: 0.5em;
}
label.form:has([type=radio], [type=checkbox]):hover {
  text-decoration: underline;
}

button,
label:has([type=checkbox], [type=radio], [type=range]) {
  display: inline-flex;
  align-items: center;
  color: inherit;
  cursor: pointer;
}

input:is([type=checkbox], [type=radio], [type=range]) {
  accent-color: var(--color-theme);
}

:root {
  --header-height: 6rem;
  --header-height-mobile: 4rem;
}

.nav-button {
  background-color: transparent;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100vw;
  width: 3em;
  height: 3em;
}
.nav-button .icon {
  width: 1.5em;
  height: 1.5em;
}
.nav-button:hover {
  background-color: var(--color-base);
}

body:has(#menu-toggle:checked) {
  overflow: hidden;
}

header {
  background-color: #fff;
}
header .container {
  display: flex;
  align-items: center;
  height: var(--header-height);
}
header .menu-toggle {
  display: none;
}
header .menu-toggle input {
  display: none;
}
header .menu-toggle input ~ .menu {
  display: inline-block;
}
header .menu-toggle input ~ .close {
  display: none;
}
header .menu-toggle input:checked ~ .menu {
  display: none;
}
header .menu-toggle input:checked ~ .close {
  display: inline-block;
}
header .menu-toggle:has(input:checked) ~ nav {
  left: 0;
  opacity: 1;
}
header .logo {
  display: block;
  background-color: transparent;
  padding-inline: 1rem;
}
header .logo img {
  height: 3rem;
}
header .logo:hover, header .logo:active, header .logo:focus-visible, header .logo:visited {
  background-color: transparent;
}
header nav ul {
  display: flex;
  align-items: center;
  gap: 1em;
}
header nav ul li {
  position: relative;
}
header nav ul li:last-child > ul {
  right: -1rem;
  margin-left: 0;
}
header nav ul li > a {
  display: block;
  border-radius: 1.5rem;
  padding-block: 0.25em;
  padding-inline: 0.75em;
  text-decoration: none;
  font-weight: 600;
}
header nav ul li > a.active {
  background-color: var(--color-theme);
  color: #fff;
}
header nav ul li ul {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s;
  margin-left: -0.5em;
  gap: 0;
}
header nav ul li ul li {
  display: none;
}
header nav ul li label {
  cursor: pointer;
  font-weight: 600;
}
header nav ul li label .icon {
  display: none;
}
header nav ul li label input {
  display: none;
}
header nav ul li label:has(input:checked) + ul {
  visibility: visible;
  opacity: 1;
  position: absolute;
  z-index: 99;
  display: flex;
  min-width: 10em;
  flex-direction: column;
  align-items: flex-start;
  background-color: #fff;
  border-radius: var(--unit-abs);
  box-shadow: 0 0 1em rgba(0, 0, 0, 0.1);
  margin-top: 0.5rem;
  padding-block: 0.5em;
}
header nav ul li label:has(input:checked) + ul li {
  display: block;
  width: 100%;
}
header nav ul li label:has(input:checked) + ul li a {
  display: block;
  font-size: 0.875em;
  font-weight: 400;
  padding-block: 0.5em;
  padding-inline: 1em;
}
header nav ul li label:has(input:checked) + ul li a:hover {
  color: #000;
  text-decoration: underline;
}
@media screen and (max-width: 719px) {
  header .container {
    flex-direction: row-reverse;
    justify-content: space-between;
    height: 4rem;
    padding-inline: 0.25rem;
  }
  header .menu-toggle {
    display: inline-flex;
  }
  header .logo img {
    height: 2.5rem;
  }
  header .flex-space {
    display: none;
  }
  header nav {
    position: absolute;
    inset: 0;
    top: var(--header-height-mobile);
    width: 100vw;
    left: -100vw;
    z-index: var(--stack-nav);
    opacity: 0;
    transition: opacity 0.2s;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(1em);
    overflow-y: auto;
  }
  header nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  header nav ul li {
    width: 100%;
    background-color: #fff;
    border-top: 1px solid #eee;
  }
  header nav ul li > a {
    display: block;
    width: 100%;
    padding: 1.25rem;
  }
  header nav ul li label .icon {
    display: none;
  }
  header nav ul li label {
    display: block;
    width: 100%;
    padding: 1.25rem !important;
  }
  header nav ul li label:has(input:checked) + ul {
    position: static;
    background-color: var(--color-base);
    border-radius: 0;
    box-shadow: none;
    margin-top: 0;
    margin-left: 0;
    padding-block: 0;
  }
  header nav ul li label:has(input:checked) + ul li {
    background-color: #f4f4f4;
  }
  header nav ul li label:has(input:checked) + ul li a {
    display: block;
    padding-block: 1rem;
    padding-inline: 2rem;
  }
  header nav ul li label:has(input:checked) + ul li:last-child {
    border-bottom: 1px solid #eee;
  }
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body main {
  flex: 1;
}

.container {
  max-width: 960px;
  margin-inline: auto;
  padding-inline: 1rem;
}

.sub-header h1 {
  font-weight: 300;
}
.sub-header h1 span {
  display: inline-block;
  position: relative;
}
.sub-header h1 span:after {
  content: "";
  display: block;
  position: absolute;
  bottom: -0.25em;
  height: 0.75em;
  width: 100%;
  background-color: yellow;
  z-index: -1;
}
.sub-header p {
  font-size: 0.875em;
  font-weight: 400;
  margin-block-start: 1em;
}

.sub-container {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1.5rem;
  height: 100%;
  border-top: 1px dashed #ddd;
  margin-block-start: 1.5rem;
  padding-block-start: 1.5rem;
}

.sub-nav {
  align-self: start;
  position: sticky;
  top: 2rem;
  font-size: 0.875em;
}
.sub-nav .sub-nav-title {
  display: flex;
  align-items: center;
  height: 2.125rem;
  background-color: var(--color-theme);
  background: linear-gradient(90deg, var(--color-theme) 0%, hsl(from var(--color-theme) h s 65%) 100%);
  border-radius: 0.5rem;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  padding-inline: 1rem;
}
.sub-nav ul {
  display: flex;
  flex-direction: column;
  margin-block-start: 0.5rem;
}
.sub-nav ul li a {
  display: block;
  border-radius: 0.5rem;
  color: #666;
  padding-block: 0.5rem;
  padding-inline: 1rem;
  text-decoration: none;
}
.sub-nav ul li a:hover {
  color: #000;
}
.sub-nav ul li a.active {
  background-color: #f4f4f4;
  color: #000;
  font-weight: 500;
}

:root {
  --duration: 450ms;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 12px;
  --radius-btn: 50%;
}

.carousel {
  position: relative;
  width: 100%;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-ui);
  background-color: #eee;
}

.carousel-track {
  display: flex;
  /* transition controlled via JS */
}

.carousel-slide {
  min-width: 100%;
  padding: 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 260px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.carousel-slide-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
  font-family: "Courier New", monospace;
}

.carousel-slide-title {
  font-size: 26px;
  font-weight: normal;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.carousel-slide-desc {
  font-size: 15px;
  line-height: 1.7;
  max-width: 380px;
  font-family: "Georgia", serif;
}

/* ================================
   Navigation buttons (prev / next)
   ================================ */
.carousel-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 14px;
}

.carousel-btn {
  width: 38px;
  height: 38px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: opacity 0.2s, transform 0.1s;
}

.carousel-btn:active:not(:disabled) {
  transform: scale(0.93);
}

.carousel-btn:disabled {
  opacity: 0.22;
  cursor: not-allowed;
  pointer-events: none;
}

/* ================================
   Dot navigation
   ================================ */
.carousel-dots {
  position: absolute;
  inset: 0;
  top: auto;
  bottom: 1rem;
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 1.1rem;
  min-height: 8px;
}

.carousel-dot {
  width: 8px !important;
  height: 8px !important;
  min-height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.22s;
}

.carousel-dot.is-active {
  background: #000;
  transform: scale(1.4);
}

.carousel-dot:disabled {
  cursor: not-allowed;
}

details {
  --marker: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m8.25 4.5 7.5 7.5-7.5 7.5'/%3E%3C/svg%3E");
  --marker-size: 0.625em;
  --marker-gap: 0.5em;
}
details::details-content {
  display: block;
  opacity: 0.6;
  transition: opacity 0.3s;
}
details summary {
  display: flex;
  align-items: center;
  gap: var(--marker-gap);
  cursor: pointer;
  list-style: none;
}
details summary::before {
  content: "";
  display: block;
  width: var(--marker-size);
  aspect-ratio: 1;
  background-color: var(--color-font-body);
  -webkit-mask-image: var(--marker);
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-image: var(--marker);
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  transition: rotate 0.2s;
}
details .content {
  padding-inline-start: calc(var(--marker-size) + var(--marker-gap));
}
details[open]::details-content {
  opacity: 1;
}
details[open] summary::before {
  rotate: 90deg;
}

dialog {
  display: none;
  background-color: var(--color-dialog-base);
  border: 1px solid var(--color-dialog-border);
  color: inherit;
  min-width: 20rem;
  overflow: hidden;
}
dialog[open] {
  display: block;
}
dialog[open], dialog[open]::backdrop {
  animation: fadeIn 0.2s;
}
dialog .header, dialog .footer {
  display: flex;
  align-items: center;
}
dialog .header {
  justify-content: space-between;
}
dialog .body {
  padding: 1rem;
}
dialog.modal {
  max-width: calc(100% - 2rem);
  max-height: calc(100% - 2rem);
  z-index: var(--stack-modal);
}
dialog.modal .body {
  flex: 1;
  overflow-y: auto;
}
dialog.modal.expand {
  border-radius: 0;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}
dialog.cookie, dialog.panel {
  position: fixed;
  inset: 0;
}
dialog.cookie {
  margin-block-end: 0;
  width: 100%;
  z-index: var(--stack-cookie);
}
dialog.panel {
  margin-inline-end: 0;
  height: 100%;
  min-width: 19rem;
  max-width: 44rem;
  z-index: var(--stack-panel);
}
dialog.panel .container {
  min-height: 100%;
}
dialog.panel.on-left {
  margin-block-start: 0;
}
dialog.popup {
  position: absolute;
  inset: 0;
  z-index: var(--stack-popup);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
body:has(.modal[open]) {
  overflow: hidden;
}

.modal {
  border-radius: 1.5rem;
  border: none;
  padding: 1rem;
  padding-block-start: 2rem;
  box-shadow: 0 0 3em hsla(0, 0%, 0%, 0.1);
  text-align: center;
}
.modal .footer {
  gap: 0.5em;
  margin-block-start: 1.5em;
}
.modal .footer button {
  flex: 1 1 auto;
  justify-content: center;
  border: none;
  border-radius: 0.75em;
  padding-block: 1em;
}
.modal .footer button.perform-logout {
  background-color: var(--color-theme);
  color: #fff;
}
.modal[open]::backdrop {
  background-color: hsla(0, 0%, 90%, 0.4);
  backdrop-filter: blur(1.5em);
}

#send-data .body {
  font-size: 0.875em;
}
#send-data .body .loading {
  margin-block-start: 1em;
  margin-inline: auto;
}

#panel-result[open] {
  width: clamp(320px, 100%, 720px);
  border: none;
  box-shadow: 0 0 4em hsla(0, 0%, 0%, 0.2);
  background-color: hsla(0, 100%, 100%, 0.7);
  backdrop-filter: blur(1em);
  display: flex;
  flex-direction: column;
}
#panel-result[open] .header {
  font-size: 1.5em;
  font-weight: 600;
  margin-inline-start: 1rem;
}
#panel-result[open] .header button {
  background-color: #fff;
  border: none;
  border-radius: 100%;
  margin: 0.5rem;
  padding: 0.5rem;
}
#panel-result[open] .header button svg {
  width: 2rem;
  stroke-width: 2;
}
#panel-result[open] .header button:hover {
  background-color: #eee;
}
#panel-result[open] .body {
  flex: 1;
  overflow-y: auto;
}

.shelf {
  --book-height: 8.75rem;
}
.shelf .book {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  border-top: 1px solid #eee;
  margin-block-start: 1rem;
  padding-block-start: 1rem;
}
.shelf .book .book-week {
  color: #888;
  font-size: 0.625rem;
  text-align: center;
}
.shelf .book .book-week span {
  display: block;
  color: #000;
  font-size: 1rem;
  font-weight: 700;
}
.shelf .book .book-img {
  height: var(--book-height);
  position: relative;
  aspect-ratio: 80/120;
}
.shelf .book .book-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  height: var(--book-height);
  flex: 1;
}
.shelf .book .book-info .content {
  flex: 1;
}
.shelf .book .book-info .content .title {
  font-weight: bold;
}
.shelf .book .book-info .content .publisher {
  color: #888;
  font-size: 0.75em;
  margin-block-end: 0.25em;
}
.shelf .book .book-info .content .author {
  font-size: 0.875em;
  font-weight: 500;
  margin-block-start: 0.25em;
}
.shelf .book .buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
}
.shelf .book .buttons button {
  border: 1px solid rgba(0, 0, 0, 0);
  border-radius: 100vw;
  font-size: 0.75em;
  font-weight: 600;
  padding: 0.75em 1.25em;
  transition: all 0.1s ease;
}
.shelf .book .buttons button[data-unit-category=VOCAB] {
  background-color: hsl(from var(--color-voca) h s l/0.15);
  color: hsl(from var(--color-voca) h s 45%);
}
.shelf .book .buttons button[data-unit-category=VOCAB]:hover {
  background-color: var(--color-voca);
}
.shelf .book .buttons button[data-unit-category=READING] {
  background-color: hsl(from var(--color-reading) h s l/0.15);
  color: var(--color-reading);
}
.shelf .book .buttons button[data-unit-category=READING]:hover {
  background-color: var(--color-reading);
}
.shelf .book .buttons button:hover {
  color: #fff;
}
.shelf .book:first-child {
  border-block-start: none;
  margin-block-start: 0;
  padding-block-start: 0;
}

.login {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.login h1 {
  margin-block-start: 0;
  margin-block-end: 1.5em;
}
.login form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: clamp(20rem, 100%, 25rem);
  padding-inline: 1rem;
}
.login input, .login button {
  border-radius: 100vw;
  font-size: 1rem;
  height: 3rem;
  padding-inline: 1.5em;
}
.login label {
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  padding-inline: 0.5em;
}
.login input {
  background-color: var(--color-form-base);
  border: 1px solid var(--color-form-border);
  margin-block-end: 0.5em;
}
.login button {
  background-color: var(--color-theme);
  border: none;
  color: #fff;
  font-weight: 600;
  justify-content: center;
}
.login button:hover {
  background-color: hsla(from var(--color-theme) h s 40%/1);
}

:root {
  --color-reading: rgb(167, 66, 167);
  --color-voca: rgb(255, 145, 0);
  --color-green: hsl(150, 100%, 40%);
  --color-red: hsl(351, 98%, 55%);
  /* 매칭 본드 컬러 */
  --match-color-1: #e95b1e;
  --match-color-2: #FFC107;
  --match-color-3: #6ea430;
  --match-color-4: #3f70b5;
  --match-color-5: #673AB7;
  --match-color-6: #00BCD4;
  --quiz-transition-ms: 450ms;
  --quiz-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --quiz-transition-ms: 1ms;
  }
}
#quiz {
  display: relative;
}

#quiz-intro {
  position: absolute;
  inset: 0;
  top: var(--header-height);
  z-index: 100;
  background-color: hsla(0, 100%, 100%, 0.9);
  backdrop-filter: blur(1em);
  display: grid;
  place-items: center;
  overflow: hidden;
}
#quiz-intro .page {
  max-width: var(--container-width);
  padding: 2rem;
  margin-block-end: var(--header-height);
  border-radius: 1rem;
  box-shadow: rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px, rgba(17, 17, 26, 0.1) 0px 24px 80px;
}
#quiz-intro .page .content, #quiz-intro .page button {
  position: absolute;
  width: 0;
  height: 0;
  visibility: hidden;
}
#quiz-intro .page .content.show, #quiz-intro .page button.show {
  visibility: visible;
  position: static;
  width: auto;
  height: auto;
}
#quiz-intro .page .buttons {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  margin-block-start: 2rem;
}
#quiz-intro .page .buttons button {
  background-color: #fff;
  border: 1px solid var(--color-theme);
  border-radius: 100vw;
  color: var(--color-theme);
  cursor: pointer;
  padding: 0.5em 1em;
  transition: background-color 0.1s ease;
}
#quiz-intro .page .buttons button:hover {
  background-color: var(--color-theme);
  color: #fff;
  font-weight: 500;
}

#quiz-content .quiz-progress {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  margin-block-start: 0.5rem;
  margin-block-end: 1.25rem;
}
#quiz-content .quiz-progress .progress-current, #quiz-content .quiz-progress .progress-bar, #quiz-content .quiz-progress .progress-timer {
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100vw;
  box-shadow: 0 0 1.25rem rgba(0, 0, 0, 0.1);
}
#quiz-content .quiz-progress .progress-current, #quiz-content .quiz-progress .progress-timer {
  padding-inline: 1.5em;
  font-weight: 700;
}
#quiz-content .quiz-progress .progress-bar {
  flex: 1;
}
#quiz-content .quiz-progress .progress-bar .track {
  height: 1em;
  background-color: #eee;
  border-radius: 100vw;
  width: 100%;
  margin-inline: 1rem;
  overflow: hidden;
}
#quiz-content .quiz-progress .progress-bar .bar {
  height: 100%;
  width: 100%;
  background-color: hsl(150, 100%, 40%);
  transition: width var(--quiz-transition-ms) var(--quiz-ease);
  margin-inline-start: auto;
  margin-inline-end: 0;
}
#quiz-content .quiz-progress .progress-bar .timer {
  white-space: nowrap;
  font-size: 0.875em;
  font-weight: 600;
  padding-inline-end: 1.25rem;
}
#quiz-content .quiz-sections {
  background-color: #f4f4f4;
  border-radius: 1.5rem;
  position: relative;
  width: 100%;
  overflow: hidden;
  transition: height var(--quiz-transition-ms) var(--quiz-ease);
}
#quiz-content .quiz-sections .quiz-section {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(0);
  transition: opacity var(--quiz-transition-ms) ease-out, transform var(--quiz-transition-ms) var(--quiz-ease);
}
#quiz-content .quiz-sections .quiz-section.is-active {
  position: absolute;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  z-index: 2;
  transition: opacity var(--quiz-transition-ms) ease-out, transform var(--quiz-transition-ms) var(--quiz-ease);
}
#quiz-content .quiz-sections .quiz-section {
  /* 다음: 새 섹션 — 오른쪽에서 왼쪽으로 슬라이드 인 */
}
#quiz-content .quiz-sections .quiz-section.is-enter-next {
  visibility: visible;
  z-index: 3;
  opacity: 0;
  transform: translateX(100%);
  transition: none;
}
#quiz-content .quiz-sections .quiz-section.is-enter-next.is-enter-next-run {
  opacity: 1;
  transform: translateX(0);
  transition: opacity var(--quiz-transition-ms) ease-out, transform var(--quiz-transition-ms) var(--quiz-ease);
}
#quiz-content .quiz-sections .quiz-section {
  /* 다음: 이전 섹션 — 왼쪽으로 슬라이드 아웃 */
}
#quiz-content .quiz-sections .quiz-section.is-exit-next {
  visibility: visible;
  pointer-events: none;
  z-index: 2;
  opacity: 1;
  transform: translateX(0);
  transition: none;
}
#quiz-content .quiz-sections .quiz-section.is-exit-next.is-exit-next-run {
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity var(--quiz-transition-ms) ease-out, transform var(--quiz-transition-ms) var(--quiz-ease);
}
#quiz-content .quiz-sections .quiz-section {
  /* 이전: 새 섹션 — 왼쪽에서 오른쪽으로 슬라이드 인 */
}
#quiz-content .quiz-sections .quiz-section.is-enter-prev {
  visibility: visible;
  z-index: 3;
  opacity: 0;
  transform: translateX(-100%);
  transition: none;
}
#quiz-content .quiz-sections .quiz-section.is-enter-prev.is-enter-prev-run {
  opacity: 1;
  transform: translateX(0);
  transition: opacity var(--quiz-transition-ms) ease-out, transform var(--quiz-transition-ms) var(--quiz-ease);
}
#quiz-content .quiz-sections .quiz-section {
  /* 이전: 현재 섹션 — 오른쪽으로 슬라이드 아웃 */
}
#quiz-content .quiz-sections .quiz-section.is-exit-prev {
  visibility: visible;
  pointer-events: none;
  z-index: 2;
  opacity: 1;
  transform: translateX(0);
  transition: none;
}
#quiz-content .quiz-sections .quiz-section.is-exit-prev.is-exit-prev-run {
  opacity: 0;
  transform: translateX(100%);
  transition: opacity var(--quiz-transition-ms) ease-out, transform var(--quiz-transition-ms) var(--quiz-ease);
}
#quiz-content .quiz-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  gap: 0.5rem;
}
#quiz-content .quiz-nav button {
  padding-block: 1em;
  padding-inline-start: 1em;
  padding-inline-end: 1.5em;
  background-color: transparent;
  border: 1px solid var(--color-theme);
  border-radius: 100vw;
  color: var(--color-theme);
  transition: opacity 0.2s;
  gap: 0.5rem;
}
#quiz-content .quiz-nav button.next {
  background-color: var(--color-theme);
  color: #fff;
  padding-inline-start: 1.5em;
  padding-inline-end: 1em;
}
#quiz-content .quiz-nav button:disabled {
  opacity: 0;
  cursor: not-allowed;
}
#quiz-content .quiz-nav button svg {
  width: 1rem;
}

.quiz-type {
  width: 100%;
  text-align: left;
}
.quiz-type .item-category, .quiz-type .item-type {
  display: inline-block;
  font-size: 0.75em;
  background-color: #fff;
  border: 1px solid var(--color-theme);
  border-radius: 100vw;
  color: var(--color-theme);
  font-weight: 600;
  line-height: 1.2;
  padding: 0.375em 0.875em;
}
.quiz-type .item-category {
  border-color: transparent;
  color: #fff;
}
.quiz-type.READING .item-category {
  background-color: var(--color-reading);
}
.quiz-type.READING .item-type {
  border-color: var(--color-reading);
  color: var(--color-reading);
}
.quiz-type.VOCAB .item-category {
  background-color: var(--color-voca);
}
.quiz-type.VOCAB .item-type {
  border-color: var(--color-voca);
  color: var(--color-voca);
}

.quiz-passage, .quiz-example, .quiz-option {
  border-radius: 0.75rem;
  color: #000;
  font-size: 1em;
  line-height: 1.6;
  width: 100%;
}
.quiz-passage .prefix, .quiz-example .prefix, .quiz-option .prefix {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1em;
  color: #888;
  font-size: 0.75em;
  margin-block-end: 0.5rem;
}
.quiz-passage .prefix::after, .quiz-example .prefix::after, .quiz-option .prefix::after {
  content: "";
  display: block;
  flex: 1;
  height: 1px;
  background-color: #ddd;
}
.quiz-passage + .quiz-question, .quiz-example + .quiz-question, .quiz-option + .quiz-question {
  border-top: 1px solid #ddd;
  padding-block-start: 1.5rem;
}

.quiz-passage u {
  font-weight: 600;
  text-decoration: underline;
}

.quiz-option ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25em;
}
.quiz-option ul li {
  border: 1px solid #ddd;
  background-color: #fff;
  padding: 0.25em 0.75em;
  border-radius: 0.5em;
}

.quiz-question {
  padding-block-start: 1rem;
  padding-block-end: 0.5rem;
  width: 100%;
  font-size: 1.125em;
  font-weight: 600;
}

.quiz-answers {
  width: 100%;
}
.quiz-answers input[type=text] {
  width: 100%;
  height: 3em;
  padding-inline: 1.5em;
  border: 2px solid transparent;
  border-radius: 100vw;
  text-align: center;
  font-size: 1em;
  font-weight: 700;
  transition: border-color 0.2s ease-in-out;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.quiz-answers input[type=text] + input[type=text] {
  margin-inline-start: 0.5em;
}
.quiz-answers input[type=text]:focus::-moz-placeholder {
  color: transparent;
}
.quiz-answers input[type=text]:focus::placeholder {
  color: transparent;
}
.quiz-answers input[type=text]::-moz-placeholder {
  font-weight: 400;
  color: #aaa;
}
.quiz-answers input[type=text]::placeholder {
  font-weight: 400;
  color: #aaa;
}

.quiz-section {
  padding-block: 1.5rem;
  padding-inline: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.quiz-section:has(.VOCAB) input[type=text]:focus-visible {
  border-color: var(--color-voca);
}
.quiz-section:has(.READING) input[type=text]:focus-visible {
  border-color: var(--color-reading);
}
.quiz-section:has(.template-true-false) .quiz-answers {
  display: flex;
  gap: 0.5rem;
}
.quiz-section:has(.template-true-false) .answer {
  background-color: #fff;
  border: 3px solid transparent;
  border-radius: 100%;
  padding: 2rem;
  transition: all 0.2s;
  min-width: 7rem;
  min-height: 7rem;
  justify-content: center;
}
.quiz-section:has(.template-true-false) .answer input {
  display: none;
}
.quiz-section:has(.template-true-false) .answer svg {
  width: 3rem;
}
.quiz-section:has(.template-true-false) .answer span {
  text-align: center;
  font-size: 1.5em;
  font-weight: 500;
}
.quiz-section:has(.template-true-false) .answer:has(input[value=true]) {
  color: var(--color-green);
}
.quiz-section:has(.template-true-false) .answer:has(input[value=false]) {
  color: var(--color-red);
}
.quiz-section:has(.template-true-false) .answer:hover {
  scale: 1.1;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
}
.quiz-section:has(.template-true-false) .answer:has(input[value=true]:checked) {
  background-color: hsl(from var(--color-green) h s 95%);
  border-color: var(--color-green);
}
.quiz-section:has(.template-true-false) .answer:has(input[value=false]:checked) {
  background-color: hsl(from var(--color-red) h s 95%);
  border-color: var(--color-red);
}
.quiz-section:has(.template-true-false-more) .quiz-answers {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}
.quiz-section:has(.template-true-false-more) .quiz-answer-bind {
  display: flex;
  align-items: center;
  background-color: #fff;
  padding: 0.5em;
  padding-inline-start: 1.5em;
  padding-inline-end: 1em;
  border-radius: 1.75em;
}
.quiz-section:has(.template-true-false-more) .quiz-answer-bind .flex-space {
  min-width: 1em;
}
.quiz-section:has(.template-true-false-more) .quiz-answer-bind .answer {
  border-radius: 100%;
  padding: 0.5em;
}
.quiz-section:has(.template-true-false-more) .quiz-answer-bind .answer input {
  display: none;
}
.quiz-section:has(.template-true-false-more) .quiz-answer-bind .answer svg {
  min-width: 1.5em;
}
.quiz-section:has(.template-true-false-more) .quiz-answer-bind .answer:has(input[value=true]):hover, .quiz-section:has(.template-true-false-more) .quiz-answer-bind .answer:has(input[value=false]):hover {
  box-shadow: none;
  scale: 1;
}
.quiz-section:has(.template-true-false-more) .quiz-answer-bind .answer:has(input[value=true]):hover {
  color: var(--color-green);
}
.quiz-section:has(.template-true-false-more) .quiz-answer-bind .answer:has(input[value=false]):hover {
  color: var(--color-red);
}
.quiz-section:has(.template-true-false-more) .quiz-answer-bind .answer:hover {
  scale: 1.1;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
}
.quiz-section:has(.template-true-false-more) .quiz-answer-bind .answer:has(input[value=true]:checked) {
  color: #fff;
  border-color: var(--color-green);
  background-color: var(--color-green);
}
.quiz-section:has(.template-true-false-more) .quiz-answer-bind .answer:has(input[value=false]:checked) {
  border-color: var(--color-red);
  background-color: var(--color-red);
  color: #fff;
}
.quiz-section:has(.template-inline-choice) .quiz-question span {
  display: inline-block;
  vertical-align: middle;
}
.quiz-section:has(.template-inline-choice) .quiz-answers {
  width: auto;
  padding-inline: 0.25em;
  margin-block: 0.125em;
}
.quiz-section:has(.template-inline-choice) .quiz-answers input {
  display: none;
}
.quiz-section:has(.template-inline-choice) .quiz-answers .answer {
  background-color: #fff;
  border: 2px solid #ddd;
  padding-block: 0.25em;
  padding-inline: 0.375em;
  border-radius: 0.375em;
  transition: border-color 0.2s ease-in-out;
}
.quiz-section:has(.template-inline-choice) .quiz-answers .answer:has(input:checked) {
  background-color: #000;
  border-color: transparent;
  color: #fff;
  font-weight: 600;
}
.quiz-section:has(.template-inline-choice):has(.VOCAB) .answer:hover {
  border-color: var(--color-voca);
}
.quiz-section:has(.template-inline-choice):has(.VOCAB) .answer:has(input:checked) {
  background-color: var(--color-voca);
}
.quiz-section:has(.template-inline-choice):has(.READING) .answer:hover {
  border-color: var(--color-reading);
}
.quiz-section:has(.template-inline-choice):has(.READING) .answer:has(input:checked) {
  background-color: var(--color-reading);
}
.quiz-section:has(.template-multiple-choice) .quiz-answers, .quiz-section:has(.template-multiple-choice-more) .quiz-answers {
  display: flex;
  flex-direction: column;
}
.quiz-section:has(.template-multiple-choice) .quiz-answers input, .quiz-section:has(.template-multiple-choice-more) .quiz-answers input {
  display: none;
}
.quiz-section:has(.template-multiple-choice) .quiz-answers .answer, .quiz-section:has(.template-multiple-choice-more) .quiz-answers .answer {
  display: flex;
  align-items: flex-start;
  gap: 0.25em;
  font-size: 1em;
  padding: 0.5em;
}
.quiz-section:has(.template-multiple-choice) .quiz-answers .answer .answer-index, .quiz-section:has(.template-multiple-choice-more) .quiz-answers .answer .answer-index {
  background-color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  border: 1px solid #888;
  color: #888;
  font-size: 0.875em;
  min-width: 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  margin-inline-end: 0.25em;
}
.quiz-section:has(.template-multiple-choice) .quiz-answers .answer .answer-index + span, .quiz-section:has(.template-multiple-choice-more) .quiz-answers .answer .answer-index + span {
  display: block;
  margin-block-start: 0.125rem;
}
.quiz-section:has(.template-multiple-choice) .quiz-answers .answer:has(input:checked), .quiz-section:has(.template-multiple-choice-more) .quiz-answers .answer:has(input:checked) {
  font-weight: 600;
}
.quiz-section:has(.template-multiple-choice) .quiz-answers .answer:has(input:checked) .answer-index, .quiz-section:has(.template-multiple-choice-more) .quiz-answers .answer:has(input:checked) .answer-index {
  background-color: #000;
  color: #fff;
}
.quiz-section:has(.template-multiple-choice):has(.VOCAB) .answer:has(input:checked) .answer-index, .quiz-section:has(.template-multiple-choice-more):has(.VOCAB) .answer:has(input:checked) .answer-index {
  background-color: var(--color-voca);
  border-color: transparent;
}
.quiz-section:has(.template-multiple-choice):has(.READING) .answer:has(input:checked) .answer-index, .quiz-section:has(.template-multiple-choice-more):has(.READING) .answer:has(input:checked) .answer-index {
  background-color: var(--color-reading);
  border-color: transparent;
}
.quiz-section:has(.template-order) .quiz-answers {
  display: flex;
  flex-direction: column;
}
.quiz-section:has(.template-order) .quiz-answers .answer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  cursor: grab;
  font-size: 1em;
  background-color: #fff;
  padding: 0.5em 1.5em;
  margin-block: 0.25em;
  border-radius: 1.25em;
}
.quiz-section:has(.template-order) .quiz-answers .answer svg {
  min-width: 0.75em;
  width: 0.75em;
  opacity: 0.3;
}
.quiz-section:has(.template-order) .quiz-answers .answer:hover {
  border-color: #888;
}
.quiz-section:has(.template-order) .quiz-answers .answer:hover svg {
  opacity: 0.7;
}
.quiz-section:has(.template-match) .quiz-answers {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem;
}
.quiz-section:has(.template-match) .match-column {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 0.5em;
}
.quiz-section:has(.template-match) .match-column button {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 0.75em 1em;
  border-radius: 1.25em;
  justify-content: center;
}
.quiz-section:has(.template-match) .match-column button:hover {
  border-color: #aaa;
}
.quiz-section:has(.template-match) .match-column button.match-ready {
  border-color: #000;
  font-weight: 600;
}
.quiz-section:has(.template-match) .match-column button.match-pair {
  font-weight: 600;
}
.quiz-section:has(.template-match) .match-column button.match-bond-1 {
  border-color: var(--match-color-1);
  background-color: hsl(from var(--match-color-1) h s 95%);
}
.quiz-section:has(.template-match) .match-column button.match-bond-2 {
  border-color: var(--match-color-2);
  background-color: hsl(from var(--match-color-2) h s 95%);
}
.quiz-section:has(.template-match) .match-column button.match-bond-3 {
  border-color: var(--match-color-3);
  background-color: hsl(from var(--match-color-3) h s 95%);
}
.quiz-section:has(.template-match) .match-column button.match-bond-4 {
  border-color: var(--match-color-4);
  background-color: hsl(from var(--match-color-4) h s 95%);
}
.quiz-section:has(.template-match) .match-column button.match-bond-5 {
  border-color: var(--match-color-5);
  background-color: hsl(from var(--match-color-5) h s 95%);
}
.quiz-section:has(.template-match) .match-column button.match-bond-6 {
  border-color: var(--match-color-6);
  background-color: hsl(from var(--match-color-6) h s 95%);
}
@media screen and (max-width: 719px) {
  .quiz-section:has(.template-match) .match-column button {
    border-radius: 1.5em;
    font-size: 0.875em;
    padding-block: 1em;
  }
}
.quiz-section:has(.template-short-answer-matching) .quiz-answers {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}
.quiz-section:has(.template-short-answer-matching) .quiz-answer {
  display: flex;
  align-items: center;
  gap: 0.25em;
  flex-wrap: wrap;
  padding-block: 0;
  padding-inline: 0.5em;
  background-color: #fff;
  border: 2px solid transparent;
  border-radius: 1.5rem;
  text-align: center;
  font-size: 1em;
  font-weight: 700;
  transition: border-color 0.2s ease-in-out;
}
.quiz-section:has(.template-short-answer-matching) .quiz-answer:has(input:focus-visible) {
  border-color: var(--color-voca);
}
.quiz-section:has(.template-short-answer-matching) .quiz-answer span {
  flex: 1;
  display: block;
  text-align: left;
  font-weight: 400;
  margin-inline-start: 1em;
  padding-block: 0.5em;
}
.quiz-section:has(.template-short-answer-matching) .quiz-answer input {
  background-color: transparent;
  box-shadow: none;
  border: none;
  text-align: right;
  width: auto;
  margin-left: auto;
  max-width: 8em;
  padding-inline-start: 0;
}

.result-list {
  --book-height: 7.5rem;
}
.result-list .result-unit {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid #eee;
  margin-block-start: 1rem;
  padding-block-start: 1rem;
}
.result-list .result-unit .book-img {
  height: var(--book-height);
  position: relative;
  aspect-ratio: 80/120;
}
.result-list .result-unit .book-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  height: var(--book-height);
  flex: 1;
}
.result-list .result-unit .book-info .content {
  flex: 1;
}
.result-list .result-unit .book-info .content .title {
  font-weight: 700;
}
.result-list .result-unit .book-info .content .week {
  font-size: 0.75em;
  font-weight: 700;
  margin-block-end: 0.25em;
}
.result-list .result-unit .buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
}
.result-list .result-unit .buttons button {
  border: 1px solid rgba(0, 0, 0, 0);
  border-radius: 100vw;
  font-size: 0.75em;
  font-weight: 600;
  padding: 0.75em 1.25em;
  transition: all 0.1s ease;
}
.result-list .result-unit .buttons button[data-unit-category=VOCAB] {
  background-color: hsl(from var(--color-voca) h s l/0.15);
  color: hsl(from var(--color-voca) h s 45%);
}
.result-list .result-unit .buttons button[data-unit-category=VOCAB]:hover {
  background-color: var(--color-voca);
}
.result-list .result-unit .buttons button[data-unit-category=READING] {
  background-color: hsl(from var(--color-reading) h s l/0.15);
  color: var(--color-reading);
}
.result-list .result-unit .buttons button[data-unit-category=READING]:hover {
  background-color: var(--color-reading);
}
.result-list .result-unit .buttons button:hover {
  color: #fff;
}
.result-list .result-unit:first-child {
  border-block-start: none;
  margin-block-start: 0;
  padding-block-start: 0;
}

.result-table {
  width: 100%;
  border-collapse: collapse;
}
.result-table th, .result-table td {
  border-bottom: 1px solid #eee;
  padding: 0.5rem;
}
.result-table th {
  border-color: #ddd;
  color: #000;
  font-size: 0.75em;
  font-weight: 700;
  padding-inline: 0;
}
.result-table td {
  font-size: 0.875em;
  text-align: left;
}

#result-content .quiz-section {
  border-top: 1px dashed #ddd;
  padding-inline: 0;
  padding-block: 1rem;
  gap: 0.5rem;
}
#result-content .quiz-section .quiz-type span {
  padding: 0;
  border: none;
}
#result-content .quiz-section .quiz-type::before {
  display: none;
}
#result-content .quiz-section .quiz-passage, #result-content .quiz-section .quiz-question, #result-content .quiz-section .quiz-example, #result-content .quiz-section .quiz-option, #result-content .quiz-section .quiz-answers {
  font-size: 0.875rem;
  padding: 0;
}
#result-content .quiz-section .quiz-passage {
  background-color: #f4f4f4;
  border-radius: 0.5em;
  padding: 0.5em;
}
#result-content .quiz-section .quiz-answer-bind {
  padding: 0;
}
#result-content .quiz-section .quiz-answer-bind .answer {
  padding-block: 0;
}

#result-summary .current-result span, #result-summary .total-score span {
  font-weight: 700;
}

.flex-space {
  margin-inline: auto;
}

.flex-space-vertical {
  margin-block: auto;
}

.icon {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  fill: none;
  vertical-align: middle;
  stroke: #000;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.img {
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
.img.square {
  aspect-ratio: 1;
}
.img.landscape.paper {
  aspect-ratio: 1.414/1;
}
.img.landscape.ratio-3-2 {
  aspect-ratio: 3/2;
}
.img.landscape.ratio-4-3 {
  aspect-ratio: 4/3;
}
.img.landscape.ratio-16-9 {
  aspect-ratio: 16/9;
}
.img.portrait.paper {
  aspect-ratio: 1/1.414;
}
.img.portrait.ratio-3-2 {
  aspect-ratio: 2/3;
}
.img.portrait.ratio-4-3 {
  aspect-ratio: 3/4;
}
.img.portrait.ratio-16-9 {
  aspect-ratio: 9/16;
}
.img.top {
  -o-object-position: top;
     object-position: top;
}
.img.bottom {
  -o-object-position: bottom;
     object-position: bottom;
}
.img.left {
  -o-object-position: left;
     object-position: left;
}
.img.right {
  -o-object-position: right;
     object-position: right;
}

.loading {
  --loader-color: #888;
  --loader-size: 2rem;
  width: var(--loader-size);
  padding: calc(var(--loader-size) / 6);
  background: var(--loader-color);
  aspect-ratio: 1;
  border-radius: 50%;
  -webkit-mask: conic-gradient(rgba(0, 0, 0, 0), #000), conic-gradient(#000 0 0) content-box;
  -webkit-mask-composite: source-out;
          mask: conic-gradient(rgba(0, 0, 0, 0), #000) subtract, conic-gradient(#000 0 0) content-box;
  animation: loading 1s linear infinite;
}

@keyframes loading {
  to {
    rotate: 1turn;
  }
}
@page {
  size: A4 portrait;
  margin: 0mm;
}
@media print {
  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
.dev-only {
  display: none;
}/*# sourceMappingURL=style.css.map */