/* ===============================
   Base & Reset
================================ */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f5f3f0;
  color: #2d2d2d;
}

/* ===============================
   Layout
================================ */

.container {
  max-width: 520px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Reduce space between header and main content */
main.container {
  margin-top: 20px;
}

/* ===============================
   Header (Ad-safe)
================================ */

.site-header {
  background: transparent;
  border-bottom: none;
  margin: 0;
  padding: 8px 0;
}

/* Reserved space for future ads */
.header-ad-slot {
  min-height: 0;         /* No ad yet */
  width: 100%;
}

/* Header inner */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.header-nav a {
  font-weight: 500;
  text-decoration: none;
  color: #2d5016;
}

/* Logo */
.site-header img {
  height: 38px;
  width: auto;
  margin-right: 6px;
}

.site-nav a {
  font-weight: 500;
  text-decoration: none;
  color: #4a4a4a;
  opacity: 0.85;
}

.site-nav a:hover {
  text-decoration: underline;
  opacity: 1;
  color: #2d5016;
}

.site-nav {
  margin-left: auto;
}

.site-nav a {
  margin-left: 18px;
  font-size: 0.95rem;
  font-weight: 500;
}

/* ===============================
   Header spacing fix
================================ */

.site-header .container {
  margin: 0 auto;
  padding: 0;
}

/* ===============================
   Typography
================================ */

h1 {
  text-align: center;
  font-size: 2rem;
  color: #2d5016;
  margin-bottom: 10px;
}

h2 {
  color: #2d5016;
  margin-top: 40px;
  margin-bottom: 15px;
}

h3 {
  color: #2d5016;
  margin-top: 30px;
}

p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 10px 0;
}

.hint {
  margin-top: 8px;
  font-size: 0.85rem;
  color: #777;
  text-align: center;
  font-style: italic;
}

.intro {
  text-align: center;
  margin-bottom: 30px;
  color: #555;
}

/* ===============================
   Forms & Inputs
================================ */

label {
  display: block;
  margin-bottom: 20px;
  font-weight: 600;
  color: #2d2d2d;
}

input[type="number"],
input[type="date"],
input[type="text"],
input[type="email"] {
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
}

input:focus {
  outline: none;
  border-color: #2d5016;
}

/* ===============================
   Select (Dropdowns)
================================ */

