:root {
  --gag2-bg: #121212;
  --gag2-panel: rgba(26, 26, 26, 0.94);
  --gag2-panel-strong: rgba(31, 31, 31, 0.98);
  --gag2-panel-soft: rgba(255, 255, 255, 0.04);
  --gag2-border: rgba(255, 255, 255, 0.12);
  --gag2-border-strong: rgba(189, 252, 154, 0.34);
  --gag2-text: #e8ece9;
  --gag2-muted: #b8b8b8;
  --gag2-green: #bdfc9a;
  --gag2-gold: #f5d66f;
  --gag2-blue: #8ad2ff;
  --gag2-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --gag2-page-bg:
    radial-gradient(circle at top, rgba(120, 120, 120, 0.12), transparent 28%),
    linear-gradient(180deg, #191919 0%, #121212 48%, #0c0c0c 100%);
}

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

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  background: var(--gag2-page-bg);
  color: var(--gag2-text);
  padding: 12px;
}

body[data-theme="green"] {
  --gag2-bg: #101915;
  --gag2-panel: rgba(18, 31, 26, 0.9);
  --gag2-panel-strong: rgba(24, 42, 35, 0.96);
  --gag2-border: rgba(178, 235, 185, 0.16);
  --gag2-muted: #b8c8be;
  --gag2-page-bg:
    radial-gradient(circle at top, rgba(111, 180, 82, 0.18), transparent 28%),
    linear-gradient(180deg, #18251e 0%, #101915 42%, #0c1310 100%);
}

body[data-theme="light"] {
  --gag2-bg: #f5f8f1;
  --gag2-panel: rgba(245, 248, 241, 0.94);
  --gag2-panel-strong: rgba(255, 255, 255, 0.98);
  --gag2-panel-soft: rgba(28, 44, 32, 0.04);
  --gag2-border: rgba(23, 33, 23, 0.14);
  --gag2-border-strong: rgba(85, 138, 62, 0.42);
  --gag2-text: #172117;
  --gag2-muted: #4b5a4c;
  --gag2-green: #447f2d;
  --gag2-gold: #7a5f00;
  --gag2-blue: #1f6b93;
  --gag2-page-bg: linear-gradient(180deg, #f7faf4 0%, #edf3e8 100%);
  color: var(--gag2-text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.2;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.gag2-page-shell {
  position: relative;
  z-index: 1;
  width: 95vw;
  max-width: none;
  margin: 0 auto;
}

.gag2-header,
.gag2-wrap,
.gag2-footer {
  width: 100%;
}

.gag2-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  flex-wrap: wrap;
  padding: 18px;
  border: 1px solid var(--gag2-border);
  background: var(--gag2-panel);
  border-radius: 24px;
  box-shadow: var(--gag2-shadow);
}

.gag2-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: min(100%, 330px);
  text-decoration: none;
}

.gag2-brand img {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  border: 1px solid var(--gag2-border);
  background: rgba(255, 255, 255, 0.06);
  object-fit: cover;
}

.gag2-brand strong,
.gag2-brand small {
  display: block;
}

.gag2-brand strong {
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.05;
}

.gag2-brand small {
  margin-top: 4px;
  color: var(--gag2-muted);
  font-size: 0.92rem;
}

.gag2-nav,
.gag2-tool-switch,
.gag2-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gag2-header-nav {
  margin-left: auto;
}

.gag2-header-controls {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.gag2-nav a,
.gag2-default-toggle,
.gag2-tool-switch button,
.gag2-tool-switch a,
.gag2-footer a,
.gag2-theme-toggle,
.gag2-theme-menu button,
.gag2-default-menu button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(39, 55, 48, 0.95), rgba(24, 35, 30, 0.95));
  color: var(--gag2-text);
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.gag2-nav a:hover,
.gag2-default-toggle:hover,
.gag2-tool-switch button:hover,
.gag2-tool-switch a:hover,
.gag2-footer a:hover,
.gag2-default-menu button:hover {
  transform: translateY(-1px);
  border-color: var(--gag2-border-strong);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(189, 252, 154, 0.18);
  color: var(--gag2-green);
}

.gag2-tool-switch a.gag2-trade-highlight-link {
  border-color: rgba(255, 213, 110, 0.52);
  background:
    linear-gradient(180deg, rgba(126, 83, 232, 0.32), rgba(43, 30, 68, 0.96)),
    linear-gradient(180deg, rgba(255, 213, 110, 0.16), rgba(32, 40, 28, 0.96));
  box-shadow: 0 0 0 1px rgba(255, 213, 110, 0.12), 0 12px 26px rgba(126, 83, 232, 0.18);
}

.gag2-tool-switch a.gag2-trade-highlight-link span {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 7px;
  border: 1px solid rgba(255, 213, 110, 0.5);
  border-radius: 999px;
  background: rgba(255, 213, 110, 0.12);
  color: #ffe28b;
  font-size: 0.68rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gag2-tool-switch a.gag2-trade-highlight-link:hover {
  border-color: rgba(255, 213, 110, 0.82);
  color: #ffe28b;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32), 0 0 22px rgba(255, 213, 110, 0.18);
}

.gag2-theme-switcher {
  position: relative;
}

.gag2-default-switcher {
  position: relative;
}

.gag2-theme-toggle,
.gag2-default-toggle {
  min-width: 96px;
}

.gag2-default-toggle {
  cursor: pointer;
}

.gag2-default-toggle-short {
  display: none;
}

.gag2-theme-menu,
.gag2-default-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 10;
  min-width: 170px;
  padding: 8px;
  border: 1px solid var(--gag2-border);
  border-radius: 14px;
  background: var(--gag2-panel-strong);
  box-shadow: var(--gag2-shadow);
}

.gag2-default-menu {
  min-width: 190px;
}

.gag2-theme-menu button,
.gag2-default-menu button {
  width: 100%;
  justify-content: flex-start;
  margin-bottom: 6px;
}

.gag2-theme-menu button:last-child,
.gag2-default-menu button:last-child {
  margin-bottom: 0;
}

.gag2-menu-heading {
  margin: 0 0 8px;
  color: var(--gag2-muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gag2-default-menu button.active {
  border-color: var(--gag2-border-strong);
  color: var(--gag2-green);
}

.gag2-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;
}

.gag2-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 18px 0 0;
}

.gag2-disclaimer,
.gag2-status,
.gag2-countdown,
.gag2-tool,
.gag2-ad-slot {
  border: 1px solid var(--gag2-border);
  border-radius: 24px;
  background: var(--gag2-panel);
  box-shadow: var(--gag2-shadow);
}

.gag2-status {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 18px;
  padding: 24px;
}

.gag2-status-box,
.gag2-status > div:first-child {
  min-width: 0;
}

.gag2-status-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(245, 214, 111, 0.22);
  border-radius: 18px;
  background: rgba(245, 214, 111, 0.07);
}

.gag2-status-box span {
  color: var(--gag2-muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gag2-status-box strong {
  color: var(--gag2-gold);
  font-size: 1.18rem;
  line-height: 1.3;
}

.gag2-live-status {
  align-items: stretch;
}

.gag2-live-list {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.gag2-live-list li {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid rgba(189, 252, 154, 0.16);
  border-radius: 12px;
  background: rgba(189, 252, 154, 0.06);
  color: var(--gag2-muted);
  line-height: 1.45;
}

.gag2-live-list strong {
  color: var(--gag2-green);
}

.gag2-status-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 4px;
  padding: 10px 14px;
  border: 1px solid rgba(245, 214, 111, 0.36);
  border-radius: 12px;
  background: rgba(245, 214, 111, 0.12);
  color: var(--gag2-gold);
  font-weight: 900;
  text-decoration: none;
}

.gag2-status-action:hover {
  border-color: var(--gag2-gold);
  background: rgba(245, 214, 111, 0.18);
}

.gag2-disclaimer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 16px;
  padding: 16px 18px;
  color: var(--gag2-muted);
  line-height: 1.55;
}

.gag2-disclaimer strong {
  color: var(--gag2-green);
}

.gag2-inline-title {
  margin: 0 0 6px;
  color: var(--gag2-text);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.08;
}

.gag2-disclaimer p {
  margin: 0;
}

.gag2-decay-warning {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 13px 16px;
  border: 1px solid rgba(245, 214, 111, 0.3);
  border-radius: 18px;
  background: rgba(245, 214, 111, 0.09);
  color: var(--gag2-muted);
  line-height: 1.45;
  box-shadow: var(--gag2-shadow);
}

.gag2-decay-warning strong {
  color: var(--gag2-gold);
}

.gag2-countdown {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.62fr);
  gap: 18px;
  align-items: center;
  padding: 20px;
}

.gag2-countdown h1 {
  margin: 6px 0 8px;
  font-size: clamp(1.7rem, 3.2vw, 3rem);
  line-height: 1.06;
}

.gag2-countdown p {
  margin: 0;
  color: var(--gag2-muted);
  line-height: 1.55;
}

.gag2-countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.gag2-countdown-grid div {
  min-width: 0;
  min-height: 86px;
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 10px 8px;
  border-radius: 14px;
  border: 1px solid rgba(245, 214, 111, 0.18);
  background:
    linear-gradient(180deg, rgba(245, 214, 111, 0.08), transparent),
    rgba(255, 255, 255, 0.03);
}

.gag2-countdown-grid strong {
  color: var(--gag2-gold);
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1;
}

.gag2-countdown-grid span {
  color: var(--gag2-muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gag2-kicker {
  color: var(--gag2-gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.gag2-page-title,
.gag2-status h1 {
  margin: 6px 0 10px;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.gag2-status p,
.gag2-tool-head p,
.gag2-result p {
  color: var(--gag2-muted);
  line-height: 1.65;
  margin: 0;
}

.gag2-result span,
.gag2-data-row span {
  color: var(--gag2-muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gag2-tool-switch {
  align-items: center;
}

.gag2-tool-switch button.is-active {
  background: linear-gradient(135deg, #8adf63, #d7ff8a);
  border-color: #d7ff8a;
  color: #102000;
  box-shadow: 0 0 16px rgba(189, 252, 154, 0.4);
}

.gag2-workspace {
  width: 100%;
}

.gag2-tool {
  display: none;
  padding: 18px;
}

.gag2-tool.is-active {
  display: block;
}

.gag2-tool-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-bottom: 14px;
}

.gag2-icon-pill {
  min-width: 58px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid rgba(189, 252, 154, 0.34);
  background: rgba(189, 252, 154, 0.14);
  color: var(--gag2-green);
  font-weight: 900;
}

.gag2-icon-pill-alt {
  border-color: rgba(138, 210, 255, 0.34);
  background: rgba(138, 210, 255, 0.12);
  color: var(--gag2-blue);
}

.gag2-tool h2 {
  margin: 0 0 5px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.15;
}

.gag2-search-row {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.gag2-search-row label,
.gag2-form-grid label {
  color: var(--gag2-muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.gag2-search-row input,
.gag2-form-grid input,
.gag2-form-grid select {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(9, 14, 12, 0.82);
  color: var(--gag2-text);
  outline: none;
}

.gag2-search-row input:focus,
.gag2-form-grid input:focus,
.gag2-form-grid select:focus {
  border-color: var(--gag2-border-strong);
  box-shadow: 0 0 0 3px rgba(189, 252, 154, 0.08);
}

.gag2-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.gag2-choice-grid-compact {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.gag2-choice {
  min-width: 0;
  min-height: 128px;
  display: grid;
  grid-template-rows: 62px auto auto;
  justify-items: center;
  align-items: center;
  gap: 5px;
  padding: 10px 8px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--gag2-panel-soft);
  color: var(--gag2-text);
}

.gag2-choice:hover,
.gag2-choice.is-active {
  border-color: var(--gag2-border-strong);
}

.gag2-choice.is-active {
  background: rgba(189, 252, 154, 0.1);
  box-shadow: 0 0 0 2px rgba(189, 252, 154, 0.1);
}

.gag2-choice img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.28));
}

.gag2-choice strong {
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.gag2-choice span {
  color: var(--gag2-muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-align: center;
}

.gag2-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.gag2-form-grid label {
  display: grid;
  gap: 7px;
}

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

.gag2-label-row output {
  color: var(--gag2-green);
  font-weight: 950;
}

.gag2-stock-multiplier-field {
  padding: 10px;
  border: 1px solid rgba(245, 214, 111, 0.28);
  border-radius: 14px;
  background: rgba(245, 214, 111, 0.06);
}

.gag2-stock-multiplier-field .gag2-label-row output {
  color: var(--gag2-gold);
}

.gag2-stock-multiplier-control {
  display: grid;
  grid-template-columns: minmax(86px, 112px) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.gag2-stock-multiplier-control input[type="number"] {
  border-color: rgba(245, 214, 111, 0.42);
  background: rgba(245, 214, 111, 0.1);
  font-weight: 950;
}

.gag2-stock-multiplier-control input[type="range"] {
  height: 36px;
  padding: 0;
  border-color: transparent;
  background: transparent;
  accent-color: var(--gag2-gold);
}

.gag2-weight-field {
  padding: 10px;
  border: 1px solid rgba(189, 252, 154, 0.32);
  border-radius: 14px;
  background: rgba(189, 252, 154, 0.06);
}

.gag2-weight-field input {
  border-color: rgba(189, 252, 154, 0.46);
  background: rgba(189, 252, 154, 0.1);
  color: var(--gag2-text);
  font-size: 1.08rem;
  font-weight: 950;
}

.gag2-weight-field input:focus {
  border-color: var(--gag2-green);
  box-shadow: 0 0 0 3px rgba(189, 252, 154, 0.16);
}

.gag2-result {
  display: grid;
  gap: 10px;
  min-height: 132px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(189, 252, 154, 0.14);
  background: rgba(8, 14, 11, 0.72);
}

.gag2-roll-form {
  align-items: end;
}

.gag2-sprinkler-panel {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid rgba(138, 210, 255, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(138, 210, 255, 0.055), transparent),
    rgba(255, 255, 255, 0.025);
}

.gag2-sprinkler-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.gag2-sprinkler-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(8, 14, 11, 0.54);
}

.gag2-sprinkler-card img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.gag2-sprinkler-card strong,
.gag2-sprinkler-card span {
  display: block;
  line-height: 1.2;
}

.gag2-sprinkler-card strong {
  color: var(--gag2-text);
  font-size: 0.94rem;
}

.gag2-sprinkler-card span {
  margin-top: 3px;
  color: var(--gag2-muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.gag2-stepper {
  display: inline-grid;
  grid-template-columns: 34px 34px 34px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(189, 252, 154, 0.18);
  border-radius: 12px;
  background: rgba(189, 252, 154, 0.06);
}

.gag2-stepper button {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--gag2-text);
  font-size: 1.1rem;
  font-weight: 950;
}

.gag2-stepper button:hover,
.gag2-stepper button:focus-visible {
  background: rgba(189, 252, 154, 0.12);
  color: var(--gag2-green);
}

.gag2-stepper output {
  text-align: center;
  color: var(--gag2-green);
  font-weight: 950;
}

.gag2-roll-result {
  gap: 14px;
}

.gag2-roll-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}

.gag2-roll-card {
  min-width: 0;
  min-height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.gag2-roll-card span {
  color: var(--gag2-muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gag2-roll-card small {
  color: var(--gag2-muted);
  font-size: 0.74rem;
  font-weight: 750;
  line-height: 1.3;
}

.gag2-roll-card strong {
  color: var(--gag2-text);
  font-size: 0.96rem;
  line-height: 1.18;
}

.gag2-roll-table-heading {
  margin: 2px 0 -4px;
  font-size: 1rem;
}

.gag2-roll-help {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(138, 210, 255, 0.16);
  border-radius: 14px;
  background: rgba(138, 210, 255, 0.055);
  color: var(--gag2-muted);
  font-weight: 800;
  line-height: 1.5;
}

.gag2-roll-explainer {
  margin: 0;
  padding: 13px 14px;
  border: 1px solid rgba(189, 252, 154, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(189, 252, 154, 0.08), transparent),
    rgba(255, 255, 255, 0.035);
  color: var(--gag2-text);
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1.5;
}

.gag2-roll-ad-slot {
  width: min(100%, 728px);
  min-height: 90px;
  border-radius: 14px;
}

.gag2-roll-top-ad {
  margin: 2px auto 0;
}

.gag2-wiki-top-ad {
  width: min(100%, 728px);
  min-height: 90px;
  margin: 0 auto;
  border-radius: 14px;
}

.gag2-roll-band-table {
  min-width: 560px;
}

.gag2-roll-route-table {
  min-width: 760px;
}

.gag2-weight-tool {
  display: grid;
  gap: 16px;
}

.gag2-weight-control-head {
  display: block;
}

.gag2-weight-control-grid {
  margin: 0;
}

.gag2-weight-control-grid.gag2-form-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 320px));
}

.gag2-weight-plant-select {
  min-width: 0;
  display: grid;
  color: var(--gag2-muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.gag2-weight-plant-select select {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(9, 14, 12, 0.82);
  color: var(--gag2-text);
  outline: none;
  padding: 10px 12px;
  font-weight: 900;
}

.gag2-weight-plant-select select:focus {
  border-color: var(--gag2-border-strong);
  box-shadow: 0 0 0 3px rgba(189, 252, 154, 0.08);
}

.gag2-weight-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.gag2-weight-summary .gag2-roll-card {
  min-height: 86px;
  border-color: rgba(189, 252, 154, 0.16);
  background:
    linear-gradient(180deg, rgba(189, 252, 154, 0.07), transparent 70%),
    rgba(255, 255, 255, 0.035);
}

.gag2-weight-sprinkler-card {
  border-color: rgba(138, 210, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(138, 210, 255, 0.055), transparent),
    rgba(8, 14, 11, 0.54);
}

.gag2-selected-weight-table {
  min-width: 860px;
}

.gag2-possible-weight-table {
  min-width: 1160px;
}

.gag2-selected-weight-table th:not(:last-child),
.gag2-selected-weight-table td:not(:last-child),
.gag2-possible-weight-table th:not(:last-child),
.gag2-possible-weight-table td:not(:last-child),
.gag2-chain-table th:not(:last-child),
.gag2-chain-table td:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

body[data-theme="light"] .gag2-selected-weight-table th:not(:last-child),
body[data-theme="light"] .gag2-selected-weight-table td:not(:last-child),
body[data-theme="light"] .gag2-possible-weight-table th:not(:last-child),
body[data-theme="light"] .gag2-possible-weight-table td:not(:last-child),
body[data-theme="light"] .gag2-chain-table th:not(:last-child),
body[data-theme="light"] .gag2-chain-table td:not(:last-child) {
  border-right-color: rgba(18, 42, 28, 0.12);
}

.gag2-spreadsheet-table {
  border-collapse: separate;
  border-spacing: 0;
}

.gag2-spreadsheet-table thead tr:first-child th {
  background: rgba(138, 210, 255, 0.08);
  color: var(--gag2-blue);
  text-align: center;
}

.gag2-spreadsheet-table thead tr:nth-child(2) th {
  position: sticky;
  top: 0;
  z-index: 2;
}

.gag2-spreadsheet-table thead tr:nth-child(2) th:first-child,
.gag2-spreadsheet-table tbody td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: rgba(29, 29, 29, 0.98);
}

body[data-theme="light"] .gag2-spreadsheet-table thead tr:nth-child(2) th:first-child,
body[data-theme="light"] .gag2-spreadsheet-table tbody td:first-child {
  background: rgba(255, 255, 255, 0.98);
}

.gag2-spreadsheet-table th small {
  display: block;
  margin-top: 2px;
  color: var(--gag2-green);
  font-size: 0.76rem;
  font-weight: 950;
}

.gag2-possible-weight-table tbody tr {
  cursor: pointer;
}

.gag2-possible-weight-table tbody tr:hover td,
.gag2-possible-weight-table tbody tr:focus-visible td,
.gag2-possible-weight-table tbody tr.is-selected td {
  background: rgba(189, 252, 154, 0.08);
}

.gag2-divider-left {
  border-left: 2px solid rgba(245, 214, 111, 0.28) !important;
}

.gag2-selected-weight-table th:nth-child(4),
.gag2-selected-weight-table td:nth-child(4),
.gag2-chain-table th:nth-child(3),
.gag2-chain-table td:nth-child(3),
.gag2-spreadsheet-table thead tr:first-child th:first-child {
  border-left: 2px solid rgba(245, 214, 111, 0.2);
}

.gag2-spreadsheet-table thead tr:first-child th:first-child {
  border-left: 0;
  border-right: 2px solid rgba(245, 214, 111, 0.28);
}

.gag2-sheet-section-row td {
  background: rgba(245, 214, 111, 0.1);
  color: var(--gag2-gold);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gag2-sheet-divider-row td {
  border-top: 2px solid rgba(245, 214, 111, 0.24);
  border-bottom: 2px solid rgba(245, 214, 111, 0.24);
  background: rgba(245, 214, 111, 0.055);
}

.gag2-selected-weight-table td:nth-child(4),
.gag2-possible-weight-table td:nth-child(n+5),
.gag2-chain-table td:nth-child(3),
.gag2-chain-table td:nth-child(5) {
  color: var(--gag2-green);
}

.gag2-chance-tip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin: -3px 0;
  padding: 2px 7px;
  border: 1px solid rgba(189, 252, 154, 0.22);
  border-radius: 999px;
  background: rgba(189, 252, 154, 0.08);
  color: var(--gag2-green);
  cursor: help;
  font: inherit;
  font-weight: 950;
  line-height: 1.1;
  white-space: nowrap;
}

.gag2-chance-tip:hover,
.gag2-chance-tip:focus-visible,
.gag2-chance-tip.is-open {
  border-color: rgba(245, 214, 111, 0.55);
  background: rgba(245, 214, 111, 0.12);
  color: var(--gag2-gold);
  outline: none;
}

.gag2-chance-popover {
  position: fixed;
  z-index: 1000;
  max-width: min(320px, calc(100vw - 16px));
  padding: 9px 11px;
  border: 1px solid rgba(245, 214, 111, 0.38);
  border-radius: 12px;
  background: rgba(12, 16, 14, 0.98);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.36);
  color: var(--gag2-text);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.35;
  pointer-events: none;
  white-space: normal;
}

.gag2-chance-popover span {
  display: block;
  margin-bottom: 2px;
  color: var(--gag2-muted);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gag2-chance-popover strong {
  color: var(--gag2-gold);
  overflow-wrap: anywhere;
}

.gag2-mutation-panel {
  position: relative;
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.gag2-mutation-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: start;
}

.gag2-mutation-head-actions {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.gag2-mutation-head h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.gag2-mutation-head p {
  margin: 0;
  color: var(--gag2-muted);
  font-size: 0.9rem;
}

.gag2-mutation-head button,
.gag2-mutation-button {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(39, 55, 48, 0.95), rgba(24, 35, 30, 0.95));
  color: var(--gag2-text);
  font-weight: 800;
}

.gag2-mutation-desktop-ad {
  width: 300px;
  min-width: 300px;
  height: 250px;
  min-height: 250px;
  border-radius: 14px;
}

.gag2-mutation-grid {
  width: min(100%, 640px);
  min-width: 0;
  display: grid;
  gap: 10px;
}

.gag2-mutation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 14px;
  align-items: start;
  justify-content: stretch;
  min-height: 250px;
  padding-right: 0;
}

.gag2-mutation-controls {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 12px;
}

.gag2-ad-slot.gag2-mutation-leaderboard-ad {
  width: min(100%, 728px);
  min-height: 90px;
  margin: 2px auto;
}

@media (max-width: 1199px) {
  .gag2-ad-slot.gag2-mutation-leaderboard-ad {
    width: min(100%, 300px);
    min-height: 50px;
    height: 50px;
  }
}

.gag2-mutation-group {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 8px;
}

.gag2-mutation-group > span {
  color: var(--gag2-muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gag2-mutation-group > div {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gag2-mutation-button.is-active {
  border-color: var(--gag2-green);
  background: rgba(189, 252, 154, 0.14);
  color: var(--gag2-green);
  box-shadow: 0 0 10px rgba(189, 252, 154, 0.18);
}

.gag2-decay-estimate {
  width: min(100%, 640px);
  display: grid;
  gap: 7px;
}

.gag2-decay-estimate > span {
  color: var(--gag2-muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.gag2-decay-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  justify-content: start;
  gap: 8px;
}

.gag2-decay-toggle button {
  min-width: 0;
  min-height: 54px;
  display: grid;
  gap: 2px;
  align-content: center;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(39, 55, 48, 0.95), rgba(24, 35, 30, 0.95));
  color: var(--gag2-text);
  text-align: left;
}

.gag2-decay-toggle button:focus-visible {
  outline: none;
  border-color: var(--gag2-border-strong);
  box-shadow: 0 0 0 3px rgba(189, 252, 154, 0.08);
}

.gag2-decay-toggle button.is-active {
  border-color: var(--gag2-green);
  background: rgba(189, 252, 154, 0.14);
  color: var(--gag2-green);
  box-shadow: 0 0 10px rgba(189, 252, 154, 0.18);
}

.gag2-decay-toggle strong,
.gag2-decay-toggle span {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.gag2-decay-toggle strong {
  font-size: 0.92rem;
  line-height: 1.1;
}

.gag2-decay-toggle span {
  color: var(--gag2-muted);
  font-size: 0.74rem;
  font-weight: 850;
  line-height: 1.15;
}

.gag2-decay-toggle button.is-active span {
  color: var(--gag2-green);
}

.gag2-result strong {
  display: block;
  color: var(--gag2-green);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.gag2-result .gag2-roll-card strong {
  color: var(--gag2-text);
  font-size: 0.96rem;
  line-height: 1.18;
}

.gag2-data-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.gag2-data-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gag2-data-row {
  min-width: 0;
  min-height: 62px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.gag2-data-row strong {
  color: var(--gag2-text);
  font-size: 0.98rem;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.gag2-entry-infobox .gag2-entry-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gag2-entry-odds {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.gag2-entry-odds li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--gag2-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.gag2-entry-odds strong {
  color: var(--gag2-green);
}

.gag2-value-snapshot {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.gag2-value-stat {
  min-width: 0;
  min-height: 82px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(189, 252, 154, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(189, 252, 154, 0.07), transparent),
    var(--gag2-panel-soft);
}

.gag2-value-stat span {
  color: var(--gag2-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gag2-value-stat strong {
  color: var(--gag2-text);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.gag2-value-read {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(245, 214, 111, 0.2);
  border-radius: 14px;
  background: rgba(245, 214, 111, 0.08);
  color: var(--gag2-text) !important;
  font-weight: 800;
}

.gag2-lucky-double-panel {
  display: grid;
  gap: 12px;
}

.gag2-lucky-double-note {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(245, 214, 111, 0.2);
  border-radius: 14px;
  background: rgba(245, 214, 111, 0.08);
  color: var(--gag2-text);
  font-weight: 800;
}

.gag2-lucky-double-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--gag2-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.gag2-lucky-double-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.gag2-lucky-double-table th,
.gag2-lucky-double-table td {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  white-space: nowrap;
}

.gag2-lucky-double-table th {
  color: var(--gag2-muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gag2-lucky-double-table td {
  color: var(--gag2-text);
  font-size: 0.92rem;
  font-weight: 800;
}

.gag2-lucky-double-table a {
  color: var(--gag2-green);
  text-decoration: none;
}

.gag2-lucky-double-table a:hover,
.gag2-lucky-double-table a:focus-visible {
  text-decoration: underline;
}

.gag2-lucky-double-table td:nth-child(3),
.gag2-lucky-double-table td:nth-child(6) {
  color: var(--gag2-green);
}

.gag2-roll-route-table td:nth-child(4),
.gag2-roll-route-table td:nth-child(5) {
  color: var(--gag2-green);
}

.gag2-lucky-double-table tr:last-child td {
  border-bottom: 0;
}

.gag2-value-history {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.gag2-value-history > li {
  padding: 12px;
  border: 1px solid var(--gag2-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.gag2-value-history time {
  display: block;
  margin-bottom: 4px;
  color: var(--gag2-green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gag2-value-history strong {
  display: block;
  color: var(--gag2-text);
  font-size: 0.98rem;
}

.gag2-value-history ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--gag2-muted);
}

.gag2-value-history li li {
  margin-top: 4px;
}

.gag2-codes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.gag2-code-card {
  padding: 14px;
  border: 1px solid var(--gag2-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.gag2-code-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.gag2-code-title {
  color: var(--gag2-green);
  font-size: 1rem;
  font-weight: 950;
}

.gag2-code-copy {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(118, 199, 255, 0.35);
  border-radius: 10px;
  background: rgba(118, 199, 255, 0.08);
  color: var(--gag2-blue);
  cursor: pointer;
  font-weight: 900;
}

.gag2-code-copy:hover,
.gag2-code-copy.is-copied {
  border-color: rgba(189, 252, 154, 0.75);
  background: rgba(189, 252, 154, 0.1);
  color: var(--gag2-green);
}

.gag2-code-reward {
  color: var(--gag2-muted);
  font-size: 0.92rem;
}

.gag2-code-status {
  min-height: 16px;
  margin-top: 8px;
  color: var(--gag2-muted);
  font-size: 0.78rem;
}

.gag2-value-estimate {
  margin-top: 14px;
  padding: 14px 0 4px;
  display: grid;
  gap: 4px;
}

.gag2-value-estimate span {
  color: var(--gag2-muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gag2-value-estimate strong {
  color: var(--gag2-green);
  font-size: clamp(1.8rem, 4.2vw, 3.7rem);
  line-height: 0.95;
  overflow-wrap: anywhere;
}

.gag2-outcome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}

.gag2-outcome-card {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(189, 252, 154, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.gag2-outcome-card span {
  display: block;
  color: var(--gag2-muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gag2-outcome-card strong {
  display: block;
  margin-top: 4px;
  color: var(--gag2-green);
  font-size: 1.15rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.gag2-result-note {
  margin: 0;
  color: var(--gag2-muted);
  font-size: 0.82rem;
}

.gag2-result-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.gag2-result-actions button,
.gag2-inventory-clear,
.gag2-inventory-remove {
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid rgba(189, 252, 154, 0.24);
  border-radius: 10px;
  background: rgba(189, 252, 154, 0.12);
  color: var(--gag2-green);
  font-weight: 950;
}

.gag2-result-actions button:hover,
.gag2-inventory-clear:hover,
.gag2-inventory-remove:hover {
  border-color: var(--gag2-border-strong);
  background: rgba(189, 252, 154, 0.18);
}

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

.gag2-report-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 16px;
}

.gag2-report-modal-open {
  overflow: hidden;
}

.gag2-report-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 6, 0.72);
  backdrop-filter: blur(8px);
}

.gag2-report-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 540px);
  max-height: min(92vh, 720px);
  overflow: auto;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(138, 210, 255, 0.24);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(138, 210, 255, 0.08), transparent 58%),
    rgba(14, 18, 17, 0.98);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.62);
}

.gag2-report-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--gag2-text);
  font-size: 1rem;
  font-weight: 950;
}

.gag2-report-head {
  display: grid;
  gap: 6px;
  padding-right: 44px;
}

.gag2-report-head span {
  color: var(--gag2-green);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gag2-report-head h3 {
  margin: 0;
  color: var(--gag2-text);
  font-size: clamp(1.35rem, 4vw, 1.9rem);
  line-height: 1.08;
}

.gag2-report-head p {
  margin: 0;
  color: var(--gag2-muted);
  font-size: 0.9rem;
}

.gag2-report-help {
  padding: 10px 12px;
  border: 1px solid rgba(245, 214, 111, 0.22);
  border-radius: 12px;
  background: rgba(245, 214, 111, 0.08);
  color: var(--gag2-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.gag2-report-help strong {
  color: var(--gag2-gold);
}

.gag2-report-form {
  display: grid;
  gap: 12px;
}

.gag2-report-context {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gag2-report-context span {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--gag2-text);
  font-size: 0.76rem;
  font-weight: 900;
}

.gag2-report-form label {
  display: grid;
  gap: 7px;
  color: var(--gag2-muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gag2-report-form input,
.gag2-report-form select,
.gag2-report-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid rgba(138, 210, 255, 0.18);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.32);
  color: var(--gag2-text);
  font: inherit;
  text-transform: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.gag2-report-form input:focus,
.gag2-report-form select:focus,
.gag2-report-form textarea:focus {
  outline: 2px solid rgba(189, 252, 154, 0.28);
  border-color: rgba(189, 252, 154, 0.48);
}

.gag2-report-form select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--gag2-muted) 50%) right 16px center / 7px 7px no-repeat,
    linear-gradient(135deg, var(--gag2-muted) 50%, transparent 50%) right 11px center / 7px 7px no-repeat,
    rgba(0, 0, 0, 0.32);
  padding-right: 34px;
}

.gag2-report-form select option {
  background: #111715;
  color: #e8ece9;
}

body[data-theme="light"] .gag2-report-form select option {
  background: #ffffff;
  color: #172117;
}

.gag2-report-form textarea {
  min-height: 104px;
  resize: vertical;
}

.gag2-report-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.gag2-report-actions button {
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid rgba(138, 210, 255, 0.28);
  border-radius: 10px;
  background: rgba(138, 210, 255, 0.13);
  color: var(--gag2-blue);
  font-weight: 950;
}

.gag2-report-actions button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.gag2-report-actions [data-report-status] {
  color: var(--gag2-muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.gag2-report-actions [data-status="success"] {
  color: var(--gag2-green);
}

.gag2-report-actions [data-status="error"] {
  color: #ff9b9b;
}

.gag2-inventory-list {
  margin-top: 14px;
}

.gag2-inventory-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(189, 252, 154, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(189, 252, 154, 0.05), transparent 60%),
    rgba(12, 16, 14, 0.7);
}

.gag2-inventory-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gag2-inventory-head h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.gag2-inventory-head p {
  margin: 0;
  color: var(--gag2-muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.gag2-inventory-items {
  max-height: 340px;
  overflow: auto;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gag2-inventory-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(140px, auto) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.gag2-inventory-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 7px 12px rgba(0, 0, 0, 0.25));
}

.gag2-inventory-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.gag2-inventory-main strong {
  color: var(--gag2-text);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.gag2-inventory-main span {
  color: var(--gag2-muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.gag2-inventory-value {
  color: var(--gag2-green);
  font-size: 1rem;
  line-height: 1.1;
  text-align: right;
  overflow-wrap: anywhere;
}

.gag2-inventory-remove {
  color: var(--gag2-muted);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.gag2-inventory-totals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.gag2-ad-slot {
  border: 0;
  outline: 1px solid var(--gag2-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    rgba(16, 18, 16, 0.9);
  width: min(100%, 728px);
  min-height: 90px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gag2-ad-slot iframe {
  display: block;
  max-width: 100%;
  border: 0;
  background: transparent !important;
  color-scheme: dark;
}

.gag2-ad-slot.aditude-ad-collapsed {
  display: none !important;
}

.gag2-ad-slot[data-aditude-base="pb-slot-right"][data-aditude-rendered-size$="x600"] {
  height: 600px;
  min-height: 600px;
}

/* Keep the mutation sidebar unit square; the generic leaderboard slot rule sits later in the cascade. */
.gag2-ad-slot.gag2-mutation-desktop-ad {
  width: 300px;
  min-width: 300px;
  max-width: 300px;
  height: 250px;
  min-height: 250px;
  flex: 0 0 300px;
}

.gag2-footer {
  margin: 18px 0 10px;
  padding: 18px 0 0;
  border-top: 1px solid var(--gag2-border);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--gag2-muted);
  align-items: center;
}

.gag2-footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gag2-text);
  font-weight: 800;
}

.gag2-footer-legal {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--gag2-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.gag2-footer-cat {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 8px;
}

.gag2-footer-support {
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--gag2-muted);
  line-height: 1.5;
}

.gag2-footer-support > a {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.gag2-footer-support > a:hover {
  transform: translateY(-1px);
  box-shadow: none;
}

.gag2-footer-support img {
  display: block;
  max-width: min(100%, 240px);
  height: auto;
}

.gag2-footer-support em {
  max-width: 560px;
}

.gag2-footer-support em a {
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gag2-green);
  text-decoration: underline;
  box-shadow: none;
}

.gag2-footer .gag2-theme-switcher {
  margin-left: auto;
}

.gag2-footer .gag2-theme-menu {
  top: auto;
  bottom: calc(100% + 8px);
}

/* Wiki page support */
.gag2-seo {
  display: grid;
  gap: 12px;
}

.gag2-seo-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.gag2-seo-link-grid a,
.gag2-seo-popular a {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: var(--gag2-panel-soft);
  color: inherit;
  text-decoration: none;
}

.gag2-seo-link-grid a {
  display: grid;
  gap: 5px;
  padding: 12px;
}

.gag2-seo-link-grid a:hover,
.gag2-seo-link-grid a:focus-visible,
.gag2-seo-popular a:hover,
.gag2-seo-popular a:focus-visible {
  border-color: var(--gag2-border-strong);
  background: rgba(189, 252, 154, 0.08);
}

.gag2-seo-link-grid a.gag2-trade-highlight-tile {
  border-color: rgba(255, 213, 110, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 213, 110, 0.12), rgba(126, 83, 232, 0.12)),
    var(--gag2-panel-soft);
  box-shadow: inset 0 0 0 1px rgba(255, 213, 110, 0.08);
}

.gag2-seo-link-grid a.gag2-trade-highlight-tile strong {
  color: #ffe28b;
}

.gag2-seo-link-grid a.gag2-trade-highlight-tile:hover,
.gag2-seo-link-grid a.gag2-trade-highlight-tile:focus-visible {
  border-color: rgba(255, 213, 110, 0.7);
  background:
    linear-gradient(135deg, rgba(255, 213, 110, 0.18), rgba(126, 83, 232, 0.16)),
    var(--gag2-panel-soft);
}

.gag2-seo-link-grid strong {
  color: var(--gag2-green);
  font-size: 1rem;
}

.gag2-seo-link-grid span {
  color: var(--gag2-muted);
  line-height: 1.45;
}

.gag2-seo-popular {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gag2-seo-popular a {
  padding: 8px 10px;
  color: var(--gag2-text);
  font-weight: 900;
}

.gag2-wiki-board {
  border: 1px solid var(--gag2-border);
  border-radius: 24px;
  background: var(--gag2-panel);
  box-shadow: var(--gag2-shadow);
  padding: 18px;
}

.gag2-section-label {
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 9px;
  border-radius: 8px;
  border: 1px solid rgba(245, 214, 111, 0.24);
  background: rgba(245, 214, 111, 0.08);
  color: var(--gag2-gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gag2-quick-access-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1fr);
  gap: 16px;
  align-items: end;
  margin-bottom: 14px;
}

.gag2-quick-access-heading h2 {
  margin: 0 0 6px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.12;
}

.gag2-quick-access-heading p {
  margin: 0;
  color: var(--gag2-muted);
  line-height: 1.6;
}

.gag2-navigation-heading {
  margin-bottom: 14px;
}

.gag2-navigation-heading h2 {
  margin: 0 0 6px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.15;
}

.gag2-navigation-heading p {
  margin: 0;
  color: var(--gag2-muted);
  line-height: 1.55;
}

.gag2-quick-access-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.gag2-quick-access-tile {
  position: relative;
  min-width: 0;
  min-height: 168px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  grid-template-areas:
    "thumb meta"
    "thumb title"
    "thumb sub";
  align-items: start;
  gap: 8px 12px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 38%),
    var(--gag2-panel-soft);
  color: var(--gag2-text);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.gag2-quick-access-tile::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--gag2-green), transparent 72%);
  opacity: 0.9;
}

.gag2-quick-access-tile:hover,
.gag2-quick-access-tile:focus-visible {
  transform: translateY(-2px);
  border-color: var(--gag2-border-strong);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26), 0 0 22px rgba(189, 252, 154, 0.09);
}

.gag2-quick-access-meta {
  grid-area: meta;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.gag2-quick-access-category,
.gag2-quick-access-tier {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 8px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 900;
}

.gag2-quick-access-category {
  border: 1px solid rgba(189, 252, 154, 0.18);
  background: rgba(189, 252, 154, 0.08);
  color: var(--gag2-green);
}

.gag2-quick-access-tier {
  border: 1px solid rgba(245, 214, 111, 0.22);
  background: rgba(245, 214, 111, 0.08);
  color: var(--gag2-gold);
}

.gag2-quick-access-thumb {
  grid-area: thumb;
  align-self: center;
  justify-self: start;
  width: 92px;
  height: 92px;
  object-fit: contain;
  border-radius: 8px;
  padding: 8px;
  background: rgba(6, 10, 8, 0.58);
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.3));
}

.gag2-quick-access-title {
  grid-area: title;
  min-width: 0;
  color: var(--gag2-text);
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.gag2-quick-access-sub {
  grid-area: sub;
  color: var(--gag2-muted);
  line-height: 1.45;
  font-size: 0.92rem;
}

.gag2-wiki-finder {
  overflow: hidden;
}

.gag2-finder-heading {
  align-items: start;
}

.gag2-finder-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin: 14px 0 10px;
}

.gag2-finder-controls input {
  min-width: 0;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(9, 14, 12, 0.86);
  color: var(--gag2-text);
  padding: 12px 14px;
  font: inherit;
  font-weight: 800;
  outline: none;
}

.gag2-finder-controls input:focus {
  border-color: var(--gag2-border-strong);
  box-shadow: 0 0 0 3px rgba(189, 252, 154, 0.12);
}

.gag2-finder-controls button,
.gag2-finder-suggestions button {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(39, 55, 48, 0.95), rgba(24, 35, 30, 0.95));
  color: var(--gag2-text);
  padding: 9px 12px;
  font-weight: 900;
}

.gag2-finder-controls button:hover,
.gag2-finder-controls button:focus-visible,
.gag2-finder-suggestions button:hover,
.gag2-finder-suggestions button:focus-visible {
  border-color: var(--gag2-border-strong);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.gag2-finder-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.gag2-finder-suggestions button {
  min-height: 34px;
  padding: 7px 10px;
  border-color: rgba(245, 214, 111, 0.18);
  background: rgba(245, 214, 111, 0.08);
  color: var(--gag2-gold);
  font-size: 0.82rem;
}

.gag2-finder-stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.gag2-finder-stat-grid div {
  min-width: 0;
  display: grid;
  gap: 2px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.gag2-finder-stat-grid strong {
  color: var(--gag2-green);
  font-size: 1.05rem;
  line-height: 1;
}

.gag2-finder-stat-grid span {
  color: var(--gag2-muted);
  font-size: 0.76rem;
  font-weight: 900;
}

.gag2-finder-results {
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}

.gag2-finder-card {
  min-height: 176px;
}

.gag2-finder-card .gag2-wiki-card-top {
  align-items: start;
}

.gag2-finder-card-no-image .gag2-wiki-card-top {
  grid-template-columns: minmax(0, 1fr);
}

.gag2-finder-type {
  display: inline-flex;
  width: fit-content;
  min-height: 24px;
  align-items: center;
  margin-bottom: 5px;
  padding: 4px 7px;
  border: 1px solid rgba(189, 252, 154, 0.18);
  border-radius: 8px;
  background: rgba(189, 252, 154, 0.08);
  color: var(--gag2-green);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gag2-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.gag2-nav-tile {
  min-width: 0;
  min-height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 42%),
    var(--gag2-panel-soft);
  color: var(--gag2-text);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.gag2-nav-tile:hover,
.gag2-nav-tile:focus-visible {
  transform: translateY(-2px);
  border-color: var(--gag2-border-strong);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.gag2-nav-tile strong {
  font-size: 1rem;
  line-height: 1.1;
}

.gag2-nav-tile span {
  color: var(--gag2-muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
}

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

.gag2-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.gag2-tab {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(39, 55, 48, 0.95), rgba(24, 35, 30, 0.95));
  color: var(--gag2-text);
  border-radius: 14px;
  font-weight: 900;
}

.gag2-tab.is-active {
  background: linear-gradient(135deg, #8adf63, #d7ff8a);
  border-color: #d7ff8a;
  color: #102000;
}

.gag2-tab:disabled {
  opacity: 0.55;
  cursor: default;
}

.gag2-wiki-search {
  display: flex;
  gap: 8px;
  flex: 1 1 320px;
  justify-content: flex-end;
}

.gag2-wiki-search input {
  width: min(420px, 100%);
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(9, 14, 12, 0.82);
  color: var(--gag2-text);
  border-radius: 12px;
  padding: 10px 12px;
}

.gag2-wiki-search button {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(39, 55, 48, 0.95), rgba(24, 35, 30, 0.95));
  color: var(--gag2-text);
  border-radius: 14px;
  padding: 9px 14px;
  font-weight: 900;
}

.gag2-pane {
  display: none;
}

.gag2-pane.is-active {
  display: block;
}

.gag2-wiki-preview,
.gag2-seo {
  border: 1px solid var(--gag2-border);
  border-radius: 24px;
  background: var(--gag2-panel);
  box-shadow: var(--gag2-shadow);
  padding: 18px;
}

.gag2-pane-head {
  margin-bottom: 12px;
}

.gag2-pane-head h2,
.gag2-seo h2 {
  margin: 0 0 6px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.gag2-pane-head p,
.gag2-seo p {
  color: var(--gag2-muted);
  margin: 0;
  line-height: 1.6;
}

.gag2-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: 10px;
}

.gag2-pane .gag2-card-grid,
.gag2-card-grid-scroll {
  max-height: min(640px, 72vh);
  overflow-y: auto;
  padding-right: 4px;
  align-content: start;
}

.gag2-wiki-card {
  min-height: 166px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--gag2-panel-soft);
  border-radius: 16px;
  padding: 12px;
  display: grid;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.gag2-wiki-card:hover,
.gag2-wiki-card:focus-visible {
  border-color: var(--gag2-border-strong);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22), 0 0 18px rgba(189, 252, 154, 0.08);
}

.gag2-wiki-card-top {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.gag2-wiki-card img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.gag2-wiki-card h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  line-height: 1.15;
}

.gag2-wiki-card p {
  margin: 0;
  color: var(--gag2-muted);
  line-height: 1.5;
}

.gag2-pet-eggs {
  margin-bottom: 16px;
}

.gag2-pet-egg-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: var(--gag2-panel-soft);
}

.gag2-pet-egg-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.gag2-pet-egg-table th,
.gag2-pet-egg-table td {
  padding: 12px;
  vertical-align: middle;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gag2-pet-egg-table th:last-child,
.gag2-pet-egg-table td:last-child {
  border-right: 0;
}

.gag2-pet-egg-table tbody tr:last-child th,
.gag2-pet-egg-table tbody tr:last-child td {
  border-bottom: 0;
}

.gag2-pet-egg-table thead th {
  color: var(--gag2-muted);
  font-size: 0.82rem;
  line-height: 1.25;
  text-align: left;
  text-transform: uppercase;
}

.gag2-pet-egg-table tbody th {
  color: var(--gag2-green);
  font-size: 1rem;
  line-height: 1.35;
  text-align: left;
}

.gag2-pet-egg-table img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.28));
}

.gag2-pet-egg-table a,
.gag2-pet-egg-list a {
  color: var(--gag2-green);
  font-weight: 900;
  text-decoration: none;
}

.gag2-pet-egg-table a:hover,
.gag2-pet-egg-table a:focus-visible,
.gag2-pet-egg-list a:hover,
.gag2-pet-egg-list a:focus-visible {
  text-decoration: underline;
}

.gag2-pet-egg-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 1.1rem;
}

.gag2-pet-egg-list li {
  padding-left: 2px;
  line-height: 1.45;
}

.gag2-pet-egg-list span {
  color: var(--gag2-text);
  margin-left: 4px;
}

.gag2-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gag2-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--gag2-muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.gag2-empty {
  margin-top: 10px;
  border: 1px dashed var(--gag2-border);
  border-radius: 14px;
  padding: 14px;
  color: var(--gag2-muted);
}

.gag2-faq {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.gag2-faq details {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--gag2-panel-soft);
  border-radius: 16px;
  padding: 12px;
}

.gag2-faq summary {
  cursor: pointer;
  color: var(--gag2-text);
  font-weight: 900;
}

/* Individual wiki pages */
.gag2-entry-hero {
  align-items: center;
}

.gag2-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
  color: var(--gag2-muted);
  font-weight: 800;
}

.gag2-crumbs a {
  color: var(--gag2-green);
  text-decoration: none;
}

.gag2-entry-layout {
  display: grid;
  grid-template-columns: minmax(250px, 340px) minmax(0, 1fr);
  gap: 16px;
}

.gag2-entry-infobox,
.gag2-entry-content {
  min-width: 0;
  border: 1px solid var(--gag2-border);
  border-radius: 24px;
  background: var(--gag2-panel);
  box-shadow: var(--gag2-shadow);
}

.gag2-entry-infobox {
  align-self: start;
  display: grid;
  gap: 12px;
  padding: 16px;
}

.gag2-entry-infobox > img {
  width: min(170px, 100%);
  height: 170px;
  justify-self: center;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.32));
}

.gag2-entry-infobox h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.gag2-entry-content {
  display: grid;
  gap: 14px;
  padding: 18px;
  line-height: 1.65;
}

.gag2-entry-section {
  display: grid;
  gap: 8px;
}

.gag2-guild-event-history .gag2-entry-section + .gag2-entry-section {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--gag2-border);
}

.gag2-entry-section h2,
.gag2-entry-section p {
  margin: 0;
}

.gag2-entry-section p {
  color: var(--gag2-muted);
}

.gag2-entry-callout {
  padding: 12px;
  border: 1px solid rgba(189, 252, 154, 0.16);
  border-radius: 14px;
  background: rgba(189, 252, 154, 0.06);
  color: var(--gag2-text) !important;
  font-weight: 800;
}

.gag2-pet-stat-table {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(189, 252, 154, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.gag2-pet-stat-table table {
  width: 100%;
  min-width: 360px;
  border-collapse: collapse;
}

.gag2-pet-stat-table th,
.gag2-pet-stat-table td {
  padding: 11px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  white-space: nowrap;
}

.gag2-pet-stat-table th:last-child,
.gag2-pet-stat-table td:last-child {
  border-right: 0;
}

.gag2-pet-stat-table th {
  color: var(--gag2-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.gag2-pet-stat-table td {
  color: var(--gag2-text);
  font-size: 1rem;
  font-weight: 900;
}

.gag2-entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gag2-entry-actions a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(245, 214, 111, 0.28);
  border-radius: 12px;
  background: rgba(245, 214, 111, 0.1);
  color: var(--gag2-gold);
  font-weight: 900;
  text-decoration: none;
}

.gag2-entry-inline-ad,
.gag2-entry-page-ad {
  border: 0;
  outline: 1px solid var(--gag2-border);
  border-radius: 14px;
  background: var(--gag2-panel-soft);
}

.gag2-weights-mid-ad {
  min-height: 90px;
}

.gag2-entry-sidebar-ad {
  width: 300px;
  max-width: 100%;
  min-height: 250px;
  margin: 4px auto 0;
  border: 0;
  outline: 1px solid var(--gag2-border);
  border-radius: 14px;
  background: var(--gag2-panel-soft);
}

.gag2-entry-list {
  margin: 0;
  padding-left: 20px;
  color: var(--gag2-muted);
}

.gag2-entry-list li + li {
  margin-top: 6px;
}

.gag2-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}

@media (max-width: 980px) {
  .gag2-status,
  .gag2-disclaimer,
  .gag2-countdown,
  .gag2-entry-layout,
  .gag2-form-grid,
  .gag2-data-grid,
  .gag2-value-snapshot,
  .gag2-weight-control-head,
  .gag2-faq {
    grid-template-columns: 1fr;
  }

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

  .gag2-entry-sidebar-ad {
    display: none;
  }

  .gag2-inventory-totals {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 720px) {
  .gag2-inventory-head {
    align-items: stretch;
    flex-direction: column;
  }

  .gag2-inventory-clear,
  .gag2-result-actions button {
    width: 100%;
  }

  .gag2-inventory-item {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .gag2-inventory-item img {
    width: 44px;
    height: 44px;
  }

  .gag2-inventory-value {
    grid-column: 1 / -1;
    text-align: left;
  }

  .gag2-inventory-remove {
    grid-column: 1 / -1;
  }

  .gag2-sprinkler-card {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .gag2-sprinkler-card img {
    width: 44px;
    height: 44px;
  }

  .gag2-stepper {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 48px 1fr;
    justify-self: stretch;
  }

  .gag2-stepper button {
    width: auto;
  }

  .gag2-weight-summary {
    grid-template-columns: 1fr;
  }

  .gag2-weight-control-grid.gag2-form-grid {
    grid-template-columns: 1fr;
  }

  .gag2-stock-multiplier-control {
    grid-template-columns: 1fr;
  }

  .gag2-weight-summary .gag2-roll-card {
    min-height: auto;
  }

  .gag2-lucky-double-table-wrap {
    border-radius: 12px;
    -webkit-overflow-scrolling: touch;
  }

  .gag2-selected-weight-table {
    min-width: 720px;
  }

  .gag2-possible-weight-table {
    min-width: 940px;
  }

  .gag2-chain-table {
    min-width: 680px;
  }

  .gag2-lucky-double-table th,
  .gag2-lucky-double-table td {
    padding: 9px 10px;
    font-size: 0.8rem;
  }

  .gag2-spreadsheet-table thead tr:nth-child(2) th:first-child,
  .gag2-spreadsheet-table tbody td:first-child {
    min-width: 118px;
    max-width: 148px;
    white-space: normal;
  }

  .gag2-chance-tip {
    min-height: 22px;
    padding: 2px 6px;
  }

  .gag2-chance-popover {
    font-size: 0.78rem;
  }
}

.gag2-changelog {
  display: grid;
  gap: 16px;
}

.gag2-changelog-day {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--gag2-border);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 42%),
    var(--gag2-panel-soft);
}

.gag2-changelog-date {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gag2-changelog-date h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

.gag2-changelog-date time {
  color: var(--gag2-green);
  font-size: 0.92rem;
  font-weight: 900;
}

.gag2-changelog-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gag2-changelog-list li {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.gag2-change-tag {
  width: fit-content;
  max-width: 100%;
  padding: 5px 7px;
  border: 1px solid rgba(189, 252, 154, 0.16);
  border-radius: 8px;
  background: rgba(189, 252, 154, 0.08);
  color: var(--gag2-green);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gag2-changelog-list span:last-child {
  color: var(--gag2-text);
  line-height: 1.45;
}

@media (max-width: 640px) {
  .gag2-changelog-list li {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body {
    padding: 8px;
  }

  .gag2-page-shell {
    width: 100%;
  }

  .gag2-header,
  .gag2-status,
  .gag2-disclaimer,
  .gag2-countdown,
  .gag2-tool,
  .gag2-wiki-board,
  .gag2-wiki-preview,
  .gag2-seo {
    border-radius: 18px;
    padding: 12px;
  }

  .gag2-nav,
  .gag2-nav a,
  .gag2-tool-switch,
  .gag2-tool-switch button,
  .gag2-tool-switch a,
  .gag2-theme-switcher,
  .gag2-theme-toggle {
    width: 100%;
  }

  .gag2-mutation-desktop-ad {
    display: none;
  }

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

  .gag2-header-controls {
    width: 100%;
    justify-content: flex-end;
    gap: 6px;
  }

  .gag2-header-controls .gag2-theme-switcher,
  .gag2-header-controls .gag2-theme-toggle,
  .gag2-default-switcher,
  .gag2-default-toggle {
    width: auto;
  }

  .gag2-default-toggle,
  .gag2-theme-toggle {
    min-width: 0;
    min-height: 36px;
    padding: 8px 11px;
    font-size: 0.78rem;
  }

  .gag2-default-toggle-label {
    display: none;
  }

  .gag2-default-toggle-short {
    display: inline;
  }

  .gag2-default-menu,
  .gag2-theme-menu {
    min-width: 170px;
  }

  .gag2-nav a,
  .gag2-tool-switch button,
  .gag2-tool-switch a {
    flex: 1 1 calc(50% - 8px);
  }

  .gag2-choice-grid,
  .gag2-choice-grid-compact {
    max-height: 360px;
    overflow-y: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding-right: 4px;
    align-content: start;
  }

  .gag2-choice-grid-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gag2-choice {
    min-height: 98px;
    grid-template-rows: 46px auto auto;
    gap: 4px;
    padding: 8px 5px;
    border-radius: 10px;
  }

  .gag2-choice img {
    width: 46px;
    height: 46px;
  }

  .gag2-choice strong {
    font-size: 0.7rem;
    line-height: 1.05;
  }

  .gag2-choice span {
    font-size: 0.62rem;
    line-height: 1.1;
  }

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

  .gag2-quick-access-heading,
  .gag2-quick-access-grid,
  .gag2-nav-grid {
    grid-template-columns: 1fr;
  }

  .gag2-quick-access-tile {
    min-height: 0;
  }

  .gag2-finder-controls,
  .gag2-finder-stat-grid {
    grid-template-columns: 1fr;
  }

  .gag2-finder-controls button {
    width: 100%;
  }

  .gag2-wiki-search {
    justify-content: stretch;
  }

  .gag2-wiki-search input {
    width: 100%;
  }

  .gag2-pane .gag2-card-grid,
  .gag2-card-grid-scroll {
    max-height: min(520px, 68vh);
  }

  .gag2-mutation-layout {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-right: 0;
  }

  .gag2-mutation-head-actions {
    position: static;
    width: 100%;
    justify-items: stretch;
  }

  .gag2-mutation-controls {
    display: contents;
  }

  .gag2-mutation-grid {
    order: 1;
  }

  .gag2-mutation-panel {
    padding: 13px;
  }

  .gag2-decay-estimate {
    order: 3;
    width: 100%;
  }

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

  #plants .gag2-card-grid,
  #pets .gag2-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #plants .gag2-wiki-card,
  #pets .gag2-wiki-card {
    min-height: 0;
    padding: 9px;
    gap: 7px;
  }

  #plants .gag2-wiki-card-top,
  #pets .gag2-wiki-card-top {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 7px;
  }

  #plants .gag2-wiki-card img,
  #pets .gag2-wiki-card img {
    width: 42px;
    height: 42px;
  }

  #plants .gag2-wiki-card h3,
  #pets .gag2-wiki-card h3 {
    font-size: 0.9rem;
  }

  #plants .gag2-wiki-card p,
  #pets .gag2-wiki-card p {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  #plants .gag2-pill,
  #pets .gag2-pill {
    min-height: 22px;
    padding: 3px 6px;
    font-size: 0.68rem;
  }

  .gag2-ad-slot {
    min-height: 50px;
  }

  .gag2-roll-ad-slot {
    width: min(100%, 300px);
    min-height: 50px;
    height: 50px;
  }

}

@media (max-width: 430px) {
  .gag2-card-grid {
    grid-template-columns: 1fr;
  }

  #plants .gag2-card-grid,
  #pets .gag2-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gag2-choice-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .gag2-choice-grid-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gag2-nav a,
  .gag2-tool-switch button,
  .gag2-tool-switch a {
    flex-basis: 100%;
  }

}

.gag2-stock-hero {
  align-items: stretch;
}

.gag2-stock-clock {
  min-width: min(100%, 260px);
}

.gag2-stock-clock small {
  display: block;
  margin-top: 6px;
  color: var(--gag2-muted);
  font-weight: 800;
}

.gag2-stock-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
  margin-top: 18px;
}

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

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

.gag2-stock-predictor-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.gag2-stock-predictor-main {
  min-width: 0;
}

.gag2-stock-predictor-rail {
  display: none;
  min-width: 0;
}

.gag2-stock-panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--gag2-border);
  border-radius: 20px;
  background: var(--gag2-panel);
  box-shadow: var(--gag2-shadow);
}

.gag2-stock-panel-strong {
  background:
    linear-gradient(180deg, rgba(189, 252, 154, 0.08), transparent 42%),
    var(--gag2-panel);
}

.gag2-current-stock-shell {
  margin-top: 18px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(156, 239, 134, 0.11), transparent 58%),
    var(--gag2-panel);
}

.gag2-current-stock-shell .gag2-current-stock {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.gag2-current-stock-shell .gag2-stock-chip-grid {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}

.gag2-current-stock-shell .gag2-current-stock-head {
  margin-bottom: 16px;
}

.gag2-current-stock-shell .gag2-current-stock-head span {
  font-size: 1rem;
}

.gag2-current-stock-shell .gag2-current-stock-head strong {
  margin-top: 3px;
  font-size: 1.15rem;
}

.gag2-current-stock-shell .gag2-stock-chip {
  grid-template-columns: 48px minmax(0, 1fr) auto;
  min-height: 86px;
  padding: 12px;
  gap: 12px;
}

.gag2-current-stock-shell .gag2-stock-chip img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.gag2-current-stock-shell .gag2-stock-chip span,
.gag2-current-stock-shell .gag2-stock-chip strong {
  font-size: 1rem;
}

.gag2-current-stock-shell .gag2-stock-chip small {
  grid-column: 2 / -1;
  font-size: 0.9rem;
}

.gag2-stock-form {
  display: grid;
  gap: 14px;
}

.gag2-stock-form label,
.gag2-stock-section-head label {
  display: grid;
  gap: 8px;
  color: var(--gag2-muted);
  font-weight: 800;
}

.gag2-stock-form textarea,
.gag2-stock-form input,
.gag2-stock-form select,
.gag2-stock-section-head input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--gag2-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--gag2-text);
  padding: 12px 14px;
  outline: none;
}

.gag2-stock-form textarea {
  min-height: 210px;
  resize: vertical;
  line-height: 1.45;
}

.gag2-stock-select {
  display: grid;
  gap: 10px;
}

.gag2-stock-select-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--gag2-muted);
  font-weight: 900;
}

.gag2-stock-select-head button {
  min-height: 34px;
  border: 1px solid var(--gag2-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--gag2-text);
  padding: 7px 10px;
  font-weight: 900;
}

.gag2-stock-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));
  gap: 8px;
  max-height: 244px;
  overflow: auto;
  padding-right: 4px;
}

.gag2-stock-select-option {
  min-width: 0;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid var(--gag2-border);
  border-radius: 12px;
  background: var(--gag2-panel-soft);
  color: var(--gag2-text);
  padding: 7px 9px;
  text-align: left;
  font-weight: 900;
}

.gag2-stock-select-option.is-selected {
  border-color: rgba(156, 239, 134, 0.7);
  background: linear-gradient(180deg, rgba(74, 136, 82, 0.34), rgba(31, 59, 43, 0.92));
}

.gag2-stock-select-option img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}

.gag2-stock-select-option span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gag2-stock-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 0.45fr);
  gap: 12px;
}

.gag2-stock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gag2-stock-actions button,
.gag2-stock-section-head button {
  min-height: 42px;
  border: 1px solid var(--gag2-border);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(39, 55, 48, 0.95), rgba(24, 35, 30, 0.95));
  color: var(--gag2-text);
  padding: 10px 16px;
  font-weight: 900;
}

.gag2-stock-detected,
.gag2-stock-simulation,
.gag2-stock-watchlist,
.gag2-stock-last-seen {
  margin-top: 18px;
}

.gag2-stock-simulation:empty {
  display: none;
}

.gag2-current-stock {
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid var(--gag2-border);
  border-radius: 14px;
  background: var(--gag2-panel-soft);
}

.gag2-current-stock .gag2-stock-chip {
  background: rgba(255, 255, 255, 0.055);
}

.gag2-current-stock-empty {
  display: grid;
  gap: 4px;
}

.gag2-current-stock-empty strong {
  color: var(--gag2-text);
}

.gag2-current-stock-empty span {
  color: var(--gag2-muted);
  font-weight: 800;
}

.gag2-stock-submit-status {
  min-height: 22px;
  margin: 0;
  color: var(--gag2-muted);
  font-weight: 800;
}

.gag2-stock-submit-status[data-status="success"] {
  color: var(--gag2-green);
}

.gag2-stock-submit-status[data-status="error"] {
  color: #ff8787;
}

.gag2-stock-submit-status[data-status="pending"] {
  color: var(--gag2-gold);
}

.gag2-stock-square-ad {
  width: min(100%, 300px);
  height: 250px;
  min-height: 250px;
  margin: 18px auto 0;
}

.gag2-stock-leaderboard-ad {
  width: min(100%, 728px);
  min-height: 90px;
  margin: 18px auto 0;
}

.gag2-stock-rail-ad {
  width: 300px;
  min-width: 300px;
  max-width: 300px;
  height: 250px;
  min-height: 250px;
  margin: 0;
}

.gag2-stock-rail-ad[data-aditude-rendered-size$="x600"] {
  height: 600px;
  min-height: 600px;
}

.gag2-stock-alert {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: min(360px, calc(100vw - 48px));
  display: grid;
  gap: 9px;
  padding: 18px;
  border: 1px solid rgba(156, 239, 134, 0.38);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(156, 239, 134, 0.12), rgba(16, 24, 20, 0.98)),
    var(--gag2-panel);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.36);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.gag2-stock-alert.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.gag2-trade-alert {
  border-color: rgba(255, 213, 110, 0.44);
  background:
    linear-gradient(135deg, rgba(126, 83, 232, 0.2), rgba(255, 213, 110, 0.12)),
    linear-gradient(180deg, rgba(35, 26, 48, 0.98), rgba(16, 24, 20, 0.98)),
    var(--gag2-panel);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.4), 0 0 24px rgba(255, 213, 110, 0.12);
}

.gag2-trade-alert .gag2-stock-alert-kicker {
  color: #ffe28b;
}

.gag2-stock-alert-kicker {
  color: var(--gag2-green);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gag2-stock-alert strong {
  color: var(--gag2-text);
  font-size: 1.05rem;
}

.gag2-stock-alert p {
  margin: 0;
  color: var(--gag2-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.gag2-stock-alert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.gag2-stock-alert-actions a,
.gag2-stock-alert-actions button,
.gag2-stock-alert-close {
  border: 1px solid var(--gag2-border);
  border-radius: 12px;
  color: var(--gag2-text);
  font-weight: 900;
}

.gag2-stock-alert-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 13px;
  background: linear-gradient(180deg, rgba(99, 178, 92, 0.95), rgba(49, 111, 56, 0.95));
  text-decoration: none;
}

.gag2-stock-alert-actions a.gag2-stock-alert-secondary {
  background: linear-gradient(180deg, rgba(126, 83, 232, 0.88), rgba(73, 44, 139, 0.9));
  border-color: rgba(181, 143, 255, 0.42);
}

.gag2-stock-alert-actions button {
  min-height: 38px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.06);
}

.gag2-stock-alert-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.06);
}

.gag2-stock-empty,
.gag2-stock-pattern p,
.gag2-stock-simulation p {
  margin: 0;
  color: var(--gag2-muted);
}

.gag2-stock-detected-head,
.gag2-stock-section-head,
.gag2-stock-simulation-head,
.gag2-current-stock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.gag2-stock-detected-head span,
.gag2-stock-summary-grid span,
.gag2-stock-simulation-head span,
.gag2-current-stock-head span {
  color: var(--gag2-muted);
  font-weight: 800;
}

.gag2-stock-detected-head strong,
.gag2-stock-simulation-head strong,
.gag2-current-stock-head strong {
  color: var(--gag2-green);
}

.gag2-current-stock-head strong,
.gag2-current-stock-head span,
.gag2-current-stock-head small {
  display: block;
}

.gag2-current-stock-head small {
  color: var(--gag2-gold);
  font-weight: 900;
}

.gag2-stock-chip-grid,
.gag2-stock-watch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.gag2-stock-chip,
.gag2-stock-watch-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--gag2-border);
  border-radius: 14px;
  background: var(--gag2-panel-soft);
}

.gag2-stock-watch-item {
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
}

.gag2-stock-watch-item img {
  grid-row: 1 / span 2;
}

.gag2-stock-chip img,
.gag2-stock-watch-item img,
.gag2-stock-crop-cell img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}

.gag2-stock-chip span,
.gag2-stock-watch-item span,
.gag2-stock-crop-cell strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

.gag2-stock-chip small,
.gag2-stock-watch-item small,
.gag2-stock-crop-cell small {
  color: var(--gag2-muted);
  font-weight: 800;
}

.gag2-stock-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gag2-stock-summary-grid > div {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--gag2-border);
  border-radius: 16px;
  background: var(--gag2-panel-soft);
}

.gag2-stock-summary-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--gag2-green);
  font-size: 1.4rem;
}

