:root {
  --bg: #14130f;
  --bg-soft: #211e16;
  --text: #f7ead3;
  --text-strong: #fff3df;
  --muted: rgba(255, 232, 194, 0.7);
  --line: rgba(255, 236, 200, 0.2);
  --amber: #f59e0b;
  --focus: #fcd34d;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; max-width: 100%; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

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

.gf-page {
  min-height: 100vh;
  background: var(--bg);
  position: relative;
}

.gf-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.gf-bg-grid {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 0%, rgba(217, 148, 45, 0.16), transparent 34%),
    linear-gradient(rgba(255, 236, 200, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 236, 200, 0.035) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
}

.gf-bg-gloss {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.15), rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.35));
}

.gf-bg-log {
  position: absolute;
  right: 20px;
  top: 112px;
  text-align: right;
  font-family: monospace;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(254, 243, 199, 0.11);
  display: none;
}

.gf-ring {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(254, 243, 199, 0.08);
}

.gf-ring-lg { right: -80px; top: 160px; width: 208px; height: 208px; }
.gf-ring-sm { right: -40px; top: 208px; width: 112px; height: 112px; }

.gf-shell {
  position: relative;
  margin: 0 auto;
  width: min(100%, 520px);
  min-height: 100vh;
  padding: 12px 16px 32px;
}

.gf-header {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 0 -16px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: rgba(20, 19, 15, 0.92);
  border-bottom: 1px solid rgba(254, 243, 199, 0.16);
  backdrop-filter: blur(8px);
}

.gf-brand-wrap { display: flex; align-items: center; gap: 12px; min-width: 0; }
.gf-brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 2px solid rgba(245, 158, 11, 0.7);
  display: grid;
  place-items: center;
  background: rgba(245, 158, 11, 0.08);
  color: #fbbf24;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.gf-brand-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--text-strong);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gf-lang {
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(254, 243, 199, 0.25);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text-strong);
  font-size: 1rem;
  font-weight: 700;
  padding: 0 14px;
}

.gf-hero {
  padding-top: 32px;
  display: flex;
  gap: 20px;
}

.gf-hero-bar {
  margin-top: 8px;
  width: 4px;
  border-radius: 999px;
  background: var(--amber);
  flex: 0 0 4px;
}

