:root {
  --ink: #073f45;
  --ink-dark: #052e33;
  --cream: #fffaf0;
  --paper: #ffffff;
  --sand: #f4dfb7;
  --coral: #ff705f;
  --coral-dark: #e75243;
  --yellow: #ffd84a;
  --mint: #a8e5d0;
  --blue: #9edcf2;
  --lilac: #c7b9ef;
  --orange: #ffad66;
  --green: #78c7a9;
  --line: rgba(7, 63, 69, 0.16);
  --muted: #557176;
  --shadow: 0 18px 50px rgba(5, 46, 51, 0.12);
  --radius: 22px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--cream); color: var(--ink); }
button, input, select { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.app-shell { min-height: 100vh; }
.topbar { height: 88px; padding: 0 clamp(24px, 5vw, 78px); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); background: rgba(255, 250, 240, 0.96); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); }
.brand { border: 0; background: none; display: flex; align-items: center; gap: 12px; padding: 0; cursor: pointer; text-align: left; }
.brand > span:last-child { display: grid; line-height: 1; gap: 6px; }
.brand strong { font-size: 14px; letter-spacing: .05em; }
.brand small { font-size: 9px; letter-spacing: .22em; font-weight: 900; color: var(--coral-dark); }
.brand-ball { width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); position: relative; box-shadow: 4px 4px 0 var(--coral); }
.brand-ball::before, .brand-ball::after { content: ""; position: absolute; inset: 5px 13px; border-left: 2px solid var(--ink); border-radius: 50%; transform: rotate(22deg); }
.brand-ball::after { transform: rotate(-58deg); }

.topnav { display: flex; align-items: center; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: white; }
.topnav button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; font-size: 11px; font-weight: 900; letter-spacing: .05em; cursor: pointer; }
.topnav button.is-active { background: var(--ink); color: white; }
.event-chip { border-left: 1px solid var(--line); padding-left: 20px; display: grid; gap: 3px; min-width: 160px; }
.event-chip span { font-size: 9px; font-weight: 900; letter-spacing: .14em; color: var(--coral-dark); }
.event-chip strong { font-size: 13px; }

#view-root { min-height: calc(100vh - 88px); }
.product-hero { min-height: 650px; padding: 74px clamp(24px, 6vw, 92px) 68px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr); gap: clamp(48px, 7vw, 100px); align-items: center; overflow: hidden; position: relative; }
.product-hero::before { content: ""; position: absolute; inset: auto auto -240px -180px; width: 480px; height: 480px; border-radius: 50%; border: 80px solid rgba(255, 216, 74, .15); pointer-events: none; }
.hero-copy, .hero-visual { position: relative; z-index: 1; }
.product-kicker { display: inline-flex; align-items: center; flex-wrap: wrap; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); margin-bottom: 28px; }
.product-kicker strong, .product-kicker span { padding: 9px 13px; font-size: 10px; letter-spacing: .11em; font-weight: 950; }
.product-kicker strong { background: var(--yellow); border-right: 2px solid var(--ink); }
.product-kicker span { background: white; }
.hero-copy h1, .inside-heading h1 { margin: 0; max-width: 780px; font-size: clamp(43px, 5.2vw, 76px); line-height: .98; letter-spacing: -.055em; font-weight: 950; }
.hero-copy h1 em, .inside-heading h1 em { color: var(--coral-dark); font-style: normal; position: relative; }
.hero-copy h1 em::after { content: ""; position: absolute; left: 2%; right: 0; bottom: -5px; height: 8px; background: var(--yellow); border-radius: 99px; z-index: -1; transform: rotate(-1deg); }
.hero-copy > p { max-width: 680px; margin: 27px 0 30px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.button { min-height: 52px; border: 2px solid var(--ink); border-radius: 12px; padding: 0 22px; font-size: 12px; font-weight: 950; letter-spacing: .045em; cursor: pointer; box-shadow: 5px 5px 0 var(--ink); transition: transform .16s ease, box-shadow .16s ease; }
.button:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.button-coral { background: var(--coral); }
.button-ink { color: white; background: var(--ink); box-shadow: 5px 5px 0 var(--coral); }
.button-full { width: 100%; }
.text-button, .restore-link, .back-to-tools { border: 0; background: transparent; font-size: 11px; font-weight: 950; letter-spacing: .06em; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.text-button span { font-size: 18px; margin-left: 6px; }
.journey { margin-top: 42px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.journey span { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 950; letter-spacing: .06em; }
.journey b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: white; font-size: 9px; }
.journey i { font-style: normal; color: var(--coral-dark); font-size: 22px; font-weight: 900; }

.hero-visual { min-height: 510px; display: grid; place-items: center; }
.sun-disc { width: 410px; height: 410px; border-radius: 50%; background: var(--yellow); position: absolute; top: 28px; right: -42px; box-shadow: inset 0 0 0 2px rgba(7,63,69,.08); }
.court-board { width: min(100%, 430px); aspect-ratio: .86; background: var(--coral); border: 4px solid var(--ink); border-radius: 26px; box-shadow: 17px 17px 0 var(--ink); transform: rotate(2.5deg); position: relative; overflow: hidden; }
.court-board::before { content: ""; position: absolute; inset: 42px; border: 3px solid rgba(255,255,255,.9); }
.court-net { position: absolute; left: 42px; right: 42px; top: 50%; border-top: 4px dashed white; transform: translateY(-2px); }
.court-line { position: absolute; top: 42px; bottom: 42px; border-left: 3px solid rgba(255,255,255,.9); }
.line-a { left: 34%; }.line-b { right: 34%; }
.court-label { position: absolute; top: 26px; left: 28px; padding: 13px 16px; background: white; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); transform: rotate(-5deg); font-size: 11px; line-height: 1.3; font-weight: 800; z-index: 2; }
.court-label strong { font-size: 15px; }
.format-badge { position: absolute; width: 86px; height: 86px; display: grid; place-items: center; align-content: center; border-radius: 50%; border: 3px solid var(--ink); background: var(--paper); box-shadow: 5px 5px 0 var(--ink); font-size: 9px; letter-spacing: .08em; font-weight: 950; z-index: 3; }
.format-badge strong { display: block; font-size: 29px; line-height: .9; }
.badge-8 { right: 26px; top: 110px; background: var(--mint); transform: rotate(8deg); }
.badge-12 { left: 30px; bottom: 42px; background: var(--yellow); transform: rotate(-7deg); }
.badge-16 { right: 28px; bottom: 48px; background: var(--blue); transform: rotate(5deg); }
.ball-dot { position: absolute; width: 28px; height: 28px; background: var(--yellow); border: 3px solid var(--ink); border-radius: 50%; left: 48%; top: 56%; }
.ready-stamp { position: absolute; right: -18px; bottom: 2px; width: 138px; height: 138px; border-radius: 50%; background: var(--mint); border: 3px solid var(--ink); box-shadow: 7px 7px 0 var(--ink); display: grid; place-content: center; text-align: center; transform: rotate(-8deg); z-index: 4; }
.ready-stamp strong { font-size: 22px; }.ready-stamp span { font-size: 9px; font-weight: 900; line-height: 1.3; }

.tools-section { padding: 84px clamp(24px, 6vw, 92px) 92px; background: var(--ink); color: white; position: relative; overflow: hidden; }
.tools-section::after { content: "08"; position: absolute; right: -30px; top: -90px; font-size: 310px; line-height: 1; font-weight: 950; color: rgba(255,255,255,.035); pointer-events: none; }
.section-intro { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: end; margin-bottom: 42px; }
.section-label { display: inline-block; margin-bottom: 12px; color: var(--coral); font-size: 10px; letter-spacing: .16em; font-weight: 950; }
.section-label.light { color: var(--yellow); }
.section-intro h2 { margin: 0; max-width: 700px; font-size: clamp(34px, 4vw, 56px); line-height: 1.02; letter-spacing: -.04em; }
.section-intro p { margin: 0; color: #bed0d1; font-size: 16px; line-height: 1.6; }
.tools-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tool-card { min-height: 315px; border: 2px solid white; border-radius: 19px; padding: 22px; color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; box-shadow: 6px 6px 0 rgba(255,255,255,.95); transition: transform .16s ease; }
.tool-card:hover { transform: translateY(-4px); }
.tone-mint { background: var(--mint); }.tone-yellow { background: var(--yellow); }.tone-blue { background: var(--blue); }.tone-coral { background: #ff9184; }
.tone-lilac { background: var(--lilac); }.tone-sand { background: var(--sand); }.tone-green { background: var(--green); }.tone-orange { background: var(--orange); }
.tool-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tool-number { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: white; border: 2px solid var(--ink); font-size: 13px; font-weight: 950; }
.tool-stage { padding: 6px 9px; border-radius: 99px; border: 1px solid var(--ink); font-size: 8px; letter-spacing: .1em; font-weight: 950; }
.tool-card h3 { margin: 28px 0 10px; font-size: 23px; line-height: 1.02; letter-spacing: -.035em; }
.tool-card p { margin: 0; font-size: 13px; line-height: 1.5; color: rgba(5,46,51,.76); }
.tool-action { width: 100%; min-height: 42px; margin-top: 22px; padding: 0; border: 0; border-top: 2px solid rgba(7,63,69,.25); background: transparent; display: flex; align-items: end; justify-content: space-between; font-size: 10px; letter-spacing: .06em; font-weight: 950; cursor: pointer; }
.tool-action span { font-size: 22px; line-height: .7; }

.start-strip { margin: 0; padding: 54px clamp(24px, 6vw, 92px); display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--yellow); border-bottom: 2px solid var(--ink); }
.start-strip span { font-size: 10px; font-weight: 950; letter-spacing: .15em; }
.start-strip h2 { margin: 8px 0 0; max-width: 900px; font-size: clamp(25px, 3vw, 42px); line-height: 1.05; letter-spacing: -.035em; }

.inside-heading { padding: 66px clamp(24px, 6vw, 92px) 44px; background: var(--cream); }
.inside-heading .tool-breadcrumb { display: inline-flex; padding: 8px 11px; margin-bottom: 22px; background: var(--yellow); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); font-size: 9px; font-weight: 950; letter-spacing: .11em; }
.inside-heading h1 { max-width: 1040px; font-size: clamp(40px, 5vw, 70px); }
.inside-heading > p { max-width: 790px; margin: 24px 0 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.planning-heading em { color: var(--coral-dark); }.competition-heading em { color: var(--coral-dark); }

.start-layout, .calculator-shell, .match-workspace { padding: 0 clamp(24px, 6vw, 92px) 88px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: 22px; align-items: stretch; }
.paper-card { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--ink); }
.setup-panel, .calculator-inputs { padding: clamp(24px, 4vw, 42px); }
.panel-title { display: flex; align-items: center; gap: 15px; margin-bottom: 28px; }
.step-seal { width: 54px; height: 54px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--coral); border: 2px solid var(--ink); font-weight: 950; box-shadow: 3px 3px 0 var(--ink); }
.panel-title small, .ranking-head small { font-size: 9px; letter-spacing: .13em; font-weight: 950; color: var(--coral-dark); }
.panel-title h2, .ranking-head h2 { margin: 4px 0 0; font-size: 28px; letter-spacing: -.03em; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: grid; gap: 8px; }
.field-wide { grid-column: 1 / -1; }
.field span { font-size: 10px; letter-spacing: .04em; font-weight: 900; }
.field input, .field select { width: 100%; min-height: 50px; border: 2px solid rgba(7,63,69,.24); border-radius: 10px; background: #fffdf7; padding: 0 13px; color: var(--ink); font-weight: 750; }
.field input:focus, .field select:focus { border-color: var(--ink); }
.setup-panel .button, .calculator-inputs .button { margin-top: 22px; }
.restore-link { display: block; margin: 24px auto 0; }
.journey-panel { padding: clamp(28px, 4vw, 44px); background: var(--ink); color: white; border-radius: var(--radius); box-shadow: 8px 8px 0 var(--coral); }
.journey-panel h2 { margin: 4px 0 26px; max-width: 460px; font-size: 34px; line-height: 1.05; letter-spacing: -.035em; }
.journey-list { display: grid; }
.journey-list > span { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.18); }
.journey-list b { width: 35px; height: 35px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; border: 1px solid white; color: var(--yellow); font-size: 11px; }
.journey-list em { font-style: normal; font-size: 13px; font-weight: 750; }
.local-card { margin-top: 25px; padding: 18px; border-radius: 13px; background: var(--mint); color: var(--ink); transform: rotate(-1deg); }
.local-card strong { font-size: 10px; letter-spacing: .08em; }.local-card p { margin: 7px 0 0; font-size: 12px; line-height: 1.45; }

