/* ============================================
   Boss Angler's — Water Blue Design System v2
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&family=Noto+Serif+JP:wght@400;700&family=Inter:wght@400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  /* Blues */
  --navy:        #0A2463;   /* deep navy - headers, strong text */
  --blue:        #1565C0;   /* primary blue - buttons, active */
  --blue-mid:    #1E88E5;   /* medium blue - hover states */
  --water:       #29B6F6;   /* water blue - accents */
  --sky:         #4FC3F7;   /* sky blue - highlights */
  --ice:         #B3E5FC;   /* ice blue - light accents */
  --foam:        #E1F5FE;   /* foam - section backgrounds */
  --surface:     #F5FBFF;   /* near-white surface */
  --white:       #FFFFFF;

  /* Text */
  --text:        #0A2463;
  --text-muted:  #4A7FA5;
  --text-light:  #90A4BE;

  /* Semantic */
  --amazon:      #FF9900;
  --amazon-dark: #E68A00;
  --warning-bg:  #FFF3E0;
  --warning-b:   #E65100;
  --warning-t:   #BF360C;
  --success:     #00897B;

  /* Borders & Shadows */
  --border:      #C8E6F8;
  --border-mid:  #90CAF9;
  --shadow-sm:   0 2px 8px rgba(10,36,99,0.08);
  --shadow:      0 4px 20px rgba(10,36,99,0.12);
  --shadow-lg:   0 8px 40px rgba(10,36,99,0.18);

  /* Radius */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 32px;

  /* Transition */
  --t: all 0.28s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5 {
  font-family: 'Noto Serif JP', serif;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

/* ── Layout ── */
.container  { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section--foam    { background: var(--foam); }
.section--surface { background: var(--surface); }

.section-title    { font-size: 1.75rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
.section-subtitle { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 2.5rem; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(10, 36, 99, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; max-width: 100%; margin: 0 auto; padding: 0 1rem;
  flex-wrap: nowrap; gap: 0.4rem;
  overflow-x: auto; scrollbar-width: none;
}
.header-inner::-webkit-scrollbar { display: none; }
.site-logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: 'Noto Serif JP', serif; font-size: 1rem; font-weight: 700;
  color: var(--white); letter-spacing: 0.02em;
  white-space: nowrap; flex-shrink: 0;
}
.logo-icon {
  width: 36px; height: 36px;
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 1rem; object-fit: contain; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.site-nav { display: flex; align-items: center; gap: 0.15rem; flex-wrap: nowrap; flex-shrink: 0; }
.site-nav a {
  color: rgba(255,255,255,0.65); font-size: 0.82rem; font-weight: 500;
  padding: 0.35rem 0.7rem; border-radius: 100px; transition: var(--t);
  letter-spacing: 0.02em;
  white-space: nowrap; display: inline-flex; align-items: center; gap: 0.3rem; flex-shrink: 0;
}
.site-nav a:hover, .site-nav a.active { color: var(--white); background: rgba(255,255,255,0.12); }
.nav-icon {
  width: 1.7em; height: 1.7em; object-fit: contain;
  vertical-align: middle; display: inline-block; flex-shrink: 0;
}

/* ── Top Page Hero ── */
.top-hero {
  background: linear-gradient(160deg, var(--navy) 0%, #1140A8 45%, #0D6EFD 100%);
  padding: 7rem 0 5rem; text-align: center; position: relative; overflow: hidden;
}
.top-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 25% 70%, rgba(41,182,246,0.3) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(79,195,247,0.2) 0%, transparent 50%);
}
.wave-divider { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.wave-divider svg { display: block; width: 100%; }
.top-hero-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; padding: 0 1.5rem; }
.top-hero-eyebrow {
  font-size: 0.78rem; font-weight: 700; color: var(--sky);
  letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 1.25rem;
}
.top-hero-title {
  font-size: clamp(2.2rem, 6vw, 3.8rem); font-weight: 900; color: var(--white);
  line-height: 1.15; margin-bottom: 1.25rem;
}
.top-hero-title span { color: var(--sky); }
.top-hero-desc { font-size: 1.05rem; color: rgba(255,255,255,0.65); line-height: 1.85; font-weight: 300; }

/* ── Fish Hero (individual pages) ── */
.fish-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1248B8 50%, #1565C0 100%);
  padding: 4rem 0 3rem; position: relative; overflow: hidden;
}
.fish-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(41,182,246,0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 15% 80%, rgba(79,195,247,0.15) 0%, transparent 50%);
}
.fish-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
  background: var(--white); clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; gap: 3rem; position: relative; z-index: 1;
}
.hero-content { flex: 1; }
.hero-badge {
  display: inline-block;
  background: rgba(41,182,246,0.2); color: var(--sky);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em;
  padding: 0.3rem 0.9rem; border-radius: 100px;
  border: 1px solid rgba(41,182,246,0.4); margin-bottom: 1rem;
  text-transform: uppercase;
}
.hero-title  { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; color: var(--white); margin-bottom: 0.5rem; }
.hero-subtitle { font-size: 1rem; color: rgba(255,255,255,0.6); margin-bottom: 1.75rem; font-weight: 300; }
.hero-stats  { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.stat-item   { display: flex; flex-direction: column; gap: 0.15rem; }
.stat-label  { font-size: 0.7rem; color: rgba(255,255,255,0.45); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.stat-value  { font-size: 1rem; color: var(--white); font-weight: 600; }
.stat-stars  { color: var(--sky); letter-spacing: -0.05em; font-size: 1rem; }
.hero-illustration { flex: 0 0 310px; display: flex; align-items: center; justify-content: center; }
.hero-illustration svg { filter: drop-shadow(0 4px 24px rgba(41,182,246,0.5)); }
.hero-fish-img { width: 100%; max-width: 360px; height: 240px; object-fit: cover; object-position: center; border-radius: 12px; filter: drop-shadow(0 4px 24px rgba(41,182,246,0.5)); }

/* ── Fish Cards (Top Page) ── */
.fish-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.75rem; }
.fish-group-anchor { position: relative; top: -80px; visibility: hidden; }
.fish-group-header {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 0.75rem;
  margin: 2.5rem 0 1.5rem; padding: 1rem 1.25rem;
  background: linear-gradient(90deg, rgba(13,110,253,0.08), transparent);
  border-left: 5px solid var(--water, #29B6F6); border-radius: 0 12px 12px 0;
}
.fish-group-header:first-child { margin-top: 0; }
.fish-group-title { font-size: 1.5rem; font-weight: 800; color: var(--navy, #061d35); margin: 0; display: flex; align-items: center; gap: 0.5rem; }
.fish-group-icon { font-size: 1.6rem; }
.fish-group-count { font-size: 0.9rem; color: var(--text, #555); margin: 0; font-weight: 600; }
.nav-jump { cursor: pointer; }
html { scroll-behavior: smooth; }
.fish-card {
  background: var(--white); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--t); display: flex; flex-direction: column;
  border: 1px solid var(--border);
}
.fish-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--water); }
.fish-card-visual {
  background: linear-gradient(145deg, var(--navy) 0%, #1248B8 60%, #0D6EFD 100%);
  padding: 2.5rem 2rem; display: flex; align-items: center; justify-content: center;
  min-height: 190px; position: relative; overflow: hidden;
}
.fish-card-visual::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(41,182,246,0.18), transparent 70%);
}
.fish-card-visual svg { position: relative; z-index: 1; filter: drop-shadow(0 4px 20px rgba(41,182,246,0.6)); }
.fish-card-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.fish-card-tag  { font-size: 0.7rem; font-weight: 700; color: var(--water); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.4rem; }
.fish-card-name { font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: 0.75rem; }
.fish-card-desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.25rem; flex: 1; }
.fish-card-meta { display: flex; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.fish-card-meta-item { display: flex; flex-direction: column; gap: 0.1rem; }
.fish-card-meta-label { font-size: 0.65rem; color: var(--text-light); font-weight: 600; letter-spacing: 0.05em; }
.fish-card-meta-stars { font-size: 0.85rem; color: var(--water); }
.btn-card {
  display: block; text-align: center; background: var(--blue); color: var(--white);
  padding: 0.75rem 1.5rem; border-radius: var(--r-sm); font-size: 0.9rem; font-weight: 600;
  transition: var(--t); letter-spacing: 0.03em;
}
.btn-card:hover { background: var(--blue-mid); transform: translateY(-1px); }

/* ── Content Tabs ── */
.content-tabs {
  border-bottom: 2px solid var(--border); margin-bottom: 2.5rem;
  display: flex; gap: 0; overflow-x: auto; scrollbar-width: none;
}
.content-tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  background: none; border: none; padding: 0.85rem 1.4rem; font-size: 0.88rem;
  font-weight: 500; color: var(--text-muted); cursor: pointer; white-space: nowrap;
  font-family: 'Noto Sans JP', sans-serif; position: relative; transition: var(--t);
}
.tab-btn::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--blue); transform: scaleX(0); transition: var(--t);
}
.tab-btn:hover  { color: var(--navy); }
.tab-btn.active { color: var(--blue); font-weight: 700; }
.tab-btn.active::after { transform: scaleX(1); }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ── Method & Budget Tabs ── */
.method-tabs { display: flex; gap: 0.75rem; margin-bottom: 2rem; flex-wrap: wrap; }
.method-tab-btn {
  background: var(--foam); border: 2px solid var(--border); border-radius: 100px;
  padding: 0.5rem 1.25rem; font-size: 0.875rem; font-weight: 600; color: var(--text-muted);
  cursor: pointer; transition: var(--t); font-family: 'Noto Sans JP', sans-serif;
}
.method-tab-btn:hover  { border-color: var(--water); color: var(--blue); }
.method-tab-btn.active { background: var(--blue); border-color: var(--blue); color: var(--white); }

