:root {
  --bg: #f4f6f1;
  --panel: #ffffff;
  --ink: #202522;
  --muted: #66706a;
  --line: #d9ded4;
  --green: #2f7a5f;
  --green-dark: #245c49;
  --amber: #b9852c;
  --rust: #b85c3f;
  --cyan: #357f8f;
  --violet: #7560a7;
  --shadow: 0 18px 40px rgba(32, 37, 34, .12);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(47, 122, 95, .07), transparent 34%),
    linear-gradient(315deg, rgba(184, 92, 63, .06), transparent 42%),
    var(--bg);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.home-shell[hidden],
.detail-shell[hidden] {
  display: none;
}

.home-shell {
  min-height: 100vh;
  padding: 28px;
  background:
    linear-gradient(120deg, rgba(46, 70, 88, .10), transparent 34%),
    linear-gradient(315deg, rgba(191, 73, 93, .08), transparent 42%),
    #eef1ef;
}

.home-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

.home-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-logo-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(35, 83, 69, .22);
  border-radius: 8px;
  color: #12372d;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .34), transparent 42%),
    linear-gradient(135deg, #9ed2b8, #63b391);
  box-shadow: 0 12px 26px rgba(47, 122, 95, .20);
}

.home-logo-mark::before,
.home-logo-mark::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.home-logo-mark::before {
  inset: 8px;
  border: 1px solid rgba(18, 55, 45, .28);
}

.home-logo-mark::after {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(18, 55, 45, .45);
  border-left-color: transparent;
  transform: rotate(-32deg);
}

.home-logo-mark span {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #0f2f27;
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
}

.home-brand strong,
.home-brand span {
  display: block;
}

.home-brand strong {
  font-size: 18px;
}

.home-brand span {
  margin-top: 3px;
  color: #66706a;
  font-size: 12px;
}

.home-main {
  max-width: 1400px;
  margin: 44px auto 0;
  padding: 24px 0 0;
}

.home-heading {
  margin-bottom: 28px;
}

.home-heading h1 {
  font-size: clamp(34px, 5vw, 64px);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
  align-items: start;
}

.game-card {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
}

.game-cover {
  position: relative;
  display: grid;
  align-content: end;
  aspect-ratio: 3 / 4;
  min-height: 320px;
  overflow: hidden;
  padding: 24px;
  border: 14px solid #d5d7d8;
  border-radius: 8px;
  background: #1f2933;
  background-position: center;
  background-size: cover;
  box-shadow: 0 16px 30px rgba(22, 31, 37, .18);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.game-card:hover .game-cover,
.game-card:focus-visible .game-cover {
  border-color: #9fb4c8;
  box-shadow: 0 22px 42px rgba(22, 31, 37, .22);
  transform: translateY(-4px);
}

.game-card:focus-visible {
  outline: none;
}

.game-card:focus-visible .game-card-body {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .24);
}

.game-cover::before,
.game-cover::after {
  content: "";
  position: absolute;
  inset: 0;
}

.game-cover::before {
  background:
    linear-gradient(180deg, rgba(7, 10, 13, .12) 0%, rgba(7, 10, 13, .12) 46%, rgba(7, 10, 13, .84) 100%),
    linear-gradient(25deg, rgba(7, 10, 13, .40), transparent 42%);
  opacity: 1;
}

.game-cover::after {
  inset: auto 18px 18px;
  height: 1px;
  background: rgba(255, 255, 255, .28);
  opacity: 1;
}

.cover-delta {
  background-image: url("assets/cover-delta-force.jpg");
  background-position: 57% center;
}

.cover-beast {
  background-image: url("assets/cover-beast-of-reincarnation.png");
  background-position: center;
}

.cover-gta {
  background-image: url("assets/cover-gta6.png");
  background-position: center;
}

.cover-kicker,
.game-cover b {
  position: relative;
  z-index: 1;
}

.cover-kicker {
  width: fit-content;
  margin-bottom: 8px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 6px;
  color: rgba(255, 255, 255, .84);
  background: rgba(9, 14, 18, .30);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
}

.game-cover b {
  color: #fff;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.06;
  text-shadow: 0 3px 14px rgba(0, 0, 0, .35);
}

.game-card-body {
  display: grid;
  gap: 5px;
  padding: 2px;
}

.game-card-body strong {
  font-size: 18px;
}

.game-card-body span {
  color: #66706a;
  font-size: 13px;
}

.app-shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 22px 16px;
  color: #f7fbf7;
  background: #24302c;
  border-right: 1px solid rgba(255, 255, 255, .08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  color: #14221b;
  background: #9ed2b8;
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand span {
  display: block;
}

.brand span {
  margin-top: 3px;
  color: #bccbc2;
  font-size: 12px;
}

.nav-list {
  display: grid;
  gap: 8px;
}

.back-home-button {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  color: #dce8df;
  background: rgba(255, 255, 255, .06);
  text-align: left;
}

.back-home-button:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, .12);
}

.nav-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  color: #dce8df;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  text-align: left;
}

.nav-item span {
  font-size: 20px;
  line-height: 1;
}

.nav-item:hover,
.nav-item.active {
  color: #ffffff;
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .14);
}

.sidebar-note {
  margin-top: auto;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
}

.sidebar-note span {
  color: #9ed2b8;
  font-size: 12px;
  font-weight: 700;
}

.sidebar-note p {
  margin: 8px 0 0;
  color: #d0dbd4;
  font-size: 13px;
  line-height: 1.55;
}

.main {
  min-width: 0;
  padding: 22px;
}

.topbar,
.section-head,
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar {
  margin-bottom: 18px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
}

h2 {
  margin-bottom: 6px;
  font-size: 22px;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.section-head p,
.detail-panel p,
.build-note {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.icon-button,
.secondary-button,
.small-button {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(32, 37, 34, .04);
}

.icon-button:hover,
.secondary-button:hover,
.small-button:hover {
  border-color: #aeb8ad;
  transform: translateY(-1px);
}

.secondary-button,
.small-button {
  padding: 0 14px;
  width: auto;
}

.small-button {
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  font-size: 13px;
}

.map-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.map-stage > .map-controls {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 25;
}

.beast-player-status {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 65;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: min(330px, calc(100% - 40px));
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  color: #f8fbff;
  background: rgba(20, 27, 32, .88);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .26);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
  pointer-events: none;
}

.beast-player-status[hidden] {
  display: none;
}

.beast-player-status-dot {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #9ca3af;
  box-shadow: 0 0 0 3px rgba(156, 163, 175, .18);
}

.beast-player-status[data-state="live"] .beast-player-status-dot {
  background: #57e69b;
  box-shadow: 0 0 0 3px rgba(87, 230, 155, .20);
}

.beast-player-status[data-state="connecting"] .beast-player-status-dot {
  background: #f4c55d;
  box-shadow: 0 0 0 3px rgba(244, 197, 93, .20);
}

.beast-player-status[data-state="stale"] .beast-player-status-dot,
.beast-player-status[data-state="unsupported"] .beast-player-status-dot,
.beast-player-status[data-state="out-of-bounds"] .beast-player-status-dot {
  background: #f59e5b;
  box-shadow: 0 0 0 3px rgba(245, 158, 91, .20);
}

.beast-player-status[data-state="error"] .beast-player-status-dot {
  background: #ef6969;
  box-shadow: 0 0 0 3px rgba(239, 105, 105, .20);
}

.map-reset-control,
.map-zoom-stack {
  border: 1px solid rgba(32, 37, 34, .18);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
}

.map-reset-control {
  width: 44px;
  min-width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 21px;
}

.map-zoom-controls {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.map-zoom-label {
  display: grid;
  place-items: center;
  min-width: 52px;
  min-height: 30px;
  padding: 5px 8px;
  border: 1px solid rgba(32, 37, 34, .18);
  border-radius: 9px;
  color: #30372f;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
  font-size: 11px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  pointer-events: none;
}

.map-zoom-stack {
  display: grid;
  overflow: hidden;
  border-radius: 12px;
}

.map-zoom-stack .icon-button {
  width: 44px;
  min-width: 44px;
  height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 22px;
}

.map-zoom-stack .icon-button + .icon-button {
  border-top: 1px solid rgba(32, 37, 34, .14);
}

.map-layout {
  display: grid;
  grid-template-columns: 240px minmax(420px, 1fr) 280px;
  gap: 14px;
  margin-top: 16px;
  min-height: 650px;
}

.filter-panel,
.detail-panel,
.tool-panel,
.inventory-panel,
.summary-panel {
  background: rgba(255, 255, 255, .88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(32, 37, 34, .04);
}

.filter-panel,
.detail-panel,
.tool-panel,
.inventory-panel,
.summary-panel {
  padding: 16px;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  color: #38433d;
  font-size: 13px;
  font-weight: 800;
}

.text-field {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.text-field:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 122, 95, .16);
}

.map-zone-control {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.map-zone-control[hidden] {
  display: none;
}

.map-zone-meta {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.beast-add-point-button {
  width: 100%;
  min-height: 42px;
  margin-top: 12px;
  padding: 8px 12px;
  border: 1px solid #2f7a5f;
  border-radius: 9px;
  color: #fff;
  background: #2f7a5f;
  box-shadow: 0 8px 18px rgba(47, 122, 95, .18);
  font-size: 13px;
  font-weight: 900;
}

.beast-add-point-button:hover,
.beast-add-point-button:focus-visible {
  background: #246b51;
  transform: translateY(-1px);
}

.filter-group {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  max-height: 430px;
  overflow: auto;
  padding-right: 4px;
  scrollbar-width: thin;
}

.filter-heading {
  margin: 8px 0 2px;
  color: #7a847d;
  font-size: 12px;
  font-weight: 900;
}

.filter-loading {
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #f8faf6;
  font-size: 13px;
  line-height: 1.5;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 32px;
  color: #38433d;
  font-size: 14px;
}

.check-row b {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 auto;
}

.beast-native-filter-icon {
  width: 26px;
  height: 26px;
  padding: 3px;
  border: 1px solid rgba(105, 72, 38, .18);
  border-radius: 7px;
  background: #17211d;
}

.beast-filter-toolbar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 6px;
}

.beast-filter-toolbar button {
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(105, 72, 38, .20);
  border-radius: 9px;
  color: #4f3a28;
  background: #fffaf0;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.beast-filter-toolbar button:hover:not(:disabled),
.beast-filter-toolbar button:focus-visible {
  border-color: rgba(47, 122, 95, .42);
  color: #246b50;
  background: rgba(47, 122, 95, .08);
}

.beast-filter-toolbar button:disabled {
  opacity: .45;
  cursor: default;
}

.beast-filter-toolbar span {
  grid-column: 1 / -1;
  color: #867560;
  font-size: 12px;
  line-height: 1.4;
}

.check-row .check-count {
  color: #879088;
  font-size: 12px;
  font-weight: 800;
}

.check-row input {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
}

.swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.swatch.loot {
  background: var(--amber);
}

.swatch.extract {
  background: var(--green);
}

.swatch.danger {
  background: var(--rust);
}

.swatch.quest {
  background: var(--violet);
}

.compact-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 20px;
}

.compact-stats.has-completion {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#beast-completed-stat[hidden] {
  display: none;
}

.compact-stats.has-completion div {
  min-width: 0;
  padding-inline: 8px;
}

.compact-stats.has-completion b {
  font-size: 17px;
  white-space: nowrap;
}

.compact-stats div,
.loadout-total {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9faf7;
}

.compact-stats b,
.compact-stats span,
.loadout-total b,
.loadout-total span {
  display: block;
}

.compact-stats b,
.loadout-total b {
  font-size: 20px;
}

.compact-stats span,
.loadout-total span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.map-stage {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  background: #050505;
  border: 1px solid #1a241f;
  border-radius: 8px;
  box-shadow: var(--shadow);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.map-status {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 6;
  max-width: min(320px, calc(100% - 32px));
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  color: rgba(255, 255, 255, .88);
  background: rgba(9, 13, 12, .86);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.map-status[hidden] {
  display: none;
}

.map-status[data-status="error"] {
  border-color: rgba(226, 97, 66, .48);
  color: #ffe5dc;
}

.external-map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #071217;
}

.map-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 1200px;
  height: 760px;
  overflow: hidden;
  transform-origin: 0 0;
}

.map-tile-layer,
.map-area-layer {
  position: absolute;
  inset: 0;
}

.map-tile-layer {
  z-index: 1;
  background: #050505;
}

.map-tile-layer:empty {
  display: none;
}

.map-area-layer {
  z-index: 2;
  pointer-events: none;
}

.map-tile {
  position: absolute;
  width: 256px;
  height: 256px;
  user-select: none;
  -webkit-user-drag: none;
}

.map-area-label {
  position: absolute;
  color: rgba(255, 255, 255, .72);
  font-weight: 900;
  line-height: 1;
  text-shadow:
    -1px -1px 0 rgba(15, 18, 12, .85),
    1px -1px 0 rgba(15, 18, 12, .85),
    -1px 1px 0 rgba(15, 18, 12, .85),
    1px 1px 0 rgba(15, 18, 12, .85),
    0 6px 14px rgba(0, 0, 0, .35);
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}

.map-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 1200px;
  height: 760px;
  user-select: none;
}

.map-art[hidden] {
  display: none;
}

#map-view.gamersky-map-active #sample-map-art,
#map-view.gamersky-map-active #game-map-image {
  display: none !important;
}

#map-view.gamersky-map-active .map-stage,
#map-view.gamersky-map-active .map-layer,
#map-view.gamersky-map-active .map-tile-layer {
  background: #000;
}

.map-image {
  object-fit: cover;
  pointer-events: none;
}

.map-art text {
  fill: rgba(255, 255, 255, .7);
  font-size: 28px;
  font-weight: 800;
  paint-order: stroke;
  stroke: rgba(0, 0, 0, .35);
  stroke-width: 5px;
}

.marker-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.player-layer {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
}

.player-layer[hidden] {
  display: none;
}

.beast-player-marker {
  --beast-player-heading: 0deg;
  position: absolute;
  width: 30px;
  height: 30px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #2477f2;
  box-shadow:
    0 0 0 4px rgba(36, 119, 242, .30),
    0 8px 20px rgba(0, 0, 0, .46);
  transform: translate(-50%, -50%) scale(var(--map-player-scale, 1));
  transform-origin: center;
  transition: left .16s linear, top .16s linear, opacity .2s ease;
  will-change: left, top, transform;
}

.beast-player-marker::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 2px solid rgba(111, 177, 255, .72);
  border-radius: 50%;
  animation: beast-player-pulse 1.8s ease-out infinite;
}

.beast-player-heading {
  position: absolute;
  inset: -10px;
  transform: rotate(var(--beast-player-heading));
  transition: transform .16s linear;
}

.beast-player-heading::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 12px;
  height: 15px;
  background: #fff;
  clip-path: polygon(50% 0, 100% 100%, 50% 72%, 0 100%);
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .5));
  transform: translateX(-50%);
}