.calculator-shell { grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); }
.format-selector { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.format-selector button { min-height: 72px; border: 2px solid var(--ink); border-radius: 11px; background: white; cursor: pointer; display: grid; place-content: center; }
.format-selector button strong { font-size: 24px; line-height: 1; }.format-selector button span { font-size: 8px; letter-spacing: .1em; font-weight: 950; }
.format-selector button.is-active { background: var(--yellow); box-shadow: 4px 4px 0 var(--ink); transform: translate(-2px, -2px); }
.compact-fields { gap: 12px; }
.capacity-result { padding: clamp(28px, 5vw, 54px); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 9px 9px 0 var(--ink); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.capacity-result.fits { background: var(--mint); }.capacity-result.does-not-fit { background: #ff998c; }
.capacity-result::after { content: ""; position: absolute; width: 220px; height: 220px; right: -100px; top: -100px; border: 40px solid rgba(255,255,255,.25); border-radius: 50%; }
.result-kicker { position: relative; z-index: 1; font-size: 10px; letter-spacing: .14em; font-weight: 950; }
.fit-verdict { margin: 18px 0 32px; display: grid; position: relative; z-index: 1; }
.fit-verdict > span { width: fit-content; padding: 7px 12px; background: var(--ink); color: white; font-size: 12px; font-weight: 950; letter-spacing: .1em; transform: rotate(-2deg); }
.fit-verdict strong { margin-top: 8px; font-size: clamp(58px, 7vw, 94px); line-height: .95; letter-spacing: -.07em; }
.fit-verdict small { margin-top: 8px; font-size: 10px; letter-spacing: .12em; font-weight: 950; }
.result-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; position: relative; z-index: 1; }
.result-stats > span { padding: 16px 12px; border: 2px solid var(--ink); border-radius: 12px; background: rgba(255,255,255,.6); display: grid; gap: 5px; }
.result-stats small { font-size: 8px; font-weight: 950; letter-spacing: .09em; }.result-stats strong { font-size: 24px; }
.usage { margin-top: 25px; position: relative; z-index: 1; }
.usage > div { display: flex; justify-content: space-between; font-size: 11px; font-weight: 900; }
.usage progress { width: 100%; height: 14px; margin-top: 8px; accent-color: var(--ink); }
.result-note { position: relative; z-index: 1; margin: 20px 0 0; padding-top: 17px; border-top: 1px solid rgba(7,63,69,.25); font-size: 11px; line-height: 1.5; }

.match-workspace { grid-template-columns: minmax(360px, .72fr) minmax(0, 1.28fr); }
.live-match { padding: 27px; background: var(--ink); color: white; border-radius: var(--radius); box-shadow: 8px 8px 0 var(--coral); }
.live-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; font-size: 10px; font-weight: 900; letter-spacing: .06em; }
.live-top b { padding: 5px 8px; margin-right: 6px; border-radius: 99px; background: var(--coral); color: var(--ink); }
.live-top > strong { padding: 7px 9px; border: 1px solid rgba(255,255,255,.4); border-radius: 8px; font-size: 9px; }
.score-team { min-height: 104px; padding: 17px 19px; margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; background: white; color: var(--ink); border: 2px solid white; border-radius: 14px; }
.score-team > div { display: grid; gap: 4px; }.score-team > div strong { font-size: 21px; }.score-team > div small { color: var(--muted); }
.score-team > b { min-width: 70px; text-align: center; font-size: 68px; line-height: .8; letter-spacing: -.08em; }
.score-buttons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 16px 0; }
.score-buttons button { min-height: 45px; border: 1px solid rgba(255,255,255,.5); border-radius: 9px; background: transparent; color: white; font-size: 9px; font-weight: 900; cursor: pointer; }
.ranking-panel { padding: clamp(24px, 4vw, 38px); }
.ranking-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }
.ranking-head > span { padding: 8px 10px; background: var(--yellow); border: 2px solid var(--ink); border-radius: 8px; font-size: 9px; font-weight: 950; }
.ranking-list { display: grid; gap: 8px; }
.ranking-row { min-height: 67px; padding: 10px 15px; display: grid; grid-template-columns: 42px 1fr repeat(3, 48px); align-items: center; gap: 8px; border: 2px solid var(--line); border-radius: 11px; }
.ranking-row.qualified { border-color: var(--ink); background: rgba(168,229,208,.35); }
.rank-position { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: white; font-size: 11px; font-weight: 950; }
.ranking-row > strong { font-size: 14px; }.ranking-row > span:not(.rank-position) { display: grid; text-align: center; font-weight: 900; }.ranking-row small { font-size: 8px; color: var(--muted); }
.rule-card { margin-top: 20px; padding: 17px; background: var(--sand); border-radius: 12px; border-left: 5px solid var(--coral); }
.rule-card strong { font-size: 10px; letter-spacing: .07em; }.rule-card p { margin: 6px 0 0; font-size: 12px; line-height: 1.5; }
.back-to-tools { display: block; margin: -55px auto 80px; }

