/* Reconstructed from public Classic modal classes, theme tokens and user screenshots.
   Source index: DESIGN-SOURCES-2026-10-28.md. Original global bundle is not injected. */
@font-face {
  font-family: ClassicPoppins;
  src: url("/fonts/poppins-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: ClassicPoppins;
  src: url("/fonts/poppins-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: ClassicPoppins;
  src: url("/fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: ClassicPoppins;
  src: url("/fonts/poppins-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: ClassicJersey;
  src: url("/fonts/jersey.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  font-family: ClassicPoppins, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  font-weight: 400;
  color: #11181c;
  --line: #e5e7eb;
  --muted: #6b7280;
  --blue: #006fee;
  --purple: #9900ff;
}
.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  pointer-events: none;
}
button:has(> .icon),
button:has(> [data-icon]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
header {
  padding: 0 44px;
  gap: 24px;
  border-bottom: 0;
}
.brand {
  gap: 10px;
  white-space: nowrap;
}
.brand > [data-icon] .icon {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
}
.brand strong {
  font-family: ClassicJersey, ClassicPoppins, sans-serif;
  font-size: 29px;
  font-weight: 400;
  letter-spacing: 0;
}
.brand small {
  font-family: ClassicPoppins, sans-serif;
  font-size: 8px;
  letter-spacing: 0.6px;
  border: 0;
  color: #a1a1aa;
}
nav button {
  font-size: 14px;
  color: #52525b;
  gap: 8px;
}
.connection {
  font-size: 11px;
  font-weight: 400;
  padding: 7px 12px;
}
#settings {
  width: 36px;
  height: 36px;
  padding: 8px;
  background: transparent;
}
.square {
  width: 48px;
  height: 40px;
  border-radius: 12px;
  background: #e4e4e7;
}
.date-pill {
  height: 64px;
  width: 300px;
  justify-content: space-between;
  border-radius: 16px;
  padding: 12px 16px;
  background: #f4f4f5f2;
  gap: 8px;
}
.date-pill > button:first-child,
.date-pill > button:last-child {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
  border-radius: 12px;
  background: #e4e4e7;
  color: #52525b;
}
.date-pill #date {
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
  padding: 0;
}
.dock {
  border-radius: 12px;
  padding: 12px;
  background: #fafafaf2;
  gap: 8px;
}
.dock button {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #d4d4d8;
  color: #a1a1aa;
}
.dock button.active {
  background: var(--blue);
  color: white;
}
.dock [data-panel="actions"] .icon {
  fill: currentColor;
  stroke-width: 1;
}
.dock [data-panel="chats"] .icon {
  fill: currentColor;
  stroke: white;
  stroke-width: 1.3;
}
.bottom-left > .square {
  width: 40px;
  height: 40px;
  background: #fafafaf2;
  align-self: flex-end;
}
.bottom-right {
  right: 8px;
  bottom: 8px;
}
#country {
  width: 48px;
  height: 48px;
  padding: 4px;
  border-radius: 12px;
  background: white;
  box-shadow: 0 1px 5px #0002;
  display: flex;
  align-items: center;
  justify-content: center;
}
#country .flag {
  width: 36px;
  height: 26px;
  border-radius: 4px;
}
.map-zoom {
  position: absolute;
  right: 68px;
  bottom: 8px;
  display: flex;
  background: #fafafaf2;
  border-radius: 12px;
  padding: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}
main:hover .map-zoom,
.map-zoom:focus-within {
  opacity: 1;
  pointer-events: auto;
}
.map-zoom button {
  width: 32px;
  height: 32px;
  padding: 4px;
  background: transparent;
}
.panel {
  width: 448px;
  height: 80%;
  max-height: calc(100% - 96px);
  top: auto;
  bottom: 80px;
  border-radius: 12px;
  box-shadow:
    0 10px 15px -3px #0000001a,
    0 4px 6px -4px #0000001a;
  animation: classic-panel-in 0.4s cubic-bezier(0.36, 0.66, 0.4, 1);
}
.panel-head {
  height: auto;
  min-height: 60px;
  padding: 16px 24px;
  gap: 8px;
}
.panel-head h2 {
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
}
.panel-head button {
  width: 28px;
  height: 28px;
  padding: 4px;
  border-radius: 999px;
  color: #11181c;
}
.panel-head button:hover {
  background: #f3f4f6;
}
.panel-body {
  padding: 16px 24px;
  scrollbar-color: #a1a1aa transparent;
}
.panel-foot {
  padding: 16px 24px;
}
.panel p {
  font-size: 16px;
  line-height: 1.5;
}
.panel .muted {
  font-size: 14px;
  color: #52525b;
}
.panel h3 {
  font-weight: 500;
  font-size: 18px;
}
.panel .empty {
  font-weight: 400;
}
.suggestion {
  background: #e9d5f7;
  color: #7828c8;
  font-size: 14px;
  font-weight: 400;
  border-radius: 8px;
  padding: 7px 12px;
}
.action {
  background: #f3f4f6;
  border-radius: 8px;
  padding: 12px;
}
.action p {
  margin: 0;
}
.action .actions {
  opacity: 0;
  transition: opacity 0.15s;
}
.action:hover .actions,
.action:focus-within .actions {
  opacity: 1;
}
.composer {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.composer-field {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  background: #f4f4f5;
  border-radius: 14px;
  overflow: hidden;
  padding-right: 8px;
}
.composer textarea {
  font-family: inherit;
  font-size: 16px;
  line-height: 24px;
  min-height: 44px;
  height: 44px;
  max-height: 120px;
  resize: vertical;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 10px 12px;
  flex: 1;
  min-width: 0;
  outline: none;
  box-shadow: none;
}
.composer-field:focus-within {
  box-shadow: inset 0 0 0 1px #d4d4d8;
}
.composer textarea::placeholder {
  color: #71717a;
}
.composer button {
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 12px;
  flex-shrink: 0;
}
.composer-field button {
  width: 28px;
  height: 32px;
  padding: 4px;
  color: #11181c;
  border-radius: 8px;
}
.composer-field #enhance-action {
  color: #eab308;
}
.outline-send {
  border: 2px solid #93c5fd;
  background: white;
  color: #60a5fa;
}
.left[data-panel="chat"] .outline-send {
  border-color: #86efac;
  color: #4ade80;
}
.speaker-options {
  font-size: 11px;
  color: #71717a;
  margin-top: 8px;
}
.speaker-options summary {
  cursor: pointer;
}
.speaker-options select {
  margin-top: 8px;
  font-size: 12px;
}
.participant-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}
.recording {
  color: #ef4444 !important;
  background: #fee2e2 !important;
}
.chat-card {
  padding: 12px 20px;
  gap: 20px;
  min-height: 88px;
  border-radius: 16px;
  border-color: #d4d4d8;
  box-shadow: 0 0 12px #00000012;
  margin: 12px 0;
}
.chat-card strong {
  font-size: 16px;
  font-weight: 400;
}
.chat-card .flag {
  border-radius: 50%;
  height: 40px;
  width: 40px;
  object-fit: cover;
  outline: 2px solid #e5e7eb;
  outline-offset: 2px;
}
.chat-card .preview {
  font-size: 14px;
  line-height: 20px;
  max-width: 275px;
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin-top: 4px;
}
.chat-card > .icon {
  margin-left: auto;
  color: #71717a;
}
#new-chat {
  width: max-content;
  max-width: 100%;
  min-height: 68px;
  padding: 12px 16px;
}
.new-chat-spark {
  color: #eab308;
}
.date-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #6b7280;
  white-space: nowrap;
  margin: 2px 0 16px;
}
.date-divider:before,
.date-divider:after {
  content: "";
  height: 1px;
  background: #d1d5db;
  flex: 1;
}
.message {
  position: relative;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 12px 16px 12px 32px;
  box-shadow: 0 0 16px #0000000c;
}
.message:before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: 8px;
  height: 32px;
  border-radius: 4px;
  background: #575064;
}
.message.mine {
  border-left: 1px solid #e5e7eb;
}
.message.mine:before {
  background: #3b82f6;
}
.message .sender {
  font-size: 16px;
  font-weight: 400;
  color: #11181c;
}
.message p {
  margin-top: 4px;
}
.has-sidebar {
  --sidebar-width: 432px;
}
.has-sidebar #map {
  width: calc(100% - var(--sidebar-width));
}
.has-sidebar .date-pill {
  right: calc(var(--sidebar-width) + 8px);
}
.has-sidebar .bottom-right {
  right: calc(var(--sidebar-width) + 8px);
}
.has-sidebar .map-zoom {
  right: calc(var(--sidebar-width) + 68px);
}
.has-sidebar #right {
  top: 0;
  bottom: 0;
  height: 100%;
  max-height: 100%;
  right: 0;
  width: var(--sidebar-width);
  border-radius: 0;
  padding-left: 48px;
  box-shadow: none;
  background: white;
  z-index: 3;
}
.has-sidebar #right .panel-head {
  text-align: center;
  height: 72px;
}
.has-sidebar #right .panel-body {
  padding: 0 16px;
}
.has-sidebar #right .panel-foot {
  padding: 16px;
}
.has-sidebar #right .empty {
  font-size: 18px;
  font-style: italic;
  color: #6b7280;
  padding: 8px 10px;
}
#sidebar-tabs {
  position: absolute;
  right: 384px;
  top: 8px;
  width: 48px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