.gag2-stock-watchlist h3,
.gag2-stock-last-seen h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.gag2-stock-watch-note {
  margin: -6px 0 12px;
  color: var(--gag2-muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.gag2-stock-lower-estimates {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(246, 203, 99, 0.28);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(246, 203, 99, 0.075), rgba(255, 255, 255, 0.025)),
    var(--gag2-panel-soft);
}

.gag2-stock-lower-estimates-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.gag2-stock-lower-estimates-head strong {
  color: var(--gag2-gold);
  font-size: 0.92rem;
}

.gag2-stock-lower-estimates-head small {
  color: var(--gag2-muted);
  font-weight: 800;
  text-align: right;
}

.gag2-stock-lower-estimate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 8px;
}

.gag2-stock-lower-estimate {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 8px;
  border: 1px solid rgba(246, 203, 99, 0.2);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.12);
}

.gag2-stock-lower-estimate img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}

.gag2-stock-lower-estimate span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.gag2-stock-lower-estimate strong,
.gag2-stock-lower-estimate small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gag2-stock-lower-estimate strong {
  color: var(--gag2-text);
  font-size: 0.88rem;
}

.gag2-stock-lower-estimate small {
  color: var(--gag2-muted);
  font-weight: 800;
  font-size: 0.78rem;
}