.gf-hero h1 {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(2rem, 8vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.gf-hero p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero-tags {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(254, 243, 199, 0.25);
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-tag-raid {
  background: rgba(194, 65, 12, 0.28);
  border-color: rgba(251, 146, 60, 0.45);
  color: #fed7aa;
}

.hero-tag-overall {
  background: rgba(14, 116, 144, 0.3);
  border-color: rgba(56, 189, 248, 0.4);
  color: #bae6fd;
}

.hero-tag-negative {
  background: rgba(185, 28, 28, 0.3);
  border-color: rgba(248, 113, 113, 0.45);
  color: #fecaca;
}

.hero-tag-type {
  background: rgba(74, 65, 42, 0.34);
  border-color: rgba(252, 211, 77, 0.42);
  color: #fde68a;
}

.hero-tag-type-psychic { background: rgba(217, 70, 239, 0.38); border-color: rgba(232, 121, 249, 0.55); color: #fae8ff; }
.hero-tag-type-fighting { background: rgba(234, 88, 12, 0.36); border-color: rgba(251, 146, 60, 0.55); color: #ffedd5; }
.hero-tag-type-steel { background: rgba(100, 116, 139, 0.42); border-color: rgba(148, 163, 184, 0.55); color: #f1f5f9; }
.hero-tag-type-fire { background: rgba(220, 38, 38, 0.35); border-color: rgba(248, 113, 113, 0.52); color: #fee2e2; }
.hero-tag-type-flying { background: rgba(59, 130, 246, 0.3); border-color: rgba(125, 211, 252, 0.5); color: #e0f2fe; }
.hero-tag-type-dragon { background: rgba(109, 40, 217, 0.38); border-color: rgba(167, 139, 250, 0.55); color: #ede9fe; }
.hero-tag-type-ghost { background: rgba(88, 28, 135, 0.45); border-color: rgba(196, 181, 253, 0.45); color: #f3e8ff; }
.hero-tag-type-electric { background: rgba(202, 138, 4, 0.4); border-color: rgba(250, 204, 21, 0.55); color: #fef9c3; }
.hero-tag-type-water { background: rgba(3, 105, 161, 0.38); border-color: rgba(56, 189, 248, 0.5); color: #e0f2fe; }
.hero-tag-type-grass { background: rgba(22, 163, 74, 0.35); border-color: rgba(74, 222, 128, 0.52); color: #dcfce7; }
.hero-tag-type-ground { background: rgba(146, 64, 14, 0.42); border-color: rgba(217, 119, 6, 0.58); color: #ffedd5; }
.hero-tag-type-rock { background: rgba(120, 53, 15, 0.4); border-color: rgba(180, 83, 9, 0.58); color: #fef3c7; }
.hero-tag-type-ice { background: rgba(8, 145, 178, 0.35); border-color: rgba(103, 232, 249, 0.55); color: #ecfeff; }
.hero-tag-type-bug { background: rgba(101, 163, 13, 0.42); border-color: rgba(163, 230, 53, 0.52); color: #f7fee7; }
.hero-tag-type-poison { background: rgba(126, 34, 206, 0.4); border-color: rgba(192, 132, 252, 0.55); color: #f3e8ff; }
.hero-tag-type-fairy { background: rgba(190, 24, 93, 0.3); border-color: rgba(244, 114, 182, 0.52); color: #fce7f3; }
.hero-tag-type-dark { background: rgba(55, 65, 81, 0.45); border-color: rgba(156, 163, 175, 0.5); color: #f3f4f6; }
.hero-tag-type-normal { background: rgba(120, 113, 108, 0.42); border-color: rgba(168, 162, 158, 0.52); color: #fafaf9; }

.gf-search-card {
  margin-top: 28px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(33, 30, 22, 0.86);
  padding: 8px;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.35);
}

.gf-search-line {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 236, 200, 0.35);
  background: #f4e5c7;
  padding: 0 16px;
}

.gf-search-icon {
  color: #1c1917;
  font-size: 1.6rem;
  font-weight: 900;
}

.gf-search-line input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #1c1917;
  font-size: 1.05rem;
  font-weight: 600;
}

.gf-search-line input::placeholder { color: rgba(41, 37, 36, 0.7); }

.gf-suggestions {
  margin-top: 12px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(254, 243, 199, 0.18);
  background: rgba(0, 0, 0, 0.18);
}

.gf-suggestion {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(254, 243, 199, 0.1);
  background: transparent;
  color: var(--text-strong);
  padding: 12px;
  text-align: left;
  cursor: pointer;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 10px;
  align-items: center;
}

.gf-suggestion:last-child { border-bottom: 0; }
.gf-suggestion:hover { background: rgba(254, 243, 199, 0.05); }

.gf-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(254, 243, 199, 0.1);
  background: linear-gradient(135deg, #57534e, #000);
  color: #fffbeb;
  font-weight: 900;
}

.gf-s-main strong { font-size: 1.05rem; }
.gf-s-main small { color: rgba(168, 162, 158, 1); font-family: monospace; }
.gf-s-tag {
  display: inline-block;
  margin-left: 8px;
  border-radius: 8px;
  border: 1px solid rgba(254, 243, 199, 0.12);
  background: rgba(254, 243, 199, 0.12);
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(254, 243, 199, 0.9);
}

.gf-types { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.gf-type {
  border-radius: 8px;
  border: 1px solid rgba(168, 162, 158, 0.35);
  background: rgba(87, 83, 78, 0.42);
  color: #fffbeb;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 700;
}

.gf-status {
  margin: 8px 4px 0;
  color: rgba(254, 243, 199, 0.6);
  font-size: 0.85rem;
  min-height: 1.2em;
}

.gf-popular {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: rgba(254, 243, 199, 0.78);
}

.gf-popular strong { color: #fde68a; }

.gf-popular button {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(254, 243, 199, 0.2);
  background: rgba(254, 243, 199, 0.1);
  color: var(--text-strong);
  padding: 0 14px;
  cursor: pointer;
}

.gf-section { margin-top: 36px; }

.gf-section-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gf-section-bar span {
  width: 4px;
  height: 32px;
  border-radius: 999px;
  background: var(--amber);
}

.gf-section-bar h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.75rem;
  font-weight: 800;
}

.gf-cards {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.gf-card {
  min-height: 102px;
  border-radius: 16px;
  border: 1px solid rgba(254, 243, 199, 0.18);
  background: rgba(33, 30, 22, 0.82);
  padding: 12px;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.gf-card:hover {
  border-color: rgba(252, 211, 77, 0.4);
  background: #292315;
}

.gf-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--text-strong);
  font-size: 1.6rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.gf-c1 { background: linear-gradient(135deg, #f59e0b, #a16207); }
.gf-c2 { background: linear-gradient(135deg, #c2410c, #7f1d1d); }
.gf-c3 { background: linear-gradient(135deg, #3f6212, #292524); }
.gf-c4 { background: linear-gradient(135deg, #a16207, #292524); }
.gf-c5 { background: linear-gradient(135deg, #44403c, #18181b); }
.gf-c6 { background: linear-gradient(135deg, #92400e, #171717); }

.gf-card h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: 1.3rem;
}

.gf-card p {
  margin: 4px 0 0;
  color: rgba(254, 243, 199, 0.62);
  font-size: 0.9rem;
}

.gf-card-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.gf-meta {
  border-radius: 10px;
  border: 1px solid rgba(254, 243, 199, 0.14);
  background: rgba(0, 0, 0, 0.12);
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(252, 211, 77, 0.9);
}

.gf-arrow { font-size: 1.35rem; color: var(--text-strong); }

.gf-footer {
  margin-top: 40px;
  border-top: 1px solid rgba(254, 243, 199, 0.16);
  padding-top: 22px;
  text-align: center;
  color: rgba(254, 243, 199, 0.5);
}

.gf-footer-line { font-size: 0.92rem; }
.gf-footer p { margin-top: 10px; font-size: 0.75rem; color: rgba(254, 243, 199, 0.35); }

button, input, select, a { outline: none; }
button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  box-shadow: 0 0 0 2px var(--focus);
}

@media (min-width: 640px) {
  .gf-shell { padding-left: 20px; padding-right: 20px; }
  .gf-header { margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; }
  .gf-bg-log { display: block; }
}

.gf-navlink {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(254, 243, 199, 0.25);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text-strong);
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 700;
}

.gf-flow {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.gf-tab-nav {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gf-tab-nav a {
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(254, 243, 199, 0.2);
  background: rgba(254, 243, 199, 0.08);
  color: var(--text-strong);
  text-decoration: none;
  padding: 8px 12px;
  font-weight: 700;
}

.gf-tab-nav a.active {
  border-color: rgba(254, 243, 199, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.gf-content-card {
  background: rgba(33, 30, 22, 0.82);
  border: 1px solid rgba(254, 243, 199, 0.16);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

.gf-content-card h2,
.gf-content-card h3 {
  color: var(--text-strong);
}

.gf-content-card h2 { margin: 0 0 10px; font-size: 1.15rem; }
.gf-content-card h3 { margin: 12px 0 8px; font-size: 0.95rem; }

.muted { color: rgba(254, 243, 199, 0.6); }
.placeholder { color: #f59e0b; font-style: italic; }

.table-wrap { width: 100%; overflow-x: auto; }
.data-table, .ranking-table, .comparison-table { width: 100%; border-collapse: collapse; }
.data-table th, .ranking-table th, .comparison-table th,
.data-table td, .ranking-table td, .comparison-table td {
  border-bottom: 1px solid rgba(254, 243, 199, 0.12);
  text-align: left;
  vertical-align: top;
  padding: 9px;
}
.data-table th, .ranking-table th, .comparison-table th {
  color: rgba(254, 243, 199, 0.88);
  background: rgba(0, 0, 0, 0.15);
}

code, pre {
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  color: #fde68a;
}
pre {
  margin: 0;
  white-space: pre-wrap;
  border: 1px solid rgba(254, 243, 199, 0.14);
  border-radius: 10px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.2);
}

.type-row, .chip-row, .move-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.type-badge, .chip, .move-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(254, 243, 199, 0.2);
  background: rgba(254, 243, 199, 0.09);
  color: var(--text);
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 700;
}

.chip-link {
  text-decoration: none;
}

.chip-link:hover {
  border-color: rgba(252, 211, 77, 0.55);
  background: rgba(252, 211, 77, 0.14);
  color: var(--text-strong);
}

.hero-type-row {
  margin-top: 8px;
  margin-bottom: 12px;
}

.hero-type-row .type-badge {
  min-height: 34px;
  padding: 6px 12px;
  font-size: 0.86rem;
  font-weight: 800;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.16) inset;
}

.hero-type-row .type-psychic { background: rgba(217, 70, 239, 0.38); border-color: rgba(232, 121, 249, 0.55); color: #fae8ff; }
.hero-type-row .type-fighting { background: rgba(234, 88, 12, 0.36); border-color: rgba(251, 146, 60, 0.55); color: #ffedd5; }
.hero-type-row .type-steel { background: rgba(100, 116, 139, 0.42); border-color: rgba(148, 163, 184, 0.55); color: #f1f5f9; }
.hero-type-row .type-fire { background: rgba(220, 38, 38, 0.35); border-color: rgba(248, 113, 113, 0.52); color: #fee2e2; }
.hero-type-row .type-flying { background: rgba(59, 130, 246, 0.3); border-color: rgba(125, 211, 252, 0.5); color: #e0f2fe; }
.hero-type-row .type-dragon { background: rgba(109, 40, 217, 0.38); border-color: rgba(167, 139, 250, 0.55); color: #ede9fe; }
.hero-type-row .type-ghost { background: rgba(88, 28, 135, 0.45); border-color: rgba(196, 181, 253, 0.45); color: #f3e8ff; }
.hero-type-row .type-electric { background: rgba(202, 138, 4, 0.4); border-color: rgba(250, 204, 21, 0.55); color: #fef9c3; }
.hero-type-row .type-water { background: rgba(3, 105, 161, 0.38); border-color: rgba(56, 189, 248, 0.5); color: #e0f2fe; }
.hero-type-row .type-grass { background: rgba(22, 163, 74, 0.35); border-color: rgba(74, 222, 128, 0.52); color: #dcfce7; }
.hero-type-row .type-ground { background: rgba(146, 64, 14, 0.42); border-color: rgba(217, 119, 6, 0.58); color: #ffedd5; }
.hero-type-row .type-rock { background: rgba(120, 53, 15, 0.4); border-color: rgba(180, 83, 9, 0.58); color: #fef3c7; }
.hero-type-row .type-ice { background: rgba(8, 145, 178, 0.35); border-color: rgba(103, 232, 249, 0.55); color: #ecfeff; }
.hero-type-row .type-bug { background: rgba(101, 163, 13, 0.42); border-color: rgba(163, 230, 53, 0.52); color: #f7fee7; }
.hero-type-row .type-poison { background: rgba(126, 34, 206, 0.4); border-color: rgba(192, 132, 252, 0.55); color: #f3e8ff; }
.hero-type-row .type-fairy { background: rgba(190, 24, 93, 0.3); border-color: rgba(244, 114, 182, 0.52); color: #fce7f3; }
.hero-type-row .type-dark { background: rgba(55, 65, 81, 0.45); border-color: rgba(156, 163, 175, 0.5); color: #f3f4f6; }
.hero-type-row .type-normal { background: rgba(120, 113, 108, 0.42); border-color: rgba(168, 162, 158, 0.52); color: #fafaf9; }

.ranking-hit-grid, .ranking-cards, .ranking-groups, .move-grid, .feature-grid {
  display: grid;
  gap: 10px;
}

.ranking-hit-card, .ranking-card, .move-card, .best-grid > div, .kpi, .feature-tile {
  border: 1px solid rgba(254, 243, 199, 0.16);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.16);
  padding: 10px;
}

.ranking-hit-card a, .ranking-card strong, .ranking-link-item a {
  color: var(--text-strong);
  text-decoration: none;
  font-weight: 800;
}

.ranking-title-inline {
  color: var(--text-strong);
  font-weight: 800;
}

.rank-head {
  margin: 4px 0 8px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.rank-weather-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.rank-weather-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(224, 242, 254, 0.82);
  text-transform: uppercase;
}

.rank-weather-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.ranking-weather-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.48);
  background: rgba(2, 132, 199, 0.24);
  color: #e0f2fe;
  padding: 2px 9px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.inline-weather-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

.ranking-dodge-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(254, 243, 199, 0.32);
  padding: 2px 9px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-top: 6px;
}

.ranking-dodge-none {
  background: rgba(185, 28, 28, 0.24);
  border-color: rgba(248, 113, 113, 0.45);
  color: #fecaca;
}

.ranking-dodge-yes {
  background: rgba(22, 163, 74, 0.22);
  border-color: rgba(74, 222, 128, 0.48);
  color: #dcfce7;
}

.meta-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 6px;
  font-size: 0.85rem;
}

.move-pair-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 8px 0 6px;
}

.move-box {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(254, 243, 199, 0.28);
  padding: 8px 10px;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.move-box.type-psychic { background: rgba(217, 70, 239, 0.38); border-color: rgba(232, 121, 249, 0.55); color: #fae8ff; }
.move-box.type-fighting { background: rgba(234, 88, 12, 0.36); border-color: rgba(251, 146, 60, 0.55); color: #ffedd5; }
.move-box.type-steel { background: rgba(100, 116, 139, 0.42); border-color: rgba(148, 163, 184, 0.55); color: #f1f5f9; }
.move-box.type-fire { background: rgba(220, 38, 38, 0.35); border-color: rgba(248, 113, 113, 0.52); color: #fee2e2; }
.move-box.type-flying { background: rgba(59, 130, 246, 0.3); border-color: rgba(125, 211, 252, 0.5); color: #e0f2fe; }
.move-box.type-dragon { background: rgba(109, 40, 217, 0.38); border-color: rgba(167, 139, 250, 0.55); color: #ede9fe; }
.move-box.type-ghost { background: rgba(88, 28, 135, 0.45); border-color: rgba(196, 181, 253, 0.45); color: #f3e8ff; }
.move-box.type-electric { background: rgba(202, 138, 4, 0.4); border-color: rgba(250, 204, 21, 0.55); color: #fef9c3; }
.move-box.type-water { background: rgba(3, 105, 161, 0.38); border-color: rgba(56, 189, 248, 0.5); color: #e0f2fe; }
.move-box.type-grass { background: rgba(22, 163, 74, 0.35); border-color: rgba(74, 222, 128, 0.52); color: #dcfce7; }
.move-box.type-ground { background: rgba(146, 64, 14, 0.42); border-color: rgba(217, 119, 6, 0.58); color: #ffedd5; }
.move-box.type-rock { background: rgba(120, 53, 15, 0.4); border-color: rgba(180, 83, 9, 0.58); color: #fef3c7; }
.move-box.type-ice { background: rgba(8, 145, 178, 0.35); border-color: rgba(103, 232, 249, 0.55); color: #ecfeff; }
.move-box.type-bug { background: rgba(101, 163, 13, 0.42); border-color: rgba(163, 230, 53, 0.52); color: #f7fee7; }
.move-box.type-poison { background: rgba(126, 34, 206, 0.4); border-color: rgba(192, 132, 252, 0.55); color: #f3e8ff; }
.move-box.type-fairy { background: rgba(190, 24, 93, 0.3); border-color: rgba(244, 114, 182, 0.52); color: #fce7f3; }
.move-box.type-dark { background: rgba(55, 65, 81, 0.45); border-color: rgba(156, 163, 175, 0.5); color: #f3f4f6; }
.move-box.type-normal { background: rgba(120, 113, 108, 0.42); border-color: rgba(168, 162, 158, 0.52); color: #fafaf9; }

.raid-hit-card {
  padding: 14px;
}

.raid-hit-card a {
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 900;
}

.raid-hit-card .meta-row {
  margin-top: 8px;
  font-size: 1.4rem;
  grid-template-columns: 160px 1fr;
}

.raid-hit-card .ranking-dodge-tag {
  font-size: 1rem;
  min-height: 30px;
  padding: 4px 12px;
  margin-top: 0;
}

.kpi-grid, .best-grid, .move-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.kpi {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.kpi span, .move-stats span { color: rgba(254, 243, 199, 0.68); font-size: 0.74rem; }
.kpi strong, .move-stats strong { color: var(--text-strong); }

.move-elite-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  min-height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(250, 204, 21, 0.6);
  background: rgba(202, 138, 4, 0.3);
  color: #fde68a;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 800;
  vertical-align: middle;
}

.moves-simple-grid {
  display: grid;
  gap: 10px;
}

.moves-simple-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.moves-simple-list li {
  color: var(--text-strong);
}

.move-detail {
  border: 1px solid rgba(254, 243, 199, 0.16);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.14);
  padding: 8px 10px;
}

.move-detail summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--text-strong);
}

.move-detail-grid {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}

.move-detail-grid section {
  border: 1px solid rgba(254, 243, 199, 0.14);
  border-radius: 8px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.move-detail-grid h4 {
  margin: 0 0 6px;
  font-size: 0.78rem;
  color: rgba(254, 243, 199, 0.88);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .move-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.ranking-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.ranking-link-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(254, 243, 199, 0.18);
  background: rgba(0, 0, 0, 0.14);
  border-radius: 12px;
  padding: 10px 12px;
}

.viable-no-elite {
  margin-top: 8px;
  border-top: 1px dashed rgba(254, 243, 199, 0.25);
  padding-top: 8px;
}

.viable-no-elite summary { cursor: pointer; font-weight: 700; color: var(--text-strong); }

@media (min-width: 768px) {
  .kpi-grid, .best-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .move-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ranking-hit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.pokemon-app .gf-header {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.pokemon-app .gf-brand-wrap {
  gap: 8px;
}

.pokemon-app .gf-brand-icon {
  width: 34px;
  height: 34px;
  font-size: 0.95rem;
}

.pokemon-app .gf-brand-title {
  font-size: 1.05rem;
}

.pokemon-header-search {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 520px;
  margin: 0;
}

.pokemon-app .pokemon-header-search .gf-search-line {
  min-height: 48px;
  padding: 0 12px;
}

.pokemon-app .pokemon-header-search .gf-search-icon {
  font-size: 1.25rem;
}

.pokemon-app .pokemon-header-search .gf-suggestions {
  margin-top: 8px;
}

.pokemon-app .gf-lang {
  min-height: 42px;
  padding: 0 10px;
  min-width: 86px;
}

.pokemon-app .gf-tab-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pokemon-app .gf-tab-nav a {
  width: 100%;
  justify-content: center;
  text-align: center;
}

@media (max-width: 900px) {
  .pokemon-app .gf-header {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .pokemon-app .pokemon-header-search {
    max-width: none;
  }
}

.gf-search-line input:focus-visible {
  box-shadow: none;
}