#sidebar-tabs button {
  width: 40px;
  height: 40px;
  padding: 10px;
  background: transparent;
  color: #6b7280;
  border-radius: 8px;
}
#sidebar-tabs button.active {
  color: var(--blue);
  background: white;
  box-shadow: 0 1px 5px #0002;
}
.advisor-suggestions {
  display: flex;
  gap: 8px;
  white-space: nowrap;
  overflow-x: auto;
  margin: 4px 0 18px;
  scrollbar-width: none;
}
.advisor-suggestions button {
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 14px;
}
.backstory-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}
.backstory-heading strong {
  font-size: 18px;
  font-weight: 600;
}
#export-history {
  background: #e9d5f7;
  color: #7828c8;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
}
.history-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  border-block: 1px solid var(--line);
  padding: 16px 0;
  margin-bottom: 20px;
}
.history-track button {
  font-size: 12px;
  background: transparent;
  white-space: nowrap;
  padding: 4px;
  color: #475569;
}
.history-track button:first-child {
  color: white;
  background: var(--blue);
  border-radius: 50%;
}
[id^="history-round-"] {
  scroll-margin-top: 12px;
}
[id^="history-round-"] h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 20px 0 0;
}
#left[data-panel="menu"] {
  width: 288px;
  height: auto;
  max-height: calc(100% - 134px);
  top: 54px;
  bottom: auto;
}
#left[data-panel="menu"] .panel-head {
  display: none;
}
#left[data-panel="menu"] .panel-body {
  padding: 6px;
}
.game-menu-title {
  padding: 2px 6px 8px;
}
.game-menu-title strong {
  font-size: 18px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}
