:root {   --g45-field: #ebe4d4;
  --g45-sheet: #f7f1e4;
  --g45-ink: #1f2a24;
  --g45-muted: #5c6b63;
  --g45-legend: #243028;
  --g45-legend-ink: #e8efe9;
  --g45-pin: #c45c26;
  --g45-trail: #2a6b5a;
  --g45-star: #b8860b;
  --g45-line: rgba(31, 42, 36, 0.14);
  --g45-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --g45-legend-w: 280px;
  --g45-mob-h: 56px;
  --g45-radius: 6px;
  --g45-radius-lg: 10px;
  --g45-star-full: #b8860b;
  --g45-star-empty: #a8b5ad;
  --g45-surface: var(--g45-sheet);
  --g45-paper: var(--g45-field);
  --g45-border: var(--g45-line);
  --g45-border-mid: rgba(31, 42, 36, 0.22);
  --g45-border-strong: rgba(196, 92, 38, 0.45);
  --g45-accent-text: #9a4518;
  --g45-accent-soft: rgba(196, 92, 38, 0.12);
  --bg-main: var(--g45-field);
  --text-main: var(--g45-ink);
  --text-muted: var(--g45-muted);
  --accent: var(--g45-pin);
  --ink-muted: var(--g45-muted);
  --ink-on-light: #3d4a43;
  --star-white: #f8fafc;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body.g45-body {   margin: 0;
  min-height: 100vh;
  font-family: var(--g45-font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--g45-ink);
  background-color: var(--g45-field);
  background-image:
    linear-gradient(rgba(31, 42, 36, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 42, 36, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
padding-bottom: calc(var(--g45-mob-h) + 12px);
padding-top: calc(48px + env(safe-area-inset-top, 0px)); }

@media (min-width: 900px) {
  body.g45-body {     padding-left: calc(var(--g45-legend-w) + 36px);
padding-bottom: 24px;
padding-top: 0;   }
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--g45-ink); text-decoration: none; }
a:hover { color: var(--g45-pin); }
button, input, textarea { font: inherit; }
ul, ol { margin: 0; padding: 0; }

.g45-sr-only {   position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
border: 0; }

.g45-img-ph { background: #d9d0bc; }

.g45-btn {   display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: var(--g45-radius);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease; }
.g45-btn:hover { transform: translateY(-1px); }
.g45-btn-primary {   background: var(--g45-pin);
  color: #fff;
border-color: var(--g45-pin); }
.g45-btn-primary:hover { color: #fff; filter: brightness(1.05); }
.g45-btn-outline {   background: var(--g45-sheet);
  color: var(--g45-ink);
border-color: var(--g45-border-mid); }
.g45-btn-outline:hover {   border-color: var(--g45-pin);
color: var(--g45-pin); }

.g45-canvas,
.g45-main,
.g45-page-wrap {   width: 100%;
  max-width: 1120px;
  margin: 0 auto;
padding: 16px 16px 0; }

@media (min-width: 900px) {   .g45-canvas,
  .g45-main,
.g45-page-wrap {     padding: 20px 24px 0;   }
}

.g45-ad-top,
.g45-ad-slot,
.g45-legal-ad {   margin: 0 0 16px;
text-align: center; }

.g45-pick-section { background: transparent; }

.g45-compass {   display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
  padding: 18px 18px 16px;
  background: var(--g45-sheet);
  border: 1px solid var(--g45-line);
  border-left: 4px solid var(--g45-pin);
border-radius: var(--g45-radius); }
@media (min-width: 768px) {
  .g45-compass {     flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
gap: 20px;   }
}
.g45-compass-kicker {   margin: 0 0 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
color: var(--g45-trail); }
.g45-pin-head {   display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50% 50% 50% 0;
  background: var(--g45-pin);
transform: rotate(-45deg); }
.g45-compass-slogan {   margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 800;
  color: var(--g45-ink);
line-height: 1.25; }
.g45-compass-desc {   margin: 6px 0 0;
  font-size: 0.9rem;
  color: var(--g45-muted);
max-width: 42ch; }
.g45-compass-search,
.g45-legend-search,
.g45-tags-search {   display: flex;
  gap: 8px;
align-items: stretch; }
.g45-compass-search input,
.g45-legend-search input,
.g45-tags-search input,
.g45-search-input {   flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid var(--g45-border-mid);
  border-radius: var(--g45-radius);
  background: #fff;
color: var(--g45-ink); }
.g45-compass-search input:focus,
.g45-legend-search input:focus,
.g45-tags-search input:focus {   outline: 2px solid rgba(196, 92, 38, 0.35);
border-color: var(--g45-pin); }

.g45-section-bar {   display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
margin-bottom: 10px; }
.g45-section-title {   margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
color: var(--g45-ink); }
.g45-mod-badge {   font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--g45-trail);
  border: 1px solid rgba(42, 107, 90, 0.35);
  padding: 2px 7px;
border-radius: 999px; }
.g45-section-more {   margin-left: auto;
  font-size: 0.8rem;
  font-weight: 700;
color: var(--g45-pin); }
.g45-section-desc {   margin: 0 0 14px;
  font-size: 0.875rem;
  color: var(--g45-muted);
max-width: 60ch; }
.g45-mod { margin-bottom: 28px; }

.article-list .game-title,
.article-list .card-title,
.special-card .game-title,
.game-card .card-title,
.carousel-card .game-title {   display: block;
  max-width: 100%;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 700;
color: var(--g45-ink); }
.special-card-content,
.card-content { min-width: 0; }

.article-list .special-card-content,
.article-list .carousel-card-content {   padding: 12px 14px 16px; }

.g45-main .brief-comment-game,
.brief-comment-game {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 1;
  min-width: 0;
  font-size: 12px;
  color: var(--g45-muted);
  line-height: 1.4;
}
.g45-main .brief-comment-game *,
.brief-comment-game * { color: inherit !important; }
@media (min-width: 768px) {
  .g45-main .brief-comment-game,
  .brief-comment-game { -webkit-line-clamp: 2; }
}

.g45-main .g45-card-tags,
.g45-card-tags {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
  margin: 4px 0;
}
@media (min-width: 768px) {
  .g45-main .g45-card-tags,
  .g45-card-tags { flex-wrap: wrap; overflow: visible; }
}
.g45-chip,
.g45-tag-chip,
.tag-pill {   display: inline-block;
  flex-shrink: 0;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-on-light);
  background: rgba(42, 107, 90, 0.1);
  border: 1px solid rgba(42, 107, 90, 0.22);
  border-radius: 999px;
white-space: nowrap; }

.g45-route-no {   display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--g45-pin);
font-variant-numeric: tabular-nums; }