.beast-player-core {
  position: absolute;
  inset: 7px;
  border: 2px solid rgba(255, 255, 255, .96);
  border-radius: 50%;
  background: #123e9e;
}

.beast-player-marker[data-state="stale"],
.beast-player-marker[data-state="disconnected"],
.beast-player-marker[data-state="error"] {
  opacity: .58;
  filter: grayscale(.45);
}

.beast-player-marker[data-state="stale"]::before,
.beast-player-marker[data-state="disconnected"]::before,
.beast-player-marker[data-state="error"]::before {
  animation: none;
  opacity: .36;
}

@keyframes beast-player-pulse {
  0% {
    opacity: .8;
    transform: scale(.72);
  }
  75%,
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

@media (prefers-reduced-motion: reduce) {
  .beast-player-marker,
  .beast-player-heading {
    transition: none;
  }

  .beast-player-marker::before {
    animation: none;
  }
}

.map-marker {
  position: absolute;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .28);
  transform: translate(-50%, -50%);
}

.map-marker.source-gamersky {
  width: 34px;
  height: 34px;
  padding: 0;
  border-color: rgba(255, 255, 255, .9);
  background: var(--marker-color, #4f9b6e);
  overflow: hidden;
}

#map-view.beast-map-active .map-stage {
  cursor: grab;
}

#map-view.beast-map-active .map-stage.is-dragging,
#map-view.beast-map-active .map-stage.is-dragging .map-marker {
  cursor: grabbing;
}

#map-view.beast-map-active .map-stage.is-point-placing {
  cursor: crosshair;
  outline: 3px solid rgba(111, 230, 172, .7);
  outline-offset: -3px;
}

#map-view.beast-map-active .map-stage.is-point-placing::after {
  content: attr(data-placement-hint);
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 8;
  width: max-content;
  max-width: calc(100% - 28px);
  padding: 9px 13px;
  border: 1px solid rgba(111, 230, 172, .5);
  border-radius: 999px;
  color: #e8fff3;
  background: rgba(12, 36, 26, .92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  font-size: 12px;
  font-weight: 850;
  text-align: center;
  transform: translateX(-50%);
  pointer-events: none;
}

#map-view.beast-map-active .map-layer {
  background: #061012;
}

#map-view.beast-map-active .map-image {
  object-fit: contain;
}

#map-view.beast-map-active .map-marker.source-beast {
  z-index: 1;
  width: 48px;
  height: 48px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: transparent;
  box-shadow: none;
  transform: translate(-50%, -50%) scale(var(--map-marker-scale, 1));
  transform-origin: center;
}

#map-view.beast-map-active .map-marker.source-beast:hover {
  z-index: 4;
  filter: brightness(1.16) saturate(1.12);
}

#map-view.beast-map-active .map-marker.source-beast.active {
  z-index: 5;
  outline: 0;
  filter: brightness(1.12) saturate(1.16);
}

#map-view.beast-map-active .map-marker.source-beast.is-unfilled {
  opacity: .94;
}

#map-view.beast-map-active .map-marker.source-beast.active::before {
  content: "";
  position: absolute;
  inset: -3px;
  border: 2px solid #fffdf5;
  border-radius: 10px;
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--marker-color, #fff) 72%, transparent),
    0 5px 18px rgba(0, 0, 0, .54);
  pointer-events: none;
}

#map-view.beast-map-active .map-marker.source-beast.is-complete::after {
  content: "✓";
  position: absolute;
  top: -3px;
  right: -3px;
  display: grid;
  width: 13px;
  height: 13px;
  place-items: center;
  border: 1px solid rgba(10, 18, 16, .76);
  border-radius: 50%;
  color: #10251a;
  background: #e8fff3;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .46);
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.beast-marker-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 1px 1px rgba(255, 255, 255, .88))
    drop-shadow(0 3px 5px rgba(0, 0, 0, .82));
  pointer-events: none;
}

#map-view.beast-map-active .map-marker.source-beast.has-fallback-label {
  width: 34px;
  height: 34px;
  padding: 4px;
  border: 1px solid var(--marker-color, rgba(255, 255, 255, .82));
  border-radius: 50%;
  background: rgba(8, 17, 18, .9);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, .46),
    0 0 0 2px rgba(7, 15, 16, .5);
}

.map-marker-code {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
  pointer-events: none;
}

.map-marker.loot {
  background: var(--amber);
}

.map-marker.extract {
  background: var(--green);
}

.map-marker.danger {
  background: var(--rust);
}

.map-marker.quest {
  background: var(--violet);
}

.map-marker.active {
  outline: 4px solid rgba(255, 255, 255, .4);
}

.detail-panel {
  min-width: 0;
}

.detail-panel h3 {
  overflow-wrap: anywhere;
}

.beast-detail-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.beast-detail-heading > div {
  min-width: 0;
}

.beast-detail-heading h3 {
  margin-bottom: 0;
}

.beast-detail-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
  background: rgba(10, 22, 20, .9);
}

.beast-point-facts {
  margin: 16px 0 0;
  border-top: 1px solid var(--line);
}

.beast-point-facts div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.beast-point-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.beast-point-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  text-align: right;
}

.beast-map-note,
.beast-point-key {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.beast-point-key span,
.beast-point-key code {
  display: block;
}

.beast-point-key span {
  margin-bottom: 5px;
  font-weight: 800;
}

.beast-point-key code {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 11px;
}

.source-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 14px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #174431;
  background: #eef8f2;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.source-link:hover {
  border-color: rgba(47, 122, 95, .36);
  background: #e1f1e8;
}

.map-video-block {
  margin: 12px 0 16px;
}

.map-video-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #050606;
  box-shadow: 0 16px 34px rgba(13, 24, 20, .14);
  text-decoration: none;
}

.map-video-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.96) contrast(1.04);
  transition: transform .18s ease, opacity .18s ease;
}

.map-video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .34)),
    radial-gradient(circle at center, rgba(255, 255, 255, .16), transparent 35%);
  pointer-events: none;
}

.map-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  background: rgba(0, 0, 0, .58);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .34);
  transform: translate(-50%, -50%);
}

.map-video-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
}

.map-video-card:hover .map-video-cover {
  opacity: .92;
  transform: scale(1.03);
}

.map-video-author {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.map-video-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-top: 10px;
}

.map-video-author-avatar {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, .08);
}

.map-video-author-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
}

.map-video-provider {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.map-video-author strong {
  overflow: hidden;
  color: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-shell[data-game-theme="delta"] {
  --panel: rgba(16, 27, 28, .88);
  --ink: #edf5ef;
  --muted: #aebbb5;
  --line: rgba(119, 170, 150, .20);
  --green: #26e884;
  --green-dark: #00b86c;
  --amber: #d7ad63;
  --rust: #c76b57;
  --cyan: #50b6c0;
  --violet: #8a79c9;
  --shadow: 0 24px 60px rgba(3, 9, 10, .42);
  color: var(--ink);
  background: #071012;
}

.detail-shell[data-game-theme="delta"] .sidebar {
  color: #f2faf5;
  background:
    linear-gradient(180deg, rgba(38, 232, 132, .11), transparent 30%),
    linear-gradient(145deg, #071013 0%, #10201f 42%, #17261f 100%);
  border-right-color: rgba(95, 255, 177, .16);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, .05);
}

.detail-shell[data-game-theme="delta"] .main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(38, 232, 132, .13), transparent 30%),
    linear-gradient(315deg, rgba(80, 182, 192, .13), transparent 40%),
    linear-gradient(180deg, #111d1f 0%, #0b1416 58%, #081011 100%);
}

.detail-shell[data-game-theme="delta"] .main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, .025) 1px, transparent 1px),
    url("assets/cover-delta-force.jpg");
  background-position: center, center, center 28%;
  background-size: 64px 64px, 64px 64px, cover;
  opacity: .15;
  pointer-events: none;
}

.detail-shell[data-game-theme="delta"] .topbar,
.detail-shell[data-game-theme="delta"] .view {
  position: relative;
  z-index: 1;
}

.detail-shell[data-game-theme="delta"] .brand-mark {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
  overflow: hidden;
  border-radius: 8px;
  color: transparent;
  background:
    url("assets/delta-bilibili-avatar.png") center / cover no-repeat;
  box-shadow:
    0 14px 28px rgba(38, 232, 132, .16),
    0 0 0 1px rgba(101, 255, 176, .20);
  font-size: 0;
}

.detail-shell[data-game-theme="delta"] .brand span,
.detail-shell[data-game-theme="delta"] .sidebar-note p,
.detail-shell[data-game-theme="delta"] .section-head p,
.detail-shell[data-game-theme="delta"] .detail-panel p,
.detail-shell[data-game-theme="delta"] .build-note,
.detail-shell[data-game-theme="delta"] .compact-stats span,
.detail-shell[data-game-theme="delta"] .check-row .check-count {
  color: rgba(225, 237, 231, .70);
}

.detail-shell[data-game-theme="delta"] .back-home-button,
.detail-shell[data-game-theme="delta"] .nav-item,
.detail-shell[data-game-theme="delta"] .sidebar-note {
  border-color: rgba(161, 238, 197, .18);
  background: rgba(255, 255, 255, .055);
}

.detail-shell[data-game-theme="delta"] .nav-item:hover,
.detail-shell[data-game-theme="delta"] .nav-item.active,
.detail-shell[data-game-theme="delta"] .back-home-button:hover {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(38, 232, 132, .20), rgba(80, 182, 192, .12));
  border-color: rgba(101, 255, 176, .36);
}

.detail-shell[data-game-theme="delta"] .sidebar-note span,
.detail-shell[data-game-theme="delta"] .eyebrow {
  color: #65ffb0;
}

.detail-shell[data-game-theme="delta"] h1,
.detail-shell[data-game-theme="delta"] h2,
.detail-shell[data-game-theme="delta"] h3,
.detail-shell[data-game-theme="delta"] .field-label,
.detail-shell[data-game-theme="delta"] .check-row,
.detail-shell[data-game-theme="delta"] .compact-stats b {
  color: #f6fff9;
}

.detail-shell[data-game-theme="delta"] .topbar {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(129, 201, 170, .16);
}

.detail-shell[data-game-theme="delta"] .icon-button,
.detail-shell[data-game-theme="delta"] .secondary-button,
.detail-shell[data-game-theme="delta"] .small-button,
.detail-shell[data-game-theme="delta"] .filter-panel,
.detail-shell[data-game-theme="delta"] .detail-panel,
.detail-shell[data-game-theme="delta"] .tool-panel,
.detail-shell[data-game-theme="delta"] .inventory-panel,
.detail-shell[data-game-theme="delta"] .summary-panel,
.detail-shell[data-game-theme="delta"] .weapon-browser,
.detail-shell[data-game-theme="delta"] .build-library,
.detail-shell[data-game-theme="delta"] .loadout-filter-panel,
.detail-shell[data-game-theme="delta"] .loadout-library {
  color: var(--ink);
  border-color: rgba(129, 201, 170, .20);
  background: rgba(13, 24, 25, .82);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .26);
  backdrop-filter: blur(12px);
}

.detail-shell[data-game-theme="delta"] .icon-button:hover,
.detail-shell[data-game-theme="delta"] .secondary-button:hover,
.detail-shell[data-game-theme="delta"] .small-button:hover {
  border-color: rgba(101, 255, 176, .48);
  box-shadow: 0 12px 26px rgba(38, 232, 132, .12);
}

.detail-shell[data-game-theme="delta"] .text-field,
.detail-shell[data-game-theme="delta"] select.text-field,
.detail-shell[data-game-theme="delta"] textarea.text-field {
  color: #f4fff8;
  border-color: rgba(129, 201, 170, .22);
  background: rgba(5, 11, 12, .62);
}

.detail-shell[data-game-theme="delta"] select.text-field {
  color-scheme: dark;
}

.detail-shell[data-game-theme="delta"] select.text-field option {
  color: #f4fff8;
  background: #071112;
}

.detail-shell[data-game-theme="delta"] select.text-field option:checked {
  color: #06120d;
  background: #65ffb0;
}

.detail-shell[data-game-theme="delta"] .text-field::placeholder {
  color: rgba(228, 238, 232, .50);
}

.detail-shell[data-game-theme="delta"] .text-field:focus {
  border-color: #65ffb0;
  box-shadow: 0 0 0 3px rgba(38, 232, 132, .18);
}

.detail-shell[data-game-theme="delta"] .search-box,
.detail-shell[data-game-theme="delta"] .sort-combo,
.detail-shell[data-game-theme="delta"] .build-filter-panel,
.detail-shell[data-game-theme="delta"] .loadout-filter-panel,
.detail-shell[data-game-theme="delta"] .weapon-category,
.detail-shell[data-game-theme="delta"] .weapon-card,
.detail-shell[data-game-theme="delta"] .gun-thumb,
.detail-shell[data-game-theme="delta"] .card-icon,
.detail-shell[data-game-theme="delta"] .copy-code,
.detail-shell[data-game-theme="delta"] .detail-button,
.detail-shell[data-game-theme="delta"] .loadout-map-tags em,
.detail-shell[data-game-theme="delta"] .filter-chip {
  color: #eaf8ef;
  border-color: rgba(129, 201, 170, .18);
  background: rgba(255, 255, 255, .055);
}

.detail-shell[data-game-theme="delta"] .sort-combo .text-field {
  border: 0;
  background: transparent;
}

.detail-shell[data-game-theme="delta"] .order-toggle {
  border-left-color: rgba(129, 201, 170, .18);
}

.detail-shell[data-game-theme="delta"] .order-toggle button {
  color: rgba(234, 248, 239, .58);
}

.detail-shell[data-game-theme="delta"] .primary-icon-button,
.detail-shell[data-game-theme="delta"] .primary-button,
.detail-shell[data-game-theme="delta"] .order-toggle button.active,
.detail-shell[data-game-theme="delta"] .filter-chip.active {
  color: #06120d;
  border-color: rgba(101, 255, 176, .52);
  background: linear-gradient(135deg, rgba(101, 255, 176, .96), rgba(80, 182, 192, .80));
  box-shadow: 0 12px 26px rgba(38, 232, 132, .18);
}

.detail-shell[data-game-theme="delta"] .weapon-category:hover,
.detail-shell[data-game-theme="delta"] .weapon-category.active,
.detail-shell[data-game-theme="delta"] .weapon-card:hover,
.detail-shell[data-game-theme="delta"] .weapon-card.active,
.detail-shell[data-game-theme="delta"] .filter-chip:hover {
  color: #f7fff9;
  border-color: rgba(101, 255, 176, .44);
  background: linear-gradient(135deg, rgba(38, 232, 132, .16), rgba(80, 182, 192, .09));
  box-shadow: 0 12px 26px rgba(38, 232, 132, .10);
}

.detail-shell[data-game-theme="delta"] .filter-chip.active:hover,
.detail-shell[data-game-theme="delta"] .order-toggle button.active:hover {
  color: #06120d;
}

