#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 .aim { display: block; color: #d5deea; font-size: 15px; max-width: none; margin: 0 0 0.7rem; } #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 input {
  width: 100%;
  min-width: 0;
  background: #041018;
  color: #f4f7fb;
  border: 1px solid rgba(61, 255, 110, 0.45);
  border-radius: 8px;
}
#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 { color: #d8ffe4; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
#desk-glass #gate-wait:not([hidden]) ~ .gate-legal, #desk-glass #gate-wait:not([hidden]) ~ #gate-record { display: none; }
#desk-glass #gate .gate-legal {
  margin: 0.4rem 0 0;
  color: #8ea0b3;
  font-size: 12px;
  line-height: 1.35; cursor: pointer;
}
#desk-glass #gate .squawk {
  flex: 1;
  display: flex;
  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.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-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) {
  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: 40px; }
#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 { display: flex; flex-wrap: wrap; gap: 0.4rem; }
#bird-picks 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, #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 { 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; }