select {
  width: 100%;
  margin-top: 6px;
  padding: 12px 40px 12px 12px;
  font-size: 1rem;
  font-family: inherit;
  color: #333;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;

  /* Remove default OS styling */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* Custom dropdown arrow */
  background-image:
    linear-gradient(45deg, transparent 50%, #555 50%),
    linear-gradient(135deg, #555 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
}

select:focus {
  outline: none;
  border-color: #2d5016;
}

/* Disabled state */
select:disabled {
  background-color: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
}

/* Ensure label spacing consistency */
label select {
  margin-top: 6px;
}

/* ===============================
   Hub & Cross-Navigation Links
================================ */

.hub-link {
  margin: 18px 0 28px;
  font-size: 0.95rem;
  color: #555;
  text-align: center;
}

.hub-link a {
  font-weight: 600;
  color: #2d5016;
  text-decoration: none;
}

.hub-link a:hover {
  text-decoration: underline;
  color: #3d6b1f;
}

/* ===============================
   Results Box
================================ */

.result {
  margin-top: 25px;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  font-size: 1.05rem;
}

.result p {
  margin: 8px 0;
}

/* ===============================
   Tool List (Homepage)
================================ */

.tools {
  margin-top: 40px;
}

.tool-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tool-list li {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.tool-list li:hover {
  border-left-color: #2d5016;
}

.tool-list a {
  display: block;
  padding: 16px;
  color: inherit;
  text-decoration: none;
}

.tool-list a:hover {
  background: #f5f9f2;
}

/* ===============================
   Footer
================================ */

.site-footer {
  background: transparent;
  border-top: none;
  margin-top: 40px;
}

.site-footer .container {
  text-align: center;
  padding: 10px 0;
}

.footer-links {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 6px;
  line-height: 1.5;
}

.footer-links a {
  color: #777;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
  color: #2d5016;
}

.footer-copy {
  font-size: 0.75rem;
  color: #999;
  margin: 0;
}

/* ===============================
   Mobile
================================ */

@media (max-width: 400px) {
  .container {
    margin: 25px auto;
    padding: 0 15px;
  }

  h1 {
    font-size: 1.6rem;
  }
}

/* ===============================
   Mobile Header
================================ */

@media (max-width: 480px) {

  .header-inner {
    padding: 6px 0;
  }

  .site-header img {
    height: 32px;
  }
}

/* =========================
   Tool list grouping labels
   ========================= */

.tool-group {
  list-style: none;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.6;
  color: #2d5016;
}

.tool-group + li {
  margin-top: 0.25rem;
}

.related-calculators {
  margin-top: 2.5rem;
  font-size: 0.9rem;
  color: #666;
}

.related-calculators a {
  font-weight: 500;
  color: #2d5016;
}

.related-calculators a:hover {
  text-decoration: underline;
}

/* ===============================
   Homepage Enhancements
   =============================== */

/* Hero section */
.hero {
  margin-bottom: 35px;
}

.hero h1 {
  margin-bottom: 12px;
}

.hero .intro {
  font-size: 1.05rem;
}

/* ===============================
   Category Hub
   =============================== */

.categories {
  margin-top: 40px;
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.category-card {
  display: block;
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.category-card:hover {
  background: #f5f9f2;
  border-left-color: #2d5016;
}

.category-card h3 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 1.1rem;
  color: #2d5016;
}

.category-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #666;
}

/* ===============================
   Popular Tools
   =============================== */

.popular-tools {
  margin-top: 45px;
}

/* Reuse existing tool-list styles */
.popular-tools .tool-list li {
  margin-bottom: 10px;
}

/* ===============================
   Authority Content
   =============================== */

.authority {
  margin-top: 45px;
  font-size: 0.95rem;
  color: #555;
}

.authority p {
  margin-bottom: 12px;
}

.authority a {
  font-weight: 500;
  color: #2d5016;
}

.authority a:hover {
  text-decoration: underline;
}

/* Archery supplies callout box */
.supplies-callout {
  background: #f5f9f2;
  padding: 20px 24px;
  border-radius: 8px;
  margin: 30px 0;
  border-left: 4px solid #2d5016;
}

.supplies-callout h2 {
  margin-top: 0;
  font-size: 1.3rem;
  color: #2d5016;
}

.supplies-callout p {
  margin-bottom: 16px;
}

.supplies-callout p:last-child {
  margin-bottom: 0;
}

.supplies-callout a {
  color: #2d5016;
  font-weight: 600;
}

/* ===============================
   FAQ Section
   =============================== */

.faq {
  margin-top: 45px;
}

.faq h3 {
  margin-top: 22px;
  margin-bottom: 6px;
  font-size: 1rem;
  color: #2d5016;
}

.faq p {
  margin-top: 0;
  font-size: 0.95rem;
  color: #555;
}

.faq a {
  color: #2d5016;
  font-weight: 500;
}

/* ===============================
   Comparison Tables (SEO)
================================ */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.95rem;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

thead {
  background: #f5f9f2;
}

th,
td {
  padding: 12px 14px;
  text-align: left;
}

th {
  font-weight: 600;
  color: #2d5016;
}

tbody tr:not(:last-child) {
  border-bottom: 1px solid #eee;
}

tbody tr strong {
  color: #111;
}

@media (max-width: 480px) {
  table {
    font-size: 0.9rem;
  }
}

/* ===============================
   Tooltip (calculator hints)
================================ */

.tooltip {
  position: relative;
  display: inline-block;
  margin-left: 4px;
  cursor: help;
  font-size: 0.9em;
  opacity: 0.7;
}

.tooltip:hover {
  opacity: 1;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: 125%;
  transform: translateX(-50%);
  min-width: 220px;
  max-width: 280px;
  padding: 8px 10px;
  background: #111;
  color: #fff;
  font-size: 0.85rem;
  line-height: 1.4;
  border-radius: 6px;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 10;
}

.tooltip::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 115%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #111 transparent transparent transparent;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.tooltip:hover::after,
.tooltip:hover::before {
  opacity: 1;
}

/* ===============================
   Primary Tool Highlight Box
   =============================== */

.primary-tool {
  margin: 1.75rem 0 2rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #2d5016;
  background-color: #f9fafb;
  border-radius: 6px;
}

.primary-tool__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
  margin-bottom: 0.35rem;
}

.primary-tool__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  line-height: 1.35;
}

.primary-tool__title a {
  color: #111827;
  text-decoration: none;
}

.primary-tool__title a:hover {
  text-decoration: underline;
  color: #2d5016;
}

.primary-tool__description {
  font-size: 0.9rem;
  color: #374151;
  margin: 0;
}

.primary-tool + section {
  margin-top: 2.5rem;
}

/* ===============================
   Calculator breakdown toggle
================================ */

.calc-toggle {
  border: none;
  cursor: pointer;
}

.calc-breakdown {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f9fafb;
}

.calc-breakdown .muted {
  color: #777;
  font-weight: 500;
  font-size: 0.95rem;
}


/* ===============================
   Call-to-Action Wrappers
=============================== */

/* Hero section CTA */
.hero-cta {
  text-align: center;
  margin-top: 20px;
}

/* Calculator pages CTA */
.calculator-cta {
  text-align: center;
  margin: 18px 0 28px;
}

/* Guide page CTA */
.guide-cta {
  text-align: center;
  margin: 18px 0 28px;
}

/* FAQ page CTA */
.faq-cta {
  text-align: center;
  margin: 18px 0 28px;
}

/* ===============================
   Buttons
================================ */

.btn-primary {
  display: inline-block;
  padding: 12px 22px;
  background-color: #2d5016;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #3d6b1f;
}

.btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background-color: #f5f9f2;
  color: #2d5016;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s;
  border: 1px solid #d4e3c7;
}