.detail-shell[data-game-theme="delta"] .weapon-card span,
.detail-shell[data-game-theme="delta"] .build-filter-label,
.detail-shell[data-game-theme="delta"] .loadout-filter-label,
.detail-shell[data-game-theme="delta"] .loadout-range-field > span,
.detail-shell[data-game-theme="delta"] .season-filter,
.detail-shell[data-game-theme="delta"] .build-title small {
  color: rgba(225, 237, 231, .66);
}

.detail-shell[data-game-theme="delta"] .build-title small {
  background: rgba(255, 255, 255, .08);
}

.detail-shell[data-game-theme="delta"] .gun-thumb {
  border-color: rgba(101, 255, 176, .18);
  background:
    linear-gradient(135deg, rgba(250, 255, 252, .96), rgba(195, 215, 210, .88));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .48),
    0 10px 22px rgba(0, 0, 0, .16);
}

.detail-shell[data-game-theme="delta"] .weapon-card.active .gun-thumb,
.detail-shell[data-game-theme="delta"] .weapon-card:hover .gun-thumb {
  background:
    linear-gradient(135deg, rgba(236, 255, 245, .98), rgba(171, 218, 205, .92));
}

.detail-shell[data-game-theme="delta"] .gun-thumb.all-guns {
  background:
    linear-gradient(135deg, rgba(250, 255, 252, .96), rgba(195, 215, 210, .88));
}

.detail-shell[data-game-theme="delta"] .gun-thumb svg {
  opacity: 1;
  filter:
    drop-shadow(0 8px 9px rgba(3, 8, 9, .22))
    saturate(1.1)
    contrast(1.12);
}

.detail-shell[data-game-theme="delta"] .card-icon.active {
  color: #ff777a;
  border-color: rgba(255, 91, 94, .42);
  background: rgba(255, 91, 94, .10);
}

.detail-shell[data-game-theme="delta"] .vote-button {
  color: #ff9295;
  border-color: rgba(255, 91, 94, .30);
  background: rgba(255, 91, 94, .08);
}

.detail-shell[data-game-theme="delta"] .vote-button.active,
.detail-shell[data-game-theme="delta"] .detail-button span {
  color: #fff;
  border-color: #ff5b5e;
  background: #ff5b5e;
}

.detail-shell[data-game-theme="delta"] .build-tag {
  color: rgba(234, 248, 239, .84);
  border-color: rgba(129, 201, 170, .18);
  background: rgba(255, 255, 255, .06);
}

.detail-shell[data-game-theme="delta"] .compact-stats div,
.detail-shell[data-game-theme="delta"] .loadout-total,
.detail-shell[data-game-theme="delta"] .filter-loading {
  border-color: rgba(129, 201, 170, .16);
  color: #eaf8ef;
  background: rgba(255, 255, 255, .055);
}

.detail-shell[data-game-theme="delta"] .build-card,
.detail-shell[data-game-theme="delta"] .loadout-plan-card {
  color: #edf5ef;
  border-color: rgba(101, 255, 176, .18);
  background:
    linear-gradient(180deg, rgba(19, 35, 36, .96), rgba(9, 18, 19, .94)),
    rgba(13, 24, 25, .96);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, .30),
    inset 0 1px 0 rgba(255, 255, 255, .05);
}

.detail-shell[data-game-theme="delta"] .build-card:focus-visible,
.detail-shell[data-game-theme="delta"] .loadout-plan-card:focus-visible {
  box-shadow:
    0 0 0 3px rgba(101, 255, 176, .20),
    0 18px 44px rgba(0, 0, 0, .30);
}

.detail-shell[data-game-theme="delta"] .build-name h3,
.detail-shell[data-game-theme="delta"] .loadout-title-block h3 {
  color: #f7fff9;
}

.detail-shell[data-game-theme="delta"] .build-name span,
.detail-shell[data-game-theme="delta"] .build-price span,
.detail-shell[data-game-theme="delta"] .code-label,
.detail-shell[data-game-theme="delta"] .build-detail-extra b,
.detail-shell[data-game-theme="delta"] .loadout-title-block span,
.detail-shell[data-game-theme="delta"] .loadout-cost span,
.detail-shell[data-game-theme="delta"] .loadout-battle span,
.detail-shell[data-game-theme="delta"] .loadout-map-tags > span,
.detail-shell[data-game-theme="delta"] .loadout-code-label,
.detail-shell[data-game-theme="delta"] .loadout-detail-extra b {
  color: rgba(225, 237, 231, .66);
}

.detail-shell[data-game-theme="delta"] .build-note,
.detail-shell[data-game-theme="delta"] .loadout-plan-note {
  color: rgba(234, 248, 239, .78);
  border-left-color: rgba(101, 255, 176, .24);
  background: rgba(255, 255, 255, .055);
}

.detail-shell[data-game-theme="delta"] .code-row code,
.detail-shell[data-game-theme="delta"] .loadout-code-row code {
  color: #f4fff8;
  background: rgba(255, 255, 255, .06);
}

.detail-shell[data-game-theme="delta"] .build-detail-extra span,
.detail-shell[data-game-theme="delta"] .build-foot,
.detail-shell[data-game-theme="delta"] .loadout-detail-extra span,
.detail-shell[data-game-theme="delta"] .loadout-card-foot {
  color: rgba(225, 237, 231, .72);
}

.detail-shell[data-game-theme="delta"] .card-divider,
.detail-shell[data-game-theme="delta"] .loadout-filter-divider,
.detail-shell[data-game-theme="delta"] .loadout-library-head {
  background: rgba(129, 201, 170, .16);
}

.detail-shell[data-game-theme="delta"] .loadout-library-head {
  border-bottom-color: rgba(129, 201, 170, .16);
  background: transparent;
}

.detail-shell[data-game-theme="delta"] .loadout-range-field b,
.detail-shell[data-game-theme="delta"] .loadout-range-field em {
  color: rgba(225, 237, 231, .62);
}

.detail-shell[data-game-theme="delta"] .loadout-media-placeholder {
  color: #1f7ff0;
  background:
    linear-gradient(135deg, rgba(249, 255, 252, .96), rgba(186, 207, 202, .88));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .42),
    0 14px 28px rgba(0, 0, 0, .18);
}

.detail-shell[data-game-theme="delta"] .loadout-media-placeholder.empty {
  color: rgba(30, 42, 45, .42);
}

.detail-shell[data-game-theme="delta"] .loadout-map-tags em,
.detail-shell[data-game-theme="delta"] .loadout-detail-extra {
  background: rgba(255, 255, 255, .055);
}

.detail-shell[data-game-theme="delta"] .loadout-featured::before {
  background: linear-gradient(90deg, #268bff, #27e884);
}

.detail-shell[data-game-theme="delta"] .filter-heading {
  color: rgba(177, 210, 195, .78);
}

.detail-shell[data-game-theme="delta"] .check-row input {
  accent-color: #26e884;
}

.detail-shell[data-game-theme="delta"] .map-stage {
  background: #000;
  border-color: rgba(101, 255, 176, .28);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, .42),
    0 0 0 1px rgba(101, 255, 176, .10);
}

.detail-shell[data-game-theme="delta"] .source-link {
  color: #06120d;
  border-color: rgba(101, 255, 176, .34);
  background: linear-gradient(135deg, rgba(101, 255, 176, .92), rgba(80, 182, 192, .70));
}

.detail-shell[data-game-theme="delta"] .source-link:hover {
  border-color: rgba(215, 173, 99, .58);
  background: linear-gradient(135deg, #86ffc0, rgba(215, 173, 99, .78));
}

.detail-shell[data-game-theme="delta"] .map-video-card {
  border-color: rgba(101, 255, 176, .24);
  background: #030606;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, .32),
    0 0 0 1px rgba(101, 255, 176, .08);
}

.detail-shell[data-game-theme="delta"] .map-video-card::after {
  background:
    linear-gradient(180deg, rgba(2, 7, 7, .08), rgba(2, 7, 7, .44)),
    radial-gradient(circle at center, rgba(101, 255, 176, .18), transparent 37%);
}

.detail-shell[data-game-theme="delta"] .map-video-play {
  border-color: rgba(255, 255, 255, .34);
  background: linear-gradient(135deg, rgba(101, 255, 176, .94), rgba(80, 182, 192, .78));
  box-shadow:
    0 12px 28px rgba(0, 0, 0, .42),
    0 0 22px rgba(38, 232, 132, .24);
}

.detail-shell[data-game-theme="delta"] .map-video-play::before {
  border-left-color: #06120d;
}

.detail-shell[data-game-theme="delta"] .map-video-author {
  color: #f4fff8;
}

.detail-shell[data-game-theme="delta"] .map-video-author:hover strong {
  color: #65ffb0;
}

.detail-shell[data-game-theme="delta"] .map-video-author-avatar {
  border-color: rgba(101, 255, 176, .30);
  box-shadow: 0 0 0 3px rgba(38, 232, 132, .08);
}

.detail-shell[data-game-theme="delta"] .map-video-provider {
  color: rgba(177, 210, 195, .74);
}

.detail-shell[data-game-theme="delta"] .toast {
  color: #f3fff7;
  border-color: rgba(101, 255, 176, .28);
  background: rgba(11, 21, 22, .96);
}

.detail-shell[data-game-theme="gta6"] {
  --panel: rgba(255, 249, 243, .92);
  --ink: #211324;
  --muted: #745d78;
  --line: rgba(124, 71, 116, .20);
  --green: #159b96;
  --green-dark: #0f696e;
  --amber: #f3a45f;
  --rust: #e75f86;
  --cyan: #1c9ea5;
  --violet: #8a63bc;
  --shadow: 0 24px 54px rgba(49, 16, 43, .18);
  color: var(--ink);
  background: #fff5ed;
}

.detail-shell[data-game-theme="gta6"] .sidebar {
  color: #fff8f5;
  background:
    linear-gradient(180deg, rgba(255, 151, 103, .10), transparent 28%),
    linear-gradient(155deg, #201025 0%, #351331 44%, #102b34 100%);
  border-right-color: rgba(255, 186, 134, .22);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, .06);
}

.detail-shell[data-game-theme="gta6"] .main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(130deg, rgba(246, 128, 154, .20) 0%, rgba(255, 188, 126, .16) 28%, rgba(141, 120, 207, .12) 58%, rgba(30, 159, 166, .10) 100%),
    linear-gradient(180deg, #fffaf4 0%, #fff3ee 54%, #f4f6f1 100%);
}

.detail-shell[data-game-theme="gta6"] .main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("assets/cover-gta6.png");
  background-position: center 18%;
  background-size: cover;
  opacity: .08;
  pointer-events: none;
}

.detail-shell[data-game-theme="gta6"] .topbar,
.detail-shell[data-game-theme="gta6"] .view {
  position: relative;
  z-index: 1;
}

.detail-shell[data-game-theme="gta6"] .brand-mark {
  color: #271026;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .38), transparent 40%),
    linear-gradient(135deg, #ffbd75 0%, #f36f9e 46%, #8972dc 100%);
  box-shadow: 0 14px 26px rgba(231, 95, 134, .30);
}

.detail-shell[data-game-theme="gta6"] .brand span,
.detail-shell[data-game-theme="gta6"] .sidebar-note p {
  color: rgba(255, 239, 231, .78);
}

.detail-shell[data-game-theme="gta6"] .back-home-button,
.detail-shell[data-game-theme="gta6"] .nav-item,
.detail-shell[data-game-theme="gta6"] .sidebar-note {
  border-color: rgba(255, 204, 174, .18);
  background: rgba(255, 255, 255, .07);
}

.detail-shell[data-game-theme="gta6"] .nav-item:hover,
.detail-shell[data-game-theme="gta6"] .nav-item.active,
.detail-shell[data-game-theme="gta6"] .back-home-button:hover {
  color: #fff;
  background: linear-gradient(135deg, rgba(243, 111, 158, .26), rgba(21, 155, 150, .18));
  border-color: rgba(255, 204, 174, .36);
}

.detail-shell[data-game-theme="gta6"] .sidebar-note span,
.detail-shell[data-game-theme="gta6"] .eyebrow {
  color: #0f7778;
}

.detail-shell[data-game-theme="gta6"] h1,
.detail-shell[data-game-theme="gta6"] h2,
.detail-shell[data-game-theme="gta6"] h3 {
  color: #1f1222;
}

.detail-shell[data-game-theme="gta6"] .topbar {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(124, 71, 116, .18);
}

.detail-shell[data-game-theme="gta6"] .icon-button,
.detail-shell[data-game-theme="gta6"] .secondary-button,
.detail-shell[data-game-theme="gta6"] .small-button,
.detail-shell[data-game-theme="gta6"] .filter-panel,
.detail-shell[data-game-theme="gta6"] .detail-panel,
.detail-shell[data-game-theme="gta6"] .tool-panel,
.detail-shell[data-game-theme="gta6"] .inventory-panel,
.detail-shell[data-game-theme="gta6"] .summary-panel,
.detail-shell[data-game-theme="gta6"] .weapon-browser,
.detail-shell[data-game-theme="gta6"] .build-library {
  border-color: rgba(124, 71, 116, .20);
  background: rgba(255, 250, 245, .88);
  box-shadow: 0 18px 42px rgba(49, 16, 43, .10);
  backdrop-filter: blur(10px);
}

.detail-shell[data-game-theme="gta6"] .icon-button:hover,
.detail-shell[data-game-theme="gta6"] .secondary-button:hover,
.detail-shell[data-game-theme="gta6"] .small-button:hover {
  border-color: rgba(231, 95, 134, .42);
  box-shadow: 0 10px 24px rgba(231, 95, 134, .12);
}

.detail-shell[data-game-theme="gta6"] .map-stage {
  background: #150817;
  border-color: rgba(238, 141, 167, .46);
  box-shadow:
    0 24px 60px rgba(49, 16, 43, .22),
    0 0 0 1px rgba(255, 191, 128, .18);
}

.detail-shell[data-game-theme="gta6"] .external-map-frame {
  background: #160a1a;
}

.detail-shell[data-game-theme="gta6"] .source-link {
  color: #211324;
  border-color: rgba(15, 119, 120, .24);
  background: linear-gradient(135deg, rgba(255, 189, 117, .48), rgba(243, 111, 158, .22), rgba(21, 155, 150, .20));
}

.detail-shell[data-game-theme="gta6"] .source-link:hover {
  border-color: rgba(231, 95, 134, .46);
  background: linear-gradient(135deg, rgba(255, 189, 117, .64), rgba(243, 111, 158, .30), rgba(21, 155, 150, .26));
}

.detail-shell[data-game-theme="beast"] {
  --panel: rgba(255, 249, 232, .92);
  --ink: #25180f;
  --muted: #70583f;
  --line: rgba(143, 86, 32, .24);
  --green: #657238;
  --green-dark: #313719;
  --amber: #c98530;
  --rust: #9d4d25;
  --cyan: #7b9b8e;
  --violet: #7a5d73;
  --shadow: 0 24px 58px rgba(66, 38, 13, .18);
  color: var(--ink);
  background: #f4dfb7;
}

.detail-shell[data-game-theme="beast"] .brand > div > span,
.detail-shell[data-game-theme="beast"] .nav-item[data-view="weapon"],
.detail-shell[data-game-theme="beast"] .nav-item[data-view="loadout"],
.detail-shell[data-game-theme="beast"] .sidebar-note {
  display: none;
}

.detail-shell[data-game-theme="beast"] .sidebar {
  color: #fff8e8;
  background:
    linear-gradient(180deg, rgba(208, 160, 80, .15), transparent 30%),
    linear-gradient(155deg, #1f170d 0%, #3b2612 45%, #171f0f 100%);
  border-right-color: rgba(244, 203, 117, .20);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, .05);
}

.detail-shell[data-game-theme="beast"] .main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(208, 160, 80, .22) 0%, rgba(160, 96, 48, .13) 38%, rgba(88, 105, 54, .10) 72%, rgba(255, 249, 232, .44) 100%),
    linear-gradient(180deg, #fff8e8 0%, #f5e0bb 54%, #e8c990 100%);
}

