#desk {
  position: fixed;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  background: #07090e;
}
body.needs-member { overflow: hidden; height: 100dvh; background: #07090e; }
body.needs-member .grid-bg,
body.needs-member .aurora,
body.needs-member .scan,
body.needs-member .top,
body.needs-member footer,
body.needs-member .lede,
body.needs-member #desk-dock,
body.needs-member #bird-guide,
body.needs-member #desk-menu,
body.needs-member #desk-back,
body.needs-member .hot { display: none; }
#desk-glass #gate {
  width: auto;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 12px 16px 6px;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #f4f7fb;
}
#desk-glass #gate h2 {
  margin: 0 0 8px;
  color: #3dff6e;
  font-size: 28px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
#desk-glass #gate .gate-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem 0.75rem;
  margin: 0 0 8px;
}
#desk-glass #gate .gate-head h2 { margin: 0; margin-right: auto; flex: 1 1 auto; }
#desk-glass #gate .gate-head .gate-head-marks {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  white-space: nowrap;
}
#desk-glass #gate .gate-head .gate-head-age {
  display: inline;
  font-family: "Oswald", sans-serif;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #ff4d4d;
  text-shadow: 0 0 16px rgba(255, 60, 60, 0.7);
}
#desk-glass #gate .gate-head .gate-head-book {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f4f7fb;
}
#desk-glass #gate .gate-head #join-signin {
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0.45rem 0.85rem;
  font-size: 14px;
  white-space: nowrap;
}
#desk.tv-full #desk-glass #gate .gate-head .gate-head-age { font-size: 2rem; }
#desk.tv-full #desk-glass #gate .gate-head .gate-head-book { font-size: 1.1rem; }
#desk-glass #gate:has(#member-form:not([hidden])) > .gate-age .gate-foot { display: none; }
#desk:not(.tv-full) #desk-glass #gate #gate-pick > h2 { padding-left: 3.2rem; font-size: 22px; letter-spacing: 0.03em; white-space: nowrap; }
#desk-glass #gate #gate-pick > h2 { white-space: nowrap; }
#desk-glass #gate .aim { display: block; color: #d5deea; font-size: 15px; max-width: none; margin: 0 0 0.45rem; } #desk-glass #gate .aim b { color: #3dff6e; font-size: 2.35em; font-weight: 800; line-height: 1; letter-spacing: -0.02em; text-shadow: 0 0 18px rgba(61, 255, 110, 0.75); } #desk-glass #gate #gate-record { margin-bottom: 0.15rem; line-height: 1.15; } #desk-glass #gate #gate-record .fine { display: block; margin-top: 0.12rem; color: #8ea0b3; font-size: 11px; font-weight: 400; line-height: 1.3; }
#desk-glass #gate .choice-line {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.25rem;
  margin: 0.55rem 0;
  color: #d5deea;
}
#desk-glass #gate .pass-check {
  list-style: none;
  margin: -0.15rem 0 0.45rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid rgba(61, 255, 110, 0.28);
  border-radius: 8px;
  background: rgba(4, 16, 24, 0.85);
}
#desk-glass #gate .pass-check.pass-ok { display: none; }
#desk-glass #gate .pass-check[hidden] { display: none; }
#desk-glass #gate .pass-check li {
  position: relative;
  margin: 0.2rem 0;
  padding-left: 1.35rem;
  color: #8ea0b3;
  font-size: 13px;
  line-height: 1.35;
}
#desk-glass #gate .pass-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 0.85rem;
  height: 0.85rem;
  border: 1px solid rgba(142, 160, 179, 0.7);
  border-radius: 50%;
  box-sizing: border-box;
}
#desk-glass #gate .pass-check li.ok { color: #3dff6e; }
#desk-glass #gate .pass-check li.ok::before {
  border-color: #3dff6e;
  background: #3dff6e;
  box-shadow: 0 0 8px rgba(61, 255, 110, 0.45);
}
#desk-glass #gate .pass-check li.ok::after {
  content: "";
  position: absolute;
  left: 0.22rem;
  top: 0.35rem;
  width: 0.35rem;
  height: 0.2rem;
  border-left: 2px solid #04140c;
  border-bottom: 2px solid #04140c;
  transform: rotate(-45deg);
}
#desk-glass #gate .pass-check li[hidden] { display: none; }
#desk-glass #gate .pass-wrap { display: flex; align-items: stretch; gap: 0.4rem; }
#desk-glass #gate .pass-wrap input { flex: 1 1 auto; width: auto; }
#desk-glass #gate button.pass-show { flex: none; width: auto; min-height: 0; margin: 0; padding: 0.35rem 0.75rem; border: 1px solid rgba(61, 255, 110, 0.7); border-radius: 8px; background: transparent; box-shadow: none; color: #d8ffe4; font-size: 14px; font-weight: 800; letter-spacing: normal; text-transform: none; cursor: pointer; }
#desk-glass #gate button.pass-show:hover { background: rgba(61, 255, 110, 0.12); }
#desk-glass #gate button.pass-show[aria-pressed="true"] { background: #3dff6e; color: #04140c; border-color: #3dff6e; box-shadow: none; }
#desk-glass #gate input {
  width: 100%;
  min-width: 0;
  background: #041018;
  color: #f4f7fb;
  border: 1px solid rgba(61, 255, 110, 0.45);
  border-radius: 8px;
  font-size: 16px;
}
#desk-glass #gate .pick-save { gap: 0.45rem; }
#desk-glass #gate button {
  background: #3dff6e;
  color: #04140c;
  border: 0;
  box-shadow: 0 0 16px rgba(61, 255, 110, 0.35);
}
#desk-glass #gate button.ghost {
  background: transparent;
  color: #d8ffe4;
  border: 1px solid rgba(61, 255, 110, 0.7);
  box-shadow: none;
} #desk-glass #gate a#login-join, #desk-glass #gate a#login-forgot, #desk-glass #gate a#forgot-back, #desk-glass #gate a#reset-back, #desk-glass #gate #forgot-ok a { color: #d8ffe4; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
#desk-glass #gate .gate-links { display: flex; flex-wrap: wrap; gap: 0.55rem 1.1rem; margin: 0.35rem 0; }
#desk-glass #gate #forgot-ok { color: #3dff6e; }
#desk-glass #gate-wait:not([hidden]) ~ .gate-legal, #desk-glass #gate-wait:not([hidden]) ~ #gate-record { display: none; }
#desk-glass #gate .gate-legal {
  flex-shrink: 0;
  margin: 0.4rem 0 0;
  color: #8ea0b3;
  font-size: 12px;
  line-height: 1.35; cursor: pointer;
}
#desk-glass #gate .gate-legal.gate-age {
  margin-top: auto;
}
#desk-glass #gate .squawk {
  flex: 1;
  display: flex; align-items: center;
  margin-top: 0.15rem;
}
#desk-glass #gate .squawk p {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 18px 16px;
  border: 2px solid #3dff6e;
  border-radius: 18px;
  background: #07180f;
  color: #f4fff6;
  font-family: "Bradley Hand", "Marker Felt", cursive;
  font-size: 28px;
  line-height: 1.25;
  box-shadow: 0 0 18px rgba(61, 255, 110, 0.28);
}
#desk-glass #gate .squawk p::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 36px;
  border: 9px solid transparent;
  border-right-color: #3dff6e;
}
#desk-glass #gate .squawk p::after {
  content: "";
  width: 9px;
  height: 1.05em;
  margin-left: 3px;
  background: #3dff6e;
  animation: desk-caret 0.7s steps(1) infinite;
}
body.needs-member #desk-head { animation: desk-talk 0.48s ease-in-out infinite; }
#desk-world {
  position: absolute;
  left: 0;
  top: 0;
  width: 959px;
  height: 1024px;
  transform-origin: 0 0;
}
#desk-bg {
  position: absolute;
  inset: 0;
  width: 959px;
  height: 1024px;
  pointer-events: none;
}
#desk-pad {
  position: absolute;
  left: 312px;
  top: 702px;
  width: 388px;
  height: 256px;
  pointer-events: none;
}
#desk-body, #desk-parrot {
  position: absolute;
  left: 0;
  top: 184px;
  width: 600px;
  height: 696px;
  pointer-events: none;
}
#desk-neon {
  position: absolute;
  left: 8px;
  top: 0;
  width: 390px;
  height: 210px;
  pointer-events: none;
  background: radial-gradient(circle at 40% 45%, rgba(90, 255, 140, 0.45), transparent 62%);
  mix-blend-mode: screen;
  animation: desk-neon 2.4s steps(2, end) infinite;
}
#desk-actor {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
}
#desk-sign {
  position: absolute;
  left: 118px;
  top: 230px;
  width: 216px;
  height: 47px;
  z-index: 9;
  pointer-events: none;
}
#desk-head {
  position: absolute;
  inset: 0;
  transform-origin: 416px 534px;
  animation: desk-bob 3.2s ease-in-out infinite;
}
#desk-glint {
  position: absolute;
  left: 378px;
  top: 328px;
  width: 168px;
  height: 42px;
  overflow: hidden;
  transform: rotate(-8deg);
  pointer-events: none;
}
#desk-glint::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 36px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  animation: desk-glint 3.2s ease-in-out infinite;
}
.warp {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  overflow: hidden;
}
#desk-glow, #desk-glass { left: 558px; top: 20px; width: 392px; height: 620px; }
#desk-glow { z-index: 3; pointer-events: none; border: 5px solid #3dff6e; box-shadow: 0 0 22px rgba(61, 255, 110, 0.55), inset 0 0 30px rgba(61, 255, 110, 0.2); animation: desk-glow 2.8s ease-in-out infinite; }
#desk-glass { z-index: 4; background: #07131a; }
#desk-note { width: 400px; height: 230px; z-index: 5; pointer-events: none; }
#desk-url {
  width: 400px;
  height: 36px;
  z-index: 5;
  pointer-events: none;
  color: #1a120c;
  font-family: "Bradley Hand", "Marker Felt", "Segoe Print", cursive;
}
#desk-url p {
  margin: 0;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 4px 0 58px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