.game-star {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  line-height: 1;
  min-height: 14px;
}
.game-star .star-full,
.game-star .star-empty,
.game-star .star-half,
.game-star .fa-star,
.game-star .fa-star-o {
  display: inline-block;
  width: 12px;
  height: 12px;
  position: relative;
  font-size: 0;
  font-style: normal;
  font-family: inherit;
  line-height: 1;
  overflow: hidden;
}
.game-star .star-full::before,
.game-star .star-empty::before,
.game-star .star-half::before,
.game-star .fa-star::before,
.game-star .fa-star-o::before {
  content: "★";
  font-size: 12px;
  line-height: 1;
  position: absolute;
  left: 0;
  top: 0;
  font-family: inherit;
}
.game-star .star-full::before,
.game-star .fa-star::before { color: var(--g45-star-full); }
.game-star .star-half::before { color: var(--g45-star-full); opacity: 0.55; }
.game-star .star-empty::before,
.game-star .fa-star-o::before { color: var(--g45-star-empty); }
.game-star--detail-hero .star-full,
.game-star--detail-hero .star-empty,
.game-star--detail-hero .star-half,
.game-star--detail-hero .fa-star,
.game-star--detail-hero .fa-star-o { width: 16px; height: 16px; }
.game-star--detail-hero .star-full::before,
.game-star--detail-hero .star-empty::before,
.game-star--detail-hero .star-half::before,
.game-star--detail-hero .fa-star::before,
.game-star--detail-hero .fa-star-o::before { font-size: 16px; }

.g45-pin-dot,
.g45-pin-badge {   position: absolute;
  z-index: 2;
pointer-events: none; }
.g45-pin-dot {   top: 8px;
  right: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50% 50% 50% 0;
  background: var(--g45-pin);
  transform: rotate(-45deg);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.g45-pin-badge {   top: 12px;
  left: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  background: var(--g45-pin);
  transform: rotate(-45deg);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28); }