.detail-shell[data-game-theme="beast"] .main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("assets/cover-beast-of-reincarnation.png");
  background-position: center 18%;
  background-size: cover;
  opacity: .10;
  pointer-events: none;
}

.detail-shell[data-game-theme="beast"] .topbar,
.detail-shell[data-game-theme="beast"] .view {
  position: relative;
  z-index: 1;
}

.detail-shell[data-game-theme="beast"] .brand-mark {
  color: #24180f;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .40), transparent 42%),
    linear-gradient(135deg, #f0e0c0 0%, #d0a050 44%, #9d4d25 100%);
  box-shadow: 0 14px 28px rgba(201, 133, 48, .28);
}

.detail-shell[data-game-theme="beast"] .brand span,
.detail-shell[data-game-theme="beast"] .sidebar-note p {
  color: rgba(255, 246, 226, .78);
}

.detail-shell[data-game-theme="beast"] .back-home-button,
.detail-shell[data-game-theme="beast"] .nav-item,
.detail-shell[data-game-theme="beast"] .sidebar-note {
  border-color: rgba(244, 203, 117, .18);
  background: rgba(255, 255, 255, .07);
}

.detail-shell[data-game-theme="beast"] .nav-item:hover,
.detail-shell[data-game-theme="beast"] .nav-item.active,
.detail-shell[data-game-theme="beast"] .back-home-button:hover {
  color: #fff;
  background: linear-gradient(135deg, rgba(201, 133, 48, .28), rgba(101, 114, 56, .22));
  border-color: rgba(244, 203, 117, .36);
}

.detail-shell[data-game-theme="beast"] .sidebar-note span {
  color: #f0c36b;
}

.detail-shell[data-game-theme="beast"] .eyebrow {
  color: #7d4a1c;
}

.detail-shell[data-game-theme="beast"] h1,
.detail-shell[data-game-theme="beast"] h2,
.detail-shell[data-game-theme="beast"] h3 {
  color: #25180f;
}

.detail-shell[data-game-theme="beast"] .topbar {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(143, 86, 32, .18);
}

.detail-shell[data-game-theme="beast"] .icon-button,
.detail-shell[data-game-theme="beast"] .secondary-button,
.detail-shell[data-game-theme="beast"] .small-button,
.detail-shell[data-game-theme="beast"] .filter-panel,
.detail-shell[data-game-theme="beast"] .detail-panel,
.detail-shell[data-game-theme="beast"] .tool-panel,
.detail-shell[data-game-theme="beast"] .inventory-panel,
.detail-shell[data-game-theme="beast"] .summary-panel,
.detail-shell[data-game-theme="beast"] .weapon-browser,
.detail-shell[data-game-theme="beast"] .build-library {
  border-color: rgba(143, 86, 32, .22);
  background: rgba(255, 249, 232, .88);
  box-shadow: 0 18px 42px rgba(66, 38, 13, .10);
  backdrop-filter: blur(10px);
}

.detail-shell[data-game-theme="beast"] .icon-button:hover,
.detail-shell[data-game-theme="beast"] .secondary-button:hover,
.detail-shell[data-game-theme="beast"] .small-button:hover {
  border-color: rgba(201, 133, 48, .48);
  box-shadow: 0 10px 24px rgba(201, 133, 48, .13);
}

.detail-shell[data-game-theme="beast"] .map-stage {
  background: #1c140b;
  border-color: rgba(201, 133, 48, .52);
  box-shadow:
    0 24px 60px rgba(66, 38, 13, .24),
    0 0 0 1px rgba(240, 224, 192, .18);
}

.detail-shell[data-game-theme="beast"] .map-tile-layer,
.detail-shell[data-game-theme="beast"] .external-map-frame {
  background: #171107;
}

.detail-shell[data-game-theme="beast"] .source-link {
  color: #25180f;
  border-color: rgba(101, 114, 56, .28);
  background: linear-gradient(135deg, rgba(240, 224, 192, .68), rgba(201, 133, 48, .30), rgba(101, 114, 56, .18));
}

.detail-shell[data-game-theme="beast"] .source-link:hover {
  border-color: rgba(201, 133, 48, .52);
  background: linear-gradient(135deg, rgba(240, 224, 192, .82), rgba(201, 133, 48, .38), rgba(101, 114, 56, .24));
}

.detail-shell[data-game-theme="beast"] .text-field,
.detail-shell[data-game-theme="beast"] .search-box,
.detail-shell[data-game-theme="beast"] .order-toggle,
.detail-shell[data-game-theme="beast"] .segmented button {
  border-color: rgba(143, 86, 32, .24);
  background: rgba(255, 253, 244, .86);
}

.detail-shell[data-game-theme="beast"] .primary-icon-button,
.detail-shell[data-game-theme="beast"] .primary-button,
.detail-shell[data-game-theme="beast"] .order-toggle button.active,
.detail-shell[data-game-theme="beast"] .segmented button.active {
  border-color: #9d4d25;
  background: linear-gradient(135deg, #d0a050, #9d4d25);
  box-shadow: 0 10px 22px rgba(157, 77, 37, .22);
}

.detail-shell[data-game-theme="beast"] .section-kicker span {
  background: #c98530;
}

.detail-shell[data-game-theme="beast"] .build-title > span {
  color: #9d4d25;
}

.detail-shell[data-game-theme="beast"] .weapon-category,
.detail-shell[data-game-theme="beast"] .weapon-card,
.detail-shell[data-game-theme="beast"] .build-card,
.detail-shell[data-game-theme="beast"] .item-card,
.detail-shell[data-game-theme="beast"] .loadout-slot {
  border-color: rgba(143, 86, 32, .16);
  background: rgba(255, 253, 244, .78);
}

.detail-shell[data-game-theme="beast"] .weapon-category:hover,
.detail-shell[data-game-theme="beast"] .weapon-category.active,
.detail-shell[data-game-theme="beast"] .weapon-card:hover,
.detail-shell[data-game-theme="beast"] .weapon-card.active {
  color: #6f3d17;
  border-color: rgba(201, 133, 48, .58);
  background: rgba(240, 224, 192, .62);
  box-shadow: 0 10px 24px rgba(201, 133, 48, .14);
}

.detail-shell[data-game-theme="beast"] .gun-thumb,
.detail-shell[data-game-theme="beast"] .gun-thumb.all-guns,
.detail-shell[data-game-theme="beast"] .build-note,
.detail-shell[data-game-theme="beast"] .code-row code,
.detail-shell[data-game-theme="beast"] .build-detail-extra,
.detail-shell[data-game-theme="beast"] .compact-stats div,
.detail-shell[data-game-theme="beast"] .loadout-total,
.detail-shell[data-game-theme="beast"] .meta-pill {
  background: rgba(245, 224, 187, .56);
}

.detail-shell[data-game-theme="beast"] .strip-arrow,
.detail-shell[data-game-theme="beast"] .copy-code,
.detail-shell[data-game-theme="beast"] .card-icon,
.detail-shell[data-game-theme="beast"] .vote-button,
.detail-shell[data-game-theme="beast"] .detail-button {
  border-color: rgba(143, 86, 32, .24);
  color: #6f3d17;
  background: rgba(255, 253, 244, .86);
}

.detail-shell[data-game-theme="beast"] .build-price b,
.detail-shell[data-game-theme="beast"] .status-line {
  color: #313719;
}

.detail-shell[data-game-theme="beast"] .status-line {
  background: rgba(101, 114, 56, .18);
}

.detail-shell[data-game-theme="beast"] .build-tag.orange {
  color: #8a4d15;
  border-color: rgba(201, 133, 48, .55);
  background: rgba(240, 224, 192, .70);
}

.detail-shell[data-game-theme="beast"] .build-tag.blue,
.detail-shell[data-game-theme="beast"] .build-tag.green {
  color: #465424;
  border-color: rgba(101, 114, 56, .40);
  background: rgba(101, 114, 56, .12);
}

.detail-shell[data-game-theme="beast"] .build-tag.red {
  color: #7a3519;
  border-color: rgba(157, 77, 37, .38);
  background: rgba(157, 77, 37, .12);
}

.detail-shell[data-game-theme="beast"] .detail-button span,
.detail-shell[data-game-theme="beast"] .vote-button.active {
  color: #fff;
  border-color: #9d4d25;
  background: #9d4d25;
}

.detail-shell[data-game-theme="beast"] .build-tag.purple {
  color: #5d4255;
  border-color: rgba(122, 93, 115, .35);
  background: rgba(122, 93, 115, .12);
}

.point-action-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin-top: 18px;
}

.point-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 56px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, .08);
  line-height: 1;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}

.point-action-icon {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.point-action:hover {
  transform: translateY(-1px);
}

.point-action.active {
  color: #113023;
  border-color: rgba(47, 122, 95, .34);
  background: #b7ebcd;
}

.detail-shell[data-game-theme="delta"] .point-action {
  color: #eaf8ef;
  border-color: rgba(101, 255, 176, .18);
  background: rgba(255, 255, 255, .055);
}

.detail-shell[data-game-theme="delta"] .point-action:hover {
  border-color: rgba(101, 255, 176, .46);
  box-shadow: 0 10px 22px rgba(38, 232, 132, .12);
}

.detail-shell[data-game-theme="delta"] .point-action.active {
  color: #06120d;
  border-color: rgba(101, 255, 176, .60);
  background: linear-gradient(135deg, rgba(101, 255, 176, .94), rgba(80, 182, 192, .78));
  box-shadow: 0 0 22px rgba(38, 232, 132, .18);
}

.weapon-browser,
.build-library {
  background: rgba(255, 255, 255, .94);
  border: 1px solid #e9edf2;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(28, 37, 49, .08);
}

.weapon-browser {
  padding: 24px;
}

.weapon-browser-head,
.build-library-head,
.weapon-tools,
.build-tools,
.build-title,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
}

.weapon-browser-head,
.build-library-head {
  justify-content: space-between;
  flex-wrap: wrap;
}

.section-kicker span {
  width: 4px;
  height: 20px;
  border-radius: 999px;
  background: #3b82f6;
}

.section-kicker h2,
.build-title h2 {
  margin: 0;
  font-size: 18px;
}

.weapon-tools,
.build-tools {
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.season-filter {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #1f2937;
  font-size: 14px;
  font-weight: 700;
}

.season-filter span {
  color: #99a2ad;
  font-size: 12px;
}

.compact-field {
  width: 120px;
  min-height: 34px;
}

.search-box {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  width: min(320px, 42vw);
  min-height: 34px;
  border: 1px solid #d9dee7;
  border-radius: 8px;
  background: #fff;
}

.search-box span {
  display: grid;
  place-items: center;
  color: #17212f;
  font-size: 18px;
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.primary-icon-button,
.primary-button {
  display: inline-grid;
  place-items: center;
  border: 1px solid #3b82f6;
  border-radius: 8px;
  color: #fff;
  background: #3b82f6;
  box-shadow: 0 8px 18px rgba(59, 130, 246, .2);
}

.primary-icon-button {
  width: 46px;
  height: 34px;
}

.primary-button {
  grid-auto-flow: column;
  gap: 8px;
  min-height: 34px;
  padding: 0 16px;
  font-weight: 800;
}

.weapon-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.weapon-category {
  min-height: 64px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #101820;
  background: #f7f8fa;
  font-weight: 800;
}

.weapon-category:hover,
.weapon-category.active {
  color: #1d5fd7;
  border-color: #3b82f6;
  background: #eef6ff;
  box-shadow: 0 8px 20px rgba(59, 130, 246, .12);
}

.weapon-pick-title {
  margin-top: 24px;
}

.weapon-strip-wrap {
  position: relative;
  margin-top: 12px;
}

.weapon-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
}

.weapon-card {
  display: grid;
  justify-items: center;
  align-content: start;
  width: 118px;
  min-width: 118px;
  min-height: 122px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #101820;
  background: #f8f9fb;
  text-align: center;
}

.weapon-card:hover,
.weapon-card.active {
  border-color: #3b82f6;
  background: #f2f7ff;
}

.weapon-card b {
  width: 100%;
  margin-top: 7px;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.weapon-card span {
  margin-top: 3px;
  color: #5c6673;
  font-size: 12px;
}

.gun-thumb {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 70px;
  overflow: hidden;
  border-radius: 8px;
  background: #eef0f3;
}

.gun-thumb svg {
  width: 116%;
  height: 100%;
  filter: drop-shadow(0 8px 8px rgba(20, 24, 28, .16));
}

.gun-thumb.small {
  width: 82px;
  height: 60px;
  flex: 0 0 auto;
}

.build-stamp {
  position: absolute;
  top: 6px;
  right: 26px;
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  padding: 10px;
  border: 3px solid currentColor;
  border-radius: 50%;
  color: #ff5b5e;
  background:
    radial-gradient(circle at 50% 50%, transparent 48%, currentColor 49%, currentColor 52%, transparent 53%),
    radial-gradient(circle at 50% 50%, transparent 67%, currentColor 68%, currentColor 70%, transparent 71%),
    repeating-linear-gradient(-18deg, rgba(255, 91, 94, .10) 0 2px, transparent 2px 6px);
  box-shadow:
    0 6px 12px rgba(255, 91, 94, .14),
    inset 0 0 0 2px rgba(255, 91, 94, .18);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.08;
  text-align: center;
  transform: rotate(8deg);
  opacity: .92;
  pointer-events: none;
  z-index: 1;
}

.gun-thumb.all-guns {
  background: linear-gradient(135deg, #eef6ff, #f3f4f6);
}

.strip-arrow {
  position: absolute;
  top: 34px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #dce6f4;
  border-radius: 50%;
  color: #3b82f6;
  background: #fff;
  box-shadow: 0 8px 20px rgba(30, 41, 59, .12);
}

.strip-arrow:first-child {
  left: -14px;
}

.strip-arrow:last-child {
  right: -14px;
}

.build-library {
  margin-top: 22px;
  padding: 24px;
}

.build-library-head {
  padding-bottom: 16px;
  border-bottom: 1px solid #e8edf3;
}

.build-title {
  min-width: 0;
}

.build-title > span {
  color: #3b82f6;
  font-size: 22px;
}

.build-title small {
  padding: 4px 9px;
  border-radius: 999px;
  color: #9aa3ad;
  background: #f4f6f8;
  font-size: 12px;
  font-weight: 800;
}

.sort-combo {
  display: inline-grid;
  grid-template-columns: minmax(132px, 1fr) auto;
  align-items: stretch;
  overflow: hidden;
  min-height: 42px;
  border: 1px solid #d9dee7;
  border-radius: 8px;
  background: #fff;
}

.sort-combo .text-field {
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.order-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  min-height: 100%;
  border-left: 1px solid #d9dee7;
}

.order-toggle button {
  display: grid;
  place-items: center;
  min-width: 38px;
  border: 0;
  color: #a1a8b0;
  background: transparent;
  font-size: 16px;
  font-weight: 800;
}

.order-toggle button.active {
  color: #fff;
  background: #3b82f6;
}

.refresh-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  white-space: nowrap;
}

.build-tools .primary-button,
.build-tools .secondary-button {
  min-height: 42px;
}

.build-filter-panel {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #e8edf3;
  border-radius: 8px;
  background: #f8fafc;
}

.build-filter-group {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.build-filter-label {
  padding-top: 7px;
  color: #75808d;
  font-size: 12px;
  font-weight: 900;
}

.filter-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.filter-chip {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #dfe7f1;
  border-radius: 8px;
  color: #4b5563;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.filter-chip:hover {
  border-color: #93c5fd;
  color: #2563eb;
}

.filter-chip.active {
  color: #fff;
  border-color: #3b82f6;
  background: #3b82f6;
  box-shadow: 0 8px 18px rgba(59, 130, 246, .16);
}

.build-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.build-card {
  position: relative;
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 22px;
  border: 1px solid #edf1f5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(22, 32, 46, .08);
  outline: none;
  cursor: pointer;
}

.build-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .22), 0 16px 36px rgba(22, 32, 46, .08);
}

.build-card.with-stamp .build-card-top {
  padding-right: 110px;
}

.build-card-top,
.card-actions,
.build-main,
.code-row,
.build-foot {
  display: flex;
  align-items: center;
}

.build-card-top,
.build-foot {
  justify-content: space-between;
  gap: 12px;
}

.card-actions {
  gap: 8px;
}

.card-icon,
.vote-button,
.copy-code,
.detail-button {
  display: inline-grid;
  place-items: center;
  border: 1px solid #dfe7f1;
  border-radius: 8px;
  color: #17212f;
  background: #fff;
}

.card-icon {
  width: 32px;
  height: 32px;
}

.card-icon.active {
  color: #ef4444;
  border-color: #fecaca;
  background: #fff5f5;
}

.vote-button {
  grid-auto-flow: column;
  gap: 6px;
  min-width: 58px;
  height: 32px;
  color: #ff5b5e;
  border-color: #ffd5d6;
  background: #fff7f7;
  font-size: 12px;
}

.vote-button.active {
  color: #fff;
  border-color: #ff5b5e;
  background: #ff5b5e;
}

.build-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
}