.btn-secondary:hover {
  background-color: #e8f2dc;
}

/* ===============================
   Lead Capture / Email Form
================================ */
.lead-capture {
  margin-top: 30px;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.lead-capture form {
  display: grid;
  gap: 16px;
}

.lead-capture label {
  font-weight: 600;
  font-size: 0.95rem;
}

.lead-capture input[type="text"],
.lead-capture input[type="email"] {
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
}

.lead-capture button {
  display: inline-block;
  padding: 12px 22px;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  background-color: #2d5016;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.lead-capture button:hover {
  background-color: #3d6b1f;
}


/* ===============================
   Download Report Form Spacing
================================ */
#downloadReportForm label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

#downloadReportForm input {
  display: block;
  width: 100%;
  padding: 12px;
  margin-bottom: 16px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

#downloadReportForm button {
  margin-top: 10px;
}

/* ===============================
   You are probably (Shared)
   Patch for calculator-form + text inputs + result box
================================ */

/* Make calculator forms consistent */
.calculator-form {
  display: grid;
  gap: 16px;
}

/* Override global label spacing for forms */
.calculator-form label {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Style text inputs used for various fields */
.calculator-form input[type="text"],
.calculator-form input[type="email"],
.calculator-form input[type="number"],
.calculator-form input[type="date"] {
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
}

.calculator-form input:focus,
.calculator-form select:focus {
  outline: none;
  border-color: #2d5016;
}

/* Result container */
.calculator-result {
  margin-top: 14px;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  font-size: 1.05rem;
}

.calculator-result p {
  margin: 8px 0;
}

/* Generic muted helper */
.muted {
  color: #777;
  font-weight: 500;
  font-size: 0.95rem;
}

/* Optional: tighten checkbox label spacing inside calculator */
.calculator-form label input[type="checkbox"] {
  margin: 0;
}

/* ===============================
   Archery Calculator Homepage Styles
   (adapted from pool calculator homepage)
   =============================== */

/* Quick Start Box */
.quick-start-box {
  margin: 28px 0 35px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #f5f9f2 0%, #e8f2dc 100%);
  border-left: 4px solid #2d5016;
  border-radius: 10px;
}

.quick-start-label {
  margin: 0 0 6px 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2d5016;
}

.quick-start-text {
  margin: 0;
  font-size: 0.95rem;
  color: #2d2d2d;
  line-height: 1.5;
}

.quick-start-text a {
  color: #2d5016;
  font-weight: 600;
  text-decoration: underline;
}

/* Section Headers */
.calculators-section {
  margin-top: 45px;
}

.section-heading {
  font-size: 1.5rem;
  color: #2d5016;
  margin: 0 0 6px 0;
  text-align: center;
}

.section-intro {
  text-align: center;
  color: #666;
  font-size: 0.95rem;
  margin: 0 0 22px 0;
}

/* Calculator Card Grid */
.calculator-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

@media (min-width: 640px) {
  .calculator-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Calculator Cards */
.calc-card {
  display: block;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.2s ease;
  position: relative;
  border-left: 3px solid transparent;
}

.calc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-left-color: #2d5016;
}

.calc-card__icon {
  font-size: 2rem;
  margin-bottom: 10px;
  line-height: 1;
}

.calc-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2d5016;
  margin: 0 0 8px 0;
}