.g45-landmark {   display: grid;
  gap: 0;
  margin-bottom: 14px;
  background: var(--g45-sheet);
  border: 1px solid var(--g45-line);
  border-radius: var(--g45-radius-lg);
  overflow: hidden;
color: inherit; }
@media (min-width: 768px) {   .g45-landmark { grid-template-columns: 1.35fr 1fr; } }
.g45-landmark:hover { color: inherit; }
.g45-landmark:hover .game-title { color: var(--g45-pin); }
.g45-landmark-media {   position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: #d9d0bc;
overflow: hidden; }
.g45-landmark-media img {   width: 100%;
  height: 100%;
object-fit: cover; }
.g45-landmark-copy {   display: flex;
  flex-direction: column;
  gap: 6px;
justify-content: center; }
.g45-landmark .game-title {   font-size: 1.25rem;
white-space: nowrap; }
@media (max-width: 767px) {
  .g45-canvas,
  .g45-main { padding: 10px 12px 0; }
  .g45-compass { margin-bottom: 8px; padding: 8px 10px; gap: 6px; }
  .g45-compass-desc {
    margin-top: 4px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
  }
  .g45-section-bar { margin-bottom: 6px; }
  .g45-section-desc {
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
  }
  .g45-landmark { margin-bottom: 8px; }
  .g45-landmark-media { aspect-ratio: 16 / 9; }
  .g45-landmark-copy { padding: 8px 10px 10px !important; gap: 4px; }
  .g45-landmark-copy .brief-comment-game { -webkit-line-clamp: 1; line-clamp: 1; }
  .g45-landmark-copy .g45-card-tags { display: none; }
  .g45-landmark .game-title { font-size: 1.05rem; }
}