.build-name {
  min-width: 0;
}

.build-name h3 {
  margin-bottom: 8px;
  color: #17212f;
  font-size: 16px;
  line-height: 1.45;
}

.build-name span,
.build-price span,
.code-label,
.build-detail-extra b {
  color: #8a949f;
  font-size: 12px;
  font-weight: 800;
}

.build-price {
  display: grid;
  justify-items: end;
  align-content: center;
  min-width: 96px;
}

.build-price b {
  margin-top: 3px;
  color: #52bf26;
  font-size: 20px;
  letter-spacing: 0;
}

.build-note {
  min-height: 62px;
  margin: 0;
  padding: 14px 16px;
  border-left: 3px solid #cbd3dc;
  border-radius: 8px;
  color: #5a6470;
  background: #f1f3f5;
  font-size: 13px;
  line-height: 1.7;
}

.code-label {
  margin-top: 2px;
}

.code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  gap: 8px;
}

.code-row code {
  display: block;
  min-width: 0;
  min-height: 40px;
  padding: 11px 12px;
  overflow: hidden;
  border-radius: 8px;
  color: #101820;
  background: #f6f7f9;
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-code {
  width: 36px;
  height: 36px;
  align-self: center;
  color: #6b7280;
}

.card-divider {
  height: 1px;
  background: #edf0f4;
}

.build-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
}

.build-tag {
  padding: 5px 9px;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.build-tag.orange {
  color: #f59e0b;
  border-color: #fbbf24;
  background: #fffbeb;
}

.build-tag.blue {
  color: #2563eb;
  border-color: #93c5fd;
  background: #eff6ff;
}

.build-tag.red {
  color: #ef4444;
  border-color: #fecaca;
  background: #fff1f2;
}

.build-tag.purple {
  color: #7c3aed;
  border-color: #c4b5fd;
  background: #f5f3ff;
}

.build-tag.green {
  color: #4fb82a;
  border-color: #b6e3a2;
  background: #f1f9ed;
}

.detail-button {
  grid-auto-flow: column;
  gap: 7px;
  flex: 0 0 auto;
  min-width: 76px;
  min-height: 30px;
  padding: 0 10px;
  color: #5b6470;
  font-size: 13px;
  white-space: nowrap;
}

.detail-button span {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  color: #fff;
  background: #ff5b5e;
  font-size: 11px;
}

.build-detail-extra {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 12px;
  border-radius: 8px;
  background: #f8fafc;
}

.build-card.expanded .build-detail-extra {
  display: grid;
}

.build-detail-extra div {
  display: grid;
  gap: 4px;
}

.build-detail-extra span {
  color: #17212f;
  font-size: 13px;
  font-weight: 800;
}

.loadout-filter-panel,
.loadout-library {
  min-width: 0;
  padding: 22px;
  border: 1px solid #e8edf3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(22, 32, 46, .08);
}

.loadout-filter-panel {
  display: grid;
  gap: 14px;
}

.loadout-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}

.loadout-filter-group {
  display: flex;
  flex: 1 1 520px;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.loadout-filter-group.compact {
  flex: 0 1 390px;
}

.loadout-filter-label,
.loadout-range-field > span {
  flex: 0 0 auto;
  color: #75808d;
  font-size: 12px;
  font-weight: 900;
}

.loadout-range-field {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #8a949f;
  font-size: 12px;
  font-weight: 800;
}

.loadout-range-field em {
  color: #9aa3ad;
  font-style: normal;
}

.loadout-range-field b {
  color: #4d5966;
  font-size: 13px;
}

.mini-field {
  width: 74px;
  min-height: 34px;
  padding-inline: 10px;
}

.loadout-filter-divider {
  height: 1px;
  background: #edf0f4;
}

.loadout-library {
  margin-top: 18px;
}

.loadout-library-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8edf3;
}

.loadout-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.loadout-plan-card {
  position: relative;
  display: grid;
  gap: 14px;
  min-width: 0;
  overflow: hidden;
  padding: 18px;
  border: 1px solid #edf1f5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(22, 32, 46, .08);
}

.loadout-featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #22c55e);
}

.loadout-card-actions,
.loadout-card-foot,
.loadout-plan-main,
.loadout-map-tags {
  display: flex;
  align-items: center;
}

.loadout-card-actions,
.loadout-card-foot {
  justify-content: space-between;
  gap: 12px;
}

.loadout-heat-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  background: #ff5b5e;
  box-shadow: 0 10px 20px rgba(255, 91, 94, .16);
  font-size: 12px;
  font-weight: 900;
}

.loadout-card-media {
  min-width: 0;
}

.loadout-media-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  min-height: 178px;
  overflow: hidden;
  border-radius: 8px;
  color: #3b82f6;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .82), rgba(224, 229, 235, .92)),
    #eef2f5;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .54),
    0 12px 26px rgba(22, 32, 46, .08);
  font-size: 13px;
  font-weight: 900;
}

.loadout-media-placeholder.empty {
  color: #a1a8b0;
}

.loadout-spinner {
  width: 30px;
  height: 30px;
  border: 5px solid rgba(59, 130, 246, .22);
  border-top-color: #60a5fa;
  border-radius: 50%;
  animation: spin .9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

.loadout-plan-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
}

.loadout-title-block {
  min-width: 0;
}

.loadout-title-block h3 {
  margin-bottom: 6px;
  color: #17212f;
  font-size: 16px;
  line-height: 1.45;
}

.loadout-title-block span,
.loadout-cost span,
.loadout-battle span,
.loadout-map-tags > span,
.loadout-code-label,
.loadout-detail-extra b {
  color: #8a949f;
  font-size: 12px;
  font-weight: 800;
}

.loadout-cost,
.loadout-battle {
  display: grid;
  justify-items: end;
  align-content: center;
  min-width: 108px;
}

.loadout-cost b {
  color: #52bf26;
  font-size: 18px;
  letter-spacing: 0;
}

.loadout-battle b {
  color: #3b82f6;
  font-size: 12px;
  letter-spacing: 0;
}

.loadout-map-tags {
  grid-column: 1 / -1;
  justify-content: space-between;
  gap: 12px;
}

.loadout-map-tags div,
.loadout-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.loadout-map-tags em {
  padding: 4px 8px;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  color: #6b7280;
  background: #f8fafc;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.loadout-plan-note {
  min-height: 58px;
  margin: 0;
  padding: 13px 15px;
  border-left: 3px solid #cbd3dc;
  border-radius: 8px;
  color: #5a6470;
  background: #f1f3f5;
  font-size: 13px;
  line-height: 1.7;
}

.loadout-code-label {
  margin-top: 2px;
}

.loadout-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  gap: 8px;
}

.loadout-code-row code {
  display: block;
  min-width: 0;
  min-height: 40px;
  padding: 11px 12px;
  overflow: hidden;
  border-radius: 8px;
  color: #101820;
  background: #f6f7f9;
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.loadout-tags {
  flex: 1 1 auto;
}

.loadout-detail-extra {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px;
  border-radius: 8px;
  background: #f8fafc;
}

.loadout-plan-card.expanded .loadout-detail-extra {
  display: grid;
}

.loadout-detail-extra div {
  display: grid;
  gap: 4px;
}

.loadout-detail-extra span {
  color: #17212f;
  font-size: 13px;
  font-weight: 800;
}

.empty-state {
  display: none;
  margin-top: 24px;
  padding: 42px 18px;
  border: 1px dashed #d4dbe5;
  border-radius: 8px;
  color: #8a949f;
  background: #f8fafc;
  text-align: center;
  font-weight: 800;
}

.empty-state.show {
  display: block;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, .45);
}

.modal-backdrop[hidden] {
  display: none;
}

.weapon-modal-card {
  width: min(680px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
}

.modal-head,
.modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-head h2 {
  margin: 0;
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.modal-grid label {
  display: grid;
  gap: 8px;
  color: #38433d;
  font-size: 13px;
  font-weight: 800;
}

.wide-field {
  grid-column: 1 / -1;
}

textarea.text-field {
  min-height: 88px;
  padding-top: 10px;
  resize: vertical;
}

.modal-actions {
  justify-content: flex-end;
  margin-top: 18px;
}

.item-card,
.loadout-slot {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf9;
}

.item-card b,
.loadout-slot b {
  display: block;
  margin-bottom: 4px;
}

.item-card span,
.loadout-slot span {
  color: var(--muted);
  font-size: 12px;
}

.loadout-layout {
  display: grid;
  grid-template-columns: 310px minmax(360px, 1fr) 230px;
  gap: 14px;
  margin-top: 16px;
}

.budget-row {
  display: grid;
  grid-template-columns: 1fr 82px;
  align-items: center;
  gap: 12px;
}

input[type="range"] {
  accent-color: var(--green);
}

.loadout-slots {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.loadout-slot {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 10px;
}

.slot-empty {
  color: #8a958f;
}

.inventory-panel {
  min-width: 0;
}

.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.segmented button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #3c4741;
  background: #fff;
}

.segmented button.active {
  color: #fff;
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.item-card {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.meta-pill {
  padding: 4px 7px;
  border-radius: 999px;
  color: #455049;
  background: #eef2ea;
  font-size: 12px;
  font-weight: 700;
}

.summary-panel {
  display: grid;
  align-content: start;
  gap: 10px;
}

.status-line {
  padding: 10px 12px;
  border-radius: 8px;
  color: #174431;
  background: #dff0e6;
  font-weight: 800;
}

.status-line.over {
  color: #69230f;
  background: #f6ddd4;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  max-width: min(360px, calc(100vw - 36px));
  padding: 12px 14px;
  border: 1px solid rgba(32, 37, 34, .12);
  border-radius: 8px;
  color: #17211c;
  background: #ffffff;
  box-shadow: var(--shadow);
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition: .18s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1180px) {
  .home-main {
    padding: 26px;
  }

  .map-layout,
  .loadout-layout {
    grid-template-columns: 1fr;
  }

  .map-stage {
    min-height: 520px;
  }

  .weapon-browser-head,
  .build-library-head,
  .loadout-library-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .weapon-tools,
  .build-tools {
    justify-content: flex-start;
    width: 100%;
  }

  .search-box {
    width: min(420px, 100%);
  }
}

#map-view.external-map-active .map-layout {
  grid-template-columns: minmax(420px, 1fr) 280px;
}

#map-view.external-map-active .filter-panel,
#map-view.external-map-active .map-controls {
  display: none;
}

@media (max-width: 760px) {
  .home-shell {
    padding: 16px;
  }

  .home-main {
    margin-top: 28px;
    padding: 18px;
  }

  .game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .game-cover {
    min-height: 260px;
    border-width: 10px;
    padding: 18px;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 12px;
  }

  .brand {
    display: none;
  }

  .nav-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .back-home-button {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 44px;
    text-align: center;
  }

  .back-home-button span {
    display: none;
  }

  .nav-item {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 58px;
    padding: 8px;
    text-align: center;
  }

  .sidebar-note {
    display: none;
  }

  .main {
    padding: 16px;
  }

  .topbar,
  .section-head,
  .panel-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-actions,
  .map-controls {
    display: flex;
    gap: 8px;
  }

  .weapon-browser,
  .build-library,
  .loadout-filter-panel,
  .loadout-library {
    padding: 16px;
  }

  .weapon-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .weapon-tools,
  .build-tools {
    display: grid;
    grid-template-columns: 1fr;
  }

  .compact-field,
  .sort-combo,
  .search-box,
  .primary-icon-button,
  .primary-button,
  .refresh-button,
  .order-toggle {
    width: 100%;
  }

  .build-filter-group {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .build-filter-label {
    padding-top: 0;
  }

  .loadout-filter-row,
  .loadout-filter-group,
  .loadout-range-field {
    align-items: stretch;
    width: 100%;
  }

  .loadout-filter-group,
  .loadout-range-field {
    flex-direction: column;
  }

  .loadout-range-field {
    gap: 7px;
  }

  .loadout-range-field em {
    display: none;
  }

  .mini-field {
    width: 100%;
  }

  .filter-chip {
    flex: 1 1 calc(50% - 4px);
  }

  .weapon-strip {
    padding-inline: 0;
  }

  .strip-arrow {
    display: none;
  }

  .build-grid,
  .loadout-card-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .build-card,
  .loadout-plan-card {
    padding: 16px;
  }

  .build-main,
  .loadout-plan-main {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .build-price,
  .loadout-cost,
  .loadout-battle {
    grid-column: 1 / -1;
    justify-items: start;
  }

  .build-foot,
  .loadout-card-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-button {
    width: 100%;
  }

  .build-detail-extra,
  .build-card.expanded .build-detail-extra,
  .loadout-detail-extra,
  .loadout-plan-card.expanded .loadout-detail-extra {
    grid-template-columns: repeat(2, 1fr);
  }

  .modal-grid {
    grid-template-columns: 1fr;
  }

  .map-stage {
    min-height: 420px;
  }

  #map-view.external-map-active .map-layout {
    grid-template-columns: 1fr;
  }
}

/* Beast of Reincarnation: compact public point card (name, description, image). */
.detail-shell[data-game-theme="beast"] #map-view .map-layout {
  grid-template-columns: 240px minmax(420px, 1fr) minmax(320px, 380px);
  align-items: start;
}

.detail-shell[data-game-theme="beast"] #map-detail {
  align-self: start;
  min-height: 0;
  padding: 24px;
  border-color: rgba(255, 255, 255, .08);
  border-radius: 18px;
  color: #f5f2ec;
  background: #242427;
  box-shadow: 0 24px 60px rgba(30, 18, 10, .30);
  backdrop-filter: none;
}

.detail-shell[data-game-theme="beast"] #map-detail h3 {
  margin: 0;
  color: #fffdfa;
  font-size: 24px;
  line-height: 1.28;
  letter-spacing: -.02em;
}