.calc-card__desc {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

.calc-card__tag {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 10px;
  background: #f5f9f2;
  color: #2d5016;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Primary Card (highlighted calculator) */
.calc-card--primary {
  background: linear-gradient(135deg, #f5f9f2 0%, #e8f2dc 100%);
  border-color: #2d5016;
  border-width: 2px;
  border-left-width: 4px;
}

.calc-card--primary:hover {
  border-color: #3d6b1f;
}

/* Urgent/Important Card */
.calc-card--urgent {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-color: #f59e0b;
  border-width: 2px;
  border-left-width: 4px;
}

.calc-card--urgent:hover {
  border-color: #d97706;
}

.calc-card__tag--urgent {
  background: #fef3c7;
  color: #92400e;
}

/* Tips Section */
.tips-section {
  margin-top: 45px;
}

.tips-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 20px;
}

@media (min-width: 640px) {
  .tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tip-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  border-left: 3px solid #2d5016;
}

.tip-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #2d5016;
  margin: 0 0 8px 0;
}

.tip-card p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

/* Mobile optimizations */
@media (max-width: 480px) {
  .quick-start-box {
    padding: 14px 16px;
  }

  .section-heading {
    font-size: 1.3rem;
  }

  .calc-card {
    padding: 16px;
  }

  .calc-card__title {
    font-size: 1rem;
  }

  .calc-card__desc {
    font-size: 0.85rem;
  }
}

/* You Are Probably – clickable result card */
#resultCard {
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

#resultCard:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

#resultCard:active {
  transform: translateY(0);
  box-shadow: 0 4px 8px rgba(0,0,0,0.06);
}

/* ===============================
   YouAreProbably — Homepage v1
================================ */