.game-menu-title small {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #52525b;
  font-size: 14px;
}
.menu-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  text-align: left;
  font-size: 14px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px 16px;
  min-height: 40px;
}
.menu-btn .icon {
  color: #64748b;
}
#left[data-panel="search"] {
  width: 280px;
  bottom: 56px;
  height: min(400px, 65%);
}
#left[data-panel="search"] .panel-head {
  padding: 10px 14px;
  min-height: 40px;
}
#left[data-panel="search"] .panel-head h2 {
  font-size: 18px;
}
#left[data-panel="search"] .panel-body {
  padding: 8px 14px;
}
#left[data-panel="jump"] {
  width: 512px;
  background: #ffffffe8;
  backdrop-filter: blur(5px);
}
#left[data-panel="jump"] .panel-body {
  text-align: center;
  padding-top: 48px;
}
.jump-origin {
  display: block;
  font-size: 14px;
  color: #a100ff;
  font-weight: 400;
  line-height: 20px;
}
.jump-widget-caption {
  display: block;
  font-size: 12px;
  line-height: 16px;
  color: #6b7280;
  font-weight: 400;
}
#left[data-panel="jump"] .panel-head {
  min-height: 80px;
}
#left[data-panel="jump"] .panel-foot {
  padding: 8px 16px;
  background: transparent;
  border: 0;
}
.jump-settings > summary {
  list-style: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #d4d4d8;
  border-radius: 8px;
  cursor: pointer;
  color: #4b5563;
}
.jump-settings > summary::-webkit-details-marker {
  display: none;
}
.jump-settings > .row {
  padding: 8px 0;
}
.timeline .now small {
  white-space: nowrap;
}
#auto-jump {
  width: auto;
  max-width: 100%;
  padding: 10px 24px;
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 4px 12px #0002;
}
.timeline button {
  width: 128px;
  padding: 2px 8px;
  line-height: 18px;
  border-radius: 12px;
  font-size: 14px;
  background: #f3e8ff;
}
.timeline button:nth-child(3) {
  background: #e9d5ff;
}
.timeline button:nth-child(4) {
  background: #d8b4fe;
}
.timeline button:nth-child(5) {
  background: #c084fc;
  border-color: #a100ff;
}
.timeline button:nth-child(6) {
  background: #b13cf4;
  border-color: #9900ff;
}
.timeline .now {
  width: 80px;
  height: 80px;
  border: 4px solid #b34dff;
  opacity: 1;
  padding: 10px;
  font-size: 14px;
}
.timeline .now small {
  font-size: 12px;
  color: #6b7280;
}
.modal-head h2 {
  font-size: 18px;
  font-weight: 600;
}
.modal-head button {
  width: 28px;
  height: 28px;
  padding: 4px;
  border-radius: 50%;
  background: transparent;
}
@keyframes classic-panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 760px) {
  header {
    padding: 0 16px;
    gap: 10px;
  }
  .brand small {
    display: none;
  }
  .brand strong {
    font-size: 25px;
  }
  .connection {
    font-size: 10px;
  }
  .panel {
    width: min(448px, calc(100% - 16px));
  }
  .has-sidebar {
    --sidebar-width: min(432px, 100%);
  }
  .has-sidebar #map {
    width: 100%;
  }
  .has-sidebar #right {
    width: 100%;
    padding-left: 48px;
  }
  #sidebar-tabs {
    right: auto;
    left: 0;
  }
  #left[data-panel="jump"] {
    width: calc(100% - 16px);
  }
  .has-sidebar .date-pill {
    right: 8px;
  }
  .map-zoom {
    display: none;
  }
  .date-pill {
    width: 280px;
  }
  .panel-foot {
    padding: 12px 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .panel {
    animation: none;
  }
}
/* Classic floating modal header and resize corner. */
.floating-window .panel-head { cursor: grab; touch-action: none; }
.floating-window .panel-head button { cursor: pointer; }
.window-moving, .window-moving * { user-select: none; }
.window-moving .panel-head { cursor: grabbing; }
.panel-resize { position: absolute; right: 1px; bottom: 1px; width: 18px; height: 18px; padding: 0; border: 0; background: transparent; border-radius: 0 0 12px 0; cursor: nwse-resize; touch-action: none; opacity: .45; z-index: 2; }
.panel-resize::after { content: ''; position: absolute; right: 4px; bottom: 4px; width: 7px; height: 7px; border-right: 2px solid #9ca3af; border-bottom: 2px solid #9ca3af; }
.panel-resize:hover, .panel-resize:focus-visible { opacity: 1; }
.dock button[data-panel="chats"]:not(.active) { color: #c5a5dc; }
.dock button[data-panel="actions"]:not(.active) { color: #f69a6c; }
button:focus-visible, summary:focus-visible { outline: 2px solid #60a5fa; outline-offset: 2px; }
button { transition: background-color .15s ease, color .15s ease, box-shadow .15s ease; }
button:active:not(:disabled) { filter: brightness(.96); }
.panel-head h2 { font-size: 20px; letter-spacing: -.45px; }
@media (max-width:760px), (max-width:1100px) and (max-height:500px) {
 .panel-resize { display: none; }
 .floating-window .panel-head { cursor: default; touch-action: auto; }
}
@media (prefers-reduced-motion: reduce) { button { transition: none; } }
.translate-text { color: #7828c8; font-size: 12px; padding: 4px 0; background: transparent; display: block; margin: -3px 0 8px; text-align: left; }
.translate-text:disabled { opacity: .6; }
#playback > div:last-child { display: flex; align-items: center; gap: 4px; }
.playback-preferences { position: relative; align-self: center; margin-left: auto; }
.playback-preferences summary { display: flex; align-items: center; cursor: pointer; padding: 6px; list-style: none; }
.playback-preferences summary::-webkit-details-marker { display: none; }
.playback-preferences label { position: absolute; right: 0; bottom: 38px; min-width: 210px; padding: 14px; background: white; border: 1px solid #e4e4e7; border-radius: 12px; box-shadow: 0 5px 20px #0002; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.playback-preferences input { width: 16px; height: 16px; margin: 0; accent-color: #006fee; }