.detail-shell[data-game-theme="beast"] #map-detail .beast-detail-heading {
  align-items: center;
  gap: 13px;
}

.detail-shell[data-game-theme="beast"] #map-detail .beast-detail-icon {
  width: 42px;
  height: 42px;
  padding: 5px;
  border-color: rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: #151b18;
}

.detail-shell[data-game-theme="beast"] #map-detail .beast-point-completion {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-top: 6px;
  padding: 2px 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .05);
  font-size: 11px;
  font-weight: 800;
}

.detail-shell[data-game-theme="beast"] #map-detail .beast-point-completion[data-state="complete"] {
  border-color: rgba(111, 230, 172, .28);
  color: #8ef0bd;
  background: rgba(69, 180, 124, .12);
}

.detail-shell[data-game-theme="beast"] #map-detail .beast-point-completion[data-state="pending"] {
  color: rgba(255, 255, 255, .4);
}

.beast-point-detail {
  min-width: 0;
}

.detail-shell[data-game-theme="beast"] #map-detail .beast-point-description {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.beast-point-media {
  margin: 20px 0 0;
}

.beast-point-image,
.beast-point-image-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
}

.beast-point-image {
  border: 1px solid rgba(255, 255, 255, .08);
  object-fit: cover;
  background: #171719;
}

.beast-point-image-placeholder {
  display: grid;
  place-items: center;
  margin-top: 20px;
  padding: 18px;
  border: 1px dashed rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .38);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .035), transparent 58%),
    #1e1e21;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0;
  text-align: center;
}

button.beast-point-image-placeholder {
  cursor: pointer;
}

.beast-point-image-placeholder[data-state="loading"] {
  cursor: progress;
}

.beast-point-image-placeholder[data-state="error"] {
  border-style: solid;
  color: #ffb0a8;
}

.detail-shell[data-game-theme="beast"] .beast-point-management {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 18px;
}

.detail-shell[data-game-theme="beast"] .beast-point-management button,
.detail-shell[data-game-theme="beast"] .beast-point-delete-confirm button,
.detail-shell[data-game-theme="beast"] .beast-point-editor button {
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 9px;
  color: rgba(255, 255, 255, .86);
  background: rgba(255, 255, 255, .06);
  font-size: 12px;
  font-weight: 850;
}

.detail-shell[data-game-theme="beast"] button.danger {
  border-color: rgba(255, 117, 105, .32);
  color: #ffaaa1;
  background: rgba(186, 56, 45, .11);
}

.detail-shell[data-game-theme="beast"] .beast-point-delete-confirm {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 117, 105, .3);
  border-radius: 11px;
  background: rgba(120, 35, 29, .12);
}

.detail-shell[data-game-theme="beast"] .beast-point-delete-confirm strong {
  color: #fff3f1;
  font-size: 13px;
}

.detail-shell[data-game-theme="beast"] .beast-point-delete-confirm p {
  margin: 7px 0 10px;
  color: rgba(255, 255, 255, .58);
  font-size: 11px;
  line-height: 1.55;
}

.detail-shell[data-game-theme="beast"] .beast-point-delete-confirm label,
.detail-shell[data-game-theme="beast"] .beast-point-editor label {
  display: grid;
  gap: 6px;
  color: rgba(255, 255, 255, .76);
  font-size: 12px;
  font-weight: 800;
}

.detail-shell[data-game-theme="beast"] .beast-point-delete-confirm .text-field,
.detail-shell[data-game-theme="beast"] .beast-point-editor .text-field {
  min-height: 42px;
  border-color: rgba(255, 255, 255, .14);
  color: #fffdfa;
  background: #19191c;
}

.detail-shell[data-game-theme="beast"] .beast-point-delete-confirm > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.detail-shell[data-game-theme="beast"] .beast-point-editor-kicker {
  margin: 0 0 5px;
  color: #6fe6ac;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

.detail-shell[data-game-theme="beast"] .beast-point-editor > p:not(.beast-point-editor-kicker) {
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
  line-height: 1.65;
}

.detail-shell[data-game-theme="beast"] .beast-point-editor-position {
  margin: 9px 0 0;
}

.detail-shell[data-game-theme="beast"] .beast-point-editor form {
  display: grid;
  gap: 13px;
  margin-top: 16px;
}

.detail-shell[data-game-theme="beast"] .beast-point-editor textarea.text-field {
  min-height: 118px;
  padding: 10px 12px;
  line-height: 1.6;
  resize: vertical;
}

.detail-shell[data-game-theme="beast"] .beast-point-editor select.text-field {
  padding-right: 30px;
}

.detail-shell[data-game-theme="beast"] .beast-point-editor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.detail-shell[data-game-theme="beast"] .beast-point-editor-actions {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
}

.detail-shell[data-game-theme="beast"] .beast-point-editor-actions button[type="submit"] {
  border-color: #6fe6ac;
  color: #10251a;
  background: #6fe6ac;
}

.detail-shell[data-game-theme="beast"] .beast-point-editor button:disabled {
  cursor: wait;
  opacity: .62;
}

.detail-shell[data-game-theme="beast"] .beast-point-editor-status {
  min-height: 1.5em;
  margin: 0;
  color: rgba(255, 255, 255, .48);
  font-size: 11px;
}

.detail-shell[data-game-theme="beast"] .beast-point-editor-status[data-state="loading"] {
  color: #a9d9ff;
}

.detail-shell[data-game-theme="beast"] .beast-point-editor-status[data-state="error"] {
  color: #ff9c91;
}

.detail-shell[data-game-theme="beast"] .beast-point-placement button {
  width: 100%;
  margin-top: 12px;
}

.detail-shell[data-game-theme="beast"] .beast-custom-point-help {
  margin: 18px 0 0;
  padding: 11px 12px;
  border: 1px solid rgba(111, 230, 172, .18);
  border-radius: 10px;
  color: rgba(210, 250, 229, .72);
  background: rgba(69, 180, 124, .08);
  font-size: 11px;
  line-height: 1.6;
}

@media (max-width: 1180px) {
  .detail-shell[data-game-theme="beast"] #map-view .map-layout {
    grid-template-columns: 1fr;
  }

  .detail-shell[data-game-theme="beast"] #map-detail {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .detail-shell[data-game-theme="beast"] #map-detail {
    padding: 18px;
    border-radius: 14px;
  }

  .detail-shell[data-game-theme="beast"] #map-detail h3 {
    font-size: 21px;
  }

  .detail-shell[data-game-theme="beast"] .beast-point-editor-grid,
  .detail-shell[data-game-theme="beast"] .beast-point-editor-actions {
    grid-template-columns: 1fr;
  }

  #map-view.beast-map-active .map-stage.is-point-placing::after {
    width: calc(100% - 24px);
    border-radius: 10px;
    white-space: normal;
  }
}

.detail-shell[data-game-theme="beast"] .beast-contribution {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.detail-shell[data-game-theme="beast"] .beast-contribution-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.detail-shell[data-game-theme="beast"] .beast-contribution-kicker {
  margin: 0 0 4px;
  color: #6fe6ac;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.detail-shell[data-game-theme="beast"] .beast-contribution h4 {
  margin: 0;
  color: #fffdfa;
  font-size: 17px;
  line-height: 1.4;
}

.detail-shell[data-game-theme="beast"] .beast-contribution-revision {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid rgba(111, 230, 172, .22);
  border-radius: 999px;
  color: rgba(181, 247, 214, .88);
  background: rgba(69, 180, 124, .10);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.detail-shell[data-game-theme="beast"] .beast-contribution-help {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .55);
  font-size: 12px;
  line-height: 1.65;
}

.detail-shell[data-game-theme="beast"] .beast-contribution-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.detail-shell[data-game-theme="beast"] .beast-contribution-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  font-weight: 800;
}

.detail-shell[data-game-theme="beast"] .beast-contribution-form .text-field {
  min-height: 44px;
  border-color: rgba(255, 255, 255, .14);
  border-radius: 10px;
  color: #fffdfa;
  background: #19191c;
  font: inherit;
}

.detail-shell[data-game-theme="beast"] .beast-contribution-form textarea.text-field {
  min-height: 120px;
  padding: 11px 12px;
  line-height: 1.6;
  resize: vertical;
}

.detail-shell[data-game-theme="beast"] .beast-contribution-form .text-field::placeholder {
  color: rgba(255, 255, 255, .32);
}

.detail-shell[data-game-theme="beast"] .beast-contribution-form .text-field:focus {
  border-color: #6fe6ac;
  box-shadow: 0 0 0 3px rgba(111, 230, 172, .14);
}

.detail-shell[data-game-theme="beast"] .beast-contribution-location {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 9px;
  color: rgba(255, 255, 255, .58);
  background: rgba(255, 255, 255, .035);
  font-size: 11px;
}

.detail-shell[data-game-theme="beast"] .beast-contribution-location code {
  overflow: hidden;
  color: rgba(255, 255, 255, .38);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-shell[data-game-theme="beast"] .beast-point-editor-binding code {
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
  user-select: text;
}

.detail-shell[data-game-theme="beast"] .beast-contribution-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 9px;
}

.detail-shell[data-game-theme="beast"] .beast-contribution-submit,
.detail-shell[data-game-theme="beast"] .beast-contribution-export {
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.detail-shell[data-game-theme="beast"] .beast-contribution-submit {
  color: #10251a;
  background: #6fe6ac;
}

.detail-shell[data-game-theme="beast"] .beast-contribution-export {
  border-color: rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .055);
}

.detail-shell[data-game-theme="beast"] .beast-contribution-submit:hover,
.detail-shell[data-game-theme="beast"] .beast-contribution-export:hover {
  transform: translateY(-1px);
}

.detail-shell[data-game-theme="beast"] .beast-contribution-submit:focus-visible,
.detail-shell[data-game-theme="beast"] .beast-contribution-export:focus-visible {
  outline: 3px solid rgba(111, 230, 172, .34);
  outline-offset: 2px;
}

.detail-shell[data-game-theme="beast"] .beast-contribution-submit:disabled {
  cursor: wait;
  opacity: .6;
  transform: none;
}

.detail-shell[data-game-theme="beast"] .beast-submission-status {
  min-height: 1.5em;
  margin: 0;
  color: rgba(255, 255, 255, .46);
  font-size: 11px;
  line-height: 1.5;
}

.detail-shell[data-game-theme="beast"] .beast-submission-status[data-state="loading"] {
  color: #a9d9ff;
}

.detail-shell[data-game-theme="beast"] .beast-submission-status[data-state="success"] {
  color: #8ef0bd;
}

.detail-shell[data-game-theme="beast"] .beast-submission-status[data-state="queued"] {
  color: #ffd584;
}

.detail-shell[data-game-theme="beast"] .beast-submission-status[data-state="error"] {
  color: #ff9c91;
}

@media (max-width: 760px) {
  .detail-shell[data-game-theme="beast"] .beast-contribution-actions {
    grid-template-columns: 1fr;
  }

  .detail-shell[data-game-theme="beast"] .beast-contribution-submit,
  .detail-shell[data-game-theme="beast"] .beast-contribution-export {
    width: 100%;
  }
}

/* Map information wrapper keeps the original three-column tools working. */
.map-information-panel {
  display: contents;
}

.map-layout > .map-information-panel > .filter-panel {
  grid-column: 1;
  grid-row: 1;
}

.map-layout > .map-stage {
  grid-column: 2;
  grid-row: 1;
}

.map-layout > .map-information-panel > .detail-panel {
  grid-column: 3;
  grid-row: 1;
}

.beast-map-rail-tools {
  display: none;
}

.beast-mobile-sheet-bar {
  display: none;
}

#map-view.external-map-active .map-layout > .map-stage {
  grid-column: 1;
}

#map-view.external-map-active .map-layout > .map-information-panel > .detail-panel {
  grid-column: 2;
}

@media (max-width: 1180px) {
  .map-layout > .map-information-panel > .filter-panel {
    grid-column: 1;
    grid-row: 1;
  }

  .map-layout > .map-stage {
    grid-column: 1;
    grid-row: 2;
  }

  .map-layout > .map-information-panel > .detail-panel {
    grid-column: 1;
    grid-row: 3;
  }

  #map-view.external-map-active .map-layout > .map-stage {
    grid-column: 1;
    grid-row: 1;
  }

  #map-view.external-map-active .map-layout > .map-information-panel > .detail-panel {
    grid-column: 1;
    grid-row: 2;
  }
}

/* Beast map: immersive full-screen workspace inspired by modern map apps. */
html[data-embed-mode="beast"],
html[data-embed-mode="beast"] body {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  overscroll-behavior: none;
}

html[data-embed-mode="beast"] .home-shell,
html[data-embed-mode="beast"] .detail-shell[data-game-theme="beast"] .back-home-button {
  display: none !important;
}

body:has(.detail-shell[data-game-theme="beast"]:not([hidden])) {
  overflow: hidden;
}

.detail-shell[data-game-theme="beast"] {
  grid-template-columns: 72px minmax(0, 1fr);
  width: 100%;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
}

.detail-shell[data-game-theme="beast"] .sidebar {
  position: relative;
  z-index: 60;
  align-items: center;
  gap: 10px;
  min-width: 0;
  height: 100dvh;
  padding: 12px 8px;
  overflow: hidden;
  color: #4f3420;
  background: rgba(255, 251, 239, .97);
  border-right: 1px solid rgba(105, 72, 38, .18);
  box-shadow: 8px 0 28px rgba(58, 38, 18, .13);
}

