@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800;900&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --bg: #0b0b0c;
  --surface: #131315;
  --surface-2: #1a1a1d;
  --line: #242428;
  --line-2: #303035;
  --muted: #8d8f96;
  --text: #f3f2ee;
  --accent: #f25343;
  --accent-dark: #d9402f;
  --gold: #f0c15a;
  --silver: #c4c7cc;
  --bronze: #c98a5a;
  --display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --body: 'DM Sans', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: not-allowed; }
:focus-visible { outline: 2px solid #ff8c7f; outline-offset: 3px; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
h1, h2, h3, p { margin-top: 0; }
.app-shell { min-height: 100vh; display: flex; flex-direction: column; }
.muted { color: var(--muted); }

/* Navigation */
.topnav { position: sticky; top: 0; z-index: 30; background: rgba(11,11,12,.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topnav-inner { max-width: 1240px; margin: 0 auto; padding: 0 28px; min-height: 66px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark { width: 28px; height: 28px; color: var(--accent); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-wordmark { font: 800 23px/1 var(--display); letter-spacing: 1px; text-transform: uppercase; }
.brand-wordmark span { color: var(--accent); }
.topnav-links { display: flex; gap: 4px; flex: 1; min-width: 0; }
.nav-item { padding: 8px 14px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; transition: background .15s, color .15s; }
.nav-item:hover { color: var(--text); background: var(--surface-2); }
.nav-item.active { color: var(--text); background: var(--surface-2); }
.top-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.account-chip { display: flex; align-items: center; gap: 8px; color: #d9d8d4; font-size: 13px; font-weight: 600; }
.profile-avatar { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #2c1d1b; color: #f47b6e; border: 1px solid #4a2c28; font-size: 12px; font-weight: 700; }
.main-content { width: 100%; max-width: 1240px; margin: 0 auto; padding: 40px 28px 80px; flex: 1; }
.loading-state { color: var(--muted); padding: 60px 0; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { max-width: 1240px; margin: 0 auto; padding: 22px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 28px; color: #6c6e75; font-size: 12px; }
.footer-brand { color: #9a9ca2; font-weight: 700; letter-spacing: .4px; }
.footer-dot { color: var(--accent); }

/* Buttons */
.primary-btn, .secondary-btn, .ghost-btn, .small-btn, .icon-btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: 8px; font-size: 13px; font-weight: 700; transition: background .15s, border-color .15s, color .15s; }
.primary-btn { background: var(--accent); color: #fff; }
.primary-btn:hover { background: var(--accent-dark); }
.secondary-btn { background: var(--surface-2); border-color: var(--line-2); color: var(--text); }
.secondary-btn:hover { background: #222226; }
.ghost-btn { background: transparent; border-color: var(--line-2); color: var(--text); }
.ghost-btn:hover { background: #ffffff0a; border-color: #4a4a50; }
.small-btn { min-height: 36px; padding: 0 14px; font-size: 12px; background: var(--surface-2); border-color: var(--line-2); color: var(--text); }
.small-btn:hover { background: #222226; }
.primary-btn.small-btn { background: var(--accent); border-color: transparent; color: #fff; }
.primary-btn.small-btn:hover { background: var(--accent-dark); }
.ghost-btn.small-btn { background: transparent; }
.ghost-btn.small-btn:hover { background: #ffffff0a; }
.icon-btn { width: 36px; min-height: 36px; padding: 0; background: transparent; color: #aaa; font-size: 20px; }

/* Typography helpers */
.eyebrow, .section-kicker { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
.section-kicker { display: block; margin-bottom: 8px; }
.section-title, .page-title { margin: 0; font: 700 32px/1 var(--display); text-transform: uppercase; letter-spacing: .3px; }
.section-link { border: 0; background: none; padding: 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.section-link:hover { color: var(--text); }
.section-heading, .heading-row { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin: 0 0 20px; }

/* Landing */
.landing-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 28px 0 8px; }
.landing-title { margin: 14px 0 18px; font: 800 clamp(50px, 6.4vw, 88px)/.92 var(--display); text-transform: uppercase; letter-spacing: .3px; }
.landing-title span { color: var(--accent); }
.landing-text { max-width: 520px; color: #b8b8bc; font-size: 16px; line-height: 1.65; margin-bottom: 26px; }
.landing-note { margin: 16px 0 0; color: #6c6e75; font-size: 12px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.demo-card { border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); padding: 20px; box-shadow: 0 30px 80px #0009; }
.demo-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.demo-head strong { font: 700 20px var(--display); text-transform: uppercase; letter-spacing: .3px; }
.demo-head span { color: var(--muted); font-size: 12px; }
.game-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; }
.game-tabs-label { color: var(--muted); font-size: 12px; margin-right: 4px; }
.pill { padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; }
.pill:hover { color: var(--text); border-color: #4a4a50; }
.pill.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.demo-table, .rank-table { width: 100%; border-collapse: collapse; }
.demo-table th, .rank-table th { padding: 8px 10px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .6px; text-align: left; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.demo-table td, .rank-table td, .rank-table tbody th { padding: 9px 10px; border-bottom: 1px solid #1c1c1f; font-size: 13px; }
.demo-table tbody th, .rank-table tbody th { color: var(--text); font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.demo-table tr:last-child td, .demo-table tr:last-child th { border-bottom: 0; }
.demo-table .num, .rank-table .num { text-align: right; }
.demo-table td:first-child, .rank-table td:first-child { width: 48px; font: 700 18px var(--display); color: #d9d8d4; }
.rank-1 td:first-child { color: var(--gold) !important; }
.rank-2 td:first-child { color: var(--silver) !important; }
.rank-3 td:first-child { color: var(--bronze) !important; }
.gain { color: #91c49a; }
.demo-note { margin: 12px 0 0; color: #6c6e75; font-size: 11px; }
.section { margin-top: 96px; }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head .section-title { font-size: 40px; margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0; }
.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.step-card { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.step-num { width: 32px; height: 32px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 50%; background: #2a1a18; color: #f47b6e; font: 700 16px var(--display); }
.step-card h3 { margin-bottom: 6px; font-size: 16px; }
.step-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.algs-panel { padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.algs-chart { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 6px; align-items: end; height: 190px; }
.algs-col { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.algs-points { font: 700 15px var(--display); color: #e6e5e1; }
.algs-bar { width: 100%; min-height: 3px; border-radius: 4px 4px 0 0; background: var(--accent); opacity: .9; }
.algs-col.zero .algs-bar { background: #34343a; }
.algs-place { color: var(--muted); font-size: 11px; }
.algs-caption { margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feature-card { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.feature-card h3 { margin-bottom: 6px; font-size: 15px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.faq-list { max-width: 820px; display: grid; gap: 8px; }
.faq-item { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.faq-item summary { padding: 16px 20px; cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--accent); font-size: 20px; line-height: 1; }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { margin: 0; padding: 0 20px 18px; color: #a9aab0; line-height: 1.65; }
.cta-band { margin-top: 96px; padding: 48px 32px; border: 1px solid #44302d; border-radius: 16px; background: linear-gradient(120deg, #1d1514, #131315 70%); text-align: center; }
.cta-band h2 { margin-bottom: 10px; font: 800 clamp(34px, 5vw, 52px)/1 var(--display); text-transform: uppercase; }
.cta-band p { max-width: 480px; margin: 0 auto 24px; color: var(--muted); }
.cta-band .hero-actions { justify-content: center; }

/* Cards & lists */
.tournament-panel, .info-panel, .content-panel { min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.content-panel { padding: 22px; }
.content-panel h2, .content-panel h3 { margin: 0 0 15px; font: 700 22px var(--display); text-transform: uppercase; }
.content-panel p { color: #a5a5a9; line-height: 1.7; }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 19px; border-bottom: 1px solid var(--line); }
.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cards-grid > .empty-state { grid-column: 1 / -1; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.tournament-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tournament-card { position: relative; min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color .15s, transform .15s; }
.tournament-card:hover { border-color: #4a3431; transform: translateY(-1px); }
.card-top, .card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card-title { margin: 12px 0 8px; font: 700 23px/1.1 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.card-description { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 15px; color: #9a9ba1; font-size: 12px; line-height: 1.5; }
.card-bottom { margin-top: 16px; color: #8d8f96; font-size: 12px; }
.card-progress { margin-top: 12px; }
.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; color: #ddb879; background: #2f2a1f; font-size: 11px; font-weight: 700; white-space: nowrap; }
.status-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-badge.registration { color: #d5b976; background: #2f2a1f; }
.status-badge.live, .status-badge.approved { color: #91c49a; background: #1f2d23; }
.status-badge.finished, .status-badge.rejected { color: #a1a1a4; background: #26262a; }
.status-badge.pending { color: #e6bb78; background: #342b20; }
.progress-track { height: 4px; margin-top: 8px; border-radius: 4px; background: #2a2a2e; overflow: hidden; }
.progress-fill { height: 100%; background: var(--accent); }
.page-head, .page-heading { margin-bottom: 26px; }
.page-head .heading-row { align-items: end; }
.page-head .page-title { font-size: 46px; margin-top: 8px; }
.page-head p { color: var(--muted); margin: 10px 0 0; line-height: 1.6; }
.filter-bar, .tabs { display: flex; align-items: center; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.filter-btn, .tab-btn { flex: 0 0 auto; color: var(--muted); border: 0; border-bottom: 2px solid transparent; background: transparent; padding: 12px 16px; font-size: 13px; font-weight: 700; }
.filter-btn:hover, .tab-btn:hover { color: var(--text); }
.filter-btn.active, .tab-btn.active { color: var(--text); border-bottom-color: var(--accent); }
.empty-state { min-height: 220px; padding: 30px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 12px; color: #e0685c; background: #2a1c1a; border: 1px solid #44302d; }
.empty-title { margin: 0 0 6px; font: 700 21px var(--display); text-transform: uppercase; }
.empty-text { max-width: 340px; color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0 0 16px; }

/* Detail */
.detail-hero { padding: 28px; border: 1px solid #3c2c2a; border-radius: 14px; background: linear-gradient(110deg, #1d1514, #131315 65%); }
.back-btn { margin-bottom: 18px; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 12px; }
.back-btn:hover { color: var(--text); }
.detail-title { margin: 18px 0 10px; font: 800 clamp(34px, 4.2vw, 54px)/1 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.detail-copy { color: #b1b1b5; max-width: 700px; font-size: 14px; line-height: 1.65; }
.detail-metrics { display: flex; flex-wrap: wrap; gap: 18px 38px; margin-top: 24px; }
.metric { color: var(--muted); font-size: 12px; }
.metric strong { display: block; margin-top: 4px; color: var(--text); font: 700 21px var(--display); }
.detail-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.detail-hero + .tabs { margin-top: 18px; }
.detail-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.data-table { border-collapse: collapse; width: 100%; min-width: 550px; text-align: left; }
.data-table th { color: var(--muted); background: #17171a; font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.data-table th, .data-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.data-table td { color: #d7d7d5; font-size: 13px; }
.data-table tbody tr:last-child td, .data-table tbody tr:last-child th { border-bottom: 0; }
.data-table td:first-child { color: #f07567; font-weight: 700; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.team-card { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.team-card h3 { margin: 0 0 6px; font: 700 21px var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.player-list { list-style: none; margin: 14px 0 0; padding: 0; color: #b1b1b3; font-size: 13px; }
.player-list li { padding: 8px 0; border-top: 1px solid #2a2a2e; }
.result-list { display: grid; gap: 10px; }
.result-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.result-info h3 { margin: 0; font: 700 19px var(--display); text-transform: uppercase; }
.result-info .card-top { justify-content: flex-start; margin-bottom: 6px; }
.result-info p { margin: 4px 0 0; }
.result-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.notice { padding: 13px 15px; border: 1px solid var(--line-2); border-radius: 10px; background: #1a1a1d; color: #bebec0; font-size: 13px; line-height: 1.6; }
.notice-warning { border-color: #58402b; background: #2b231d; color: #e6c599; }
.notice-success { border-color: #2d4a35; background: #1b2a1f; color: #a7cfac; }
.link-row { display: flex; gap: 8px; margin: 8px 0 12px; }
.link-row .form-input { flex: 1; font-size: 12px; }
.viewer-panel { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.viewer-panel .section-kicker { margin-bottom: 10px; }
.rule-steps { padding: 5px 19px; }
.evidence-preview { min-height: 120px; display: grid; place-items: center; color: var(--muted); }

/* Modal & forms */
.modal-backdrop { position: fixed; z-index: 100; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.78); overflow-y: auto; }
.modal { width: min(100%, 540px); max-height: calc(100vh - 40px); overflow-y: auto; border: 1px solid var(--line-2); border-radius: 14px; background: #151517; box-shadow: 0 25px 80px #000a; }
.modal-header { display: flex; justify-content: space-between; gap: 15px; padding: 24px 26px 18px; border-bottom: 1px solid var(--line); }
.modal-title { margin: 0; font: 700 30px/1 var(--display); text-transform: uppercase; }
.modal-subtitle { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 8px 0 0; }
.modal-close { flex: 0 0 auto; height: 30px; width: 30px; border: 0; border-radius: 8px; background: var(--surface-2); color: #b7b7ba; }
.modal-body { padding: 22px 26px; }
.modal-footer { display: flex; justify-content: end; gap: 8px; padding: 0 26px 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.form-label { color: #c5c5c5; font-size: 12px; font-weight: 700; }
.form-input { min-width: 0; width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 8px; background: #0e0e10; color: var(--text); font-size: 14px; }
textarea.form-input { resize: vertical; min-height: 80px; }
.form-input:focus { outline: 0; border-color: #e26558; }
.form-hint { color: #7d7f86; font-size: 12px; line-height: 1.5; }
.form-error { color: #ff9084; background: #34201e; border-radius: 8px; padding: 10px 12px; font-size: 13px; line-height: 1.5; }
.form-error:empty, .form-error[hidden] { display: none; }
.form-section { padding-top: 8px; border-top: 1px solid var(--line); }
.form-section strong { font-size: 13px; }
.auth-switch { color: #acadaf; font-size: 13px; margin-top: 17px; }
.auth-switch button { border: 0; background: none; color: #f37a6d; padding: 0 3px; font-weight: 700; }
.upload-field { border: 1px dashed #5b4a47; border-radius: 10px; background: #1b1818; padding: 15px; }
.upload-field input { max-width: 100%; font-size: 12px; }
.toast { position: fixed; right: 25px; bottom: 25px; z-index: 110; max-width: min(380px, calc(100vw - 40px)); padding: 14px 18px; border: 1px solid #4a3a38; border-left: 3px solid var(--accent); border-radius: 10px; background: #1f1e20; color: #fff; box-shadow: 0 12px 35px #0008; font-size: 13px; }
#toast-root .toast + .toast { bottom: 90px; }

/* Zuschauer-Ansicht */
.viewer-mode .topnav { display: none; }
.viewer-mode .main-content { max-width: 860px; padding-top: 32px; }
.viewer-mode .footer-inner { max-width: 860px; }
.viewer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 30px; font: 800 23px/1 var(--display); letter-spacing: 1px; text-transform: uppercase; }
.viewer-brand .brand-mark { width: 28px; height: 28px; color: var(--accent); }
.viewer-brand strong span { color: var(--accent); }
.viewer-card { max-width: 430px; margin: 36px auto 0; padding: 30px; border: 1px solid #3c2c2a; border-radius: 14px; background: linear-gradient(110deg, #1d1514, #131315 65%); }
.viewer-title { margin: 6px 0 10px; font: 800 clamp(32px, 5vw, 46px)/1 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.viewer-hint { font-size: 13px; line-height: 1.6; margin: 14px 0 18px; }
.viewer-form { display: grid; gap: 14px; }
.viewer-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.viewer-head .muted { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 8px 0 0; font-size: 12px; }
.viewer-actions { display: flex; gap: 8px; }
.viewer-table-card { padding: 8px 14px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.viewer-table-card .game-tabs { padding: 14px 4px 4px; }

@media (max-width: 1100px) {
  .landing-hero { grid-template-columns: 1fr; gap: 40px; }
  .cards-grid, .tournament-list, .team-grid, .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .topnav-inner { flex-wrap: wrap; gap: 8px 16px; padding: 10px 18px; }
  .topnav-links { order: 3; flex: 1 0 100%; overflow-x: auto; }
  .top-actions { margin-left: auto; }
  .account-name { display: none; }
  .main-content { padding: 28px 18px 64px; }
  .footer-inner { padding: 20px 18px; }
  .detail-grid { grid-template-columns: 1fr; }
  .section { margin-top: 72px; }
  .section-head .section-title { font-size: 34px; }
}
@media (max-width: 560px) {
  .cards-grid, .tournament-list, .team-grid, .feature-grid, .steps-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .top-actions .primary-btn span { display: none; }
  .landing-text { font-size: 15px; }
  .algs-chart { gap: 3px; height: 150px; }
  .algs-points { font-size: 11px; }
  .algs-place { font-size: 9px; }
  .page-head .page-title { font-size: 36px; }
  .detail-hero { padding: 20px; }
  .modal-backdrop { padding: 10px; }
  .modal { max-height: calc(100vh - 20px); }
  .cta-band { padding: 36px 20px; }
}