#desk-note-in {
  height: 100%;
  overflow: hidden;
  background: transparent;
  color: #1a120c;
  font-family: "Bradley Hand", "Marker Felt", "Segoe Print", cursive;
  padding: 8px 18px 6px 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#desk-note-in .note-reason {
  margin: 0;
  font-size: 52px;
  line-height: 1.08;
  transform-origin: 0 70%;
}
#desk-note-in .note-reason b {
  background: #3dff6e;
  padding: 0 0.12em;
  border-radius: 2px;
}
#desk-note-in .note-reason a { color: inherit; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; pointer-events: auto; cursor: pointer; }
#desk-note-in .note-reason.pop { animation: note-pop 0.55s cubic-bezier(0.15, 1.35, 0.35, 1) both; }
#desk-books { position: absolute; left: 648px; top: 678px; width: 285px; height: 167px; z-index: 6; pointer-events: none; }
#desk-laptop { width: 250px; height: 340px; z-index: 8; }
.warp-in { width: 100%; height: 100%; overflow: auto; }
#desk-glass-in { color: #f4f7fb; background: #07131a; }
#desk .chalk, #desk .tracked, #desk .tabs, #desk .pane {
  width: auto;
  max-width: none;
  margin: 0;
  min-width: 0;
}
#desk-glass .chalk, #desk-glass .tracked, #desk-glass .pane {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #f4f7fb;
  padding: 12px 14px 18px;
}
#desk-glass h2 {
  margin: 0 0 4px;
  color: #3dff6e;
  font-size: 26px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