.detail-shell[data-game-theme="beast"] .brand > div,
.detail-shell[data-game-theme="beast"] .nav-list {
  display: none;
}

.detail-shell[data-game-theme="beast"] .brand {
  justify-content: center;
  width: 100%;
}

.detail-shell[data-game-theme="beast"] .brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(105, 66, 27, .18);
}

.detail-shell[data-game-theme="beast"] .back-home-button {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  width: 52px;
  min-height: 46px;
  padding: 0;
  color: #59402c;
  border-color: transparent;
  border-radius: 12px;
  background: transparent;
  text-align: center;
}

.detail-shell[data-game-theme="beast"] .back-home-button span {
  font-size: 23px;
}

.detail-shell[data-game-theme="beast"] .back-home-button b {
  display: none;
}

.detail-shell[data-game-theme="beast"] .beast-map-rail-tools {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding-top: 8px;
  border-top: 1px solid rgba(105, 72, 38, .12);
}

.detail-shell[data-game-theme="beast"] .beast-map-rail-tools button {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  width: 56px;
  min-height: 58px;
  padding: 6px 2px;
  border: 0;
  border-radius: 13px;
  color: #6f5843;
  background: transparent;
  transition: color .16s ease, background .16s ease, transform .16s ease;
}

.detail-shell[data-game-theme="beast"] .beast-map-rail-tools button:hover,
.detail-shell[data-game-theme="beast"] .beast-map-rail-tools button:focus-visible {
  color: #4d321c;
  background: #f1e2c4;
  transform: translateY(-1px);
  outline: none;
}

.detail-shell[data-game-theme="beast"] .beast-map-rail-tools span {
  font-size: 22px;
  line-height: 1;
}

.detail-shell[data-game-theme="beast"] .beast-map-rail-tools b {
  font-size: 10px;
  font-weight: 800;
}

.detail-shell[data-game-theme="beast"] .main {
  width: 100%;
  height: 100dvh;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  background: #171107;
}

.detail-shell[data-game-theme="beast"] .main::before,
.detail-shell[data-game-theme="beast"] .topbar {
  display: none;
}

.detail-shell[data-game-theme="beast"] #map-view {
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
}

.detail-shell[data-game-theme="beast"] #map-view .section-head {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 35;
  width: 390px;
  min-height: 100px;
  padding: 18px 20px;
  color: #2b1c11;
  background: rgba(255, 251, 239, .985);
  border-bottom: 1px solid rgba(105, 72, 38, .15);
  box-shadow: 10px 8px 28px rgba(58, 38, 18, .10);
  backdrop-filter: blur(14px);
}

.detail-shell[data-game-theme="beast"] #map-view .section-head h2 {
  margin-bottom: 5px;
  font-size: 23px;
}

.detail-shell[data-game-theme="beast"] #map-view .section-head p {
  max-width: 330px;
  font-size: 12px;
  line-height: 1.55;
}

.detail-shell[data-game-theme="beast"] #map-view .map-controls {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 65;
  gap: 8px;
}

.detail-shell[data-game-theme="beast"] #map-view .map-controls .icon-button {
  width: 42px;
  min-width: 42px;
  height: 42px;
  color: #30271e;
}

.detail-shell[data-game-theme="beast"] #map-view .map-controls .icon-button:hover {
  background: #f0ece4;
}

.detail-shell[data-game-theme="beast"] #map-view .map-reset-control,
.detail-shell[data-game-theme="beast"] #map-view .map-zoom-stack,
.detail-shell[data-game-theme="beast"] #map-view .map-zoom-label {
  border-color: rgba(60, 52, 42, .16);
  color: #30271e;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 28px rgba(22, 19, 15, .20);
}

.detail-shell[data-game-theme="beast"] #map-view .map-zoom-stack .icon-button {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.detail-shell[data-game-theme="beast"] #map-view .map-layout {
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  grid-template-rows: 100dvh;
  align-items: stretch;
  gap: 0;
  width: 100%;
  height: 100dvh;
  min-height: 0;
  margin: 0;
}

.detail-shell[data-game-theme="beast"] #map-view .map-information-panel {
  position: relative;
  z-index: 25;
  display: block;
  grid-column: 1;
  grid-row: 1;
  height: 100dvh;
  padding-top: 100px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  color: #2b1c11;
  background: rgba(255, 251, 239, .98);
  border-right: 1px solid rgba(105, 72, 38, .16);
  box-shadow: 12px 0 34px rgba(58, 38, 18, .13);
}

.detail-shell[data-game-theme="beast"] #map-view .map-information-panel::-webkit-scrollbar {
  width: 8px;
}

.detail-shell[data-game-theme="beast"] #map-view .map-information-panel::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(105, 72, 38, .25);
  background-clip: padding-box;
}

.detail-shell[data-game-theme="beast"] #map-view .filter-panel,
.detail-shell[data-game-theme="beast"] #map-detail {
  width: 100%;
  min-height: 0;
  padding: 20px;
  border: 0;
  border-radius: 0;
  color: #2b1c11;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.detail-shell[data-game-theme="beast"] #map-view .filter-panel {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(105, 72, 38, .13);
}

.detail-shell[data-game-theme="beast"] #map-view .filter-group {
  gap: 6px;
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.detail-shell[data-game-theme="beast"] #map-view .filter-heading {
  margin: 14px 0 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(105, 72, 38, .12);
  color: #7a6753;
  font-size: 13px;
  letter-spacing: .04em;
}

.detail-shell[data-game-theme="beast"] #map-view .beast-filter-toolbar + .filter-heading {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 0;
}

.detail-shell[data-game-theme="beast"] #map-view .check-row {
  min-height: 38px;
  padding: 3px 6px;
  border-radius: 8px;
  color: #443629;
  cursor: pointer;
}

.detail-shell[data-game-theme="beast"] #map-view .check-row:hover {
  background: rgba(47, 122, 95, .06);
}

.detail-shell[data-game-theme="beast"] #map-view .check-row input {
  width: 18px;
  height: 18px;
}

.detail-shell[data-game-theme="beast"] #map-view .check-row .check-count {
  color: #877867;
  font-variant-numeric: tabular-nums;
}

.detail-shell[data-game-theme="beast"] #map-view .compact-stats div {
  border-color: rgba(105, 72, 38, .13);
  background: #f6ecd8;
}

.detail-shell[data-game-theme="beast"] #map-view .map-stage {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 100dvh;
  min-height: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* Light point details inside the left information panel. */
.detail-shell[data-game-theme="beast"] #map-detail {
  align-self: auto;
}

.detail-shell[data-game-theme="beast"] #map-detail h3,
.detail-shell[data-game-theme="beast"] .beast-contribution h4,
.detail-shell[data-game-theme="beast"] .beast-point-delete-confirm strong {
  color: #25180f;
}

.detail-shell[data-game-theme="beast"] #map-detail .beast-detail-icon {
  border-color: rgba(105, 72, 38, .14);
  background: #eee2c8;
}

.detail-shell[data-game-theme="beast"] #map-detail .beast-point-completion {
  border-color: rgba(105, 72, 38, .15);
  color: #786650;
  background: #f4ead7;
}

.detail-shell[data-game-theme="beast"] #map-detail .beast-point-completion[data-state="complete"] {
  border-color: rgba(47, 122, 95, .28);
  color: #246b50;
  background: rgba(47, 122, 95, .09);
}

.detail-shell[data-game-theme="beast"] #map-detail .beast-point-completion[data-state="pending"],
.detail-shell[data-game-theme="beast"] #map-detail .beast-point-description,
.detail-shell[data-game-theme="beast"] .beast-point-editor > p:not(.beast-point-editor-kicker),
.detail-shell[data-game-theme="beast"] .beast-contribution-help {
  color: #75624e;
}

.detail-shell[data-game-theme="beast"] .beast-point-image {
  border-color: rgba(105, 72, 38, .14);
  background: #eee5d5;
}

.detail-shell[data-game-theme="beast"] .beast-point-image-placeholder {
  border-color: rgba(105, 72, 38, .22);
  color: #95846f;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .42), transparent 58%),
    #f3ead9;
}

.detail-shell[data-game-theme="beast"] .beast-point-image-placeholder[data-state="error"] {
  border-color: rgba(166, 66, 47, .34);
  color: #9f3f2e;
}

.detail-shell[data-game-theme="beast"] .beast-point-management button,
.detail-shell[data-game-theme="beast"] .beast-point-delete-confirm button,
.detail-shell[data-game-theme="beast"] .beast-point-editor button,
.detail-shell[data-game-theme="beast"] .beast-contribution-export {
  border-color: rgba(105, 72, 38, .20);
  color: #4f3a28;
  background: #fffaf0;
}

.detail-shell[data-game-theme="beast"] button.danger {
  border-color: rgba(176, 70, 57, .30);
  color: #ad453d;
  background: rgba(176, 70, 57, .07);
}

.detail-shell[data-game-theme="beast"] .beast-point-delete-confirm {
  border-color: rgba(176, 70, 57, .22);
  background: rgba(176, 70, 57, .055);
}

.detail-shell[data-game-theme="beast"] .beast-point-delete-confirm p {
  color: #7e6655;
}

.detail-shell[data-game-theme="beast"] .beast-point-delete-confirm label,
.detail-shell[data-game-theme="beast"] .beast-point-editor label,
.detail-shell[data-game-theme="beast"] .beast-contribution-form label {
  color: #5f4937;
}

.detail-shell[data-game-theme="beast"] .beast-point-delete-confirm .text-field,
.detail-shell[data-game-theme="beast"] .beast-point-editor .text-field,
.detail-shell[data-game-theme="beast"] .beast-contribution-form .text-field {
  border-color: rgba(105, 72, 38, .22);
  color: #25180f;
  background: #fffdf7;
}

.detail-shell[data-game-theme="beast"] .beast-contribution-form .text-field::placeholder {
  color: #a3917d;
}

.detail-shell[data-game-theme="beast"] .beast-point-editor-kicker,
.detail-shell[data-game-theme="beast"] .beast-contribution-kicker {
  color: #2f7a5f;
}

.detail-shell[data-game-theme="beast"] .beast-point-editor-actions button[type="submit"],
.detail-shell[data-game-theme="beast"] .beast-contribution-submit {
  border-color: #2f7a5f;
  color: #fff;
  background: #2f7a5f;
}

.detail-shell[data-game-theme="beast"] .beast-point-editor-status,
.detail-shell[data-game-theme="beast"] .beast-submission-status {
  color: #806e5b;
}

.detail-shell[data-game-theme="beast"] .beast-point-editor-status[data-state="loading"],
.detail-shell[data-game-theme="beast"] .beast-submission-status[data-state="loading"] {
  color: #476a88;
}

.detail-shell[data-game-theme="beast"] .beast-point-editor-status[data-state="error"],
.detail-shell[data-game-theme="beast"] .beast-submission-status[data-state="error"] {
  color: #ad453d;
}

.detail-shell[data-game-theme="beast"] .beast-submission-status[data-state="success"] {
  color: #28734f;
}

.detail-shell[data-game-theme="beast"] .beast-submission-status[data-state="queued"] {
  color: #9b6a20;
}

.detail-shell[data-game-theme="beast"] .beast-custom-point-help,
.detail-shell[data-game-theme="beast"] .beast-contribution-location {
  border-color: rgba(47, 122, 95, .17);
  color: #5b715f;
  background: rgba(47, 122, 95, .055);
}

.detail-shell[data-game-theme="beast"] .beast-contribution {
  border-top-color: rgba(105, 72, 38, .15);
}

.detail-shell[data-game-theme="beast"] .beast-contribution-revision {
  border-color: rgba(47, 122, 95, .24);
  color: #28734f;
  background: rgba(47, 122, 95, .08);
}

.detail-shell[data-game-theme="beast"] .beast-contribution-location code {
  color: #87745f;
}