.g45-satellites {   display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px; }
@media (min-width: 768px) {   .g45-satellites { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 1100px) {   .g45-satellites { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.g45-sat {   display: flex;
  flex-direction: column;
  background: var(--g45-sheet);
  border: 1px solid var(--g45-line);
  border-radius: var(--g45-radius);
  overflow: hidden;
  color: inherit;
min-width: 0; }
.g45-sat:hover { color: inherit; }
.g45-sat:hover .game-title { color: var(--g45-pin); }
.g45-sat-media {   position: relative;
  display: block;
  aspect-ratio: 7 / 4;
  background: #d9d0bc;
overflow: hidden; }
.g45-sat-media img {   width: 100%;
  height: 100%;
object-fit: cover; }

.g45-route-list {   display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--g45-line);
  border-radius: var(--g45-radius);
  background: var(--g45-sheet);
overflow: hidden; }
.g45-route-row {   display: grid;
  grid-template-columns: 40px 72px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid var(--g45-line);
  color: inherit;
min-width: 0; }
.g45-route-row:last-child { border-bottom: 0; }
.g45-route-row:hover {   background: rgba(196, 92, 38, 0.06);
color: inherit; }
.g45-route-row .g45-route-no {   text-align: center;
font-size: 13px; }
.g45-route-thumb {   display: block;
  width: 72px;
  height: 54px;
  overflow: hidden;
  border-radius: 4px;
background: #d9d0bc; }
.g45-route-thumb img {   width: 100%;
  height: 100%;
object-fit: cover; }
.g45-route-body {   display: flex;
  flex-direction: column;
  gap: 3px;
padding: 0 !important; }
.g45-route-row .g45-card-tags { margin: 2px 0; }
.g45-route-row .brief-comment-game { -webkit-line-clamp: 1; }

.g45-cluster {   display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px; }
@media (min-width: 960px) {   .g45-cluster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.g45-cluster-card {   display: flex;
  flex-direction: column;
  background: var(--g45-sheet);
  border: 1px solid var(--g45-line);
  border-radius: var(--g45-radius);
  overflow: hidden;
  color: inherit;
min-width: 0; }
.g45-cluster-card:hover { color: inherit; }
.g45-cluster-card:hover .game-title { color: var(--g45-pin); }
.g45-cluster-media {   position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #d9d0bc;
overflow: hidden; }
.g45-cluster-media img {   width: 100%;
  height: 100%;
object-fit: cover; }

.g45-trail {   display: flex;
  flex-direction: column;
  gap: 0;
padding-left: 4px; }
.g45-trail-card {   display: grid;
  grid-template-columns: 28px 140px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  padding: 12px 0;
  color: inherit;
  min-width: 0;
border-bottom: 1px dashed rgba(42, 107, 90, 0.28); }
.g45-trail-card:last-child { border-bottom: 0; }
.g45-trail-card:hover { color: inherit; }
.g45-trail-card:hover .game-title { color: var(--g45-pin); }
.g45-trail-spine {   position: relative;
  display: flex;
justify-content: center; }
.g45-trail-spine::before {   content: "";
  position: absolute;
  top: 0;
  bottom: -12px;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: var(--g45-trail);
opacity: 0.45; }
.g45-trail-card:last-child .g45-trail-spine::before { bottom: 50%; }
.g45-trail-node {   position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--g45-trail);
  border: 2px solid var(--g45-field);
box-shadow: 0 0 0 2px var(--g45-trail); }
.g45-trail-thumb {   display: block;
  width: 140px;
  height: 100px;
  overflow: hidden;
  border-radius: var(--g45-radius);
  background: #d9d0bc;
border: 1px solid var(--g45-line); }
.g45-trail-thumb img {   width: 100%;
  height: 100%;
object-fit: cover; }
.g45-trail-copy {   display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  padding: 4px 0 !important;
background: transparent; }
@media (max-width: 640px) {
  .g45-trail-card {     grid-template-columns: 22px 88px minmax(0, 1fr);
gap: 8px;   }
  .g45-trail-thumb {     width: 88px;
height: 66px;   }
}

.g45-legend {   position: fixed;
  left: 16px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  width: var(--g45-legend-w);
  z-index: 50;
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--g45-legend);
  color: var(--g45-legend-ink);
  border: 1px solid rgba(232, 239, 233, 0.12);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  overflow: hidden;
max-height: calc(100dvh - 32px); }
@media (min-width: 900px) {   .g45-legend { display: flex; } }

.g45-legend-keys {   display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 12px 10px;
  border-bottom: 1px solid rgba(232, 239, 233, 0.1);
background: rgba(0, 0, 0, 0.12); }
.g45-key {   display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--g45-legend-ink);
  background: rgba(232, 239, 233, 0.06);
  border-radius: 999px;
  white-space: nowrap;
  overflow: hidden;
text-overflow: ellipsis; }
.g45-key:hover { color: #fff; background: rgba(196, 92, 38, 0.28); }
.g45-key-dot {   width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--g45-pin);
flex-shrink: 0; }
.g45-key-dot--0 { background: #c45c26; }
.g45-key-dot--1 { background: #2a6b5a; }
.g45-key-dot--2 { background: #b8860b; }
.g45-key-dot--3 { background: #5b7c99; }
.g45-key-dot--4 { background: #8b5a6b; }
.g45-key-dot--5 { background: #6b7a3a; }
.g45-key-name {   overflow: hidden;
text-overflow: ellipsis; }

.g45-legend-body {   display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  flex: 1 1 auto;
  min-height: 0;
overflow-y: auto; }
.g45-legend-brand {   display: flex;
  align-items: center;
  gap: 8px;
  color: var(--g45-legend-ink);
font-weight: 800; }
.g45-legend-brand:hover { color: #fff; }
.g45-legend-brand img {   width: 28px;
  height: 28px;
  border-radius: 6px;
object-fit: cover; }
.g45-legend-mark {   font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--g45-pin);
  border: 1px solid rgba(196, 92, 38, 0.5);
  padding: 2px 5px;
border-radius: 4px; }
.g45-legend-name {   font-size: 0.95rem;
  overflow: hidden;
  text-overflow: ellipsis;
white-space: nowrap; }
.g45-legend-search input {   background: rgba(232, 239, 233, 0.08);
  border-color: rgba(232, 239, 233, 0.18);
color: var(--g45-legend-ink); }
.g45-legend-search input::placeholder { color: rgba(232, 239, 233, 0.55); }
.g45-legend-search button {   padding: 8px 12px;
  border: 0;
  border-radius: var(--g45-radius);
  background: var(--g45-pin);
  color: #fff;
  font-weight: 700;
cursor: pointer; }
.g45-legend-nav {   display: flex;
  flex-direction: column;
gap: 2px; }
.g45-legend-link {   display: block;
  padding: 8px 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(232, 239, 233, 0.82);
border-radius: 6px; }
.g45-legend-link:hover,
.g45-legend-link.is-active {   color: #fff;
background: rgba(196, 92, 38, 0.22); }

/* Auth host: mobile top bar only */
.g45-auth-host {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: calc(48px + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) 12px 0;
  background: rgba(247, 241, 228, 0.96);
  border-bottom: 1px solid var(--g45-line);
  box-sizing: border-box;
}
.g45-mob-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--g45-ink);
}
.g45-mob-brand img { width: 24px; height: 24px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.g45-mob-brand-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.g45-signin--mob {
  flex-shrink: 0;
  padding: 6px 12px;
  font-size: 0.75rem;
}
.g45-mob-field {
  flex-shrink: 0;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--g45-pin);
  border: 1px solid rgba(196, 92, 38, 0.4);
  border-radius: var(--g45-radius);
  background: rgba(196, 92, 38, 0.08);
}
.g45-mob-field:hover { color: #fff; background: var(--g45-pin); border-color: var(--g45-pin); }
@media (min-width: 900px) {
  .g45-auth-host { display: none; }
}

/* Legend foot: Sign In / user card */
.g45-legend-auth {
  flex-shrink: 0;
  padding: 10px 12px 12px;
  border-top: 1px solid rgba(232, 239, 233, 0.1);
  background: rgba(0, 0, 0, 0.16);
}
.g45-legend-auth .g45-signin {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.g45-signin {   display: inline-flex;
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  background: var(--g45-pin);
border-radius: var(--g45-radius); }
.g45-signin:hover { color: #fff; filter: brightness(1.06); }

.g45-header-user {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(232, 239, 233, 0.08);
  border: 1px solid rgba(232, 239, 233, 0.12);
}
.g45-header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(232, 239, 233, 0.18);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(232, 239, 233, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--g45-legend-ink);
  line-height: 1;
}
.g45-header-avatar:hover { border-color: rgba(196, 92, 38, 0.55); }
.g45-header-avatar.has-img { background: transparent; }
.g45-header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.g45-header-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.g45-header-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--g45-legend-ink);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.25;
}
.g45-header-name:hover { color: #fff; }
.g45-header-out {
  align-self: flex-start;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(232, 239, 233, 0.55);
  padding: 0;
  line-height: 1.3;
}
.g45-header-out:hover { color: var(--g45-pin); }

@media (max-width: 899px) {
  .g45-legend {
    display: flex;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    max-height: min(82dvh, 640px);
    border-radius: 16px 16px 0 0;
    transform: translateY(110%);
    transition: transform 0.28s ease;
    pointer-events: none;
    visibility: hidden;
  }
  body.g45-legend-open .g45-legend {
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
  }
}

.g45-legend-backdrop {   position: fixed;
  inset: 0;
  z-index: 45;
  border: 0;
  padding: 0;
  background: rgba(31, 42, 36, 0.45);
cursor: pointer; }
.g45-legend-backdrop[hidden] { display: none !important; }

.g45-mobile-bar {   position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  align-items: stretch;
  height: var(--g45-mob-h);
  background: var(--g45-legend);
  border-top: 1px solid rgba(232, 239, 233, 0.12);
padding: 0 4px env(safe-area-inset-bottom, 0); }
@media (min-width: 900px) {   .g45-mobile-bar { display: none; } }
.g45-mobile-bar .mobile-nav-item {   flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: rgba(232, 239, 233, 0.7);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-decoration: none;
padding: 0 4px; }
.g45-mobile-bar .mobile-nav-item.active,
.g45-mobile-bar .mobile-nav-item:hover {   color: #fff; }
.g45-mob-legend { color: var(--g45-pin) !important; }

.g45-colophon {   max-width: 1120px;
  margin: 36px auto 0;
  padding: 24px 16px 20px;
border-top: 1px solid var(--g45-line); }
@media (min-width: 900px) {   .g45-colophon { padding-left: 24px; padding-right: 24px; } }
.g45-colophon-grid {   display: grid;
gap: 18px; }
@media (min-width: 768px) {   .g45-colophon-grid { grid-template-columns: 1.4fr 1fr auto; } }
.g45-footer-brand {   display: block;
  margin-bottom: 6px;
font-size: 1rem; }
.g45-footer-desc {   margin: 0;
  font-size: 0.85rem;
  color: var(--g45-muted);
max-width: 42ch; }
.g45-footer-links {   display: flex;
  flex-wrap: wrap;
gap: 8px 14px; }
.g45-footer-links a {   font-size: 0.85rem;
color: var(--g45-muted); }
.g45-footer-links a:hover { color: var(--g45-pin); }
.footer-social {   display: flex;
  flex-wrap: wrap;
gap: 10px; }
.footer-social-link {   font-size: 0.8rem;
color: var(--g45-muted); }
.g45-footer-copy {   margin: 16px 0 0;
  font-size: 0.75rem;
color: var(--g45-muted); }

/* Back to top — beat ads.css .back-to-top (loaded after styles.css) */
.back-to-top.g45-back-top,
.g45-back-top {
  position: fixed;
  right: 14px;
  bottom: calc(var(--g45-mob-h) + 14px);
  z-index: 900;
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--g45-border-mid);
  border-radius: 50%;
  background: var(--g45-sheet);
  color: var(--g45-ink);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  cursor: pointer;
  font-size: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, color 0.15s ease, border-color 0.15s ease;
}
.back-to-top.g45-back-top::before,
.g45-back-top::before {
  content: none;
  display: none;
  animation: none;
  opacity: 0;
  background: none;
  box-shadow: none;
}
.back-to-top.g45-back-top svg,
.g45-back-top svg {
  position: relative;
  z-index: 1;
  display: block;
}
.back-to-top.g45-back-top.show,
.g45-back-top.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  display: inline-flex;
}
.back-to-top.g45-back-top:not(.show),
.g45-back-top:not(.show) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
}
.back-to-top.g45-back-top:hover,
.g45-back-top:hover {
  color: var(--g45-pin);
  border-color: var(--g45-pin);
  background: var(--g45-sheet);
  box-shadow: none;
  transform: translateY(-2px);
}
.back-to-top.g45-back-top:active,
.g45-back-top:active {
  transform: translateY(0);
  filter: brightness(0.96);
}
@media (min-width: 900px) {
  .back-to-top.g45-back-top,
.g45-back-top {
    bottom: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top.g45-back-top,
.g45-back-top {
    transition: opacity 0.15s ease, visibility 0.15s ease;
    transform: none;
  }
  .back-to-top.g45-back-top:hover,
  .g45-back-top:hover,
  .back-to-top.g45-back-top:active,
  .g45-back-top:active {
    transform: none;
  }
}


.g45-detail-wrap { padding-bottom: 28px; }
.g45-detail-crumb { margin-bottom: 12px; }
.breadcrumb-list {   display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12px;
color: var(--g45-muted); }
.breadcrumb-list a { color: var(--g45-muted); }
.breadcrumb-list a:hover { color: var(--g45-pin); }

.g45-pgm {   margin-bottom: 18px;
  border: 1px solid var(--g45-line);
  border-radius: var(--g45-radius-lg);
  overflow: hidden;
background: var(--g45-sheet); }
.g45-pgm-media {   position: relative;
  aspect-ratio: 16 / 9;
  background: #d9d0bc;
overflow: hidden; }
.g45-pgm-media img {   width: 100%;
  height: 100%;
object-fit: cover; }
.g45-pgm-overlay {   position: absolute;
  inset: auto 0 0;
  padding: 28px 18px 16px;
background: linear-gradient(transparent, rgba(31, 42, 36, 0.82)); }
.g45-pgm-overlay #game-title,
.g45-pgm-overlay h1 {   margin: 0;
  color: #f7f1e4;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 800;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
line-height: 1.2; }
.g45-field-bar {   display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px 18px;
border-top: 1px solid var(--g45-line); }
.g45-detail-tags {   display: flex;
  flex-wrap: wrap;
gap: 6px; }
.g45-field-meta {   display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
color: var(--g45-muted); }
.g45-field-item {   display: inline-flex;
gap: 6px; }
.g45-field-label {   font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
color: var(--g45-trail); }
.detail-play-cta {   display: flex;
  flex-wrap: wrap;
  gap: 10px;
align-items: center; }
.g45-field-hint {   margin: 0;
  font-size: 12px;
color: var(--g45-muted); }

.g45-detail-prose { display: grid; gap: 14px; }
.g45-detail-block {   padding: 16px;
  background: var(--g45-sheet);
  border: 1px solid var(--g45-line);
border-radius: var(--g45-radius); }
.g45-detail-block h2 {   margin: 0 0 10px;
  font-size: 1rem;
font-weight: 800; }
.g45-detail-quote {   margin: 0;
  color: var(--g45-muted);
  font-size: 0.95rem;
line-height: 1.65; }
.game-description,
.rich-content {   color: var(--g45-ink);
  line-height: 1.7;
font-size: 0.95rem; }
.game-description a,
.rich-content a { color: var(--g45-pin); font-weight: 600; }

.g45-related { padding: 8px 0 28px; }
.g45-related-head {   display: flex;
  align-items: baseline;
  gap: 10px;
margin-bottom: 12px; }
.g45-related-head h2 { margin: 0; font-size: 1.1rem; }
.g45-related-kicker {   font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
color: var(--g45-trail); }
.g45-related .g45-route-list { margin-top: 0; }

.game-empty {   padding: 48px 20px;
  text-align: center;
color: var(--g45-muted); }
.game-empty-title {   font-size: 1.25rem;
  font-weight: 800;
  color: var(--g45-ink);
margin-bottom: 8px; }

.g45-tags-page { padding-bottom: 24px; }
.g45-tags-masthead {
  margin-bottom: 16px;
  padding: 16px;
  background: var(--g45-sheet);
  border: 1px solid var(--g45-line);
  border-radius: var(--g45-radius);
  border-left: 4px solid var(--g45-trail);
}
.g45-tags-eyebrow {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--g45-trail);
}
.g45-tags-masthead h1 {
  margin: 0 0 4px;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 800;
}
.tag-h2 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--g45-muted);
  line-height: 1.45;
}
.g45-tags-masthead-top {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media (min-width: 768px) {
  .g45-tags-masthead-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}
.g45-tags-masthead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.g45-tags-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}
@media (max-width: 767px) {
  .g45-tags-masthead {
    margin-bottom: 10px;
    padding: 10px 12px;
  }
  .g45-tags-eyebrow { margin: 0 0 2px; font-size: 10px; }
  .g45-tags-masthead h1 {
    margin: 0 0 2px;
    font-size: 1.2rem;
    line-height: 1.25;
  }
  .tag-h2 {
    font-size: 0.8rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
  }
  .g45-tags-masthead-top { gap: 8px; }
  .g45-tags-masthead-actions { gap: 6px; }
  .g45-tags-search { flex: 1 1 100%; min-width: 0; }
  .g45-tags-search input,
  .g45-tags-search .g45-search-input { padding: 7px 10px; font-size: 14px; }
  .g45-tags-masthead-actions .g45-btn { padding: 7px 12px; font-size: 13px; }
  .g45-tags-toolbar { margin-top: 8px; gap: 6px; }
  .g45-view-btn { padding: 5px 10px; }
}
.g45-tags-cat-rail {   display: none;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
min-width: 0; }
@media (min-width: 900px) {   .g45-tags-cat-rail { display: flex; } }
.g45-tags-cat-chip {   padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--g45-ink);
  background: rgba(42, 107, 90, 0.08);
  border: 1px solid rgba(42, 107, 90, 0.2);
  border-radius: 999px;
white-space: nowrap; }
.g45-tags-cat-chip:hover,
.g45-tags-cat-chip.is-active {   background: rgba(196, 92, 38, 0.12);
  border-color: rgba(196, 92, 38, 0.35);
color: var(--g45-pin); }
.g45-view-toggle {   display: inline-flex;
  gap: 4px;
  margin-left: auto;
  padding: 3px;
  background: rgba(31, 42, 36, 0.06);
border-radius: var(--g45-radius); }
.g45-view-btn {   padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--g45-muted);
cursor: pointer; }
.g45-view-btn.is-active {   background: var(--g45-sheet);
  color: var(--g45-ink);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }

