@font-face {
  font-family: Nunito;
  src: url('./assets/fonts/Nunito-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url('./assets/fonts/Nunito-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url('./assets/fonts/Nunito-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: Bangers;
  src: url('./assets/fonts/Bangers-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn;
  src: url('./assets/fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn;
  src: url('./assets/fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn;
  src: url('./assets/fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #42112e;
  --paper: #fff0cf;
  --outline: #3b1129;
  --gold: #ffdf62;
}
* {
  box-sizing: border-box;
}
html {
  min-width: 320px;
  background: #793519 url('./assets/background/tabletop.webp') center top/1536px auto repeat-y;
  color: var(--ink);
  font-family: Nunito, sans-serif;
}
body {
  margin: 0;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #007d87;
  outline-offset: 4px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
p,
h1,
h2 {
  margin: 0;
}
button[hidden],
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  left: 12px;
  top: -100px;
  clip-path: inset(50%);
  z-index: 20;
  padding: 12px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
}
.skip-link:focus {
  top: 12px;
  clip-path: none;
}
.language {
  position: absolute;
  z-index: 8;
  right: 20px;
  top: 10px;
  display: flex;
  direction: ltr;
  gap: 3px;
  padding: 4px;
  border: 1px solid #f2c06d;
  border-radius: 24px;
  background: #40162be8;
  box-shadow: 0 3px 10px #38140955;
}
.language button {
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: #fff1cf;
  font-weight: 800;
  min-height: 36px;
  min-width: 42px;
}
.language button[aria-pressed='true'] {
  background: #ffe08a;
  color: #3e122d;
}
.language button[lang='fa'] {
  font-family: Vazirmatn, sans-serif;
  line-height: 1.6;
}
.language button[lang='en'],
.language button[lang='ru'] {
  font-family: Nunito, sans-serif;
}
.scene {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  width: min(100%, 1536px);
  aspect-ratio: 3/2;
  margin: 0 auto;
  overflow: hidden;
}
.decor {
  position: absolute;
  pointer-events: none;
  user-select: none;
}
.book-art {
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.route-map {
  width: 39.7%;
  left: -11.7%;
  top: -1.5%;
  transform: rotate(-45deg);
  z-index: -2;
}
.compass {
  left: -0.5%;
  top: 74.2%;
  width: 10.55%;
  z-index: 3;
}
.paw {
  width: 15.63%;
  left: 90.5%;
  top: 20.5%;
  z-index: 3;
}
.journal-heading {
  position: absolute;
  top: 4%;
  left: 15%;
  right: 14%;
  text-align: center;
}
.title-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5%;
  width: 100%;
}
.title-leaf {
  width: 9%;
  flex: none;
  transform: rotate(-24deg);
}
.title-leaf:last-child {
  transform: rotate(25deg);
}
h1 {
  font-family: Bangers, Nunito, sans-serif;
  font-weight: 400;
  font-size: 7.1cqw;
  line-height: 1.03;
  white-space: nowrap;
  letter-spacing: 0.035em;
  color: var(--gold);
  -webkit-text-stroke: 0.72cqw var(--outline);
  paint-order: stroke fill;
  text-shadow: 0 0.5cqw 0 var(--outline), 0 0.7cqw 0 #b57b23;
}
.ribbon {
  width: 56%;
  min-height: 3.6cqw;
  margin: 1.35% auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('./assets/ui/blank-ribbon.webp') center/100% 100% no-repeat;
  font-size: 1.82cqw;
  font-weight: 800;
  line-height: 1.15;
  padding: 0.65cqw 1.6cqw;
}
.discoveries {
  width: 40%;
  min-height: 4cqw;
  margin: 0.25cqw auto 0;
  background: url('./assets/ui/blank-discoveries-plaque.webp') center/100% 100% no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.7cqw 1.75cqw;
  font-size: 1.63cqw;
  font-weight: 800;
  line-height: 1.2;
}
.pages {
  position: absolute;
  left: 10.7%;
  right: 11.9%;
  top: 28.8%;
  bottom: 11.1%;
  display: grid;
  direction: ltr;
  grid-template-columns: 1fr 1fr;
  gap: 7.8%;
}
.journal-page {
  min-width: 0;
}
.goal-list {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.goal {
  display: grid;
  grid-template-columns: 22% minmax(0, 1fr) 25%;
  grid-template-rows: auto auto 2cqw;
  gap: 0 0.7cqw;
  align-content: center;
  min-width: 0;
  flex: 1;
  border-bottom: 1px solid #be7b3b99;
  padding: 0.45cqw 0 0.6cqw;
  position: relative;
}
.goal:last-child {
  border-bottom: 0;
}
.badge {
  grid-column: 1;
  grid-row: 1/4;
  width: 100%;
  align-self: center;
  aspect-ratio: 1;
  object-fit: contain;
}
.badge-effects {
  position: absolute;
  overflow: hidden;
  pointer-events: none;
}
/* Locked artwork is a parchment outline; the goal and its progress stay readable.
   Default to locked, including initial load and unavailable snapshots. */
.goal:not(.completed) .badge {
  filter: url('#badge-locked-outline');
}
.goal h2 {
  grid-column: 2/4;
  line-height: 1.15;
  text-transform: uppercase;
  font-size: 1.82cqw;
  font-weight: 800;
  letter-spacing: -0.035em;
  align-self: end;
  padding-bottom: 0.25cqw;
}
.counter {
  grid-column: 2/4;
  font-weight: 800;
  font-size: 1.65cqw;
  line-height: 1.2;
  white-space: nowrap;
  margin-bottom: 0.45cqw;
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}
.counter .target {
  font-weight: 700;
}
.progress {
  grid-column: 2;
  grid-row: 3;
  position: relative;
  min-width: 0;
  align-self: center;
  height: 2cqw;
  --cap: 1.06cqw;
  --fill-cap: 0.875cqw;
  --fill-left: url('./assets/ui/progress-fill-turquoise-left.webp');
  --fill-center: url('./assets/ui/progress-fill-turquoise-center.webp');
  --fill-right: url('./assets/ui/progress-fill-turquoise-right.webp');
}
.track {
  position: absolute;
  inset: 0;
  background: url('./assets/ui/progress-track-left.webp') left center/var(--cap) 100% no-repeat,
    url('./assets/ui/progress-track-right.webp') right center/var(--cap) 100% no-repeat;
}
.track:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--cap);
  right: var(--cap);
  background: url('./assets/ui/progress-track-center.webp') center/auto 100% repeat-x;
}
.fill-area {
  position: absolute;
  inset: 0.1875cqw;
  overflow: hidden;
  border-radius: 2cqw;
}
.fill-clip {
  height: 100%;
  overflow: hidden;
  width: 0;
  transition: width 0.6s ease;
}
.fill {
  position: relative;
  width: 100%;
  min-width: calc(2 * var(--fill-cap));
  height: 100%;
  background: var(--fill-left) left center/var(--fill-cap) 100% no-repeat,
    var(--fill-right) right center/var(--fill-cap) 100% no-repeat;
}
.fill:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--fill-cap);
  right: var(--fill-cap);
  background: var(--fill-center) center/auto 100% repeat-x;
}
.percent {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  font-size: 1.27cqw;
  line-height: 1;
  color: #37102a;
  text-shadow: 0 1px 0 #fff8;
  direction: ltr;
  unicode-bidi: isolate;
}
.reward {
  grid-column: 3;
  grid-row: 2/4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1cqw;
  font-weight: 800;
  font-size: 2.12cqw;
  white-space: nowrap;
  direction: ltr;
  unicode-bidi: isolate;
}
.reward img {
  width: 3.4cqw;
  height: 3.4cqw;
  object-fit: contain;
}
.completed .progress {
  --fill-left: url('./assets/ui/progress-fill-gold-left.webp');
  --fill-center: url('./assets/ui/progress-fill-gold-center.webp');
  --fill-right: url('./assets/ui/progress-fill-gold-right.webp');
}
.check {
  position: absolute;
  right: 0.5cqw;
  top: 25%;
  height: 50%;
  width: auto;
}
.completed .percent {
  padding-right: 1.5cqw;
}
.page-right {
  display: flex;
  flex-direction: column;
}
.page-right .goal-list {
  flex: 1;
  min-height: 0;
}
.slogan {
  font-family: Bangers, Nunito, sans-serif;
  font-size: 2.55cqw;
  line-height: 1.1;
  text-align: center;
  margin-top: 1cqw;
  flex: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.journal-footer {
  max-width: 960px;
  margin: -1.2vw auto 0;
  text-align: center;
  color: #fff2d5;
  padding: 18px 24px 30px;
  font-size: 16px;
  line-height: 1.5;
  position: relative;
  z-index: 4;
  text-shadow: 0 1px 2px #451515;
}
.status {
  font-weight: 800;
  min-height: 24px;
}
.snapshot-time {
  font-size: 16px;
}
.reward-summary {
  font-weight: 800;
  margin-top: 10px;
}
.reward-note {
  margin-top: 4px;
}
.retry {
  color: #42112e;
  border: 2px solid #f7ca7e;
  background: #fff0cb;
  border-radius: 22px;
  padding: 8px 20px;
  font-weight: 800;
  min-height: 44px;
  margin-top: 10px;
}
.counting-guide {
  margin: 18px auto 0;
  max-width: 780px;
}
.counting-guide summary {
  cursor: pointer;
  font-weight: 800;
  min-height: 44px;
  padding: 10px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.guide-content {
  text-align: left;
  margin: 8px 0;
  padding: 20px 24px;
  border: 1px solid #b77b49;
  border-radius: 12px;
  background: #3f1922e8;
}
.guide-content ol {
  margin: 0;
  padding-left: 22px;
}
.guide-content > p {
  margin-bottom: 14px;
}
.guide-content li + li {
  margin-top: 10px;
}
.home-link {
  color: #ffe8b0;
  display: inline-block;
  margin-top: 12px;
  padding: 8px;
}
.noscript {
  margin: 20px;
  text-align: center;
  background: var(--paper);
  padding: 20px;
}
.goal.unavailable .progress {
  opacity: 0.65;
}
.goal.unavailable .percent {
  font-size: 1.05cqw;
}
.journal-footer[data-state='delayed'] .status,
.journal-footer[data-state='unavailable'] .status {
  color: #ffe096;
}
html[lang='ru'] h1 {
  font-family: Nunito, sans-serif;
  font-weight: 800;
  font-size: 5.1cqw;
  letter-spacing: -0.04em;
  -webkit-text-stroke: 0.58cqw var(--outline);
  line-height: 1.3;
}
html[lang='ru'] .title-leaf {
  width: 8%;
}
html[lang='ru'] .ribbon {
  font-size: 1.55cqw;
  width: 60%;
}
html[lang='ru'] .discoveries {
  font-size: 1.55cqw;
}
html[lang='ru'] .goal h2 {
  font-size: 1.46cqw;
  letter-spacing: -0.025em;
}
html[lang='ru'] .slogan {
  font-family: Nunito, sans-serif;
  font-weight: 800;
  font-size: 1.65cqw;
  line-height: 1.2;
}
@media (min-width: 1537px) {
  .journal-footer {
    margin-top: -18px;
  }
}
@media (max-width: 1099px) {
  html {
    background-size: 1200px auto;
  }
  .language {
    position: relative;
    top: auto;
    right: auto;
    justify-content: center;
    width: max-content;
    max-width: calc(100% - 28px);
    margin: 10px 14px 4px auto;
  }
  .scene {
    aspect-ratio: auto;
    overflow: visible;
    container-type: normal;
    padding: 0 30px 20px;
    max-width: 760px;
  }
  .book-art {
    display: none;
  }
  .route-map {
    width: 44%;
    left: -4%;
    top: 4%;
    z-index: -1;
    opacity: 0.85;
  }
  .paw {
    width: 130px;
    left: auto;
    right: -28px;
    top: 60px;
  }
  .compass {
    width: 110px;
    top: auto;
    bottom: 2px;
    left: -18px;
  }
  .journal-heading {
    position: relative;
    inset: auto;
    margin: 0 0 18px;
    padding: 16px 0 0;
  }
  .title-line {
    position: relative;
    z-index: 4;
    gap: 4px;
  }
  h1 {
    font-size: clamp(42px, 7.8vw, 64px);
    letter-spacing: 0.02em;
    -webkit-text-stroke: 5px var(--outline);
    text-shadow: 0 4px 0 var(--outline), 0 6px 0 #b57b23;
    line-height: 1.1;
  }
  .title-leaf {
    width: 40px;
  }
  .ribbon {
    width: min(100%, 480px);
    min-height: 44px;
    font-size: 19px;
    margin: 14px auto 0;
    padding: 9px 24px;
  }
  .discoveries {
    width: min(80%, 370px);
    min-height: 48px;
    font-size: 18px;
    padding: 10px 28px;
    margin: 6px auto 0;
  }
  .pages {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    gap: 26px;
  }
  .journal-page {
    position: relative;
    padding: 34px 32px 42px;
    border: solid transparent;
    border-width: 36px 26px 42px 28px;
    border-image: url('./assets/book/single-page.webp') 128 65 115 110 fill/36px 26px 42px 28px stretch;
    min-width: 0;
  }
  .goal-list {
    height: auto;
    display: block;
  }
  .goal {
    grid-template-columns: 90px minmax(0, 1fr) 92px;
    grid-template-rows: auto auto 32px;
    padding: 20px 0;
    gap: 3px 12px;
    min-height: 140px;
  }
  .goal h2 {
    font-size: 23px;
    letter-spacing: -0.025em;
    line-height: 1.2;
    padding-bottom: 0;
  }
  .counter {
    font-size: 21px;
    line-height: 1.3;
    margin: 0 0 3px;
  }
  .progress {
    height: 32px;
    --cap: 17px;
    --fill-cap: 14px;
  }
  .fill-area {
    inset: 3px;
    border-radius: 20px;
  }
  .percent {
    font-size: 18px;
  }
  .reward {
    font-size: 27px;
    gap: 0;
  }
  .reward img {
    width: 40px;
    height: 40px;
  }
  .check {
    right: 8px;
  }
  .completed .percent {
    padding-right: 22px;
  }
  .page-right {
    display: block;
  }
  .slogan {
    font-size: 34px;
    margin: 18px 0 2px;
  }
  .journal-footer {
    margin: 0 auto;
    padding: 4px 24px 30px;
  }
  .goal.unavailable .percent {
    font-size: 16px;
  }
  html[lang='ru'] h1 {
    font-size: clamp(29px, 5.6vw, 45px);
    -webkit-text-stroke: 4px var(--outline);
    letter-spacing: -0.035em;
    line-height: 1.3;
  }
  html[lang='ru'] .title-leaf {
    width: 32px;
  }
  html[lang='ru'] .ribbon {
    font-size: 17px;
    width: min(100%, 490px);
  }
  html[lang='ru'] .discoveries {
    font-size: 18px;
  }
  html[lang='ru'] .goal h2 {
    font-size: 21px;
    letter-spacing: -0.025em;
  }
  html[lang='ru'] .slogan {
    font-size: 23px;
  }
}
@media (max-width: 599px) {
  .scene {
    padding: 0 10px 12px;
  }
  .language {
    margin: 8px 12px 0 auto;
  }
  .journal-heading {
    padding-top: 14px;
    margin-bottom: 12px;
  }
  .title-line {
    gap: 1px;
  }
  .title-leaf {
    width: 27px;
  }
  h1 {
    font-size: 9.2vw;
    -webkit-text-stroke: 4px var(--outline);
    letter-spacing: 0.01em;
  }
  .ribbon {
    font-size: 16px;
    min-height: 40px;
    width: 100%;
    padding: 7px 22px;
    margin-top: 12px;
  }
  .discoveries {
    font-size: 16px;
    min-height: 44px;
    width: 90%;
    padding: 8px 26px;
  }
  .route-map {
    width: 58%;
    left: -9%;
    top: 2%;
  }
  .paw {
    width: 90px;
    right: -10px;
    top: 12px;
    z-index: 1;
  }
  .compass {
    width: 74px;
    left: -12px;
    bottom: 2px;
  }
  .pages {
    gap: 18px;
  }
  .journal-page {
    padding: 8px 2px 14px;
    border-width: 26px 18px 32px 20px;
    border-image-width: 26px 18px 32px 20px;
  }
  .goal {
    grid-template-columns: 63px minmax(0, 1fr) 64px;
    grid-template-rows: auto auto 28px;
    gap: 4px 6px;
    min-height: 132px;
    padding: 16px 0;
  }
  .goal h2 {
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }
  .counter {
    font-size: 16px;
    line-height: 1.25;
    margin-bottom: 4px;
  }
  .progress {
    height: 28px;
    --cap: 15px;
    --fill-cap: 12px;
  }
  .fill-area {
    inset: 3px;
  }
  .percent {
    font-size: 16px;
  }
  .reward {
    font-size: 21px;
    gap: 0;
  }
  .reward img {
    width: 29px;
    height: 29px;
  }
  .slogan {
    font-size: 27px;
    margin: 18px 0 2px;
  }
  .journal-footer {
    padding: 4px 20px 28px;
  }
  .guide-content {
    padding: 16px;
  }
  .reward-summary {
    margin-top: 12px;
  }
  .goal.unavailable .percent {
    font-size: 16px;
  }
  html[lang='ru'] h1 {
    font-size: 7.1vw;
    line-height: 1.4;
    -webkit-text-stroke: 3.5px var(--outline);
  }
  html[lang='ru'] .title-leaf {
    width: 24px;
  }
  html[lang='ru'] .goal h2 {
    font-size: 17px;
    line-height: 1.2;
  }
  html[lang='ru'] .ribbon {
    font-size: 14px;
    width: 100%;
    padding-left: 19px;
    padding-right: 19px;
  }
  html[lang='ru'] .discoveries {
    font-size: 16px;
  }
  html[lang='ru'] .slogan {
    font-size: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.fill-clip,
.fill {
  display: block;
}
/* Explicit grid tracks keep counters above the bar in both book layouts. */
main {
  overflow: hidden;
}
.goal h2 {
  grid-row: 1;
}
.counter {
  grid-row: 2;
}
.reward {
  grid-row: 3;
}
@media (max-width: 1099px) {
  .goal {
    grid-template-columns: 90px minmax(0, 1fr) 110px;
  }
}
@media (max-width: 599px) {
  .goal {
    grid-template-columns: 60px minmax(0, 1fr) 84px;
  }
}
.goal {
  min-height: 0;
}
.badge {
  position: absolute;
  left: 0;
  top: 50%;
  width: 22%;
  height: auto;
  transform: translateY(-50%);
}
.goal-list {
  min-height: 0;
}
.track:before {
  left: calc(var(--cap) - 1px);
  right: calc(var(--cap) - 1px);
}
.fill:before {
  left: calc(var(--fill-cap) - 1px);
  right: calc(var(--fill-cap) - 1px);
}
@media (max-width: 1099px) {
  .goal {
    min-height: 140px;
  }
  .badge {
    width: 90px;
  }
  .paw {
    top: 0;
    right: -70px;
  }
}
@media (max-width: 599px) {
  .goal {
    min-height: 132px;
  }
  .badge {
    width: 60px;
  }
  .paw {
    top: -15px;
    right: -49px;
    width: 88px;
  }
  .compass {
    bottom: -14px;
    left: -30px;
    width: 66px;
  }
  .slogan {
    padding-left: 12px;
  }
}
@media (max-width: 599px) {
  html[lang='ru'] .ribbon {
    font-size: 16px;
  }
}

/* Mirror reading inside each page, retaining the approved five-left/four-right book. */
html[lang='fa'] {
  font-family: Vazirmatn, sans-serif;
}
html[lang='fa'] h1 {
  font-family: Vazirmatn, sans-serif;
  font-weight: 800;
  font-size: 5.3cqw;
  line-height: 1.45;
  letter-spacing: 0;
  -webkit-text-stroke: 0.5cqw var(--outline);
}
html[lang='fa'] .title-leaf {
  width: 8%;
}
html[lang='fa'] .ribbon {
  width: 60%;
  font-size: 1.65cqw;
  line-height: 1.55;
  margin-top: 0;
  padding-block: 0.35cqw;
}
html[lang='fa'] .discoveries {
  font-size: 1.6cqw;
  line-height: 1.55;
}
html[lang='fa'] .goal {
  direction: rtl;
}
html[lang='fa'] .goal h2 {
  text-align: right;
  font-size: 1.5cqw;
  line-height: 1.35;
  letter-spacing: 0;
}
html[lang='fa'] .counter {
  text-align: right;
  line-height: 1.2;
}
html[lang='fa'] .badge {
  right: 0;
  left: auto;
}
html[lang='fa'] .fill-clip {
  margin-left: auto;
}
html[lang='fa'] .check {
  right: auto;
  left: 0.5cqw;
}
html[lang='fa'] .completed .percent {
  padding-right: 0;
  padding-left: 1.5cqw;
}
html[lang='fa'] .slogan {
  font-family: Vazirmatn, sans-serif;
  font-weight: 800;
  font-size: 1.8cqw;
  line-height: 1.35;
  padding-left: 0;
}
html[lang='fa'] .journal-footer {
  line-height: 1.9;
}
html[lang='fa'] .guide-content {
  text-align: right;
}
html[lang='fa'] .guide-content ol {
  padding-left: 0;
  padding-right: 22px;
  list-style-type: persian;
}
@media (max-width: 1099px) {
  html[lang='fa'] h1 {
    font-size: clamp(29px, 6.8vw, 48px);
    -webkit-text-stroke: 4px var(--outline);
    line-height: 1.6;
  }
  html[lang='fa'] .title-leaf {
    width: 32px;
  }
  html[lang='fa'] .ribbon {
    font-size: 19px;
    width: min(100%, 490px);
    padding: 8px 24px;
    margin-top: 4px;
  }
  html[lang='fa'] .discoveries {
    font-size: 19px;
  }
  html[lang='fa'] .goal h2 {
    font-size: 22px;
    line-height: 1.55;
  }
  html[lang='fa'] .check {
    left: 8px;
  }
  html[lang='fa'] .completed .percent {
    padding-left: 22px;
  }
  html[lang='fa'] .slogan {
    font-size: 25px;
    line-height: 1.6;
  }
}
@media (max-width: 599px) {
  html[lang='fa'] h1 {
    font-size: 7.6vw;
    -webkit-text-stroke: 3.5px var(--outline);
  }
  html[lang='fa'] .title-leaf {
    width: 24px;
  }
  html[lang='fa'] .ribbon {
    font-size: 16px;
    width: 100%;
    padding-inline: 19px;
  }
  html[lang='fa'] .discoveries {
    font-size: 18px;
  }
  html[lang='fa'] .goal {
    min-height: 142px;
  }
  html[lang='fa'] .goal h2 {
    font-size: 18px;
  }
  html[lang='fa'] .slogan {
    font-size: 22px;
  }
}