@media (max-width: 900px) {
  html[data-embed-mode="beast"] .detail-shell[data-game-theme="beast"] .beast-map-rail-tools {
    padding-left: 0;
    border-left: 0;
  }

  .detail-shell[data-game-theme="beast"] {
    display: block;
    width: 100%;
    height: 100dvh;
  }

  .detail-shell[data-game-theme="beast"] .sidebar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 80;
    display: flex;
    flex-direction: row;
    width: 100%;
    height: calc(62px + env(safe-area-inset-bottom));
    padding: 4px 8px max(4px, env(safe-area-inset-bottom));
    border-top: 1px solid rgba(105, 72, 38, .16);
    border-right: 0;
    box-shadow: 0 -8px 26px rgba(58, 38, 18, .16);
  }

  .detail-shell[data-game-theme="beast"] .brand {
    display: none;
  }

  .detail-shell[data-game-theme="beast"] .back-home-button {
    flex: 0 0 48px;
    width: 48px;
    min-height: 48px;
  }

  .detail-shell[data-game-theme="beast"] .beast-map-rail-tools {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    flex: 1 1 auto;
    gap: 3px;
    width: auto;
    padding: 0 0 0 5px;
    border-top: 0;
    border-left: 1px solid rgba(105, 72, 38, .12);
  }

  .detail-shell[data-game-theme="beast"] .beast-map-rail-tools button {
    width: 100%;
    min-height: 48px;
  }

  .detail-shell[data-game-theme="beast"] .beast-map-rail-tools button.active {
    color: #2f7158;
    background: rgba(47, 122, 95, .10);
  }

  .detail-shell[data-game-theme="beast"] .main,
  .detail-shell[data-game-theme="beast"] #map-view,
  .detail-shell[data-game-theme="beast"] #map-view .map-layout,
  .detail-shell[data-game-theme="beast"] #map-view .map-stage {
    width: 100%;
    height: 100dvh;
  }

  .detail-shell[data-game-theme="beast"] #map-view .section-head {
    top: max(8px, env(safe-area-inset-top));
    left: 8px;
    width: auto;
    max-width: min(48vw, 190px);
    min-height: 0;
    padding: 8px 11px;
    border: 1px solid rgba(105, 72, 38, .14);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(58, 38, 18, .14);
  }

  .detail-shell[data-game-theme="beast"] #map-view .section-head h2 {
    overflow: hidden;
    margin: 0;
    font-size: 14px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .detail-shell[data-game-theme="beast"] #map-view .section-head p {
    display: none;
  }

  .detail-shell[data-game-theme="beast"] #map-view .map-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 100dvh;
  }

  .detail-shell[data-game-theme="beast"] #map-view .map-stage {
    grid-column: 1;
    grid-row: 1;
  }

  .detail-shell[data-game-theme="beast"] #map-view .map-information-panel {
    position: absolute;
    inset: auto 8px calc(70px + env(safe-area-inset-bottom)) 8px;
    z-index: 45;
    display: block;
    width: auto;
    height: min(52dvh, 460px);
    padding-top: 0;
    overflow-y: auto;
    border: 1px solid rgba(105, 72, 38, .16);
    border-radius: 18px;
    box-shadow: 0 18px 46px rgba(32, 22, 12, .28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(calc(100% + 20px));
    transition:
      transform .22s cubic-bezier(.22, .8, .3, 1),
      opacity .16s ease,
      visibility 0s linear .22s;
  }

  .detail-shell[data-game-theme="beast"] #map-view .map-information-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .detail-shell[data-game-theme="beast"] #map-view .map-information-panel[data-mobile-panel="detail"] {
    height: min(32dvh, 290px);
  }

  .detail-shell[data-game-theme="beast"] #map-view .map-information-panel[data-mobile-target="map-search"] {
    height: min(150px, 24dvh);
  }

  .detail-shell[data-game-theme="beast"] #map-view .map-information-panel[data-mobile-target="map-zone-select"] {
    height: min(190px, 30dvh);
  }

  .detail-shell[data-game-theme="beast"] #map-view .map-information-panel[data-mobile-target="map-search"] .map-zone-control,
  .detail-shell[data-game-theme="beast"] #map-view .map-information-panel[data-mobile-target="map-search"] .filter-group,
  .detail-shell[data-game-theme="beast"] #map-view .map-information-panel[data-mobile-target="map-search"] .compact-stats,
  .detail-shell[data-game-theme="beast"] #map-view .map-information-panel[data-mobile-target="map-zone-select"] > .filter-panel > .field-label[for="map-search"],
  .detail-shell[data-game-theme="beast"] #map-view .map-information-panel[data-mobile-target="map-zone-select"] #map-search,
  .detail-shell[data-game-theme="beast"] #map-view .map-information-panel[data-mobile-target="map-zone-select"] .filter-group,
  .detail-shell[data-game-theme="beast"] #map-view .map-information-panel[data-mobile-target="map-zone-select"] .compact-stats,
  .detail-shell[data-game-theme="beast"] #map-view .map-information-panel[data-mobile-target="map-filter-group"] .map-zone-control,
  .detail-shell[data-game-theme="beast"] #map-view .map-information-panel[data-mobile-target="map-filter-group"] > .filter-panel > .field-label[for="map-search"],
  .detail-shell[data-game-theme="beast"] #map-view .map-information-panel[data-mobile-target="map-filter-group"] #map-search {
    display: none;
  }

  .detail-shell[data-game-theme="beast"] #map-view .map-information-panel[data-mobile-target="map-zone-select"] .beast-add-point-button {
    display: none;
  }

  .detail-shell[data-game-theme="beast"] #map-view .map-information-panel[data-mobile-panel="filters"] #map-detail,
  .detail-shell[data-game-theme="beast"] #map-view .map-information-panel[data-mobile-panel="detail"] > .filter-panel {
    display: none;
  }

  .detail-shell[data-game-theme="beast"] #map-view .beast-mobile-sheet-bar {
    position: sticky;
    top: 0;
    z-index: 8;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    align-items: center;
    min-height: 44px;
    padding: 4px 8px;
    color: #4b3828;
    background: rgba(255, 251, 239, .985);
    border-bottom: 1px solid rgba(105, 72, 38, .12);
    backdrop-filter: blur(12px);
  }

  .detail-shell[data-game-theme="beast"] #map-view .beast-mobile-sheet-grabber {
    justify-self: center;
    width: 28px;
    height: 4px;
    border-radius: 999px;
    background: rgba(87, 67, 48, .28);
  }

  .detail-shell[data-game-theme="beast"] #map-view .beast-mobile-sheet-bar strong {
    overflow: hidden;
    font-size: 13px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .detail-shell[data-game-theme="beast"] #map-view .beast-mobile-sheet-close {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #5e4835;
    background: rgba(105, 72, 38, .07);
    font-size: 24px;
    line-height: 1;
  }

  .detail-shell[data-game-theme="beast"] #map-view .map-information-panel:has(.beast-point-editor:not(.beast-point-placement)),
  .detail-shell[data-game-theme="beast"] #map-view .map-information-panel:has(.beast-point-delete-confirm) {
    height: calc(100dvh - 82px - env(safe-area-inset-bottom));
  }

  .detail-shell[data-game-theme="beast"] #map-view .map-information-panel:has(.beast-point-placement) {
    height: 180px;
  }

  .detail-shell[data-game-theme="beast"] #map-view .filter-panel,
  .detail-shell[data-game-theme="beast"] #map-detail {
    padding: 14px 16px 20px;
  }

  .detail-shell[data-game-theme="beast"] #map-view .beast-player-status {
    top: max(8px, env(safe-area-inset-top));
    right: 8px;
    max-width: min(48vw, 190px);
    min-height: 34px;
    padding: 7px 10px;
  }

  .detail-shell[data-game-theme="beast"] #map-view .beast-player-status span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .detail-shell[data-game-theme="beast"] #map-view .map-controls {
    right: 10px;
    bottom: calc(72px + env(safe-area-inset-bottom));
    transition: bottom .22s cubic-bezier(.22, .8, .3, 1);
  }

  .detail-shell[data-game-theme="beast"] #map-view:has(.map-information-panel.is-open[data-mobile-panel="filters"]) .map-controls {
    bottom: calc(min(52dvh, 460px) + 80px + env(safe-area-inset-bottom));
  }

  .detail-shell[data-game-theme="beast"] #map-view:has(.map-information-panel.is-open[data-mobile-panel="detail"]) .map-controls {
    bottom: calc(min(32dvh, 290px) + 80px + env(safe-area-inset-bottom));
  }

  .detail-shell[data-game-theme="beast"] #map-view:has(.map-information-panel.is-open[data-mobile-target="map-search"]) .map-controls {
    bottom: calc(min(150px, 24dvh) + 80px + env(safe-area-inset-bottom));
  }

  .detail-shell[data-game-theme="beast"] #map-view:has(.map-information-panel.is-open[data-mobile-target="map-zone-select"]) .map-controls {
    bottom: calc(min(190px, 30dvh) + 80px + env(safe-area-inset-bottom));
  }

  .detail-shell[data-game-theme="beast"] #map-view:has(.map-information-panel.is-open .beast-point-editor:not(.beast-point-placement)) .map-controls,
  .detail-shell[data-game-theme="beast"] #map-view:has(.map-information-panel.is-open .beast-point-delete-confirm) .map-controls {
    opacity: 0;
    pointer-events: none;
  }

  .detail-shell[data-game-theme="beast"] #map-view .map-controls .icon-button {
    width: 38px;
    min-width: 38px;
    height: 38px;
  }

  .detail-shell[data-game-theme="beast"] #map-view .map-zoom-label {
    min-width: 48px;
    min-height: 28px;
    display: none;
  }

  #map-view.beast-map-active .map-stage.is-point-placing::after {
    top: 54px;
    bottom: auto;
    max-width: calc(100% - 24px);
  }
}

@media (max-width: 520px) {
  .detail-shell[data-game-theme="beast"] #map-view .map-information-panel {
    height: min(54dvh, 470px);
  }

  .detail-shell[data-game-theme="beast"] #map-view .map-information-panel[data-mobile-panel="detail"] {
    height: min(32dvh, 290px);
  }

  .detail-shell[data-game-theme="beast"] #map-view:has(.map-information-panel.is-open[data-mobile-panel="filters"]) .map-controls {
    bottom: calc(min(54dvh, 470px) + 80px + env(safe-area-inset-bottom));
  }

  .detail-shell[data-game-theme="beast"] #map-view:has(.map-information-panel.is-open[data-mobile-panel="detail"]) .map-controls {
    bottom: calc(min(32dvh, 290px) + 80px + env(safe-area-inset-bottom));
  }

  .detail-shell[data-game-theme="beast"] #map-view:has(.map-information-panel.is-open[data-mobile-target="map-search"]) .map-controls {
    bottom: calc(min(150px, 24dvh) + 80px + env(safe-area-inset-bottom));
  }

  .detail-shell[data-game-theme="beast"] #map-view:has(.map-information-panel.is-open[data-mobile-target="map-zone-select"]) .map-controls {
    bottom: calc(min(190px, 30dvh) + 80px + env(safe-area-inset-bottom));
  }

  .detail-shell[data-game-theme="beast"] .beast-point-management,
  .detail-shell[data-game-theme="beast"] .beast-point-editor-grid,
  .detail-shell[data-game-theme="beast"] .beast-point-editor-actions,
  .detail-shell[data-game-theme="beast"] .beast-contribution-actions {
    grid-template-columns: 1fr;
  }
}

/* Desktop Beast map: filters and point details stay visible in parallel columns. */
@media (min-width: 1101px) {
  .detail-shell[data-game-theme="beast"] #map-view {
    --beast-filter-column: clamp(300px, 19vw, 360px);
    --beast-detail-column: clamp(340px, 22vw, 410px);
  }

  .detail-shell[data-game-theme="beast"] #map-view .section-head {
    width: calc(var(--beast-filter-column) + var(--beast-detail-column));
  }

  .detail-shell[data-game-theme="beast"] #map-view .map-layout {
    grid-template-columns:
      var(--beast-filter-column)
      var(--beast-detail-column)
      minmax(0, 1fr);
  }

  .detail-shell[data-game-theme="beast"] #map-view .map-information-panel {
    position: static;
    display: contents;
    height: auto;
    padding: 0;
    overflow: visible;
    color: inherit;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .detail-shell[data-game-theme="beast"] #map-view .filter-panel,
  .detail-shell[data-game-theme="beast"] #map-detail {
    grid-row: 1;
    width: 100%;
    height: 100dvh;
    padding-top: 120px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    background: rgba(255, 251, 239, .985);
  }

  .detail-shell[data-game-theme="beast"] #map-view .filter-panel {
    grid-column: 1;
    padding-right: 18px;
    padding-left: 20px;
    border-right: 1px solid rgba(105, 72, 38, .13);
    border-bottom: 0;
  }

  .detail-shell[data-game-theme="beast"] #map-detail {
    grid-column: 2;
    padding-right: 20px;
    padding-left: 20px;
    border-right: 1px solid rgba(105, 72, 38, .16);
    box-shadow: 12px 0 34px rgba(58, 38, 18, .13);
  }

  .detail-shell[data-game-theme="beast"] #map-view .map-stage {
    grid-column: 3;
  }

  .detail-shell[data-game-theme="beast"] #map-view .filter-panel,
  .detail-shell[data-game-theme="beast"] #map-detail {
    scrollbar-width: thin;
    scrollbar-color: rgba(105, 72, 38, .26) transparent;
  }

  .detail-shell[data-game-theme="beast"] #map-view .filter-panel::-webkit-scrollbar,
  .detail-shell[data-game-theme="beast"] #map-detail::-webkit-scrollbar {
    width: 8px;
  }

  .detail-shell[data-game-theme="beast"] #map-view .filter-panel::-webkit-scrollbar-thumb,
  .detail-shell[data-game-theme="beast"] #map-detail::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background: rgba(105, 72, 38, .26);
    background-clip: padding-box;
  }
}

/* Beast point drawer: a single Google Maps-style panel over the full map. */
.detail-shell[data-game-theme="beast"] #map-detail .beast-point-detail > [data-beast-point-media] {
  margin-top: 0;
}

.detail-shell[data-game-theme="beast"] #map-detail .beast-detail-heading {
  margin-top: 18px;
}

.detail-shell[data-game-theme="beast"] #map-detail .beast-point-editor {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(105, 72, 38, .15);
}

@media (min-width: 521px) {
  .detail-shell[data-game-theme="beast"] .beast-point-management {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 901px) {
  .detail-shell[data-game-theme="beast"] #map-view .section-head {
    display: none;
  }

  .detail-shell[data-game-theme="beast"] #map-view .map-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 100dvh;
    width: 100%;
    height: 100dvh;
  }

  .detail-shell[data-game-theme="beast"] #map-view .map-stage {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100dvh;
  }

  .detail-shell[data-game-theme="beast"] #map-view .map-information-panel {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 55;
    display: block;
    width: min(420px, calc(100vw - 96px));
    height: 100dvh;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    color: #2b1c11;
    background: rgba(255, 251, 239, .985);
    border: 0;
    border-right: 1px solid rgba(105, 72, 38, .16);
    box-shadow: 14px 0 38px rgba(45, 29, 14, .20);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(calc(-100% - 18px));
    transition:
      transform .24s cubic-bezier(.22, .8, .3, 1),
      opacity .16s ease,
      visibility 0s linear .24s;
  }

  .detail-shell[data-game-theme="beast"] #map-view .map-information-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    transition-delay: 0s;
  }

  .detail-shell[data-game-theme="beast"] #map-view .beast-mobile-sheet-bar {
    position: sticky;
    top: 0;
    z-index: 12;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38px;
    align-items: center;
    min-height: 54px;
    padding: 7px 10px 7px 18px;
    color: #4b3828;
    background: rgba(255, 251, 239, .985);
    border-bottom: 1px solid rgba(105, 72, 38, .13);
    backdrop-filter: blur(12px);
  }

  .detail-shell[data-game-theme="beast"] #map-view .beast-mobile-sheet-grabber {
    display: none;
  }

  .detail-shell[data-game-theme="beast"] #map-view .beast-mobile-sheet-bar strong {
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .detail-shell[data-game-theme="beast"] #map-view .beast-mobile-sheet-close {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #5e4835;
    background: rgba(105, 72, 38, .08);
    font-size: 23px;
    line-height: 1;
  }

  .detail-shell[data-game-theme="beast"] #map-view .filter-panel,
  .detail-shell[data-game-theme="beast"] #map-detail {
    display: block;
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 20px;
    overflow: visible;
    color: #2b1c11;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    scrollbar-gutter: auto;
  }

  .detail-shell[data-game-theme="beast"] #map-detail[hidden] {
    display: none;
  }

  .detail-shell[data-game-theme="beast"] #map-view .filter-panel {
    padding-top: 22px;
    padding-bottom: 28px;
    border-top: 1px solid rgba(105, 72, 38, .14);
    border-right: 0;
    border-bottom: 0;
  }

  .detail-shell[data-game-theme="beast"] #map-detail {
    padding-bottom: 24px;
    border-right: 0;
  }

  .detail-shell[data-game-theme="beast"] #map-detail .beast-point-image,
  .detail-shell[data-game-theme="beast"] #map-detail .beast-point-image-placeholder {
    border-radius: 10px;
  }

  .detail-shell[data-game-theme="beast"] #map-detail .beast-detail-heading h3 {
    font-size: 26px;
    line-height: 1.18;
  }

  .detail-shell[data-game-theme="beast"] #map-detail .beast-point-description {
    margin-top: 12px;
    color: #75624e;
    font-size: 14px;
    line-height: 1.7;
  }

  .detail-shell[data-game-theme="beast"] #map-detail .beast-point-management {
    gap: 8px;
    margin-top: 18px;
  }

  .detail-shell[data-game-theme="beast"] #map-detail .beast-point-management button {
    min-width: 0;
    padding-right: 6px;
    padding-left: 6px;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .detail-shell[data-game-theme="beast"] #map-view .map-information-panel {
    transition: none;
  }
}