.g45-game-grid {   display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--g45-line);
  border-radius: var(--g45-radius);
  background: var(--g45-sheet);
overflow: hidden; }
.g45-game-grid.g45-view-route .g45-tags-card {   display: grid;
  grid-template-columns: 40px 72px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid var(--g45-line);
color: inherit; }
.g45-game-grid.g45-view-route .g45-tags-card:last-child { border-bottom: 0; }
.g45-game-grid.g45-view-route .g45-tags-card:hover {   background: rgba(196, 92, 38, 0.06);
color: inherit; }
.g45-game-grid.g45-view-cluster {   display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  border: 0;
  background: transparent;
overflow: visible; }
@media (min-width: 960px) {
.g45-game-grid.g45-view-cluster {     grid-template-columns: repeat(3, minmax(0, 1fr));   }
}
.g45-game-grid.g45-view-cluster .g45-tags-card {   display: flex;
  flex-direction: column;
  background: var(--g45-sheet);
  border: 1px solid var(--g45-line);
  border-radius: var(--g45-radius);
  overflow: hidden;
  color: inherit;
padding: 0; }
.g45-game-grid.g45-view-cluster .g45-tags-num { display: none; }
.g45-game-grid.g45-view-cluster .g45-tags-thumb {   width: 100%;
  height: auto;
aspect-ratio: 16 / 9; }
.g45-game-grid.g45-view-route .g45-tags-thumb {   width: 72px;
  height: 54px;
  border-radius: 4px;
  overflow: hidden;
background: #d9d0bc; }
.g45-tags-thumb img {   width: 100%;
  height: 100%;
object-fit: cover; }
.g45-game-grid.g45-view-route .special-card-content {   padding: 0 !important;
  display: flex;
  flex-direction: column;
gap: 3px; }
.g45-tags-num {   text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--g45-pin);
font-variant-numeric: tabular-nums; }
.g45-empty-inline {   grid-column: 1 / -1;
  padding: 36px 16px;
text-align: center; }
.pagination-container { margin: 32px 0 12px; }