.gag2-stock-lower-estimate em {
  color: var(--gag2-green);
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.gag2-stock-watch-item {
  grid-template-columns: 38px minmax(0, 1fr);
}

.gag2-stock-watch-item.has-prediction {
  border-color: rgba(156, 239, 134, 0.45);
  background:
    linear-gradient(180deg, rgba(156, 239, 134, 0.1), rgba(255, 255, 255, 0.035)),
    var(--gag2-panel-soft);
}

.gag2-stock-watch-item[data-prediction="now"] {
  border-color: rgba(246, 203, 99, 0.58);
}

.gag2-stock-watch-item strong {
  min-width: 0;
  grid-column: 2 / -1;
  color: var(--gag2-green);
  font-size: 0.92rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
  white-space: normal;
}

.gag2-stock-watch-item small {
  grid-column: 2 / -1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.gag2-stock-section-head {
  align-items: end;
}

.gag2-stock-section-head h2 {
  margin: 4px 0 0;
}

.gag2-stock-section-head input {
  max-width: 260px;
}

.gag2-stock-prediction-tabs {
  display: none;
}

.gag2-stock-prediction-filter-strip {
  display: grid;
  gap: 10px;
  margin: 12px 0 14px;
}

.gag2-stock-filter-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.gag2-stock-filter-row > strong {
  color: var(--gag2-muted);
  font-size: 0.78rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.gag2-stock-filter-row > div {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.gag2-stock-filter-pill {
  min-width: 0;
  max-width: min(220px, 100%);
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--gag2-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--gag2-text);
  padding: 6px 11px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 950;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.gag2-stock-filter-pill:hover,
.gag2-stock-filter-pill:focus-visible {
  border-color: rgba(246, 203, 99, 0.55);
  background: rgba(246, 203, 99, 0.1);
  transform: translateY(-1px);
}

.gag2-stock-filter-pill.is-active {
  border-color: rgba(156, 239, 134, 0.65);
  background:
    linear-gradient(180deg, rgba(156, 239, 134, 0.18), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.06);
  color: var(--gag2-green);
}

.gag2-stock-filter-pill img {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 7px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}

.gag2-stock-filter-pill span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gag2-stock-table-wrap {
  overflow-x: auto;
}

.gag2-stock-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.gag2-stock-table th,
.gag2-stock-table td {
  padding: 12px;
  border-bottom: 1px solid var(--gag2-border);
  text-align: left;
  vertical-align: middle;
}

.gag2-stock-table th {
  color: var(--gag2-muted);
  font-size: 0.86rem;
}

.gag2-stock-crop-cell {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.gag2-stock-crop-cell span {
  display: grid;
}

.gag2-stock-pattern,
.gag2-stock-simulation-card {
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid var(--gag2-border);
  border-radius: 14px;
  background: var(--gag2-panel-soft);
}

.gag2-stock-history {
  display: grid;
  gap: 10px;
}

.gag2-stock-history-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 14px;
  align-items: start;
}

.gag2-stock-history-ad {
  margin: 0;
}

.gag2-stock-history-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--gag2-border);
  border-radius: 14px;
  background: var(--gag2-panel-soft);
}

.gag2-stock-history-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.gag2-stock-history-table th,
.gag2-stock-history-table td {
  padding: 10px;
  border-bottom: 1px solid var(--gag2-border);
  text-align: center;
  white-space: nowrap;
}

.gag2-stock-history-table th:first-child,
.gag2-stock-history-table td:first-child,
.gag2-stock-history-table th:nth-child(2),
.gag2-stock-history-table td:nth-child(2) {
  text-align: left;
}

.gag2-stock-history-table thead th {
  color: var(--gag2-muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.gag2-stock-history-table tbody th {
  color: var(--gag2-text);
}

.gag2-stock-history-table tbody th strong,
.gag2-stock-history-table tbody th small {
  display: block;
}

.gag2-stock-history-table tbody th small,
.gag2-stock-history-table td:nth-child(2) {
  color: var(--gag2-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.gag2-stock-history-table tbody tr:last-child th,
.gag2-stock-history-table tbody tr:last-child td {
  border-bottom: 0;
}

.gag2-stock-history-row {
  display: grid;
  grid-template-columns: minmax(100px, 0.3fr) minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--gag2-border);
  border-radius: 14px;
  background: var(--gag2-panel-soft);
}

.gag2-stock-history-row strong,
.gag2-stock-history-row span,
.gag2-stock-history-row small {
  display: block;
}

.gag2-stock-history-row span,
.gag2-stock-history-row small {
  margin-top: 3px;
  color: var(--gag2-muted);
  font-size: 0.88rem;
}

.gag2-stock-history-row p {
  min-width: 0;
  margin: 0;
  color: var(--gag2-text);
  overflow-wrap: anywhere;
}

.gag2-stock-prediction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.gag2-stock-prediction-group {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-self: start;
  gap: 10px;
}

.gag2-stock-prediction-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.gag2-stock-prediction-title h3 {
  margin: 0;
  font-size: 1rem;
}

.gag2-stock-prediction-title small {
  min-width: 0;
  color: var(--gag2-muted);
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gag2-stock-prediction-list {
  display: grid;
  align-content: start;
  gap: 8px;
}

.gag2-stock-prediction-inline-ad {
  display: none;
}

.gag2-stock-prediction-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(72px, 0.22fr) minmax(0, 1fr);
  gap: 10px;
  padding: 11px;
  border: 1px solid var(--gag2-border);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent),
    var(--gag2-panel-soft);
}

.gag2-stock-prediction-row.is-low-confidence {
  border-color: rgba(251, 211, 91, 0.38);
  background:
    linear-gradient(180deg, rgba(251, 211, 91, 0.075), transparent),
    var(--gag2-panel-soft);
}

.gag2-stock-prediction-row strong,
.gag2-stock-prediction-row small {
  display: block;
}

.gag2-stock-prediction-row strong {
  color: var(--gag2-text);
}

.gag2-stock-prediction-row small {
  margin-top: 3px;
  color: var(--gag2-muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.gag2-stock-prediction-confidence {
  width: fit-content;
  padding: 2px 6px;
  border: 1px solid rgba(251, 211, 91, 0.32);
  border-radius: 999px;
  color: #fbd35b !important;
  background: rgba(251, 211, 91, 0.08);
}

.gag2-stock-prediction-items {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.gag2-stock-mini-item {
  min-width: 0;
  max-width: 176px;
  display: inline-grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
}

.gag2-stock-mini-item img,
.gag2-stock-mini-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}

.gag2-stock-mini-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gag2-gold);
  font-size: 0.7rem;
  font-weight: 1000;
}

.gag2-stock-mini-item > span:not(.gag2-stock-mini-icon) {
  min-width: 0;
  display: grid;
}

.gag2-stock-mini-item strong,
.gag2-stock-mini-item small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gag2-stock-mini-item strong {
  color: var(--gag2-text);
  font-size: 0.84rem;
}

.gag2-stock-mini-item small {
  margin-top: 1px;
  color: var(--gag2-muted);
  font-size: 0.74rem;
  font-weight: 900;
}

@media (min-width: 1180px) {
  .gag2-stock-predictor-shell {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: stretch;
  }

  .gag2-stock-predictor-rail {
    position: relative;
    display: block;
    align-self: stretch;
    min-height: 100%;
  }

  .gag2-stock-rail-ad {
    position: static;
    align-self: start;
  }

  .gag2-stock-rail-ad.is-section-fixed {
    position: fixed;
    top: 96px;
    z-index: 5;
  }

  .gag2-stock-rail-ad.is-section-bottom {
    position: absolute;
    right: 0;
    bottom: 0;
  }
}

.gag2-stock-predictor-shell.aditude-ad-collapsed,
.gag2-stock-history-shell.aditude-ad-collapsed {
  grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 980px) {
  .gag2-stock-layout,
  .gag2-stock-layout-wide {
    grid-template-columns: minmax(0, 1fr);
  }

  .gag2-stock-prediction-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    margin: 12px 0 10px;
    padding: 4px;
    border: 1px solid var(--gag2-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
  }

  .gag2-stock-prediction-tabs button {
    min-width: 0;
    min-height: 36px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--gag2-muted);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 1000;
    cursor: pointer;
  }

  .gag2-stock-prediction-tabs button.is-active {
    background:
      linear-gradient(180deg, rgba(156, 239, 134, 0.18), rgba(255, 255, 255, 0.06)),
      rgba(255, 255, 255, 0.06);
    color: var(--gag2-green);
    box-shadow: inset 0 0 0 1px rgba(156, 239, 134, 0.38);
  }

  .gag2-stock-prediction-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gag2-stock-prediction-inline-ad {
    display: block;
  }

  .gag2-stock-inline-ad {
    width: min(100%, 320px);
    height: 50px;
    min-height: 50px;
    margin: 4px auto;
    border-radius: 16px;
  }

  .gag2-stock-history-ad {
    display: none;
  }

  .gag2-stock-history-shell {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .gag2-stock-alert {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    gap: 6px;
    padding: 12px 42px 12px 12px;
    border-radius: 14px;
  }

  .gag2-stock-alert-kicker {
    font-size: 0.68rem;
  }

  .gag2-stock-alert strong {
    font-size: 0.92rem;
    line-height: 1.25;
  }

  .gag2-stock-alert p {
    display: none;
  }

  .gag2-stock-alert-actions {
    gap: 6px;
  }

  .gag2-stock-alert-actions a,
  .gag2-stock-alert-actions button {
    min-height: 32px;
    padding: 7px 9px;
    font-size: 0.76rem;
    border-radius: 10px;
  }

  .gag2-stock-alert-close {
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 10px;
  }

  .gag2-stock-form-row,
  .gag2-stock-summary-grid,
  .gag2-stock-history-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .gag2-stock-bot-input,
  .gag2-stock-parse-action {
    display: none !important;
  }

  .gag2-stock-select-grid {
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  }

  .gag2-stock-detected-head,
  .gag2-stock-section-head,
  .gag2-stock-simulation-head,
  .gag2-current-stock-head {
    align-items: stretch;
    flex-direction: column;
  }

  .gag2-stock-section-head input {
    max-width: none;
  }

  .gag2-stock-filter-row {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
  }
}

/* Live Seed Shop stock */
.gag2-live-stock-page {
  display: grid;
  gap: 22px;
}

.gag2-live-stock-hero,
.gag2-live-stock-board,
.gag2-live-stock-note,
.gag2-live-stock-summary-item {
  border: 1px solid var(--gag2-line);
  background: var(--gag2-card);
  box-shadow: var(--gag2-shadow);
}

.gag2-live-stock-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.38fr);
  gap: 24px;
  align-items: center;
  overflow: hidden;
  padding: clamp(22px, 4vw, 42px);
  border-radius: 24px;
  background:
    radial-gradient(circle at 94% 8%, rgba(156, 239, 134, 0.17), transparent 33%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), transparent 58%),
    var(--gag2-card);
}

.gag2-live-stock-copy > p {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--gag2-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.gag2-live-stock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}

.gag2-live-stock-refresh {
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid rgba(156, 239, 134, 0.5);
  border-radius: 12px;
  background: rgba(156, 239, 134, 0.14);
  color: var(--gag2-green);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.gag2-live-stock-refresh:hover:not(:disabled),
.gag2-live-stock-refresh:focus-visible {
  background: rgba(156, 239, 134, 0.24);
}

.gag2-live-stock-refresh:disabled { opacity: 0.64; cursor: wait; }
.gag2-live-stock-source { color: var(--gag2-muted); font-size: 0.88rem; font-weight: 700; }

.gag2-live-stock-clock {
  display: grid;
  gap: 5px;
  align-content: center;
  min-height: 168px;
  padding: 20px;
  border: 1px solid rgba(156, 239, 134, 0.36);
  border-radius: 18px;
  background: rgba(3, 12, 8, 0.3);
  text-align: center;
}

.gag2-live-stock-clock span,
.gag2-live-stock-clock small { color: var(--gag2-muted); font-weight: 800; }
.gag2-live-stock-clock strong { color: var(--gag2-green); font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: 0.045em; line-height: 1; }
.gag2-live-stock-clock small { font-size: 0.82rem; }
.gag2-live-stock-leaderboard { margin: 0 auto; }

.gag2-live-stock-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.gag2-live-stock-summary-item {
  display: grid;
  gap: 5px;
  padding: 16px 18px;
  border-radius: 16px;
}

.gag2-live-stock-summary-item span { color: var(--gag2-muted); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.gag2-live-stock-summary-item strong { color: var(--gag2-text); font-size: 1.08rem; }

.gag2-live-stock-board { padding: clamp(18px, 3vw, 30px); border-radius: 22px; }
.gag2-live-stock-board-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 20px; }
.gag2-live-stock-board-head h2 { margin: 3px 0 0; font-size: clamp(1.35rem, 3vw, 1.8rem); }
.gag2-live-stock-window { color: var(--gag2-muted); font-size: 0.85rem; font-weight: 800; text-align: right; }

.gag2-live-stock-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}

.gag2-live-stock-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 82px;
  padding: 13px;
  border: 1px solid var(--gag2-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.gag2-live-stock-card img { width: 46px; height: 46px; object-fit: contain; image-rendering: auto; }
.gag2-live-stock-card-copy { min-width: 0; }
.gag2-live-stock-card-copy span { display: block; overflow: hidden; color: var(--gag2-muted); font-size: 0.72rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.gag2-live-stock-card h3 { overflow: hidden; margin: 3px 0 0; color: var(--gag2-text); font-size: 0.98rem; text-overflow: ellipsis; white-space: nowrap; }
.gag2-live-stock-quantity { min-width: 38px; color: var(--gag2-green); font-size: 1.05rem; text-align: right; }
.gag2-live-stock-quantity.is-always { color: var(--gag2-text); font-size: 0.8rem; }

.gag2-live-stock-skeleton { min-height: 82px; border-radius: 16px; background: linear-gradient(100deg, rgba(255,255,255,.035) 25%, rgba(255,255,255,.1) 50%, rgba(255,255,255,.035) 75%); background-size: 200% 100%; animation: gag2LiveStockShimmer 1.3s infinite; }
@keyframes gag2LiveStockShimmer { to { background-position: -200% 0; } }

.gag2-live-stock-error { display: grid; gap: 4px; margin-top: 16px; padding: 16px; border: 1px solid rgba(244, 139, 139, .38); border-radius: 14px; background: rgba(157, 40, 40, .14); color: var(--gag2-muted); }
.gag2-live-stock-error strong { color: #ffb7b7; }
.gag2-live-stock-error.is-stale { border-color: rgba(239, 203, 134, .4); background: rgba(124, 89, 19, .14); }
.gag2-live-stock-error.is-stale strong { color: #ffe1a1; }
.gag2-live-stock-note { padding: 18px 20px; border-radius: 16px; }
.gag2-live-stock-note strong { color: var(--gag2-text); }
.gag2-live-stock-note p { margin: 7px 0 0; color: var(--gag2-muted); line-height: 1.55; }

@media (max-width: 640px) {
  .gag2-live-stock-page { gap: 16px; }
  .gag2-live-stock-hero { grid-template-columns: 1fr; gap: 18px; padding: 20px; border-radius: 18px; }
  .gag2-live-stock-clock { min-height: 128px; }
  .gag2-live-stock-summary { grid-template-columns: 1fr; gap: 8px; }
  .gag2-live-stock-summary-item { padding: 13px 15px; }
  .gag2-live-stock-board { padding: 17px 13px; border-radius: 18px; }
  .gag2-live-stock-board-head { align-items: start; flex-direction: column; margin-bottom: 14px; }
  .gag2-live-stock-window { text-align: left; }
  .gag2-live-stock-grid { grid-template-columns: 1fr; gap: 9px; }
  .gag2-live-stock-card { min-height: 74px; }
}