#desk-glass #pane-how p { margin: 0 0 6px; }
#desk-glass #pane-how b { color: #3dff6e; font-size: 16px; letter-spacing: 0.04em; }
#desk-glass .aim, #desk-glass .when, #desk-glass .quiet { color: #d5deea; font-size: 13px; }
#desk-glass .aim { display: none; }
#desk-glass li, #desk.tv-full #desk-glass li { grid-template-columns: 3.4rem minmax(0, 1fr) auto; align-items: start; }
#desk-glass li em { grid-column: 3; grid-row: 1; }
#desk-glass li b { color: #3dff6e; }
#desk-glass .chalk li .quiet, #desk-glass .chalk .history-slot, #desk-glass .ticket li .quiet, #desk-glass #choice-result li .quiet { display: none; }
#desk-glass li.open .quiet, #desk-glass .ticket li.open .quiet, #desk-glass #choice-result li.open .quiet { display: block; }
#desk-glass-in.arrive li { animation: leg-in 0.48s ease both; }
#desk-glass-in.arrive li:nth-child(2) { animation-delay: 0.08s; } #desk-glass-in.arrive li:nth-child(3) { animation-delay: 0.16s; } #desk-glass-in.arrive li:nth-child(4) { animation-delay: 0.24s; } #desk-glass-in.arrive li:nth-child(5) { animation-delay: 0.32s; }
#desk-laptop .chalk {
  height: 100%;
  overflow: auto;
  background: rgba(6, 16, 24, 0.9);
  color: #f4f7fb;
  border: 0;
  box-shadow: none;
  padding: 8px;
}
#desk-laptop .aim { display: none; }
#desk-laptop h2 { color: #3dff6e; font-size: 18px; margin: 0 0 4px; }
#desk-laptop .choice-line, #desk-laptop .quiet { color: #d5deea; }
#desk-laptop select, #desk-laptop input {
  max-width: 100%;
  color: #f4f7fb;
  background: #07131a;
}
.hot {
  position: absolute;
  z-index: 5;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.hot:hover, .hot.on { box-shadow: inset 0 0 0 2px rgba(61, 255, 110, 0.0), 0 0 18px rgba(61, 255, 110, 0.35); }
#desk-fantasy {
  position: absolute;
  left: 42px;
  top: 628px;
  z-index: 9;
  width: auto;
  max-width: 210px;
  margin: 0;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(61, 255, 110, 0.85);
  border-radius: 999px;
  background: #04140c;
  box-shadow: 0 0 16px rgba(61, 255, 110, 0.35);
  color: #3dff6e;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: none;
  text-align: center;
  cursor: pointer;
  filter: none;
}
#desk-fantasy:hover,
#desk-fantasy:focus-visible {
  filter: none;
  background: #3dff6e;
  border-color: #3dff6e;
  color: #04140c;
  box-shadow: 0 0 18px rgba(61, 255, 110, 0.45);
}
#desk.tv-full #desk-fantasy { display: none; }
#desk-full, #desk-menu {
  position: absolute;
  top: 0.6rem;
  z-index: 14;
  width: 2.7rem;
  height: 2.7rem;
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(61, 255, 110, 0.85);
  border-radius: 8px;
  background: rgba(4, 16, 12, 0.88);
  color: #3dff6e;
  box-shadow: 0 0 14px rgba(61, 255, 110, 0.35);
  cursor: pointer;
}
#desk-logo { display: none; }
#desk.tv-full #desk-logo {
  display: block;
  position: absolute;
  top: 0.4rem;
  left: 0.7rem;
  z-index: 14;
  line-height: 0;
}
#desk.tv-full #desk-logo img { height: 46px; width: auto; display: block; }
#desk-name { display: none; }
#desk.tv-full #desk-name { display: block; position: absolute; z-index: 14; top: 0.32rem; left: 50%; transform: translateX(-50%); height: 3.05rem; width: calc(3.05rem * 610 / 262); max-width: calc(100% - 13rem); object-fit: contain; pointer-events: none; }
#desk.tv-full::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.7rem;
  background: #07090e;
  z-index: 13;
}
#desk-full { display: none; }
#desk-menu { right: 0.6rem; }
#desk.menu-open #desk-menu { background: #3dff6e; color: #04140c; }
#desk-full .shut { display: none; }
#desk.tv-full #desk-full .open { display: none; }
#desk.tv-full #desk-full .shut { display: block; }
#desk-full:hover, #desk-menu:hover { filter: none; background: #3dff6e; color: #04140c; }
#desk.tv-full #desk-glass {
  position: absolute;
  left: 0;
  top: 3.7rem;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  z-index: 11;
  transform: none;
  border: 0;
  box-shadow: none;
}
#desk.tv-full #desk-glass h2 { font-size: 40px; }
#desk.tv-full #desk-glass .quiet,
#desk.tv-full #desk-glass .when,
#desk.tv-full #desk-glass .aim,
#desk.tv-full #desk-glass p,
#desk.tv-full #desk-glass li { font-size: 18px; }
#desk.tv-full #desk-glass #pane-how b { font-size: 22px; }
#desk.tv-full #desk-glass li { grid-template-columns: 4.4rem minmax(0, 1fr) auto; }
#desk.tv-full #desk-glass .chalk,
#desk.tv-full #desk-glass .tracked,
#desk.tv-full #desk-glass .pane {
  max-width: 880px;
  margin: 0 auto;
  padding: 24px 28px 32px;
}
#desk.tv-full #desk-glass button,
#desk.tv-full #desk-glass select,
#desk.tv-full #desk-glass input:not(.leg-check):not(#bird-name):not([type="checkbox"]) {
  font-size: 18px;
  min-height: 2.7rem;
}
#desk-glass .leg-swap, #desk.tv-full #desk-glass .leg-swap { min-height: 2.2rem; margin: 0.15rem 0 0.7rem; padding: 0.35rem 0.85rem; font-size: 14px; width: auto; border: 1px solid #3dff6e; background: #07140f; color: #3dff6e; box-shadow: none; } #desk-glass .leg-check { display: none; width: 1.15rem; height: 1.15rem; margin: 0 0.4rem 0 0; accent-color: #3dff6e; vertical-align: -0.1rem; } #desk-glass .editing .leg-check { display: inline-block; }
#chooser.built #choice-filters { display: none; }
#choice-save, #desk.tv-full #desk-glass #choice-save { width: 2rem; height: 2rem; min-height: 0; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
#choice-save.on svg { fill: currentColor; }
#desk-back, #desk.tv-full #desk-glass #desk-back { position: absolute; top: 8px; left: 8px; z-index: 7; width: 2rem; height: 2rem; min-height: 0; padding: 0; display: none; align-items: center; justify-content: center; border: 1px solid #3dff6e; border-radius: 8px; background: #07140f; color: #3dff6e; box-shadow: none; }
#desk.tv-full.has-back #desk-glass #desk-back { display: inline-flex; }
#desk.has-back #desk-glass-in { padding-top: 2.6rem; }
#desk-glass .chalk:not(#chooser), #chooser.built { position: relative; padding-top: 2.8rem; }
#desk-glass .chalk > .pick-save { position: absolute; top: 8px; left: 8px; z-index: 6; margin: 0; width: auto; display: flex; flex-wrap: nowrap; gap: 6px; align-items: center; }
#desk.has-back #desk-glass .chalk > .pick-save { left: 46px; }
#desk.has-back #desk-glass-in > .chalk:first-of-type { padding-top: 12px; }
#desk.has-back #desk-glass-in > .chalk:first-of-type > .pick-save { top: -2.15rem; }
#desk-glass .chalk > .pick-save button.ghost, #desk-glass .chalk > .pick-save a.ghost, #desk.tv-full #desk-glass .chalk > .pick-save button.ghost, #desk.tv-full #desk-glass .chalk > .pick-save a.ghost { width: 2rem; height: 2rem; min-height: 0; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border-color: #3dff6e; background: #07140f; color: #3dff6e; }
#desk-glass .chalk > .pick-save button.on svg, #desk-glass .chalk > .pick-save button:disabled svg { fill: currentColor; }
#desk-glass .chalk > .pick-save .star, #desk.tv-full #desk-glass .chalk > .pick-save .star { min-height: 0; width: auto; height: auto; padding: 0 0.05rem; font-size: 16px; }
#desk-glass #choice-again[hidden] { display: none; }
#desk.tv-full #desk-glass #gate h2 { font-size: 34px; letter-spacing: 0.03em; white-space: nowrap; }
#desk.tv-full #desk-glass #gate .aim { font-size: 18px; }
#desk.tv-full #desk-glass #gate .squawk p { font-size: 36px; }
#desk-dock {
  display: none;
  position: absolute;
  top: 3.7rem;
  right: 0.6rem;
  z-index: 15;
  flex-direction: column;
  align-items: stretch;
  gap: 0.2rem;
  width: min(15rem, calc(100% - 1.2rem));
  margin: 0;
  padding: 0.35rem;
  background: #07140f;
  border: 1px solid rgba(61, 255, 110, 0.85);
  border-radius: 10px;
  box-shadow: 0 0 18px rgba(61, 255, 110, 0.35);
  pointer-events: auto;
}
#desk.menu-open #desk-dock { display: flex; }
#desk-dock .tab, #desk-dock .who button {
  pointer-events: auto;
  width: 100%;
  margin: 0;
  padding: 0.5rem 0.7rem;
  text-align: left;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #d8ffe4;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(61, 255, 110, 0.85);
  box-shadow: none;
}
#desk-dock .tab.on { color: #04140c; background: #3dff6e; text-shadow: none; }
#desk-dock .who { margin: 0; display: flex; gap: 0.25rem; justify-content: flex-end; }
#desk-dock .who button { width: 2.2rem; height: 2.2rem; padding: 0; text-align: center; }
body.day-board .banner:not([hidden]) {
  position: fixed;
  top: 0.4rem;
  left: 0.6rem;
  right: 0.6rem;
  z-index: 12;
  width: auto;
}
@keyframes note-pop {
  0% { opacity: 0; transform: scale(0.92) translateY(10px); }
  70% { opacity: 1; transform: scale(1.02); }
  100% { opacity: 1; transform: none; }
}
@keyframes desk-bob {
  50% { transform: rotate(-2.4deg); }
}
@keyframes desk-talk {
  0%, 100% { transform: rotate(0deg); }
  35% { transform: rotate(-3.2deg); }
  70% { transform: rotate(2deg); }
}
@keyframes desk-caret {
  50% { opacity: 0; }
}
@keyframes desk-glint {
  0%, 55% { left: -40px; }
  80%, 100% { left: 180px; }
}
@keyframes desk-glow {
  50% { box-shadow: 0 0 34px rgba(61, 255, 110, 0.85), inset 0 0 40px rgba(61, 255, 110, 0.28); }
}
@keyframes desk-neon { 0%, 100% { opacity: 0.35; } 40% { opacity: 0.85; } 70% { opacity: 0.2; } }
@keyframes leg-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
#bird-guide { display: none; }
#desk.bird-on #bird-guide:not([hidden]) {
  position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column;
  justify-content: safe center; gap: 0.7rem; padding: 18px 16px 18px 26px; overflow: auto;
  background: #07131a; color: #f4fff6; font-family: "Bradley Hand", "Marker Felt", cursive;
}
#desk.bird-on #desk-glass-in { visibility: hidden; }
#bird-line {
  position: relative; margin: 0; padding: 16px 14px; border: 2px solid #3dff6e; border-radius: 16px;
  background: #07180f; font-size: 26px; line-height: 1.25; box-shadow: 0 0 18px rgba(61, 255, 110, 0.28);
} #bird-line.warn { font-family: "Outfit", sans-serif; font-size: 34px; font-weight: 700; line-height: 1.2; color: #ffe4e4; background: #1a0808; border-color: #ff4d4d; box-shadow: 0 0 26px rgba(255, 60, 60, 0.5); cursor: pointer; }
#bird-line::before { content: ""; position: absolute; left: -14px; top: 22px; border: 8px solid transparent; border-right-color: #3dff6e; } #bird-line.warn::before { border-right-color: #ff4d4d; }
#bird-line::after { content: ""; display: inline-block; width: 8px; height: 0.95em; margin-left: 3px; background: #3dff6e; vertical-align: text-bottom; animation: desk-caret 0.7s steps(1) infinite; } #bird-line.warn::after { background: #ff4d4d; }
#bird-picks, #call-state-pick { display: flex; flex-wrap: wrap; gap: 0.4rem; }
#bird-picks button, #call-state-pick button { margin: 0; padding: 0.35rem 0.7rem; border: 0; border-radius: 8px; box-shadow: none; background: #3dff6e; color: #04140c; font-family: "Rajdhani", sans-serif; font-weight: 700; letter-spacing: 0.04em; text-transform: none; cursor: pointer; max-width: 100%; white-space: normal; text-align: left; } #bird-picks input, #call-state-pick input, #bird-picks textarea, #activity #call-name { width: 11rem; min-height: 0; margin: 0; padding: 0.35rem 0.7rem; border: 1px solid #3dff6e; border-radius: 8px; background: #041018; color: #f4f7fb; font-size: 16px; } #bird-picks input[type="date"], #desk-glass #gate input[type="date"] { color-scheme: dark; } #bird-picks #bird-born { width: 12.5rem; } #bird-picks #bird-born-error { flex: 1 0 100%; margin: 0; color: #ff8f8f; font-size: 14px; }
#desk.tv-full #desk-glass #bird-line { font-size: 36px; } #desk.tv-full #desk-glass #bird-line.warn { font-size: 48px; }
#desk.tv-full #desk-glass #bird-picks button, #desk.tv-full #desk-glass #call-state-pick button { font-size: 18px; min-height: 0; }
#desk-head.bird-talk { animation: desk-talk 0.42s ease-in-out 3, desk-talk 1.15s ease-in-out 1.26s infinite; }
#tv-zoom-open { display: none; }
body:not(.tv-zoom-on) #desk:not(.tv-full) #tv-zoom-open { position: absolute; right: 0.7rem; bottom: 1.05rem; z-index: 12; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; min-height: 0; margin: 0; padding: 0; border: 1px solid rgba(61, 255, 110, 0.85); border-radius: 8px; background: rgba(4, 16, 12, 0.92); color: #3dff6e; box-shadow: 0 0 14px rgba(61, 255, 110, 0.35); cursor: pointer; pointer-events: auto; }
body.needs-member #desk-glass #gate { padding-bottom: 4.4rem; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; }
body.needs-member #desk-glass #gate:has(#member-form:not([hidden]), #login-form:not([hidden]), #forgot-form:not([hidden]), #reset-form:not([hidden])) .gate-age { margin-top: 0.75rem; padding-top: 0.35rem; }
body.needs-member #desk-glass #gate .gate-age { margin-bottom: 0.15rem; }
body.needs-member:not(.tv-zoom-on) #desk-glass #gate .gate-age { margin-right: 2.8rem; }
#desk-glass:has(#tv-tick-meet:not([hidden])) #gate .gate-age,
#desk-glass:has(#tv-tick-meet:not([hidden])) #greet-legal { display: none !important; }
#tv-zoom { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, 0.72); }
body.tv-zoom-on #desk { z-index: 40; }
#tv-zoom[hidden] { display: none; }
#tv-zoom-card { position: relative; width: min(880px, 100%); height: min(920px, 100%); border: 1px solid rgba(61, 255, 110, 0.55); border-radius: 16px; background: #07131a; box-shadow: 0 0 28px rgba(61, 255, 110, 0.25); overflow: hidden; }
#tv-zoom-card .tv-zoom-bird, #hang-card .tv-zoom-bird, #trial-warn-card .tv-zoom-bird { position: absolute; top: 10px; left: 10px; z-index: 2; width: 3.4rem; height: 3.4rem; border: 1px solid rgba(61, 255, 110, 0.85); border-radius: 10px; box-shadow: 0 0 14px rgba(61, 255, 110, 0.35); pointer-events: none; }
#tv-zoom-card .tv-zoom-bird span, #hang-card .tv-zoom-bird span, #trial-warn-card .tv-zoom-bird span { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; background: #05080c; transform: scaleX(-1); }
#tv-zoom-card .tv-zoom-bird img, #hang-card .tv-zoom-bird img, #trial-warn-card .tv-zoom-bird img { position: absolute; top: 0; left: -66.07%; width: 214.29%; height: auto; max-width: none; }
#tv-zoom-card .tv-zoom-brand {
  display: none;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  align-items: center;
  gap: 0.55rem;
  max-width: calc(100% - 4.2rem);
  padding: 0.35rem 0.65rem 0.35rem 0.35rem;
  border: 1px solid rgba(61, 255, 110, 0.85);
  border-radius: 12px;
  background: rgba(4, 16, 12, 0.94);
  box-shadow: 0 0 16px rgba(61, 255, 110, 0.35);
  text-decoration: none;
}
#tv-zoom-card .tv-zoom-brand .tv-zoom-logo { width: 2.7rem; height: 2.7rem; object-fit: contain; flex: 0 0 auto; }
#tv-zoom-card .tv-zoom-brand .tv-zoom-word { height: 1.55rem; width: auto; max-width: min(14rem, 46vw); object-fit: contain; }
body.needs-member #tv-zoom-card .tv-zoom-bird { display: none; }
body.needs-member #tv-zoom-card .tv-zoom-brand { display: inline-flex; }
#tv-zoom-x, #hang-x, #trial-warn-x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 2.4rem; height: 2.4rem; min-height: 0; margin: 0; padding: 0; border: 1px solid rgba(61, 255, 110, 0.85); border-radius: 8px; background: rgba(4, 16, 12, 0.92); color: #3dff6e; box-shadow: none; font-size: 1.6rem; line-height: 1; letter-spacing: 0; text-transform: none; cursor: pointer; }
#hang { position: fixed; inset: 0; z-index: 45; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, 0.72); }
#hang[hidden] { display: none; }
body.hang-on #desk { z-index: 40; }
#hang-card { position: relative; width: min(720px, 100%); max-height: calc(100vh - 32px); border: 1px solid rgba(61, 255, 110, 0.55); border-radius: 16px; background: #07131a; box-shadow: 0 0 28px rgba(61, 255, 110, 0.25); overflow: auto; }
#hang-card .hang-brand { display: inline-flex; position: absolute; top: 10px; left: 10px; z-index: 2; align-items: center; gap: 0.55rem; max-width: calc(100% - 9rem); padding: 0.35rem 0.65rem 0.35rem 0.35rem; border: 1px solid rgba(61, 255, 110, 0.85); border-radius: 12px; background: rgba(4, 16, 12, 0.94); box-shadow: 0 0 16px rgba(61, 255, 110, 0.35); text-decoration: none; }
#hang-card .hang-logo { width: 2.7rem; height: 2.7rem; object-fit: contain; flex: 0 0 auto; }
#hang-card .hang-word { height: 1.55rem; width: auto; max-width: min(14rem, 42vw); object-fit: contain; }
#hang-card .tv-zoom-bird { left: auto; right: 10px; }
#hang-x { right: 4.5rem; }
#hang-news { display: flex; flex-direction: column; gap: 0.55rem; }
#hang-news-list { display: flex; flex-direction: column; gap: 0.4rem; }
#hang-news-list button { width: 100%; margin: 0; padding: 0.45rem 0.7rem; border: 1px solid rgba(231, 193, 90, 0.45); border-radius: 10px; background: transparent; box-shadow: none; color: #f4f7fb; font-family: "Outfit", sans-serif; font-size: 0.95rem; font-weight: 600; letter-spacing: 0; line-height: 1.35; text-align: left; text-transform: none; cursor: pointer; }
#hang-news-list button:hover { color: #e7c15a; filter: none; }
#hang-metals { display: flex; flex-direction: column; gap: 0.7rem; }
#hang-metals .tv-tick-card { max-width: none; }
#hang-metals .gate-sample-why { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
#trial-warn { position: fixed; inset: 0; z-index: 46; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, 0.72); }
#trial-warn[hidden] { display: none; }
body.trial-warn-on #desk { z-index: 40; }
#trial-warn-card { position: relative; width: min(560px, 100%); border: 1px solid rgba(61, 255, 110, 0.55); border-radius: 16px; background: #07131a; box-shadow: 0 0 28px rgba(61, 255, 110, 0.25); overflow: hidden; }
#trial-warn-body { display: flex; flex-direction: column; gap: 0.85rem; padding: 4.6rem 1.35rem 1.35rem; }
#trial-warn-title { margin: 0; color: #f4f7fb; font-family: "Oswald", sans-serif; font-size: clamp(1.55rem, 3.8vw, 2.1rem); font-weight: 600; letter-spacing: 0.01em; line-height: 1.15; text-align: left; text-transform: none; }
#trial-warn-say { margin: 0; color: #d7e2ea; font-family: "Outfit", sans-serif; font-size: 1.08rem; font-weight: 500; line-height: 1.4; }
#trial-warn-when, .trial-warn-when { margin: 0; color: #3dff6e; font-family: "Rajdhani", sans-serif; font-size: 1.05rem; font-weight: 700; letter-spacing: 0.04em; }
#trial-warn-acts { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.35rem; }
#trial-warn-acts button { margin: 0; padding: 0.72rem 1rem; border: 0; border-radius: 10px; background: #3dff6e; color: #04140c; box-shadow: none; font-family: "Rajdhani", sans-serif; font-size: 1.15rem; font-weight: 700; letter-spacing: 0.03em; text-transform: none; cursor: pointer; }
#trial-warn-acts button:hover { background: #6bff92; filter: none; }
#trial-warn-acts button[data-trial-warn="later"] { background: transparent; color: #3dff6e; border: 1px solid rgba(61, 255, 110, 0.7); }
#trial-warn-acts button[data-trial-warn="later"]:hover { background: rgba(61, 255, 110, 0.12); }
#hang-body { display: flex; flex-direction: column; gap: 1.15rem; padding: 4.6rem 1.35rem 1.35rem; }
#hang-title { margin: 0; color: #f4f7fb; font-family: "Oswald", sans-serif; font-size: clamp(1.7rem, 4vw, 2.45rem); font-weight: 600; letter-spacing: 0.01em; line-height: 1.15; text-align: left; text-transform: none; }
#hang .hang-say { margin: -0.55rem 0 0; color: #3dff6e; font-family: "Outfit", sans-serif; font-size: 1.12rem; font-weight: 600; line-height: 1.35; }
#hang-go { width: 100%; margin: -0.35rem 0 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #d7e2ea; font-family: "Outfit", sans-serif; font-size: 1.15rem; font-weight: 500; letter-spacing: 0; line-height: 1.35; text-align: left; text-transform: none; cursor: pointer; }
#hang-go:hover { color: #3dff6e; filter: none; }
#hang .tv-lazy { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.85rem 1rem; width: 100%; max-width: none; margin: 0; text-align: left; }
#hang .tv-lazy-die { display: block; width: 5.2rem; height: 5.2rem; min-width: 5.2rem; min-height: 0; margin: 0; padding: 0.62rem; border: 0; border-radius: 1rem; background: linear-gradient(145deg, #ffffff, #d9e6de); box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.18), 0 0 24px rgba(61, 255, 110, 0.55), 0 10px 20px rgba(0, 0, 0, 0.55); color: inherit; font-size: 0; letter-spacing: 0; text-transform: none; cursor: pointer; }
#hang .tv-lazy-die:disabled { opacity: 1; filter: none; cursor: wait; }
#hang .tv-lazy.rolled .tv-lazy-die { width: 3.3rem; height: 3.3rem; min-width: 3.3rem; padding: 0.38rem; border-radius: 0.7rem; }
#hang .hang-die-say { flex: 1; min-width: 12rem; margin: 0; color: #d7e2ea; font-family: "Outfit", sans-serif; font-size: 1.05rem; line-height: 1.4; }
#hang .tv-lazy.rolled .hang-die-say { display: none; }
#hang .tv-lazy-again { display: none; margin: 0; color: #3dff6e; font-family: "Rajdhani", sans-serif; font-size: 1.05rem; font-weight: 700; letter-spacing: 0.04em; cursor: pointer; }
#hang .tv-lazy.rolled .tv-lazy-again { display: block; }
#hang .tv-lazy-out { flex-basis: 100%; }
#hang .tv-tick-open { margin-right: 0.4rem; }
#hang-acts { display: flex; flex-wrap: wrap; gap: 0.55rem; }
#hang-acts button { margin: 0; padding: 0.72rem 1rem; border: 0; border-radius: 10px; background: #3dff6e; color: #04140c; box-shadow: none; font-family: "Rajdhani", sans-serif; font-size: 1.15rem; font-weight: 700; letter-spacing: 0.03em; text-transform: none; }
#hang-acts button:hover { background: #6bff92; filter: none; }
#hang-acts button[data-hang="mine"], #hang-acts button[data-hang="chat"], #hang-acts button[data-hang="fantasy"] { background: #04140c; color: #3dff6e; border: 1px solid rgba(61, 255, 110, 0.7); }
#hang-acts button[data-hang="mine"]:hover, #hang-acts button[data-hang="chat"]:hover, #hang-acts button[data-hang="fantasy"]:hover {
  filter: none;
  background: #3dff6e;
  border-color: #3dff6e;
  color: #04140c;
}
#tv-zoom #desk-glass #gate { padding-left: 4.6rem; }
body.needs-member #tv-zoom #desk-glass #gate { padding-top: 4.4rem; padding-left: 1rem; padding-right: 1rem; }
#tv-zoom #desk-glass { position: absolute; left: 0; top: 0; right: 0; bottom: 0; width: auto; height: auto; transform: none; overflow-x: hidden; overflow-y: auto; z-index: 1; }
#tv-zoom #desk-glass #gate h2 { font-size: 40px; padding-left: 0; }
body.needs-member #tv-zoom #desk-glass #gate h2,
body.needs-member #tv-zoom #desk-glass #gate .gate-head h2 { font-size: clamp(1.35rem, 4.2vw, 2rem); }
#tv-zoom #desk-glass #gate .aim, #tv-zoom #desk-glass #gate p { font-size: 18px; }
#tv-zoom .tv-how-say, #tv-zoom .tv-lazy-ask { font-size: 1.25rem; }
#tv-zoom .tv-lazy-head { font-size: 2.4rem; }
