:root {
  color-scheme: dark;
  --bg: #030506;
  --panel: #0c1116;
  --panel-2: #090e13;
  --line: #26313a;
  --text: #f2f6f5;
  --muted: #afbbb9;
  --soft: #78898d;
  --mint: #4bc7b1;
  --amber: #e5bb5a;
  --coral: #ef6b68;
  --sky: #68b9ee;
  --green: #78ca78;
  --shadow: rgba(0, 0, 0, 0.28);
  --sign-0: #f3f6ef;
  --sign-0-text: #15211f;
  --sign-0-border: #d7e1dc;
  --sign-1: #68b9ee;
  --sign-1-text: #061723;
  --sign-1-border: #c8e9ff;
  --sign-2: #f8d24a;
  --sign-2-text: #362a00;
  --sign-2-border: #ffe99a;
  --sign-3: #35c987;
  --sign-3-text: #052113;
  --sign-3-border: #a5f1ca;
  --sign-4: #ef6268;
  --sign-4-text: #fff2f2;
  --sign-4-border: #ffc4c6;
  --sign-5: #b891ff;
  --sign-5-text: #fff8ff;
  --sign-5-border: #ffffff;
  --sign-rainbow: conic-gradient(from 30deg, #ef6268, #f8d24a, #35c987, #68b9ee, #b891ff, #ef6268);
  --rank-gold: #f0c96a;
  --rank-silver: #d7dde2;
  --rank-green: #35c987;
  --rank-white: #f7faf6;
  --rank-gray: #8a9498;
  --rank-rainbow: conic-gradient(from 22deg, #ff4f86, #f6c74f, #48dd7c, #46c6ff, #a75cff, #ff4f86);
  --tap-ring: rgba(75, 199, 177, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% -8%, rgba(255, 196, 84, 0.08), transparent 30%),
    radial-gradient(circle at 18% 0%, rgba(121, 69, 255, 0.08), transparent 34%),
    var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.64;
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

main {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.map-section {
  order: 1;
}

.decision-flow-section {
  order: 2;
}

.controls-section {
  order: 3;
}

.cards-section {
  order: 4;
}

.notice-band {
  order: 5;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

button,
.primary-cta,
.secondary-cta,
.badge,
.tag,
.caution,
.count-chip,
.major-badge,
.attribute-badge,
.hadkan-badge,
.store-card,
.selected-mini-card,
.selected-panel,
.mobile-map-selection-sheet,
.radar-panel,
.map-control-deck,
.date-tabs-panel,
.map-mode-panel,
.recent-stores-panel,
.compare-tray,
.decision-flow-panel,
.filter-chip,
.date-tab,
.display-mode-button,
.reference-button,
.use-case-button,
.area-tab {
  border-radius: 6px;
}

.map-pin {
  border-radius: 50% 50% 50% 0;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 7px 14px;
  background: rgba(13, 16, 20, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(57, 215, 182, 0.6);
  color: var(--mint);
  background: #111a1c;
  font-weight: 800;
}

.brand-text {
  font-weight: 800;
  white-space: nowrap;
}

.beta,
.area-pill,
.kicker,
.eyebrow {
  color: var(--mint);
}

.beta,
.area-pill {
  border: 1px solid rgba(57, 215, 182, 0.35);
  background: rgba(57, 215, 182, 0.08);
}

.beta {
  padding: 2px 7px;
  font-size: 12px;
}

.area-pill {
  margin: 0;
  padding: 7px 10px;
  font-size: 12px;
  white-space: nowrap;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 168px;
  padding: 18px 18px 12px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 720px;
}

.kicker,
.eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: 48px;
  line-height: 1.04;
  letter-spacing: 0;
}

.lead {
  margin: 8px 0 8px;
  color: #d8e0dd;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 680px;
}

.primary-cta,
.secondary-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  min-width: 144px;
  padding: 12px 18px;
  border: 1px solid rgba(57, 215, 182, 0.48);
  text-decoration: none;
  font-weight: 800;
  touch-action: manipulation;
}

.primary-cta {
  background: var(--mint);
  color: #06100e;
}

.secondary-cta {
  background: rgba(57, 215, 182, 0.08);
  color: #eafff9;
}

.hero-store-count {
  margin: 10px 0 0;
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
}

.fineprint,
.map-note,
.footer p,
.notice-band p {
  color: var(--muted);
}

.fineprint {
  margin: 6px 0 0;
  max-width: 620px;
  font-size: 13px;
}

.hero-compact .hero-map-preview {
  display: none;
}

.map-face-section {
  padding-top: 10px;
}

.map-face-heading {
  margin-bottom: 10px;
}

.map-face-copy {
  display: grid;
  gap: 4px;
  max-width: 740px;
  margin-bottom: 10px;
}

.map-face-copy h1 {
  font-size: clamp(34px, 10vw, 56px);
}

.map-face-copy .lead,
.map-face-copy .fineprint {
  margin: 0;
}

.hero-map-preview {
  position: absolute;
  right: -86px;
  top: 60px;
  width: 210px;
  aspect-ratio: 1;
  opacity: 0.34;
  border: 1px solid rgba(57, 215, 182, 0.34);
  border-radius: 50%;
}

.preview-ring,
.preview-axis,
.preview-dot {
  position: absolute;
}

.preview-ring {
  inset: 18%;
  border: 1px solid rgba(117, 200, 255, 0.24);
  border-radius: 50%;
}

.ring-two {
  inset: 36%;
}

.preview-axis {
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  background: rgba(57, 215, 182, 0.24);
}

.preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
}

.dot-a {
  left: 34%;
  top: 28%;
}

.dot-b {
  left: 66%;
  top: 52%;
  background: var(--amber);
}

.dot-c {
  left: 46%;
  top: 72%;
  background: var(--sky);
}

.decision-flow-section,
.controls-section,
.map-section,
.cards-section,
.notice-band {
  padding: 22px 18px;
}

.map-face-section {
  padding: 12px 14px 24px;
}

/* v0.9.28 mobile overflow guard retained; compact drawer layer added. */
.topbar,
.hero,
.map-face-section,
.decision-flow-section,
.controls-section,
.map-section,
.cards-section,
.notice-band,
.section-heading,
.decision-flow-panel,
.decision-steps,
.decision-chip-row,
.area-tabs,
.filter-grid,
.search-wrap,
.filter-actions,
.map-layout,
.map-control-deck,
.map-mode-panel,
.date-tabs-panel,
.map-mode-buttons,
.compact-mode-buttons,
.map-quick-actions,
.simple-filter-group,
.store-flow-tabs,
.radar-panel,
.radar-map,
.selected-panel,
.mobile-map-selection-sheet,
.compact-store-card,
.area-card-group,
.area-card-group-body,
.store-list,
.notice-band > div {
  min-width: 0;
  max-width: 100%;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 20px;
}

.section-heading h2,
.notice-band h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
}

.decision-flow-panel {
  display: grid;
  gap: 10px;
  max-width: 980px;
  margin: 0 auto 14px;
  padding: 12px;
  border: 1px solid rgba(57, 215, 182, 0.24);
  background:
    linear-gradient(135deg, rgba(57, 215, 182, 0.1), rgba(117, 200, 255, 0.04)),
    var(--panel);
  box-shadow: 0 20px 60px var(--shadow);
}

.decision-steps {
  display: flex;
  gap: 10px;
  max-width: 980px;
  margin: 0 auto 14px;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}

.decision-steps li {
  display: grid;
  gap: 4px;
  flex: 0 0 min(82vw, 250px);
  padding: 12px;
  border: 1px solid rgba(117, 200, 255, 0.18);
  background: rgba(117, 200, 255, 0.06);
}

.decision-steps span {
  color: var(--mint);
  font-size: 12px;
  font-weight: 800;
}

.decision-steps strong {
  font-size: 14px;
}

.decision-flow-panel h3 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #eafff9;
}

.decision-chip-row,
.area-tabs,
.filter-grid {
  display: flex;
  gap: 8px;
  max-width: 980px;
  margin: 0 auto 16px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.decision-chip-row {
  flex-wrap: nowrap;
  margin: 0;
  overflow-x: auto;
}

.decision-result-title {
  max-width: 980px;
  margin: 10px auto 0;
  color: var(--mint);
  font-weight: 800;
}

.area-tab,
.filter-chip,
.use-case-button {
  flex: 0 0 auto;
  min-height: 38px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
}

.area-tab {
  min-width: 72px;
  padding: 8px 12px;
}

.area-tab.active,
.filter-chip.active,
.use-case-button.active,
.display-mode-button.active,
.reference-button.active {
  border-color: rgba(57, 215, 182, 0.9);
  background: rgba(57, 215, 182, 0.12);
  color: #eafff9;
}

.use-case-button {
  padding: 8px 10px;
  font-size: 13px;
}

.search-wrap {
  display: grid;
  gap: 8px;
  max-width: 980px;
  margin: 0 auto 16px;
  color: var(--muted);
  font-size: 13px;
}

.search-wrap input {
  min-height: 46px;
  width: 100%;
  border: 1px solid var(--line);
  background: #0f151b;
  color: var(--text);
  padding: 10px 12px;
  outline: none;
}

.filter-grid {
  flex-wrap: wrap;
  overflow: visible;
}

.filter-chip {
  padding: 8px 10px;
  font-size: 13px;
}

.filter-actions {
  display: flex;
  max-width: 980px;
  margin: 4px auto 0;
}

.quick-date-panel {
  display: grid;
  gap: 4px;
  min-width: 132px;
  max-width: 190px;
  padding: 8px;
  border: 1px solid rgba(57, 215, 182, 0.35);
  background: rgba(57, 215, 182, 0.08);
}

.quick-date-panel label {
  color: var(--mint);
  font-size: 11px;
  font-weight: 800;
}

.quick-date-select {
  width: 100%;
  min-height: 34px;
  border: 1px solid var(--line);
  background: #0f151b;
  color: var(--text);
  padding: 6px 28px 6px 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.map-control-deck > .compact-date-selector {
  display: none;
}

.mobile-compact-drawer,
.mobile-filter-drawer {
  max-width: 980px;
  margin: 0 auto 10px;
  border: 1px solid rgba(117, 200, 255, 0.16);
  background: rgba(10, 18, 32, 0.28);
}

.decision-flow-panel .mobile-filter-drawer,
.map-control-deck .mobile-filter-drawer {
  width: 100%;
  margin: 0;
}

.drawer-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  padding: 9px 11px;
  color: #eafff9;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.drawer-summary::-webkit-details-marker {
  display: none;
}

.drawer-summary::after {
  flex: 0 0 auto;
  color: var(--mint);
  content: "▼";
  font-size: 11px;
}

.mobile-compact-drawer[open] .drawer-summary::after,
.mobile-filter-drawer[open] .drawer-summary::after {
  content: "▲";
}

.drawer-current {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drawer-body {
  padding: 0 11px 11px;
}

.mobile-filter-drawer[open],
.mobile-compact-drawer[open] {
  border-color: rgba(57, 215, 182, 0.34);
  background: rgba(57, 215, 182, 0.06);
}

.reset-filters-button,
.empty-reset-button {
  min-height: 40px;
  border: 1px solid rgba(57, 215, 182, 0.45);
  background: rgba(57, 215, 182, 0.1);
  color: #eafff9;
  padding: 8px 12px;
  font-weight: 800;
}

.empty-reset-button {
  margin-top: 10px;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.radar-panel,
.selected-panel,
.store-card,
.notice-band > div {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 20px 60px var(--shadow);
}

.selected-panel:not(.has-selection) {
  display: none;
  margin: 0;
  padding: 0;
  border: 0;
  min-height: 0;
  box-shadow: none;
}

.radar-panel {
  position: relative;
  container-type: inline-size;
  container-name: radar-panel;
  padding: clamp(14px, 2vw, 22px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(14, 18, 22, 0.98), rgba(3, 5, 6, 0.98)),
    var(--panel);
}

.radar-panel::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 180px;
  background: radial-gradient(circle at 50% 0%, rgba(75, 199, 177, 0.14), transparent 65%);
  pointer-events: none;
}

.brand-accent {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff4f86, #f6c74f, #48dd7c, #46c6ff, #a75cff, #ff4f86);
  opacity: 0.72;
  pointer-events: none;
}

.radar-topbar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
  margin-bottom: 16px;
}

.radar-topbar .eyebrow {
  margin-bottom: 1px;
}

.radar-topbar h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.02;
}

.map-title-block {
  display: grid;
  gap: 6px;
}

.map-kicker {
  color: #90e7d5;
  font-size: 11px;
  letter-spacing: 0;
}

.map-title-note {
  margin: 0;
  color: #d6e2df;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.45;
}

.radar-status {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
  max-width: 360px;
}

.radar-status span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 8px;
  border: 1px solid rgba(75, 199, 177, 0.24);
  background: rgba(75, 199, 177, 0.07);
  color: #d8fff6;
  font-size: 11px;
  font-weight: 800;
}

