.stamina-tool-shell {
  --stamina-green: #6fa526;
  --stamina-green-deep: #486e18;
  --stamina-gold: #d8a040;
  --stamina-brown: #6a4420;
  --stamina-brown-deep: #4a2d13;
  --stamina-paper: #fff8eb;
  --stamina-paper-deep: #f7ecd3;
  --stamina-paper-border: rgba(117, 79, 37, 0.18);
  --stamina-red: #ca4e2e;
  --stamina-blue: #2a9ce0;
  --stamina-shadow: 0 20px 38px rgba(91, 63, 27, 0.16);
  display: grid;
  gap: 26px;
}

.stamina-hero-panel,
.stamina-panel {
  background:
    linear-gradient(180deg, rgba(255, 253, 245, 0.94), rgba(247, 237, 214, 0.96)),
    var(--stamina-paper);
  border: 1px solid var(--stamina-paper-border);
  border-radius: 34px;
  box-shadow: var(--stamina-shadow);
}

.stamina-hero-panel {
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.95fr);
  padding: 30px;
}

.stamina-eyebrow,
.stamina-panel-kicker,
.stamina-answer-label {
  margin: 0;
  color: var(--stamina-green-deep);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stamina-hero-copy h1,
.stamina-panel-head h2 {
  margin: 0;
  color: var(--stamina-brown-deep);
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(2.15rem, 4vw, 3.8rem);
  line-height: 0.98;
}

.stamina-panel-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.stamina-lede,
.stamina-panel-copy,
.stamina-shot-card figcaption,
.stamina-counter-card figcaption,
.stamina-table-note,
.stamina-route-summary p,
.stamina-route-step li,
.stamina-tool-link-card p,
.stamina-evidence-card p,
.stamina-note-card p,
.stamina-faq-item p {
  color: #5e4a31;
  font-size: 1rem;
  line-height: 1.68;
}

.stamina-hero-copy,
.stamina-hero-media,
.stamina-summary-stack,
.stamina-counter-stack,
.stamina-map-side,
.stamina-route-side,
.stamina-side-stack {
  display: grid;
  gap: 18px;
}

.stamina-hero-actions,
.stamina-inline-actions,
.stamina-toggle-row,
.stamina-route-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stamina-button,
.stamina-ghost-button,
.stamina-toggle-button,
.stamina-route-tab {
  appearance: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.stamina-button:hover,
.stamina-ghost-button:hover,
.stamina-toggle-button:hover,
.stamina-route-tab:hover {
  transform: translateY(-1px);
}

.stamina-button-primary {
  background: linear-gradient(180deg, #7eb82d, var(--stamina-green));
  box-shadow: 0 12px 22px rgba(91, 144, 30, 0.24);
  color: #fffef8;
  padding: 0.92rem 1.22rem;
}

.stamina-button-secondary {
  background: rgba(111, 165, 38, 0.12);
  color: var(--stamina-green-deep);
  padding: 0.92rem 1.22rem;
}

.stamina-ghost-button,
.stamina-toggle-button,
.stamina-route-tab {
  background: rgba(105, 68, 32, 0.08);
  color: var(--stamina-brown-deep);
  padding: 0.72rem 1rem;
}

.stamina-toggle-button.is-active,
.stamina-route-tab.is-active {
  background: linear-gradient(180deg, #f3c562, var(--stamina-gold));
  color: #2b1707;
  box-shadow: 0 10px 18px rgba(157, 107, 24, 0.22);
}

.stamina-stat-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stamina-stat-card,
.stamina-kpi-card,
.stamina-method-card,
.stamina-evidence-card,
.stamina-note-card,
.stamina-tool-link-card {
  border: 1px solid rgba(111, 84, 43, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  padding: 18px;
}

.stamina-stat-card span,
.stamina-kpi-card span,
.stamina-method-card span,
.stamina-route-step span,
.stamina-berry-summary span,
.stamina-map-detail-head span {
  display: block;
  color: #786041;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stamina-stat-card strong,
.stamina-kpi-card strong,
.stamina-berry-summary strong,
.stamina-map-detail-head strong,
.stamina-route-summary strong,
.stamina-tool-link-card strong,
.stamina-note-card strong,
.stamina-evidence-card strong,
.stamina-faq-item summary {
  color: var(--stamina-brown-deep);
  font-family: "Baloo 2", sans-serif;
  font-size: 1.35rem;
  line-height: 1.05;
}

.stamina-stat-card p,
.stamina-kpi-card p,
.stamina-method-card p,
.stamina-route-summary p,
.stamina-tool-link-card p,
.stamina-note-card p,
.stamina-evidence-card p {
  margin: 0.55rem 0 0;
}

.stamina-hero-media {
  align-content: start;
  grid-template-columns: minmax(0, 1fr);
}

.stamina-shot-stack {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stamina-shot-card,
.stamina-counter-card {
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(105, 68, 32, 0.08), rgba(105, 68, 32, 0.02));
  border: 1px solid rgba(117, 79, 37, 0.12);
}

.stamina-shot-card img,
.stamina-counter-card img {
  width: 100%;
  height: auto;
}

.stamina-shot-card figcaption,
.stamina-counter-card figcaption {
  margin: 0;
  padding: 14px 16px 16px;
}

.stamina-shot-card-wide img {
  background: linear-gradient(180deg, #fff8ef, #f7e3bd);
}

.stamina-anchor-nav {
  position: sticky;
  top: 12px;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255, 248, 234, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(117, 79, 37, 0.14);
  box-shadow: 0 14px 30px rgba(91, 63, 27, 0.12);
}

.stamina-anchor-nav a {
  padding: 0.6rem 0.92rem;
  border-radius: 999px;
  color: var(--stamina-brown-deep);
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
}

.stamina-anchor-nav a:hover {
  background: rgba(111, 165, 38, 0.12);
}

.stamina-panel {
  display: grid;
  gap: 24px;
  padding: 28px;
}

.stamina-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px 28px;
}

.stamina-panel-head > div {
  display: grid;
  gap: 8px;
}

.stamina-panel-copy {
  max-width: 720px;
  margin: 0;
}

.stamina-planner-layout,
.stamina-food-layout,
.stamina-berry-layout,
.stamina-route-layout,
.stamina-faq-layout,
.stamina-map-shell {
  display: grid;
  gap: 20px;
}

.stamina-planner-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.95fr);
}

.stamina-food-layout {
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
}

.stamina-berry-layout,
.stamina-route-layout,
.stamina-faq-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
}

.stamina-map-shell {
  grid-template-columns: minmax(0, 1.22fr) minmax(280px, 0.78fr);
}

.stamina-card {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(117, 79, 37, 0.12);
  background: rgba(255, 255, 255, 0.76);
}

.stamina-card-muted {
  background:
    linear-gradient(180deg, rgba(255, 249, 236, 0.98), rgba(245, 232, 202, 0.94)),
    rgba(255, 255, 255, 0.72);
}

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

.stamina-card-head h3 {
  margin: 0;
  color: var(--stamina-brown-deep);
  font-family: "Baloo 2", sans-serif;
  font-size: 1.65rem;
  line-height: 1.02;
}

.stamina-chip,
.stamina-confidence {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stamina-chip {
  background: rgba(111, 165, 38, 0.12);
  color: var(--stamina-green-deep);
}

.stamina-confidence-high {
  background: rgba(49, 153, 75, 0.12);
  color: #1b7033;
}

.stamina-confidence-medium {
  background: rgba(216, 160, 64, 0.16);
  color: #88560f;
}

.stamina-confidence-low {
  background: rgba(202, 78, 46, 0.12);
  color: #9b351c;
}

.stamina-form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stamina-field {
  display: grid;
  gap: 8px;
}

.stamina-field span {
  color: #70583d;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stamina-field input,
.stamina-field select,
.stamina-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.82rem 0.96rem;
  border: 1px solid rgba(117, 79, 37, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--stamina-brown-deep);
  font: inherit;
}

.stamina-field textarea {
  resize: vertical;
}

.stamina-answer-label {
  margin-bottom: 0.25rem;
}

.stamina-quick-answer {
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(111, 165, 38, 0.14), rgba(111, 165, 38, 0.05));
  border: 1px solid rgba(111, 165, 38, 0.14);
  padding: 18px;
}

.stamina-quick-answer strong {
  display: block;
  color: var(--stamina-brown-deep);
  font-family: "Baloo 2", sans-serif;
  font-size: 1.45rem;
  line-height: 1.04;
}

.stamina-quick-answer p,
.stamina-quick-answer small {
  display: block;
  margin: 0.56rem 0 0;
  color: #5e4a31;
  line-height: 1.65;
}

.stamina-kpi-grid,
.stamina-method-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stamina-kpi-card strong {
  font-size: 1.65rem;
}

.stamina-copy-note {
  margin: 0;
  color: #7d6547;
  font-size: 0.94rem;
}

.stamina-warning-strip {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.stamina-warning-card {
  min-height: 100%;
  border-radius: 22px;
  border: 1px solid rgba(117, 79, 37, 0.12);
  background: rgba(255, 255, 255, 0.68);
  padding: 14px;
}

.stamina-warning-card.is-active {
  background: linear-gradient(180deg, rgba(202, 78, 46, 0.16), rgba(255, 255, 255, 0.82));
  border-color: rgba(202, 78, 46, 0.28);
}

.stamina-warning-card p,
.stamina-method-card small {
  margin: 0.55rem 0 0;
  color: #6b5638;
  line-height: 1.52;
}

.stamina-counter-stack {
  align-content: start;
}

.stamina-food-board {
  display: grid;
  gap: 16px;
}

.stamina-filter-row {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stamina-table-wrap {
  overflow: auto;
  border-radius: 24px;
  border: 1px solid rgba(117, 79, 37, 0.12);
  background: rgba(255, 255, 255, 0.78);
}

.stamina-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.stamina-table th,
.stamina-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(117, 79, 37, 0.08);
  text-align: left;
  vertical-align: top;
}

.stamina-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff7e7;
  color: var(--stamina-brown-deep);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stamina-table-title {
  color: var(--stamina-brown-deep);
  font-weight: 800;
}

.stamina-map-card {
  padding-bottom: 18px;
}

.stamina-map-stage {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #f6e7c1;
  border: 1px solid rgba(117, 79, 37, 0.12);
}

.stamina-map-stage img {
  width: 100%;
  height: auto;
}

.stamina-map-hotspots {
  position: absolute;
  inset: 0;
}

.stamina-map-zone,
.stamina-map-point {
  position: absolute;
  appearance: none;
  border: 0;
  cursor: pointer;
}

.stamina-map-zone {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 8px;
  border-radius: 18px;
  background: rgba(202, 78, 46, 0.18);
  outline: 2px solid rgba(202, 78, 46, 0.6);
}

.stamina-map-zone span {
  display: inline-flex;
  max-width: 100%;
  padding: 0.28rem 0.52rem;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.9);
  color: #7d2f1a;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
}

.stamina-map-zone.is-active {
  background: rgba(202, 78, 46, 0.26);
  outline-color: rgba(202, 78, 46, 0.95);
}

.stamina-map-point {
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  background: var(--stamina-blue);
  box-shadow: 0 0 0 4px rgba(42, 156, 224, 0.18);
}

.stamina-map-point span {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  white-space: nowrap;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #0b4265;
  font-size: 0.72rem;
  font-weight: 800;
}

.stamina-map-point.is-active {
  background: #177bc0;
  box-shadow: 0 0 0 6px rgba(42, 156, 224, 0.28);
}

.stamina-map-detail-head {
  display: grid;
  gap: 4px;
  margin-bottom: 8px;
}

.stamina-map-detail-extra {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(117, 79, 37, 0.1);
}

.stamina-note-card {
  padding: 16px;
}

.stamina-berry-card {
  align-content: start;
}

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

.stamina-berry-summary article {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(117, 79, 37, 0.1);
  padding: 14px;
}

.stamina-route-summary {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(216, 160, 64, 0.12), rgba(255, 255, 255, 0.7));
  border: 1px solid rgba(216, 160, 64, 0.18);
}

.stamina-route-timeline {
  display: grid;
  gap: 14px;
}

.stamina-route-step {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(117, 79, 37, 0.1);
  padding: 16px 18px;
}

.stamina-route-step ul,
.stamina-bullet-list {
  margin: 0.85rem 0 0;
  padding-left: 1.1rem;
  color: #5e4a31;
  line-height: 1.68;
}

.stamina-bullet-list {
  margin-top: 0;
}

.stamina-rom-card {
  display: grid;
  gap: 8px;
}

.stamina-rom-title {
  margin: 0;
  color: var(--stamina-brown-deep);
  font-family: "Baloo 2", sans-serif;
  font-size: 1.4rem;
  line-height: 1.02;
}

.stamina-rom-meta {
  margin: 0;
  color: #70583d;
  font-size: 0.92rem;
}

.stamina-faq-stack {
  display: grid;
  gap: 12px;
}

.stamina-faq-item {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(117, 79, 37, 0.1);
  background: rgba(255, 255, 255, 0.76);
  padding: 16px 18px;
}

.stamina-faq-item summary {
  cursor: pointer;
  list-style: none;
}

.stamina-faq-item summary::-webkit-details-marker {
  display: none;
}

.stamina-faq-item p {
  margin: 0.9rem 0 0;
}

.stamina-evidence-list,
.stamina-tool-link-list {
  display: grid;
  gap: 12px;
}

.stamina-tool-link-card {
  text-decoration: none;
}

.stamina-tool-link-card:hover {
  border-color: rgba(111, 165, 38, 0.28);
  box-shadow: 0 12px 22px rgba(91, 144, 30, 0.12);
}

@media (max-width: 1180px) {
  .stamina-hero-panel,
  .stamina-planner-layout,
  .stamina-food-layout,
  .stamina-berry-layout,
  .stamina-route-layout,
  .stamina-faq-layout,
  .stamina-map-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .stamina-shot-stack,
  .stamina-kpi-grid,
  .stamina-method-grid,
  .stamina-filter-row,
  .stamina-form-grid,
  .stamina-warning-strip,
  .stamina-berry-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .stamina-hero-panel,
  .stamina-panel {
    border-radius: 28px;
    padding: 20px;
  }

  .stamina-anchor-nav {
    position: static;
    padding: 12px;
    border-radius: 22px;
  }

  .stamina-stat-grid,
  .stamina-shot-stack,
  .stamina-kpi-grid,
  .stamina-method-grid,
  .stamina-warning-strip,
  .stamina-filter-row,
  .stamina-form-grid,
  .stamina-berry-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .stamina-card-head,
  .stamina-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .stamina-hero-copy h1,
  .stamina-panel-head h2 {
    font-size: 2rem;
  }

  .stamina-map-zone span,
  .stamina-map-point span {
    font-size: 0.65rem;
  }

  .stamina-table {
    min-width: 640px;
  }
}