.app-footer { min-height: 82px; padding: 18px clamp(24px, 6vw, 92px); background: var(--ink-dark); color: white; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 11px; }
.app-footer > span:first-child { display: grid; gap: 4px; }.app-footer small { color: #9db8ba; }
.mobile-nav { display: none; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); z-index: 50; max-width: calc(100vw - 32px); padding: 13px 18px; border: 2px solid var(--ink); border-radius: 10px; background: white; box-shadow: 5px 5px 0 var(--ink); font-size: 12px; font-weight: 850; opacity: 0; pointer-events: none; transition: .2s ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1100px) {
  .topbar { padding-inline: 26px; }.event-chip { display: none; }
  .product-hero { grid-template-columns: 1fr .78fr; padding-inline: 34px; gap: 34px; }
  .tools-section, .inside-heading, .start-layout, .calculator-shell, .match-workspace, .start-strip, .app-footer { padding-left: 34px; padding-right: 34px; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .topbar { height: 68px; padding: 0 18px; }.topnav { display: none; }.brand-ball { width: 32px; height: 32px; }.brand strong { font-size: 12px; }
  #view-root { min-height: calc(100vh - 68px); padding-bottom: 76px; }
  .product-hero { min-height: auto; grid-template-columns: 1fr; padding: 46px 22px 58px; }
  .hero-copy h1 { font-size: clamp(42px, 11vw, 64px); }.hero-copy > p { font-size: 16px; }
  .hero-visual { min-height: 450px; }.sun-disc { width: 360px; height: 360px; right: 0; }.court-board { width: 360px; }
  .section-intro { grid-template-columns: 1fr; gap: 18px; }.tools-section { padding: 62px 22px 70px; }.tools-grid { grid-template-columns: repeat(2, 1fr); }
  .start-strip { padding: 38px 22px; flex-direction: column; align-items: flex-start; }
  .inside-heading { padding: 48px 22px 34px; }.inside-heading h1 { font-size: clamp(39px, 9vw, 58px); }
  .start-layout, .calculator-shell, .match-workspace { padding: 0 22px 72px; grid-template-columns: 1fr; }
  .capacity-result { min-height: 520px; }.match-workspace { max-width: 720px; margin-inline: auto; }
  .app-footer { display: none; }
  .mobile-nav { position: fixed; left: 12px; right: 12px; bottom: 10px; z-index: 30; display: grid; grid-template-columns: repeat(4, 1fr); padding: 7px; border: 2px solid var(--ink); border-radius: 15px; background: white; box-shadow: 5px 5px 0 var(--ink); }
  .mobile-nav button { min-height: 51px; border: 0; border-radius: 10px; background: transparent; display: grid; place-content: center; gap: 2px; font-size: 8px; font-weight: 950; text-transform: uppercase; }
  .mobile-nav button span { font-size: 13px; }.mobile-nav button.is-active { background: var(--yellow); }
  .back-to-tools { margin-bottom: 95px; }
}

@media (max-width: 560px) {
  .product-kicker { display: grid; width: fit-content; }.product-kicker strong { border-right: 0; border-bottom: 2px solid var(--ink); }
  .hero-actions { align-items: stretch; flex-direction: column; }.hero-actions .button { width: 100%; }
  .journey { display: grid; grid-template-columns: 1fr 18px 1fr; }.journey i:nth-of-type(2) { display: none; }
  .hero-visual { min-height: 390px; }.sun-disc { width: 300px; height: 300px; right: -24px; }.court-board { width: 295px; border-width: 3px; box-shadow: 11px 11px 0 var(--ink); }
  .court-board::before { inset: 32px; }.court-net { left: 32px; right: 32px; }.court-label { top: 17px; left: 14px; }.format-badge { width: 70px; height: 70px; }.format-badge strong { font-size: 23px; }.badge-8 { top: 92px; right: 18px; }.badge-12 { left: 18px; bottom: 32px; }.badge-16 { right: 16px; bottom: 35px; }
  .ready-stamp { width: 108px; height: 108px; right: 0; }.ready-stamp strong { font-size: 17px; }
  .tools-grid { grid-template-columns: 1fr; }.tool-card { min-height: 265px; }.section-intro h2 { font-size: 38px; }
  .form-grid { grid-template-columns: 1fr; }.field-wide { grid-column: auto; }.setup-panel, .calculator-inputs { padding: 22px 18px; }
  .journey-panel { padding: 28px 22px; }.journey-panel h2 { font-size: 30px; }
  .result-stats { grid-template-columns: 1fr; }.result-stats > span { grid-template-columns: 1fr auto; align-items: center; }.result-stats small { grid-row: 1 }.result-stats strong { grid-column: 2; grid-row: 1; }
  .capacity-result { min-height: 620px; padding: 30px 22px; }.fit-verdict strong { font-size: 70px; }
  .live-match { padding: 20px 16px; }.score-team > div strong { font-size: 17px; }.score-team > b { min-width: 54px; font-size: 58px; }
  .ranking-panel { padding: 22px 15px; }.ranking-row { grid-template-columns: 34px 1fr repeat(3, 34px); padding: 8px; gap: 4px; }.ranking-row > strong { font-size: 12px; }.rank-position { width: 27px; height: 27px; }
  .score-buttons { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .hero-copy h1 { font-size: 42px; }.inside-heading h1 { font-size: 38px; }
  .product-hero, .tools-section, .inside-heading, .start-layout, .calculator-shell, .match-workspace { padding-left: 16px; padding-right: 16px; }
  .brand small { display: none; }.mobile-nav { left: 7px; right: 7px; bottom: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Direção premium v5 */
:root {
  --ink: #063b3f;
  --ink-dark: #022b2e;
  --cream: #f3f0e8;
  --paper: #fffefa;
  --coral: #ff6e5d;
  --coral-dark: #e85445;
  --yellow: #f5cf57;
  --mint: #98d8c6;
  --line: rgba(6, 59, 63, .13);
  --muted: #667b7c;
  --shadow: 0 24px 70px rgba(2, 43, 46, .14);
}

body { background: var(--cream); }
.topbar { height: 76px; padding-inline: clamp(22px, 4vw, 64px); border-bottom: 1px solid rgba(255,255,255,.12); background: rgba(2,43,46,.96); color: white; }
.brand small { color: #ff9d90; }.brand-ball { width: 34px; height: 34px; background: var(--coral); border-color: white; box-shadow: 3px 3px 0 var(--yellow); }.brand-ball::before, .brand-ball::after { border-color: white; }
.topnav { border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.08); }.topnav button { color: #dce9e7; }.topnav button.is-active { background: white; color: var(--ink); }
.event-chip { border-color: rgba(255,255,255,.16); }.event-chip span { color: #ff9d90; }.event-chip strong { color: white; }

.premium-hero { min-height: 760px; position: relative; display: grid; align-items: center; overflow: hidden; background: var(--ink-dark); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,31,34,.96) 0%, rgba(2,34,37,.82) 38%, rgba(2,35,38,.28) 70%, rgba(2,35,38,.22) 100%), linear-gradient(0deg, rgba(2,32,35,.72) 0%, transparent 38%); }
.premium-hero-copy { position: relative; z-index: 2; width: min(760px, 52vw); margin-left: clamp(24px, 6vw, 94px); padding: 78px 0 150px; color: white; }
.hero-badge { width: fit-content; display: flex; align-items: center; gap: 9px; padding: 9px 13px; border: 1px solid rgba(255,255,255,.34); border-radius: 99px; background: rgba(255,255,255,.1); backdrop-filter: blur(12px); font-size: 10px; letter-spacing: .12em; font-weight: 900; }
.hero-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px rgba(255,110,93,.18); }
.premium-hero-copy h1 { margin: 24px 0 22px; max-width: 740px; font-size: clamp(55px, 6.1vw, 94px); line-height: .91; letter-spacing: -.065em; font-weight: 950; text-wrap: balance; }
.premium-hero-copy h1 em { display: inline-block; color: var(--yellow); font-style: normal; }
.premium-hero-copy > p { max-width: 630px; margin: 0 0 31px; color: #d9e4e1; font-size: 18px; line-height: 1.65; }
.premium-hero .button { border-color: white; box-shadow: none; }.premium-hero .button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.22); }
.ghost-button { min-height: 52px; padding: 0 18px; border: 1px solid rgba(255,255,255,.36); border-radius: 11px; background: rgba(255,255,255,.08); color: white; backdrop-filter: blur(10px); font-size: 10px; letter-spacing: .08em; font-weight: 900; cursor: pointer; }
.ghost-button span { margin-left: 8px; color: var(--yellow); font-size: 16px; }
.hero-proof { display: flex; gap: 30px; margin-top: 38px; }
.hero-proof > span { display: grid; gap: 4px; padding-left: 13px; border-left: 2px solid rgba(255,255,255,.25); }.hero-proof strong { font-size: 13px; }.hero-proof small { color: #9fb6b3; font-size: 8px; letter-spacing: .11em; font-weight: 900; }

.event-card { position: absolute; z-index: 3; right: clamp(24px, 5vw, 78px); bottom: 48px; width: min(440px, 32vw); padding: 25px; border: 1px solid rgba(255,255,255,.6); border-radius: 22px; background: rgba(255,254,250,.94); color: var(--ink); box-shadow: 0 28px 70px rgba(0,0,0,.28); backdrop-filter: blur(16px); }
.event-card-top { display: flex; align-items: center; justify-content: space-between; }.event-card-top > span { display: flex; align-items: center; gap: 7px; color: var(--coral-dark); font-size: 8px; font-weight: 950; letter-spacing: .13em; }.event-card-top i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }.event-card-top button { border: 0; background: none; font-size: 9px; font-weight: 900; text-decoration: underline; cursor: pointer; }
.event-card h2 { margin: 14px 0 4px; font-size: 25px; letter-spacing: -.035em; }.event-card > p { margin: 0; color: var(--muted); font-size: 11px; }
.event-progress { margin-top: 19px; }.event-progress > div { display: flex; justify-content: space-between; font-size: 10px; font-weight: 850; }.event-progress progress { width: 100%; height: 9px; margin-top: 8px; accent-color: var(--coral); }
.next-action { margin-top: 17px; padding: 16px; border-radius: 13px; background: #eef6f2; border-left: 4px solid var(--mint); display: grid; gap: 5px; }.next-action > span { color: #4a756c; font-size: 8px; letter-spacing: .12em; font-weight: 950; }.next-action strong { font-size: 13px; line-height: 1.35; }.next-action button { width: fit-content; margin-top: 3px; padding: 0; border: 0; background: none; color: var(--coral-dark); font-size: 9px; font-weight: 950; cursor: pointer; }
.event-stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 17px; }.event-stages span { display: grid; place-items: center; gap: 4px; color: #869998; font-size: 7px; font-weight: 900; }.event-stages i { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #cbd8d6; font-style: normal; font-size: 9px; }.event-stages .done i { background: var(--mint); border-color: var(--mint); color: var(--ink); }.event-stages .active { color: var(--ink); }.event-stages .active i { background: var(--coral); border-color: var(--coral); color: white; box-shadow: 0 0 0 4px rgba(255,110,93,.15); }
.backup-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }.backup-actions button, .backup-actions a { flex: 1 1 42%; min-height: 34px; padding: 0 8px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--ink); font-size: 7px; letter-spacing: .07em; font-weight: 950; text-align: center; text-decoration: none; cursor: pointer; }.backup-actions button:first-child { background: var(--ink); color: white; }

.premium-tools { padding: 104px clamp(24px, 6vw, 94px) 116px; background: #f3f0e8; color: var(--ink); }
.premium-tools::after { color: rgba(6,59,63,.025); }
.premium-intro { grid-template-columns: 1.1fr .7fr; margin-bottom: 34px; }.premium-intro .section-label { color: var(--coral-dark); }.premium-intro h2 { font-size: clamp(40px, 4.3vw, 64px); }.premium-intro p { color: var(--muted); font-size: 15px; }
.stage-rail { display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr auto; align-items: center; gap: 10px; margin: 0 0 28px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.55); }
.stage-rail span { display: flex; align-items: center; gap: 8px; white-space: nowrap; color: #7d9191; font-size: 9px; font-weight: 900; letter-spacing: .06em; }.stage-rail b { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: #dfe6e2; color: var(--ink); font-size: 8px; }.stage-rail .active { color: var(--ink); }.stage-rail .active b { background: var(--coral); color: white; }.stage-rail i { height: 1px; background: #cedad7; }
.premium-tools .tools-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.premium-card { min-height: 360px; padding: 21px; border: 1px solid rgba(6,59,63,.11); border-radius: 22px; background: var(--paper); color: var(--ink); box-shadow: 0 12px 34px rgba(6,59,63,.07); overflow: hidden; position: relative; }
.premium-card:hover { transform: translateY(-6px); box-shadow: 0 20px 42px rgba(6,59,63,.12); }
.premium-card.is-featured { grid-column: span 2; display: grid; grid-template-columns: minmax(0, .9fr) minmax(220px, 1.1fr); grid-template-rows: 1fr auto; column-gap: 22px; }
.premium-card .tool-copy { display: flex; flex-direction: column; justify-content: space-between; }
.premium-card .tool-number { width: 39px; height: 39px; background: var(--ink); border: 0; color: white; font-size: 11px; box-shadow: none; }.premium-card .tool-stage { border: 0; background: #edf2ef; color: #57706e; }.premium-card h3 { margin-top: 34px; font-size: 24px; }.premium-card p { color: var(--muted); font-size: 12px; }
.premium-card .tool-action { grid-column: 1 / -1; min-height: 45px; align-items: center; margin-top: 18px; border-top: 1px solid var(--line); color: var(--ink); }
.premium-card.tone-mint, .premium-card.tone-yellow, .premium-card.tone-blue, .premium-card.tone-coral, .premium-card.tone-lilac, .premium-card.tone-sand, .premium-card.tone-green, .premium-card.tone-orange { background: var(--paper); }
.premium-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: var(--mint); }.premium-card.tone-yellow::before { background: var(--yellow); }.premium-card.tone-blue::before { background: #74cbe7; }.premium-card.tone-coral::before { background: var(--coral); }.premium-card.tone-lilac::before { background: #a898da; }.premium-card.tone-sand::before { background: #dcb979; }.premium-card.tone-green::before { background: #54b892; }.premium-card.tone-orange::before { background: #f5a152; }

.mini-capacity, .mini-finance, .mini-people, .mini-pipeline, .mini-schedule, .mini-bracket { min-height: 132px; margin-top: 23px; border-radius: 16px; background: #eef5f1; position: relative; overflow: hidden; }
.is-featured .mini-capacity, .is-featured .mini-bracket { min-height: 210px; margin-top: 0; align-self: stretch; }
.mini-capacity { display: flex; align-items: center; justify-content: center; gap: 18px; background: linear-gradient(135deg,#e6f4ed,#cce8dc); }.mini-ring { width: 98px; height: 98px; display: grid; place-content: center; text-align: center; border-radius: 50%; background: conic-gradient(var(--coral) 0 83%, rgba(6,59,63,.09) 83% 100%); position: relative; }.mini-ring::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: white; }.mini-ring strong, .mini-ring small { position: relative; z-index: 1; }.mini-ring strong { font-size: 33px; line-height: .9; }.mini-ring small { font-size: 7px; font-weight: 900; }.mini-check { display: grid; gap: 4px; }.mini-check b { color: #29715e; font-size: 12px; }.mini-check small { color: var(--muted); font-size: 9px; }
.mini-finance { padding: 17px; display: grid; grid-template-columns: 1fr 1fr; gap: 5px 8px; background: #fbf4d9; }.mini-finance span { display: grid; }.mini-finance small { font-size: 7px; color: #8c7941; }.mini-finance b { font-size: 13px; }.mini-finance i { align-self: end; height: 20px; border-radius: 4px 4px 0 0; background: #d9bd55; }.mini-finance i:nth-of-type(2) { height: 30px; }.mini-finance i:nth-of-type(3) { height: 42px; background: var(--coral); }.mini-finance i:nth-of-type(4) { height: 54px; }.mini-finance i:nth-of-type(5) { height: 68px; background: var(--ink); }
.mini-people { padding: 18px; display: flex; align-items: center; flex-wrap: wrap; background: #e8f5f9; }.mini-people span { width: 34px; height: 34px; margin-left: -6px; display: grid; place-items: center; border: 3px solid white; border-radius: 50%; background: #86d4e9; font-size: 8px; font-weight: 900; }.mini-people span:first-child { margin-left: 0; }.mini-people b { width: 100%; margin-top: 11px; font-size: 22px; }.mini-people small { font-size: 7px; color: var(--muted); font-weight: 900; }
.mini-pipeline { padding: 14px; display: grid; gap: 7px; background: #fff0ed; }.mini-pipeline span { min-height: 28px; padding: 0 9px; display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: 6px; border-radius: 8px; background: white; font-size: 8px; font-weight: 750; }.mini-pipeline i { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }.mini-pipeline b { font-size: 10px; }
.mini-schedule { padding: 14px; display: grid; grid-template-columns: 42px 1fr 1fr; gap: 5px; background: #f0eef8; }.mini-schedule b, .mini-schedule span { min-height: 32px; display: grid; place-items: center; border-radius: 7px; font-size: 7px; }.mini-schedule b { color: #7969a9; }.mini-schedule span { background: white; font-weight: 800; }
.mini-bracket { display: grid; grid-template-columns: 1fr auto 1fr; place-items: center; padding: 16px; background: #f8f0df; }.mini-bracket > span { display: grid; gap: 25px; }.mini-bracket i { width: 38px; height: 20px; border: 1px solid #bea877; border-radius: 5px; background: white; }.mini-bracket > b { width: 62px; height: 62px; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--ink); color: white; font-size: 22px; }.mini-bracket small { display: block; font-size: 6px; letter-spacing: .08em; }.mini-bracket em { position: absolute; bottom: 11px; padding: 4px 7px; border-radius: 99px; background: var(--yellow); font-style: normal; font-size: 7px; font-weight: 900; }

.closing-experience { min-height: 440px; padding: 78px clamp(24px, 7vw, 110px); display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 70px; background: var(--ink-dark); color: white; position: relative; overflow: hidden; }.closing-experience::before { content: ""; position: absolute; width: 450px; height: 450px; right: -130px; top: -210px; border: 90px solid rgba(245,207,87,.08); border-radius: 50%; }.closing-copy, .closing-scenarios { position: relative; z-index: 1; }.closing-copy > span { color: var(--coral); font-size: 9px; letter-spacing: .14em; font-weight: 950; }.closing-copy h2 { margin: 11px 0 15px; max-width: 700px; font-size: clamp(38px, 4vw, 61px); line-height: .98; letter-spacing: -.05em; }.closing-copy p { margin: 0 0 25px; color: #aac0bd; }.closing-copy .button { border-color: white; box-shadow: none; }
.closing-scenarios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: center; }.closing-scenarios span { min-height: 178px; padding: 19px; display: grid; place-content: center; text-align: center; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; background: rgba(255,255,255,.06); }.closing-scenarios span.selected { min-height: 220px; background: var(--coral); color: var(--ink); border-color: var(--coral); box-shadow: 0 20px 44px rgba(0,0,0,.25); }.closing-scenarios b { font-size: 46px; line-height: .9; }.closing-scenarios small { margin-top: 4px; font-size: 8px; font-weight: 950; }.closing-scenarios em { margin-top: 14px; font-style: normal; font-size: 10px; color: #a9bebc; }.closing-scenarios .selected em { color: var(--ink); }

.inside-heading { padding-top: 72px; background: linear-gradient(180deg,#e9eee9 0%,var(--cream) 100%); }.inside-heading .tool-breadcrumb { border: 0; border-radius: 99px; background: var(--ink); color: white; box-shadow: none; }.inside-heading h1 { font-size: clamp(45px,5.2vw,74px); }.paper-card { border: 1px solid var(--line); box-shadow: var(--shadow); }.journey-panel, .live-match { box-shadow: 0 24px 60px rgba(2,43,46,.18); }.capacity-result { border: 0; box-shadow: var(--shadow); }.format-selector button { border: 1px solid var(--line); }.format-selector button.is-active { border-color: var(--ink); box-shadow: 0 8px 22px rgba(6,59,63,.13); }.field input, .field select { border-width: 1px; background: #f9f8f3; }.ranking-row { border-width: 1px; }.button { box-shadow: none; border-width: 1px; }.button:hover { box-shadow: 0 10px 24px rgba(6,59,63,.14); transform: translateY(-2px); }

@media (max-width: 1180px) {
  .premium-hero-copy { width: 58vw; margin-left: 40px; }.event-card { right: 28px; width: 360px; }.premium-tools { padding-inline: 34px; }.premium-tools .tools-grid { grid-template-columns: repeat(3,1fr); }.premium-card.is-featured { grid-column: span 2; }.closing-experience { padding-inline: 40px; gap: 35px; }
}

@media (max-width: 900px) {
  .premium-hero { min-height: 920px; align-items: start; }.hero-photo { height: 540px; object-position: 62% center; }.hero-shade { background: linear-gradient(90deg,rgba(2,31,34,.93),rgba(2,34,37,.35)),linear-gradient(0deg,var(--ink-dark) 0%,transparent 72%); }.premium-hero-copy { width: auto; margin: 0; padding: 78px 30px 310px; }.premium-hero-copy h1 { max-width: 650px; }.event-card { left: 30px; right: 30px; bottom: 38px; width: auto; }.premium-tools .tools-grid { grid-template-columns: repeat(2,1fr); }.premium-card.is-featured { grid-column: span 2; }.closing-experience { grid-template-columns: 1fr; }.closing-scenarios { max-width: 650px; }
}

@media (max-width: 620px) {
  .topbar { height: 66px; }.premium-hero { min-height: 1000px; }.hero-photo { height: 430px; object-position: 66% center; }.hero-shade { background: linear-gradient(90deg,rgba(2,31,34,.96),rgba(2,34,37,.28)),linear-gradient(0deg,var(--ink-dark) 1%,transparent 62%); }.premium-hero-copy { padding: 48px 18px 500px; }.hero-badge { font-size: 8px; }.premium-hero-copy h1 { margin-top: 20px; font-size: 49px; }.premium-hero-copy > p { font-size: 15px; }.hero-proof { gap: 12px; flex-wrap: wrap; }.hero-proof > span { min-width: 120px; }.event-card { left: 15px; right: 15px; bottom: 76px; padding: 20px; }.premium-tools { padding: 70px 16px 88px; }.premium-intro { grid-template-columns: 1fr; }.premium-intro h2 { font-size: 42px; }.stage-rail { grid-template-columns: repeat(4,1fr); padding: 12px 8px; }.stage-rail i { display: none; }.stage-rail span { display: grid; place-items: center; text-align: center; font-size: 7px; }.premium-tools .tools-grid { grid-template-columns: 1fr; }.premium-card.is-featured { grid-column: auto; display: flex; }.premium-card { min-height: 360px; }.is-featured .mini-capacity, .is-featured .mini-bracket { min-height: 150px; margin-top: 23px; width: 100%; }.closing-experience { padding: 65px 18px 105px; }.closing-scenarios { gap: 6px; }.closing-scenarios span { min-height: 135px; padding: 10px; }.closing-scenarios span.selected { min-height: 165px; }.closing-scenarios b { font-size: 36px; }.event-stages { gap: 0; }
}

/* Fechamento operacional v9 */
.tournament-switcher { margin: 0 clamp(24px,6vw,92px) 24px; padding: 18px 20px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.72); box-shadow: 0 12px 34px rgba(6,59,63,.07); }
.tournament-switcher > div:first-child { display: grid; gap: 4px; }.tournament-switcher small { color: var(--muted); font-size: 7px; letter-spacing: .1em; font-weight: 950; }.tournament-switcher strong { font-size: 17px; }
.tournament-pills { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }.tournament-pills button { min-height: 48px; padding: 8px 14px; display: grid; gap: 2px; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--ink); text-align: left; font-size: 10px; font-weight: 900; cursor: pointer; }.tournament-pills button.active { border-color: var(--coral); background: #fff0ed; box-shadow: inset 0 0 0 1px var(--coral); }.tournament-pills .new-tournament-pill { place-items: center; border-style: dashed; color: var(--coral-dark); }
.entity-form { margin: 0 0 20px; padding: clamp(20px,3vw,32px); }.entity-form > header { margin-bottom: 20px; display: flex; justify-content: space-between; align-items: start; }.entity-form > header small { color: var(--coral-dark); font-size: 8px; letter-spacing: .12em; font-weight: 950; }.entity-form h2 { margin: 4px 0 0; font-size: 27px; }.entity-form > header > button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: #edf1ee; color: var(--ink); font-size: 24px; cursor: pointer; }
.entity-form .form-grid label { display: grid; gap: 7px; color: var(--muted); font-size: 9px; font-weight: 900; }.entity-form input, .entity-form select, .entity-form textarea { width: 100%; min-height: 47px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #faf9f5; color: var(--ink); font: inherit; }.entity-form textarea { min-height: 84px; resize: vertical; }.entity-form .form-wide { grid-column: 1/-1; }.checkbox-field { margin-top: 15px; display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: 11px; font-weight: 800; }.checkbox-field input { width: 19px; height: 19px; min-height: 0; }.form-actions { margin-top: 20px; display: flex; justify-content: flex-end; gap: 9px; }
.list-head, .entry-row { grid-template-columns: minmax(230px,1fr) 120px 120px 70px; }.edit-record { min-height: 38px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--ink); font-size: 8px; font-weight: 950; cursor: pointer; }.empty-records { padding: 35px; color: var(--muted); text-align: center; }
.pipeline-board { grid-template-columns: repeat(3,minmax(0,1fr)); }.card-actions { margin-top: 12px; display: grid !important; grid-template-columns: 1fr 1fr; gap: 6px !important; }.sponsor-card .card-actions button { min-height: 38px; margin: 0; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; text-align: center; }.sponsor-card .card-actions button:last-child { background: var(--ink); color: white; }

@media (max-width: 900px) {
  .tournament-switcher { grid-template-columns: 1fr; margin-inline: 22px; }.tournament-pills { justify-content: flex-start; }.pipeline-board { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .tournament-switcher { margin-inline: 16px; padding: 15px; }.tournament-pills { display: grid; grid-template-columns: 1fr 1fr; }.tournament-pills button { min-width: 0; }.entity-form .form-wide { grid-column: auto; }.form-actions { display: grid; grid-template-columns: 1fr; }.form-actions .button { width: 100%; }.entry-row { grid-template-columns: 1fr 1fr; }.edit-record { grid-column: 1/-1; min-height: 44px; }.pipeline-board { grid-template-columns: 1fr; }
}

/* Operação competitiva v8 */
.competition-shell { padding: 0 clamp(24px,6vw,92px) 88px; }
.competition-command { min-height: 104px; margin-bottom: 22px; padding: 18px 22px; display: grid; grid-template-columns: minmax(250px,1fr) auto auto auto; align-items: center; gap: 22px; border-radius: 18px; background: var(--ink); color: white; box-shadow: var(--shadow); }
.competition-command > div { display: grid; gap: 5px; }.competition-command progress { width: min(100%,420px); height: 9px; accent-color: var(--coral); }.competition-command small { color: #9fb7b4; font-size: 8px; letter-spacing: .1em; font-weight: 950; }.competition-command strong { font-size: 18px; }.competition-command > span { display: grid; gap: 5px; padding-left: 18px; border-left: 1px solid rgba(255,255,255,.18); }.competition-command > button { min-height: 40px; padding: 0 13px; border: 1px solid rgba(255,255,255,.25); border-radius: 9px; background: transparent; color: white; font-size: 8px; font-weight: 950; cursor: pointer; }
.competition-gate { width: min(720px,calc(100% - 32px)); margin: 0 auto 80px; padding: clamp(30px,5vw,58px); text-align: center; }.competition-gate > strong { color: var(--coral-dark); font-size: 9px; letter-spacing: .13em; }.competition-gate h2 { margin: 10px 0; font-size: clamp(29px,4vw,44px); letter-spacing: -.04em; }.competition-gate p { max-width: 580px; margin: 0 auto 24px; color: var(--muted); line-height: 1.55; }.gate-count { width: 105px; height: 105px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 26px; font-weight: 950; box-shadow: 7px 7px 0 var(--ink); }
.draw-ready { padding: clamp(26px,4vw,44px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: center; }.draw-ready > div:first-child > span { color: #29715e; font-size: 9px; letter-spacing: .12em; font-weight: 950; }.draw-ready h2 { margin: 9px 0; font-size: 34px; letter-spacing: -.04em; }.draw-ready p { color: var(--muted); line-height: 1.55; }.draw-ready > .button { grid-column: 1/-1; }.draw-teams { display: grid; grid-template-columns: repeat(2,1fr); gap: 7px; }.draw-teams span { min-height: 42px; padding: 0 10px; display: flex; align-items: center; gap: 9px; border-radius: 9px; background: #edf3ef; font-size: 10px; font-weight: 800; }.draw-teams b { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: white; font-size: 7px; }
.competition-tabs { width: min(520px,100%); margin: 0 auto 22px; padding: 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; border: 1px solid var(--line); border-radius: 14px; background: white; }.competition-tabs button { min-height: 44px; border: 0; border-radius: 9px; background: transparent; color: var(--ink); font-size: 9px; letter-spacing: .08em; font-weight: 950; cursor: pointer; }.competition-tabs button.active { background: var(--yellow); }
.groups-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }.group-card { padding: 22px; overflow: hidden; }.group-card > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }.group-card > header small { color: var(--coral-dark); font-size: 8px; letter-spacing: .1em; font-weight: 950; }.group-card > header h2 { margin: 3px 0 0; font-size: 26px; }.group-card > header > span { padding: 7px 9px; border-radius: 99px; background: #e8efeb; font-size: 8px; font-weight: 950; }
.compact-ranking { margin-bottom: 16px; display: grid; gap: 5px; }.compact-rank { min-height: 39px; padding: 5px 9px; display: grid; grid-template-columns: 27px 1fr auto; align-items: center; gap: 8px; border-radius: 9px; background: #f2f2ed; }.compact-rank.qualified { background: #dff0e9; }.compact-rank > b { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: white; font-size: 8px; }.compact-rank > strong { font-size: 11px; }.compact-rank > span { color: var(--muted); font-size: 8px; font-weight: 900; }.compact-rank button { width: 27px; height: 27px; margin-left: 3px; border: 0; border-radius: 7px; background: white; color: var(--ink); cursor: pointer; }.compact-rank button:disabled { opacity: .3; }
.group-matches { display: grid; gap: 7px; }.competition-match { min-height: 78px; padding: 11px 12px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px; border: 1px solid var(--line); border-left: 4px solid #c8d5d1; border-radius: 11px; background: #fbfaf6; }.competition-match.completed { border-left-color: var(--mint); }.match-name { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 5px; }.match-name small { grid-column: 1/-1; color: var(--coral-dark); font-size: 7px; font-weight: 950; }.match-name strong { font-size: 10px; line-height: 1.2; }.match-name strong:nth-of-type(2) { text-align: right; }.match-name span { color: var(--muted); font-size: 9px; }
.inline-score { display: flex; align-items: center; gap: 5px; }.inline-score input { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); text-align: center; font-size: 14px; font-weight: 950; }.inline-score b { color: var(--muted); }.inline-score button { min-height: 44px; padding: 0 10px; border: 0; border-radius: 8px; background: var(--ink); color: white; font-size: 7px; font-weight: 950; cursor: pointer; }.inline-score button:disabled { opacity: .35; cursor: not-allowed; }
.advance-knockout { display: block; margin: 26px auto 0; }
.knockout-board { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; align-items: start; }.knockout-phase { padding: 17px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.65); }.knockout-phase > header { display: flex; justify-content: space-between; margin-bottom: 13px; color: var(--ink); font-size: 9px; font-weight: 950; }.knockout-phase > header b { color: var(--muted); font-size: 7px; }.knockout-phase .competition-match { grid-template-columns: 1fr; margin-bottom: 9px; }.knockout-phase .inline-score { justify-content: flex-end; }
.champion-banner { margin: 0 0 22px; padding: 27px; display: grid; place-items: center; text-align: center; border-radius: 18px; background: var(--yellow); color: var(--ink); box-shadow: var(--shadow); }.champion-banner span { font-size: 9px; letter-spacing: .14em; font-weight: 950; }.champion-banner strong { margin: 5px 0; font-size: clamp(34px,5vw,58px); letter-spacing: -.05em; }.champion-banner small { color: var(--muted); }

@media (max-width: 980px) {
  .competition-command { grid-template-columns: 1fr 1fr 1fr; }.competition-command > div { grid-column: 1/-1; }.competition-command > button { grid-column: 1/-1; }.knockout-board { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .competition-shell { padding-inline: 16px; padding-bottom: 90px; }.competition-command { grid-template-columns: 1fr 1fr; gap: 14px; }.competition-command > span { padding-left: 10px; }.groups-grid { grid-template-columns: 1fr; }.draw-ready { grid-template-columns: 1fr; }.draw-ready > .button { grid-column: auto; }.competition-match { grid-template-columns: 1fr; }.inline-score { justify-content: flex-end; }.draw-teams { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .competition-command { padding: 16px 14px; }.competition-command strong { font-size: 15px; }.group-card { padding: 15px; }.competition-match { padding: 10px; }.inline-score input { width: 40px; }.inline-score button { padding-inline: 7px; }
}

@media (max-width: 390px) {
  .premium-hero-copy h1 { font-size: 44px; }.premium-hero { min-height: 1025px; }.event-card { bottom: 74px; }.hero-proof > span { min-width: 110px; }.premium-intro h2 { font-size: 38px; }.closing-copy h2 { font-size: 40px; }
}

/* Núcleo operacional v6 */
.tool-screen-heading em { color: var(--coral-dark); font-style: normal; }
.tool-workspace { padding: 0 clamp(24px, 6vw, 92px) 88px; display: grid; grid-template-columns: minmax(0,.9fr) minmax(420px,1.1fr); gap: 22px; }
.single-workspace { padding: 0 clamp(24px, 6vw, 92px) 88px; }
.workspace-panel { padding: clamp(24px,4vw,42px); }
.yellow-seal { background: var(--yellow); }
.finance-result { padding: clamp(28px,5vw,52px); border-radius: var(--radius); background: var(--ink); color: white; box-shadow: var(--shadow); }
.finance-result.negative { background: #7b3733; }
.finance-balance { display: grid; margin: 24px 0 31px; }
.finance-balance small { color: #a8c0bd; font-size: 9px; letter-spacing: .13em; font-weight: 950; }
.finance-balance strong { margin: 6px 0; color: var(--yellow); font-size: clamp(54px,6vw,82px); line-height: 1; letter-spacing: -.06em; }
.finance-balance span { color: #dbe7e5; font-size: 12px; }
.metric-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 9px; }
.metric-grid > span { min-height: 88px; padding: 15px; display: grid; align-content: center; gap: 7px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(255,255,255,.06); }
.metric-grid small { color: #9fb7b4; font-size: 8px; letter-spacing: .08em; font-weight: 900; }
.metric-grid strong { font-size: 18px; }
.decision-note { margin-top: 18px; padding: 17px 18px; border-radius: 12px; background: var(--mint); color: var(--ink); }
.decision-note b { font-size: 9px; letter-spacing: .1em; }.decision-note p { margin: 6px 0 0; font-size: 12px; line-height: 1.5; }
.summary-ribbon { min-height: 106px; margin-bottom: 20px; padding: 18px 22px; display: grid; grid-template-columns: repeat(3,1fr) auto; align-items: center; gap: 16px; border-radius: 18px; background: var(--ink); color: white; box-shadow: var(--shadow); }
.summary-ribbon > span { display: grid; gap: 5px; padding-left: 16px; border-left: 2px solid rgba(255,255,255,.18); }
.summary-ribbon small { color: #9fb7b4; font-size: 8px; letter-spacing: .1em; font-weight: 900; }.summary-ribbon strong { font-size: 25px; }
.list-panel { padding: 18px; }
.list-head, .entry-row { display: grid; grid-template-columns: minmax(230px,1fr) 140px 130px; gap: 14px; align-items: center; }
.list-head { padding: 3px 18px 12px; color: var(--muted); font-size: 8px; letter-spacing: .11em; font-weight: 950; }
.entry-list { display: grid; gap: 7px; }
.entry-row { min-height: 70px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 13px; background: #fbfaf6; }
.identity { display: flex; align-items: center; gap: 12px; }.identity > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #d9eef3; color: var(--ink); font-size: 9px; font-weight: 950; }.identity > div { display: grid; gap: 3px; }.identity strong { font-size: 13px; }.identity small { color: var(--muted); font-size: 10px; }
.status-pill, .check-button { min-height: 38px; border: 0; border-radius: 99px; cursor: pointer; font-size: 8px; letter-spacing: .07em; font-weight: 950; }
.status-pill.pago { background: #d8eee7; color: #24614f; }.status-pill.pendente { background: #f7eac0; color: #755f19; }.check-button { background: #e9edeb; color: #6d7d7c; }.check-button.checked { background: var(--ink); color: white; }
.pipeline-board { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.pipeline-column { min-height: 420px; padding: 15px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.55); }
.pipeline-column > header { display: grid; grid-template-columns: 30px 1fr 25px; align-items: center; gap: 8px; margin-bottom: 13px; padding: 4px; }
.pipeline-column > header span, .pipeline-column > header b { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: white; font-size: 8px; }.pipeline-column > header b { background: #dfe8e4; color: var(--ink); }.pipeline-column > header strong { font-size: 10px; letter-spacing: .08em; }
.sponsor-card { margin-bottom: 10px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 8px 22px rgba(6,59,63,.06); }.sponsor-card > div { display: grid; gap: 3px; }.sponsor-card > div strong { font-size: 14px; }.sponsor-card small { color: var(--muted); font-size: 9px; }.sponsor-card p { margin: 14px 0 8px; font-size: 11px; }.sponsor-card > b { color: #27705d; font-size: 16px; }.sponsor-card button { width: 100%; min-height: 35px; margin-top: 14px; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--coral-dark); text-align: left; font-size: 8px; font-weight: 950; cursor: pointer; }.empty-column { padding: 22px 10px; color: var(--muted); font-size: 11px; text-align: center; }
.schedule-toolbar { min-height: 86px; margin-bottom: 16px; padding: 16px 20px; display: flex; align-items: center; gap: 18px; border-radius: 16px; background: var(--ink); color: white; }.schedule-toolbar > div { flex: 1; display: grid; gap: 4px; }.schedule-toolbar small { color: #9fb7b4; font-size: 8px; font-weight: 900; letter-spacing: .11em; }.schedule-toolbar strong { font-size: 17px; }.conflict-badge { padding: 9px 11px; border-radius: 99px; font-size: 8px; font-weight: 950; }.conflict-badge.safe { background: var(--mint); color: var(--ink); }.conflict-badge.warning { background: var(--coral); color: var(--ink); }
.day-board { display: grid; grid-template-columns: 72px 1fr; gap: 10px; }.time-axis { display: grid; grid-template-rows: repeat(6,96px); align-items: start; }.time-axis span { color: var(--muted); font-size: 10px; font-weight: 900; }.court-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }.game-slot { min-height: 86px; padding: 13px 15px; display: grid; grid-template-columns: 1fr auto; align-content: center; border: 1px solid var(--line); border-left: 5px solid #a898da; border-radius: 13px; background: white; }.game-slot small { grid-column: 1/-1; color: #7665aa; font-size: 7px; letter-spacing: .07em; font-weight: 950; }.game-slot strong { margin-top: 5px; font-size: 13px; }.game-slot span { color: var(--muted); font-size: 9px; }.game-slot button { grid-column: 2; grid-row: 2/4; padding: 8px 9px; border: 0; border-radius: 8px; background: #eef0ef; font-size: 7px; font-weight: 950; cursor: pointer; }.game-slot:first-child button { background: var(--coral); color: var(--ink); }.continuation-note { margin: 15px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.competition-switcher { width: min(620px,calc(100% - 44px)); margin: 0 auto 24px; padding: 7px; display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 12px 34px rgba(6,59,63,.07); }.competition-switcher button { min-height: 67px; border: 0; border-radius: 11px; background: transparent; color: var(--ink); cursor: pointer; }.competition-switcher button strong, .competition-switcher button span, .competition-switcher button small { display: block; }.competition-switcher strong { font-size: 23px; }.competition-switcher span, .competition-switcher small { font-size: 7px; font-weight: 950; letter-spacing: .08em; }.competition-switcher small { margin-top: 3px; color: var(--muted); }.competition-switcher button.active { background: var(--yellow); box-shadow: inset 0 0 0 1px rgba(6,59,63,.12); }

@media (max-width: 900px) {
  .tool-workspace { grid-template-columns: 1fr; padding-inline: 22px; }.single-workspace { padding-inline: 22px; }.pipeline-board { grid-template-columns: 1fr; }.pipeline-column { min-height: auto; }.summary-ribbon { grid-template-columns: repeat(3,1fr); }.summary-ribbon .button { grid-column: 1/-1; }.schedule-toolbar { flex-wrap: wrap; }.schedule-toolbar > div { min-width: 55%; }
}

@media (max-width: 620px) {
  .tool-workspace, .single-workspace { padding-inline: 16px; padding-bottom: 78px; }.metric-grid { grid-template-columns: 1fr; }.finance-balance strong { font-size: 57px; }.summary-ribbon { grid-template-columns: repeat(3,1fr); padding: 14px 12px; gap: 7px; }.summary-ribbon > span { padding-left: 8px; }.summary-ribbon strong { font-size: 18px; }.summary-ribbon small { font-size: 6px; }.list-head { display: none; }.entry-row { grid-template-columns: 1fr 92px; padding: 11px; }.identity { grid-column: 1/-1; }.status-pill, .check-button { min-height: 36px; }.day-board { grid-template-columns: 1fr; }.time-axis { display: none; }.court-grid { grid-template-columns: 1fr; }.schedule-toolbar .button { width: 100%; }.competition-switcher { width: calc(100% - 32px); }.sponsor-summary > span:nth-child(2) { display: none; }
}

/* Prioridade de composição v9 */
.list-head, .entry-row { grid-template-columns: minmax(230px,1fr) 120px 120px 70px; }
.pipeline-board { grid-template-columns: repeat(3,minmax(0,1fr)); }
.sponsor-card .card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sponsor-card .card-actions button { min-height: 38px; margin: 0; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; text-align: center; }
@media (max-width: 900px) { .pipeline-board { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 620px) { .entry-row { grid-template-columns: 1fr 1fr; }.edit-record { grid-column: 1/-1; min-height: 44px; }.pipeline-board { grid-template-columns: 1fr; } }

.brand, .back-to-tools { min-height: 44px; }
.event-card-top button, .next-action button, .backup-actions button, .backup-actions a { min-height: 44px; }