.decision-bar {
  position: relative;
  z-index: 12;
  display: grid;
  grid-template-columns: 1.08fr 1.32fr 1fr 1fr;
  gap: 8px;
  margin: 0 0 12px;
  padding: 10px;
  border: 1px solid rgba(117, 200, 255, 0.14);
  background: rgba(8, 14, 20, 0.58);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

.decision-control {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.decision-control span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.decision-control select,
.quick-date-select {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 1px solid rgba(75, 199, 177, 0.3);
  background: #0d141b;
  color: var(--text);
  padding: 8px 10px;
  font-weight: 800;
}

.radar-compact-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.radar-compact-copy strong {
  color: var(--text);
  font-size: 16px;
}

.radar-touch-hint {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
}

.cockpit-stage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.map-main-column {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.map-intel-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.map-intel-row p {
  margin: 0;
  color: #d9f2ff;
  font-size: 12px;
  font-weight: 800;
}

.map-control-deck {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.map-control-deck > .compact-date-selector {
  display: none;
}

.map-after-copy {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(117, 200, 255, 0.16);
  background: rgba(117, 200, 255, 0.04);
  color: var(--muted);
  font-size: 13px;
}

.map-after-copy strong {
  color: var(--text);
  font-size: 18px;
}

.date-tabs-panel,
.map-mode-panel {
  display: grid;
  gap: 12px;
  margin-bottom: 8px;
  padding: 8px;
  border: 1px solid rgba(57, 215, 182, 0.22);
  background: rgba(57, 215, 182, 0.06);
}

.date-tabs-panel {
  border-color: rgba(117, 200, 255, 0.2);
  background: rgba(117, 200, 255, 0.055);
}

.compact-date-selector {
  position: relative;
  gap: 8px;
}

.selected-date-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.selected-date-display {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  margin: 5px 0 0;
  border: 1px solid rgba(57, 215, 182, 0.42);
  background: rgba(57, 215, 182, 0.13);
  color: #eafff9;
  padding: 7px 10px;
  font-size: 14px;
  font-weight: 800;
}

.date-change-button {
  min-height: 34px;
  border: 1px solid rgba(117, 200, 255, 0.28);
  background: rgba(10, 18, 32, 0.74);
  color: var(--text);
  padding: 7px 11px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.date-change-button:hover,
.date-change-button:focus-visible {
  border-color: rgba(57, 215, 182, 0.68);
  color: #eafff9;
}

.date-selector-popover[hidden] {
  display: none !important;
}

.date-selector-popover {
  padding-top: 4px;
}

.date-tabs-panel strong,
.simple-filter-group > strong {
  color: #eafff9;
  font-size: 13px;
}

.date-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.date-tab {
  display: grid;
  gap: 2px;
  place-items: center;
  flex: 0 0 auto;
  min-height: 38px;
  min-width: 76px;
  border: 1px solid rgba(117, 200, 255, 0.24);
  background: rgba(10, 18, 32, 0.76);
  color: var(--text);
  padding: 8px 12px;
  font-size: 13px;
}

.date-tab small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.date-tab.active {
  border-color: rgba(57, 215, 182, 0.76);
  background: rgba(57, 215, 182, 0.16);
  color: #eafff9;
  box-shadow: 0 0 0 1px rgba(57, 215, 182, 0.18), 0 0 18px rgba(57, 215, 182, 0.12);
}

.rollover-note {
  margin: 6px 0 0;
  color: var(--amber);
  font-size: 12px;
}

.date-context-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.simple-filter-group {
  align-items: center;
  flex-wrap: wrap;
  overflow-x: visible;
}

.simple-filter-group > strong {
  flex: 0 0 100%;
  white-space: nowrap;
}

.map-mode-panel p,
.date-tabs-panel p,
.map-count-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.map-mode-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.map-first-actions {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.compact-mode-buttons,
.map-quick-actions {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.map-quick-button {
  border-color: rgba(117, 200, 255, 0.26);
  background: rgba(117, 200, 255, 0.07);
}

.store-flow-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.candidate-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.candidate-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.candidate-toolbar .store-flow-tabs {
  margin-top: 0;
}

.display-mode-button {
  min-height: 38px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
  padding: 8px 10px;
  font-size: 13px;
}

.candidate-filter-button {
  min-height: 38px;
  border: 1px solid rgba(242, 185, 80, 0.3);
  background: rgba(242, 185, 80, 0.08);
  color: #fff3d5;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 800;
}

.candidate-filter-button.active {
  border-color: rgba(242, 185, 80, 0.68);
  background: rgba(242, 185, 80, 0.18);
}

.map-count-row {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
}

.area-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.area-counts span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border: 1px solid rgba(117, 200, 255, 0.2);
  background: rgba(117, 200, 255, 0.06);
  color: #d9f2ff;
  font-size: 12px;
}

.radar-map {
  position: relative;
  width: 100%;
  max-width: 780px;
  aspect-ratio: 1;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(117, 200, 255, 0.22);
  background:
    linear-gradient(rgba(117, 200, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 200, 255, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(57, 215, 182, 0.13), transparent 38%),
    radial-gradient(circle at 22% 22%, rgba(167, 92, 255, 0.1), transparent 34%),
    radial-gradient(circle at 78% 74%, rgba(246, 199, 79, 0.08), transparent 32%),
    #05080a;
  background-size: 24px 24px, 24px 24px, auto, auto, auto, auto;
  box-shadow:
    inset 0 0 42px rgba(57, 215, 182, 0.13),
    0 24px 68px rgba(0, 0, 0, 0.38);
  isolation: isolate;
}

.radar-map::before,
.radar-map::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.radar-map::before {
  inset: -18%;
  background: conic-gradient(from 18deg, transparent 0deg 282deg, rgba(75, 199, 177, 0.12) 300deg, rgba(104, 185, 238, 0.1) 314deg, rgba(184, 145, 255, 0.08) 328deg, rgba(229, 187, 90, 0.06) 340deg, transparent 354deg 360deg);
  animation: radarSweep 8s linear infinite;
  mix-blend-mode: screen;
}

.radar-map::after {
  inset: 12%;
  border-radius: 50%;
  box-shadow:
    0 0 18px rgba(57, 215, 182, 0.2),
    inset 0 0 24px rgba(117, 200, 255, 0.12);
  animation: radarPulse 5s ease-in-out infinite;
}

.map-loading-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 14;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(75, 199, 177, 0.38);
  background: rgba(7, 13, 18, 0.86);
  color: #eafff9;
  font-size: 12px;
  font-weight: 900;
  transform: translate(-50%, -50%);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.36);
}

.map-loading-badge::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px rgba(75, 199, 177, 0.78);
  animation: loadingPulse 1.1s ease-in-out infinite;
}

.map-loading-badge.is-hidden {
  display: none;
}

.ring,
.axis,
.sector,
.you,
.map-pin-wrap,
.selection-line,
.area-label {
  position: absolute;
}

.ring {
  border: 1px solid rgba(117, 200, 255, 0.2);
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 18px rgba(117, 200, 255, 0.06);
}

.ring span {
  position: absolute;
  right: 8%;
  top: 12%;
  padding: 2px 6px;
  color: var(--soft);
  background: rgba(11, 17, 21, 0.72);
  font-size: 10px;
  white-space: nowrap;
}

.r1 {
  inset: 12%;
}

.r2 {
  inset: 26%;
}

.r3 {
  inset: 40%;
}

.axis {
  background: rgba(57, 215, 182, 0.16);
  pointer-events: none;
}

.axis-ns {
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
}

.axis-ew {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
}

.sector {
  color: var(--soft);
  font-size: 11px;
  font-weight: 800;
  pointer-events: none;
}

.area-label {
  z-index: 1;
  color: rgba(242, 246, 245, 0.22);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
  pointer-events: none;
  text-shadow: 0 0 18px rgba(57, 215, 182, 0.18);
}

.area-matsudo {
  left: 66%;
  top: 26%;
}

.area-misato {
  left: 48%;
  top: 13%;
}

.area-yashio {
  left: 23%;
  top: 30%;
}

.area-katsushika {
  left: 25%;
  top: 78%;
}

.north {
  left: 50%;
  top: 10px;
}

.east {
  right: 12px;
  top: 50%;
}

.south {
  bottom: 10px;
  left: 50%;
}

.west {
  left: 12px;
  top: 50%;
}

.you {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(57, 215, 182, 0.7);
  border-radius: 50%;
  background: #11201d;
  color: #dffdf5;
  font-size: 11px;
  text-align: center;
  pointer-events: none;
}

.selection-line {
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.selection-line line {
  stroke: rgba(57, 215, 182, 0.82);
  stroke-width: 0.72;
  stroke-dasharray: 2 2;
  opacity: 0;
  filter: drop-shadow(0 0 3px rgba(57, 215, 182, 0.55));
}

.selection-line.active line {
  opacity: 1;
}

.map-pin-wrap {
  z-index: 6;
  transform: translate(-50%, -100%);
  pointer-events: auto;
}

.map-pin-wrap::before {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: 0;
  border-radius: 999px;
  pointer-events: auto;
}

.map-pin {
  position: relative;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 2px solid #0b1115;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  z-index: 5;
  color: #06100e;
  font-size: 10px;
  font-weight: 900;
  touch-action: manipulation;
  cursor: pointer;
  pointer-events: auto;
  transition: width 160ms ease, height 160ms ease, opacity 160ms ease, box-shadow 160ms ease, filter 160ms ease, transform 160ms ease;
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.32);
  pointer-events: none;
}

.map-pin.sign-pin {
  background: var(--hadkan-pin-bg, var(--hadkan-color, #f2f6f5));
  border-color: var(--hadkan-pin-border, #0b1115);
  color: var(--hadkan-text, #06100e);
}

.map-pin.has-hadkan {
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.35),
    0 0 0 3px color-mix(in srgb, var(--hadkan-color) 36%, transparent),
    0 0 16px var(--hadkan-glow, color-mix(in srgb, var(--hadkan-color) 44%, transparent));
}

.map-pin:active,
button:active,
.filter-chip:active,
.display-mode-button:active,
.reference-button:active {
  transform: translateY(1px);
}

.map-pin:active {
  transform: rotate(-45deg) scale(0.98);
}

.hadkan-pin-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  z-index: 3;
  width: 11px;
  height: 11px;
  border: 2px solid #0b1115;
  border-radius: 50%;
  background: var(--hadkan-color);
  box-shadow: 0 0 12px color-mix(in srgb, var(--hadkan-color) 60%, transparent);
  transform: rotate(45deg);
  pointer-events: none;
}

.map-pin.non-focus-pin .hadkan-pin-badge {
  top: -4px;
  right: -4px;
  width: 9px;
  height: 9px;
  border-width: 1px;
}

.hadkan-white {
  --hadkan-color: var(--sign-0);
  --hadkan-text: var(--sign-0-text);
  --hadkan-pin-bg: var(--sign-0);
  --hadkan-pin-border: var(--sign-0-border);
  --hadkan-glow: rgba(255, 255, 255, 0.2);
}

.hadkan-blue {
  --hadkan-color: var(--sign-1);
  --hadkan-text: var(--sign-1-text);
  --hadkan-pin-bg: var(--sign-1);
  --hadkan-pin-border: var(--sign-1-border);
  --hadkan-glow: rgba(104, 185, 238, 0.36);
}

.hadkan-yellow {
  --hadkan-color: var(--sign-2);
  --hadkan-text: var(--sign-2-text);
  --hadkan-pin-bg: var(--sign-2);
  --hadkan-pin-border: var(--sign-2-border);
  --hadkan-glow: rgba(248, 210, 74, 0.42);
}

.hadkan-green {
  --hadkan-color: var(--sign-3);
  --hadkan-text: var(--sign-3-text);
  --hadkan-pin-bg: var(--sign-3);
  --hadkan-pin-border: var(--sign-3-border);
  --hadkan-glow: rgba(53, 201, 135, 0.42);
}

.hadkan-red {
  --hadkan-color: var(--sign-4);
  --hadkan-text: var(--sign-4-text);
  --hadkan-pin-bg: var(--sign-4);
  --hadkan-pin-border: var(--sign-4-border);
  --hadkan-glow: rgba(239, 98, 104, 0.46);
}

.hadkan-rainbow {
  --hadkan-color: var(--sign-5);
  --hadkan-text: var(--sign-5-text);
  --hadkan-pin-bg: var(--sign-5);
  --hadkan-pin-border: var(--sign-5-border);
  --hadkan-glow: rgba(184, 145, 255, 0.52);
}

.map-pin.sign-pin.hadkan-rainbow {
  background: var(--sign-rainbow);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.35),
    0 0 0 3px rgba(255, 255, 255, 0.2),
    0 0 18px rgba(184, 145, 255, 0.5);
}

.map-pin.sign-pin.hadkan-rainbow::after {
  inset: 4px;
  background: rgba(11, 17, 21, 0.36);
}

.hadkan-rainbow .hadkan-pin-badge,
.legend-dot.hadkan-rainbow {
  background: var(--sign-rainbow);
}

.map-pin.sign-pin.sign-rank-sss {
  background: var(--rank-rainbow);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.18),
    0 0 22px rgba(255, 79, 134, 0.42),
    0 0 34px rgba(72, 221, 124, 0.32),
    0 0 46px rgba(70, 198, 255, 0.28);
  animation: signRankRainbowPulse 2.8s ease-in-out infinite;
}

.map-pin.sign-pin.sign-rank-ss {
  --hadkan-color: var(--rank-gold);
  --hadkan-text: #201600;
  --hadkan-pin-bg: linear-gradient(135deg, #fff0a8, #f0c96a 50%, #9f6f16);
  --hadkan-pin-border: #ffeeb4;
  box-shadow:
    0 0 0 3px rgba(240, 201, 106, 0.22),
    0 0 26px rgba(240, 201, 106, 0.5);
  animation: signRankGoldGlow 3.2s ease-in-out infinite;
}

.map-pin.sign-pin.sign-rank-s {
  --hadkan-color: var(--rank-silver);
  --hadkan-text: #0c1216;
  --hadkan-pin-bg: linear-gradient(135deg, #ffffff, #d7dde2 48%, #7f8b92);
  --hadkan-pin-border: #ffffff;
  box-shadow:
    0 0 0 3px rgba(215, 221, 226, 0.2),
    0 0 24px rgba(215, 221, 226, 0.38);
  animation: signRankSilverShimmer 3.6s ease-in-out infinite;
}

@keyframes signRankGoldGlow {
  0%, 100% {
    box-shadow:
      0 0 0 3px rgba(240, 201, 106, 0.22),
      0 0 22px rgba(240, 201, 106, 0.42),
      0 0 34px rgba(255, 220, 130, 0.22);
  }
  50% {
    box-shadow:
      0 0 0 5px rgba(240, 201, 106, 0.34),
      0 0 30px rgba(240, 201, 106, 0.62),
      0 0 50px rgba(255, 220, 130, 0.42);
  }
}

@keyframes signRankSilverShimmer {
  0%, 100% {
    box-shadow:
      0 0 0 3px rgba(215, 221, 226, 0.2),
      0 0 22px rgba(215, 221, 226, 0.34),
      0 0 30px rgba(255, 255, 255, 0.16);
  }
  50% {
    box-shadow:
      0 0 0 5px rgba(255, 255, 255, 0.3),
      0 0 28px rgba(215, 221, 226, 0.5),
      0 0 44px rgba(255, 255, 255, 0.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  .map-pin.sign-pin.sign-rank-sss,
  .map-pin.sign-pin.sign-rank-ss,
  .map-pin.sign-pin.sign-rank-s {
    animation: none;
  }
}

.map-pin.sign-pin.sign-rank-a {
  --hadkan-color: var(--rank-green);
  --hadkan-text: #052113;
  --hadkan-pin-bg: var(--rank-green);
  --hadkan-pin-border: #a5f1ca;
  box-shadow:
    0 0 0 3px rgba(53, 201, 135, 0.22),
    0 0 22px rgba(53, 201, 135, 0.42);
}

.map-pin.sign-pin.sign-rank-b {
  --hadkan-color: var(--rank-white);
  --hadkan-text: #111c1a;
  --hadkan-pin-bg: var(--rank-white);
  --hadkan-pin-border: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.16),
    0 0 18px rgba(255, 255, 255, 0.28);
}

.map-pin.sign-pin.sign-rank-c {
  --hadkan-color: var(--rank-gray);
  --hadkan-text: #0d1215;
  --hadkan-pin-bg: linear-gradient(135deg, #c5cccf, #8a9498);
  --hadkan-pin-border: rgba(215, 221, 226, 0.68);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.35),
    0 0 12px rgba(138, 148, 152, 0.24);
}

.map-pin.sign-pin.sign-rank-sss::after {
  background: rgba(5, 7, 10, 0.32);
}

.map-pin-wrap.sign-rank-sss .pin-label {
  border-color: rgba(255, 255, 255, 0.64);
  box-shadow:
    0 0 14px rgba(255, 79, 134, 0.36),
    0 0 22px rgba(70, 198, 255, 0.28);
}

.map-pin.selected {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
  width: 30px;
  height: 30px;
  transform: rotate(-45deg) scale(1.08);
  box-shadow:
    0 0 0 5px rgba(57, 215, 182, 0.16),
    0 0 18px rgba(57, 215, 182, 0.38);
  filter: saturate(1.05);
  animation: selectedPinPulse 3.2s ease-in-out infinite;
}

.map-pin.non-focus-pin {
  width: 18px;
  height: 18px;
  opacity: 0.5;
  border-width: 1px;
  font-size: 9px;
}

.map-pin.initial-focus-pin {
  opacity: 0.96;
}

.map-pin-wrap.pin-muted {
  z-index: 4;
}

.map-pin-wrap.pin-muted .pin-label {
  opacity: 0.86;
}

.pin-number {
  position: relative;
  z-index: 1;
  transform: rotate(45deg);
}

.pin-label {
  position: absolute;
  left: 50%;
  top: -32px;
  transform: translateX(-50%);
  display: none;
  max-width: 160px;
  padding: 4px 7px;
  border: 1px solid rgba(57, 215, 182, 0.45);
  background: rgba(13, 16, 20, 0.92);
  color: var(--text);
  font-size: 11px;
  line-height: 1.25;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

.map-pin-wrap.selected {
  z-index: 12;
}

.map-pin-wrap.selected,
.map-pin-wrap:hover,
.map-pin-wrap:focus-within {
  pointer-events: auto;
}

.map-pin-wrap.selected .map-pin,
.map-pin-wrap:hover .map-pin,
.map-pin-wrap:focus-within .map-pin {
  opacity: 1;
  width: 25px;
  height: 25px;
}

.map-pin-wrap.selected .map-pin {
  width: 30px;
  height: 30px;
}

.map-pin-wrap.selected .pin-label,
.map-pin-wrap:hover .pin-label,
.map-pin-wrap:focus-within .pin-label {
  display: block;
}

.map-pin-wrap.selected .pin-label {
  border-color: rgba(255, 255, 255, 0.72);
  color: #ffffff;
  box-shadow:
    0 0 16px rgba(57, 215, 182, 0.36),
    0 0 24px rgba(117, 200, 255, 0.16);
}

.pin-low-rate,
.legend-dot.low-rate {
  background: var(--green);
}

.pin-station,
.legend-dot.station {
  background: var(--sky);
}

.pin-large,
.legend-dot.large {
  background: var(--amber);
}

.pin-check,
.legend-dot.check {
  background: var(--coral);
}

.pin-normal,
.legend-dot.normal {
  background: var(--mint);
}

.legend-dot.selected {
  background: #ffffff;
  outline: 2px solid var(--mint);
}

.legend-dot.hadkan-white {
  border: 1px solid rgba(19, 31, 28, 0.22);
  background: #f3f6ef;
}

.legend-dot.hadkan-blue {
  background: #68b9ee;
}

.legend-dot.hadkan-yellow {
  background: #f8d24a;
}

.legend-dot.hadkan-green {
  background: #35c987;
}

.legend-dot.hadkan-red {
  background: #ef6268;
}

.legend-dot.hadkan-none {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.16);
}

.legend-dot.rank-gold {
  background: linear-gradient(135deg, #fff0a8, #f0c96a 55%, #9f6f16);
}

.legend-dot.rank-silver {
  background: linear-gradient(135deg, #ffffff, #d7dde2 55%, #7f8b92);
}

.legend-dot.rank-white {
  background: #f7faf6;
}

.legend-dot.rank-gray {
  background: #8a9498;
}

.map-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.map-tools button {
  min-height: 38px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
  padding: 8px 10px;
  font-size: 13px;
}

.reference-tools {
  justify-content: center;
}

.location-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.legend-groups {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.sign-legend-groups {
  gap: 10px;
}

.sign-legend-panel {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(117, 200, 255, 0.18);
  background: rgba(18, 27, 35, 0.72);
}

.sign-legend-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
}

.sign-legend-head strong {
  color: #f2f6f5;
  font-size: 13px;
}

.sign-legend-head span {
  color: var(--muted);
  font-size: 12px;
}

.sign-scale {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.sign-scale-item {
  display: grid;
  grid-template-columns: auto auto auto minmax(0, 1fr);
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 6px 7px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.045);
  color: #f2f6f5;
  font-size: 12px;
}

.sign-scale-item b {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.sign-scale-item strong {
  font-size: 12px;
}

.sign-scale-item em {
  min-width: 0;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.sign-scale-item .legend-dot {
  width: 12px;
  height: 12px;
}

.sign-explain {
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  border: 1px solid rgba(75, 199, 177, 0.18);
  background: rgba(75, 199, 177, 0.055);
}

.sign-explain strong {
  color: #dffff7;
  font-size: 12px;
}

.sign-explain p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.attribute-legend {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

@media (max-width: 720px) {
  .sign-scale {
    grid-template-columns: 1fr;
  }
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
}

.legend strong {
  color: #eafff9;
  font-size: 12px;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hadkan-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border: 1px solid color-mix(in srgb, var(--hadkan-color) 72%, #ffffff 10%);
  background: color-mix(in srgb, var(--hadkan-color) 18%, rgba(13, 16, 20, 0.86));
  color: color-mix(in srgb, var(--hadkan-color) 28%, #ffffff);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.sign-rank-badge {
  gap: 5px;
  min-height: 30px;
  padding: 5px 8px;
  border-color: color-mix(in srgb, var(--rank-accent, var(--hadkan-color)) 68%, #ffffff 12%);
  background: linear-gradient(135deg, color-mix(in srgb, var(--rank-accent, var(--hadkan-color)) 22%, rgba(10, 14, 18, 0.92)), rgba(7, 9, 12, 0.9));
  color: #f7fbfa;
  box-shadow: 0 0 18px color-mix(in srgb, var(--rank-accent, var(--hadkan-color)) 22%, transparent);
}

.sign-rank-caption {
  color: rgba(242, 246, 245, 0.72);
  font-size: 10px;
  font-weight: 850;
}

.sign-rank-label {
  font-size: 18px;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: 0;
}

.sign-rank-badge.sign-rank-sss {
  --rank-accent: #ff4f86;
  border-color: rgba(255, 255, 255, 0.56);
  background:
    linear-gradient(#090d10, #090d10) padding-box,
    var(--rank-rainbow) border-box;
  border: 1px solid transparent;
}

.sign-rank-badge.sign-rank-sss .sign-rank-label {
  background: linear-gradient(90deg, #ff4f86, #f6c74f, #48dd7c, #46c6ff, #a75cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sign-rank-badge.sign-rank-ss {
  --rank-accent: var(--rank-gold);
  color: #ffeaa4;
}

.sign-rank-badge.sign-rank-s {
  --rank-accent: var(--rank-silver);
  color: #f2f7f8;
}

.sign-rank-badge.sign-rank-a {
  --rank-accent: var(--rank-green);
  color: #c9ffdf;
}

.sign-rank-badge.sign-rank-b {
  --rank-accent: var(--rank-white);
  color: #ffffff;
}

.sign-rank-badge.sign-rank-c {
  --rank-accent: var(--rank-gray);
  color: #d3d9db;
}

.map-note {
  margin: 12px 0 0;
  font-size: 12px;
}

.selected-panel {
  min-height: 92px;
  padding: 12px;
}

.radar-panel .selected-panel {
  margin: 10px 0 8px;
  background: linear-gradient(135deg, rgba(13, 23, 24, 0.92), rgba(9, 18, 21, 0.84));
  border-color: rgba(57, 215, 182, 0.2);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.22);
  position: relative;
  z-index: 9;
}

@media (min-width: 1040px) {
  .cockpit-stage:has(.selected-panel.has-selection) {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 370px);
  }

  .cockpit-stage:has(.selected-panel.has-selection) .radar-map {
    max-width: 720px;
  }

  .radar-panel .cockpit-stage .selected-panel {
    position: sticky;
    top: 74px;
    margin: 0;
    max-height: calc(100vh - 96px);
    overflow: auto;
  }
}

.selection-priority-panel {
  scroll-margin-top: 72px;
}

.mobile-map-selection-sheet {
  display: none;
}

.mobile-map-selection-sheet[hidden] {
  display: none !important;
}

:root.compact-map-ui .mobile-map-selection-sheet:not([hidden]),
.radar-panel.is-compact-map-ui .mobile-map-selection-sheet:not([hidden]) {
  display: block;
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 30;
  max-height: min(56%, 212px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 9px;
  border: 1px solid rgba(57, 215, 182, 0.42);
  background: linear-gradient(135deg, rgba(8, 15, 17, 0.94), rgba(12, 21, 25, 0.88));
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(57, 215, 182, 0.12) inset;
  backdrop-filter: blur(14px);
  pointer-events: auto;
}

:root.compact-map-ui .selection-priority-panel.has-selection,
.radar-panel.is-compact-map-ui .selection-priority-panel.has-selection {
  display: none;
}

:root.compact-map-ui .mobile-map-selection-sheet .compact-selected-card,
.radar-panel.is-compact-map-ui .mobile-map-selection-sheet .compact-selected-card {
  gap: 7px;
}

:root.compact-map-ui .mobile-map-selection-sheet .badge,
:root.compact-map-ui .mobile-map-selection-sheet .count-chip,
:root.compact-map-ui .mobile-map-selection-sheet .major-badge,
:root.compact-map-ui .mobile-map-selection-sheet .attribute-badge,
:root.compact-map-ui .mobile-map-selection-sheet .tag,
:root.compact-map-ui .mobile-map-selection-sheet .caution,
.radar-panel.is-compact-map-ui .mobile-map-selection-sheet .badge,
.radar-panel.is-compact-map-ui .mobile-map-selection-sheet .count-chip,
.radar-panel.is-compact-map-ui .mobile-map-selection-sheet .major-badge,
.radar-panel.is-compact-map-ui .mobile-map-selection-sheet .attribute-badge,
.radar-panel.is-compact-map-ui .mobile-map-selection-sheet .tag,
.radar-panel.is-compact-map-ui .mobile-map-selection-sheet .caution {
  min-height: 22px;
  padding: 3px 7px;
  font-size: 10px;
}

:root.compact-map-ui .mobile-map-selection-sheet .selected-close-button,
.radar-panel.is-compact-map-ui .mobile-map-selection-sheet .selected-close-button {
  width: 28px;
  height: 28px;
  font-size: 17px;
}

:root.compact-map-ui .mobile-map-selection-sheet .compact-selected-title-row h3,
.radar-panel.is-compact-map-ui .mobile-map-selection-sheet .compact-selected-title-row h3 {
  font-size: clamp(17px, 4.8vw, 20px);
  line-height: 1.18;
}

:root.compact-map-ui .mobile-map-selection-sheet .pin-reason-inline,
.radar-panel.is-compact-map-ui .mobile-map-selection-sheet .pin-reason-inline {
  padding: 6px 8px;
  font-size: 11px;
}

:root.compact-map-ui .mobile-map-selection-sheet .selected-primary-actions,
.radar-panel.is-compact-map-ui .mobile-map-selection-sheet .selected-primary-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

:root.compact-map-ui .mobile-map-selection-sheet .selected-primary-actions button,
.radar-panel.is-compact-map-ui .mobile-map-selection-sheet .selected-primary-actions button {
  min-height: 38px;
  padding: 6px 8px;
  font-size: 11px;
}

:root.compact-map-ui .mobile-map-selection-sheet .selected-detail-panel,
.radar-panel.is-compact-map-ui .mobile-map-selection-sheet .selected-detail-panel {
  max-height: 154px;
  overflow: auto;
  padding-top: 8px;
}

@container radar-panel (max-width: 560px) {
  .mobile-map-selection-sheet:not([hidden]) {
    display: block;
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    z-index: 30;
    max-height: min(56%, 212px);
    overflow: auto;
    overscroll-behavior: contain;
    padding: 9px;
    border: 1px solid rgba(57, 215, 182, 0.42);
    background: linear-gradient(135deg, rgba(8, 15, 17, 0.94), rgba(12, 21, 25, 0.88));
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(57, 215, 182, 0.12) inset;
    backdrop-filter: blur(14px);
    pointer-events: auto;
  }

  :root.compact-map-ui .mobile-map-selection-sheet:not([hidden]),
  .radar-panel.is-compact-map-ui .mobile-map-selection-sheet:not([hidden]) {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 70;
    max-height: min(72vh, 560px);
    padding: 16px 10px 10px;
    border-radius: 8px;
  }

  .selection-priority-panel.has-selection {
    display: none;
  }
}

.selected-panel.is-open,
.selected-panel.has-selection {
  border-color: rgba(57, 215, 182, 0.48);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(57, 215, 182, 0.16) inset;
}

.selected-panel.has-selection::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  border-radius: 999px 0 0 999px;
  background: linear-gradient(180deg, rgba(57, 215, 182, 0.95), rgba(117, 200, 255, 0.55));
}

.selected-mini-card {
  display: grid;
  gap: 8px;
}

.compact-selected-card {
  gap: 8px;
}

.compact-selected-head,
.compact-selected-title-row,
.selected-primary-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.compact-selected-head .eyebrow {
  margin: 0;
}

.selected-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.selected-close-button {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #eafff9;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  touch-action: manipulation;
}

.selected-close-button:hover,
.selected-close-button:focus-visible {
  border-color: rgba(57, 215, 182, 0.52);
  background: rgba(57, 215, 182, 0.14);
  outline: none;
}

.compact-selected-title-row {
  align-items: flex-start;
}

.compact-selected-title-row h3 {
  margin: 0;
}

.compact-selected-title-row p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.selected-quick-badges,
.selected-caution-mini {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.selected-quick-badges::-webkit-scrollbar,
.selected-caution-mini::-webkit-scrollbar {
  display: none;
}

.compact-selected-reasons {
  display: grid;
  gap: 5px;
}

.pin-reason-inline {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid rgba(117, 200, 255, 0.16);
  background: rgba(117, 200, 255, 0.05);
  color: var(--muted);
  font-size: 12px;
}

.pin-reason-inline strong {
  color: #eafff9;
  flex: 0 0 auto;
}

.selected-detail-panel {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(117, 200, 255, 0.14);
}

.selected-sheet-polished {
  min-width: 0;
}

.selected-store-name {
  overflow-wrap: anywhere;
}

.selected-area-label {
  line-height: 1.35;
}

.selected-status-badge {
  border-color: rgba(57, 215, 182, 0.58);
  background: rgba(57, 215, 182, 0.13);
  color: #dffdf6;
  font-weight: 800;
}

.selected-reason-preview {
  padding: 8px 9px;
  border: 1px solid rgba(57, 215, 182, 0.18);
  background: rgba(57, 215, 182, 0.06);
}

.selected-reason-lines {
  max-height: 54px;
  overflow: hidden;
}

.selected-pin-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
}

.selected-pin-note span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.selected-hadkan-note {
  border-color: color-mix(in srgb, var(--hadkan-color, var(--mint)) 30%, rgba(117, 200, 255, 0.16));
  background: color-mix(in srgb, var(--hadkan-color, var(--mint)) 8%, rgba(117, 200, 255, 0.05));
}

.selected-caution-note {
  border-color: rgba(242, 185, 80, 0.26);
  background: rgba(242, 185, 80, 0.06);
}

.selected-hadkan-badge {
  flex: 0 0 auto;
}

.selected-sheet-actions button,
.selected-sheet-actions a {
  min-width: 0;
  font-weight: 800;
  white-space: normal;
}

.selected-detail-block {
  display: grid;
  gap: 6px;
}

.selected-detail-block strong {
  color: #eafff9;
  font-size: 12px;
}

.selected-feedback-panel {
  margin-top: 0;
  padding: 10px;
  background: rgba(0, 0, 0, 0.16);
}

.selected-feedback-panel .feedback-actions {
  gap: 6px;
}

.pin-reason-box {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(117, 200, 255, 0.22);
  background: rgba(117, 200, 255, 0.06);
}

.pin-reason-box strong {
  color: #eafff9;
  font-size: 12px;
}

.pin-reason-box p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.map-compare-panels {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  margin: 8px 0;
}

.recent-stores-panel,
.compare-tray {
  padding: 10px;
  border: 1px solid rgba(117, 200, 255, 0.16);
  background: rgba(10, 18, 32, 0.4);
}

.compare-panel-empty {
  display: grid;
  gap: 4px;
}

.compare-panel-empty strong,
.compare-panel-heading strong {
  color: #eafff9;
  font-size: 13px;
}

.compare-panel-empty p,
.compare-panel-heading span {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.compare-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.compare-limit-note {
  margin: -2px 0 8px;
  color: var(--muted);
  font-size: 12px;
}

.mini-store-strip,
.compare-store-list {
  display: grid;
  gap: 8px;
}

.recent-store-button,
.compare-store-card {
  width: 100%;
  border: 1px solid rgba(117, 200, 255, 0.18);
  background: rgba(21, 27, 34, 0.78);
  color: var(--text);
  padding: 9px;
  text-align: left;
}

.recent-store-button {
  display: grid;
  gap: 3px;
  cursor: pointer;
}

.recent-store-button span,
.compare-store-card h4 {
  margin: 0;
  color: #ffffff;
  font-size: 13px;
  font-weight: 850;
}

.recent-store-button small,
.recent-store-button em,
.compare-store-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.recent-store-area,
.recent-store-meta,
.recent-store-reason {
  display: block;
}

.compare-store-card {
  display: grid;
  gap: 7px;
}

.compare-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.compare-card-actions button,
.compare-add-button {
  min-height: 30px;
  border: 1px solid rgba(57, 215, 182, 0.28);
  background: rgba(57, 215, 182, 0.08);
  color: #eafff9;
  cursor: pointer;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 800;
}

.empty-state {
  margin: 0;
  color: var(--muted);
}

.selected-panel h3,
.store-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.meta-row,
.score-row,
.tag-row,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-row {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.badge,
.tag,
.caution {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  font-size: 12px;
}

.badge.verified {
  color: #dffdf5;
  border-color: rgba(57, 215, 182, 0.38);
}

.badge.partial {
  color: #fff3d5;
  border-color: rgba(242, 185, 80, 0.42);
}

.caution {
  color: #ffd9d7;
  border-color: rgba(255, 117, 111, 0.4);
}

.tag.strong {
  color: #06100e;
  border-color: rgba(57, 215, 182, 0.9);
  background: var(--mint);
  font-weight: 800;
}

.reason-summary {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(57, 215, 182, 0.26);
  background: rgba(57, 215, 182, 0.07);
}

.compact-reasons {
  padding: 9px;
  gap: 6px;
}

.compact-reasons .tag-row {
  gap: 5px;
}

.compact-reasons strong {
  font-size: 13px;
}

.compact-reasons .tag {
  min-height: 24px;
  padding: 3px 7px;
  line-height: 1.25;
}

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

.count-chip,
.access-chip,
.major-badge,
.attribute-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 8px;
  border: 1px solid rgba(117, 200, 255, 0.22);
  background: rgba(117, 200, 255, 0.07);
  font-size: 12px;
}

.count-chip {
  color: #dff4ff;
  font-weight: 800;
}

.access-chip {
  border-color: rgba(75, 199, 177, 0.24);
  background: rgba(75, 199, 177, 0.07);
  color: #dffdf6;
  font-weight: 800;
}

.major-badge {
  color: #eafff9;
}

.attribute-badge {
  border-color: rgba(175, 187, 185, 0.24);
  background: rgba(175, 187, 185, 0.08);
  color: #d9e4e2;
  font-weight: 800;
}

.card-sign-badge {
  min-height: 30px;
  padding: 5px 9px;
  font-size: 12px;
  box-shadow: 0 0 18px color-mix(in srgb, var(--hadkan-color) 16%, transparent);
}

.card-sign-badge .sign-rank-label,
.selected-hadkan-badge .sign-rank-label {
  font-size: 22px;
}

.compact-card-signal .card-sign-badge {
  min-width: 76px;
  justify-content: center;
}

.selected-hadkan-badge {
  min-width: 86px;
  justify-content: center;
}

.compact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.detail-toggle-button {
  border-color: rgba(117, 200, 255, 0.38) !important;
}

.compact-actions button,
.compact-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid rgba(117, 200, 255, 0.18);
  text-decoration: none;
}

.compact-actions .select-button,
.compact-actions .detail-toggle-button {
  border-color: rgba(117, 200, 255, 0.42);
  background: rgba(117, 200, 255, 0.1);
  color: #e8f8ff;
  font-weight: 800;
}

.compact-actions .compare-add-button,
.compact-actions .sit-button,
.compact-actions .store-detail-link {
  background: rgba(255, 255, 255, 0.035);
  color: #d8e7ec;
}

.compact-actions .store-detail-link,
.selected-store-link {
  border-color: rgba(75, 199, 177, 0.36);
  color: #eafff9;
  text-decoration: none;
}

.store-card-details {
  display: grid;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.store-card-details[hidden] {
  display: none !important;
}

.feedback-panel {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid rgba(117, 200, 255, 0.18);
  background: rgba(117, 200, 255, 0.045);
}

.feedback-panel strong {
  color: #eafff9;
}

.feedback-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.feedback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.feedback-button {
  min-height: 34px;
  border: 1px solid rgba(117, 200, 255, 0.22);
  background: rgba(10, 18, 32, 0.84);
  color: var(--text);
  padding: 7px 9px;
  font-size: 12px;
}

.feedback-toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 70;
  transform: translateX(-50%);
  width: min(330px, calc(100vw - 28px));
  padding: 12px 14px;
  border: 1px solid rgba(57, 215, 182, 0.45);
  background: rgba(7, 13, 24, 0.94);
  color: #eafff9;
  box-shadow: 0 20px 60px var(--shadow);
}

.feedback-toast[hidden] {
  display: none !important;
}

.entry-note {
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(242, 185, 80, 0.35);
  background: rgba(242, 185, 80, 0.08);
  color: #fff3d5;
  font-size: 13px;
}

.store-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  max-width: 1120px;
  margin: 0 auto;
}

.card-group-heading {
  grid-column: 1 / -1;
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(57, 215, 182, 0.22);
  background: rgba(57, 215, 182, 0.06);
}

.card-group-heading h3,
.card-group-heading p {
  margin: 0;
}

.card-group-heading p {
  color: var(--muted);
  font-size: 13px;
}

.pending-store-section {
  max-width: 1120px;
  margin: 20px auto 0;
  padding: 16px;
  border: 1px solid rgba(255, 209, 102, 0.24);
  border-radius: 8px;
  background: rgba(255, 209, 102, 0.06);
}

.pending-store-section:not([open]) {
  padding-bottom: 12px;
}

.pending-store-section summary {
  cursor: pointer;
}

.pending-store-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.pending-store-heading h3 {
  margin: 0;
  font-size: 18px;
}

.pending-lead,
.pending-empty {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.pending-store-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.pending-store-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(8, 12, 18, 0.7);
}

.pending-store-card h3,
.pending-store-card p {
  margin: 0;
}

.pending-status {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #2b2100;
  background: var(--amber);
  font-size: 12px;
  font-weight: 800;
}

.area-card-group {
  grid-column: 1 / -1;
  border: 1px solid rgba(117, 200, 255, 0.18);
  background: rgba(117, 200, 255, 0.04);
}

.area-card-group summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  cursor: pointer;
  color: #e8f8ff;
  font-weight: 800;
}

.area-card-group-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 0 12px 12px;
}

.store-card {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.compact-store-card {
  gap: 9px;
  padding: 12px;
}

.store-card.selected {
  border-color: rgba(57, 215, 182, 0.9);
  background: linear-gradient(180deg, rgba(57, 215, 182, 0.12), rgba(21, 27, 34, 0.98));
}

.store-card.card-flash {
  box-shadow:
    0 0 0 2px rgba(57, 215, 182, 0.4),
    0 0 24px rgba(57, 215, 182, 0.18);
}

.store-title-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.compact-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.compact-card-signal {
  display: grid;
  justify-items: end;
  gap: 5px;
  flex: 0 0 auto;
}

.compact-card-title {
  min-width: 0;
}

.compact-card-title h3 {
  overflow-wrap: anywhere;
}

.status-badge {
  flex: 0 0 auto;
  min-height: 24px;
  padding: 3px 7px;
  font-size: 11px;
  opacity: 0.9;
}

.paid-pr-media {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  justify-self: start;
  max-width: 210px;
  padding: 6px;
  border: 1px solid rgba(117, 200, 255, 0.24);
  background: rgba(117, 200, 255, 0.06);
}

.paid-pr-media[hidden] {
  display: none !important;
}

.paid-pr-media img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  background: #0f151b;
}

.paid-pr-media span {
  color: #dff4ff;
  font-size: 12px;
  font-weight: 800;
}

.compact-card-top p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.store-city {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
}

.selected-badge {
  justify-self: start;
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid rgba(57, 215, 182, 0.55);
  background: rgba(57, 215, 182, 0.12);
  color: #eafff9;
  font-size: 12px;
  font-weight: 800;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  color: var(--muted);
  font-size: 12.5px;
}

.detail-grid strong {
  color: var(--text);
}

.fit-meter {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.fit {
  border: 1px solid var(--line);
  padding: 6px 7px;
  background: var(--panel-2);
  font-size: 12px;
}

.fit strong {
  display: block;
  font-size: 13px;
}

.fit.fit-strong {
  border-color: rgba(57, 215, 182, 0.55);
}

.action-row a,
.action-row button {
  min-height: 38px;
  border: 1px solid var(--line);
  background: #0f151b;
  color: var(--text);
  padding: 8px 10px;
  text-decoration: none;
  font-size: 13px;
}

.action-row .sit-button {
  border-color: rgba(57, 215, 182, 0.42);
  color: #eafff9;
  font-weight: 700;
}

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

.notice-band > div {
  padding: 16px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.68);
  pointer-events: none;
}

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

.modal-backdrop.is-open {
  display: grid;
  pointer-events: auto;
}

.modal {
  position: relative;
  width: min(100%, 460px);
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.modal h2 {
  margin: 0 0 10px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
  touch-action: manipulation;
}

.footer {
  padding: 24px 18px 34px;
  border-top: 1px solid var(--line);
  background: #0a0d10;
  text-align: center;
  font-size: 12px;
}

.footer p {
  margin: 4px auto;
  max-width: 760px;
}

@keyframes radarSweep {
  to {
    transform: rotate(360deg);
  }
}

@keyframes radarPulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.72;
    transform: scale(1.02);
  }
}

@keyframes selectedPinPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 5px rgba(57, 215, 182, 0.16),
      0 0 18px rgba(57, 215, 182, 0.38);
  }
  50% {
    box-shadow:
      0 0 0 6px rgba(255, 255, 255, 0.2),
      0 0 24px rgba(57, 215, 182, 0.48);
  }
}

@keyframes loadingPulse {
  0%,
  100% {
    opacity: 0.38;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

@keyframes signRankRainbowPulse {
  0%,
  100% {
    filter: saturate(1.05) brightness(1);
    transform: rotate(-45deg) scale(1);
  }
  50% {
    filter: saturate(1.22) brightness(1.12);
    transform: rotate(-45deg) scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (min-width: 760px) {
  .topbar {
    padding-inline: 28px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    min-height: 190px;
    padding: 24px 28px 18px;
  }

  h1 {
    font-size: 72px;
  }

  .decision-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }

  .date-tabs-panel,
  .map-mode-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .compact-date-selector {
    grid-template-columns: minmax(0, 1fr);
  }

  .controls-section,
  .map-section,
  .cards-section,
  .notice-band {
    padding-inline: 28px;
  }

  .map-layout {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .area-card-group-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .notice-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1120px;
    margin: 0 auto;
  }
}

@media (min-width: 1120px) {
  .store-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 759px) {
  .radar-topbar {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 10px;
  }

  .radar-topbar h1 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .map-title-note {
    font-size: 13px;
  }

  .radar-status {
    justify-content: flex-start;
    max-width: none;
  }

  .decision-bar {
    position: sticky;
    top: 50px;
    z-index: 48;
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 8px;
    margin-inline: -1px;
    border-color: rgba(75, 199, 177, 0.28);
    background: rgba(11, 18, 24, 0.94);
    backdrop-filter: blur(14px);
    scrollbar-width: none;
  }

  .decision-bar::-webkit-scrollbar {
    display: none;
  }

  .decision-control {
    flex: 0 0 132px;
  }

  .decision-control select,
  .quick-date-select {
    min-height: 38px;
    padding: 7px 8px;
    font-size: 12px;
  }

  .map-intel-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .radar-map {
    height: min(62vh, 520px);
    min-height: 390px;
    aspect-ratio: auto;
  }

  .mobile-map-selection-sheet:not([hidden]) {
    display: block;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 70;
    max-height: min(72vh, 560px);
    overflow: auto;
    overscroll-behavior: contain;
    padding: 16px 10px 10px;
    border: 1px solid rgba(57, 215, 182, 0.42);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(8, 15, 17, 0.94), rgba(12, 21, 25, 0.88));
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(57, 215, 182, 0.12) inset;
    backdrop-filter: blur(14px);
    pointer-events: auto;
  }

  .selection-priority-panel.has-selection {
    display: none;
  }

  .mobile-map-selection-sheet .compact-selected-card {
    position: relative;
    gap: 7px;
  }

  .mobile-map-selection-sheet .compact-selected-card::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -8px;
    width: 44px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    transform: translateX(-50%);
  }

  .mobile-map-selection-sheet .compact-selected-head,
  .mobile-map-selection-sheet .compact-selected-title-row {
    gap: 7px;
  }

  .mobile-map-selection-sheet .compact-selected-head .eyebrow {
    font-size: 10px;
  }

  .mobile-map-selection-sheet .badge,
  .mobile-map-selection-sheet .count-chip,
  .mobile-map-selection-sheet .major-badge,
  .mobile-map-selection-sheet .attribute-badge,
  .mobile-map-selection-sheet .tag,
  .mobile-map-selection-sheet .caution {
    min-height: 22px;
    padding: 3px 7px;
    font-size: 10px;
  }

  .mobile-map-selection-sheet .sign-rank-badge {
    min-height: 34px;
    padding: 5px 8px;
  }

  .mobile-map-selection-sheet .sign-rank-label {
    font-size: 22px;
  }

  .mobile-map-selection-sheet .compact-selected-title-row h3 {
    font-size: clamp(17px, 4.8vw, 20px);
    line-height: 1.18;
  }

  .mobile-map-selection-sheet .compact-selected-title-row p,
  .mobile-map-selection-sheet .compact-selected-reasons strong,
  .mobile-map-selection-sheet .pin-reason-inline {
    font-size: 11px;
  }

  .mobile-map-selection-sheet .selected-quick-badges {
    gap: 5px;
  }

  .mobile-map-selection-sheet .pin-reason-inline {
    padding: 6px 8px;
  }

  .mobile-map-selection-sheet .selected-primary-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .mobile-map-selection-sheet .selected-primary-actions button {
    min-height: 38px;
    padding: 6px 8px;
    font-size: 11px;
  }

  .mobile-map-selection-sheet .selected-detail-panel {
    max-height: 154px;
    overflow: auto;
    padding-top: 8px;
  }

  .map-compare-panels {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .recent-stores-panel,
  .compare-tray {
    padding: 8px;
  }

  .mini-store-strip,
  .compare-store-list {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .mini-store-strip::-webkit-scrollbar,
  .compare-store-list::-webkit-scrollbar {
    display: none;
  }

  .recent-store-button,
  .compare-store-card {
    flex: 0 0 172px;
    padding: 8px;
  }

  .recent-stores-panel {
    padding: 6px;
  }

  .recent-stores-panel .compare-panel-heading {
    margin-bottom: 5px;
  }

  .recent-stores-panel .compare-panel-heading strong {
    font-size: 12px;
  }

  .recent-store-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    overflow: visible;
  }

  .recent-store-button.compact-recent-store-button {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    min-height: 44px;
    padding: 6px 5px;
    gap: 1px;
    border-color: rgba(117, 200, 255, 0.14);
    background: rgba(10, 18, 32, 0.34);
  }

  .recent-store-button.compact-recent-store-button span {
    overflow: hidden;
    color: #f5fffb;
    font-size: 11.5px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .recent-store-button.compact-recent-store-button .recent-store-area {
    overflow: hidden;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .recent-store-button.compact-recent-store-button .recent-store-meta,
  .recent-store-button.compact-recent-store-button .recent-store-reason {
    display: none;
  }
}

@media (max-width: 560px) {
  .topbar,
  .hero,
  .map-face-section,
  .decision-flow-section,
  .controls-section,
  .map-section,
  .cards-section,
  .notice-band {
    width: 100%;
    max-width: 100%;
  }

  .decision-flow-panel,
  .map-control-deck,
  .radar-panel,
  .selected-panel,
  .mobile-compact-drawer,
  .mobile-filter-drawer,
  .compact-store-card,
  .search-wrap,
  .filter-actions {
    width: 100%;
    overflow: hidden;
  }

  .decision-steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    overflow-x: visible;
    margin-bottom: 0;
  }

  .decision-steps li {
    width: 100%;
    min-width: 0;
    flex: none;
  }

  .decision-chip-row,
  .area-tabs,
  .filter-grid,
  .simple-filter-group,
  .map-mode-buttons,
  .compact-mode-buttons,
  .map-quick-actions,
  .store-flow-tabs {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .decision-flow-section,
  .controls-section {
    padding-block: 10px;
  }

  .decision-flow-section .section-heading,
  .controls-section .section-heading {
    margin-bottom: 8px;
  }

  .decision-flow-section .section-heading p:not(.eyebrow),
  .controls-section .section-heading p:not(.eyebrow) {
    display: none;
  }

  .decision-flow-panel {
    gap: 7px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .decision-flow-panel h3,
  .map-quick-actions > strong {
    display: none;
  }

  .mobile-compact-drawer,
  .mobile-filter-drawer {
    margin-bottom: 8px;
  }

  .drawer-summary {
    min-height: 40px;
    padding: 8px 10px;
  }

  .drawer-body {
    padding: 0 9px 9px;
  }

  .map-purpose-drawer .map-quick-actions,
  .area-filter-drawer .area-tabs,
  .more-filter-drawer .filter-grid {
    margin-bottom: 0;
  }

  .map-control-deck {
    gap: 7px;
    margin-top: 8px;
  }

  .date-tabs,
  .mini-store-strip,
  .compare-store-list {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
  }

  .area-tab,
  .filter-chip,
  .use-case-button,
  .display-mode-button,
  .reference-button,
  .map-quick-button,
  .date-tab {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
  }

  .decision-chip-row .use-case-button,
  .area-tabs .area-tab,
  .filter-grid .filter-chip,
  .simple-filter-group .use-case-button,
  .map-mode-buttons .display-mode-button,
  .store-flow-tabs .display-mode-button {
    flex: 1 1 calc(50% - 8px);
  }

  .map-quick-actions .map-quick-button,
  .compact-mode-buttons .display-mode-button {
    flex: 1 1 calc(33.333% - 8px);
  }

  .selected-primary-actions {
    max-width: 100%;
  }
}

@media (max-width: 390px) {
  .decision-chip-row .use-case-button,
  .area-tabs .area-tab,
  .filter-grid .filter-chip,
  .simple-filter-group .use-case-button,
  .map-mode-buttons .display-mode-button,
  .store-flow-tabs .display-mode-button {
    flex-basis: 100%;
  }

  .map-quick-actions .map-quick-button,
  .compact-mode-buttons .display-mode-button {
    flex-basis: calc(50% - 8px);
  }
}

@media (max-width: 430px) {
  .area-pill {
    max-width: 146px;
    white-space: normal;
    line-height: 1.25;
  }

  h1 {
    font-size: 38px;
  }

  .lead {
    font-size: 15px;
  }

  .hero {
    min-height: 152px;
    padding-top: 14px;
  }

  .hero-actions {
    flex-direction: row;
  }

  .primary-cta,
  .secondary-cta {
    flex: 1 1 136px;
    min-height: 42px;
    min-width: 0;
    padding: 9px 10px;
    font-size: 13px;
  }

  .decision-flow-section,
  .controls-section,
  .map-section,
  .cards-section,
  .notice-band {
    padding-block: 18px;
  }

  .map-face-section {
    padding-block: 6px 14px;
  }

  .topbar {
    min-height: 50px;
  }

  .radar-panel {
    padding: 9px;
  }

  .radar-topbar {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }

  .quick-date-panel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    width: 100%;
    max-width: none;
    padding: 7px 8px;
  }

  .quick-date-select {
    min-height: 32px;
    font-size: 12px;
  }

  .radar-topbar h1 {
    font-size: clamp(28px, 8vw, 34px);
  }

  .map-title-note {
    font-size: 11px;
  }

  .radar-status span {
    min-height: 22px;
    font-size: 10px;
  }

  .date-tabs-panel,
  .map-mode-panel {
    gap: 8px;
  }

  .selected-date-row {
    align-items: flex-start;
  }

  .selected-date-display {
    font-size: 13px;
    padding-inline: 9px;
  }

  .date-change-button {
    min-width: 112px;
    padding-inline: 9px;
  }

  .map-mode-panel p {
    display: none;
  }

  .radar-touch-hint {
    margin-bottom: 7px;
  }

  .map-control-deck {
    margin-top: 8px;
  }

  .selected-panel {
    padding: 10px;
  }

  .compact-selected-title-row {
    gap: 8px;
  }

  .compact-selected-title-row h3 {
    font-size: 16px;
  }

  .pin-reason-inline {
    flex-direction: column;
    gap: 3px;
    padding: 7px 8px;
  }

  .selected-primary-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .selected-primary-actions button,
  .selected-primary-actions a {
    min-height: 38px;
    padding-inline: 8px;
  }

  .map-compare-panels {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .map-after-copy {
    font-size: 12px;
  }

  .decision-flow-panel {
    padding: 10px;
  }

  .use-case-button,
  .filter-chip,
  .display-mode-button,
  .reference-button {
    min-height: 36px;
    font-size: 12px;
  }

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

  .mini-store-strip,
  .compare-store-list {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .recent-store-button,
  .compare-store-card {
    flex: 0 0 230px;
  }

  .compact-store-card {
    padding: 11px;
  }

  .fit-meter {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fit {
    padding: 5px;
    font-size: 11px;
  }

  .fit strong {
    font-size: 12px;
  }

  .radar-panel {
    padding: 10px;
  }

  .controls-section,
  .map-section,
  .cards-section,
  .notice-band {
    padding-inline: 14px;
  }
}

/* 2026-05-27: 店舗カード内の理由タグが下端で切れないようにする */
.store-list,
.area-card-group-body {
  align-items: start;
  grid-auto-rows: auto;
}

.store-card,
.compact-store-card {
  height: auto;
  min-height: 0;
  align-content: start;
}

.compact-store-card,
.compact-store-card .reason-summary,
.compact-store-card .compact-reasons,
.compact-store-card .tag-row {
  overflow: visible;
}

.compact-store-card > *,
.compact-reasons,
.compact-reasons .tag-row {
  min-width: 0;
  max-width: 100%;
}

.compact-reasons .tag-row {
  align-items: flex-start;
  padding-bottom: 2px;
}

.compact-reasons .tag,
.compact-store-card .tag.strong {
  height: auto;
  max-height: none;
  min-height: 30px;
  padding: 5px 8px;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 560px) {
  .compact-store-card {
    overflow: visible;
  }

  .compact-reasons .tag {
    min-height: 32px;
  }
}

.mobile-candidate-toggle,
.mobile-candidate-close {
  display: none;
}

.mobile-candidate-toggle[hidden] {
  display: none !important;
}

@media (max-width: 759px) {
  body.mobile-candidates-open {
    overflow: hidden;
  }

  body.mobile-candidates-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 68;
    background: rgba(0, 0, 0, 0.48);
  }

  .topbar {
    min-height: 48px;
    padding: 7px 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .brand-text {
    font-size: 16px;
  }

  .beta {
    padding: 1px 6px;
    font-size: 11px;
  }

  .area-pill {
    display: none;
  }

  .map-face-section {
    min-height: calc(100svh - 48px);
    padding: 6px 8px 92px;
  }

  .radar-panel {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    min-height: calc(100svh - 62px);
    padding: 8px;
    overflow: visible;
  }

  .radar-panel::before,
  .brand-accent,
  .radar-topbar,
  .radar-status,
  .radar-touch-hint,
  .map-control-deck,
  .map-compare-panels,
  .map-after-copy,
  .location-note,
  .decision-flow-section,
  .controls-section,
  .notice-band {
    display: none !important;
  }

  .decision-bar {
    position: sticky;
    top: 48px;
    z-index: 64;
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 6px;
    margin: -1px -1px 8px;
    padding: 7px;
    width: 100%;
    max-width: calc(100vw - 18px);
    border-color: rgba(75, 199, 177, 0.36);
    background: rgba(10, 17, 22, 0.96);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(16px);
    overflow: visible;
  }

  .decision-bar::before {
    content: "神打";
    color: #f2f6f5;
    font-size: 12px;
    font-weight: 950;
    line-height: 1.1;
    white-space: nowrap;
  }

  .decision-control {
    flex: none;
    min-width: 0;
  }

  .decision-control:nth-child(n+3) {
    display: none;
  }

  .decision-control span {
    display: none;
  }

  .decision-control select,
  .quick-date-select {
    min-height: 36px;
    padding: 6px 26px 6px 8px;
    font-size: 12px;
    line-height: 1.15;
  }

  .cockpit-stage,
  .map-main-column {
    min-height: 0;
  }

  .map-intel-row {
    display: grid;
    gap: 5px;
    margin: 0 0 6px;
  }

  .map-intel-row p {
    font-size: 12px;
    line-height: 1.25;
  }

  .area-counts {
    display: none;
  }

  .radar-map {
    width: 100%;
    max-width: none;
    height: clamp(430px, calc(100svh - 178px), 640px);
    min-height: 0;
    margin: 0;
    border-color: rgba(117, 200, 255, 0.28);
  }

  .ring span,
  .sector,
  .area-label {
    transform: scale(0.9);
    transform-origin: center;
  }

  .you {
    width: 52px;
    height: 52px;
    font-size: 10px;
  }

  .map-pin {
    width: 28px;
    height: 28px;
  }

  .map-pin.non-focus-pin {
    width: 22px;
    height: 22px;
    opacity: 0.68;
  }

  .map-pin.selected,
  .map-pin-wrap.selected .map-pin {
    width: 34px;
    height: 34px;
  }

  .pin-label {
    top: -34px;
    max-width: 140px;
    font-size: 10px;
  }

  .mobile-candidate-toggle {
    position: fixed;
    left: 50%;
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 66;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 164px;
    min-height: 46px;
    padding: 10px 18px;
    border: 1px solid rgba(57, 215, 182, 0.62);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(57, 215, 182, 0.96), rgba(104, 185, 238, 0.88));
    color: #071311;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.16) inset;
    font-size: 14px;
    font-weight: 950;
    transform: translateX(-50%);
    touch-action: manipulation;
  }

  body.has-mobile-selection .mobile-candidate-toggle {
    display: none;
  }

  body.mobile-candidates-open .mobile-candidate-toggle {
    display: none;
  }

  .cards-section {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 75;
    display: block;
    max-height: min(86svh, 720px);
    padding: 14px 10px calc(18px + env(safe-area-inset-bottom));
    overflow: auto;
    overscroll-behavior: contain;
    border-top: 1px solid rgba(57, 215, 182, 0.46);
    border-radius: 14px 14px 0 0;
    background: linear-gradient(180deg, rgba(16, 25, 32, 0.98), rgba(8, 13, 18, 0.99));
    box-shadow: 0 -24px 70px rgba(0, 0, 0, 0.58);
    transform: translateY(110%);
    transition: transform 180ms ease;
  }

  body.mobile-candidates-open .cards-section {
    transform: translateY(0);
  }

  .cards-section::before {
    content: "";
    position: sticky;
    top: 0;
    z-index: 2;
    display: block;
    width: 46px;
    height: 4px;
    margin: 0 auto 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
  }

  .mobile-candidate-close {
    position: sticky;
    top: 8px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    margin: 0 0 8px auto;
    padding: 8px 12px;
    border: 1px solid rgba(117, 200, 255, 0.26);
    border-radius: 999px;
    background: rgba(10, 18, 24, 0.92);
    color: #eafff9;
    font-size: 12px;
    font-weight: 900;
  }

  .cards-section .section-heading {
    position: sticky;
    top: 48px;
    z-index: 4;
    margin: 0 0 10px;
    padding: 0 0 10px;
    background: linear-gradient(180deg, rgba(16, 25, 32, 0.98), rgba(16, 25, 32, 0.9));
  }

  .cards-section .section-heading .eyebrow {
    display: none;
  }

  .cards-section .section-heading h2 {
    font-size: 20px;
  }

  .candidate-toolbar {
    display: grid;
    gap: 8px;
    margin-top: 8px;
  }

  .candidate-toolbar p {
    font-size: 12px;
  }

  .candidate-toolbar .store-flow-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
  }

  .candidate-toolbar .display-mode-button,
  .candidate-toolbar .candidate-filter-button {
    min-height: 36px;
    padding: 6px;
    font-size: 11px;
    line-height: 1.2;
  }

  .store-list {
    gap: 10px;
  }

  .card-group-heading {
    padding: 9px 10px;
  }

  .card-group-heading h3 {
    font-size: 15px;
  }

  .card-group-heading p {
    font-size: 12px;
    line-height: 1.45;
  }

  .compact-store-card {
    gap: 8px;
    padding: 10px;
    overflow: visible;
  }

  .compact-card-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
  }

  .compact-card-title h3 {
    font-size: 17px;
    line-height: 1.25;
  }

  .compact-card-signal {
    gap: 4px;
  }

  .compact-store-card .reason-summary {
    gap: 5px;
    padding: 8px;
  }

  .compact-store-card .reason-summary .tag:nth-child(n+3) {
    display: none;
  }

  .compact-reasons .tag,
  .compact-store-card .tag.strong {
    min-height: 28px;
    padding: 4px 7px;
    font-size: 11px;
  }

  .compact-facts {
    max-height: 64px;
    overflow: hidden;
  }

  .compact-actions,
  .selected-primary-actions,
  .mobile-map-selection-sheet .selected-primary-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px;
  }

  .compact-actions button,
  .compact-actions a,
  .selected-primary-actions button,
  .selected-primary-actions a {
    min-height: 40px;
    padding: 7px 8px;
    font-size: 12px;
    line-height: 1.25;
    white-space: normal;
  }

  .pending-store-section {
    display: none;
  }

  .mobile-map-selection-sheet:not([hidden]) {
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 72;
    max-height: min(74svh, 560px);
    padding: 16px 10px 10px;
    overflow: auto;
    border-radius: 14px;
  }

  .mobile-map-selection-sheet [data-sheet-expanded="false"] .selected-pin-note,
  .mobile-map-selection-sheet [data-sheet-expanded="false"] .selected-card-button,
  .mobile-map-selection-sheet [data-sheet-expanded="false"] .selected-store-link {
    display: none;
  }

  .mobile-map-selection-sheet [data-sheet-expanded="false"] .selected-reason-lines {
    max-height: 42px;
  }

  .mobile-map-selection-sheet [data-sheet-expanded="false"] .selected-quick-badges {
    max-height: 58px;
    overflow: hidden;
  }

  .mobile-map-selection-sheet [data-sheet-expanded="true"] {
    padding-bottom: 4px;
  }

  .mobile-map-selection-sheet .selected-detail-panel {
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 390px) {
  .decision-bar {
    grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1fr);
    gap: 5px;
    padding: 6px;
  }

  .decision-bar::before {
    font-size: 13px;
  }

  .decision-control select,
  .quick-date-select {
    min-height: 34px;
    padding-inline: 7px 23px;
    font-size: 11px;
  }

  .radar-map {
    height: clamp(404px, calc(100svh - 170px), 610px);
  }

  .candidate-toolbar .store-flow-tabs {
    grid-template-columns: 1fr;
  }

  .compact-actions,
  .selected-primary-actions,
  .mobile-map-selection-sheet .selected-primary-actions {
    grid-template-columns: 1fr !important;
  }
}

/* Kamiuchi wa-luxury theme: lacquer black, gold, vermilion. */
:root {
  --bg: #0A0A0B;
  --panel: #1A1A1F;
  --panel-2: #111118;
  --line: rgba(212, 175, 55, 0.28);
  --text: #F5F0E8;
  --muted: rgba(245, 240, 232, 0.68);
  --soft: rgba(245, 240, 232, 0.48);
  --mint: #D4AF37;
  --amber: #D4AF37;
  --coral: #C0392B;
  --sky: #C0C0C0;
  --green: #4A7C59;
  --shadow: rgba(0, 0, 0, 0.48);
  --kamiuchi-black: #0A0A0B;
  --kamiuchi-map: #0F0F14;
  --kamiuchi-panel: #111118;
  --kamiuchi-sumi: #1A1A1F;
  --kamiuchi-gold: #D4AF37;
  --kamiuchi-gold-bright: #FFD700;
  --kamiuchi-vermilion: #C0392B;
  --kamiuchi-silver: #C0C0C0;
  --kamiuchi-washi: #F5F0E8;
  --rank-sss: #FFD700;
  --rank-gold: #D4AF37;
  --rank-silver: #C0C0C0;
  --rank-vermilion: #C0392B;
  --rank-deepgreen: #4A7C59;
  --rank-gray: #3A3A3F;
  --rank-white: #4A7C59;
  --rank-green: #C0392B;
  --tap-ring: rgba(212, 175, 55, 0.28);
}

body {
  background:
    radial-gradient(circle at 50% -12%, rgba(212, 175, 55, 0.10), transparent 28%),
    linear-gradient(180deg, #0A0A0B 0%, #0F0F14 52%, #0A0A0B 100%);
  color: var(--kamiuchi-washi);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.topbar {
  border-bottom: 1px solid rgba(212, 175, 55, 0.54);
  background: rgba(10, 10, 11, 0.97);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.44);
}

.brand-text,
.radar-topbar h1,
.section-heading h2,
.compact-card-title h3,
.selected-store-name,
.store-card h3,
.mobile-candidate-toggle {
  font-family: "Noto Serif JP", "Noto Sans JP", serif;
  font-weight: 900;
}

.brand-text {
  color: var(--kamiuchi-gold);
  text-shadow: 0 0 22px rgba(212, 175, 55, 0.24);
}

.brand-mark {
  border-color: rgba(212, 175, 55, 0.72);
  background:
    radial-gradient(circle at 36% 24%, rgba(255, 215, 0, 0.22), transparent 34%),
    #0A0A0B;
  color: var(--kamiuchi-gold);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.18) inset;
}

.beta {
  border: 1px solid rgba(245, 240, 232, 0.55);
  border-radius: 0;
  background: var(--kamiuchi-vermilion);
  color: var(--kamiuchi-washi);
  font-family: "Noto Serif JP", serif;
  box-shadow: none;
}

.area-pill {
  border-color: rgba(212, 175, 55, 0.32);
  background: rgba(26, 26, 31, 0.76);
  color: rgba(245, 240, 232, 0.78);
}

.map-face-section,
.decision-flow-section,
.cards-section,
.controls-section,
.notice-band {
  background: transparent;
}

.radar-panel,
.decision-flow-panel,
.selected-panel,
.recent-stores-panel,
.compare-tray {
  border-color: rgba(212, 175, 55, 0.24);
  background:
    linear-gradient(180deg, rgba(26, 26, 31, 0.94), rgba(17, 17, 24, 0.96)),
    var(--kamiuchi-panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.brand-accent {
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.74), rgba(192, 57, 43, 0.54), transparent);
}

.radar-topbar .eyebrow,
.section-heading .eyebrow,
.decision-result-title,
.radar-status span,
#map-count-summary {
  color: var(--kamiuchi-gold);
}

.radar-topbar h1 {
  color: var(--kamiuchi-washi);
  letter-spacing: 0;
  text-shadow: 0 0 28px rgba(212, 175, 55, 0.16);
}

.map-title-note,
.radar-touch-hint,
.candidate-toolbar p,
.compact-card-title p,
.selected-area-label,
.pin-reason-inline,
.notice-band,
.map-after-copy {
  color: var(--muted);
}

.decision-bar {
  border-color: rgba(212, 175, 55, 0.34);
  background:
    linear-gradient(180deg, rgba(26, 26, 31, 0.94), rgba(10, 10, 11, 0.92));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

.decision-control span {
  color: rgba(212, 175, 55, 0.86);
}

.decision-control select,
.quick-date-select,
input {
  border-color: rgba(212, 175, 55, 0.42);
  background-color: var(--kamiuchi-sumi);
  color: var(--kamiuchi-washi);
}

.decision-control select:focus,
.quick-date-select:focus,
button:focus-visible,
a:focus-visible {
  outline: 2px solid rgba(255, 215, 0, 0.64);
  outline-offset: 2px;
}

.radar-map {
  border-color: rgba(212, 175, 55, 0.24);
  background-color: var(--kamiuchi-map);
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.08) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(212, 175, 55, 0.06), transparent 58%);
  background-size: 34px 34px, 34px 34px, 100% 100%;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.10) inset,
    0 26px 90px rgba(0, 0, 0, 0.48);
}

.radar-map::before {
  opacity: 0.18;
  background: conic-gradient(from 0deg, transparent, rgba(212, 175, 55, 0.18), transparent 26%);
}

.ring {
  border-color: rgba(212, 175, 55, 0.15);
}

.axis {
  background: rgba(212, 175, 55, 0.14);
}

.sector {
  color: rgba(212, 175, 55, 0.72);
}

.area-label {
  color: rgba(245, 240, 232, 0.14);
  text-shadow: none;
}

.you {
  border-color: rgba(212, 175, 55, 0.66);
  background: #0A0A0B;
  color: var(--kamiuchi-gold);
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.24);
}

.sign-rank-sss {
  --rank-accent: #FFD700;
  --hadkan-color: #FFD700;
  --hadkan-text: #0A0A0B;
  --hadkan-pin-bg: radial-gradient(circle at 34% 22%, #fff8c7 0 12%, #FFD700 34%, #D4AF37 64%, #7a3d09 100%);
  --hadkan-pin-border: #fff0a4;
  --hadkan-glow: rgba(255, 215, 0, 0.58);
}

.sign-rank-ss {
  --rank-accent: #D4AF37;
  --hadkan-color: #D4AF37;
  --hadkan-text: #0A0A0B;
  --hadkan-pin-bg: linear-gradient(135deg, #f5df88, #D4AF37 54%, #8f681f);
  --hadkan-pin-border: #f3d777;
  --hadkan-glow: rgba(212, 175, 55, 0.40);
}

.sign-rank-s {
  --rank-accent: #C0C0C0;
  --hadkan-color: #C0C0C0;
  --hadkan-text: #0A0A0B;
  --hadkan-pin-bg: linear-gradient(135deg, #ffffff, #C0C0C0 55%, #6f7378);
  --hadkan-pin-border: #f1f1f1;
  --hadkan-glow: rgba(192, 192, 192, 0.34);
}

.sign-rank-a {
  --rank-accent: #C0392B;
  --hadkan-color: #C0392B;
  --hadkan-text: #F5F0E8;
  --hadkan-pin-bg: linear-gradient(135deg, #e06956, #C0392B 58%, #6e1e17);
  --hadkan-pin-border: #f1a092;
  --hadkan-glow: rgba(192, 57, 43, 0.40);
}

.sign-rank-b {
  --rank-accent: #4A7C59;
  --hadkan-color: #4A7C59;
  --hadkan-text: #F5F0E8;
  --hadkan-pin-bg: linear-gradient(135deg, #6f9b79, #4A7C59 58%, #1f3c2a);
  --hadkan-pin-border: #98bd9e;
  --hadkan-glow: rgba(74, 124, 89, 0.38);
}

.sign-rank-c {
  --rank-accent: #3A3A3F;
  --hadkan-color: #3A3A3F;
  --hadkan-text: #F5F0E8;
  --hadkan-pin-bg: linear-gradient(135deg, #6b6b70, #3A3A3F 60%, #17171b);
  --hadkan-pin-border: #77777d;
  --hadkan-glow: rgba(58, 58, 63, 0.34);
}

.map-pin {
  width: 38px;
  height: 38px;
  border-radius: 0 !important;
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
  transform: translateZ(0);
}

.map-pin.sign-pin {
  border: 1px solid var(--hadkan-pin-border, rgba(212, 175, 55, 0.64));
  background: var(--hadkan-pin-bg, #3A3A3F);
  color: var(--hadkan-text, #F5F0E8);
  box-shadow:
    0 0 0 2px rgba(10, 10, 11, 0.88),
    0 0 18px var(--hadkan-glow, rgba(212, 175, 55, 0.20));
}

.map-pin::after {
  display: none;
}

.map-pin.sign-pin.sign-rank-sss {
  animation: kamiuchiGoldPulse 2s ease-in-out infinite;
}

.map-pin.sign-pin.sign-rank-ss {
  box-shadow:
    0 0 0 2px rgba(10, 10, 11, 0.88),
    0 0 18px rgba(212, 175, 55, 0.42),
    0 0 34px rgba(212, 175, 55, 0.20);
}

.map-pin.sign-pin.sign-rank-s {
  box-shadow:
    0 0 0 2px rgba(10, 10, 11, 0.88),
    0 0 18px rgba(192, 192, 192, 0.30);
}

.pin-number {
  font-family: "Cinzel", serif;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  transform: none;
}

.map-pin.sign-rank-sss .pin-number {
  font-size: 8px;
}

.map-pin.sign-rank-ss .pin-number {
  font-size: 9px;
}

.map-pin.non-focus-pin {
  opacity: 0.78;
}

.map-pin.selected,
.map-pin-wrap.selected .map-pin,
.map-pin-wrap:hover .map-pin,
.map-pin-wrap:focus-within .map-pin {
  transform: translateZ(0) scale(1.08);
}

.map-pin-wrap.selected .map-pin {
  box-shadow:
    0 0 0 3px rgba(10, 10, 11, 0.88),
    0 0 0 5px rgba(245, 240, 232, 0.18),
    0 0 30px var(--hadkan-glow, rgba(212, 175, 55, 0.26));
}

.pin-label {
  border-color: rgba(212, 175, 55, 0.26);
  background: rgba(10, 10, 11, 0.88);
  color: var(--kamiuchi-washi);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.40);
}

.legend-dot.rank-sss,
.legend-dot.hadkan-rainbow {
  background: #FFD700;
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.62);
}

.legend-dot.rank-gold {
  background: #D4AF37;
}

.legend-dot.rank-silver {
  background: #C0C0C0;
}

.legend-dot.rank-vermilion {
  background: #C0392B;
}

.legend-dot.rank-deepgreen,
.legend-dot.rank-white {
  background: #4A7C59;
}

.legend-dot.rank-gray {
  background: #3A3A3F;
}

.sign-scale-item {
  border-color: rgba(212, 175, 55, 0.22);
  background: rgba(10, 10, 11, 0.42);
}

.sign-scale-item strong,
.sign-rank-label,
.pin-number {
  font-family: "Cinzel", serif;
}

.sign-rank-badge,
.card-sign-badge,
.selected-hadkan-badge {
  border-color: color-mix(in srgb, var(--rank-accent, #D4AF37) 76%, #F5F0E8 8%);
  background:
    radial-gradient(circle at 24% 20%, color-mix(in srgb, var(--rank-accent, #D4AF37) 24%, transparent), transparent 48%),
    rgba(10, 10, 11, 0.74);
  color: var(--kamiuchi-washi);
  box-shadow:
    0 0 0 1px rgba(245, 240, 232, 0.05) inset,
    0 0 18px color-mix(in srgb, var(--rank-accent, #D4AF37) 22%, transparent);
}

.sign-rank-badge.sign-rank-sss {
  animation: kamiuchiBadgePulse 2s ease-in-out infinite;
}

.sign-rank-caption {
  color: rgba(245, 240, 232, 0.62);
}

.sign-rank-label {
  color: var(--rank-accent, #D4AF37);
  text-shadow: 0 0 14px color-mix(in srgb, var(--rank-accent, #D4AF37) 34%, transparent);
}

.store-card,
.compact-store-card,
.pending-store-card,
.compare-store-card {
  border-color: rgba(212, 175, 55, 0.20);
  border-left: 4px solid var(--rank-accent, rgba(212, 175, 55, 0.54));
  background:
    linear-gradient(180deg, rgba(26, 26, 31, 0.96), rgba(17, 17, 24, 0.98));
  color: var(--kamiuchi-washi);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
}

.store-card:hover,
.compact-store-card:hover {
  border-color: rgba(212, 175, 55, 0.38);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.44), 0 0 22px color-mix(in srgb, var(--rank-accent, #D4AF37) 10%, transparent);
}

.selected-mini-card,
.mobile-map-selection-sheet .compact-selected-card {
  border-color: rgba(212, 175, 55, 0.24);
  border-top: 4px solid var(--rank-accent, #D4AF37);
  background:
    radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--rank-accent, #D4AF37) 12%, transparent), transparent 44%),
    #111118;
  color: var(--kamiuchi-washi);
}

.mobile-map-selection-sheet:not([hidden]) {
  border-color: rgba(212, 175, 55, 0.28);
  background: #111118;
  box-shadow: 0 -26px 78px rgba(0, 0, 0, 0.64);
  animation: kamiuchiSheetIn 0.3s ease both;
}

.tag,
.attribute-badge,
.count-chip,
.major-badge,
.status-badge,
.selected-status-badge,
.access-chip {
  border-color: rgba(212, 175, 55, 0.28);
  background: rgba(10, 10, 11, 0.52);
  color: rgba(245, 240, 232, 0.84);
}

.tag.strong,
.attribute-badge {
  border-color: rgba(192, 57, 43, 0.46);
  color: var(--kamiuchi-washi);
}

.primary-cta,
.select-button,
.selected-detail-button,
.selected-compare-button,
.selected-card-button,
.compare-add-button,
.detail-toggle-button,
.mobile-candidate-toggle {
  border-color: rgba(255, 215, 0, 0.42);
  background: var(--kamiuchi-gold);
  color: var(--kamiuchi-black);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34), 0 0 18px rgba(212, 175, 55, 0.14);
}

.primary-cta:hover,
.select-button:hover,
.selected-detail-button:hover,
.selected-compare-button:hover,
.selected-card-button:hover,
.compare-add-button:hover,
.detail-toggle-button:hover,
.mobile-candidate-toggle:hover {
  background: var(--kamiuchi-gold-bright);
  color: var(--kamiuchi-black);
}

.secondary-cta,
.reference-button,
.display-mode-button,
.candidate-filter-button,
.mobile-candidate-close,
.selected-store-link,
.map-reset-button {
  border-color: rgba(212, 175, 55, 0.40);
  background: rgba(10, 10, 11, 0.62);
  color: var(--kamiuchi-washi);
}

.store-flow-tabs,
.candidate-toolbar,
.card-group-heading,
.sign-explain {
  border-color: rgba(212, 175, 55, 0.20);
  background: rgba(10, 10, 11, 0.38);
}

@keyframes kamiuchiGoldPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 2px rgba(10, 10, 11, 0.90),
      0 0 18px rgba(255, 215, 0, 0.48),
      0 0 34px rgba(255, 215, 0, 0.22);
    filter: brightness(1);
  }
  50% {
    box-shadow:
      0 0 0 2px rgba(10, 10, 11, 0.90),
      0 0 28px rgba(255, 215, 0, 0.80),
      0 0 58px rgba(255, 215, 0, 0.34);
    filter: brightness(1.12);
  }
}

@keyframes kamiuchiBadgePulse {
  0%,
  100% {
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.22);
  }
  50% {
    box-shadow: 0 0 28px rgba(255, 215, 0, 0.44);
  }
}

@keyframes kamiuchiSheetIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 759px) {
  .topbar {
    border-bottom-color: rgba(212, 175, 55, 0.54);
    background: rgba(10, 10, 11, 0.98);
  }

  .decision-bar {
    border-color: rgba(212, 175, 55, 0.34);
    background: rgba(10, 10, 11, 0.96);
  }

  .decision-bar::before {
    content: "神打";
    color: var(--kamiuchi-washi);
    font-family: "Noto Serif JP", serif;
    font-size: 12px;
    font-weight: 900;
  }

  .radar-map {
    border-color: rgba(212, 175, 55, 0.24);
  }

  .map-pin {
    width: 30px;
    height: 30px;
  }

  .map-pin-wrap::before {
    inset: -14px;
  }

  .map-pin.non-focus-pin {
    width: 24px;
    height: 24px;
  }

  .map-pin.selected,
  .map-pin-wrap.selected .map-pin {
    width: 36px;
    height: 36px;
  }

  .pin-number {
    font-size: 8px;
  }

  .map-pin.sign-rank-sss .pin-number {
    font-size: 7px;
  }

  .mobile-candidate-toggle {
    border-radius: 999px;
    background: var(--kamiuchi-gold);
    color: var(--kamiuchi-black);
    font-family: "Noto Serif JP", serif;
  }

  .cards-section {
    border-top-color: rgba(212, 175, 55, 0.34);
    background: #0A0A0B;
    transition: transform 0.3s ease;
  }

  .cards-section::before {
    background: rgba(212, 175, 55, 0.54);
  }

  .cards-section .section-heading {
    background: linear-gradient(180deg, rgba(10, 10, 11, 0.98), rgba(10, 10, 11, 0.88));
  }
}

.map-pin.sign-pin.sign-rank-sss {
  border-color: #fff0a4 !important;
  background: radial-gradient(circle at 34% 22%, #fff8c7 0 12%, #FFD700 34%, #D4AF37 64%, #7a3d09 100%) !important;
  color: #0A0A0B !important;
  box-shadow:
    0 0 0 2px rgba(10, 10, 11, 0.90),
    0 0 18px rgba(255, 215, 0, 0.48),
    0 0 34px rgba(255, 215, 0, 0.22) !important;
  animation: kamiuchiGoldPulse 2s ease-in-out infinite !important;
}

.map-pin.sign-pin.sign-rank-ss {
  border-color: #f3d777 !important;
  background: linear-gradient(135deg, #f5df88, #D4AF37 54%, #8f681f) !important;
  color: #0A0A0B !important;
  box-shadow:
    0 0 0 2px rgba(10, 10, 11, 0.88),
    0 0 18px rgba(212, 175, 55, 0.42),
    0 0 34px rgba(212, 175, 55, 0.20) !important;
}

.map-pin.sign-pin.sign-rank-s {
  border-color: #f1f1f1 !important;
  background: linear-gradient(135deg, #ffffff, #C0C0C0 55%, #6f7378) !important;
  color: #0A0A0B !important;
  box-shadow:
    0 0 0 2px rgba(10, 10, 11, 0.88),
    0 0 18px rgba(192, 192, 192, 0.30) !important;
}

.map-pin.sign-pin.sign-rank-a {
  border-color: #f1a092 !important;
  background: linear-gradient(135deg, #e06956, #C0392B 58%, #6e1e17) !important;
  color: #F5F0E8 !important;
  box-shadow:
    0 0 0 2px rgba(10, 10, 11, 0.88),
    0 0 18px rgba(192, 57, 43, 0.36) !important;
}

.map-pin.sign-pin.sign-rank-b {
  border-color: #98bd9e !important;
  background: linear-gradient(135deg, #6f9b79, #4A7C59 58%, #1f3c2a) !important;
  color: #F5F0E8 !important;
  box-shadow:
    0 0 0 2px rgba(10, 10, 11, 0.88),
    0 0 18px rgba(74, 124, 89, 0.34) !important;
}

.map-pin.sign-pin.sign-rank-c {
  border-color: #77777d !important;
  background: linear-gradient(135deg, #6b6b70, #3A3A3F 60%, #17171b) !important;
  color: #F5F0E8 !important;
  box-shadow:
    0 0 0 2px rgba(10, 10, 11, 0.88),
    0 0 14px rgba(192, 192, 192, 0.16) !important;
}

.map-pin.sign-pin.selected,
.map-pin-wrap.selected .map-pin.sign-pin {
  animation: none !important;
  box-shadow:
    0 0 0 3px rgba(10, 10, 11, 0.92),
    0 0 0 5px rgba(245, 240, 232, 0.16),
    0 0 30px color-mix(in srgb, var(--rank-accent, #D4AF37) 38%, transparent) !important;
}

.map-pin.sign-pin.sign-rank-sss.selected,
.map-pin-wrap.selected .map-pin.sign-pin.sign-rank-sss {
  animation: kamiuchiGoldPulse 2s ease-in-out infinite !important;
}

.reason-summary,
.compact-selected-reasons {
  border-color: rgba(212, 175, 55, 0.24) !important;
  background: rgba(15, 15, 20, 0.74) !important;
}

.display-mode-button.active,
.candidate-filter-button.active,
.filter-chip.active,
.area-tab.active,
.date-tab.active {
  border-color: rgba(212, 175, 55, 0.72) !important;
  background: rgba(212, 175, 55, 0.16) !important;
  color: var(--kamiuchi-washi) !important;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.12) !important;
}

.compact-actions .select-button,
.selected-primary-actions .selected-detail-button {
  border-color: rgba(255, 215, 0, 0.46) !important;
  background: var(--kamiuchi-gold) !important;
  color: var(--kamiuchi-black) !important;
}

.compact-actions .detail-toggle-button,
.compact-actions .compare-add-button,
.selected-primary-actions .selected-compare-button,
.selected-primary-actions .selected-card-button,
.selected-primary-actions .selected-store-link {
  border-color: rgba(212, 175, 55, 0.46) !important;
  background: rgba(10, 10, 11, 0.68) !important;
  color: var(--kamiuchi-washi) !important;
}

@media (max-width: 759px) {
  .mobile-map-selection-sheet [data-sheet-expanded="false"] .selected-reason-lines {
    max-height: none;
    overflow: visible;
  }

  .mobile-map-selection-sheet [data-sheet-expanded="false"] .selected-reason-lines .tag:nth-child(n+3) {
    display: none;
  }
}

.kamiuchi-hero-lockup {
  display: grid;
  gap: 4px;
  margin: 0;
}

/* 2026-05-28: PCのMAP選択カードで理由タグ2行目が切れないようにする */
.selected-panel .selected-mini-card,
.selected-panel .compact-selected-card,
.selected-panel .compact-selected-reasons,
.selected-panel .selected-reason-lines {
  height: auto;
  max-height: none;
  overflow: visible;
}

.selected-panel .selected-reason-lines {
  align-items: flex-start;
  padding-bottom: 4px;
}

.selected-panel .selected-reason-lines .tag {
  min-height: 30px;
  height: auto;
  max-height: none;
  padding: 5px 9px;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* 2026-05-28: モバイル選択カードを1枚のボトムシートに統一 */
@media (max-width: 759px) {
  body.has-mobile-selection {
    overflow-x: hidden;
  }

  body.has-mobile-selection::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 68;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 44%, rgba(0, 0, 0, 0.48) 100%);
  }

  .selection-priority-panel,
  .selection-priority-panel.has-selection {
    display: none !important;
  }

  .kanto-renewal-page .map-face-section {
    padding-bottom: 0 !important;
  }

  .radar-panel {
    min-height: calc(100svh - 58px);
  }

  .radar-map {
    height: clamp(430px, calc(100svh - 112px), 720px) !important;
    min-height: 430px !important;
  }

  .mobile-map-selection-sheet:not([hidden]) {
    display: block !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 75 !important;
    width: 100% !important;
    max-height: min(68svh, 620px) !important;
    margin: 0 !important;
    padding: 12px 16px calc(16px + env(safe-area-inset-bottom)) !important;
    overflow: auto !important;
    overscroll-behavior: contain !important;
    border: 1px solid rgba(212, 175, 55, 0.28) !important;
    border-bottom: 0 !important;
    border-radius: 16px 16px 0 0 !important;
    background: #111111 !important;
    box-shadow:
      0 -18px 52px rgba(0, 0, 0, 0.74),
      0 -1px 22px rgba(212, 175, 55, 0.14) !important;
    animation: mobileKamiuchiSheetIn 0.3s ease both !important;
    backdrop-filter: blur(16px);
  }

  .mobile-map-selection-sheet .mobile-sheet-card {
    display: grid;
    gap: 10px;
    min-width: 0;
    padding: 0 !important;
    border: 0 !important;
    border-top: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #F5F0E8;
  }

  .mobile-sheet-grip {
    width: 46px;
    height: 4px;
    margin: 0 auto 2px;
    border-radius: 999px;
    background: rgba(245, 240, 232, 0.28);
  }

  .mobile-sheet-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38px;
    gap: 12px;
    align-items: start;
  }

  .mobile-sheet-eyebrow {
    margin: 0 0 4px;
    color: #D4AF37;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
  }

  .mobile-sheet-store-name {
    margin: 0;
    color: #D4AF37;
    font-family: "Noto Serif JP", serif;
    font-size: clamp(20px, 5.6vw, 26px) !important;
    font-weight: 900;
    line-height: 1.16 !important;
    letter-spacing: 0;
  }

  .mobile-sheet-store-id {
    margin: 6px 0 0;
    color: rgba(245, 240, 232, 0.46);
    font-size: 10px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .mobile-sheet-close {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    border-color: rgba(212, 175, 55, 0.34) !important;
    background: rgba(10, 10, 11, 0.62) !important;
    color: #F5F0E8 !important;
  }

  .mobile-rank-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 72px;
    padding: 9px 12px;
    border: 1px solid color-mix(in srgb, var(--rank-accent, #D4AF37) 56%, transparent);
    border-left: 5px solid var(--rank-accent, #D4AF37);
    border-radius: 12px;
    background:
      radial-gradient(circle at 100% 20%, color-mix(in srgb, var(--rank-accent, #D4AF37) 18%, transparent), transparent 42%),
      rgba(26, 26, 31, 0.78);
  }

  .mobile-rank-hero span {
    color: rgba(245, 240, 232, 0.72);
    font-size: 12px;
    font-weight: 800;
  }

  .mobile-rank-hero strong {
    color: var(--rank-accent, #D4AF37);
    font-family: "Cinzel", serif;
    font-size: clamp(30px, 9.8vw, 42px);
    font-weight: 900;
    line-height: 0.9;
    text-shadow: 0 0 22px color-mix(in srgb, var(--rank-accent, #D4AF37) 38%, transparent);
  }

  .mobile-rank-hero.sign-rank-sss {
    animation: kamiuchiGoldPulse 2s ease-in-out infinite;
  }

  .mobile-tag-row,
  .mobile-reason-box .tag-row,
  .mobile-machine-section {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
    overflow: visible !important;
    max-height: none !important;
  }

  .mobile-tag-row .attribute-badge,
  .mobile-reason-box .tag,
  .mobile-machine-section .mt-tag {
    min-height: 28px !important;
    height: auto !important;
    padding: 5px 8px !important;
    border-radius: 8px;
    font-size: 12px !important;
    line-height: 1.3 !important;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .mobile-reason-box {
    display: grid;
    gap: 7px;
    padding: 10px !important;
    border: 1px solid rgba(212, 175, 55, 0.22) !important;
    border-radius: 12px;
    background: rgba(26, 26, 31, 0.72) !important;
  }

  .mobile-reason-box strong {
    color: #F5F0E8;
    font-family: "Noto Serif JP", serif;
    font-size: 14px;
  }

  .mobile-machine-section {
    padding: 9px 10px;
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 12px;
    background: rgba(10, 10, 11, 0.46);
  }

  .mobile-machine-section .mt-label {
    flex-basis: 100%;
    color: rgba(245, 240, 232, 0.72);
    font-size: 12px;
    font-weight: 900;
  }

  .mobile-machine-section .mt-tag {
    border: 1px solid rgba(212, 175, 55, 0.30);
    background: rgba(212, 175, 55, 0.10);
    color: #F5F0E8;
  }

  .mobile-machine-section .mt-tag.lo {
    border-color: rgba(245, 240, 232, 0.16);
    background: rgba(245, 240, 232, 0.06);
    color: rgba(245, 240, 232, 0.58);
  }

  .mobile-sheet-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .mobile-sheet-actions button {
    min-height: 46px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 900 !important;
  }

  .mobile-sheet-detail {
    display: grid;
    gap: 8px;
    max-height: none !important;
    overflow: visible !important;
  }

  .mobile-sheet-detail .pin-reason-inline {
    display: grid;
    gap: 4px;
    padding: 9px 10px !important;
    border-color: rgba(212, 175, 55, 0.18);
    border-radius: 10px;
    background: rgba(26, 26, 31, 0.62);
  }

  .mobile-map-selection-sheet [data-sheet-expanded="false"] .selected-reason-lines,
  .mobile-map-selection-sheet [data-sheet-expanded="false"] .selected-quick-badges {
    max-height: none !important;
    overflow: visible !important;
  }
}

@keyframes mobileKamiuchiSheetIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 2026-05-28: 神打盤MAP redesign */
.radar-map {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.30) !important;
  background:
    radial-gradient(circle at 50% 48%, rgba(212, 175, 55, 0.14), transparent 32%),
    radial-gradient(circle at 30% 70%, rgba(0, 255, 180, 0.08), transparent 28%),
    radial-gradient(circle at 58% 48%, rgba(255, 76, 116, 0.045), transparent 21%),
    radial-gradient(circle at 44% 54%, rgba(69, 148, 255, 0.040), transparent 24%),
    linear-gradient(rgba(212, 175, 55, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, #050505, #0a0b0c) !important;
  background-size:
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    32px 32px,
    32px 32px,
    100% 100% !important;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.10) inset,
    0 0 80px rgba(212, 175, 55, 0.045) inset,
    0 30px 92px rgba(0, 0, 0, 0.62) !important;
  isolation: isolate;
}

.radar-map::before {
  content: "";
  position: absolute;
  inset: 12%;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0.18 !important;
  background:
    conic-gradient(from 210deg, transparent 0deg, rgba(72, 198, 255, 0.30) 45deg, rgba(180, 88, 255, 0.24) 88deg, rgba(255, 70, 118, 0.25) 138deg, rgba(255, 214, 64, 0.25) 205deg, rgba(65, 213, 120, 0.22) 286deg, transparent 360deg) !important;
  filter: blur(26px);
  mix-blend-mode: screen;
  animation: none !important;
}

.radar-map::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: 0 !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 19%, transparent 78%, rgba(0, 0, 0, 0.22)),
    radial-gradient(circle at 50% 50%, transparent 0 42%, rgba(0, 0, 0, 0.10) 72%, rgba(0, 0, 0, 0.30) 100%);
  box-shadow: none !important;
  animation: none !important;
}

.ring,
.axis,
.sector,
.selection-line,
.you {
  display: none !important;
}

.area-label {
  z-index: 2;
  color: rgba(245, 240, 232, 0.105) !important;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(22px, 5vw, 42px) !important;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-shadow:
    0 1px 0 rgba(212, 175, 55, 0.08),
    0 -1px 0 rgba(0, 0, 0, 0.72) !important;
  mix-blend-mode: screen;
}

.map-pin-wrap {
  z-index: 8;
  transform: translate(-50%, -50%) !important;
  will-change: transform;
}

.map-pin-wrap::before {
  inset: -12px !important;
  border-radius: 999px;
}

.map-pin {
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;
  clip-path: none !important;
  outline: none !important;
  transform: translateZ(0) !important;
  border: 1px solid rgba(212, 175, 55, 0.74) !important;
  color: #0A0A0B !important;
  background: #D4AF37 !important;
  box-shadow:
    0 0 0 2px rgba(5, 5, 5, 0.92),
    0 0 14px rgba(212, 175, 55, 0.45),
    0 8px 18px rgba(0, 0, 0, 0.55) !important;
  filter: saturate(0.96);
}

.map-pin::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  border: 1px solid rgba(245, 240, 232, 0.26);
  background: radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.45), transparent 28%);
  pointer-events: none;
}

.map-pin::after {
  display: none !important;
}

.pin-number {
  position: relative;
  z-index: 2;
  transform: none !important;
  font-family: "Cinzel", serif;
  font-size: 10px !important;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 1px 7px rgba(255, 255, 255, 0.20);
}

.map-pin.sign-rank-sss .pin-number {
  font-size: 8px !important;
}

.map-pin.sign-rank-ss .pin-number {
  font-size: 9px !important;
}

.map-pin.sign-pin.sign-rank-sss {
  border-color: rgba(255, 240, 164, 0.95) !important;
  background:
    radial-gradient(circle at 48% 48%, #fff4af 0 18%, #FFD700 38%, #D4AF37 62%, #6d4206 100%) padding-box,
    conic-gradient(from 0deg, #ff4f86, #f6c74f, #48dd7c, #46c6ff, #a75cff, #ff4f86) border-box !important;
  color: #0A0A0B !important;
  box-shadow:
    0 0 0 2px rgba(5, 5, 5, 0.94),
    0 0 0 4px rgba(255, 215, 0, 0.16),
    0 0 28px rgba(255, 215, 0, 0.56),
    0 0 52px rgba(255, 78, 130, 0.20),
    0 8px 22px rgba(0, 0, 0, 0.58) !important;
  animation: kamiuchibanRainbowAura 4.2s ease-in-out infinite !important;
}

.map-pin.sign-pin.sign-rank-sss::after {
  content: "";
  display: block !important;
  position: absolute;
  inset: -7px;
  z-index: -1;
  border-radius: 999px;
  background: conic-gradient(from 0deg, #ff4f86, #f6c74f, #48dd7c, #46c6ff, #a75cff, #ff4f86);
  opacity: 0.72;
  filter: blur(0.3px);
  pointer-events: none;
  -webkit-mask: radial-gradient(circle, transparent 0 56%, #000 58% 72%, transparent 74%);
  mask: radial-gradient(circle, transparent 0 56%, #000 58% 72%, transparent 74%);
  animation: kamiuchibanAuraSpin 7.5s linear infinite;
}

.map-pin.sign-pin.sign-rank-ss {
  border-color: rgba(255, 233, 150, 0.92) !important;
  background: radial-gradient(circle at 36% 24%, #fff2a7 0 16%, #D4AF37 48%, #7f560e 100%) !important;
  color: #0A0A0B !important;
  box-shadow:
    0 0 0 2px rgba(5, 5, 5, 0.92),
    0 0 22px rgba(212, 175, 55, 0.48),
    0 0 42px rgba(212, 175, 55, 0.18),
    0 8px 18px rgba(0, 0, 0, 0.55) !important;
}

.map-pin.sign-pin.sign-rank-s {
  border-color: rgba(244, 244, 244, 0.88) !important;
  background: radial-gradient(circle at 36% 24%, #ffffff 0 17%, #C0C0C0 52%, #5e6368 100%) !important;
  color: #0A0A0B !important;
  box-shadow:
    0 0 0 2px rgba(5, 5, 5, 0.92),
    0 0 20px rgba(224, 224, 224, 0.36),
    0 8px 18px rgba(0, 0, 0, 0.55) !important;
}

.map-pin.sign-pin.sign-rank-a {
  border-color: rgba(234, 118, 100, 0.80) !important;
  background: radial-gradient(circle at 36% 24%, #f29b8d 0 15%, #C0392B 54%, #5b1711 100%) !important;
  color: #F5F0E8 !important;
  box-shadow:
    0 0 0 2px rgba(5, 5, 5, 0.92),
    0 0 15px rgba(192, 57, 43, 0.30),
    0 8px 18px rgba(0, 0, 0, 0.55) !important;
}

.map-pin.sign-pin.sign-rank-b {
  --rank-accent: #315f8f;
  border-color: rgba(124, 181, 236, 0.70) !important;
  background: radial-gradient(circle at 36% 24%, #7cb5ec 0 16%, #315f8f 54%, #142840 100%) !important;
  color: #F5F0E8 !important;
  box-shadow:
    0 0 0 2px rgba(5, 5, 5, 0.92),
    0 0 12px rgba(75, 143, 210, 0.22),
    0 8px 18px rgba(0, 0, 0, 0.55) !important;
}

.map-pin.sign-pin.sign-rank-c {
  --rank-accent: #3A3A3F;
  width: 26px !important;
  height: 26px !important;
  border-color: rgba(160, 160, 166, 0.50) !important;
  background: radial-gradient(circle at 36% 24%, #77777d 0 12%, #3A3A3F 58%, #17171b 100%) !important;
  color: rgba(245, 240, 232, 0.72) !important;
  opacity: 0.54 !important;
  box-shadow:
    0 0 0 1px rgba(5, 5, 5, 0.92),
    0 7px 14px rgba(0, 0, 0, 0.48) !important;
}

.map-pin.sign-pin.sign-rank-c .pin-number {
  font-size: 8px !important;
}

.map-pin.non-focus-pin {
  opacity: 0.72;
}

.map-pin.sign-pin.sign-rank-c.non-focus-pin {
  opacity: 0.45 !important;
}

.map-pin-wrap.selected {
  z-index: 30;
}

.map-pin-wrap.selected .map-pin.sign-pin,
.map-pin.sign-pin.selected {
  width: 42px !important;
  height: 42px !important;
  opacity: 1 !important;
  border-color: rgba(255, 234, 143, 0.96) !important;
  transform: translateZ(0) scale(1.06) !important;
  box-shadow:
    0 0 0 2px rgba(5, 5, 5, 0.96),
    0 0 0 5px rgba(212, 175, 55, 0.28),
    0 0 0 8px rgba(212, 175, 55, 0.08),
    0 0 34px color-mix(in srgb, var(--rank-accent, #D4AF37) 48%, transparent),
    0 13px 26px rgba(0, 0, 0, 0.66) !important;
  animation: kamiuchibanSelectedGlow 2.8s ease-in-out infinite !important;
}

.map-pin-wrap.sign-rank-b {
  --rank-accent: #315f8f;
}

.map-pin-wrap.sign-rank-c {
  --rank-accent: #3A3A3F;
}

.map-pin-wrap.selected .pin-label {
  display: block !important;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  max-width: min(180px, 42vw);
  padding: 7px 10px;
  border-color: rgba(212, 175, 55, 0.42) !important;
  border-radius: 8px;
  background: rgba(8, 8, 9, 0.92) !important;
  color: #F5F0E8 !important;
  font-family: "Noto Serif JP", serif;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  white-space: normal;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.54), 0 0 16px rgba(212, 175, 55, 0.12) !important;
}

.map-pin-wrap:hover .map-pin,
.map-pin-wrap:focus-within .map-pin {
  opacity: 1 !important;
  transform: translateZ(0) scale(1.05) !important;
}

.map-pin-wrap:hover .pin-label,
.map-pin-wrap:focus-within .pin-label {
  display: block;
}

@keyframes kamiuchibanRainbowAura {
  0%, 100% {
    filter: saturate(1.05);
    box-shadow:
      0 0 0 2px rgba(5, 5, 5, 0.94),
      0 0 0 4px rgba(255, 215, 0, 0.14),
      0 0 26px rgba(255, 215, 0, 0.52),
      0 0 48px rgba(255, 78, 130, 0.18),
      0 8px 22px rgba(0, 0, 0, 0.58);
  }
  50% {
    filter: saturate(1.22);
    box-shadow:
      0 0 0 2px rgba(5, 5, 5, 0.94),
      0 0 0 6px rgba(255, 215, 0, 0.22),
      0 0 34px rgba(255, 215, 0, 0.66),
      0 0 62px rgba(70, 198, 255, 0.22),
      0 10px 24px rgba(0, 0, 0, 0.60);
  }
}

@keyframes kamiuchibanSelectedGlow {
  0%, 100% {
    box-shadow:
      0 0 0 2px rgba(5, 5, 5, 0.96),
      0 0 0 5px rgba(212, 175, 55, 0.28),
      0 0 0 8px rgba(212, 175, 55, 0.08),
      0 0 30px color-mix(in srgb, var(--rank-accent, #D4AF37) 42%, transparent),
      0 13px 26px rgba(0, 0, 0, 0.66);
  }
  50% {
    box-shadow:
      0 0 0 2px rgba(5, 5, 5, 0.96),
      0 0 0 6px rgba(212, 175, 55, 0.36),
      0 0 0 11px rgba(212, 175, 55, 0.11),
      0 0 42px color-mix(in srgb, var(--rank-accent, #D4AF37) 56%, transparent),
      0 15px 28px rgba(0, 0, 0, 0.70);
  }
}

@keyframes kamiuchibanAuraSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 759px) {
  .radar-map {
    height: clamp(430px, calc(100svh - 112px), 720px) !important;
  }

  .area-label {
    font-size: clamp(20px, 8vw, 34px) !important;
    opacity: 0.82;
  }

  .map-pin-wrap::before {
    inset: -16px !important;
  }

  .map-pin {
    width: 32px !important;
    height: 32px !important;
  }

  .map-pin.sign-pin.sign-rank-c {
    width: 23px !important;
    height: 23px !important;
  }

  .map-pin-wrap.selected .map-pin.sign-pin,
  .map-pin.sign-pin.selected {
    width: 40px !important;
    height: 40px !important;
  }

  .map-pin.sign-rank-sss .pin-number,
  .map-pin.sign-rank-ss .pin-number {
    font-size: 0 !important;
  }

  .map-pin.sign-rank-sss .pin-number::after,
  .map-pin.sign-rank-ss .pin-number::after {
    content: none;
  }

  .map-pin-wrap.selected .pin-label {
    left: 50%;
    top: -12px;
    transform: translate(-50%, -100%);
    max-width: 150px;
    font-size: 11px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .map-pin.sign-pin.sign-rank-sss,
  .map-pin-wrap.selected .map-pin.sign-pin,
  .map-pin.sign-pin.selected {
    animation: none !important;
  }
}

.site-logo-img {
  height: 72px;
  width: auto;
  display: block;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}

.mobile-decision-logo {
  display: none;
}

.kamiuchi-main-title {
  display: block;
  color: var(--kamiuchi-gold);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(58px, 7vw, 88px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow:
    0 0 22px rgba(212, 175, 55, 0.30),
    0 2px 0 rgba(0, 0, 0, 0.70);
}

.kamiuchi-sub-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  color: rgba(212, 175, 55, 0.70);
  font-family: "Cinzel", serif;
  font-size: clamp(12px, 1.25vw, 16px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.34em;
}

.kamiuchi-sub-title::before,
.kamiuchi-sub-title::after {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(212, 175, 55, 0.48);
}

@media (max-width: 759px) {
  .decision-bar {
    grid-template-columns: 76px minmax(0, 1fr) minmax(0, 1fr);
  }

  .decision-bar::before {
    content: none;
  }

  .decision-bar::after {
    content: none;
  }

  .site-logo-img {
    height: 48px;
  }

  .brand-logo-img {
    height: 34px;
  }

  .mobile-decision-logo {
    display: block;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    justify-self: start;
    box-shadow:
      0 0 0 1px rgba(212, 175, 55, 0.22),
      0 0 16px rgba(212, 175, 55, 0.16);
    filter: saturate(0.94) contrast(1.04);
  }

  .decision-control:nth-child(3) {
    display: grid;
  }

  .decision-control:nth-child(n+4) {
    display: none;
  }

  .map-intel-row::before {
    content: "近くの候補を、神打サインで比較";
    color: rgba(245, 240, 232, 0.70);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
  }
}

@media (max-width: 390px) {
  .decision-bar {
    grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1fr);
  }

  .decision-bar::before {
    content: none;
  }
}

/* Kanto top renewal. Scoped to kanto/index.html only. */
.kanto-renewal-page {
  background:
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.08), transparent 26%),
    radial-gradient(circle at 10% 22%, rgba(58, 126, 255, 0.06), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(192, 57, 43, 0.08), transparent 24%),
    #0a0a0a;
}

.kanto-renewal-page .topbar {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
}

.scroll-anchor {
  display: block;
  position: relative;
  top: -72px;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.kanto-first-view {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100svh - 54px);
  padding: clamp(44px, 7vw, 82px) 24px clamp(44px, 7vw, 78px);
  overflow: hidden;
  isolation: isolate;
}

.kanto-first-view::before {
  content: "";
  position: absolute;
  inset: 4% 6% 8%;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 224, 150, 0.18), transparent 18%),
    radial-gradient(circle at 50% 36%, rgba(212, 175, 55, 0.14), transparent 34%),
    radial-gradient(circle at 50% 50%, rgba(245, 240, 232, 0.04), transparent 48%),
    linear-gradient(180deg, rgba(120, 77, 34, 0.08), transparent 72%);
  filter: blur(2px);
}

.kanto-first-view::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(1120px, 86vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #1e72ff 8%, #d92cdb 28%, #D4AF37 52%, #C0392B 72%, #3bd15d 92%, transparent);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.30);
}

.kanto-hero-orbit {
  position: absolute;
  inset: auto;
  width: min(700px, 54vw);
  aspect-ratio: 1;
  border: 1px solid rgba(212, 175, 55, 0.10);
  border-radius: 50%;
  background:
    conic-gradient(from 220deg, rgba(40, 120, 255, 0.18), rgba(219, 38, 210, 0.16), rgba(212, 175, 55, 0.22), rgba(192, 57, 43, 0.16), rgba(54, 210, 93, 0.14), rgba(40, 120, 255, 0.18));
  filter: blur(28px);
  opacity: 0.26;
  z-index: -1;
  mask: radial-gradient(circle, transparent 0 47%, #000 57%, transparent 69%);
}

.kanto-hero-inner {
  display: grid;
  justify-items: center;
  gap: 16px;
  width: min(960px, 100%);
  text-align: center;
}

.kanto-hero-kicker {
  margin: 0;
  color: rgba(212, 175, 55, 0.76);
  font-family: "Cinzel", serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.28em;
}

.kanto-hero-logo {
  display: block;
  width: clamp(250px, 26vw, 330px);
  height: clamp(250px, 26vw, 330px);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.22),
    0 0 54px rgba(212, 175, 55, 0.16),
    0 26px 84px rgba(0, 0, 0, 0.62);
  filter:
    saturate(0.94)
    contrast(1.05)
    drop-shadow(0 0 18px rgba(255, 215, 130, 0.18));
  backface-visibility: hidden;
}

.kanto-hero-date {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 16px;
  border: 1px solid rgba(212, 175, 55, 0.34);
  background: rgba(10, 10, 10, 0.62);
  color: rgba(212, 175, 55, 0.90);
  font-size: 13px;
  font-weight: 800;
}

.kanto-hero-inner h1 {
  margin: 4px 0 0;
  color: #D4AF37;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(42px, 5.4vw, 76px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow: 0 0 28px rgba(212, 175, 55, 0.22);
}

.kanto-hero-subcopy {
  margin: 0;
  color: rgba(245, 240, 232, 0.86);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 700;
}

.kanto-rainbow-line {
  display: block;
  width: min(620px, 74vw);
  height: 2px;
  margin: 10px 0 4px;
  background: linear-gradient(90deg, transparent, #1467ff 10%, #d82bdc 30%, #D4AF37 52%, #C0392B 72%, #38d15e 90%, transparent);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.24);
}

.kanto-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  min-height: 54px;
  padding: 12px 28px;
  border: 1px solid rgba(212, 175, 55, 0.68);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.66);
  color: #F5F0E8;
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(245, 240, 232, 0.06) inset, 0 18px 54px rgba(0, 0, 0, 0.44);
  transition: background 0.24s ease, color 0.24s ease, transform 0.24s ease, border-color 0.24s ease;
  will-change: transform;
}

.kanto-hero-cta:hover,
.kanto-hero-cta:focus-visible {
  border-color: #FFD700;
  background: rgba(212, 175, 55, 0.16);
  color: #FFD700;
  transform: translateY(-1px);
}

.kanto-renewal-page .map-face-section {
  padding-top: clamp(54px, 7vw, 88px);
}

.kanto-renewal-page .radar-panel {
  position: relative;
  overflow: hidden;
  border-color: rgba(212, 175, 55, 0.30);
  background:
    linear-gradient(180deg, rgba(17, 17, 24, 0.98), rgba(10, 10, 10, 0.98)),
    #111118;
}

.kanto-renewal-page .radar-panel::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #D4AF37, #C0392B, #38d15e, transparent);
  opacity: 0.48;
  pointer-events: none;
}

.kanto-section-title {
  margin: 0;
  color: #D4AF37;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
  text-shadow: 0 0 24px rgba(212, 175, 55, 0.18);
}

.map-title-date {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  min-height: 30px;
  margin: 14px 0 0;
  padding: 5px 12px;
  border: 1px solid rgba(212, 175, 55, 0.34);
  background: rgba(212, 175, 55, 0.07);
  color: rgba(245, 240, 232, 0.88);
  font-size: 13px;
  font-weight: 800;
}

.kanto-renewal-page .radar-topbar {
  margin-bottom: 24px;
}

.kanto-renewal-page .sign-legend-panel {
  position: relative;
  overflow: hidden;
  border-color: rgba(212, 175, 55, 0.26);
  background:
    linear-gradient(145deg, rgba(26, 26, 31, 0.92), rgba(10, 10, 11, 0.92)),
    #111118;
}

.kanto-renewal-page .sign-legend-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, #D4AF37, #C0392B, #38d15e, transparent);
  opacity: 0.58;
}

.kanto-renewal-page .sign-legend-head strong {
  color: #D4AF37;
  font-family: "Noto Serif JP", serif;
}

.kanto-renewal-page .sign-scale {
  gap: 8px;
}

.kanto-renewal-page .sign-scale-item {
  border-color: rgba(212, 175, 55, 0.18);
  background: rgba(245, 240, 232, 0.035);
}

.kanto-renewal-page .sign-scale-item strong {
  font-family: "Cinzel", serif;
  font-size: 14px;
}

.kanto-renewal-page .sign-scale-item b {
  color: rgba(212, 175, 55, 0.76);
  font-family: "Cinzel", serif;
}

.kanto-renewal-page .sign-explain {
  border-color: rgba(212, 175, 55, 0.20);
  background: rgba(212, 175, 55, 0.055);
}

.kanto-renewal-page .sign-explain strong {
  color: #F5F0E8;
  font-family: "Noto Serif JP", serif;
}

.kanto-renewal-page .footer {
  border-top-color: rgba(212, 175, 55, 0.20);
  background:
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.08), transparent 28%),
    #0A0A0A;
}

.kanto-renewal-page .footer strong {
  color: #D4AF37;
  font-family: "Noto Serif JP", serif;
  font-size: 15px;
  font-weight: 900;
}

.map-pin.sign-pin.sign-rank-sss,
.map-pin.sign-pin.sign-rank-ss,
.map-pin.sign-pin.sign-rank-s {
  will-change: transform, box-shadow;
}

.kanto-renewal-page .decision-bar {
  margin-bottom: 22px;
}

.kanto-map-heading {
  display: grid;
  gap: 6px;
  margin: 24px 0 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(212, 175, 55, 0.20);
}

.kanto-map-heading h2 {
  margin: 0;
  color: #F5F0E8;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  letter-spacing: 0;
}

.kanto-map-heading p {
  margin: 0;
  color: rgba(245, 240, 232, 0.68);
}

.kanto-map-heading .eyebrow {
  color: #D4AF37;
}

.kanto-renewal-page .cards-section {
  position: relative;
  margin-top: clamp(34px, 5vw, 64px);
}

.kanto-renewal-page .cards-section::before {
  content: "関東エリアデータ";
  display: block;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 10px;
  color: rgba(212, 175, 55, 0.84);
  font-family: "Cinzel", "Noto Serif JP", serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

@media (max-width: 768px) {
  .kanto-first-view {
    display: none;
  }

  .scroll-anchor {
    display: none;
  }

  .kanto-renewal-page .map-face-section {
    padding-top: 6px;
  }

  .kanto-map-heading {
    display: none;
  }

  .kanto-renewal-page .map-intel-row {
    margin-top: 28px;
  }

  .kanto-renewal-page .cards-section {
    margin-top: 0;
  }

  .kanto-renewal-page .cards-section::before {
    content: none;
  }
}

/* 神打盤MAP final guard: selected labels stay horizontal */
.map-pin-wrap.selected .pin-label,
.map-pin-wrap:hover .pin-label,
.map-pin-wrap:focus-within .pin-label {
  width: max-content !important;
  max-width: min(240px, 52vw) !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}

@media (max-width: 759px) {
  .map-pin-wrap.selected .pin-label {
    max-width: min(220px, 72vw) !important;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* 2026-05-28: Luxury AI Signal Map refinement */
.radar-map {
  border: 1px solid rgba(212, 175, 55, 0.14) !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 48% 48%, rgba(212, 175, 55, 0.095), transparent 28%),
    radial-gradient(circle at 38% 68%, rgba(0, 200, 160, 0.060), transparent 26%),
    radial-gradient(circle at 62% 34%, rgba(120, 80, 255, 0.040), transparent 24%),
    linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    linear-gradient(180deg, #050506 0%, #080a0f 52%, #030304 100%) !important;
  background-size:
    100% 100%,
    100% 100%,
    100% 100%,
    42px 42px,
    42px 42px,
    100% 100% !important;
  box-shadow:
    inset 0 0 90px rgba(0, 0, 0, 0.76),
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 24px 80px rgba(0, 0, 0, 0.42) !important;
}

.radar-map::before {
  inset: 0 !important;
  z-index: 0;
  border-radius: 0 !important;
  opacity: 0.22 !important;
  background:
    radial-gradient(circle at 52% 50%, rgba(255, 200, 100, 0.06), transparent 22%),
    radial-gradient(circle at 44% 56%, rgba(90, 180, 255, 0.04), transparent 30%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 5px) !important;
  filter: none !important;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(circle at center, #000 0%, rgba(0, 0, 0, 0.72) 56%, transparent 84%);
  mask-image: radial-gradient(circle at center, #000 0%, rgba(0, 0, 0, 0.72) 56%, transparent 84%);
  animation: none !important;
}

.radar-map::after {
  inset: 0 !important;
  z-index: 1;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 50% 50%, transparent 0%, rgba(0, 0, 0, 0.36) 76%, rgba(0, 0, 0, 0.72) 100%) !important;
  box-shadow: none !important;
  animation: none !important;
}

.ring,
.axis,
.sector,
.selection-line,
.you {
  display: none !important;
}

.area-label {
  z-index: 2;
  width: max-content;
  color: rgba(255, 255, 255, 0.10) !important;
  font-size: 0 !important;
  font-family: "Cinzel", "Noto Serif JP", serif;
  font-weight: 700;
  letter-spacing: 0.20em;
  line-height: 1;
  text-shadow: none !important;
  mix-blend-mode: screen;
}

.area-label::after {
  display: block;
  font-size: clamp(10px, 1.4vw, 15px);
  color: rgba(245, 240, 232, 0.105);
}

.area-matsudo::after {
  content: "MATSUDO";
}

.area-misato::after {
  content: "MISATO";
}

.area-yashio::after {
  content: "YASHIO";
}

.area-katsushika::after {
  content: "KATSUSHIKA";
}

.map-pin-wrap {
  z-index: 8;
  transform: translate(-50%, -50%) !important;
  pointer-events: auto;
  will-change: transform;
}

.map-pin-wrap::before {
  display: none !important;
}

.map-pin {
  position: relative;
  display: block !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  clip-path: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: transparent !important;
  filter: none !important;
  transform: translateZ(0) !important;
  transition: opacity 180ms ease, transform 180ms ease, filter 180ms ease;
}

.map-pin.sign-pin,
.map-pin.sign-pin.sign-rank-sss,
.map-pin.sign-pin.sign-rank-ss,
.map-pin.sign-pin.sign-rank-s,
.map-pin.sign-pin.sign-rank-a,
.map-pin.sign-pin.sign-rank-b,
.map-pin.sign-pin.sign-rank-c,
.map-pin.sign-pin.selected,
.map-pin-wrap.selected .map-pin.sign-pin {
  width: 44px !important;
  height: 44px !important;
  border: 0 !important;
  border-radius: 999px !important;
  clip-path: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: transparent !important;
  transform: translateZ(0) !important;
  animation: none !important;
}

.map-pin::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #5d6068;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 4px 10px rgba(0, 0, 0, 0.55);
}

.map-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: block !important;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.pin-number {
  position: absolute !important;
  left: 50%;
  top: 50%;
  z-index: 3;
  opacity: 0;
  transform: translate(-50%, -50%) !important;
  color: rgba(10, 10, 11, 0.92);
  font-family: "Cinzel", serif;
  font-size: 8px !important;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  pointer-events: none;
}

.map-pin.sign-pin.sign-rank-c {
  opacity: 0.42 !important;
}

.map-pin.sign-pin.sign-rank-c::before {
  width: 7px;
  height: 7px;
  background: #5b5f67;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.10),
    0 4px 10px rgba(0, 0, 0, 0.58);
}

.map-pin.sign-pin.sign-rank-b {
  opacity: 0.66 !important;
}

.map-pin.sign-pin.sign-rank-b::before {
  width: 9px;
  height: 9px;
  background: #2fb7a3;
  box-shadow:
    0 0 10px rgba(47, 183, 163, 0.20),
    0 5px 14px rgba(0, 0, 0, 0.55);
}

.map-pin.sign-pin.sign-rank-a {
  opacity: 0.82 !important;
}

.map-pin.sign-pin.sign-rank-a::before {
  width: 10px;
  height: 10px;
  background: #c94a3a;
  box-shadow:
    0 0 12px rgba(201, 74, 58, 0.24),
    0 5px 14px rgba(0, 0, 0, 0.55);
}

.map-pin.sign-pin.sign-rank-s::before {
  width: 12px;
  height: 12px;
  background: #f4ead0;
  box-shadow:
    0 0 16px rgba(244, 234, 208, 0.28),
    0 5px 16px rgba(0, 0, 0, 0.55);
}

.map-pin.sign-pin.sign-rank-s::after {
  width: 25px;
  height: 25px;
  border-color: rgba(244, 234, 208, 0.34);
}

.map-pin.sign-pin.sign-rank-ss::before {
  width: 13px;
  height: 13px;
  background: #d7b85a;
  box-shadow:
    0 0 18px rgba(215, 184, 90, 0.34),
    0 6px 18px rgba(0, 0, 0, 0.58);
}

.map-pin.sign-pin.sign-rank-ss::after {
  width: 27px;
  height: 27px;
  border-color: rgba(215, 184, 90, 0.64);
}

.map-pin.sign-pin.sign-rank-sss::before {
  width: 14px;
  height: 14px;
  background: #fff2a8;
  box-shadow:
    0 0 22px rgba(255, 242, 168, 0.48),
    0 0 34px rgba(100, 220, 255, 0.14),
    0 6px 20px rgba(0, 0, 0, 0.60);
}

.map-pin.sign-pin.sign-rank-sss::after {
  width: 29px;
  height: 29px;
  border: 0;
  background: conic-gradient(from 210deg, #35a7ff, #b55cff, #ff3c8a, #ffb800, #53e46a, #35a7ff);
  opacity: 0.76;
  -webkit-mask: radial-gradient(circle, transparent 0 55%, #000 57% 66%, transparent 68%);
  mask: radial-gradient(circle, transparent 0 55%, #000 57% 66%, transparent 68%);
  animation: kamiuchiSignalAura 8s linear infinite;
}

.map-pin.sign-rank-sss .pin-number,
.map-pin.sign-rank-ss .pin-number {
  opacity: 0;
}

.map-pin-wrap.selected {
  z-index: 30;
}

.map-pin-wrap.selected .map-pin,
.map-pin.selected {
  opacity: 1 !important;
  transform: translateZ(0) !important;
}

.map-pin-wrap.selected .map-pin::before,
.map-pin.selected::before {
  width: 18px;
  height: 18px;
  background: radial-gradient(circle, #fff7c7 0%, #d7b85a 42%, #7b5d1c 100%);
  box-shadow:
    0 0 22px rgba(215, 184, 90, 0.55),
    0 0 46px rgba(215, 184, 90, 0.22),
    0 10px 28px rgba(0, 0, 0, 0.70);
}

.map-pin-wrap.selected .map-pin::after,
.map-pin.selected::after {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(247, 220, 130, 0.70);
  background:
    radial-gradient(circle, transparent 0 48%, rgba(247, 220, 130, 0.13) 49% 55%, transparent 57%);
  box-shadow:
    inset 0 0 12px rgba(247, 220, 130, 0.18),
    0 0 22px rgba(247, 220, 130, 0.22);
  -webkit-mask: none;
  mask: none;
  animation: kamiuchiFocusPulse 2.8s ease-in-out infinite;
}

.map-pin-wrap.selected .map-pin.sign-pin.sign-rank-sss::after,
.map-pin.sign-pin.sign-rank-sss.selected::after {
  width: 44px;
  height: 44px;
  border: 0;
  background: conic-gradient(from 210deg, rgba(53, 167, 255, 0.72), rgba(181, 92, 255, 0.64), rgba(255, 60, 138, 0.64), rgba(255, 184, 0, 0.74), rgba(83, 228, 106, 0.58), rgba(53, 167, 255, 0.72));
  opacity: 0.74;
  box-shadow:
    0 0 24px rgba(247, 220, 130, 0.22),
    0 0 42px rgba(120, 80, 255, 0.08);
  -webkit-mask: radial-gradient(circle, transparent 0 45%, #000 47% 54%, transparent 56%);
  mask: radial-gradient(circle, transparent 0 45%, #000 47% 54%, transparent 56%);
  animation: kamiuchiFocusPulse 2.8s ease-in-out infinite;
}

.map-pin-wrap.selected .pin-number {
  opacity: 1;
  color: rgba(10, 10, 11, 0.90);
}

.map-pin-wrap:hover .map-pin,
.map-pin-wrap:focus-within .map-pin {
  opacity: 1 !important;
}

.map-pin-wrap.selected .pin-label,
.map-pin-wrap:hover .pin-label,
.map-pin-wrap:focus-within .pin-label {
  display: block !important;
  left: calc(50% + 20px) !important;
  top: 50% !important;
  width: max-content !important;
  max-width: min(230px, 44vw) !important;
  padding: 6px 9px !important;
  border: 1px solid rgba(215, 184, 90, 0.24) !important;
  border-radius: 999px !important;
  background: rgba(5, 5, 6, 0.74) !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  transform: translate(0, -50%) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45) !important;
  writing-mode: horizontal-tb !important;
}

@keyframes kamiuchiSignalAura {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes kamiuchiFocusPulse {
  0%, 100% {
    opacity: 0.28;
    transform: translate(-50%, -50%) scale(0.94);
  }
  50% {
    opacity: 0.56;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

.radar-panel .selected-panel {
  border-color: rgba(255, 255, 255, 0.10) !important;
  background:
    linear-gradient(180deg, rgba(15, 17, 21, 0.82), rgba(6, 7, 10, 0.88)) !important;
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(16px);
}

.selected-mini-card,
.mobile-map-selection-sheet .mobile-sheet-card {
  border-color: rgba(255, 255, 255, 0.10) !important;
  border-top-color: rgba(215, 184, 90, 0.34) !important;
  background:
    linear-gradient(180deg, rgba(15, 17, 21, 0.76), rgba(6, 7, 10, 0.82)) !important;
  box-shadow: none !important;
}

.selected-quick-badges,
.selected-reason-lines {
  gap: 7px !important;
}

.selected-reason-preview,
.pin-reason-inline,
.selected-detail-block,
.selected-feedback-panel {
  border-color: rgba(255, 255, 255, 0.085) !important;
  background: rgba(255, 255, 255, 0.035) !important;
}

.selected-quick-badges .attribute-badge,
.selected-reason-lines .tag,
.selected-status-badge,
.count-chip {
  border-color: rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.045) !important;
  color: rgba(245, 240, 232, 0.84) !important;
}

.selected-primary-actions {
  gap: 8px !important;
}

.selected-primary-actions .selected-detail-button {
  border-color: rgba(215, 184, 90, 0.60) !important;
  background: linear-gradient(180deg, #d7b85a, #a8832e) !important;
  color: #07080b !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34), 0 0 18px rgba(215, 184, 90, 0.12) !important;
}

.selected-primary-actions .selected-compare-button,
.selected-primary-actions .selected-card-button,
.selected-primary-actions .selected-store-link {
  border-color: rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.035) !important;
  color: rgba(245, 240, 232, 0.84) !important;
  box-shadow: none !important;
}

.selected-primary-actions .selected-card-button,
.selected-primary-actions .selected-store-link {
  min-height: 34px !important;
  opacity: 0.72;
  font-size: 11px !important;
}

@media (max-width: 759px) {
  .radar-map {
    max-width: 100%;
    border-inline: 0 !important;
  }

  .area-label::after {
    font-size: 10px;
    opacity: 0.78;
  }

  .map-pin {
    width: 44px !important;
    height: 44px !important;
  }

  .map-pin.sign-pin.sign-rank-c::before {
    width: 7px;
    height: 7px;
  }

  .map-pin.sign-pin.sign-rank-b::before,
  .map-pin.sign-pin.sign-rank-a::before {
    width: 9px;
    height: 9px;
  }

  .map-pin-wrap.selected .pin-label,
  .map-pin-wrap:hover .pin-label,
  .map-pin-wrap:focus-within .pin-label {
    display: none !important;
  }

  .mobile-map-selection-sheet:not([hidden]) {
    border-color: rgba(255, 255, 255, 0.10) !important;
    background:
      linear-gradient(180deg, rgba(15, 17, 21, 0.96), rgba(5, 6, 8, 0.98)) !important;
    box-shadow:
      0 -22px 70px rgba(0, 0, 0, 0.66),
      inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .map-pin.sign-pin.sign-rank-sss::after,
  .map-pin-wrap.selected .map-pin::after,
  .map-pin.selected::after {
    animation: none !important;
  }
}

/* 2026-05-28: mobile card-first decision UX */
.mobile-first-candidates {
  display: none;
}

.map-scope-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.map-scope-button {
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(212, 175, 55, 0.30);
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.52);
  color: rgba(245, 240, 232, 0.76);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.map-scope-button:hover,
.map-scope-button:focus-visible,
.map-scope-button.active {
  border-color: rgba(212, 175, 55, 0.70);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.90), rgba(155, 120, 36, 0.92));
  color: #09090a;
}

.map-scope-button:active {
  transform: translateY(1px);
}

@media (max-width: 759px) {
  .kanto-renewal-page .map-face-section {
    min-height: auto !important;
    padding: 8px 8px 96px !important;
  }

  .radar-panel {
    display: block !important;
    min-height: 0 !important;
    padding: 8px !important;
  }

  .kanto-renewal-page .radar-panel > .radar-topbar,
  .kanto-renewal-page .radar-panel > .brand-accent {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .decision-bar {
    position: relative !important;
    top: auto !important;
    margin-bottom: 12px !important;
  }

  .mobile-first-candidates {
    display: grid;
    gap: 14px;
    margin: 10px 0 18px;
    padding: 16px;
    border: 1px solid rgba(212, 175, 55, 0.24);
    border-radius: 16px;
    background:
      radial-gradient(circle at 86% 0%, rgba(212, 175, 55, 0.13), transparent 34%),
      linear-gradient(180deg, rgba(17, 17, 20, 0.92), rgba(7, 8, 10, 0.96));
    box-shadow:
      0 20px 56px rgba(0, 0, 0, 0.42),
      inset 0 1px 0 rgba(255, 255, 255, 0.045);
  }

  .mobile-first-head {
    display: grid;
    gap: 5px;
  }

  .mobile-first-head .eyebrow {
    margin: 0;
    color: #D4AF37;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
  }

  .mobile-first-head h2 {
    margin: 0;
    color: #F5F0E8;
    font-family: "Noto Serif JP", serif;
    font-size: clamp(24px, 7vw, 32px);
    font-weight: 900;
    line-height: 1.14;
  }

  .mobile-first-head p {
    margin: 0;
    color: rgba(245, 240, 232, 0.70);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.65;
  }

  .mobile-first-list {
    display: grid;
    gap: 10px;
  }

  .mobile-first-card {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-left: 4px solid var(--rank-accent, #D4AF37);
    border-radius: 14px;
    background:
      radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--rank-accent, #D4AF37) 14%, transparent), transparent 34%),
      rgba(255, 255, 255, 0.035);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  }

  .mobile-first-rank {
    display: grid;
    align-content: center;
    justify-items: center;
    min-height: 84px;
    border-radius: 12px;
    background: rgba(10, 10, 11, 0.60);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  }

  .mobile-first-rank span {
    color: rgba(245, 240, 232, 0.54);
    font-size: 11px;
    font-weight: 900;
  }

  .mobile-first-rank strong {
    color: var(--rank-accent, #D4AF37);
    font-family: "Cinzel", serif;
    font-size: clamp(24px, 8vw, 34px);
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 0 18px color-mix(in srgb, var(--rank-accent, #D4AF37) 30%, transparent);
  }

  .mobile-first-main {
    min-width: 0;
  }

  .mobile-first-main h3 {
    margin: 0;
    color: #F5F0E8;
    font-family: "Noto Serif JP", serif;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .mobile-first-main > p {
    margin: 3px 0 0;
    color: rgba(245, 240, 232, 0.54);
    font-size: 12px;
    font-weight: 800;
  }

  .mobile-first-reasons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 9px 0 0;
  }

  .mobile-first-reasons span,
  .mobile-first-caution {
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 8px;
    background: rgba(212, 175, 55, 0.08);
    color: rgba(245, 240, 232, 0.82);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
  }

  .mobile-first-reasons span {
    padding: 5px 8px;
  }

  .mobile-first-caution {
    display: grid;
    gap: 3px;
    margin: 9px 0 0;
    padding: 7px 8px;
    background: rgba(255, 255, 255, 0.035);
  }

  .mobile-first-caution strong {
    color: #D4AF37;
    font-size: 11px;
  }

  .mobile-first-card-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
  }

  .mobile-first-card-actions a,
  .mobile-first-card-actions button,
  .mobile-first-map-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    touch-action: manipulation;
  }

  .mobile-first-card-actions a {
    border: 1px solid rgba(212, 175, 55, 0.32);
    background: rgba(212, 175, 55, 0.08);
    color: #F5F0E8;
  }

  .mobile-first-card-actions button,
  .mobile-first-map-button.primary {
    border: 1px solid rgba(212, 175, 55, 0.72);
    background: linear-gradient(180deg, #d8b84c, #a9852d);
    color: #09090a;
  }

  .mobile-first-actions {
    display: grid;
    gap: 9px;
  }

  .mobile-first-map-button {
    width: 100%;
    border: 1px solid rgba(212, 175, 55, 0.34);
    background: rgba(255, 255, 255, 0.045);
    color: #F5F0E8;
  }

  .mobile-first-footnote {
    margin: -2px 0 0;
    color: rgba(245, 240, 232, 0.54);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.55;
  }

  .kanto-map-heading {
    display: block !important;
    margin: 18px 0 10px;
  }

  .kanto-map-heading h2 {
    font-size: clamp(22px, 7vw, 30px) !important;
  }

  .map-intel-row {
    gap: 10px !important;
    margin-bottom: 10px !important;
  }

  .map-scope-switch {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }

  .map-scope-button {
    min-height: 42px;
    padding: 8px 7px;
    border-radius: 10px;
    font-size: 11px;
  }

  .radar-map {
    height: min(94vw, 440px) !important;
    min-height: 340px !important;
    max-height: 440px !important;
    margin-bottom: 0 !important;
  }

  .mobile-candidate-toggle {
    display: none !important;
  }

  body.mobile-candidates-open::before {
    content: none !important;
  }

  .cards-section {
    max-height: min(82svh, 680px);
  }
}

/* 2026-05-28: mobile ranking table + official PR lane */
@media (max-width: 759px) {
  .mobile-first-candidates {
    gap: 8px !important;
    margin: 8px 0 12px !important;
    padding: 11px !important;
    border-color: rgba(212, 175, 55, 0.18) !important;
    border-radius: 18px !important;
    background:
      radial-gradient(circle at 100% 0%, rgba(212, 175, 55, 0.12), transparent 30%),
      radial-gradient(circle at 6% 92%, rgba(0, 190, 150, 0.07), transparent 32%),
      linear-gradient(180deg, rgba(15, 15, 18, 0.93), rgba(4, 5, 7, 0.98)) !important;
    box-shadow:
      0 14px 42px rgba(0, 0, 0, 0.42),
      inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  }

  .mobile-first-head {
    gap: 3px !important;
  }

  .mobile-first-head .eyebrow {
    font-size: 10px !important;
    letter-spacing: 0.16em !important;
  }

  .mobile-first-head h2 {
    font-size: clamp(19px, 5.8vw, 24px) !important;
    line-height: 1.18 !important;
  }

  .mobile-first-head p {
    font-size: 11px !important;
    line-height: 1.45 !important;
  }

  .mobile-ranking-list {
    display: grid;
    gap: 6px;
  }

  .mobile-rank-item {
    --rank-accent: rgba(160, 164, 174, 0.88);
    --rank-glow: rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-left: 2px solid var(--rank-accent);
    border-radius: 15px;
    background:
      linear-gradient(90deg, var(--rank-glow), transparent 42%),
      linear-gradient(180deg, rgba(22, 23, 28, 0.78), rgba(8, 9, 12, 0.88));
    box-shadow:
      0 10px 26px rgba(0, 0, 0, 0.30),
      inset 0 1px 0 rgba(255, 255, 255, 0.045);
  }

  .mobile-rank-item.sign-rank-sss {
    --rank-accent: #FFD700;
    --rank-glow: rgba(255, 215, 0, 0.105);
    border-left-color: transparent;
    background:
      linear-gradient(90deg, rgba(255, 215, 0, 0.15), rgba(180, 92, 255, 0.045) 36%, transparent 68%),
      linear-gradient(180deg, rgba(26, 24, 18, 0.84), rgba(8, 9, 12, 0.91));
    box-shadow:
      0 0 0 1px rgba(255, 215, 0, 0.08),
      0 14px 34px rgba(0, 0, 0, 0.34),
      0 0 28px rgba(255, 215, 0, 0.08);
  }

  .mobile-rank-item.sign-rank-sss::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, #35a7ff, #b55cff, #ff3c8a, #ffb800, #53e46a);
    opacity: 0.86;
  }

  .mobile-rank-item.sign-rank-sss::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 12px;
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 242, 170, 0.82);
    box-shadow: 22px 10px 0 rgba(255, 255, 255, 0.28);
    pointer-events: none;
  }

  .mobile-rank-item.sign-rank-ss {
    --rank-accent: #D4AF37;
    --rank-glow: rgba(212, 175, 55, 0.10);
  }

  .mobile-rank-item.sign-rank-s {
    --rank-accent: #F4EAD0;
    --rank-glow: rgba(244, 234, 208, 0.075);
  }

  .mobile-rank-item.sign-rank-a {
    --rank-accent: #C0392B;
    --rank-glow: rgba(192, 57, 43, 0.080);
  }

  .mobile-rank-item.sign-rank-b {
    --rank-accent: #2FB7A3;
    --rank-glow: rgba(47, 183, 163, 0.050);
  }

  .mobile-rank-item.sign-rank-c {
    --rank-accent: rgba(148, 152, 162, 0.48);
    --rank-glow: rgba(255, 255, 255, 0.018);
    opacity: 0.92;
  }

  .mobile-rank-row {
    display: grid;
    grid-template-columns: 36px 50px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 54px;
    padding: 7px 10px 7px 12px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    touch-action: manipulation;
  }

  .mobile-rank-row:active {
    background: rgba(255, 255, 255, 0.045);
  }

  .mobile-rank-number {
    color: rgba(245, 240, 232, 0.58);
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
  }

  .mobile-rank-store {
    min-width: 0;
    color: #F5F0E8;
    font-family: "Noto Serif JP", serif;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.22;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-rank-chevron {
    color: rgba(212, 175, 55, 0.62);
    font-size: 20px;
    line-height: 1;
    text-align: right;
    transition: transform 180ms ease;
  }

  .mobile-rank-item.is-expanded .mobile-rank-chevron {
    transform: rotate(90deg);
  }

  .mobile-rank-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 27px;
    padding: 0 7px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(5, 6, 8, 0.72);
    color: var(--rank-accent);
    font-family: "Cinzel", serif;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  }

  .mobile-rank-badge.sign-rank-sss {
    color: #FFD700;
    border: 0;
    background:
      linear-gradient(#07080a, #07080a) padding-box,
      conic-gradient(from 210deg, #35a7ff, #b55cff, #ff3c8a, #ffb800, #53e46a, #35a7ff) border-box;
    border: 1px solid transparent;
    box-shadow:
      0 0 18px rgba(255, 215, 0, 0.16),
      inset 0 0 14px rgba(255, 215, 0, 0.08);
  }

  .mobile-rank-badge.sign-rank-ss {
    color: #D4AF37;
    border-color: rgba(212, 175, 55, 0.58);
    box-shadow: 0 0 13px rgba(212, 175, 55, 0.13);
  }

  .mobile-rank-badge.sign-rank-s {
    color: #F4EAD0;
    border-color: rgba(244, 234, 208, 0.42);
    box-shadow: 0 0 10px rgba(244, 234, 208, 0.09);
  }

  .mobile-rank-badge.sign-rank-a {
    color: #ff7a68;
    border-color: rgba(192, 57, 43, 0.46);
  }

  .mobile-rank-badge.sign-rank-b {
    color: #7ad6c9;
    border-color: rgba(47, 183, 163, 0.36);
  }

  .mobile-rank-badge.sign-rank-c {
    color: rgba(218, 222, 230, 0.72);
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(20, 21, 25, 0.68);
  }

  .mobile-rank-detail {
    display: grid;
    gap: 8px;
    margin: 0 10px 10px;
    padding: 10px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.26);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.055);
  }

  .mobile-rank-detail[hidden] {
    display: none !important;
  }

  .mobile-rank-area,
  .mobile-rank-caution {
    margin: 0;
    color: rgba(245, 240, 232, 0.72);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
  }

  .mobile-rank-reasons {
    display: grid;
    gap: 5px;
  }

  .mobile-rank-reasons strong,
  .mobile-rank-caution strong {
    display: inline-block;
    margin-right: 7px;
    color: #D4AF37;
    font-size: 11px;
    font-weight: 900;
  }

  .mobile-rank-reasons ul {
    display: grid;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .mobile-rank-reasons li {
    color: rgba(245, 240, 232, 0.82);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.42;
  }

  .mobile-rank-reasons li::before {
    content: "・";
    color: rgba(212, 175, 55, 0.78);
  }

  .mobile-rank-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .mobile-rank-actions a,
  .mobile-rank-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 6px;
    border: 1px solid rgba(212, 175, 55, 0.30);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.045);
    color: #F5F0E8;
    font: inherit;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    touch-action: manipulation;
  }

  .mobile-rank-actions button:first-child {
    border-color: rgba(212, 175, 55, 0.70);
    background: linear-gradient(180deg, rgba(216, 184, 76, 0.94), rgba(168, 133, 45, 0.94));
    color: #08090a;
  }

  .mobile-pr-lane {
    display: grid;
    gap: 6px;
    min-height: 72px;
    padding: 8px 9px 9px;
    border: 1px solid rgba(215, 184, 90, 0.24);
    border-radius: 14px;
    background:
      linear-gradient(90deg, rgba(212, 175, 55, 0.055), transparent 42%),
      linear-gradient(180deg, rgba(18, 18, 20, 0.82), rgba(8, 8, 10, 0.90));
    box-shadow:
      0 10px 26px rgba(0, 0, 0, 0.24),
      inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  .mobile-pr-label {
    color: rgba(212, 175, 55, 0.92);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.16em;
    line-height: 1;
  }

  .mobile-pr-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .mobile-pr-card {
    display: grid;
    gap: 2px;
    min-width: 0;
    min-height: 47px;
    padding: 7px 8px;
    border: 1px solid rgba(215, 184, 90, 0.22);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.035);
    color: #F5F0E8;
    text-decoration: none;
    overflow: hidden;
  }

  .mobile-pr-card strong,
  .mobile-pr-card span {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-pr-card strong {
    color: rgba(245, 240, 232, 0.92);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.25;
  }

  .mobile-pr-card span {
    color: rgba(245, 240, 232, 0.66);
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1.25;
  }

  .mobile-first-actions {
    gap: 6px !important;
  }

  .mobile-first-map-button {
    min-height: 42px !important;
    padding: 8px 10px !important;
    border-radius: 11px !important;
    font-size: 12px !important;
  }

  .mobile-first-footnote {
    display: none !important;
  }
}

/* 2026-05-29: mobile ranking prestige treatment */
@media (max-width: 759px) {
  .mobile-rank-item {
    isolation: isolate;
  }

  .mobile-rank-row {
    position: relative;
    overflow: hidden;
  }

  .mobile-rank-row > * {
    position: relative;
    z-index: 1;
  }

  .mobile-rank-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
  }

  .mobile-rank-store {
    display: block;
  }

  .mobile-rank-note {
    display: block;
    color: rgba(212, 175, 55, 0.78);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-rank-item.is-order-1 {
    border-color: rgba(230, 190, 80, 0.36);
    border-left-color: rgba(212, 175, 55, 0.82);
    background:
      radial-gradient(circle at 15% 50%, rgba(212, 175, 55, 0.18), transparent 34%),
      linear-gradient(90deg, rgba(212, 175, 55, 0.075), transparent 48%),
      linear-gradient(180deg, rgba(24, 22, 17, 0.90), rgba(8, 9, 12, 0.92));
    box-shadow:
      0 0 24px rgba(212, 175, 55, 0.10),
      0 16px 34px rgba(0, 0, 0, 0.36),
      inset 0 1px 0 rgba(255, 255, 255, 0.07);
    animation: mobile-rank-first-breathe 3.6s ease-in-out infinite;
  }

  .mobile-rank-item.is-order-1 .mobile-rank-row {
    grid-template-columns: 46px 52px minmax(0, 1fr) 18px;
    min-height: 68px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .mobile-rank-item.is-order-1 .mobile-rank-row::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #fff0a8, #d4af37 46%, #765315);
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.34);
  }

  .mobile-rank-item.is-order-1 .mobile-rank-row::after {
    content: "";
    position: absolute;
    inset: -42% auto -42% -18%;
    width: 72%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 224, 138, 0.16), transparent 52%);
    pointer-events: none;
  }

  .mobile-rank-item.is-order-1 .mobile-rank-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 222, 126, 0.55);
    border-radius: 999px;
    background:
      radial-gradient(circle at 32% 24%, rgba(255, 246, 190, 0.30), transparent 36%),
      linear-gradient(180deg, rgba(212, 175, 55, 0.30), rgba(88, 65, 18, 0.36));
    color: #ffe9a6;
    box-shadow:
      0 0 14px rgba(212, 175, 55, 0.20),
      inset 0 1px 0 rgba(255, 255, 255, 0.16);
  }

  .mobile-rank-item.is-order-1 .mobile-rank-chevron {
    color: rgba(255, 222, 126, 0.90);
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.28);
  }

  .mobile-rank-item.is-order-2 {
    border-color: rgba(244, 234, 208, 0.18);
    border-left-color: rgba(244, 234, 208, 0.46);
    background:
      radial-gradient(circle at 18% 50%, rgba(244, 234, 208, 0.085), transparent 35%),
      linear-gradient(180deg, rgba(20, 21, 24, 0.84), rgba(8, 9, 12, 0.90));
  }

  .mobile-rank-item.is-order-2 .mobile-rank-row,
  .mobile-rank-item.is-order-3 .mobile-rank-row {
    min-height: 56px;
  }

  .mobile-rank-item.is-order-2 .mobile-rank-row::before,
  .mobile-rank-item.is-order-3 .mobile-rank-row::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 3px;
    border-radius: 999px;
  }

  .mobile-rank-item.is-order-2 .mobile-rank-row::before {
    background: linear-gradient(180deg, rgba(255, 248, 220, 0.92), rgba(191, 171, 118, 0.68));
    box-shadow: 0 0 12px rgba(244, 234, 208, 0.16);
  }

  .mobile-rank-item.is-order-2 .mobile-rank-number {
    color: rgba(244, 234, 208, 0.86);
  }

  .mobile-rank-item.is-order-3 {
    border-color: rgba(184, 126, 58, 0.18);
    border-left-color: rgba(184, 126, 58, 0.48);
    background:
      radial-gradient(circle at 18% 50%, rgba(184, 126, 58, 0.08), transparent 34%),
      linear-gradient(180deg, rgba(20, 18, 16, 0.82), rgba(8, 9, 12, 0.90));
  }

  .mobile-rank-item.is-order-3 .mobile-rank-row::before {
    background: linear-gradient(180deg, rgba(222, 164, 88, 0.72), rgba(95, 61, 27, 0.62));
    box-shadow: 0 0 10px rgba(184, 126, 58, 0.14);
  }

  .mobile-rank-item.is-order-3 .mobile-rank-number {
    color: rgba(222, 164, 88, 0.82);
  }

  .mobile-rank-badge {
    overflow: hidden;
  }

  .mobile-rank-badge.sign-rank-sss {
    color: #ffe06d;
    text-shadow: 0 0 14px rgba(255, 215, 0, 0.30);
    box-shadow:
      0 0 18px rgba(248, 213, 106, 0.24),
      0 0 30px rgba(80, 220, 255, 0.09),
      inset 0 1px 0 rgba(255, 255, 255, 0.14);
    animation: mobile-rank-sss-badge-breathe 3.2s ease-in-out infinite;
  }

  .mobile-rank-badge.sign-rank-sss::before,
  .mobile-rank-badge.sign-rank-sss::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
  }

  .mobile-rank-badge.sign-rank-sss::before {
    right: 7px;
    top: 5px;
    width: 3px;
    height: 3px;
    background: rgba(255, 245, 180, 0.78);
    box-shadow: -23px 13px 0 rgba(93, 226, 190, 0.32);
  }

  .mobile-rank-badge.sign-rank-sss::after {
    inset: -18px;
    background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.12), transparent 54%);
  }

  .mobile-rank-badge.sign-rank-ss {
    color: #e7c85b;
    border-color: rgba(231, 200, 91, 0.68);
    background:
      radial-gradient(circle at 50% 0%, rgba(231, 200, 91, 0.12), transparent 58%),
      rgba(5, 6, 8, 0.74);
    box-shadow:
      0 0 15px rgba(212, 175, 55, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  .mobile-rank-badge.sign-rank-s {
    color: #fff5dc;
    border-color: rgba(244, 234, 208, 0.50);
    background:
      radial-gradient(circle at 50% 0%, rgba(244, 234, 208, 0.10), transparent 58%),
      rgba(5, 6, 8, 0.72);
    box-shadow: 0 0 12px rgba(244, 234, 208, 0.12);
  }

  .mobile-rank-badge.sign-rank-a {
    color: #ff715f;
    border-color: rgba(255, 107, 87, 0.48);
    background:
      radial-gradient(circle at 50% 0%, rgba(255, 107, 87, 0.10), transparent 60%),
      rgba(5, 6, 8, 0.72);
    box-shadow: 0 0 12px rgba(255, 107, 87, 0.14);
  }

  .mobile-rank-badge.sign-rank-b {
    color: #87dcd0;
    border-color: rgba(47, 183, 163, 0.38);
    background: rgba(5, 6, 8, 0.70);
    box-shadow: 0 0 8px rgba(47, 183, 163, 0.08);
  }

  .mobile-rank-badge.sign-rank-c {
    color: rgba(218, 222, 230, 0.66);
    border-color: rgba(255, 255, 255, 0.105);
    box-shadow: none;
  }
}

@keyframes mobile-rank-first-breathe {
  0%, 100% {
    box-shadow:
      0 0 22px rgba(212, 175, 55, 0.08),
      0 16px 34px rgba(0, 0, 0, 0.36),
      inset 0 1px 0 rgba(255, 255, 255, 0.07);
  }
  50% {
    box-shadow:
      0 0 28px rgba(212, 175, 55, 0.14),
      0 16px 34px rgba(0, 0, 0, 0.36),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
}

@keyframes mobile-rank-sss-badge-breathe {
  0%, 100% {
    filter: saturate(1);
  }
  50% {
    filter: saturate(1.18) brightness(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-rank-item.is-order-1,
  .mobile-rank-badge.sign-rank-sss {
    animation: none !important;
  }
}

/* Public-safe Luxury Kamiuchi Signal Ranking */
.mobile-first-candidates {
  position: relative;
  display: block !important;
  overflow: hidden;
  margin: clamp(18px, 3vw, 28px) 0;
  padding: clamp(14px, 2.4vw, 22px);
  border: 1px solid rgba(212, 175, 55, 0.26);
  border-radius: 18px;
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 208, 98, 0.18), transparent 27%),
    radial-gradient(circle at 96% 20%, rgba(255, 58, 150, 0.10), transparent 24%),
    radial-gradient(circle at 70% 100%, rgba(64, 220, 190, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(22, 20, 16, 0.94), rgba(7, 8, 11, 0.98));
  box-shadow:
    0 26px 74px rgba(0, 0, 0, 0.56),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.mobile-first-candidates::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 214, 98, 0.76), rgba(255, 58, 160, 0.34), rgba(72, 214, 255, 0.34), transparent);
  pointer-events: none;
}

.mobile-first-head {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
}

.mobile-first-head h2 {
  margin: 2px 0 4px;
  color: var(--kamiuchi-washi, #f5f0e8);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(20px, 6vw, 34px);
  line-height: 1.12;
  letter-spacing: 0;
}

.mobile-first-head p:last-child {
  margin: 0;
  color: rgba(245, 240, 232, 0.68);
  font-size: clamp(12px, 3.2vw, 14px);
  line-height: 1.5;
}

.mobile-ranking-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
}

.luxury-rank-row {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-left: 3px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(17, 18, 23, 0.82), rgba(6, 7, 10, 0.92));
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.luxury-rank-row::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.65;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.06), transparent 38%);
}

.luxury-rank-row.is-order-1 {
  border-color: rgba(230, 190, 80, 0.42);
  border-left-color: rgba(255, 216, 112, 0.94);
  background:
    radial-gradient(circle at 18% 50%, rgba(212, 175, 55, 0.20), transparent 34%),
    linear-gradient(90deg, rgba(212, 175, 55, 0.10), transparent 52%),
    linear-gradient(180deg, rgba(26, 23, 17, 0.92), rgba(7, 8, 11, 0.94));
  box-shadow:
    0 0 28px rgba(212, 175, 55, 0.14),
    0 18px 40px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: public-rank-first-breathe 3.8s ease-in-out infinite;
}

.luxury-rank-row.is-order-2 {
  border-left-color: rgba(244, 234, 208, 0.58);
  background:
    radial-gradient(circle at 16% 50%, rgba(244, 234, 208, 0.09), transparent 34%),
    linear-gradient(180deg, rgba(19, 20, 24, 0.86), rgba(7, 8, 11, 0.92));
}

.luxury-rank-row.is-order-3 {
  border-left-color: rgba(202, 142, 72, 0.58);
  background:
    radial-gradient(circle at 16% 50%, rgba(202, 142, 72, 0.09), transparent 34%),
    linear-gradient(180deg, rgba(20, 18, 15, 0.86), rgba(7, 8, 11, 0.92));
}

.luxury-rank-row.sign-sss {
  border-color: rgba(255, 216, 112, 0.38);
  background:
    radial-gradient(circle at 21% 50%, rgba(255, 215, 0, 0.16), transparent 28%),
    radial-gradient(circle at 76% 24%, rgba(76, 214, 255, 0.08), transparent 24%),
    radial-gradient(circle at 90% 80%, rgba(255, 60, 160, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(21, 19, 14, 0.92), rgba(7, 8, 11, 0.94));
}

.luxury-rank-row.sign-ss { border-left-color: rgba(231, 200, 91, 0.76); }
.luxury-rank-row.sign-s { border-left-color: rgba(244, 234, 208, 0.68); }
.luxury-rank-row.sign-a { border-left-color: rgba(255, 107, 87, 0.70); }
.luxury-rank-row.sign-b { border-left-color: rgba(47, 183, 163, 0.58); }
.luxury-rank-row.sign-c { border-left-color: rgba(255, 255, 255, 0.14); }

.mobile-rank-summary {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 42px 54px minmax(0, 1fr) 20px;
  align-items: center;
  width: 100%;
  min-height: 54px;
  padding: 7px 12px 7px 10px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.luxury-rank-row.is-order-1 .mobile-rank-summary {
  min-height: 68px;
  grid-template-columns: 48px 56px minmax(0, 1fr) 20px;
}

.rank-order-badge {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(245, 240, 232, 0.70);
  font-family: "Cinzel", serif;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.rank-order-badge small {
  margin-left: 1px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 9px;
}

.is-order-1 .rank-order-badge {
  border-color: rgba(255, 225, 134, 0.58);
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 247, 198, 0.34), transparent 36%),
    linear-gradient(180deg, rgba(212, 175, 55, 0.34), rgba(92, 68, 17, 0.42));
  color: #ffe9a6;
  box-shadow:
    0 0 16px rgba(212, 175, 55, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.rank-store-name {
  display: block;
  overflow: hidden;
  color: rgba(245, 240, 232, 0.93);
  font-size: clamp(14px, 3.8vw, 17px);
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-chevron {
  color: rgba(212, 175, 55, 0.72);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-1px);
}

.luxury-rank-row.is-open .rank-chevron {
  transform: rotate(90deg);
}

.kamiuchi-sign-badge,
.selected-sign-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 28px;
  padding: 0 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(5, 6, 8, 0.76);
  color: rgba(245, 240, 232, 0.72);
  font-family: "Cinzel", serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
}

.kamiuchi-sign-badge.sign-sss,
.selected-sign-badge.sign-sss {
  color: #ffe06d;
  border: 1px solid transparent;
  background:
    linear-gradient(#07080b, #07080b) padding-box,
    conic-gradient(from 220deg, #35a7ff, #8b5cf6, #ff3c8a, #ffb800, #53e46a, #35a7ff) border-box;
  box-shadow:
    0 0 20px rgba(255, 215, 0, 0.28),
    0 0 34px rgba(76, 214, 255, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  animation: public-rank-sss-breathe 3.4s ease-in-out infinite;
}

.kamiuchi-sign-badge.sign-sss::before {
  content: "";
  position: absolute;
  right: 8px;
  top: 5px;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 245, 180, 0.84);
  box-shadow: -27px 15px 0 rgba(93, 226, 190, 0.34);
}

.kamiuchi-sign-badge.sign-ss,
.selected-sign-badge.sign-ss {
  color: #e7c85b;
  border-color: rgba(231, 200, 91, 0.70);
  background:
    radial-gradient(circle at 50% 0%, rgba(231, 200, 91, 0.16), transparent 58%),
    rgba(5, 6, 8, 0.74);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.18);
}

.kamiuchi-sign-badge.sign-s,
.selected-sign-badge.sign-s {
  color: #fff5dc;
  border-color: rgba(244, 234, 208, 0.56);
  box-shadow: 0 0 12px rgba(244, 234, 208, 0.13);
}

.kamiuchi-sign-badge.sign-a,
.selected-sign-badge.sign-a {
  color: #ff715f;
  border-color: rgba(255, 107, 87, 0.50);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 107, 87, 0.12), transparent 62%),
    rgba(5, 6, 8, 0.74);
  box-shadow: 0 0 13px rgba(255, 107, 87, 0.16);
}

.kamiuchi-sign-badge.sign-b,
.selected-sign-badge.sign-b {
  color: #87dcd0;
  border-color: rgba(47, 183, 163, 0.40);
  box-shadow: 0 0 9px rgba(47, 183, 163, 0.09);
}

.kamiuchi-sign-badge.sign-c,
.selected-sign-badge.sign-c {
  color: rgba(218, 222, 230, 0.66);
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: none;
}

.mobile-rank-detail {
  position: relative;
  z-index: 1;
  margin: 0 10px 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(2, 3, 5, 0.34);
}

.rank-area-line,
.rank-notice {
  margin: 0 0 8px;
  color: rgba(245, 240, 232, 0.70);
  font-size: 12px;
  line-height: 1.5;
}

.rank-reasons strong,
.selected-reasons strong {
  display: block;
  margin-bottom: 6px;
  color: rgba(245, 240, 232, 0.92);
  font-size: 12px;
}

.rank-reasons ul {
  display: grid;
  gap: 4px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

.rank-reasons li,
.selected-reasons span,
.store-card-reasons span,
.mobile-sheet-reasons span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 5px 8px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.10);
  color: rgba(245, 240, 232, 0.86);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.rank-detail-actions,
.selected-actions,
.store-card-actions,
.mobile-sheet-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.rank-detail-actions a,
.rank-detail-actions button,
.selected-actions a,
.selected-actions button,
.store-card-actions a,
.store-card-actions button,
.mobile-sheet-actions a,
.mobile-sheet-actions button,
.mobile-map-action {
  min-height: 42px;
  border: 1px solid rgba(212, 175, 55, 0.34);
  border-radius: 10px;
  background: rgba(6, 7, 10, 0.72);
  color: rgba(245, 240, 232, 0.90);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.rank-detail-actions a,
.selected-actions .primary-action,
.mobile-sheet-actions a,
.mobile-map-action.primary {
  background: linear-gradient(180deg, #e6c451, #b88719);
  border-color: rgba(255, 224, 128, 0.78);
  color: #050506;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.16);
}

.mobile-map-actions {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.mobile-pr-lane {
  position: relative;
  overflow: hidden;
  margin: 2px 0;
  padding: 9px;
  border: 1px solid rgba(230, 205, 138, 0.28);
  border-radius: 15px;
  background:
    linear-gradient(90deg, rgba(230, 205, 138, 0.10), transparent 46%),
    linear-gradient(180deg, rgba(18, 17, 14, 0.88), rgba(6, 7, 10, 0.92));
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.mobile-pr-head {
  margin-bottom: 6px;
  color: rgba(230, 205, 138, 0.92);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.10em;
}

.mobile-pr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.mobile-pr-item {
  display: grid;
  gap: 2px;
  min-height: 52px;
  padding: 8px;
  border: 1px solid rgba(230, 205, 138, 0.20);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  color: rgba(245, 240, 232, 0.86);
  text-decoration: none;
}

.mobile-pr-item strong,
.mobile-pr-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-pr-item strong {
  font-size: 12px;
  font-weight: 900;
}

.mobile-pr-item span {
  color: rgba(245, 240, 232, 0.62);
  font-size: 11px;
}

.radar-map {
  background:
    radial-gradient(circle at 48% 48%, rgba(212, 175, 55, 0.10), transparent 28%),
    radial-gradient(circle at 38% 68%, rgba(0, 200, 160, 0.07), transparent 26%),
    radial-gradient(circle at 62% 34%, rgba(120, 80, 255, 0.05), transparent 24%),
    linear-gradient(180deg, #050506 0%, #080a0f 52%, #030304 100%) !important;
  box-shadow:
    inset 0 0 80px rgba(0, 0, 0, 0.70),
    0 24px 80px rgba(0, 0, 0, 0.42) !important;
}

.radar-map .ring {
  opacity: 0.08 !important;
}

.radar-map .ring span {
  display: none !important;
}

.radar-map .axis {
  opacity: 0.10 !important;
}

.radar-map .area-label {
  color: rgba(245, 240, 232, 0.11) !important;
  font-family: "Cinzel", "Noto Serif JP", serif !important;
  font-size: clamp(11px, 2vw, 15px) !important;
  font-weight: 800 !important;
  letter-spacing: 0.18em !important;
  text-shadow: none !important;
}

.radar-map > .map-pin.signal-map-pin {
  position: absolute !important;
  z-index: 4;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: translate(-50%, -50%) !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.signal-map-pin .pin-core,
.signal-map-pin .pin-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.signal-map-pin .pin-core {
  width: 10px;
  height: 10px;
  background: var(--pin-color, #5d6068);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.55);
}

.signal-map-pin.sign-rank-sss .pin-core { width: 15px; height: 15px; background: #fff2a8; box-shadow: 0 0 24px rgba(255, 242, 168, 0.52), 0 0 34px rgba(100, 220, 255, 0.16), 0 6px 20px rgba(0, 0, 0, 0.60); }
.signal-map-pin.sign-rank-ss .pin-core { width: 14px; height: 14px; background: #d7b85a; box-shadow: 0 0 20px rgba(215, 184, 90, 0.38), 0 6px 18px rgba(0, 0, 0, 0.58); }
.signal-map-pin.sign-rank-s .pin-core { width: 13px; height: 13px; background: #f4ead0; box-shadow: 0 0 16px rgba(244, 234, 208, 0.28), 0 5px 16px rgba(0, 0, 0, 0.55); }
.signal-map-pin.sign-rank-a .pin-core { width: 12px; height: 12px; background: #c94a3a; box-shadow: 0 0 14px rgba(201, 74, 58, 0.25), 0 5px 14px rgba(0, 0, 0, 0.55); }
.signal-map-pin.sign-rank-b .pin-core { width: 11px; height: 11px; background: #2fb7a3; box-shadow: 0 0 10px rgba(47, 183, 163, 0.22), 0 5px 14px rgba(0, 0, 0, 0.55); }
.signal-map-pin.sign-rank-c .pin-core { width: 8px; height: 8px; background: #5b5f67; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 4px 10px rgba(0, 0, 0, 0.55); }

.signal-map-pin.sign-rank-sss .pin-ring,
.signal-map-pin.sign-rank-ss .pin-ring,
.signal-map-pin.sign-rank-s .pin-ring {
  width: 27px;
  height: 27px;
}

.signal-map-pin.sign-rank-sss .pin-ring {
  background: conic-gradient(from 210deg, #35a7ff, #b55cff, #ff3c8a, #ffb800, #53e46a, #35a7ff);
  opacity: 0.86;
  -webkit-mask: radial-gradient(circle, transparent 54%, #000 57%);
  mask: radial-gradient(circle, transparent 54%, #000 57%);
  animation: public-rank-sss-breathe 3.8s ease-in-out infinite;
}

.signal-map-pin.sign-rank-ss .pin-ring { border: 1px solid rgba(215, 184, 90, 0.68); }
.signal-map-pin.sign-rank-s .pin-ring { border: 1px solid rgba(244, 234, 208, 0.38); }

.signal-map-pin .pin-rank {
  position: absolute;
  left: 50%;
  top: 50%;
  display: none;
  color: #050506;
  font-family: "Cinzel", serif;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.signal-map-pin.sign-rank-sss .pin-rank,
.signal-map-pin.sign-rank-ss .pin-rank,
.signal-map-pin.is-selected .pin-rank {
  display: block;
}

.signal-map-pin.is-selected {
  z-index: 12;
}

.signal-map-pin.is-selected .pin-core {
  width: 18px;
  height: 18px;
  background: radial-gradient(circle, #fff7c7 0%, #d7b85a 42%, #7b5d1c 100%);
  box-shadow:
    0 0 24px rgba(215, 184, 90, 0.55),
    0 0 48px rgba(215, 184, 90, 0.22),
    0 10px 28px rgba(0, 0, 0, 0.70);
}

.signal-map-pin.is-selected::before,
.signal-map-pin.is-selected::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.signal-map-pin.is-selected::before {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(247, 220, 130, 0.72);
  box-shadow: inset 0 0 12px rgba(247, 220, 130, 0.18), 0 0 22px rgba(247, 220, 130, 0.22);
}

.signal-map-pin.is-selected::after {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(247, 220, 130, 0.18);
  animation: public-focus-pulse 2.9s ease-in-out infinite;
}

.signal-map-pin .pin-store-label {
  position: absolute;
  left: calc(50% + 17px);
  top: 50%;
  max-width: 180px;
  overflow: hidden;
  padding: 6px 9px;
  border: 1px solid rgba(215, 184, 90, 0.24);
  border-radius: 999px;
  background: rgba(5, 5, 6, 0.78);
  color: rgba(255, 255, 255, 0.90);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  transform: translateY(-50%);
  pointer-events: none;
}

.luxury-selected-card,
.mobile-selection-sheet,
.luxury-store-card {
  background:
    linear-gradient(180deg, rgba(15, 17, 21, 0.86), rgba(6, 7, 10, 0.92)) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

.selected-title-row,
.store-card-main,
.mobile-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.selected-store-name,
.luxury-store-card h3,
.mobile-sheet-head h3 {
  margin: 0;
  color: var(--kamiuchi-washi, #f5f0e8);
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0;
}

.selected-card-head,
.selected-tags,
.selected-reasons div,
.store-card-reasons,
.mobile-sheet-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.selected-card-head {
  justify-content: space-between;
  margin-bottom: 8px;
}

.selected-state {
  margin: 0;
  color: rgba(212, 175, 55, 0.88);
  font-size: 12px;
  font-weight: 900;
}

.selected-close,
.mobile-sheet-close {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 240, 232, 0.78);
  cursor: pointer;
}

.selected-tags span {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  color: rgba(245, 240, 232, 0.66);
  font-size: 11px;
}

.selected-note,
.mobile-sheet-notice {
  margin: 10px 0;
  padding: 8px 10px;
  border: 1px solid rgba(212, 175, 55, 0.20);
  border-radius: 10px;
  color: rgba(245, 240, 232, 0.72);
  font-size: 12px;
}

.luxury-store-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 12px;
  border-radius: 16px !important;
  padding: 14px;
}

.mobile-selection-sheet {
  border-radius: 18px 18px 0 0 !important;
}

.mobile-sheet-grip {
  width: 46px;
  height: 4px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: rgba(245, 240, 232, 0.28);
}

@keyframes public-rank-first-breathe {
  0%, 100% { box-shadow: 0 0 24px rgba(212, 175, 55, 0.10), 0 18px 40px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
  50% { box-shadow: 0 0 34px rgba(212, 175, 55, 0.18), 0 18px 40px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.09); }
}

@keyframes public-rank-sss-breathe {
  0%, 100% { filter: saturate(1) brightness(1); opacity: 0.88; }
  50% { filter: saturate(1.16) brightness(1.05); opacity: 1; }
}

@keyframes public-focus-pulse {
  0%, 100% { opacity: 0.25; transform: translate(-50%, -50%) scale(0.92); }
  50% { opacity: 0.55; transform: translate(-50%, -50%) scale(1.06); }
}

@media (min-width: 900px) {
  .mobile-first-candidates {
    margin: 22px 0 28px;
  }

  .mobile-ranking-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .luxury-rank-row.is-open {
    grid-column: span 2;
  }

  .mobile-rank-summary {
    grid-template-columns: 42px 52px minmax(0, 1fr) 18px;
  }

  .mobile-pr-lane {
    grid-column: span 2;
  }

  .mobile-map-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .mobile-first-candidates {
    margin: 12px 10px 14px;
    padding: 12px;
    border-radius: 18px;
  }

  .mobile-ranking-list {
    gap: 7px;
  }

  .mobile-rank-summary {
    min-height: 52px;
    grid-template-columns: 38px 50px minmax(0, 1fr) 18px;
    padding: 6px 10px 6px 9px;
  }

  .luxury-rank-row.is-order-1 .mobile-rank-summary {
    min-height: 64px;
    grid-template-columns: 44px 52px minmax(0, 1fr) 18px;
  }

  .rank-order-badge {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .kamiuchi-sign-badge {
    min-width: 43px;
    height: 26px;
    padding: 0 8px;
    font-size: 12px;
  }

  .rank-store-name {
    font-size: 14px;
  }

  .rank-detail-actions,
  .selected-actions,
  .store-card-actions,
  .mobile-sheet-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rank-detail-actions button:last-child,
  .store-card-actions button:last-child {
    grid-column: span 2;
  }

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

  .signal-map-pin .pin-store-label {
    display: none;
  }

  .mobile-sheet-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .luxury-rank-row.is-order-1,
  .kamiuchi-sign-badge.sign-sss,
  .signal-map-pin.sign-rank-sss .pin-ring,
  .signal-map-pin.is-selected::after {
    animation: none !important;
  }
}

/* Mode-aware Kamiuchi Star Marker system */
.luxury-rank-row.is-map-selected {
  outline: 1px solid rgba(255, 220, 130, 0.42);
  box-shadow:
    0 0 24px rgba(212, 175, 55, 0.13),
    0 16px 34px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.radar-map.marker-mode-top5 {
  --marker-field-boost: 1;
}

.radar-map.marker-mode-top20 {
  --marker-field-boost: 0.72;
}

.radar-map.marker-mode-all {
  --marker-field-boost: 0.46;
}

.radar-map > .map-pin.kamiuchi-star-marker,
.radar-map > .map-pin.signal-map-pin.kamiuchi-star-marker {
  position: absolute !important;
  z-index: 5;
  display: grid !important;
  place-items: center;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: translate(-50%, -50%) !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  --rank-color: #8b8f98;
  --rank-soft: rgba(139, 143, 152, 0.16);
  --rank-border: rgba(139, 143, 152, 0.34);
}

.kamiuchi-star-marker.sign-rank-sss {
  --rank-color: #f8d56a;
  --rank-soft: rgba(255, 215, 0, 0.26);
  --rank-border: rgba(255, 215, 0, 0.62);
}

.kamiuchi-star-marker.sign-rank-ss {
  --rank-color: #f1c95b;
  --rank-soft: rgba(241, 201, 91, 0.24);
  --rank-border: rgba(241, 201, 91, 0.64);
}

.kamiuchi-star-marker.sign-rank-s {
  --rank-color: #f4ead0;
  --rank-soft: rgba(244, 234, 208, 0.18);
  --rank-border: rgba(244, 234, 208, 0.55);
}

.kamiuchi-star-marker.sign-rank-a {
  --rank-color: #ff6b57;
  --rank-soft: rgba(255, 107, 87, 0.20);
  --rank-border: rgba(255, 107, 87, 0.55);
}

.kamiuchi-star-marker.sign-rank-b {
  --rank-color: #55d6b2;
  --rank-soft: rgba(85, 214, 178, 0.16);
  --rank-border: rgba(85, 214, 178, 0.42);
}

.kamiuchi-star-marker.sign-rank-c {
  --rank-color: #8b8f98;
  --rank-soft: rgba(139, 143, 152, 0.10);
  --rank-border: rgba(139, 143, 152, 0.30);
}

.kamiuchi-star-marker .marker-hit {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.kamiuchi-star-marker .marker-aura {
  position: absolute;
  inset: 16%;
  border-radius: 999px;
  background: radial-gradient(circle, var(--rank-soft), transparent 62%);
  filter: blur(4px);
  opacity: calc(0.72 * var(--marker-field-boost, 1));
}

.kamiuchi-star-marker .marker-star {
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid var(--rank-border);
  border-radius: 999px;
  color: var(--rank-color);
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.26), transparent 18%),
    radial-gradient(circle at 50% 52%, rgba(255, 255, 255, 0.055), transparent 50%),
    linear-gradient(180deg, rgba(18, 19, 23, 0.96), rgba(3, 4, 6, 0.98));
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.66),
    0 0 18px var(--rank-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.kamiuchi-star-marker.sign-rank-sss .marker-star {
  border: 1px solid transparent;
  background:
    linear-gradient(#050506, #050506) padding-box,
    conic-gradient(from 220deg, #35a7ff, #8b5cf6, #ff3c8a, #ffb800, #53e46a, #35a7ff) border-box;
  box-shadow:
    0 0 24px rgba(248, 213, 106, 0.38),
    0 0 42px rgba(80, 220, 255, 0.15),
    0 12px 30px rgba(0, 0, 0, 0.70),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.kamiuchi-star-marker .marker-star-svg {
  width: 62%;
  height: 62%;
  overflow: visible;
  filter: drop-shadow(0 0 8px currentColor);
}

.kamiuchi-star-marker .marker-star-svg path {
  fill: currentColor;
}

.kamiuchi-star-marker .marker-order {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border: 1px solid rgba(255, 234, 166, 0.52);
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.40), transparent 35%),
    linear-gradient(180deg, rgba(255, 224, 126, 0.94), rgba(187, 133, 28, 0.94));
  color: #050506;
  font-family: "Cinzel", serif;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.28);
}

.kamiuchi-star-marker .marker-sign {
  position: absolute;
  left: 50%;
  bottom: -8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 17px;
  padding: 0 6px;
  border: 1px solid var(--rank-border);
  border-radius: 999px;
  background: rgba(4, 5, 8, 0.86);
  color: var(--rank-color);
  font-family: "Cinzel", serif;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--rank-soft);
}

.marker-top5 {
  width: 60px !important;
  height: 60px !important;
  z-index: 7 !important;
}

.marker-top5 .marker-star {
  width: 46px;
  height: 46px;
}

.marker-top5.is-top-candidate[data-rank-order="1"] {
  z-index: 9 !important;
}

.marker-top5.is-top-candidate[data-rank-order="1"] .marker-star {
  box-shadow:
    0 0 20px rgba(212, 175, 55, 0.20),
    0 14px 30px rgba(0, 0, 0, 0.70),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.marker-top20 {
  width: 46px !important;
  height: 46px !important;
  z-index: 5 !important;
}

.marker-top20 .marker-star {
  width: 28px;
  height: 28px;
}

.marker-top20 .marker-order,
.marker-top20 .marker-sign {
  display: none;
}

.marker-top20.is-top-candidate .marker-order,
.marker-top20.sign-rank-sss .marker-sign,
.marker-top20.sign-rank-ss .marker-sign,
.marker-top20.sign-rank-s .marker-sign,
.marker-top20.sign-rank-a .marker-sign {
  display: inline-flex;
}

.marker-top20.is-top-candidate .marker-order {
  min-width: 15px;
  height: 15px;
  font-size: 9px;
}

.marker-all54 {
  width: 40px !important;
  height: 40px !important;
  z-index: 4 !important;
}

.marker-all54 .marker-star {
  width: 14px;
  height: 14px;
}

.marker-all54 .marker-star-svg {
  width: 72%;
  height: 72%;
  filter: none;
}

.marker-all54 .marker-order,
.marker-all54 .marker-sign {
  display: none;
}

.marker-all54.sign-rank-c {
  opacity: 0.66;
}

.kamiuchi-star-marker.is-selected,
.marker-top20.is-selected,
.marker-all54.is-selected {
  width: 72px !important;
  height: 72px !important;
  z-index: 20 !important;
  opacity: 1;
}

.kamiuchi-star-marker.is-selected .marker-aura {
  inset: 2%;
  background:
    radial-gradient(circle, rgba(255, 224, 126, 0.24), transparent 58%),
    radial-gradient(circle at 66% 32%, var(--rank-soft), transparent 42%);
  filter: blur(6px);
  opacity: 1;
}

.kamiuchi-star-marker.is-selected .marker-star {
  width: 56px;
  height: 56px;
  border-color: rgba(255, 226, 134, 0.82);
  background:
    radial-gradient(circle at 33% 24%, rgba(255, 255, 255, 0.30), transparent 18%),
    radial-gradient(circle, rgba(35, 29, 14, 0.95), rgba(5, 5, 7, 0.98) 64%);
  box-shadow:
    0 0 28px rgba(212, 175, 55, 0.36),
    0 0 48px var(--rank-soft),
    0 16px 34px rgba(0, 0, 0, 0.78),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.kamiuchi-star-marker.is-selected .marker-order,
.kamiuchi-star-marker.is-selected .marker-sign {
  display: inline-flex;
}

.kamiuchi-star-marker.is-selected::before,
.kamiuchi-star-marker.is-selected::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.kamiuchi-star-marker.is-selected::before {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(247, 220, 130, 0.68);
  box-shadow:
    inset 0 0 14px rgba(247, 220, 130, 0.18),
    0 0 24px rgba(247, 220, 130, 0.24);
}

.kamiuchi-star-marker.is-selected::after {
  width: 84px;
  height: 84px;
  border: 1px solid rgba(247, 220, 130, 0.16);
  animation: public-focus-pulse 3s ease-in-out infinite;
}

.kamiuchi-star-marker .marker-label {
  position: absolute;
  left: calc(50% + 32px);
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 210px;
  padding: 7px 10px;
  border: 1px solid rgba(215, 184, 90, 0.28);
  border-radius: 999px;
  background: rgba(5, 5, 6, 0.82);
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: translateY(-50%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.52);
}

.kamiuchi-star-marker .marker-label b {
  color: var(--rank-color);
  font-family: "Cinzel", serif;
  font-size: 11px;
}

@media (max-width: 768px) {
  .marker-top5 {
    width: 58px !important;
    height: 58px !important;
  }

  .marker-top5 .marker-star {
    width: 44px;
    height: 44px;
  }

  .marker-top20 {
    width: 44px !important;
    height: 44px !important;
  }

  .marker-top20 .marker-star {
    width: 26px;
    height: 26px;
  }

  .marker-all54 {
    width: 38px !important;
    height: 38px !important;
  }

  .marker-all54 .marker-star {
    width: 12px;
    height: 12px;
  }

  .kamiuchi-star-marker.is-selected {
    width: 66px !important;
    height: 66px !important;
  }

  .kamiuchi-star-marker.is-selected .marker-star {
    width: 52px;
    height: 52px;
  }

  .kamiuchi-star-marker .marker-label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kamiuchi-star-marker.sign-rank-sss .marker-star,
  .kamiuchi-star-marker.is-selected::after {
    animation: none !important;
  }
}

/* Renderer rebuild: unified public-safe decision UI */
.kanto-renderer-rebuild .mobile-first-candidates {
  position: relative;
  display: grid !important;
  gap: 14px;
  overflow: hidden;
  border: 1px solid rgba(218, 180, 75, 0.28) !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 16% 0%, rgba(245, 190, 70, 0.17), transparent 28%),
    radial-gradient(circle at 95% 20%, rgba(255, 60, 160, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(24, 22, 18, 0.95), rgba(7, 8, 11, 0.98)) !important;
  box-shadow:
    0 28px 82px rgba(0, 0, 0, 0.56),
    inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
}

.kanto-renderer-rebuild .mobile-first-candidates::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 210, 80, 0.82), rgba(255, 60, 170, 0.35), rgba(80, 220, 255, 0.35), transparent);
  pointer-events: none;
}

.kanto-renderer-rebuild .mobile-ranking-list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
}

.kanto-renderer-rebuild .decision-rank-row {
  width: 100%;
  min-width: 0;
  grid-column: auto !important;
}

.kanto-renderer-rebuild .mobile-rank-summary {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 17px !important;
  background:
    radial-gradient(circle at 8% 20%, rgba(212, 175, 55, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(22, 24, 30, 0.88), rgba(7, 8, 12, 0.94)) !important;
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
}

.kanto-renderer-rebuild .decision-rank-row.is-order-1 .mobile-rank-summary {
  min-height: 68px;
  border-color: rgba(230, 190, 80, 0.45) !important;
  background:
    radial-gradient(circle at 10% 48%, rgba(230, 190, 80, 0.20), transparent 36%),
    linear-gradient(180deg, rgba(30, 24, 14, 0.94), rgba(8, 8, 11, 0.98)) !important;
  box-shadow:
    0 0 24px rgba(230, 190, 80, 0.16),
    0 18px 48px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.09) !important;
}

.kanto-renderer-rebuild .decision-rank-row.is-order-2 .mobile-rank-summary {
  border-color: rgba(244, 234, 208, 0.24) !important;
  box-shadow: 0 0 18px rgba(244, 234, 208, 0.08), 0 12px 34px rgba(0, 0, 0, 0.34) !important;
}

.kanto-renderer-rebuild .decision-rank-row.is-order-3 .mobile-rank-summary {
  border-color: rgba(179, 123, 49, 0.25) !important;
}

.kanto-renderer-rebuild .rank-order-badge {
  flex: 0 0 auto;
  min-width: 42px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(245, 240, 232, 0.88);
  font-family: "Cinzel", serif;
  font-weight: 900;
}

.kanto-renderer-rebuild .is-order-1 .rank-order-badge {
  border: 1px solid rgba(255, 226, 134, 0.64);
  background:
    radial-gradient(circle at 35% 24%, rgba(255, 255, 255, 0.40), transparent 28%),
    linear-gradient(180deg, rgba(255, 224, 126, 0.94), rgba(168, 111, 24, 0.92));
  color: #050506;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.38);
}

.kanto-renderer-rebuild .kamiuchi-sign-badge,
.kanto-renderer-rebuild .selected-sign-badge {
  min-width: 46px;
  border-radius: 999px;
  font-family: "Cinzel", serif;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.kanto-renderer-rebuild .kamiuchi-sign-badge.sign-sss,
.kanto-renderer-rebuild .selected-sign-badge.sign-sss {
  color: #f8d56a;
  border: 1px solid transparent;
  background:
    linear-gradient(#070708, #070708) padding-box,
    conic-gradient(from 220deg, #35a7ff, #8b5cf6, #ff3c8a, #ffb800, #53e46a, #35a7ff) border-box;
  box-shadow: 0 0 20px rgba(248, 213, 106, 0.36), 0 0 34px rgba(80, 220, 255, 0.14);
}

.kanto-renderer-rebuild .kamiuchi-sign-badge.sign-ss,
.kanto-renderer-rebuild .selected-sign-badge.sign-ss {
  color: #f1c95b;
  border-color: rgba(241, 201, 91, 0.66);
  box-shadow: 0 0 17px rgba(241, 201, 91, 0.24);
}

.kanto-renderer-rebuild .kamiuchi-sign-badge.sign-s,
.kanto-renderer-rebuild .selected-sign-badge.sign-s {
  color: #f4ead0;
  border-color: rgba(244, 234, 208, 0.52);
  box-shadow: 0 0 14px rgba(244, 234, 208, 0.16);
}

.kanto-renderer-rebuild .kamiuchi-sign-badge.sign-a,
.kanto-renderer-rebuild .selected-sign-badge.sign-a {
  color: #ff6b57;
  border-color: rgba(255, 107, 87, 0.50);
  box-shadow: 0 0 14px rgba(255, 107, 87, 0.18);
}

.kanto-renderer-rebuild .kamiuchi-sign-badge.sign-b,
.kanto-renderer-rebuild .selected-sign-badge.sign-b {
  color: #55d6b2;
  border-color: rgba(85, 214, 178, 0.38);
  box-shadow: 0 0 10px rgba(85, 214, 178, 0.12);
}

.kanto-renderer-rebuild .kamiuchi-sign-badge.sign-c,
.kanto-renderer-rebuild .selected-sign-badge.sign-c {
  color: #9aa0aa;
  border-color: rgba(154, 160, 170, 0.28);
  box-shadow: none;
}

.kanto-renderer-rebuild .rank-store-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(245, 240, 232, 0.96);
  font-weight: 900;
}

.kanto-renderer-rebuild .rank-chevron {
  color: rgba(212, 175, 55, 0.88);
}

.kanto-renderer-rebuild .mobile-rank-detail,
.kanto-renderer-rebuild .rank-reasons,
.kanto-renderer-rebuild .rank-detail-actions {
  border-color: rgba(255, 255, 255, 0.10) !important;
  background: rgba(5, 6, 9, 0.70) !important;
}

.kanto-renderer-rebuild .mobile-pr-lane {
  grid-column: auto !important;
  border: 1px solid rgba(220, 190, 118, 0.30) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 12% 10%, rgba(220, 190, 118, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(19, 18, 16, 0.88), rgba(8, 8, 10, 0.94)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 34px rgba(0, 0, 0, 0.28) !important;
}

.kanto-renderer-rebuild .mobile-pr-item {
  border: 1px solid rgba(220, 190, 118, 0.22) !important;
  background: rgba(255, 255, 255, 0.045) !important;
}

.kanto-renderer-rebuild .radar-map > .map-marker.kamiuchi-star-marker {
  position: absolute !important;
  z-index: 5;
  display: grid !important;
  place-items: center;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: translate(-50%, -50%) !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  --rank-color: #8b8f98;
  --rank-soft: rgba(139, 143, 152, 0.16);
  --rank-border: rgba(139, 143, 152, 0.34);
}

.kanto-renderer-rebuild .map-loading-badge[hidden] {
  display: none !important;
}

.kanto-renderer-rebuild .map-marker .marker-hit {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.kanto-renderer-rebuild .map-marker .marker-star {
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid var(--rank-border);
  border-radius: 999px;
  color: var(--rank-color);
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.26), transparent 18%),
    linear-gradient(180deg, rgba(18, 19, 23, 0.96), rgba(3, 4, 6, 0.98));
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.66),
    0 0 18px var(--rank-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.kanto-renderer-rebuild .map-marker .marker-star-svg path {
  fill: currentColor;
}

.kanto-renderer-rebuild .map-marker.sign-rank-sss { --rank-color: #f8d56a; --rank-soft: rgba(255, 215, 0, 0.27); --rank-border: rgba(255, 215, 0, 0.64); }
.kanto-renderer-rebuild .map-marker.sign-rank-ss { --rank-color: #f1c95b; --rank-soft: rgba(241, 201, 91, 0.25); --rank-border: rgba(241, 201, 91, 0.64); }
.kanto-renderer-rebuild .map-marker.sign-rank-s { --rank-color: #f4ead0; --rank-soft: rgba(244, 234, 208, 0.18); --rank-border: rgba(244, 234, 208, 0.55); }
.kanto-renderer-rebuild .map-marker.sign-rank-a { --rank-color: #ff6b57; --rank-soft: rgba(255, 107, 87, 0.20); --rank-border: rgba(255, 107, 87, 0.55); }
.kanto-renderer-rebuild .map-marker.sign-rank-b { --rank-color: #55d6b2; --rank-soft: rgba(85, 214, 178, 0.16); --rank-border: rgba(85, 214, 178, 0.42); }
.kanto-renderer-rebuild .map-marker.sign-rank-c { --rank-color: #8b8f98; --rank-soft: rgba(139, 143, 152, 0.10); --rank-border: rgba(139, 143, 152, 0.30); }

.kanto-renderer-rebuild .map-marker.marker-top5 {
  width: 62px !important;
  height: 62px !important;
  z-index: 7 !important;
}

.kanto-renderer-rebuild .map-marker.marker-top5 .marker-star {
  width: 46px;
  height: 46px;
}

.kanto-renderer-rebuild .map-marker.marker-top20 {
  width: 46px !important;
  height: 46px !important;
  z-index: 5 !important;
}

.kanto-renderer-rebuild .map-marker.marker-top20 .marker-star {
  width: 28px;
  height: 28px;
}

.kanto-renderer-rebuild .map-marker.marker-top20 .marker-sign,
.kanto-renderer-rebuild .map-marker.marker-top20 .marker-order {
  display: none;
}

.kanto-renderer-rebuild .map-marker.marker-all54 {
  width: 40px !important;
  height: 40px !important;
  z-index: 4 !important;
}

.kanto-renderer-rebuild .map-marker.marker-all54 .marker-star {
  width: 14px;
  height: 14px;
}

.kanto-renderer-rebuild .map-marker.marker-all54 .marker-order,
.kanto-renderer-rebuild .map-marker.marker-all54 .marker-sign {
  display: none;
}

.kanto-renderer-rebuild .map-marker.marker-all54.sign-rank-c {
  opacity: 0.62;
}

.kanto-renderer-rebuild .map-marker.is-selected {
  width: 74px !important;
  height: 74px !important;
  z-index: 30 !important;
  opacity: 1 !important;
}

.kanto-renderer-rebuild .map-marker.is-selected .marker-star {
  width: 56px !important;
  height: 56px !important;
  border-color: rgba(255, 226, 134, 0.82);
  color: var(--rank-color);
  background:
    radial-gradient(circle at 33% 24%, rgba(255, 255, 255, 0.30), transparent 18%),
    radial-gradient(circle at 50% 50%, var(--rank-soft), transparent 48%),
    linear-gradient(180deg, rgba(18, 17, 14, 0.98), rgba(5, 5, 7, 0.99));
  box-shadow:
    0 0 30px rgba(212, 175, 55, 0.34),
    0 0 48px var(--rank-soft),
    0 16px 34px rgba(0, 0, 0, 0.78),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.kanto-renderer-rebuild .map-marker.is-selected::before,
.kanto-renderer-rebuild .map-marker.is-selected::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.kanto-renderer-rebuild .map-marker.is-selected::before {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(247, 220, 130, 0.72);
  box-shadow: inset 0 0 14px rgba(247, 220, 130, 0.18), 0 0 24px rgba(247, 220, 130, 0.24);
}

.kanto-renderer-rebuild .map-marker.is-selected::after {
  width: 86px;
  height: 86px;
  border: 1px solid rgba(247, 220, 130, 0.16);
  animation: public-focus-pulse 3s ease-in-out infinite;
}

.kanto-renderer-rebuild .map-marker .marker-label {
  position: absolute;
  left: calc(50% + 34px);
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 210px;
  padding: 7px 10px;
  border: 1px solid rgba(215, 184, 90, 0.28);
  border-radius: 999px;
  background: rgba(5, 5, 6, 0.84);
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: translateY(-50%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.52);
}

.kanto-renderer-rebuild .decision-selected-card,
.kanto-renderer-rebuild .decision-store-card {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 20px;
  background:
    radial-gradient(circle at 10% 0%, rgba(212, 175, 55, 0.10), transparent 34%),
    linear-gradient(180deg, rgba(17, 19, 25, 0.88), rgba(7, 8, 11, 0.94));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.kanto-renderer-rebuild .decision-selected-card {
  padding: 18px;
}

.kanto-renderer-rebuild .selected-tags span,
.kanto-renderer-rebuild .selected-reasons span,
.kanto-renderer-rebuild .store-card-reasons span {
  border-color: rgba(212, 175, 55, 0.22) !important;
  background: rgba(255, 255, 255, 0.045) !important;
}

.kanto-renderer-rebuild .selected-actions,
.kanto-renderer-rebuild .store-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.kanto-renderer-rebuild .selected-actions .primary-action,
.kanto-renderer-rebuild .store-card-actions a {
  border-color: rgba(212, 175, 55, 0.58) !important;
  background: linear-gradient(180deg, #e3c259, #b98a22) !important;
  color: #050506 !important;
  font-weight: 900;
}

.kanto-renderer-rebuild .selected-actions button,
.kanto-renderer-rebuild .store-card-actions button {
  min-height: 44px;
  border: 1px solid rgba(212, 175, 55, 0.30) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

@media (min-width: 960px) {
  .kanto-renderer-rebuild .radar-panel {
    display: grid !important;
    grid-template-columns: minmax(380px, 480px) minmax(560px, 1fr);
    gap: 26px 30px !important;
    align-items: start;
  }

  .kanto-renderer-rebuild .radar-topbar,
  .kanto-renderer-rebuild .decision-bar {
    grid-column: 1 / -1;
  }

  .kanto-renderer-rebuild .mobile-first-candidates {
    grid-column: 1;
    grid-row: 3 / span 3;
    margin: 0 !important;
    align-self: start;
    position: sticky;
    top: 88px;
  }

  .kanto-renderer-rebuild .radar-touch-hint {
    grid-column: 1;
    grid-row: 6;
    margin: 0 !important;
  }

  .kanto-renderer-rebuild .kanto-map-heading {
    grid-column: 2;
    grid-row: 3;
    margin: 0 0 12px !important;
  }

  .kanto-renderer-rebuild .cockpit-stage {
    grid-column: 2;
    grid-row: 4 / span 4;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px) !important;
    gap: 18px !important;
    align-items: start !important;
  }

  .kanto-renderer-rebuild .map-main-column {
    min-width: 0;
  }

  .kanto-renderer-rebuild .radar-map {
    min-height: 560px !important;
  }

  .kanto-renderer-rebuild .radar-panel .selected-panel {
    position: sticky !important;
    top: 88px;
    display: block !important;
    min-width: 0 !important;
    width: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .kanto-renderer-rebuild #mobile-candidate-panel {
    display: none !important;
  }

  .kanto-renderer-rebuild .map-compare-panels,
  .kanto-renderer-rebuild .map-control-deck {
    grid-column: 1 / -1;
  }
}

@media (max-width: 959px) {
  .kanto-renderer-rebuild .radar-panel {
    display: block !important;
  }

  .kanto-renderer-rebuild .mobile-first-candidates {
    margin: 12px 0 18px !important;
  }

  .kanto-renderer-rebuild .mobile-ranking-list {
    gap: 8px !important;
  }

  .kanto-renderer-rebuild .mobile-rank-summary {
    min-height: 52px;
  }

  .kanto-renderer-rebuild .decision-rank-row.is-order-1 .mobile-rank-summary {
    min-height: 60px;
  }

  .kanto-renderer-rebuild .mobile-map-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .kanto-renderer-rebuild .radar-panel .selected-panel {
    display: none !important;
  }

  .kanto-renderer-rebuild .map-marker .marker-label {
    display: none !important;
  }
}

/* 2026-05-30 PC layout + PR refinement */
@media (min-width: 1080px) {
  .kanto-renderer-rebuild .map-layout {
    width: min(1500px, calc(100vw - 44px)) !important;
    max-width: none !important;
  }

  .kanto-renderer-rebuild .radar-panel {
    grid-template-columns: minmax(340px, 390px) minmax(560px, 1fr) minmax(300px, 340px) !important;
    gap: 26px !important;
  }

  .kanto-renderer-rebuild .mobile-first-candidates {
    grid-column: 1 !important;
    grid-row: 3 / span 4 !important;
    top: 86px;
  }

  .kanto-renderer-rebuild .kanto-map-heading {
    grid-column: 2 / 4 !important;
    grid-row: 3 !important;
  }

  .kanto-renderer-rebuild .cockpit-stage {
    display: contents !important;
  }

  .kanto-renderer-rebuild .map-main-column {
    grid-column: 2 !important;
    grid-row: 4 / span 4 !important;
  }

  .kanto-renderer-rebuild .radar-panel .selected-panel {
    grid-column: 3 !important;
    grid-row: 4 / span 4 !important;
    align-self: start !important;
    width: auto !important;
  }

  .kanto-renderer-rebuild .radar-map {
    width: 100% !important;
    min-height: 620px !important;
    aspect-ratio: 1 / 1 !important;
  }
}

.kanto-renderer-rebuild .decision-pr-lane {
  position: relative;
  overflow: hidden;
  margin: 2px 0;
  padding: 10px;
  border-color: rgba(218, 190, 118, 0.36) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(218, 190, 118, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(23, 21, 17, 0.92), rgba(7, 7, 9, 0.96)) !important;
}

.kanto-renderer-rebuild .decision-pr-lane::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(235, 210, 140, 0.72), transparent);
}

.kanto-renderer-rebuild .decision-pr-lane .mobile-pr-head span {
  color: #e8cf8b;
  letter-spacing: 0.12em;
}

.kanto-renderer-rebuild .decision-pr-lane .mobile-pr-grid {
  gap: 8px;
}

.kanto-renderer-rebuild .decision-pr-lane .mobile-pr-item {
  display: grid;
  gap: 3px;
  min-height: 64px;
  padding: 10px;
  border-color: rgba(218, 190, 118, 0.30) !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(218, 190, 118, 0.10), transparent 36%),
    rgba(255, 255, 255, 0.04) !important;
}

.kanto-renderer-rebuild .decision-pr-lane .mobile-pr-item small,
.kanto-renderer-rebuild .decision-pr-lane .mobile-pr-item em {
  color: rgba(232, 207, 139, 0.78);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.kanto-renderer-rebuild .decision-pr-lane .mobile-pr-item strong {
  color: rgba(245, 240, 232, 0.96);
}

.kanto-renderer-rebuild .decision-pr-lane .mobile-pr-item span {
  color: rgba(245, 240, 232, 0.70);
}

.kanto-renderer-rebuild .map-marker.marker-top5 {
  width: 78px !important;
  height: 78px !important;
}

.kanto-renderer-rebuild .map-marker.marker-top5 .marker-star {
  width: 60px !important;
  height: 60px !important;
}

.kanto-renderer-rebuild .map-marker.marker-top5 .marker-star-svg {
  width: 62%;
  height: 62%;
}

.kanto-renderer-rebuild .map-marker.marker-top5 .marker-order {
  min-width: 23px;
  height: 23px;
  font-size: 12px;
}

.kanto-renderer-rebuild .map-marker.is-selected {
  width: 96px !important;
  height: 96px !important;
}

.kanto-renderer-rebuild .map-marker.is-selected .marker-star {
  width: 72px !important;
  height: 72px !important;
}

.kanto-renderer-rebuild .map-marker.is-selected::before {
  width: 82px;
  height: 82px;
}

.kanto-renderer-rebuild .map-marker.is-selected::after {
  width: 108px;
  height: 108px;
}

@media (max-width: 959px) {
  .kanto-renderer-rebuild .map-marker.marker-top5 {
    width: 70px !important;
    height: 70px !important;
  }

  .kanto-renderer-rebuild .map-marker.marker-top5 .marker-star {
    width: 54px !important;
    height: 54px !important;
  }

  .kanto-renderer-rebuild .map-marker.is-selected {
    width: 84px !important;
    height: 84px !important;
  }

  .kanto-renderer-rebuild .map-marker.is-selected .marker-star {
    width: 64px !important;
    height: 64px !important;
  }
}