.g45-drawer-backdrop {   position: fixed;
  inset: 0;
  z-index: 55;
  border: 0;
  padding: 0;
  background: rgba(31, 42, 36, 0.45);
cursor: pointer; }
.g45-drawer-backdrop[hidden] { display: none !important; }

.g45-tags-drawer {   position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  pointer-events: none;
visibility: hidden; }
body.g45-drawer-open .g45-tags-drawer {   pointer-events: none;
visibility: visible; }
body.g45-drawer-open .g45-drawer-panel {   pointer-events: auto;
transform: translateY(0); }
.g45-drawer-panel {   max-height: min(78dvh, 560px);
  overflow: auto;
  margin: 0;
  padding: 0 0 env(safe-area-inset-bottom, 0);
  background: var(--g45-legend);
  color: var(--g45-legend-ink);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.28);
  transform: translateY(110%);
transition: transform 0.28s ease; }
.g45-drawer-head {   display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(232, 239, 233, 0.12);
  position: sticky;
  top: 0;
  background: var(--g45-legend);
z-index: 1; }
.g45-drawer-head h2 {   margin: 0;
  font-size: 1rem;
font-weight: 800; }
.g45-drawer-close {   width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(232, 239, 233, 0.1);
  color: var(--g45-legend-ink);
  font-size: 1.25rem;
cursor: pointer; }
.g45-drawer-list {   display: flex;
  flex-direction: column;
padding: 8px 10px 16px; }
.g45-drawer-link {   display: block;
  padding: 11px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(232, 239, 233, 0.88);
border-radius: 6px; }
.g45-drawer-link:hover {   color: #fff;
background: rgba(196, 92, 38, 0.22); }

