/* Responsive overrides are also loaded after the foundation in index.html. */
@media (min-width: 1600px) {
  .hero {
    max-width: 1500px;
    padding-top: 110px;
    padding-bottom: 105px;
  }
  .hero h1 {
    font-size: 70px;
  }
  .section,
  .sports-ribbon,
  .cta-section,
  .site-footer {
    max-width: 1320px;
  }
  .workspace .tournament-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1380px) {
  .section,
  .sports-ribbon,
  .cta-section,
  .site-footer {
    margin-left: 60px;
    margin-right: 60px;
  }
  .hero {
    gap: 30px;
  }
  .hero h1 {
    font-size: 58px;
  }
  .sports-ribbon {
    gap: 30px;
  }
  .sports-ribbon > div {
    gap: 22px;
  }
  .hero-proof {
    gap: 12px;
  }
  #hero-bracket {
    height: 288px;
  }
  #hero-bracket .bracket-scaled {
    transform: scale(0.48);
  }
  .workspace-content {
    padding: 30px;
  }
  .workspace-header {
    padding: 0 30px;
  }
  .workspace .card-meta {
    gap: 8px;
  }
  .workspace .tournament-grid {
    gap: 15px;
  }
  .workspace .card-meta > span {
    font-size: 8px;
  }
  .workspace .card-body h3 {
    font-size: 15px;
  }
  .workspace .card-body > .eyebrow {
    font-size: 7px;
  }
  .sidebar {
    width: 220px;
    padding-left: 13px;
    padding-right: 13px;
  }
  .workspace-main {
    margin-left: 220px;
    width: calc(100% - 220px);
  }
}
@media (max-width: 1150px) {
  .header-inner {
    padding: 0 35px;
    gap: 20px;
  }
  .desktop-nav {
    gap: 20px;
    font-size: 11px;
  }
  .header-actions {
    gap: 15px;
  }
  .hero {
    padding: 70px 35px;
    gap: 28px;
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 49px;
    letter-spacing: -2.3px;
  }
  .hero-copy > p {
    font-size: 13px;
  }
  .hero-actions {
    gap: 8px;
  }
  .hero-actions .button {
    font-size: 10px;
    padding: 10px 12px;
  }
  .hero-proof {
    gap: 12px;
    font-size: 8px;
  }
  .section,
  .sports-ribbon,
  .cta-section,
  .site-footer {
    margin-left: 35px;
    margin-right: 35px;
  }
  .sports-ribbon > div {
    gap: 20px;
  }
  .sports-ribbon > div > span {
    font-size: 11px;
  }
  .sports-ribbon > div .icon {
    width: 17px;
  }
  .sports-ribbon > span {
    font-size: 7px;
  }
  .preview-heading {
    padding: 18px 14px;
  }
  .preview-heading h2 {
    font-size: 14px;
  }
  .preview-heading .tournament-emblem {
    width: 35px;
    height: 35px;
    border-radius: 8px;
  }
  .preview-heading .tournament-emblem .icon {
    width: 20px;
  }
  #hero-bracket {
    height: 258px;
  }
  #hero-bracket .bracket-scaled {
    transform: scale(0.43);
  }
  .hero-product .preview-tabs {
    gap: 18px;
  }
  .floating-note {
    padding: 10px 15px;
    right: 12px;
  }
  .floating-note strong {
    font-size: 9px;
  }
  .floating-note span {
    font-size: 7px;
  }
  .card-art {
    height: 140px;
  }
  .card-body {
    padding: 17px 16px 0;
  }
  .card-body h3 {
    font-size: 16px;
  }
  .card-meta {
    font-size: 9px;
    gap: 7px;
  }
  .features-grid {
    gap: 14px;
    grid-template-columns: 1.1fr 1fr 1fr;
  }
  .feature-card {
    padding: 23px;
  }
  .feature-card h3 {
    font-size: 17px;
  }
  .feature-card p {
    font-size: 10px;
  }
  .mini-bracket {
    transform: scale(0.85);
    transform-origin: left center;
  }
  .how-section {
    gap: 55px;
  }
  .how-section h2 {
    font-size: 31px;
  }
  .site-footer {
    flex-wrap: wrap;
  }
  .sidebar {
    width: 195px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .sidebar .brand {
    font-size: 10px;
    padding: 0 5px;
    gap: 6px;
  }
  .sidebar .brand img {
    width: 25px;
    height: 25px;
  }
  .sidebar .brand-light {
    letter-spacing: 0.5px;
  }
  .sidebar nav > a {
    font-size: 10px;
    padding: 11px;
  }
  .workspace-main {
    margin-left: 195px;
    width: calc(100% - 195px);
  }
  .workspace-content {
    padding: 25px;
  }
  .workspace-header {
    padding: 0 25px;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat-card {
    padding: 15px;
  }
  .stat-card span {
    font-size: 9px;
  }
  .stat-card strong {
    font-size: 29px;
  }
  .stat-card small {
    font-size: 7px;
  }
  .workspace .tournament-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wizard-layout {
    grid-template-columns: 165px minmax(0, 1fr);
    gap: 22px;
  }
  .wizard-panel {
    padding: 24px;
  }
  .wizard-step strong {
    font-size: 10px;
  }
  .settings-grid {
    gap: 18px;
  }
  .tournament-title-row {
    margin: 0 8px;
    gap: 15px;
    flex-wrap: wrap;
  }
  .tournament-title-copy h1 {
    font-size: 25px;
  }
  .tournament-title-actions {
    margin: 0 0 0 auto;
  }
  .participant-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .match-list-row {
    gap: 12px;
    padding: 15px;
  }
  .match-list-teams {
    gap: 12px;
  }
  .match-list-teams strong {
    font-size: 10px;
  }
  .match-list-row > .button-row {
    margin-left: 0;
  }
  .auth-story {
    padding: 35px;
  }
  .auth-story-copy h1 {
    font-size: 37px;
  }
  .auth-form-side {
    padding: 30px 40px;
  }
  .tournament-tabs {
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 60px;
    padding-bottom: 55px;
    gap: 45px;
  }
  .hero-copy {
    text-align: center;
    max-width: 610px;
    margin: auto;
  }
  .hero-eyebrow {
    justify-content: center;
  }
  .hero h1 {
    font-size: 62px;
    max-width: none;
  }
  .hero-copy > p {
    margin: 22px auto 0;
    max-width: 450px;
    font-size: 14px;
  }
  .hero-actions,
  .hero-proof {
    justify-content: center;
  }
  .hero-actions .button {
    font-size: 12px;
    padding: 12px 19px;
  }
  .hero-proof {
    font-size: 9px;
    gap: 20px;
  }
  .hero-product {
    max-width: 620px;
    width: 100%;
    margin: auto;
  }
  .product-window {
    transform: none;
  }
  .preview-heading {
    padding: 22px;
  }
  .preview-heading h2 {
    font-size: 19px;
  }
  .preview-heading .eyebrow {
    font-size: 8px;
  }
  .preview-heading p {
    font-size: 10px;
  }
  .preview-heading .tournament-emblem {
    width: 44px;
    height: 44px;
  }
  .preview-tabs {
    font-size: 10px;
    height: 42px;
  }
  .preview-tabs > span {
    height: 42px;
  }
  #hero-bracket {
    height: 356px;
  }
  #hero-bracket .bracket-scaled {
    transform: scale(0.61);
  }
  .preview-footer {
    font-size: 9px;
    padding: 14px 20px;
  }
  .floating-note {
    right: 25px;
    bottom: -1px;
    padding: 12px 18px;
  }
  .floating-note strong {
    font-size: 10px;
  }
  .floating-note span {
    font-size: 8px;
  }
  .sports-ribbon {
    display: block;
    text-align: center;
    padding: 24px 0;
  }
  .sports-ribbon > span {
    display: block;
    max-width: none;
    margin-bottom: 18px;
    font-size: 8px;
  }
  .sports-ribbon > div {
    justify-content: center;
    gap: 24px;
  }
  .section {
    padding-top: 55px;
    padding-bottom: 55px;
  }
  .tournament-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .featured .tournament-card:last-child {
    display: none;
  }
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature-wide {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 20px;
  }
  .feature-visual {
    height: 90px;
  }
  .mini-bracket {
    transform: scale(1);
    transform-origin: center;
  }
  .feature-wide h3 {
    margin-top: 0;
  }
  .centered h2 {
    font-size: 35px;
  }
  .section-heading h2 {
    font-size: 29px;
  }
  .how-section {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .how-section > div:first-child {
    text-align: center;
  }
  .steps {
    max-width: 450px;
    margin: auto;
  }
  .formats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .formats-grid article {
    padding: 20px;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .faq-section > div:first-child {
    text-align: center;
  }
  .faq-list {
    max-width: 650px;
    width: 100%;
    margin: auto;
  }
  .cta-section h2 {
    font-size: 34px;
  }
  .sidebar {
    width: 190px;
  }
  .workspace-main {
    margin-left: 190px;
    width: calc(100% - 190px);
  }
  .workspace-header {
    padding: 0 20px;
    height: 65px;
  }
  .workspace-header .timezone-label {
    display: none;
  }
  .workspace-content {
    padding: 25px 20px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .page-heading {
    align-items: flex-start;
    gap: 15px;
    flex-wrap: wrap;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .page-heading > .button {
    font-size: 10px;
    min-height: 37px;
    padding: 8px 12px;
  }
  .compact-heading {
    flex-wrap: wrap;
    gap: 15px;
  }
  .search-box {
    min-width: 190px;
  }
  .wizard-layout {
    display: block;
  }
  .wizard-steps {
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding: 0;
    margin-bottom: 25px;
  }
  .wizard-step {
    margin: 0;
    flex-direction: column;
    gap: 7px;
    align-items: center;
    flex: 1;
  }
  .wizard-step:not(:nth-child(5)):after {
    display: none;
  }
  .wizard-step small {
    display: none;
  }
  .wizard-step strong {
    font-size: 8px;
  }
  .wizard-tip {
    display: none;
  }
  .wizard-panel {
    padding: 22px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .auth-page {
    grid-template-columns: 0.85fr 1fr;
  }
  .auth-story {
    padding: 30px;
  }
  .auth-story-copy h1 {
    font-size: 30px;
  }
  .auth-story .brand {
    font-size: 11px;
    gap: 7px;
  }
  .auth-story .brand-light {
    letter-spacing: 0.5px;
  }
  .auth-form-side {
    padding: 30px;
  }
  .auth-form-wrap h2 {
    font-size: 26px;
  }
  .auth-story-copy .eyebrow {
    font-size: 8px;
  }
  .auth-bottom {
    font-size: 7px;
  }
  .tournament-cover {
    height: 120px;
  }
  .cover-word {
    font-size: 75px;
  }
  .tournament-title-row {
    gap: 13px;
    padding-top: 18px;
  }
  .tournament-emblem.large {
    width: 64px;
    height: 64px;
    border-radius: 13px;
    margin-top: -60px;
  }
  .tournament-emblem.large .icon {
    width: 29px;
  }
  .tournament-title-copy h1 {
    font-size: 22px;
  }
  .tournament-meta {
    gap: 10px;
    font-size: 9px;
  }
  .tournament-title-actions {
    margin: 0;
  }
  .tournament-tabs {
    gap: 17px;
  }
  .tournament-tabs button {
    font-size: 10px;
  }
  .tournament-tabs .icon {
    width: 13px;
  }
  .bracket-controls > .muted {
    max-width: 240px;
    font-size: 8px;
  }
  .bracket-legend > span:last-child {
    display: none;
  }
  .match-list-row {
    flex-wrap: wrap;
  }
  .match-list-teams {
    min-width: calc(100% - 70px);
  }
  .match-list-row > div:nth-last-child(2) {
    margin-left: 65px;
  }
  .match-list-row > .button-row {
    margin-left: auto;
  }
  .participant-grid {
    gap: 12px;
  }
  .participant-card {
    padding: 14px;
  }
  .participant-card strong {
    font-size: 10px;
  }
  .participant-card .team-avatar {
    width: 30px;
    height: 30px;
  }
  .tournament-bottom {
    flex-direction: column;
    gap: 8px;
  }
  .champion-banner > span {
    display: none;
  }
  .workspace-footer {
    padding: 15px 20px;
  }
  .workspace-footer span {
    display: none;
  }
}
@media (max-width: 650px) {
  .header-inner {
    padding: 0 20px;
    gap: 10px;
  }
  .site-header {
    height: 70px;
  }
  .brand {
    font-size: 11px;
    gap: 7px;
  }
  .brand img {
    width: 29px;
    height: 29px;
  }
  .brand-light {
    letter-spacing: 0.8px;
  }
  .header-actions {
    gap: 12px;
  }
  .header-actions .button {
    min-height: 35px;
    padding: 8px 10px;
    font-size: 10px;
  }
  .header-actions .button .icon {
    display: none;
  }
  .header-actions .language-select {
    font-size: 9px;
    max-width: 45px;
    padding: 3px 0;
  }
  .login-link {
    display: none;
  }
  .hero {
    padding: 45px 20px 50px;
    gap: 37px;
  }
  .hero h1 {
    font-size: 45px;
    letter-spacing: -2.2px;
  }
  .hero-eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
  }
  .hero-copy > p {
    font-size: 12px;
    max-width: 350px;
    line-height: 1.9;
    margin-top: 20px;
  }
  .hero-actions {
    gap: 9px;
    margin-top: 25px;
  }
  .hero-actions .button {
    font-size: 10px;
    padding: 11px 12px;
  }
  .hero-proof {
    font-size: 7px;
    gap: 13px;
    margin-top: 19px;
  }
  .hero-proof .icon {
    width: 10px;
  }
  .window-bar {
    height: 28px;
    font-size: 6px;
    padding: 0 12px;
  }
  .preview-heading {
    padding: 16px 13px;
    gap: 9px;
  }
  .preview-heading h2 {
    font-size: 14px;
    margin-bottom: 6px;
  }
  .preview-heading .eyebrow {
    font-size: 6px;
  }
  .preview-heading p {
    font-size: 7px;
  }
  .preview-heading .tournament-emblem {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }
  .preview-heading .tournament-emblem .icon {
    width: 19px;
  }
  .preview-heading > .badge {
    font-size: 6px;
    padding: 3px 5px;
  }
  .preview-tabs {
    padding: 0 14px;
    font-size: 8px;
    height: 33px;
  }
  .preview-tabs > span {
    height: 33px;
  }
  .preview-tabs .icon {
    width: 10px;
  }
  #hero-bracket {
    height: 247px;
  }
  #hero-bracket .bracket-viewport {
    padding: 20px 13px;
  }
  #hero-bracket .bracket-scaled {
    transform: scale(0.405);
  }
  .preview-footer {
    font-size: 6px;
    padding: 10px 12px;
  }
  .preview-footer .icon {
    width: 9px;
  }
  .floating-note {
    padding: 9px 12px;
    right: 12px;
    bottom: 1px;
    border-radius: 7px;
    gap: 8px;
  }
  .floating-note > .icon {
    width: 23px;
    height: 23px;
    padding: 4px;
  }
  .floating-note strong {
    font-size: 8px;
  }
  .floating-note span {
    font-size: 6px;
  }
  .section,
  .sports-ribbon,
  .cta-section,
  .site-footer {
    margin-left: 20px;
    margin-right: 20px;
  }
  .sports-ribbon {
    padding: 22px 0;
  }
  .sports-ribbon > span {
    font-size: 7px;
    margin-bottom: 17px;
  }
  .sports-ribbon > div {
    gap: 15px 24px;
  }
  .sports-ribbon > div > span {
    font-size: 10px;
  }
  .sports-ribbon > div .icon {
    width: 16px;
    height: 16px;
  }
  .section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .section-heading {
    align-items: flex-start;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 23px;
  }
  .section-heading h2 {
    font-size: 27px;
    letter-spacing: -1px;
  }
  .section-heading p {
    font-size: 11px;
    margin-top: 10px;
  }
  .section-heading .eyebrow {
    font-size: 8px;
    margin-bottom: 9px;
  }
  .section-heading > .text-link {
    font-size: 10px;
  }
  .tournament-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .featured .tournament-card:last-child {
    display: block;
  }
  .card-art {
    height: 165px;
  }
  .art-word {
    font-size: 52px;
  }
  .card-body {
    padding: 20px 20px 0;
  }
  .card-body h3 {
    font-size: 19px;
  }
  .card-meta {
    font-size: 10px;
  }
  .card-body > .eyebrow {
    font-size: 9px;
  }
  .card-footer {
    font-size: 10px;
    padding: 15px 0;
  }
  .sample-caption {
    font-size: 8px;
  }
  .centered h2 {
    font-size: 29px;
    letter-spacing: -1px;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 25px;
  }
  .feature-wide {
    display: block;
    grid-column: auto;
  }
  .feature-visual {
    margin-bottom: 20px;
  }
  .feature-card {
    padding: 26px;
  }
  .feature-card h3 {
    font-size: 20px;
  }
  .feature-card p {
    font-size: 12px;
  }
  .feature-wide h3 {
    margin-top: 20px;
  }
  .feature-visual .mini-bracket {
    transform: none;
  }
  .url-chip {
    font-size: 10px;
    max-width: 270px;
  }
  .security-chip {
    font-size: 10px;
  }
  .how-section h2 {
    font-size: 29px;
    letter-spacing: -1px;
  }
  .how-section .eyebrow {
    font-size: 8px;
  }
  .steps {
    gap: 26px;
  }
  .step {
    gap: 17px;
  }
  .step h3 {
    font-size: 16px;
  }
  .step p {
    font-size: 11px;
  }
  .formats-grid h3 {
    font-size: 16px;
  }
  .formats-grid p {
    font-size: 11px;
  }
  .faq-section .eyebrow {
    font-size: 8px;
  }
  .faq-section h2 {
    font-size: 28px;
  }
  .faq-list summary {
    font-size: 12px;
    padding: 19px 0;
  }
  .faq-list details p {
    font-size: 11px;
  }
  .cta-section {
    padding: 40px 20px;
    margin-top: 10px;
    margin-bottom: 40px;
  }
  .cta-section h2 {
    font-size: 31px;
    letter-spacing: -1px;
  }
  .cta-section .eyebrow {
    font-size: 7px;
    line-height: 1.8;
  }
  .cta-section .button {
    font-size: 11px;
  }
  .site-footer {
    padding: 28px 0;
    align-items: flex-start;
    gap: 25px;
  }
  .site-footer > div:nth-child(2) {
    gap: 15px;
    flex-wrap: wrap;
    line-height: 2;
    font-size: 10px;
  }
  .site-footer > span {
    width: 100%;
    font-size: 8px;
  }
  .sidebar {
    left: -250px;
    width: 235px;
    transition: left 0.2s;
    box-shadow: 15px 0 60px #0008;
  }
  .sidebar.open {
    left: 0;
    top: 65px;
  }
  .sidebar .brand {
    font-size: 12px;
    padding: 0 8px;
  }
  .sidebar nav > a {
    font-size: 12px;
    padding: 13px;
  }
  .workspace-label {
    margin-top: 28px;
  }
  .workspace-main {
    margin: 0;
    width: 100%;
  }
  .workspace-header {
    height: 65px;
    padding: 0 17px;
    position: sticky;
    top: 0;
    background: #0b1422ed;
    backdrop-filter: blur(14px);
    z-index: 40;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .workspace-header > .breadcrumb {
    margin-right: auto;
    font-size: 10px;
    gap: 8px;
  }
  .workspace-header > div:last-child {
    gap: 0;
  }
  .workspace-header .language-select {
    font-size: 10px;
    max-width: 85px;
  }
  .workspace-content {
    padding: 24px 17px 35px;
  }
  .page-heading {
    margin-bottom: 24px;
    gap: 17px;
  }
  .page-heading h1 {
    font-size: 26px;
    line-height: 1.2;
    margin: 8px 0 10px;
  }
  .page-heading p {
    font-size: 11px;
    line-height: 1.8;
  }
  .page-heading > .button {
    font-size: 11px;
    padding: 10px 14px;
    min-height: 40px;
  }
  .stats-grid {
    gap: 12px;
    margin-bottom: 27px;
  }
  .stat-card {
    padding: 17px;
  }
  .stat-card span {
    font-size: 10px;
  }
  .stat-card .stat-icon {
    width: 25px;
    height: 25px;
  }
  .stat-card strong {
    font-size: 30px;
    margin: 12px 0 8px;
  }
  .stat-card small {
    font-size: 8px;
  }
  .compact-heading h2 {
    font-size: 19px;
  }
  .compact-heading .search-box {
    width: 100%;
    min-width: 0;
  }
  .search-box input {
    font-size: 12px;
    padding: 11px 0;
  }
  .filter-tabs {
    gap: 3px;
    margin-bottom: 20px;
  }
  .filter-tabs button {
    font-size: 10px;
    padding: 7px 10px;
  }
  .workspace .tournament-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .workspace .card-art {
    height: 150px;
  }
  .workspace .art-word {
    font-size: 45px;
  }
  .workspace .art-icon .icon {
    width: 85px;
    height: 85px;
  }
  .workspace .card-body {
    padding: 19px 19px 0;
  }
  .workspace .card-body h3 {
    font-size: 18px;
  }
  .workspace .card-body > .eyebrow {
    font-size: 8px;
  }
  .workspace .card-meta > span {
    font-size: 10px;
  }
  .activity-section {
    padding: 18px;
    margin-top: 28px;
  }
  .activity-row {
    gap: 10px;
  }
  .activity-row time {
    font-size: 7px;
  }
  .activity-row strong {
    font-size: 10px;
  }
  .activity-row p {
    font-size: 8px;
  }
  .activity-icon {
    width: 25px;
    height: 25px;
  }
  .empty-state {
    padding: 45px 20px;
  }
  .empty-state h2 {
    font-size: 20px;
  }
  .empty-state p {
    font-size: 11px;
  }
  .settings-grid {
    gap: 0;
  }
  .panel {
    padding: 22px;
  }
  .panel h2 {
    font-size: 20px;
  }
  .field {
    font-size: 12px;
    gap: 8px;
  }
  .field input,
  .field select,
  .field textarea {
    font-size: 14px;
    padding: 12px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .auth-page {
    display: block;
  }
  .auth-story {
    display: none;
  }
  .auth-form-side {
    min-height: 100vh;
    padding: 25px;
  }
  .auth-form-wrap {
    max-width: 390px;
    padding: 45px 0;
  }
  .auth-form-wrap h2 {
    font-size: 32px;
  }
  .auth-form-wrap > p {
    font-size: 12px;
  }
  .auth-form-wrap .field {
    margin-bottom: 20px;
  }
  .auth-home {
    font-size: 11px;
  }
  .auth-security {
    font-size: 9px;
  }
  .wizard-steps {
    gap: 7px;
    margin: 0 0 25px;
  }
  .wizard-step > span {
    width: 30px;
    height: 30px;
    font-size: 10px;
  }
  .wizard-step strong {
    font-size: 7px;
    text-align: center;
    line-height: 1.5;
    display: block;
  }
  .wizard-panel {
    padding: 20px;
  }
  .wizard-panel-heading h2 {
    font-size: 25px;
  }
  .wizard-panel-heading {
    margin-bottom: 24px;
  }
  .choice-card {
    padding: 16px 10px;
    gap: 8px;
    font-size: 11px;
  }
  .choice-card > .icon {
    width: 17px;
  }
  .format-choice {
    padding: 16px 12px;
    gap: 12px;
  }
  .format-choice strong {
    font-size: 12px;
  }
  .format-choice small {
    font-size: 10px;
  }
  .format-choice > .icon {
    width: 20px;
  }
  .roster-toolbar .button {
    font-size: 10px;
    gap: 6px;
    padding: 8px 10px;
  }
  .review-hero {
    gap: 13px;
  }
  .review-hero h2 {
    font-size: 18px;
  }
  .review-stats {
    padding: 16px 0;
  }
  .review-stats strong {
    font-size: 25px;
  }
  .review-stats span {
    font-size: 8px;
  }
  .seed-preview {
    grid-template-columns: 1fr;
  }
  .public-tournament {
    padding-top: 22px;
  }
  .demo-banner {
    gap: 10px;
    padding: 12px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .demo-banner > div {
    flex: 1;
  }
  .demo-banner span {
    font-size: 9px;
    display: block;
    line-height: 1.7;
    margin-top: 4px;
  }
  .demo-banner > a {
    margin-left: 28px;
    font-size: 9px;
  }
  .tournament-cover {
    height: 112px;
    padding: 19px;
  }
  .cover-label {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .cover-word {
    font-size: 62px;
    letter-spacing: -4px;
    right: 17px;
    top: 25px;
  }
  .tournament-title-row {
    padding: 0 0 20px;
    margin: 0;
    gap: 15px;
    align-items: flex-start;
  }
  .tournament-emblem.large {
    width: 62px;
    height: 62px;
    margin: -27px 0 0 15px;
    flex-shrink: 0;
  }
  .tournament-title-copy {
    width: 100%;
    flex: auto;
    padding: 0 3px;
  }
  .title-status {
    gap: 10px;
  }
  .tournament-title-copy h1 {
    font-size: 26px;
    line-height: 1.25;
    margin: 9px 0 13px;
  }
  .tournament-title-actions {
    position: absolute;
    right: 0;
    top: 9px;
  }
  .tournament-title-actions .button {
    font-size: 9px;
    min-height: 34px;
    padding: 7px 10px;
  }
  .live-update-label {
    font-size: 7px;
  }
  .tournament-meta {
    gap: 9px 15px;
    font-size: 9px;
  }
  .tournament-meta .icon {
    width: 12px;
  }
  .tournament-tabs {
    gap: 22px;
    margin-bottom: 20px;
  }
  .tournament-tabs button {
    padding: 13px 0;
    font-size: 11px;
    gap: 6px;
  }
  .tournament-tabs .icon {
    width: 14px;
  }
  .bracket-panel-top {
    padding: 17px 14px;
    gap: 10px;
  }
  .bracket-panel-top h2 {
    font-size: 17px;
  }
  .bracket-panel-top > div > span {
    font-size: 8px;
  }
  .bracket-panel-top .button {
    padding: 8px;
    font-size: 0;
    min-height: 32px;
  }
  .bracket-panel-top .button > span {
    display: none;
  }
  .bracket-panel-top .button .icon {
    width: 14px;
  }
  .bracket-panel-top .icon-button {
    width: 30px;
    height: 30px;
  }
  .bracket-controls {
    padding: 8px 10px;
    gap: 7px;
  }
  .bracket-controls > .muted {
    font-size: 7px;
    line-height: 1.5;
    max-width: 145px;
    gap: 6px;
  }
  .bracket-controls > .muted > .icon {
    display: none;
  }
  .control-group {
    gap: 1px;
  }
  .control-group .icon-button {
    width: 26px;
    height: 28px;
  }
  .control-group > span {
    font-size: 8px;
    min-width: 28px;
  }
  .control-group > .control-divider {
    margin: 0 3px;
  }
  .bracket-viewport {
    padding: 26px 20px 18px;
    max-height: 550px;
  }
  .bracket-legend {
    padding: 11px 15px;
    font-size: 8px;
    gap: 16px;
  }
  .participant-grid {
    grid-template-columns: 1fr;
  }
  .participant-card {
    padding: 17px;
  }
  .participant-card strong {
    font-size: 13px;
  }
  .participant-card small {
    font-size: 10px;
  }
  .participant-card .team-avatar {
    width: 37px;
    height: 37px;
  }
  .participant-card .icon-button {
    width: 30px;
  }
  .match-list-row {
    padding: 15px 12px;
    gap: 12px;
  }
  .match-list-id {
    min-width: 35px;
    font-size: 9px;
  }
  .match-list-id small {
    font-size: 7px;
  }
  .match-list-teams {
    gap: 8px;
    min-width: calc(100% - 50px);
  }
  .match-list-teams strong {
    font-size: 10px;
  }
  .score-pill {
    font-size: 13px;
    min-width: 55px;
    padding: 6px 8px;
    gap: 8px;
  }
  .match-list-row > div:nth-last-child(2) {
    margin-left: 48px;
  }
  .match-list-row .badge {
    font-size: 8px;
  }
  .match-list-row .icon-button {
    width: 28px;
    height: 28px;
  }
  .match-list-row .icon-button .icon {
    width: 15px;
  }
  .match-list-row > .button-row {
    gap: 5px;
  }
  .tournament-bottom {
    font-size: 8px;
    line-height: 1.7;
  }
  .champion-banner {
    padding: 18px;
    gap: 15px;
  }
  .champion-banner h2 {
    font-size: 21px;
  }
  .champion-banner .eyebrow {
    font-size: 8px;
  }
  .audit-entry summary {
    align-items: flex-start;
    gap: 8px;
    flex-direction: column;
  }
  .audit-entry summary > span:last-child {
    font-size: 8px;
  }
  .audit-entry pre {
    font-size: 9px;
    padding: 12px;
  }
  .table-wrap.panel {
    padding: 13px;
  }
  th {
    font-size: 8px;
    padding: 12px 10px;
  }
  td {
    font-size: 10px;
    padding: 13px 10px;
  }
  dialog {
    padding: 22px;
  }
  .modal-heading h2 {
    font-size: 20px;
  }
  .score-inputs {
    gap: 14px;
  }
  .score-inputs .field {
    font-size: 10px;
  }
  .score-inputs input {
    font-size: 28px;
  }
  .match-detail {
    gap: 10px;
    font-size: 11px;
  }
  .match-detail span {
    font-size: 21px;
  }
  .modal-actions .button {
    font-size: 11px;
  }
  .security-page h1 {
    font-size: 30px;
  }
  .security-page h2 {
    font-size: 21px;
  }
  .security-page p,
  .security-page li {
    font-size: 12px;
  }
  .security-page .info-box {
    padding: 15px;
  }
  .explore-page .page-heading h1 {
    font-size: 30px;
  }
  .explore-search {
    width: 100%;
  }
  .workspace-footer {
    padding: 15px 17px;
  }
}
@media (max-width: 380px) {
  .hero h1 {
    font-size: 39px;
  }
  .hero-actions .button {
    font-size: 9px;
    padding: 10px;
  }
  .hero-proof {
    gap: 9px;
    font-size: 6px;
  }
  #hero-bracket {
    height: 214px;
  }
  #hero-bracket .bracket-scaled {
    transform: scale(0.35);
  }
  .preview-heading h2 {
    font-size: 12px;
  }
  .preview-heading p {
    font-size: 6px;
  }
  .preview-heading .eyebrow {
    font-size: 5px;
  }
  .header-actions {
    gap: 8px;
  }
  .brand {
    font-size: 10px;
  }
  .brand img {
    width: 25px;
  }
  .section,
  .sports-ribbon,
  .cta-section,
  .site-footer {
    margin-left: 17px;
    margin-right: 17px;
  }
  .stats-grid {
    gap: 9px;
  }
  .stat-card {
    padding: 13px;
  }
  .stat-card span {
    font-size: 9px;
  }
  .tournament-title-copy h1 {
    font-size: 23px;
  }
  .bracket-controls > .muted {
    max-width: 120px;
  }
  .control-group > .control-divider {
    display: none;
  }
  .auth-form-side {
    padding: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .site-header,
  .site-footer,
  .sidebar,
  .workspace-header,
  .workspace-footer,
  .tournament-tabs,
  .tournament-bottom,
  .tournament-cover,
  .tournament-title-actions,
  .bracket-controls,
  .button-row,
  .demo-banner,
  .bracket-legend,
  .skip-link,
  #toasts {
    display: none !important;
  }
  .workspace-main {
    margin: 0;
    width: 100%;
  }
  .workspace-content,
  .public-tournament {
    padding: 0;
    margin: 0;
    max-width: none;
  }
  .bracket-viewport {
    max-height: none;
    overflow: visible;
    background: none;
    padding: 20px 0;
  }
  .bracket-panel {
    border: 0;
    overflow: visible;
  }
  .bracket-scaled,
  .bracket-canvas {
    transform: none !important;
  }
  .tournament-title-row {
    margin: 0;
  }
  .bracket-panel-top {
    padding: 10px 0;
  }
  body {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .tournament-emblem.large {
    display: none;
  }
  @page {
    size: landscape;
    margin: 10mm;
  }
}
