/* src/app/globals.css */
:root {
  --page: #ffffff;
  --ink: #111111;
  --link: #003399;
  --visited: #551a8b;
  --top: #220092;
  --nav: #426ab3;
  --bar: #6699cc;
  --bar-dark: #336699;
  --panel: #e5e5e5;
  --soft: #f7f7f7;
  --yellow: #fff0bd;
  --orange: #f0c36d;
  --green: #dff4de;
  --red: #cc0000;
  --border: #7f7f7f;
}
* {
  box-sizing: border-box;
}
html {
  background: #8bc7f1;
}
body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(
      ellipse at 9% 15%,
      rgba(255, 255, 255, 0.96) 0 7%,
      transparent 8%),
    radial-gradient(
      ellipse at 21% 24%,
      rgba(255, 255, 255, 0.9) 0 9%,
      transparent 10%),
    radial-gradient(
      ellipse at 73% 12%,
      rgba(255, 255, 255, 0.95) 0 8%,
      transparent 9%),
    radial-gradient(
      ellipse at 86% 36%,
      rgba(255, 255, 255, 0.88) 0 10%,
      transparent 11%),
    radial-gradient(
      ellipse at 18% 72%,
      rgba(255, 255, 255, 0.9) 0 10%,
      transparent 11%),
    radial-gradient(
      ellipse at 62% 82%,
      rgba(255, 255, 255, 0.92) 0 9%,
      transparent 10%),
    linear-gradient(
      #98d2ff,
      #caecff 48%,
      #8bc7f1);
  background-attachment: fixed;
  color: var(--ink);
  font-family:
    Arial,
    Helvetica,
    sans-serif;
  font-size: 13px;
}
a {
  color: white;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
textarea {
  font: inherit;
}
button {
  min-height: 24px;
  padding: 2px 12px;
  border: 2px outset #ffffff;
  border-radius: 0;
  background: #d4d0c8;
  color: #000;
  cursor: pointer;
  font-weight: 700;
}
button:active {
  border-style: inset;
}
button:disabled {
  color: #777;
  cursor: not-allowed;
}
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px dotted #000;
  outline-offset: 1px;
}
input,
textarea {
  width: 100%;
  border: 2px inset #ffffff;
  border-radius: 0;
  background: #fff;
  color: #000;
}
input {
  min-height: 24px;
  padding: 2px 5px;
}
input[type=file] {
  min-height: 30px;
  padding: 3px;
  background: #fff;
}
textarea {
  min-height: 96px;
  padding: 5px;
  line-height: 1.35;
  resize: vertical;
}
.hidden {
  display: none !important;
}
.site-chrome {
  width: 100%;
  border-bottom: 2px ridge #ffffff;
  color: #fff;
  font-size: 12px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.22);
}
.topbar {
  min-height: 29px;
  padding: 3px 8px;
  background:
    linear-gradient(
      90deg,
      #130070,
      #3216c8 55%,
      #130070);
  display: grid;
  grid-template-columns: auto auto auto auto minmax(180px, 1fr) auto;
  gap: 12px;
  align-items: center;
}
.topbar b {
  font-size: 14px;
}
.topbar-right {
  justify-self: end;
  white-space: nowrap;
}
.search-box {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto;
  gap: 5px;
  align-items: center;
}
.search-box button {
  min-height: 22px;
  padding: 0 10px;
}
.navstrip {
  min-height: 21px;
  padding: 3px 10px;
  background: linear-gradient(#6d8fd3, #315fa8);
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  align-items: center;
}
.navstrip a {
  padding: 0 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.6);
  line-height: 1;
}
.shell {
  width: min(1040px, calc(100vw - 24px));
  min-height: calc(100vh - 51px);
  margin: 0 auto;
  padding: 14px 0 24px;
  display: grid;
  align-items: start;
}
.shell-start {
  width: min(1120px, calc(100vw - 24px));
  min-height: 100vh;
  padding: 10px 0;
  align-items: center;
}
.masthead {
  margin-bottom: 10px;
  padding: 12px 14px;
  border: 2px ridge #ffffff;
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
}
.eyebrow,
.panel-title,
.message-meta,
.box-title {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
}
.eyebrow {
  color: #555;
}
h1,
h2,
p {
  margin-top: 0;
}
h1 {
  margin: 0 0 5px;
  color: #02007d;
  font-size: 32px;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 2px 2px 0 #b7e5ff;
}
h2 {
  margin: 0 0 8px;
  font-size: 16px;
}
.dek {
  max-width: 760px;
  margin-bottom: 0;
  line-height: 1.35;
}
.profile-form {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 12px;
}
.start-screen {
  display: grid;
  place-items: center;
  gap: 10px;
}
.start-marquee {
  width: min(920px, 100%);
  min-height: 30px;
  padding: 4px 8px;
  border: 2px ridge #ffffff;
  background: #ffff00;
  color: #000;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  font-weight: 900;
  text-align: center;
}
.start-marquee span::before {
  content: "!! ";
  color: #cc0000;
}
.start-window {
  width: min(920px, 100%);
  border: 2px outset #ffffff;
  background: #c0c0c0;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.45);
}
.start-hero {
  min-height: 182px;
  padding: 18px 22px 16px;
  border: 2px inset #ffffff;
  margin: 10px;
  background:
    linear-gradient(
      135deg,
      rgba(8, 0, 120, 0.9),
      rgba(1, 86, 184, 0.78)),
    repeating-linear-gradient(
      0deg,
      #0b008f 0 10px,
      #001b88 11px 20px);
  color: #fff;
  text-align: center;
  display: grid;
  place-items: center;
  align-content: center;
}
.start-hero h1 {
  color: #ffff00;
  font-size: clamp(42px, 7vw, 68px);
  text-shadow: 3px 3px 0 #000, 5px 5px 0 #ff00cc;
}
.start-badge {
  width: fit-content;
  margin: 0 auto 8px;
  padding: 3px 9px;
  border: 2px outset #ffffff;
  background: #00d084;
  color: #001b18;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.start-hero .dek {
  margin-left: auto;
  margin-right: auto;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  text-shadow: 2px 2px 0 #000;
}
.start-layout {
  padding: 0 10px 10px;
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  align-items: stretch;
  gap: 10px;
}
.start-icon-stack {
  border: 2px inset #ffffff;
  background: linear-gradient(#ffffff, #e6e6e6);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
}
.start-icon-stack .pixel-icon {
  width: 48px;
  height: 48px;
}
.start-rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.start-rule {
  min-height: 108px;
  padding: 10px;
  border: 2px ridge #ffffff;
  background: #f8f8f8;
}
.start-rule h2 {
  margin: 0 0 6px;
  color: var(--top);
  font-size: 18px;
}
.start-rule p {
  margin: 0;
  line-height: 1.35;
  font-size: 14px;
}
.start-rule.important {
  border-color: #ff00cc;
  background: #fff6ff;
}
.start-warning {
  margin: 0 10px 10px;
  padding: 9px 12px;
  border: 2px inset #ffffff;
  background: #fff9d7;
  line-height: 1.35;
  font-size: 14px;
}
.start-actions {
  padding: 0 10px 12px;
  text-align: center;
}
.start-actions button {
  min-width: 260px;
  min-height: 36px;
  border-width: 3px;
  background: #00d084;
  font-size: 22px;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 #000;
}
.desktop-window {
  width: min(650px, 100%);
  margin: 0 auto 14px;
  border: 2px outset #ffffff;
  background: #c0c0c0;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
}
.window-title {
  min-height: 24px;
  padding: 2px 4px;
  background:
    linear-gradient(
      90deg,
      #05008b,
      #163ee7);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
}
.mini-folder {
  width: 18px;
  height: 14px;
  border: 1px solid #222;
  background: linear-gradient(#ffff66 0 35%, #d9b625 36%);
  box-shadow: inset 2px 2px 0 #fff8a8;
}
.window-buttons {
  margin-left: auto;
  display: flex;
  gap: 2px;
}
.window-buttons i {
  width: 16px;
  height: 16px;
  border: 2px outset #ffffff;
  background: #c0c0c0;
  display: block;
}
.icon-grid {
  padding: 12px 14px 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 10px;
  background: #f4f4f4;
}
.desktop-icon {
  min-height: 76px;
  color: #111;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 5px;
  text-align: center;
}
.desktop-icon b {
  max-width: 112px;
  font-size: 13px;
  line-height: 1.12;
  font-weight: 400;
}
.pixel-icon {
  position: relative;
  width: 36px;
  height: 36px;
  image-rendering: pixelated;
  display: block;
}
.pixel-icon::before,
.pixel-icon::after {
  content: "";
  position: absolute;
  image-rendering: pixelated;
}
.user-icon {
  background:
    linear-gradient(
      #f6d27c 0 34%,
      #dd9f42 35% 52%,
      transparent 53%),
    linear-gradient(
      90deg,
      transparent 0 18%,
      #3030b8 19% 81%,
      transparent 82%);
  border: 2px solid #111;
}
.user-icon::after {
  left: 9px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: #f4c6a0;
  border: 2px solid #111;
}
.modem-icon {
  border: 2px solid #111;
  background:
    linear-gradient(
      90deg,
      #f8f8f8 0 28%,
      #ffea57 29% 52%,
      #f8f8f8 53%),
    linear-gradient(#47c346 0 48%, #0c842b 49%);
}
.modem-icon::after {
  left: 13px;
  top: 28px;
  width: 10px;
  height: 12px;
  background: #d02020;
  border: 2px solid #111;
}
.music-icon {
  background: #ececec;
  border: 2px solid #111;
}
.music-icon::before {
  left: 9px;
  top: 5px;
  width: 6px;
  height: 22px;
  background: #e5007a;
  box-shadow: 11px 0 0 #e5007a, 11px -4px 0 #e5007a;
}
.music-icon::after {
  left: 3px;
  top: 23px;
  width: 13px;
  height: 9px;
  background: #00a0ff;
  box-shadow: 16px 0 0 #00a0ff;
}
.folder-icon {
  background: #f6da43;
  border: 2px solid #111;
  box-shadow: inset 4px 4px 0 #fff4a6;
}
.folder-icon::before {
  left: 2px;
  top: -7px;
  width: 17px;
  height: 9px;
  background: #f6da43;
  border: 2px solid #111;
  border-bottom: 0;
}
.question-icon {
  background: #6c23c9;
  border: 2px solid #111;
  transform: rotate(-12deg);
}
.question-icon::after {
  left: 12px;
  top: 4px;
  color: #ffff00;
  content: "?";
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}
.cd-icon {
  border: 2px solid #111;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      #ffffff 0 13%,
      #111 14% 20%,
      transparent 21%),
    conic-gradient(
      #ff73d4,
      #72f0ff,
      #fff68c,
      #ff73d4);
}
.search-icon {
  background: #fff16a;
  border: 2px solid #111;
}
.search-icon::before {
  left: 5px;
  top: 5px;
  width: 16px;
  height: 16px;
  border: 4px solid #2ba5ff;
  border-radius: 50%;
  background: #bdf1ff;
}
.search-icon::after {
  left: 22px;
  top: 24px;
  width: 14px;
  height: 5px;
  background: #111;
  transform: rotate(45deg);
}
.trophy-icon {
  border: 2px solid #111;
  background:
    linear-gradient(
      90deg,
      transparent 0 14%,
      #ffd54c 15% 85%,
      transparent 86%),
    linear-gradient(#ffd54c 0 54%, #a76c00 55%);
}
.trophy-icon::before {
  left: 6px;
  top: 27px;
  width: 22px;
  height: 6px;
  background: #744f00;
}
.window-status {
  min-height: 23px;
  border-top: 2px groove #ffffff;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
}
.window-status span {
  padding: 3px 8px;
  border-right: 2px groove #ffffff;
  font-size: 12px;
}
.profile-card,
.signup-card,
.sidebar,
.chat-window,
.cutscene,
.board-panel,
.contact-box {
  border: 1px solid var(--border);
  background: var(--page);
}
.profile-card,
.signup-card,
.cutscene {
  padding: 10px;
}
.profile-card h2,
.signup-card h2 {
  padding: 4px 7px;
  margin: -10px -10px 10px;
  background: var(--bar);
  color: #fff;
  font-size: 13px;
}
.signup-card {
  display: grid;
  align-content: start;
  gap: 10px;
}
.field {
  display: grid;
  gap: 4px;
}
label {
  font-weight: 800;
}
.photo-preview {
  width: 100%;
  height: 238px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
  background: #eee;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.photo-preview img {
  width: 238px;
  max-width: 100%;
  height: 238px;
  max-height: 100%;
  object-fit: contain;
}
.photo-preview.small img {
  width: 100%;
  height: 100%;
}
.photo-preview.small {
  width: 122px;
  height: 122px;
  margin: 0;
  flex: 0 0 auto;
  background: #e9e9e9;
  color: #000;
  font-size: 28px;
  font-weight: 800;
}
.photo-preview.small span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}
.contact-box {
  margin-top: 10px;
}
.contact-box .box-title,
.panel-title {
  padding: 3px 7px;
  background: var(--bar);
  color: #fff;
}
.contact-box.live .box-title {
  background: var(--bar-dark);
}
.contact-grid {
  padding: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 10px;
  font-size: 12px;
}
.contact-grid span,
.contact-grid .contact-action {
  color: var(--link);
  font-weight: 700;
}
.contact-grid .contact-action {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.contact-grid .contact-action:hover,
.contact-grid .contact-action:focus-visible {
  text-decoration: underline;
  outline: none;
}
.contact-grid span::before,
.contact-grid .contact-action::before {
  content: ">> ";
  color: #000;
}
.rules {
  border: 1px solid var(--orange);
  background: var(--yellow);
}
.rules .box-title {
  padding: 3px 7px;
  background: var(--orange);
  color: #884400;
}
.rules p:not(.box-title) {
  margin: 8px;
  line-height: 1.35;
}
.forum {
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.forum:not(.hidden) {
  display: grid;
}
.sidebar {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 10px;
}
.user-panel {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.user-panel h2 {
  margin: 3px 0 4px;
  color: #000;
  overflow-wrap: anywhere;
}
.user-panel p:last-child {
  margin: 0;
  overflow-wrap: anywhere;
}
.board-panel {
  padding-bottom: 8px;
}
.stage-list {
  padding: 7px;
  display: grid;
  gap: 5px;
}
.stage-item {
  min-height: 28px;
  padding: 4px 6px;
  border: 1px solid #c6c6c6;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #333;
}
.stage-item span {
  color: var(--link);
  font-weight: 700;
  overflow-wrap: anywhere;
}
.stage-item.active {
  border-color: var(--red);
  background: #fff3f3;
}
.stage-item.done {
  border-color: #5aa35a;
  background: var(--green);
}
.meter {
  height: 17px;
  margin: 8px;
  border: 2px inset #ffffff;
  background: #fff;
  overflow: hidden;
}
.meter span {
  display: block;
  width: 50%;
  height: 100%;
  background:
    repeating-linear-gradient(
      90deg,
      #1b8d35 0 12px,
      #60c56f 12px 24px);
  transition: width 160ms ease;
}
.board-panel b {
  display: block;
  margin: 0 8px;
}
.ai-debug {
  padding: 7px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.ai-debug p {
  margin: 0;
}
.debug-list {
  margin: 0 0 7px;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 3px 6px;
}
.debug-list dt {
  color: #555;
  font-weight: 700;
}
.debug-list dd {
  margin: 0;
  color: #000066;
  font-weight: 700;
}
.ai-debug b {
  margin: 8px 0 2px;
}
.ai-debug ul {
  margin: 3px 0 0;
  padding-left: 16px;
}
.ai-debug a {
  color: var(--link);
  text-decoration: underline;
}
ul {
  margin: 8px 8px 0;
  padding-left: 18px;
}
li + li {
  margin-top: 5px;
}
.chat-window {
  height: min(760px, calc(100vh - 74px));
  min-height: 560px;
  display: grid;
  grid-template-rows: auto auto minmax(330px, 1fr) auto;
}
.chat-topbar {
  min-height: 76px;
  padding: 9px;
  border-bottom: 1px solid var(--border);
  background: var(--page);
  display: flex;
  gap: 10px;
  align-items: center;
}
.fan-avatar {
  width: 54px;
  aspect-ratio: 1;
  border: 1px solid var(--border);
  background: #ddd;
  color: #000;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
}
.chat-topbar h2 {
  margin: 2px 0 3px;
  color: var(--link);
  overflow-wrap: anywhere;
}
.chat-topbar p:last-child {
  margin-bottom: 0;
}
.network-banner {
  margin: 10px;
  padding: 18px;
  border: 2px solid #333;
  background: #fff;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
}
.chat-log {
  min-height: 0;
  padding: 10px;
  overflow-y: auto;
  background: #fff;
}
.message {
  width: min(82%, 660px);
  margin-bottom: 8px;
  padding: 0;
  border: 1px solid #b5b5b5;
  color: #000;
  background: #fff;
}
.message.fan {
  background: #f8f8ff;
}
.message.user {
  margin-left: auto;
  background: #eef7ff;
}
.message-meta {
  padding: 3px 6px;
  background: #e7e7e7;
  color: var(--link);
  display: flex;
  align-items: center;
  gap: 5px;
}
.message-photo {
  width: 20px;
  height: 20px;
  border: 1px solid var(--border);
  background: #fff;
  object-fit: cover;
}
.message p:last-child {
  margin: 0;
  padding: 7px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.system-message {
  width: fit-content;
  max-width: 86%;
  margin: 8px auto;
  padding: 4px 8px;
  border: 1px solid #c7c7c7;
  background: #ffffe8;
  color: #555;
  font-size: 12px;
  text-align: center;
}
.message-form {
  padding: 10px;
  border-top: 1px solid var(--border);
  background: #ece9d8;
}
.message-form textarea {
  height: 76px;
  min-height: 76px;
  max-height: 76px;
  resize: none;
}
.message-form label {
  display: block;
  margin-bottom: 4px;
}
.action-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}
.secondary {
  color: #000;
}
.thread-button {
  display: block;
  margin: 12px auto 4px;
}
.cutscene {
  width: min(780px, 100%);
  margin: 0 auto;
  text-align: left;
}
.ending-sigil {
  float: left;
  width: 86px;
  height: 86px;
  margin: 0 14px 10px 0;
  border: 1px solid var(--border);
}
.cutscene h2 {
  margin-bottom: 10px;
  color: var(--top);
  font-size: 28px;
}
.cutscene p {
  line-height: 1.4;
}
.cutscene button {
  margin-top: 8px;
}
@media (max-width: 860px) {
  body {
    font-size: 12px;
  }
  .topbar {
    grid-template-columns: 1fr auto;
    gap: 6px;
  }
  .topbar a,
  .topbar-right {
    display: none;
  }
  .search-box {
    grid-column: 1 / -1;
  }
  .shell {
    width: min(100% - 12px, 720px);
    padding-top: 8px;
  }
  .profile-form,
  .start-layout,
  .start-rules,
  .forum:not(.hidden) {
    grid-template-columns: 1fr;
  }
  .start-hero {
    min-height: 190px;
  }
  .start-icon-stack {
    grid-template-columns: repeat(4, 1fr);
    padding: 10px;
  }
  .start-rule {
    min-height: 0;
  }
  .user-panel {
    grid-template-columns: 92px minmax(0, 1fr);
  }
  .photo-preview.small {
    width: 92px;
    height: 92px;
  }
  .chat-window {
    height: 690px;
    min-height: 690px;
  }
  .network-banner {
    padding: 12px;
    font-size: 16px;
  }
  .message {
    width: min(94%, 660px);
  }
  .action-row {
    flex-direction: column;
  }
}
.larp-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  max-width: min(560px, calc(100vw - 32px));
  padding: 8px 14px;
  background: #fffbcc;
  border: 1px solid #c2891f;
  border-radius: 2px;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35);
  color: #222;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  z-index: 9999;
  animation: larp-toast-in 180ms ease-out;
}
.larp-toast::before {
  content: ">> ";
  color: var(--link, #2a31ff);
}
@keyframes larp-toast-in {
  from {
    opacity: 0;
    transform: translate(-50%, 6px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
/*# sourceMappingURL=larp-simulator.css.map */
