.ct-console .ct-console__identity:has(.ct-console__tree) { flex-wrap: wrap }
.ct-console .ct-console__tree strong { color: var(--yc-accent, #a1f4bb) }
.ct-tree {
  margin: 0;
  color: #f4fff8;
  background: radial-gradient(ellipse at 72% 0, #203b36, transparent 52%), #0c181b;
  font: 1rem/1.5 system-ui, sans-serif;
  min-height: 100vh;
  color-scheme: dark;
}
.ct-tree *, .ct-tree *::before, .ct-tree *::after { box-sizing: border-box }
.ct-tree a { color: #d2f6bd; text-underline-offset: .22em }
.ct-tree a:focus-visible { outline: 3px solid #ffdf89; outline-offset: 5px; border-radius: 4px }
.ct-tree-nav, .ct-tree main { width: min(70rem, 100% - 2.5rem); margin-inline: auto }
.ct-tree-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; border-bottom: 1px solid #a3ecb832 }
.ct-tree-brand { font-size: 1.2rem; font-weight: 850; text-decoration: none; letter-spacing: -.045em }
.ct-tree main { padding-block: clamp(1.5rem, 4vw, 3rem) 3rem }
.ct-tree-hero { display: grid; grid-template-columns: 3fr 2fr; gap: 1rem; align-items: center; min-height: 16rem }
.ct-tree h1 { margin: 0; font-size: clamp(2.35rem, 6vw, 4.6rem); line-height: .98; letter-spacing: -.065em; text-wrap: balance }
.ct-tree-hero p { margin: 1rem 0; max-width: 38ch; color: #bdd9c7 }
.ct-tree-clock { display: grid; width: min(100%, 22rem); gap: .4rem; align-items: center; grid-template-columns: 1fr auto; font-size: .95rem; color: #cae9d4 }
.ct-tree-clock strong { font-variant-numeric: tabular-nums; color: #ffe193 }
.ct-tree-clock progress { grid-column: 1 / -1; width: 100%; height: .55rem; border: none; border-radius: 1rem; accent-color: #abe26c }
.ct-tree-button { display: inline-block; border: 1px solid #acdb7f; border-radius: 8px; padding: .65rem 1rem; text-decoration: none; font-weight: 750 }
.ct-tree-art {
  margin: 0;
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.45;
  width: min(100%, 24rem);
  justify-self: center;
  background: radial-gradient(ellipse at center, #7dce7970, #8df89c0f 52%, transparent 72%);
}
.ct-tree-canopy, .ct-tree-trunk, .ct-tree-fruit { position: absolute; display: block }
.ct-tree-canopy {
  inset: 3% 11% 30%;
  background:
    radial-gradient(ellipse at 49% 29%, #82ad58 0 26%, transparent 26.5%),
    radial-gradient(ellipse at 29% 56%, #638f56 0 30%, transparent 30.5%),
    radial-gradient(ellipse at 71% 55%, #558459 0 29%, transparent 29.5%),
    radial-gradient(ellipse at 54% 69%, #396f4b 0 31%, transparent 31.5%);
  filter: drop-shadow(0 0 1.9rem #6bd0804b);
}
.ct-tree-trunk {
  z-index: -1;
  inset: 42% 31% 8%;
  clip-path: polygon(9% 0, 45% 29%, 48% 0, 54% 0, 58% 34%, 86% 9%, 92% 13%, 57% 51%, 63% 82%, 100% 96%, 64% 93%, 53% 100%, 38% 93%, 0 98%, 35% 84%, 44% 47%, 4% 5%);
  background: linear-gradient(90deg, #59422d, #b08249 50%, #66432d);
}
.ct-tree-fruit { width: 8%; aspect-ratio: 1 }
.ct-tree-fruit:not(.ct-berry-coin) {
  border-radius: 36% 58% 54% 54%;
  background: radial-gradient(circle at 35% 26%, #fff1aa, #ffce61 42%, #d8893a 80%);
  box-shadow: 0 .1rem .8rem #ffdd8d66;
}
.ct-tree-fruit.ct-berry-coin {
  inline-size: 15%;
  filter: drop-shadow(0 .14rem .4rem #f7c75c88);
}
.ct-tree-fruit--one { top: 39%; left: 31%; transform: rotate(-13deg) }
.ct-tree-fruit--two { top: 32%; right: 29%; transform: rotate(16deg) scale(.86) }
.ct-tree-fruit--three { top: 54%; left: 53%; transform: rotate(10deg) scale(.72) }
.ct-tree-harvest .ct-tree-fruit { animation: ct-tree-ripe .85s ease-out }
@keyframes ct-tree-ripe { 50% { scale: 1.27; filter: drop-shadow(0 0 .85rem #ffe888); } }
.ct-tree-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .9rem; margin: 1.5rem 0 .8rem }
.ct-tree-metrics > div, .ct-tree-activity { border: 1px solid #b7e3bd38; background: #172a2c; border-radius: 12px }
.ct-tree-metrics > div { padding: 1rem 1.15rem; overflow-wrap: anywhere }
.ct-tree-metrics dt, .ct-tree-events small, .ct-tree-note { color: #bbd2c8 }
.ct-tree-metrics dd { margin: .12rem 0; color: #f6e6a7; font-size: clamp(1.15rem, 3vw, 1.8rem); font-variant-numeric: tabular-nums; font-weight: 790 }
.ct-tree-metrics small, .ct-tree-note { font-size: .9rem }
.ct-tree-message { padding: .6rem .8rem; color: #ffe8aa; border-left: .2rem solid #e4aa52 }
.ct-tree-activity { margin-top: 1.4rem; padding: 1rem 1.2rem }
.ct-tree-activity h2 { margin: 0; font-size: 1.35rem }
.ct-tree-events { margin: .7rem 0 0; padding: 0; list-style: none }
.ct-tree-events li { display: grid; grid-template-columns: minmax(8rem, 1fr) 1fr auto; gap: .7rem; align-items: center; border-top: 1px solid #a3ecb829; padding: .7rem 0; overflow-wrap: anywhere }
.ct-tree-events small { display: block; font-size: .83rem }
.ct-tree-events a { font-size: .95rem }
@media(max-width: 650px) {
  .ct-tree-hero { grid-template-columns: 1fr; min-height: auto }
  .ct-tree-art { max-width: 15rem }
  .ct-tree-events li { grid-template-columns: 1fr 1fr }
  .ct-tree-events a { grid-column: 1 / -1 }
}
@media(prefers-reduced-motion: reduce) {
  .ct-tree-harvest .ct-tree-fruit { animation: none }
}

.ct-tree .ct-tree-button {
  background: linear-gradient(135deg, #b8ed9f, #f7d98b);
  color: #152e24;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.ct-tree .ct-tree-button:disabled { opacity: .55; cursor: default }
.ct-tree .ct-tree-button:focus-visible, .ct-tree input:focus-visible {
  outline: 3px solid #ffdf89;
  outline-offset: 4px;
}
.ct-tree-hero--guild {
  padding: clamp(1rem, 4vw, 2.7rem);
  border: 1px solid #c6eea33c;
  border-radius: 23px;
  background: radial-gradient(ellipse at 73% 12%, #37644ba0, transparent 72%), #152b2b;
  box-shadow: 0 1.3rem 2.8rem #07151b80;
}
.ct-tree-bank {
  margin: 1.1rem 0;
  border: 1px solid #c8e9a34a;
  border-radius: 17px;
  padding: clamp(1rem, 4vw, 1.8rem);
  background: linear-gradient(132deg, #1b392f, #15292b);
}
.ct-tree-bank h2 { margin: 0 0 .25rem; font-size: clamp(1.4rem, 4vw, 2rem); letter-spacing: -.025em }
.ct-tree-bank p { margin: .45rem 0 0; color: #c3dcd0 }
.ct-tree-bank strong { color: #f6dfa0; font-size: clamp(1.65rem, 4vw, 2.45rem); overflow-wrap: anywhere }
.ct-tree-directory { margin: 1.2rem 0; border: 1px solid #a8cfba48; border-radius: 17px; padding: 1rem 1.25rem; background: #14272a }
.ct-tree-directory h2 { margin: 0 0 .25rem; font-size: 1.4rem }
.ct-tree-directory p { margin: .25rem 0 1rem }
.ct-tree-directory table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left }
.ct-tree-directory th, .ct-tree-directory td { padding: .65rem .25rem; border-bottom: 1px solid #add5bb35; overflow-wrap: anywhere }
.ct-tree-directory th { font-size: .9rem; color: #c4dece }
.ct-tree-directory th:last-child, .ct-tree-directory td:last-child { width: 32%; text-align: end; font-variant-numeric: tabular-nums }
.ct-tree-directory code { font-size: .82rem; color: #b5d5c3; overflow-wrap: anywhere }
.ct-tree-directory nav, .ct-tree-access { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1rem }
.ct-tree-signup {
  width: min(100%, 38rem);
  margin-inline: auto;
  padding: clamp(1rem, 5vw, 2.1rem);
  background: #14282b;
  border: 1px solid #a8cfba50;
  border-radius: 22px;
}
.ct-tree-signup h1 { font-size: clamp(2.15rem, 7vw, 3.55rem) }
.ct-tree-signup form { display: grid; gap: .55rem; margin-block: 1rem }
.ct-tree-signup input:not([type=checkbox]) { width: 100%; background: #0d2022; border: 1px solid #5b8c7c; border-radius: 8px; padding: .65rem; color: inherit; font: inherit }
.ct-tree-signup small { color: #bdd7c8; margin-bottom: .5rem }
.ct-tree-signup .ct-tree-consent { display: flex; align-items: flex-start; gap: .55rem; padding-block: .55rem }
.ct-tree-consent input { margin-top: .25em; accent-color: #b8ed9f }
.ct-guild-shop { scroll-margin-block-start: 1.5rem }
.ct-guild-shop__missions { list-style: none; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)) }
.ct-guild-shop__missions li { display: grid; padding: .65rem .8rem; border: 1px solid #d5eab641; border-radius: .65rem; background: #112a29 }
.ct-tree .ct-guild-shop__missions strong { font-size: 1.15rem }
.ct-guild-shop__missions span { color: #c3dcd0 }
.ct-guild-shop__item {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1.1rem;
  align-items: center;
  margin-block: 1rem;
  padding: 1rem;
  border: 1px solid #d5eab641;
  border-radius: 12px;
  background: #112a29;
}
.ct-guild-shop__item .ct-guild-shop__price { color: #f6dfa0; font-weight: 750 }
.ct-guild-shop__action { justify-self: start }
.ct-guild-shop__action .ct-tree-button { margin-block-start: .55rem }
.ct-guild-shop__action [data-tree-shop-status]:empty { display: none }
@media(max-width: 580px) {
  .ct-tree-directory { padding-inline: .8rem }
  .ct-tree-directory th:last-child, .ct-tree-directory td:last-child { width: 40% }
  .ct-tree-directory code { font-size: .75rem }
}

.ct-tree-nav nav { display: flex; flex-wrap: wrap; justify-content: end; gap: .55rem 1rem }
.ct-tree-origin-jump { display: inline-block; margin: .75rem 0 }
.ct-tree-stone {
  margin: 1.4rem 0;
  padding: clamp(1rem, 5vw, 2.6rem);
  border: 1px solid #b5a47978;
  border-radius: 1.35rem;
  background: radial-gradient(ellipse at 12% 0, #6a57363d, transparent 62%), #262d28;
  box-shadow: inset 0 0 0 4px #101b1c66;
}
.ct-tree-stone h2 { margin: 0 0 .45rem; font: 700 clamp(1.65rem, 4vw, 2.7rem)/1.1 Georgia, serif; color: #f5e6bb }
.ct-tree-stone h3 { margin: 0 0 .4rem; color: #f9e8b5 }
.ct-tree-stone p { max-width: 68ch; color: #d2ddd0 }
.ct-tree-stone blockquote { margin: .7rem 0; color: #ffe0a3; font: italic 1.18rem/1.5 Georgia, serif }
.ct-tree-origin { margin: 1.1rem 0; padding: clamp(.8rem, 3vw, 1.35rem); border-radius: .75rem; background: #162422; border: 1px solid #b6ac7150 }
.ct-tree-origin dl { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin: .75rem 0 }
.ct-tree-origin dt { font-size: .88rem; color: #cbd7bf }
.ct-tree-origin dd { margin: .15rem 0 0; font-weight: 700; color: #f4dfa5 }
.ct-tree-origin p { margin: .8rem 0 .3rem }
.ct-tree-origin code { display: block; margin: .25rem 0 .7rem; overflow-wrap: anywhere; color: #c6e9b6 }
.ct-tree-charter { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 19rem), 1fr)); gap: 1rem 1.6rem; margin: 1.3rem 0 }
.ct-tree-charter p { margin: .4rem 0 }
.ct-tree-goal { display: block; width: min(100%, 35rem); height: .8rem; margin: .85rem 0 .25rem; accent-color: #e6cf82 }
@media(max-width: 600px) {
  .ct-tree-nav { flex-wrap: wrap; justify-content: start; padding-block: .75rem }
  .ct-tree-nav nav { justify-content: start }
}