.budget-selector { margin-bottom: 2rem; }
.budget-label { font-size: 0.78rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.75rem; }
.budget-tabs  { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.budget-btn {
  background: var(--white); border: 2px solid var(--border); border-radius: var(--r-sm);
  padding: 0.6rem 1.1rem; cursor: pointer; transition: var(--t);
  font-family: 'Noto Sans JP', sans-serif; display: flex; flex-direction: column; align-items: center; gap: 0.1rem; min-width: 90px;
}
.budget-btn .price       { font-size: 1rem; font-weight: 700; color: var(--navy); }
.budget-btn .price-label { font-size: 0.65rem; color: var(--text-muted); font-weight: 500; }
.budget-btn:hover  { border-color: var(--water); }
.budget-btn.active { border-color: var(--blue); background: rgba(21,101,192,0.06); }
.budget-btn.active .price { color: var(--blue); }

/* ── Tackle Panel & Table ── */
.tackle-panel { display: none; }
.tackle-panel.active { display: block; animation: fadeIn 0.3s ease; }
.tackle-header {
  background: linear-gradient(135deg, var(--navy), #1248B8);
  color: var(--white); border-radius: var(--r) var(--r) 0 0;
  padding: 1.25rem 1.75rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem;
}
.tackle-header-title { font-size: 1.05rem; font-weight: 700; }
.tackle-total { display: flex; align-items: center; gap: 0.6rem; }
.tackle-total-label { font-size: 0.75rem; opacity: 0.6; }
.tackle-total-price { font-size: 1.1rem; font-weight: 700; color: var(--sky); }
.tackle-narrative {
  background: rgba(21,101,192,0.06); border-left: 3px solid var(--blue);
  padding: 0.85rem 1.25rem; font-size: 0.875rem; color: var(--text);
  border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 0 0 1rem;
}
.tackle-table-wrap {
  background: var(--white); border: 1px solid var(--border); border-top: none;
  border-radius: 0 0 var(--r) var(--r); overflow-x: auto; overflow-y: visible;
}
.tackle-table { width: 100%; border-collapse: collapse; }
.tackle-table th {
  background: var(--foam); padding: 0.7rem 1rem; font-size: 0.75rem; font-weight: 700;
  color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase;
  text-align: left; border-bottom: 1px solid var(--border);
}
.tackle-table td { padding: 0.9rem 1rem; font-size: 0.875rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.tackle-table tr:last-child td { border-bottom: none; }
.tackle-table tr:hover td { background: var(--foam); }
.item-category {
  display: inline-block; background: var(--ice); color: var(--blue);
  font-size: 0.7rem; font-weight: 700; padding: 0.15rem 0.55rem;
  border-radius: 4px; white-space: nowrap;
}
.item-name { font-weight: 600; color: var(--navy); }

/* Product thumbnail in table */
.product-thumb {
  width: 56px; height: 56px; border-radius: var(--r-sm); overflow: hidden;
  cursor: zoom-in; border: 1px solid var(--border); flex-shrink: 0;
  background: var(--foam); display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; transition: var(--t);
}
.product-thumb:hover { border-color: var(--water); transform: scale(1.05); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-cell { display: flex; align-items: center; gap: 0.75rem; }

/* ── Amazon Button ── */
.btn-amazon {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--amazon); color: var(--navy); padding: 0.45rem 0.9rem;
  border-radius: var(--r-sm); font-size: 0.75rem; font-weight: 700;
  white-space: nowrap; transition: var(--t); border: none; cursor: pointer;
}
.btn-amazon:hover {
  background: var(--amazon-dark); transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(255,153,0,0.4);
}
.btn-amazon svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ── Method Cards ── */
.method-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.method-card {
  background: var(--white); border-radius: var(--r); border: 1px solid var(--border);
  padding: 1.75rem; box-shadow: var(--shadow-sm); transition: var(--t);
}
.method-card:hover { box-shadow: var(--shadow); border-color: var(--water); transform: translateY(-2px); }
.method-card-icon {
  width: 48px; height: 48px; background: var(--foam); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1rem;
}
.method-card-title { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.method-card-desc  { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1rem; }
.method-card-steps { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.method-card-steps li { font-size: 0.82rem; color: var(--text); display: flex; align-items: flex-start; gap: 0.5rem; }
.method-card-steps li::before { content: '▸'; color: var(--water); flex-shrink: 0; margin-top: 0.05em; }

/* ── Tips Box ── */
.tips-box {
  background: linear-gradient(135deg, rgba(41,182,246,0.07), rgba(21,101,192,0.04));
  border: 1px solid rgba(41,182,246,0.25); border-radius: var(--r);
  padding: 1.5rem 1.75rem; position: relative;
}
.tips-box::before {
  content: '💡'; position: absolute; top: -0.7rem; left: 1.2rem;
  background: var(--white); padding: 0 0.4rem; font-size: 1.1rem;
}
.tips-box-title { font-size: 0.78rem; font-weight: 700; color: var(--blue); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.5rem; }
.tips-box p { font-size: 0.9rem; color: var(--text); line-height: 1.75; }

/* ── Season / Time Charts ── */
.charts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.chart-card  { background: var(--white); border-radius: var(--r); border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow-sm); }
.chart-card-header { background: linear-gradient(135deg, var(--navy), #1248B8); color: var(--white); padding: 1rem 1.25rem; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.04em; }
.chart-rows {}
.chart-row { display: flex; align-items: center; padding: 0.65rem 1.25rem; border-bottom: 1px solid var(--border); gap: 1rem; }
.chart-row:last-child { border-bottom: none; }
.chart-row-label { min-width: 130px; font-size: 0.85rem; font-weight: 500; color: var(--navy); }
.chart-row-stars { color: var(--water); font-size: 1rem; letter-spacing: -0.05em; min-width: 80px; }
.chart-row-note  { font-size: 0.775rem; color: var(--text-muted); flex: 1; }

/* ── Warning Section ── */
.warning-section {
  background: var(--warning-bg); border: 1.5px solid var(--warning-b);
  border-radius: var(--r); padding: 2rem; margin: 2rem 0;
}
.warning-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.warning-icon {
  width: 40px; height: 40px; background: var(--warning-b); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--white); flex-shrink: 0;
}
.warning-title { font-size: 1.1rem; font-weight: 700; color: var(--warning-t); }
.warning-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.warning-type  { background: var(--white); border-radius: var(--r-sm); padding: 1.25rem; }
.warning-type-title { font-size: 0.85rem; font-weight: 700; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.4rem; }
.badge-good { color: var(--success); }
.badge-bad  { color: var(--warning-b); }
.warning-type ul { display: flex; flex-direction: column; gap: 0.35rem; }
.warning-type ul li { font-size: 0.825rem; color: var(--text); display: flex; align-items: flex-start; gap: 0.4rem; }
.warning-type ul li::before { content: '•'; flex-shrink: 0; color: var(--text-muted); }
.warning-table-wrap { margin-bottom: 1.5rem; overflow-x: auto; }
.warning-table { width: 100%; border-collapse: collapse; font-size: 0.825rem; }
.warning-table th { background: rgba(230,81,0,0.08); padding: 0.6rem 0.9rem; font-weight: 700; text-align: left; border-bottom: 1px solid rgba(230,81,0,0.2); color: var(--warning-t); font-size: 0.775rem; }
.warning-table td { padding: 0.6rem 0.9rem; border-bottom: 1px solid rgba(230,81,0,0.1); }
.warning-table tr:last-child td { border-bottom: none; }
.processing-steps { background: var(--white); border-radius: var(--r-sm); padding: 1.25rem; }
.processing-steps h4 { font-size: 0.85rem; font-weight: 700; color: var(--warning-t); margin-bottom: 0.85rem; }
.steps-list  { display: flex; flex-direction: column; gap: 0.6rem; }
.step-item   { display: flex; align-items: flex-start; gap: 0.75rem; }
.step-num    { width: 24px; height: 24px; background: var(--warning-b); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; flex-shrink: 0; }
.step-text   { font-size: 0.825rem; color: var(--text); flex: 1; padding-top: 0.2rem; }
.step-text strong { color: var(--warning-t); }

/* ── Recipe Cards ── */
.recipe-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 1.5rem; }
.recipe-card {
  background: var(--white); border-radius: var(--r); border: 1px solid var(--border);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--t);
}
.recipe-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

/* Recipe photo area */
.recipe-photo {
  width: 100%; height: 200px; overflow: hidden; position: relative; cursor: zoom-in;
  background: linear-gradient(135deg, var(--foam), var(--ice));
  display: flex; align-items: center; justify-content: center;
}
.recipe-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.recipe-photo:hover img { transform: scale(1.05); }
.recipe-photo .photo-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: var(--text-muted); font-size: 0.8rem; text-align: center; padding: 1rem;
}
.recipe-photo .photo-placeholder .food-icon { font-size: 3rem; }
.recipe-photo-badge {
  position: absolute; bottom: 0.6rem; left: 0.75rem;
  background: rgba(10,36,99,0.8); color: var(--white); backdrop-filter: blur(4px);
  font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 100px;
}
.recipe-card-header {
  background: linear-gradient(135deg, var(--navy), #1248B8);
  padding: 1.1rem 1.5rem; display: flex; align-items: flex-start; gap: 0.75rem;
}
.recipe-num {
  width: 28px; height: 28px; background: var(--sky); color: var(--navy);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; flex-shrink: 0;
}
.recipe-badge  {
  font-size: 0.65rem; background: rgba(41,182,246,0.2); color: var(--sky);
  border: 1px solid rgba(41,182,246,0.35); padding: 0.1rem 0.5rem;
  border-radius: 100px; font-weight: 600; margin-bottom: 0.25rem; display: inline-block;
}
.recipe-title  { font-size: 0.95rem; font-weight: 700; color: var(--white); }
.recipe-card-body { padding: 1.25rem 1.5rem; }
.recipe-tagline   { font-size: 0.825rem; color: var(--text-muted); margin-bottom: 1rem; line-height: 1.6; }
.recipe-section-title {
  font-size: 0.7rem; font-weight: 700; color: var(--blue); letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 0.4rem; margin-top: 0.9rem;
}
.recipe-ingredients { font-size: 0.825rem; color: var(--text); line-height: 1.7; }
.recipe-steps-list  { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.recipe-steps-list li { display: flex; gap: 0.6rem; font-size: 0.825rem; color: var(--text); line-height: 1.6; }
.recipe-step-num {
  background: var(--blue); color: var(--white); border-radius: 50%;
  width: 20px; height: 20px; display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700; flex-shrink: 0; margin-top: 0.1rem;
}
.recipe-tip {
  background: var(--foam); border-left: 3px solid var(--water);
  padding: 0.65rem 1rem; font-size: 0.78rem; color: var(--text-muted);
  border-radius: 0 var(--r-sm) var(--r-sm) 0; margin-top: 0.9rem; line-height: 1.6;
}

/* ── Spot Table ── */
.spot-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
.spot-table thead tr { background: linear-gradient(135deg, var(--navy), #1248B8); }
.spot-table th { padding: 0.8rem 1.1rem; font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,0.75); letter-spacing: 0.06em; text-transform: uppercase; text-align: left; }
.spot-table td { padding: 0.85rem 1.1rem; font-size: 0.875rem; border-bottom: 1px solid var(--border); }
.spot-table tbody tr:last-child td { border-bottom: none; }
.spot-table tbody tr:hover td { background: var(--foam); }
.difficulty-stars { color: var(--water); letter-spacing: -0.05em; }

/* ── Lightbox ── */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(5, 15, 40, 0.95); cursor: zoom-out;
  align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
}
.lightbox.active { display: flex; animation: fadeIn 0.2s ease; }
.lightbox-inner {
  position: relative; max-width: 90vw; max-height: 90vh;
  display: flex; flex-direction: column; align-items: center;
}
.lightbox-img {
  max-width: 90vw; max-height: 80vh; object-fit: contain;
  border-radius: var(--r); box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  cursor: default;
}
.lightbox-placeholder {
  width: min(600px, 90vw); height: min(400px, 70vh);
  background: var(--foam); border-radius: var(--r);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.75rem; cursor: default;
}
.lightbox-placeholder .icon { font-size: 4rem; }
.lightbox-placeholder .name { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.lightbox-placeholder .note { font-size: 0.85rem; color: var(--text-muted); }
.lightbox-caption {
  margin-top: 0.75rem; font-size: 0.85rem; color: rgba(255,255,255,0.65);
  text-align: center;
}
.lightbox-close {
  position: absolute; top: -2.5rem; right: 0;
  width: 36px; height: 36px; background: rgba(255,255,255,0.12);
  border: none; border-radius: 50%; color: var(--white);
  font-size: 1.1rem; cursor: pointer; transition: var(--t);
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }

/* ── Footer ── */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.65); padding: 3rem 0 1.5rem; }
.footer-inner { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 1.5rem;
}
.footer-logo    { font-family: 'Noto Serif JP', serif; font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.footer-tagline { font-size: 0.8rem; opacity: 0.5; max-width: 240px; line-height: 1.6; }
.footer-nav-title { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 0.75rem; }
.footer-nav-links { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-nav-links a { font-size: 0.85rem; color: rgba(255,255,255,0.55); transition: var(--t); }
.footer-nav-links a:hover { color: var(--sky); }
.footer-bottom  { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.footer-copy    { font-size: 0.75rem; opacity: 0.35; }
.footer-disclaimer { font-size: 0.7rem; opacity: 0.3; max-width: 400px; text-align: right; }

/* ── Misc ── */
.info-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); }
.info-table th, .info-table td { padding: 0.75rem 1.1rem; font-size: 0.875rem; border-bottom: 1px solid var(--border); text-align: left; }
.info-table th { background: var(--foam); font-weight: 700; color: var(--text-muted); font-size: 0.8rem; letter-spacing: 0.04em; width: 35%; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }

.tag { display: inline-block; background: var(--foam); color: var(--blue); font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.65rem; border-radius: 100px; letter-spacing: 0.05em; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-inner    { flex-direction: column; text-align: center; }
  .hero-illustration { flex: none; order: -1; }
  .hero-stats    { justify-content: center; }
  .charts-grid   { grid-template-columns: 1fr; }
  .warning-grid  { grid-template-columns: 1fr; }
  /* ナビ：海水魚/淡水魚/ジム/釣果はアイコン＋文字を維持 */
  .site-nav            { display: flex; gap: 0.15rem; }
  .site-nav .nav-home  { display: none; }
  .site-nav a          { font-size: 0.7rem; padding: 0.3rem 0.45rem; gap: 0.2rem; }
  .site-nav a .nav-icon { width: 2em; height: 2em; }
  .header-inner        { padding: 0 0.5rem; gap: 0.25rem; }
  .site-logo           { font-size: 0.78rem; gap: 0.3rem; letter-spacing: 0; }
  .site-logo .logo-icon { width: 26px; height: 26px; }
  /* 検索ボタンは絵文字のみ／釣果記録はテキスト表示 */
  .header-search-btn span { display: none; }
  .header-search-btn { padding: 0.32rem 0.5rem; font-size: 0.85rem; }
  .header-capture-btn { padding: 0.35rem 0.5rem; font-size: 0.7rem; margin-left: 0.15rem; }
  .section-title { font-size: 1.4rem; }
  .tab-btn       { padding: 0.7rem 1rem; font-size: 0.8rem; }
  .budget-btn    { min-width: 72px; padding: 0.5rem 0.75rem; }
  .method-cards  { grid-template-columns: 1fr; }
  .recipe-grid   { grid-template-columns: 1fr; }
  .footer-top    { flex-direction: column; }
  .footer-disclaimer { text-align: left; }
  /* 魚種グループ見出し */
  .fish-group-header { margin: 2rem 0 1.25rem; padding: 0.85rem 1rem; }
  .fish-group-title  { font-size: 1.2rem; }
  .fish-group-icon   { font-size: 1.3rem; }
  .fish-group-count  { font-size: 0.8rem; }
  /* 魚種カードを3列に */
  .fish-cards            { grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
  .fish-card-visual      { padding: 0.85rem; min-height: 120px; }
  .fish-card-body        { padding: 0.9rem 0.75rem 1rem; }
  .fish-card-tag         { font-size: 0.58rem; margin-bottom: 0.3rem; letter-spacing: 0.08em; }
  .fish-card-name        { font-size: 1rem; margin-bottom: 0.45rem; line-height: 1.3; }
  .fish-card-desc        { font-size: 0.72rem; margin-bottom: 0.7rem; line-height: 1.5; }
  .fish-card-meta        { gap: 0.5rem; margin-bottom: 0.75rem; }
  .fish-card-meta-label  { font-size: 0.55rem; }
  .fish-card-meta-stars  { font-size: 0.72rem; }
  .btn-card              { padding: 0.55rem 0.4rem; font-size: 0.72rem; }
}
@media (max-width: 480px) {
  .container  { padding: 0 1rem; }
  .section    { padding: 3rem 0; }
  /* 商品名は必ず表示。価格列を非表示にしてスペースを確保 */
  .tackle-table th:nth-child(3), .tackle-table td:nth-child(3) { display: none; }
  .tackle-table { min-width: 420px; }
  /* 極小幅：ロゴのテキストは隠してアイコンのみ（アイコン内に「BOSS ANGLER'S」あり） */
  .site-nav { gap: 0.05rem; }
  .site-nav a { font-size: 0.62rem; padding: 0.18rem 0.22rem; gap: 0.1rem; letter-spacing: 0; }
  .site-nav a .nav-icon { width: 2em; height: 2em; }
  .header-inner { padding: 0 0.2rem; gap: 0.08rem; }
  .site-logo { font-size: 0; gap: 0; margin-right: 0.1rem; }
  .site-logo .logo-icon { width: 28px; height: 28px; }
  .header-search-btn { padding: 0.22rem 0.32rem; font-size: 0.8rem; gap: 0; }
  .header-capture-btn { padding: 0.22rem 0.32rem; font-size: 0.62rem; margin-left: 0.05rem; gap: 0; }
  /* スマホ実機サイズ：2列に切替えて視認性確保 */
  .fish-cards          { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
  .fish-card-visual    { min-height: 110px; padding: 0.65rem; }
  .fish-card-body      { padding: 0.85rem 0.7rem 0.95rem; }
  .fish-card-name      { font-size: 1.02rem; }
  .fish-card-desc      { font-size: 0.74rem; }
}

/* ============================================================
   釣果記録・レシピ解放システム (unlock.js)
   ============================================================ */

/* ── ヘッダー「釣果を記録」ボタン ── */
.header-capture-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  margin-left: 0.35rem;
  background: linear-gradient(135deg, #FF6B35, #E74C3C);
  color: var(--white);
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(231, 76, 60, 0.35);
  transition: var(--t);
  white-space: nowrap; flex-shrink: 0;
}
.header-capture-btn span, .header-search-btn span { white-space: nowrap; }
.header-capture-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(231, 76, 60, 0.45); }

/* ── 魚カードのロック状態 ── */
.fish-card { position: relative; }
.fish-card--locked .fish-card-img {
  filter: grayscale(0.85) brightness(0.85);
  opacity: 0.7;
}
.fish-card--locked .fish-card-body {
  opacity: 0.7;
}
.fish-card-lock {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: rgba(20, 30, 50, 0.85);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  z-index: 3;
  backdrop-filter: blur(4px);
}
.fish-card-caught {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: linear-gradient(135deg, #00897B, #00ACC1);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 137, 123, 0.4);
}

/* ── レシピカードロック ── */
.recipe-card--locked {
  position: relative;
  overflow: hidden;
}
.recipe-card--locked .recipe-card-header,
.recipe-card--locked .recipe-card-body {
  filter: blur(7px);
  pointer-events: none;
  user-select: none;
  opacity: 0.6;
}
.recipe-lock-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 220px; /* recipe-photoの下から */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.4), rgba(255,255,255,0.85));
  backdrop-filter: blur(2px);
  z-index: 2;
}
.recipe-lock-icon {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 2px 8px rgba(10, 36, 99, 0.25));
}
.recipe-lock-text {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}
.recipe-lock-btn {
  background: linear-gradient(135deg, #FF6B35, #E74C3C);
  color: #fff;
  border: none;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(231, 76, 60, 0.35);
}
.recipe-lock-btn:hover { transform: translateY(-1px); }

/* ── レシピロック案内バナー ── */
.recipe-lock-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  margin: 1rem 0 2rem;
  background: linear-gradient(135deg, #FFF8E1, #FFE0B2);
  border: 2px solid #FFB74D;
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}
.recipe-lock-banner-icon { font-size: 2rem; flex-shrink: 0; }
.recipe-lock-banner-body { flex: 1; }
.recipe-lock-banner-body strong { display: block; color: #BF360C; font-size: 1rem; margin-bottom: 0.2rem; }
.recipe-lock-banner-body p { color: #5D4037; font-size: 0.85rem; margin: 0; }
.recipe-lock-banner-btn {
  background: linear-gradient(135deg, #FF6B35, #E74C3C);
  color: #fff;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(231, 76, 60, 0.35);
}
@media (max-width: 600px) {
  .recipe-lock-banner { flex-direction: column; text-align: center; }
  .recipe-lock-banner-btn { width: 100%; }
}

/* ── 釣果記録タブ ── */
.record-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.record-stat {
  background: linear-gradient(135deg, var(--foam), var(--white));
  border: 2px solid var(--border);
  border-radius: var(--r);
  padding: 1.2rem 1rem;
  text-align: center;
}
.record-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}
.record-stat-value {
  font-size: 2rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
}
.record-stat-value--sm { font-size: 1.05rem; }
.record-stat-unit { font-size: 0.95rem; font-weight: 600; color: var(--text-muted); }
.record-stat-empty { color: var(--text-light); font-size: 1rem; font-weight: 500; }
.record-stat-sub { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.3rem; }
@media (max-width: 700px) {
  .record-summary { grid-template-columns: 1fr; gap: 0.7rem; }
  .record-stat { padding: 0.9rem 0.8rem; }
  .record-stat-value { font-size: 1.6rem; }
}

.record-actions { margin-bottom: 1.5rem; text-align: center; }
.record-add-btn {
  background: linear-gradient(135deg, #FF6B35, #E74C3C);
  color: #fff;
  border: none;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(231, 76, 60, 0.35);
  transition: var(--t);
}
.record-add-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(231, 76, 60, 0.45); }

.record-list-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 1.5rem 0 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}
.record-list { display: flex; flex-direction: column; gap: 1rem; }
.record-empty {
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px dashed var(--border-mid);
  border-radius: var(--r);
}
.record-card {
  display: flex;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 0.8rem;
  box-shadow: var(--shadow-sm);
}
.record-photo {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  cursor: pointer;
  border: 1px solid var(--border);
}
.record-photo--none {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  color: var(--text-light);
  font-size: 0.7rem;
  cursor: default;
}
.record-photo--none span { margin-top: 0.3rem; }
.record-card-body { flex: 1; min-width: 0; }
.record-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.record-date { font-weight: 700; color: var(--navy); font-size: 0.92rem; }
.record-delete {
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: var(--text-light);
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
}
.record-delete:hover { background: #ffebee; color: #c62828; }
.record-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.4rem; }
.record-tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  background: var(--foam);
  color: var(--text);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.record-tag--size { background: #E0F2F1; color: #00695C; }
.record-tag--nosize { background: #F5F5F5; color: #757575; }
.record-comment {
  margin: 0.3rem 0 0;
  color: var(--text);
  font-size: 0.85rem;
  line-height: 1.5;
}
@media (max-width: 500px) {
  .record-photo { width: 88px; height: 88px; }
}

/* ── 撮影モーダル ── */
.capture-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 36, 99, 0.7);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
}
.capture-modal.active { display: flex; }
.capture-modal-inner {
  position: relative;
  background: var(--white);
  border-radius: var(--r-lg);
  max-width: 520px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.capture-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 1rem;
  cursor: pointer;
  z-index: 2;
}
.capture-content { padding: 2rem 1.5rem 1.5rem; }
.capture-content--center { text-align: center; }
.capture-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 0.8rem;
  padding-right: 2rem;
}
.capture-lead { color: var(--text); font-size: 0.9rem; margin-bottom: 1rem; line-height: 1.6; }
.capture-note { color: var(--text-muted); font-size: 0.78rem; margin: 0.7rem 0; line-height: 1.5; }
.capture-steps { padding-left: 1.4rem; margin: 0.8rem 0 1rem; color: var(--text); font-size: 0.86rem; line-height: 1.8; }
.capture-steps a { color: var(--blue); text-decoration: underline; }
.capture-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--border-mid);
  border-radius: var(--r-sm);
  font-size: 0.95rem;
  font-family: monospace;
  margin-bottom: 0.5rem;
}
.capture-input:focus { outline: none; border-color: var(--blue); }

/* ── ライブカメラ ── */
.capture-camera-wrap {
  position: relative;
  background: #000;
  border-radius: var(--r);
  overflow: hidden;
  margin: 1rem 0;
  aspect-ratio: 4 / 3;
  max-height: 55vh;
}
.capture-camera-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.capture-camera-error {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.88rem;
  line-height: 1.6;
}
.capture-preview-img {
  max-height: 50vh !important;
  width: 100%;
  object-fit: contain;
}

.capture-tip-box {
  background: #FFF8E1;
  border-left: 4px solid #FFB300;
  padding: 0.8rem 1rem;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin-bottom: 1rem;
  font-size: 0.82rem;
}
.capture-tip-box strong { color: #BF360C; display: block; margin-bottom: 0.3rem; }
.capture-tip-box p { margin: 0; color: var(--text); line-height: 1.6; }

.capture-primary {
  display: block;
  width: 100%;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, #FF6B35, #E74C3C);
  color: #fff;
  border: none;
  border-radius: var(--r-sm);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 0.5rem;
  box-shadow: 0 4px 14px rgba(231, 76, 60, 0.35);
}
.capture-primary:hover { transform: translateY(-1px); }
.capture-link {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 0.6rem;
  cursor: pointer;
  margin-top: 0.3rem;
  text-decoration: underline;
}

.capture-spinner {
  width: 56px;
  height: 56px;
  border: 5px solid var(--border);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: capture-spin 0.9s linear infinite;
  margin: 1.5rem auto 1rem;
}
@keyframes capture-spin { to { transform: rotate(360deg); } }

.capture-thumb {
  display: block;
  max-width: 100%;
  max-height: 240px;
  width: auto;
  margin: 0 auto 1rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
}
.capture-result-box {
  background: var(--foam);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 1rem;
  margin-bottom: 1rem;
}
.capture-result-name { font-size: 1.15rem; font-weight: 800; color: var(--navy); margin-bottom: 0.5rem; }
.capture-result-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; font-size: 0.82rem; color: var(--text-muted); }
.capture-result-notes { margin: 0.6rem 0 0; font-size: 0.78rem; color: var(--text-muted); font-style: italic; }
.capture-tag {
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}
.capture-tag--good { background: #E0F2F1; color: #00695C; }
.capture-tag--warn { background: #FFF3E0; color: #BF360C; }

.capture-form { margin-bottom: 1rem; }
.capture-form label {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}
.capture-form input,
.capture-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.55rem 0.7rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-family: inherit;
}
.capture-form input:focus,
.capture-form textarea:focus { outline: none; border-color: var(--blue); }
.capture-form textarea { resize: vertical; min-height: 60px; }

.capture-success { font-size: 4rem; margin: 1rem 0 0.5rem; }

/* ============================================================
   モバイル下部タブバー（スマホのみ表示）
   ============================================================ */
.tab-bar {
  display: none;
}
@media (max-width: 540px) {
  .tab-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -4px 20px rgba(10, 36, 99, 0.08);
    z-index: 9000;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 8px 4px 9px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    position: relative;
    transition: color 0.15s;
  }
  .tab-item-icon {
    font-size: 20px;
    line-height: 1;
    transition: transform 0.2s;
  }
  .tab-item-label {
    font-size: 9.5px;
    margin-top: 1px;
  }
  .tab-item.is-active {
    color: var(--blue);
  }
  .tab-item.is-active .tab-item-icon { transform: scale(1.12); }
  .tab-item.is-active::before {
    content: '';
    position: absolute;
    top: 0; left: 25%; right: 25%;
    height: 2px;
    background: linear-gradient(90deg, var(--blue) 0%, var(--water) 100%);
    border-radius: 0 0 2px 2px;
  }
  .tab-item:active .tab-item-icon { transform: scale(0.92); }

  /* タブバー分のpadding確保 (body直下のmain領域用) */
  body { padding-bottom: 60px; }
  /* gym-shell は自前で 100dvh を使うので別途調整 */
  .gym-shell { padding-bottom: 60px; }
}
/* 安全側: タブバーは常に最前面のmodalより下に */
.lightbox.active,
.capture-modal.active,
.paywall-modal.active { z-index: 9999; }

/* タブのロックバッジ */
@media (max-width: 540px) {
  .tab-item-icon { position: relative; }
  .tab-item-lock {
    position: absolute;
    top: -6px; right: -10px;
    font-size: 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 16px; height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 1px 3px rgba(10, 36, 99, 0.15);
  }
  .tab-item.is-locked { color: var(--text-light); }
}

/* ============================================================
   Paywall モーダル
   ============================================================ */
.paywall-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 36, 99, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
}
.paywall-modal.active { display: flex; }
.paywall-inner {
  position: relative;
  background: linear-gradient(180deg, #FFFBEC 0%, #FFFFFF 35%);
  border-radius: 22px;
  max-width: 460px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 2.2rem 1.6rem 1.6rem;
  text-align: center;
  border: 1.5px solid #D4A017;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.6) inset,
    0 20px 60px rgba(10, 36, 99, 0.4),
    0 0 0 6px rgba(212, 160, 23, 0.15);
}
.paywall-close {
  position: absolute;
  top: 0.8rem; right: 0.8rem;
  width: 32px; height: 32px;
  border: none;
  background: rgba(10, 36, 99, 0.06);
  border-radius: 50%;
  font-size: 0.95rem;
  cursor: pointer;
  color: var(--text-muted);
}
.paywall-crown {
  font-size: 3.2rem;
  margin: 0 auto 0.5rem;
  filter: drop-shadow(0 6px 16px rgba(212, 160, 23, 0.5));
  line-height: 1;
}
.paywall-eyebrow {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: #8B6914;
  font-weight: 800;
  margin-bottom: 0.4rem;
}
.paywall-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.paywall-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.3rem;
}
.paywall-benefits {
  list-style: none;
  text-align: left;
  margin: 0 0 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.paywall-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 251, 236, 0.7);
  border: 1px solid rgba(212, 160, 23, 0.25);
  border-radius: 10px;
}
.paywall-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: linear-gradient(135deg, #E8B934, #8B6914);
  color: #fff;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
  box-shadow: 0 2px 5px rgba(212, 160, 23, 0.4);
}
.paywall-benefits strong {
  display: block;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
}
.paywall-benefits small {
  display: block;
  color: var(--text-muted);
  font-size: 0.74rem;
  margin-top: 1px;
  font-weight: 500;
}
.paywall-price-block {
  background: linear-gradient(135deg, #FFFBEC, #FFF3D1);
  border: 1.5px solid #D4A017;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}
.paywall-price {
  font-size: 0.85rem;
  color: #8B6914;
  font-weight: 700;
}
.paywall-price strong {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 2rem;
  color: #8B6914;
  letter-spacing: 0.03em;
  margin-right: 0.2rem;
}
.paywall-price-note {
  font-size: 0.7rem;
  color: #A87708;
  margin-top: 0.15rem;
}
.paywall-cta {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #8B6914 0%, #D4A017 50%, #E8B934 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.95rem 1rem;
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.3) inset,
    0 6px 18px rgba(212, 160, 23, 0.45);
  margin-bottom: 0.5rem;
}
.paywall-cta:hover { filter: brightness(1.06); }
.paywall-cta--demo {
  background: rgba(10, 36, 99, 0.06);
  color: var(--navy);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  box-shadow: 0 0 0 1px var(--border) inset;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}
.paywall-cta--ghost {
  background: #fff;
  color: var(--danger, #C62828);
  box-shadow: 0 0 0 1px var(--border) inset;
}
.paywall-terms {
  font-size: 0.7rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-top: 0.8rem;
}
.paywall-terms a { color: var(--blue); text-decoration: underline; }
.paywall-status {
  background: var(--foam);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.8rem;
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* PROバッジ（ヘッダー用） */
.pro-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px 1px;
  background: linear-gradient(135deg, #E8B934, #8B6914);
  color: #fff;
  border-radius: 4px;
  font-family: 'Orbitron', sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  box-shadow: 0 2px 6px rgba(212, 160, 23, 0.4);
  margin-left: 0.4rem;
  vertical-align: middle;
}
/* スマホはヘッダーが狭いのでPROバッジをBoss Angler'sアイコンの下に逃がす */
@media (max-width: 768px) {
  .site-header { position: sticky; } /* containing block 維持 */
  .site-logo { position: relative; }
  .site-logo .pro-badge {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    z-index: 201;
  }
}

/* プレミアム会員にはサブスク誘導の小バナーを非表示 */
body.is-premium .premium-promo { display: none; }

/* ジム/釣果インラインpaywall */
.premium-gate {
  max-width: 560px;
  margin: 2rem auto;
  padding: 2.2rem 1.6rem;
  background: linear-gradient(180deg, #FFFBEC 0%, #FFFFFF 100%);
  border: 1.5px solid #D4A017;
  border-radius: 22px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(212, 160, 23, 0.2);
}
.premium-gate-crown {
  font-size: 3rem;
  filter: drop-shadow(0 6px 16px rgba(212, 160, 23, 0.5));
  margin-bottom: 0.5rem;
}
.premium-gate-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.premium-gate-sub {
  color: var(--text-muted);
  margin-bottom: 1.4rem;
  font-size: 0.9rem;
}
.premium-gate-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #8B6914 0%, #D4A017 50%, #E8B934 100%);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(212, 160, 23, 0.45);
}


/* ============================================================
   認証 UI (auth-ui.js)
   ============================================================ */
.header-auth-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.16);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.32);
  border-radius: 999px;
  padding: 0.32rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap; flex-shrink: 0;
  margin-left: 0.3rem;
  min-height: 34px;
}
.header-auth-btn:hover { background: rgba(255,255,255,0.28); }
.auth-btn-label { letter-spacing: 0.04em; }
.auth-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  object-fit: cover; display: inline-flex;
  align-items: center; justify-content: center;
}
.auth-avatar--initial {
  background: linear-gradient(135deg, #29B6F6, #1565C0);
  color: #fff; font-weight: 800; font-size: 0.9rem;
  font-family: 'Orbitron', sans-serif;
}
@media (max-width: 768px) {
  .header-auth-btn { padding: 0.25rem 0.55rem; font-size: 0.7rem; min-height: 30px; margin-left: 0.15rem; }
  .auth-avatar { width: 24px; height: 24px; }
  .auth-avatar--initial { font-size: 0.78rem; }
}
@media (max-width: 480px) {
  .header-auth-btn { padding: 0.22rem 0.4rem; font-size: 0.62rem; min-height: 28px; margin-left: 0.08rem; }
}

/* ── モーダル ── */
.auth-modal {
  position: fixed; inset: 0; z-index: 5000;
  display: none; align-items: center; justify-content: center;
}
.auth-modal.is-open { display: flex; }
.auth-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 20, 50, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.auth-modal-panel {
  position: relative;
  background: #fff;
  border-radius: 18px;
  width: min(420px, 92vw);
  padding: 1.8rem 1.6rem 1.4rem;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  animation: authModalIn 0.18s ease-out;
}
@keyframes authModalIn { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
.auth-modal-close {
  position: absolute; top: 8px; right: 12px;
  background: none; border: none; font-size: 1.6rem;
  color: var(--text-muted, #777); cursor: pointer; line-height: 1;
  padding: 4px 8px;
}
.auth-modal-close:hover { color: var(--navy, #061d35); }
.auth-modal-tabs {
  display: flex; gap: 0; margin-bottom: 1.2rem;
  border-bottom: 2px solid var(--border, #e4ecf5);
}
.auth-tab {
  flex: 1; background: none; border: none;
  padding: 0.7rem 0; font-size: 0.95rem; font-weight: 700;
  color: var(--text-muted, #777); cursor: pointer;
  position: relative; transition: color 0.15s;
  font-family: inherit;
}
.auth-tab.is-active { color: var(--blue, #1565C0); }
.auth-tab.is-active::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--blue, #1565C0);
}
.auth-google-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  width: 100%; padding: 0.7rem; margin-bottom: 1rem;
  background: #fff; color: #1f1f1f;
  border: 1.5px solid #dadce0; border-radius: 8px;
  font-size: 0.92rem; font-weight: 600; cursor: pointer;
  font-family: inherit; transition: background 0.15s;
}
.auth-google-btn:hover { background: #f8f9fa; }
.auth-divider {
  text-align: center; margin: 0.8rem 0;
  position: relative; color: var(--text-muted, #999);
  font-size: 0.78rem;
}
.auth-divider::before, .auth-divider::after {
  content: ''; position: absolute; top: 50%;
  width: calc(50% - 24px); height: 1px;
  background: var(--border, #e4ecf5);
}
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }
.auth-form { display: flex; flex-direction: column; gap: 0.85rem; }
.auth-field { display: flex; flex-direction: column; gap: 0.3rem; }
.auth-field-label { font-size: 0.78rem; font-weight: 600; color: var(--text, #333); }
.auth-field input {
  padding: 0.7rem 0.85rem; border-radius: 8px;
  border: 1.5px solid var(--border, #d9e2ec);
  font-size: 0.95rem; font-family: inherit;
  transition: border-color 0.15s;
}
.auth-field input:focus {
  outline: none; border-color: var(--blue, #1565C0);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.12);
}
.auth-submit {
  margin-top: 0.4rem; padding: 0.8rem;
  background: linear-gradient(135deg, #1565C0, #0D6EFD);
  color: #fff; border: none; border-radius: 8px;
  font-size: 0.95rem; font-weight: 700; cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 14px rgba(13, 110, 253, 0.32);
  transition: transform 0.15s;
}
.auth-submit:hover:not(:disabled) { transform: translateY(-1px); }
.auth-submit:disabled { opacity: 0.6; cursor: wait; }
.auth-error {
  color: #c0392b; font-size: 0.82rem;
  background: rgba(192, 57, 43, 0.08);
  padding: 0.5rem 0.7rem; border-radius: 6px; margin: 0;
}
.auth-note {
  margin: 0.8rem 0 0; font-size: 0.82rem; color: var(--text-muted, #555);
  text-align: center;
}

/* ── アカウントメニュー ── */
.auth-account-menu {
  position: fixed; z-index: 4500;
  background: #fff;
  border: 1px solid var(--border, #e4ecf5);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  min-width: 200px; padding: 0.4rem;
}
.auth-account-email {
  padding: 0.5rem 0.7rem;
  font-size: 0.78rem; color: var(--text-muted, #666);
  border-bottom: 1px solid var(--border, #eef2f7);
  margin-bottom: 0.3rem;
  word-break: break-all;
}
.auth-account-item {
  width: 100%; text-align: left;
  background: none; border: none;
  padding: 0.55rem 0.7rem;
  font-size: 0.88rem; color: var(--text, #333);
  cursor: pointer; border-radius: 6px;
  font-family: inherit;
}
.auth-account-item:hover { background: var(--foam, #f3f8fc); color: var(--blue, #1565C0); }

/* 認証モーダル: Google主役レイアウト */
.auth-hero {
  text-align: center;
  margin-bottom: 1.3rem;
  padding-top: 0.4rem;
}
.auth-hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy, #061d35);
  margin-bottom: 0.3rem;
  letter-spacing: 0.03em;
}
.auth-hero-sub {
  font-size: 0.8rem;
  color: var(--text-muted, #777);
  margin: 0;
}
.auth-google-btn--primary {
  padding: 0.95rem;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  border-radius: 10px;
  border-width: 1.5px;
  box-shadow: 0 2px 6px rgba(60, 64, 67, 0.12);
  transition: box-shadow 0.15s, transform 0.15s;
}
.auth-google-btn--primary:hover {
  box-shadow: 0 4px 12px rgba(60, 64, 67, 0.2);
  transform: translateY(-1px);
}
.auth-toggle-email {
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 0.6rem 0;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  color: var(--text-muted, #666);
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-toggle-email:hover { color: var(--blue, #1565C0); }
.auth-toggle-email.is-open { color: var(--blue, #1565C0); text-decoration: none; }
.auth-email-section {
  margin-top: 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border, #e4ecf5);
  animation: authEmailIn 0.18s ease-out;
}
@keyframes authEmailIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ============================================================
   PWA UI (sw-register.js)
   ============================================================ */
.pwa-update-banner {
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%);
  z-index: 6000;
  background: rgba(10, 36, 99, 0.96);
  color: #fff;
  padding: 0.6rem 0.9rem 0.6rem 1.1rem;
  border-radius: 999px;
  font-size: 0.82rem; font-weight: 600;
  display: flex; align-items: center; gap: 0.7rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  animation: pwaIn 0.3s ease-out;
}
.pwa-update-banner button {
  background: var(--sky, #29B6F6); color: #fff;
  border: none; border-radius: 999px;
  padding: 0.32rem 0.85rem; font-weight: 700;
  cursor: pointer; font-family: inherit; font-size: 0.78rem;
}
.pwa-install-chip {
  position: fixed; right: 12px; bottom: 76px; z-index: 5500;
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, #1565C0, #0D6EFD);
  color: #fff; border: none; border-radius: 999px;
  padding: 0.55rem 0.85rem 0.55rem 1rem;
  font-size: 0.8rem; font-weight: 700;
  font-family: inherit; cursor: pointer;
  box-shadow: 0 6px 18px rgba(13, 110, 253, 0.45);
  animation: pwaIn 0.3s ease-out;
}
.pwa-install-chip .pwa-install-x {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255,255,255,0.2); font-size: 0.85rem;
}
@keyframes pwaIn { from { opacity: 0; transform: translate(var(--tx, -50%), 8px); } to { opacity: 1; transform: translate(var(--tx, -50%), 0); } }
.pwa-install-chip { --tx: 0; }
@media (max-width: 540px) {
  /* 下部タブバーと重ならないように位置調整 */
  .pwa-install-chip { bottom: calc(76px + env(safe-area-inset-bottom, 0)); }
  .pwa-update-banner { bottom: calc(76px + env(safe-area-inset-bottom, 0) + 14px); }
}