.g45-legal {   padding: 20px 18px 28px;
  margin-bottom: 24px;
  background: var(--g45-sheet);
  border: 1px solid var(--g45-line);
  border-radius: var(--g45-radius);
  color: var(--g45-ink);
line-height: 1.7; }
.g45-legal h1,
.g45-legal h2,
.g45-legal h3 { color: var(--g45-ink); }
.g45-legal a { color: var(--g45-pin); }

.g45-auth-kicker {   margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--g45-trail);
text-align: center; }
.g45-auth-forgot {   margin: 0 0 14px;
  font-size: 0.8125rem;
text-align: right; }
.g45-auth-forgot a { color: var(--g45-pin); }
.g45-auth-divider {   margin: 18px 0 12px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--g45-muted);
text-transform: lowercase; }
.g45-social-btns {   display: grid;
  grid-template-columns: 1fr 1fr;
gap: 8px; }
.g45-social-btn {   padding: 9px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid var(--g45-border-mid);
  border-radius: var(--g45-radius);
  background: #fff;
  color: var(--g45-ink);
cursor: pointer; }
.g45-social-btn:hover { border-color: var(--g45-pin); color: var(--g45-pin); }

.g45-profile-page { padding-bottom: 32px; }
.g45-profile-shell,
.g45-profile-layout {   display: flex;
  gap: 24px;
align-items: flex-start; }
.g45-profile-aside,
.g45-profile-sidebar {   flex: 0 0 260px;
  padding: 18px;
  background: var(--g45-sheet);
  border: 1px solid var(--g45-line);
border-radius: var(--g45-radius-lg); }
.g45-aside-label {   margin: 0 0 2px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
color: var(--g45-trail); }
.g45-profile-panel-head,
.g45-profile-card-head {   display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
margin-bottom: 14px; }
.g45-profile-form-block {   padding: 16px;
  background: var(--g45-sheet);
  border: 1px solid var(--g45-line);
border-radius: var(--g45-radius); }
.g45-profile-identity .g45-profile-name { margin-bottom: 2px; }
@media (max-width: 900px) {   .g45-profile-shell,
.g45-profile-layout {     flex-direction: column;   }
  .g45-profile-aside,
  .g45-profile-sidebar {     flex: none;
width: 100%;   }
}
