/* Big Bass Tacklebox — tacklebox.css
   Green-metal tacklebox: trays, chrome latches, lure-red accents. */

:root {
  --tx-bg: #101a14;
  --tx-bg-2: #1a281f;
  --tx-tray: #213428;
  --tx-tray-hi: #2a4232;
  --tx-green: #2d6a4f;
  --tx-green-hi: #40916c;
  --tx-red: #e63946;
  --tx-red-deep: #a3202b;
  --tx-chrome: #ced4da;
  --tx-chrome-dim: #8f9aa3;
  --tx-text: #f1f5f2;
  --tx-muted: #a5b5aa;
  --tx-radius: 18px;
  --tx-radius-sm: 12px;
  --tx-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --tx-inset: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 -2px 0 rgba(0, 0, 0, 0.25);
  --tx-head: 'Teko', 'Noto Sans Bengali', 'Arial Narrow', sans-serif;
  --tx-body: 'Hind', 'Noto Sans Bengali', 'Segoe UI', Arial, sans-serif;
  --tx-max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background-color: #101a14; }
body.tx-body {
  min-height: 100dvh;
  overflow-x: hidden;
  font-family: var(--tx-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--tx-text);
  background:
    radial-gradient(circle at 12% -10%, rgba(64, 145, 108, 0.28), transparent 45%),
    radial-gradient(circle at 92% 8%, rgba(230, 57, 70, 0.12), transparent 40%),
    linear-gradient(180deg, var(--tx-bg-2) 0, var(--tx-bg) 900px);
  background-color: var(--tx-bg);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}
body.tx-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--tx-chrome); text-decoration: none; transition: color .18s, background-color .18s; }
a:hover { color: #fff; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--tx-red); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--tx-head); font-weight: 600; line-height: 1.05; letter-spacing: .02em; }

/* ── HEADER ───────────────────────────────────────────── */
.tx-top {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 14px;
  padding: 10px clamp(14px, 3vw, 32px);
  background: rgba(16, 26, 20, 0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.tx-brand { display: flex; align-items: center; gap: 10px; margin-right: auto; color: var(--tx-text); font-family: var(--tx-head); font-size: 1.65rem; line-height: 1; letter-spacing: .03em; }
.tx-brand img { border-radius: 10px; }
.tx-brand:hover { color: var(--tx-chrome); }
.tx-nav ul { display: flex; align-items: center; gap: 2px; }
.tx-nav a { display: block; padding: 7px 11px; border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--tx-muted); }
.tx-nav a:hover { color: var(--tx-text); background: rgba(64, 145, 108, 0.22); }
.tx-nav a[aria-current="page"] { color: var(--tx-text); background: var(--tx-green); }
.tx-menu-btn {
  display: none; align-items: center; gap: 6px;
  padding: 8px 14px; border: 0; border-radius: 999px;
  background: var(--tx-tray-hi); color: var(--tx-text); font-weight: 600;
}
.tx-lang { position: relative; }
#lang-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px; border: 0; border-radius: 999px;
  background: var(--tx-tray); color: var(--tx-text); font-size: .88rem; font-weight: 600;
  box-shadow: var(--tx-inset);
}
#lang-btn:hover { background: var(--tx-tray-hi); }
#lang-btn[aria-expanded="true"] .tx-caret { transform: rotate(180deg); }
.tx-caret { font-size: .7rem; opacity: .7; transition: transform .18s; }
.tx-lang-list {
  display: none; position: absolute; right: 0; top: calc(100% + 8px); z-index: 200;
  min-width: 176px; padding: 6px;
  background: var(--tx-bg-2); border-radius: var(--tx-radius-sm); box-shadow: var(--tx-shadow);
}
.tx-lang-list.is-open { display: block; }
.tx-lang-option { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; color: var(--tx-muted); font-size: .9rem; cursor: pointer; }
.tx-lang-option:hover, .tx-lang-option:focus-visible { background: var(--tx-tray-hi); color: var(--tx-text); }
.tx-lang-option.is-active { color: var(--tx-red); font-weight: 600; background: rgba(230, 57, 70, 0.1); }
.tx-lang-flag { font-size: 1.1rem; }

/* ── SHARED BITS ──────────────────────────────────────── */
main { display: block; }
.tx-kicker { display: inline-block; margin-bottom: 8px; padding: 3px 12px; border-radius: 999px; background: rgba(230, 57, 70, 0.14); color: #ff8f99; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.tx-lead { color: var(--tx-muted); font-size: 1.05rem; max-width: 62ch; }
.tx-pill-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 9px 18px; border-radius: 999px; background: var(--tx-green); color: var(--tx-text); font-weight: 600; font-size: .92rem; box-shadow: var(--tx-inset); }
.tx-pill-link::after { content: '→'; transition: transform .18s; }
.tx-pill-link:hover { background: var(--tx-green-hi); color: #fff; }
.tx-pill-link:hover::after { transform: translateX(3px); }
.tx-btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  width: 100%; max-width: 290px; padding: 14px 30px; border: 0; border-radius: 14px;
  font-family: var(--tx-head); font-size: 1.45rem; letter-spacing: .04em; color: #fff;
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.tx-btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.tx-btn:active { transform: translateY(3px); }
.tx-btn:disabled { opacity: .55; cursor: default; transform: translateY(3px); }
.tx-btn-red { background: linear-gradient(180deg, #f05a65, var(--tx-red) 55%, #c42d39); box-shadow: 0 5px 0 var(--tx-red-deep), 0 10px 26px rgba(230, 57, 70, 0.35); }
.tx-btn-green { background: linear-gradient(180deg, #52b788, var(--tx-green-hi) 55%, var(--tx-green)); box-shadow: 0 5px 0 #1b4332, 0 10px 26px rgba(64, 145, 108, 0.35); }
.tx-btn[hidden] { display: none; }

/* ── GAME STAGE ───────────────────────────────────────── */
.tx-stage { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 26px 12px 40px; }
.tx-stage-copy { text-align: center; max-width: 720px; }
.tx-stage-copy h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); color: var(--tx-text); }
.tx-stage-copy h1::first-letter { color: var(--tx-red); }
.tx-stage-copy .tx-lead { margin: 4px auto 0; }

.tx-hud {
  display: flex; width: 100%; max-width: 700px; gap: 6px; padding: 6px;
  background: linear-gradient(180deg, var(--tx-green-hi), var(--tx-green));
  border-radius: var(--tx-radius); box-shadow: var(--tx-shadow), var(--tx-inset);
}
.tx-hud-cell { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 8px 4px; border-radius: 12px; background: rgba(16, 26, 20, 0.55); min-width: 0; }
.tx-hud-wide { flex: 1.5; }
.tx-hud-label { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tx-chrome-dim); }
.tx-hud-val { font-family: var(--tx-head); font-size: 1.6rem; line-height: 1; color: var(--tx-text); }
.tx-hearts { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.heart-icon { width: 20px; height: 18px; }
.heart-icon.lost { opacity: .2; filter: grayscale(1); }
.tx-perk-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; min-height: 20px; }
.bonus-tag { padding: 2px 8px; border-radius: 999px; background: rgba(230, 57, 70, 0.2); color: #ffd1d5; font-size: .72rem; font-weight: 600; white-space: nowrap; }

.tx-lid { width: 100%; max-width: 700px; display: flex; justify-content: center; }
.tx-lid-btn {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 14px;
  width: 100%; max-width: 440px; padding: 12px 22px; border: 0; border-radius: 16px;
  background: linear-gradient(135deg, #3a1418, var(--tx-red-deep) 45%, var(--tx-red));
  color: #fff; text-align: left;
  box-shadow: 0 4px 0 #5c1218, 0 10px 28px rgba(230, 57, 70, 0.35);
  transition: transform .15s, opacity .4s, max-height .4s;
}
.tx-lid-btn::before {
  content: ''; position: absolute; top: 0; left: -70%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  animation: tx-shine 2.6s ease-in-out infinite;
}
@keyframes tx-shine { 0% { left: -70%; } 60%, 100% { left: 130%; } }
.tx-lid-btn:hover { transform: translateY(-2px); }
.tx-lid-btn:active { transform: translateY(2px); }
.tx-lid-btn.is-gone { opacity: 0; transform: scale(.94); pointer-events: none; }
.tx-lid-icon { font-size: 2.2rem; line-height: 1; animation: tx-wobble 3s ease-in-out infinite; }
@keyframes tx-wobble { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(18deg); } }
.tx-lid-text { display: flex; flex-direction: column; }
.tx-lid-title { font-family: var(--tx-head); font-size: 1.6rem; line-height: 1; letter-spacing: .04em; }
.tx-lid-sub { font-size: .84rem; color: #ffd9dc; }

.tx-pond {
  position: relative; width: 100%; max-width: 700px; aspect-ratio: 700 / 420;
  border-radius: 22px; overflow: hidden; cursor: pointer;
  user-select: none; -webkit-user-select: none; touch-action: manipulation;
  box-shadow: 0 0 0 6px var(--tx-tray), 0 0 0 8px rgba(206, 212, 218, 0.18), var(--tx-shadow);
  transition: transform .08s;
}
#pond-backdrop, #pond-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
#pond-backdrop { z-index: 0; }
#pond-canvas { z-index: 1; }
.tx-flash {
  position: absolute; left: 50%; top: 16%; z-index: 20; transform: translateX(-50%);
  font-family: var(--tx-head); font-size: clamp(1.3rem, 3.6vw, 1.9rem); letter-spacing: .04em; white-space: nowrap;
  color: #fff; text-shadow: 0 2px 0 var(--tx-red-deep), 0 0 18px rgba(230, 57, 70, 0.8);
  opacity: 0; pointer-events: none;
}
.tx-flash.show { animation: tx-rise 1.2s ease-out forwards; }
@keyframes tx-rise {
  0% { opacity: 1; transform: translateX(-50%) scale(.8); }
  15% { opacity: 1; transform: translateX(-50%) scale(1.1); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-60px); }
}
.tx-over {
  position: absolute; inset: 0; z-index: 30;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 20px; background: rgba(10, 18, 13, 0.88); backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.tx-over.show { opacity: 1; pointer-events: all; }
.tx-over-icon { font-size: 3.4rem; animation: tx-bob 3s ease-in-out infinite; }
@keyframes tx-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.tx-over-title { font-family: var(--tx-head); font-size: clamp(1.8rem, 5vw, 2.6rem); color: var(--tx-text); }
.tx-over-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tx-over-chips p { display: flex; flex-direction: column; align-items: center; min-width: 76px; padding: 8px 14px; border-radius: 12px; background: var(--tx-tray); box-shadow: var(--tx-inset); }
.tx-chip-l { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tx-chrome-dim); }
.tx-chip-v { font-family: var(--tx-head); font-size: 1.6rem; line-height: 1.1; }
.tx-over-record { padding: 5px 14px; border-radius: 999px; background: rgba(230, 57, 70, 0.18); color: #ffd1d5; font-weight: 600; font-size: .88rem; }

.tx-cast {
  width: 100%; max-width: 300px; padding: 14px 30px; border: 0; border-radius: 16px;
  font-family: var(--tx-head); font-size: 1.55rem; letter-spacing: .05em; color: var(--tx-bg);
  background: linear-gradient(180deg, #f8f9fa, var(--tx-chrome) 60%, #9aa3ab);
  box-shadow: 0 5px 0 #6c757d, 0 10px 26px rgba(0, 0, 0, 0.4);
  transition: transform .15s, box-shadow .15s;
}
.tx-cast:hover { transform: translateY(-2px); }
.tx-cast:active { transform: translateY(3px); box-shadow: 0 2px 0 #6c757d; }
.tx-cast:disabled { opacity: .5; cursor: default; transform: translateY(3px); }

/* ── WHEEL DIALOG ─────────────────────────────────────── */
.tx-dialog {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center; padding: 14px;
  background: rgba(6, 12, 8, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; transition: opacity .3s;
}
.tx-dialog[hidden] { display: none; }
.tx-dialog.is-open { opacity: 1; }
.tx-dialog-card {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  width: min(500px, 100%); max-height: calc(100dvh - 28px); overflow-y: auto;
  padding: 26px 26px 30px; border-radius: 26px; text-align: center;
  background:
    radial-gradient(circle at 18px 18px, var(--tx-chrome) 3px, transparent 4px),
    radial-gradient(circle at calc(100% - 18px) 18px, var(--tx-chrome) 3px, transparent 4px),
    linear-gradient(180deg, var(--tx-tray-hi), var(--tx-bg-2));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), var(--tx-inset);
}
.tx-dialog-title { font-size: clamp(1.9rem, 5vw, 2.5rem); color: var(--tx-text); }
.tx-dialog-sub { color: var(--tx-muted); font-size: .92rem; }
.tx-wheel-wrap { position: relative; width: 320px; height: 320px; flex-shrink: 0; }
#perk-wheel { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 0 0 8px var(--tx-green), 0 0 40px rgba(64, 145, 108, 0.4); transition: box-shadow .3s; }
#perk-wheel.is-turning { box-shadow: 0 0 0 8px var(--tx-red), 0 0 60px rgba(230, 57, 70, 0.5); }
.tx-wheel-pointer {
  position: absolute; top: -16px; left: 50%; z-index: 5; transform: translateX(-50%);
  width: 30px; height: 34px; background: linear-gradient(180deg, #fff, var(--tx-chrome));
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.5));
}
.tx-wheel-pin { position: absolute; top: 50%; left: 50%; z-index: 6; width: 40px; height: 40px; transform: translate(-50%, -50%); pointer-events: none; }
.tx-perk-result { width: 100%; padding: 14px 18px; border-radius: 16px; background: rgba(230, 57, 70, 0.12); }
.tx-perk-result[hidden] { display: none; }
.tx-perk-icon { display: block; font-size: 2.6rem; line-height: 1.1; }
.tx-perk-won { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tx-chrome-dim); }
.tx-perk-name { font-family: var(--tx-head); font-size: 1.8rem; line-height: 1.1; color: #ff8f99; }
.tx-perk-desc { color: var(--tx-muted); font-size: .92rem; }

/* ── HOME SECTIONS ────────────────────────────────────── */
.tx-box, .tx-section, .tx-reach, .tx-page { width: min(var(--tx-max), calc(100% - 32px)); margin-inline: auto; }
.tx-box {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(20px, 4vw, 48px);
  margin-top: 20px; padding: clamp(22px, 4vw, 40px); border-radius: 28px;
  background: linear-gradient(135deg, var(--tx-tray), var(--tx-bg-2));
  box-shadow: var(--tx-shadow), var(--tx-inset);
}
.tx-box h2, .tx-section h2, .tx-reach h2 { font-size: clamp(2rem, 4.4vw, 2.8rem); margin-bottom: 10px; }
.tx-box p:not(.tx-kicker) { color: var(--tx-muted); }
.tx-box-fig img { width: 100%; height: auto; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45)); }

.tx-section { margin-top: clamp(48px, 7vw, 80px); }
.tx-tray-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.tx-tray {
  padding: 22px 20px; border-radius: var(--tx-radius);
  background: linear-gradient(180deg, var(--tx-tray-hi), var(--tx-tray));
  box-shadow: var(--tx-inset), 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform .2s;
}
.tx-tray:hover { transform: translateY(-4px); }
.tx-tray-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 14px; background: rgba(16, 26, 20, 0.6); font-size: 1.6rem; }
.tx-tray h3 { font-size: 1.6rem; margin-bottom: 6px; }
.tx-tray p { color: var(--tx-muted); font-size: .94rem; }

.tx-shelf { padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: rgba(45, 106, 79, 0.16); }
.tx-fish-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.tx-fish { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 10px; border-radius: var(--tx-radius); background: var(--tx-bg-2); text-align: center; box-shadow: var(--tx-inset); }
.tx-fish img { width: 100px; height: 60px; }
.tx-fish h3 { font-size: 1.35rem; }
.tx-fish-pts { color: var(--tx-muted); font-size: .85rem; }
.tx-fish-pts strong { font-family: var(--tx-head); font-size: 1.7rem; color: var(--tx-chrome); margin-right: 2px; }
.tx-fish-rare { background: linear-gradient(180deg, rgba(230, 57, 70, 0.25), var(--tx-bg-2)); }
.tx-fish-rare .tx-fish-pts strong { color: #ff8f99; }
.tx-fish-note { font-size: .74rem; color: #ffb3b9; }

.tx-reach {
  display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 24px;
  margin-top: clamp(48px, 7vw, 80px); margin-bottom: 20px; padding: clamp(22px, 4vw, 36px); border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(230, 57, 70, 0.22), transparent 55%),
    var(--tx-tray);
  box-shadow: var(--tx-shadow);
}
.tx-reach p:not(.tx-kicker) { color: var(--tx-muted); }
.tx-reach-list { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.tx-reach-list a:not(.tx-pill-link) { display: inline-block; padding: 8px 14px; border-radius: 10px; background: var(--tx-bg-2); font-weight: 600; overflow-wrap: anywhere; }
.tx-reach-list a:not(.tx-pill-link):hover { background: var(--tx-green); }

/* ── INNER PAGES ──────────────────────────────────────── */
.tx-page { padding: clamp(30px, 6vw, 60px) 0 20px; }
.tx-crest { margin-bottom: 30px; padding: clamp(22px, 4vw, 38px); border-radius: 28px; background: linear-gradient(120deg, var(--tx-green) 0%, var(--tx-tray) 70%); box-shadow: var(--tx-shadow), var(--tx-inset); }
.tx-crest h1 { font-size: clamp(2.5rem, 6vw, 3.8rem); margin-bottom: 8px; }
.tx-crest .tx-lead { color: #d9e4dc; }
.tx-crest .tx-kicker { background: rgba(16, 26, 20, 0.45); color: var(--tx-chrome); }
.tx-date { display: inline-block; margin-bottom: 10px; padding: 3px 12px; border-radius: 8px; background: rgba(16, 26, 20, 0.45); font-size: .84rem; color: var(--tx-chrome); }

.tx-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tx-card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tx-card { padding: 24px; border-radius: var(--tx-radius); background: var(--tx-tray); box-shadow: var(--tx-inset); }
.tx-card h2 { font-size: 1.7rem; margin-bottom: 8px; }
.tx-card p { color: var(--tx-muted); }
.tx-card-soft { background: rgba(45, 106, 79, 0.2); }
.tx-card-warn { background: rgba(230, 57, 70, 0.12); }
.tx-card-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 12px; border-radius: 12px; background: var(--tx-bg-2); font-size: 1.4rem; }

.tx-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 28px; margin-top: 26px; padding: clamp(20px, 3vw, 32px); border-radius: 26px; background: var(--tx-bg-2); }
.tx-split figure img { border-radius: 18px; }
.tx-split h2 { font-size: 2rem; margin-bottom: 8px; }
.tx-split p { color: var(--tx-muted); }

.tx-banner { margin-bottom: 22px; padding: 16px; border-radius: 26px; background: var(--tx-tray); }
.tx-banner img { width: 100%; max-width: 640px; margin-inline: auto; }
.tx-lure-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tx-lure {
  display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start;
  padding: 20px; border-radius: var(--tx-radius);
  background: radial-gradient(circle at 100% 0%, rgba(206, 212, 218, 0.14), transparent 50%), var(--tx-tray);
  box-shadow: var(--tx-inset), 0 8px 18px rgba(0, 0, 0, 0.3);
}
.tx-lure-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: var(--tx-bg-2); font-size: 1.9rem; }
.tx-lure-perk { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #ff8f99; }
.tx-lure h2 { font-size: 1.7rem; margin: 2px 0 4px; }
.tx-lure p:not(.tx-lure-perk) { color: var(--tx-muted); font-size: .95rem; }
.tx-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }

.tx-inbox-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tx-inbox { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--tx-radius); background: var(--tx-tray); box-shadow: var(--tx-inset); }
.tx-inbox h2 { font-size: 1.6rem; }
.tx-inbox p { color: var(--tx-muted); font-size: .93rem; }
.tx-inbox a { align-self: flex-start; margin-top: 4px; padding: 6px 12px; border-radius: 10px; background: var(--tx-bg-2); font-weight: 600; overflow-wrap: anywhere; }
.tx-inbox a:hover { background: var(--tx-green); }
.tx-inbox-time { margin-top: auto; font-size: .82rem !important; }
.tx-inbox-time strong { color: var(--tx-chrome); font-weight: 600; }
.tx-inbox-web { background: rgba(45, 106, 79, 0.25); }
.tx-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.tx-ticks li, .tx-crosses li { position: relative; padding-left: 26px; margin-top: 7px; color: var(--tx-muted); }
.tx-ticks li::before { content: '✓'; position: absolute; left: 0; color: var(--tx-green-hi); font-weight: 700; }
.tx-crosses li::before { content: '✕'; position: absolute; left: 0; color: var(--tx-red); font-weight: 700; }
.tx-faq-box { margin-top: 18px; padding: clamp(20px, 3vw, 30px); border-radius: 24px; background: var(--tx-bg-2); }
.tx-faq-box h2 { font-size: 2rem; margin-bottom: 12px; }
.tx-faq { margin-top: 8px; border-radius: 14px; background: var(--tx-tray); }
.tx-faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.tx-faq summary::-webkit-details-marker { display: none; }
.tx-faq summary::after { content: '+'; color: var(--tx-red); font-weight: 700; transition: transform .2s; }
.tx-faq[open] summary::after { transform: rotate(45deg); }
.tx-faq p { padding: 0 18px 16px; color: var(--tx-muted); }

.tx-clauses { columns: 2; column-gap: 14px; }
.tx-clause { break-inside: avoid; margin-bottom: 14px; padding: 22px; border-radius: var(--tx-radius); background: var(--tx-tray); box-shadow: var(--tx-inset); }
.tx-clause:nth-child(3n+1) { background: linear-gradient(180deg, rgba(64, 145, 108, 0.28), var(--tx-tray)); }
.tx-clause h2 { font-size: 1.6rem; margin-bottom: 6px; }
.tx-clause p { color: var(--tx-muted); font-size: .95rem; }

.tx-ledgers { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.tx-ledger { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--tx-radius); background: var(--tx-tray); box-shadow: var(--tx-inset); }
.tx-ledger h2 { font-size: 1.6rem; }
.tx-ledger p { color: var(--tx-muted); font-size: .94rem; }
.tx-ledger-where { margin-top: auto; padding: 6px 12px; border-radius: 10px; background: var(--tx-bg-2); font-size: .82rem !important; }
.tx-ledger-where strong { color: var(--tx-chrome); font-weight: 600; overflow-wrap: anywhere; }

/* ── FOOTER ───────────────────────────────────────────── */
.tx-foot { margin-top: clamp(50px, 8vw, 90px); padding: 44px 18px 36px; background: linear-gradient(180deg, var(--tx-bg-2), #0b120e); }
.tx-foot-in { display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 760px; margin: 0 auto; text-align: center; }
.tx-foot-brand { display: flex; align-items: center; gap: 12px; text-align: left; }
.tx-foot-brand img { border-radius: 10px; }
.tx-foot-name { font-family: var(--tx-head); font-size: 1.7rem; line-height: 1; }
.tx-foot-tag { color: var(--tx-muted); font-size: .86rem; }
.tx-foot-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.tx-foot-nav a { display: block; padding: 6px 12px; border-radius: 999px; background: var(--tx-tray); color: var(--tx-muted); font-size: .86rem; }
.tx-foot-nav a:hover { color: var(--tx-text); background: var(--tx-green); }
.tx-foot-age { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--tx-red); color: #fff; font-family: var(--tx-head); font-size: 1.5rem; box-shadow: 0 0 0 5px rgba(230, 57, 70, 0.22); }
.tx-foot-notes { display: grid; gap: 8px; }
.tx-foot-notes p { color: var(--tx-muted); font-size: .8rem; line-height: 1.7; }
.tx-foot-owner { padding: 8px 16px; border-radius: 12px; background: var(--tx-tray); color: var(--tx-chrome); font-size: .82rem; font-weight: 600; }
.tx-foot-copy { color: var(--tx-chrome-dim); font-size: .78rem; }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1080px) {
  .tx-menu-btn { display: inline-flex; }
  .tx-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    padding: 10px clamp(14px, 3vw, 32px) 18px;
    background: rgba(16, 26, 20, 0.98); box-shadow: 0 16px 30px rgba(0, 0, 0, 0.45);
  }
  .tx-nav.is-open { display: block; }
  .tx-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .tx-nav a { padding: 11px 16px; font-size: 1rem; border-radius: 12px; background: var(--tx-tray); }
  .tx-tray-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tx-fish-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tx-inbox-grid, .tx-trio, .tx-card-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .tx-brand { font-size: 1.35rem; }
  .tx-brand img { width: 30px; height: 30px; }
  .tx-box, .tx-reach, .tx-split, .tx-duo { grid-template-columns: 1fr; }
  .tx-box-fig { order: -1; }
  .tx-lure-grid, .tx-card-grid, .tx-card-grid-3, .tx-inbox-grid, .tx-trio { grid-template-columns: 1fr; }
  .tx-clauses { columns: 1; }
  .tx-hud { flex-wrap: wrap; }
  .tx-hud-cell { flex: 1 1 28%; }
  .tx-hud-wide { flex: 1 1 42%; }
  .tx-stage { padding-top: 18px; }
}
@media (max-width: 420px) {
  .tx-menu-btn span:last-child { display: none; }
  .tx-tray-grid, .tx-fish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tx-tray-grid { grid-template-columns: 1fr; }
  .tx-wheel-wrap { width: 260px; height: 260px; }
  .tx-dialog-card { padding: 20px 16px 24px; }
  .tx-lure { grid-template-columns: 1fr; }
  .tx-lid-btn { padding: 10px 16px; }
  .tx-lid-title { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .tx-lid-btn::before, .tx-lid-icon, .tx-over-icon { animation: none; }
  .tx-tray:hover, .tx-btn:hover, .tx-cast:hover, .tx-lid-btn:hover { transform: none; }
}