/* Center the entire experience vertically */
.container--center {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Small, quiet brand mark (good for screenshots) */
.brandmark {
  text-align: center;
  font-size: 0.9rem;
  color: #6b7280;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  user-select: none;
}

/* Make the statement the star */
.result--primary {
  margin-top: 0;
  padding: 26px 22px;
}

/* Main line: big, tight, punchy */
.probably-line {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.25;
  font-weight: 800;
  color: #111827;
  text-align: center;
}

/* Evidence: secondary */
.probably-evidence {
  margin: 14px 0 0;
  text-align: center;
  font-size: 1rem;
}

/* Hint inside card */
.probably-hint {
  margin-top: 14px;
}

/* Extra hint under the card */
.microhint {
  margin-top: 14px;
}

/* Mobile: slightly smaller but still bold */
@media (max-width: 480px) {
  .probably-line {
    font-size: 1.45rem;
  }
  .result--primary {
    padding: 22px 18px;
  }
}

/* ===============================
   YouAreProbably — Mode dropdown (homepage)
   Keeps global select styling everywhere else.
================================ */

.mode-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.mode-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Override ONLY this dropdown so it doesn't become a full-width form field */
#modeSelect {
  width: auto;
  margin-top: 0;
  padding: 8px 40px 8px 12px;
  font-size: 0.95rem;
}

/* ===============================
   YouAreProbably — Mode buttons
================================ */

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

.mode-btn,
.mode-clear {
  appearance: none;
  border: 1px solid #d4e3c7;
  background: #fff;
  color: #2d2d2d;
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
}

.mode-btn:hover,
.mode-clear:hover {
  background: #f5f9f2;
  border-color: #2d5016;
}

.mode-btn:active,
.mode-clear:active {
  transform: translateY(1px);
}

.mode-btn[aria-pressed="true"] {
  background: #2d5016;
  color: #fff;
  border-color: #2d5016;
}

.mode-btn:focus-visible,
.mode-clear:focus-visible {
  outline: 3px solid rgba(45, 80, 22, 0.25);
  outline-offset: 2px;
}

/* "Surprise" should be visually quieter */
.mode-clear {
  background: transparent;
  border-color: transparent;
  color: #2d5016;
  font-weight: 600;
  padding: 8px 10px;
}

.mode-clear:hover {
  background: #f5f9f2;
  border-color: #d4e3c7;
}

/* ===============================
   YouAreProbably — Mode color tokens
================================ */

:root {
  --mode-gentle: #3d6b1f; /* existing green, softer */
  --mode-meta:   #374151; /* neutral slate */
  --mode-brutal: #7c2d12; /* dark, warm red-brown */
}

/* Card accent (subtle) */
.result--primary {
  border-left: 4px solid transparent;
  transition: border-color 0.2s ease;
}

/* Active mode accents */
body.mode-gentle .result--primary {
  border-left-color: var(--mode-gentle);
}

body.mode-meta .result--primary {
  border-left-color: var(--mode-meta);
}

body.mode-brutal .result--primary {
  border-left-color: var(--mode-brutal);
}

/* Button active states */
body.mode-gentle .mode-btn[aria-pressed="true"] {
  background: var(--mode-gentle);
  border-color: var(--mode-gentle);
}

body.mode-meta .mode-btn[aria-pressed="true"] {
  background: var(--mode-meta);
  border-color: var(--mode-meta);
}

body.mode-brutal .mode-btn[aria-pressed="true"] {
  background: var(--mode-brutal);
  border-color: var(--mode-brutal);
}

/* ===============================
   Share button
================================ */

.share-btn{
  display: inline-block;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #d4e3c7;
  background: #f5f9f2;
  color: #2d5016;
  font-weight: 700;
  cursor: pointer;
  margin-left: 10px;
}

.share-btn:hover{
  background: #e8f2dc;
}

.share-btn:active{
  transform: translateY(1px);
}

.share-btn:disabled{
  opacity: 0.6;
  cursor: not-allowed;
}

/* Share button row */
.share-row {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

/* Share button */
.share-btn {
  appearance: none;
  border: 1px solid rgba(0,0,0,0.15);
  background: #ffffff;
  color: #111827;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
}

.share-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

.share-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0,0,0,0.06);
}

.share-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

/* Optional: subtle mode accent */
body.mode-gentle .share-btn {
  border-color: rgba(45,80,22,0.35);
}

body.mode-meta .share-btn {
  border-color: rgba(31,58,138,0.35);
}

body.mode-brutal .share-btn {
  border-color: rgba(127,29,29,0.35);
}
