.a32tt-wrap{max-width:1180px;margin:0 auto;padding:18px;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172033}.a32tt-hero{border-radius:24px;padding:28px;background:linear-gradient(135deg,#111827,#1f2937);color:#fff;margin-bottom:18px}.a32tt-hero h1{margin:0 0 8px;font-size:clamp(28px,4vw,48px)}.a32tt-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:18px;margin:14px 0;box-shadow:0 8px 24px rgba(15,23,42,.06)}.a32tt-tournament-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.a32tt-tournament-card{position:relative;overflow:hidden}.a32tt-banner{width:100%;height:160px;object-fit:cover;border-radius:14px;margin-bottom:12px}.a32tt-badge{display:inline-block;background:#e7f8ef;color:#047857;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:700}.a32tt-meta{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.a32tt-meta span,.a32tt-team-chips span,.a32tt-player-list span{display:inline-flex;border:1px solid #d1d5db;border-radius:999px;padding:5px 10px;background:#f9fafb;margin:3px}.a32tt-prize{background:#fff7ed;border:1px solid #fed7aa;border-radius:12px;padding:10px}.a32tt-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.a32tt-btn,button.a32tt-btn{display:inline-flex;align-items:center;justify-content:center;background:#111827;color:#fff!important;text-decoration:none;border:0;border-radius:12px;padding:11px 16px;font-weight:700;cursor:pointer}.a32tt-btn-light{background:#f3f4f6!important;color:#111827!important}.a32tt-message{max-width:900px;margin:20px auto;padding:16px;background:#fff3cd;border:1px solid #ffe08a;border-radius:14px}.a32tt-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.a32tt-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.a32tt-grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.a32tt-card label{display:block;font-weight:700;margin-bottom:8px}.a32tt-card input,.a32tt-card select,.a32tt-card textarea{width:100%;box-sizing:border-box;border:1px solid #d1d5db;border-radius:10px;padding:10px;background:#fff}.a32tt-card textarea{min-height:84px}.a32tt-rules{background:#f9fafb;border:1px dashed #d1d5db;border-radius:12px;padding:12px;max-height:260px;overflow:auto}.a32tt-player-row,.a32tt-event-row{display:grid;grid-template-columns:1.5fr 1fr .7fr 1fr 1fr 1fr;gap:8px;margin-bottom:8px}.a32tt-event-row{grid-template-columns:1fr 1fr 1.5fr .6fr 1.2fr}.a32tt-table{width:100%;border-collapse:collapse;margin:8px 0 16px;background:#fff;border:1px solid #e5e7eb}.a32tt-table th,.a32tt-table td{border-bottom:1px solid #e5e7eb;padding:9px;text-align:left}.a32tt-table th{background:#f9fafb}.a32tt-fixture{display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid #e5e7eb;border-radius:12px;padding:12px;margin:8px 0;background:#fff}.a32tt-score{font-weight:800;font-size:18px}.a32tt-bracket{display:flex;gap:12px;flex-wrap:wrap}.a32tt-bracket-match{display:grid;gap:4px;min-width:210px;border:1px solid #e5e7eb;background:#f9fafb;border-radius:14px;padding:12px}.a32tt-bracket-match span{font-weight:800;color:#047857}.a32tt-bracket-match em{font-style:normal;color:#6b7280}.a32tt-inline-details{margin-top:12px}.a32tt-report{background:#ecfeff;border:1px solid #a5f3fc;padding:14px;border-radius:12px;margin:14px 0}.a32tt-admin .a32tt-card{max-width:1100px}.a32tt-admin input,.a32tt-admin select,.a32tt-admin textarea{max-width:100%}.a32tt-player-list{display:flex;flex-wrap:wrap;gap:5px}.a32tt-single h3{margin-top:24px}.a32tt-sponsors img{max-width:180px;height:auto;margin:8px}.button.a32tt-add-event,.button.a32tt-add-player{margin:8px 0 14px}
@media(max-width:760px){.a32tt-wrap{padding:10px}.a32tt-grid-2,.a32tt-grid-3,.a32tt-grid-4,.a32tt-player-row,.a32tt-event-row{grid-template-columns:1fr}.a32tt-fixture{align-items:flex-start;flex-direction:column}.a32tt-actions{flex-direction:column}.a32tt-btn{width:100%}.a32tt-table{display:block;overflow-x:auto;white-space:nowrap}.a32tt-hero{border-radius:18px;padding:20px}.a32tt-card{border-radius:16px;padding:14px}}

/* v1.0.1 usability polish: frontend, host dashboard, referee dashboard and PWA */
.a32tt-wrap{box-sizing:border-box;width:100%}.a32tt-wrap *{box-sizing:border-box}.a32tt-card h2,.a32tt-card h3{line-height:1.25}.a32tt-card h2{margin-top:0}.a32tt-card h3{margin-bottom:12px}.a32tt-card p{line-height:1.65}.a32tt-card details{border:1px solid #e5e7eb;border-radius:14px;background:#fbfdff;padding:12px 14px;margin:12px 0}.a32tt-card details summary{font-weight:800;cursor:pointer}.a32tt-register-form h3{padding-top:12px;margin-top:22px;border-top:1px solid #eef2f7}.a32tt-register-form h3:first-of-type{border-top:0;margin-top:12px;padding-top:0}.a32tt-card input:focus,.a32tt-card select:focus,.a32tt-card textarea:focus{outline:2px solid rgba(17,24,39,.12);border-color:#111827}.a32tt-card label input,.a32tt-card label select,.a32tt-card label textarea{margin-top:7px}.a32tt-player-row,.a32tt-event-row{padding:12px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;margin-bottom:12px}.a32tt-table{border-radius:14px;overflow:hidden}.a32tt-table th{font-size:12px;text-transform:uppercase;letter-spacing:.03em}.a32tt-table td,.a32tt-table th{vertical-align:middle}.a32tt-fixtures,.a32tt-results{display:grid;gap:12px}.a32tt-fixture{margin:0}.a32tt-score{white-space:nowrap}.a32tt-admin-actions,.a32tt-actions{align-items:center}.a32tt-btn:focus{outline:2px solid rgba(17,24,39,.25);outline-offset:2px}.a32tt-message{box-sizing:border-box}.a32tt-report{line-height:1.8}.a32tt-single>h2{font-size:clamp(24px,3vw,36px)}.a32tt-bracket-match{box-shadow:0 6px 18px rgba(15,23,42,.04)}
@media(max-width:980px){.a32tt-grid-3,.a32tt-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.a32tt-player-row{grid-template-columns:repeat(2,minmax(0,1fr))}.a32tt-event-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.a32tt-wrap{padding:12px}.a32tt-card{padding:16px;margin:12px 0}.a32tt-hero{margin-bottom:12px}.a32tt-grid-2,.a32tt-grid-3,.a32tt-grid-4,.a32tt-player-row,.a32tt-event-row{grid-template-columns:1fr}.a32tt-card input,.a32tt-card select,.a32tt-card textarea{min-height:44px;font-size:16px}.a32tt-fixture{padding:14px}.a32tt-score{font-size:16px}.a32tt-table{font-size:13px}.a32tt-table th,.a32tt-table td{padding:10px 9px}.a32tt-bracket{display:grid;grid-template-columns:1fr}.a32tt-bracket-match{min-width:0}.a32tt-card details{padding:10px 11px}.a32tt-actions .a32tt-btn,.a32tt-btn{min-height:44px}.a32tt-player-list span{width:100%;justify-content:flex-start}}
.a32tt-help{background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;padding:12px;line-height:1.55;color:#334155}

/* v1.0.4 tournament center - football organizer presentation */
.a32tt-center-cover{margin:-18px -18px 18px}.a32tt-center-cover .a32tt-banner{height:220px;border-radius:18px 18px 0 0;margin:0;width:100%}.a32tt-center-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:16px}.a32tt-center-actions{display:flex;gap:10px;flex-wrap:wrap}.a32tt-subline{margin:8px 0 0;color:#475569}.a32tt-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}.a32tt-summary-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:14px;display:grid;gap:6px}.a32tt-summary-card small{color:#64748b;text-transform:uppercase;letter-spacing:.05em;font-weight:700}.a32tt-summary-card strong{font-size:24px;line-height:1.1}.a32tt-auto-card{background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff}.a32tt-auto-card small,.a32tt-auto-card span{color:#cbd5e1}.a32tt-auto-card span{font-size:12px;line-height:1.5}.a32tt-center-nav{display:flex;gap:10px;flex-wrap:wrap;border-bottom:1px solid #e2e8f0;padding-bottom:12px;margin-bottom:16px}.a32tt-tab-btn{border:1px solid #dbe4ef;background:#fff;color:#0f172a;padding:10px 16px;border-radius:999px;font-weight:800;cursor:pointer}.a32tt-tab-btn.is-active{background:#0f172a;color:#fff;border-color:#0f172a}.a32tt-tab-panel{display:none}.a32tt-tab-panel.is-active{display:block}.a32tt-stage-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:10px}.a32tt-stage-heading h4{margin:0;font-size:20px}.a32tt-stage-heading span{font-size:13px;color:#64748b}.a32tt-match-board,.a32tt-table-stage{display:grid;gap:18px}.a32tt-match-group,.a32tt-group-table-card,.a32tt-stage-block{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:16px}.a32tt-group-title{font-size:18px;font-weight:800;margin:0 0 12px}.a32tt-fixtures{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px}.a32tt-fixture-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:14px;display:grid;gap:10px;box-shadow:0 6px 20px rgba(15,23,42,.05)}.a32tt-fixture-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.a32tt-fixture-time{font-size:12px;font-weight:800;color:#334155}.a32tt-fixture-state{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#047857;background:#ecfdf5;border-radius:999px;padding:5px 8px}.a32tt-fixture-team-row,.a32tt-bracket-team{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center}.a32tt-fixture-team-row strong,.a32tt-bracket-team strong{font-size:15px}.a32tt-score-pill{min-width:36px;text-align:center;padding:6px 9px;border-radius:10px;background:#111827;color:#fff;font-weight:800}.a32tt-fixture-meta{font-size:12px;color:#64748b}.a32tt-table-pro th{white-space:nowrap}.a32tt-table-pro td:first-child,.a32tt-table-pro th:first-child{width:44px}.a32tt-rank{display:inline-flex;width:28px;height:28px;border-radius:999px;align-items:center;justify-content:center;background:#e0f2fe;color:#0f172a;font-weight:900}.a32tt-last5{display:flex;gap:5px;align-items:center}.a32tt-form-dot{display:inline-flex;width:22px;height:22px;border-radius:999px;align-items:center;justify-content:center;font-size:11px;font-weight:800;background:#e5e7eb;color:#475569}.a32tt-form-dot.win{background:#16a34a;color:#fff}.a32tt-form-dot.draw{background:#94a3b8;color:#fff}.a32tt-form-dot.loss{background:#ef4444;color:#fff}.a32tt-form-dot.empty{background:#fff;border:1px solid #cbd5e1;color:transparent}.a32tt-bracket-board{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;align-items:start}.a32tt-bracket-col{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:16px;display:grid;gap:12px}.a32tt-bracket-col .a32tt-stage-heading{margin-bottom:0}.a32tt-bracket-match{display:grid;gap:10px;background:#fff;border:1px solid #e2e8f0;padding:14px;border-radius:16px}.a32tt-bracket-match small{color:#64748b;line-height:1.4}.a32tt-register-panel{margin-top:18px;border-top:1px solid #e2e8f0;padding-top:18px}
@media(max-width:980px){.a32tt-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.a32tt-center-header{flex-direction:column}.a32tt-center-actions{width:100%}}
@media(max-width:760px){.a32tt-center-cover{margin:-16px -16px 16px}.a32tt-center-cover .a32tt-banner{height:160px;border-radius:16px 16px 0 0}.a32tt-summary-grid{grid-template-columns:1fr}.a32tt-center-nav{overflow:auto;flex-wrap:nowrap;padding-bottom:10px}.a32tt-tab-btn{white-space:nowrap}.a32tt-fixtures,.a32tt-bracket-board{grid-template-columns:1fr}.a32tt-stage-heading{align-items:flex-start;flex-direction:column}.a32tt-fixture-top{align-items:flex-start;flex-direction:column}.a32tt-fixture-team-row strong,.a32tt-bracket-team strong{font-size:14px}}

/* v1.0.5 tournament operations improvements */
.a32tt-team-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.a32tt-team-group-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:14px}.a32tt-team-group-card h4{margin:0 0 10px}.a32tt-inline-form{display:flex;gap:6px;align-items:center;margin-top:6px;flex-wrap:wrap}.a32tt-completed-box{margin:16px 0;padding:18px;border-radius:18px;background:linear-gradient(135deg,#ecfdf5,#fff7ed);border:1px solid #bbf7d0}.a32tt-completed-box h3{margin-top:0}.a32tt-winner-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin-top:12px}.a32tt-winner-gallery figure{margin:0;background:#fff;border:1px solid #e2e8f0;border-radius:16px;overflow:hidden;box-shadow:0 8px 22px rgba(15,23,42,.06)}.a32tt-winner-gallery img{width:100%;height:220px;object-fit:cover;display:block}.a32tt-winner-gallery figcaption{padding:10px 12px;font-weight:900;text-align:center}.a32tt-summary-card span{font-size:12px;color:#64748b;line-height:1.4}.a32tt-tab-btn:first-child{box-shadow:0 4px 14px rgba(15,23,42,.08)}
@media(max-width:760px){.a32tt-winner-gallery{grid-template-columns:1fr}.a32tt-winner-gallery img{height:180px}.a32tt-inline-form{display:grid;grid-template-columns:1fr auto}.a32tt-inline-form input{min-width:0}}


/* v1.0.6 full responsive patch: frontend + PWA safe */
.a32tt-wrap{
  width:100%!important;
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding:clamp(10px,3vw,22px)!important;
  overflow-x:hidden!important;
}
.a32tt-wrap,
.a32tt-wrap *{box-sizing:border-box}
.a32tt-wrap img,
.a32tt-wrap video,
.a32tt-wrap iframe{max-width:100%;height:auto}
.a32tt-wrap h1,
.a32tt-wrap h2,
.a32tt-wrap h3,
.a32tt-wrap h4,
.a32tt-wrap p,
.a32tt-wrap span,
.a32tt-wrap a,
.a32tt-wrap strong,
.a32tt-wrap td,
.a32tt-wrap th{overflow-wrap:anywhere}
.a32tt-card{
  width:100%!important;
  max-width:100%!important;
  overflow:hidden;
}
.a32tt-tournament-grid{
  grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))!important;
}
.a32tt-banner,
.a32tt-center-cover .a32tt-banner{
  width:100%!important;
  height:clamp(140px,34vw,240px)!important;
  object-fit:cover!important;
  display:block!important;
}
.a32tt-center-header{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
}
.a32tt-center-header > *{min-width:0}
.a32tt-center-actions,
.a32tt-actions,
.a32tt-admin-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.a32tt-summary-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr))!important;
  gap:12px!important;
}
.a32tt-summary-card{min-width:0}
.a32tt-center-nav{
  display:flex!important;
  gap:10px!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  scrollbar-width:thin;
  padding-bottom:10px!important;
}
.a32tt-center-nav::-webkit-scrollbar{height:6px}
.a32tt-center-nav::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}
.a32tt-tab-btn{
  flex:0 0 auto!important;
  min-height:44px!important;
  white-space:nowrap!important;
  touch-action:manipulation;
}
.a32tt-fixtures,
.a32tt-match-board,
.a32tt-table-stage,
.a32tt-bracket-board,
.a32tt-team-groups,
.a32tt-winner-gallery{
  max-width:100%!important;
}
.a32tt-fixture-card,
.a32tt-bracket-col,
.a32tt-bracket-match,
.a32tt-match-group,
.a32tt-group-table-card,
.a32tt-stage-block{
  min-width:0!important;
  max-width:100%!important;
}
.a32tt-fixture-team-row,
.a32tt-bracket-team{
  min-width:0!important;
}
.a32tt-fixture-team-row strong,
.a32tt-bracket-team strong{
  min-width:0;
  overflow-wrap:anywhere;
}
.a32tt-score-pill{flex:0 0 auto}
.a32tt-table,
.a32tt-table-pro{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  white-space:nowrap!important;
  border-collapse:separate!important;
}
.a32tt-table thead,
.a32tt-table tbody{
  display:table!important;
  min-width:720px!important;
  width:100%!important;
}
.a32tt-table-pro thead,
.a32tt-table-pro tbody{
  min-width:860px!important;
}
.a32tt-table th,
.a32tt-table td{
  white-space:nowrap!important;
}
.a32tt-team-chips{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  max-width:100%;
}
.a32tt-team-chips span{
  max-width:100%;
  overflow-wrap:anywhere;
}
.a32tt-card input,
.a32tt-card select,
.a32tt-card textarea{
  max-width:100%!important;
}
.a32tt-grid-2,
.a32tt-grid-3,
.a32tt-grid-4{
  max-width:100%;
}
.a32tt-inline-form{max-width:100%}
.a32tt-inline-form input,
.a32tt-inline-form select{min-width:0!important}
@media(max-width:980px){
  .a32tt-center-header{flex-direction:column!important}
  .a32tt-center-actions{width:100%!important}
  .a32tt-fixtures{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))!important}
  .a32tt-bracket-board{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))!important}
}
@media(max-width:760px){
  .a32tt-wrap{padding:10px!important}
  .a32tt-hero{padding:18px!important;border-radius:16px!important}
  .a32tt-hero h1{font-size:28px!important}
  .a32tt-card{padding:14px!important;margin:10px 0!important;border-radius:16px!important}
  .a32tt-center-cover{margin:-14px -14px 14px!important}
  .a32tt-center-cover .a32tt-banner{height:150px!important;border-radius:16px 16px 0 0!important}
  .a32tt-summary-grid{grid-template-columns:1fr!important}
  .a32tt-summary-card{padding:12px!important}
  .a32tt-summary-card strong{font-size:22px!important}
  .a32tt-center-nav{margin-left:-4px;margin-right:-4px;padding-left:4px;padding-right:4px;flex-wrap:nowrap!important}
  .a32tt-tab-btn{font-size:13px!important;padding:10px 14px!important}
  .a32tt-fixtures,
  .a32tt-bracket-board,
  .a32tt-team-groups,
  .a32tt-winner-gallery{grid-template-columns:1fr!important}
  .a32tt-stage-heading{align-items:flex-start!important;flex-direction:column!important;gap:4px!important}
  .a32tt-fixture-top{align-items:flex-start!important;flex-direction:column!important;gap:6px!important}
  .a32tt-fixture-card,
  .a32tt-bracket-match,
  .a32tt-match-group,
  .a32tt-group-table-card,
  .a32tt-stage-block{padding:12px!important;border-radius:14px!important}
  .a32tt-grid-2,
  .a32tt-grid-3,
  .a32tt-grid-4,
  .a32tt-player-row,
  .a32tt-event-row{grid-template-columns:1fr!important}
  .a32tt-card input,
  .a32tt-card select,
  .a32tt-card textarea{
    width:100%!important;
    min-height:44px!important;
    font-size:16px!important;
  }
  .a32tt-actions,
  .a32tt-center-actions{flex-direction:column!important;align-items:stretch!important}
  .a32tt-btn,
  button.a32tt-btn,
  .a32tt-actions .a32tt-btn{
    width:100%!important;
    min-height:44px!important;
    text-align:center!important;
  }
  .a32tt-inline-form{display:grid!important;grid-template-columns:1fr!important}
  .a32tt-table{font-size:13px!important}
  .a32tt-table th,
  .a32tt-table td{padding:10px 8px!important}
  .a32tt-winner-gallery img{height:170px!important}
}
@media(max-width:420px){
  .a32tt-wrap{padding:8px!important}
  .a32tt-card{padding:12px!important}
  .a32tt-center-cover{margin:-12px -12px 12px!important}
  .a32tt-center-cover .a32tt-banner{height:125px!important}
  .a32tt-tab-btn{padding:9px 12px!important}
  .a32tt-summary-card strong{font-size:20px!important}
}


/* v1.0.7 mobile vertical-only UX: no horizontal scrolling */
@media(max-width:760px){
  html, body{overflow-x:hidden!important;max-width:100vw!important}
  .a32tt-wrap,
  .a32tt-wrap *,
  .a32tt-card,
  .a32tt-tournament-center,
  .a32tt-tab-panels,
  .a32tt-tab-panel,
  .a32tt-stage-block,
  .a32tt-match-group,
  .a32tt-group-table-card,
  .a32tt-bracket-col,
  .a32tt-fixture-card,
  .a32tt-bracket-match{
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }

  /* Tabs stack vertically/wrap; no sideways scroll */
  .a32tt-center-nav{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    overflow:visible!important;
    overflow-x:hidden!important;
    flex-wrap:wrap!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  .a32tt-tab-btn{
    width:100%!important;
    min-width:0!important;
    white-space:normal!important;
    line-height:1.25!important;
    padding:12px 8px!important;
  }

  /* Convert all frontend tables into vertical cards */
  .a32tt-table,
  .a32tt-table-pro{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:visible!important;
    overflow-x:hidden!important;
    overflow-y:visible!important;
    white-space:normal!important;
    border:0!important;
    background:transparent!important;
  }
  .a32tt-table thead,
  .a32tt-table-pro thead{
    display:none!important;
  }
  .a32tt-table tbody,
  .a32tt-table-pro tbody{
    display:block!important;
    width:100%!important;
    min-width:0!important;
  }
  .a32tt-table tr,
  .a32tt-table-pro tr{
    display:block!important;
    width:100%!important;
    margin:0 0 12px!important;
    padding:12px!important;
    border:1px solid #e2e8f0!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:0 6px 18px rgba(15,23,42,.04)!important;
  }
  .a32tt-table td,
  .a32tt-table-pro td{
    display:flex!important;
    align-items:flex-start!important;
    justify-content:space-between!important;
    gap:12px!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    border:0!important;
    border-bottom:1px solid #eef2f7!important;
    padding:8px 0!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    text-align:right!important;
  }
  .a32tt-table td:last-child,
  .a32tt-table-pro td:last-child{border-bottom:0!important}
  .a32tt-table td::before,
  .a32tt-table-pro td::before{
    content:attr(data-label);
    flex:0 0 42%;
    max-width:42%;
    font-weight:800;
    color:#64748b;
    text-align:left;
    text-transform:none;
  }
  .a32tt-table td > *,
  .a32tt-table-pro td > *{
    min-width:0!important;
    max-width:58%!important;
  }

  /* Match and bracket cards stay vertical */
  .a32tt-fixtures,
  .a32tt-match-board,
  .a32tt-bracket-board,
  .a32tt-table-stage,
  .a32tt-team-groups,
  .a32tt-winner-gallery{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    overflow:visible!important;
  }
  .a32tt-fixture-top,
  .a32tt-fixture-team-row,
  .a32tt-bracket-team{
    display:grid!important;
    grid-template-columns:1fr auto!important;
    width:100%!important;
    overflow:visible!important;
  }

  /* Full-screen registration form on mobile */
  #a32tt-register,
  .a32tt-register-panel{
    width:100vw!important;
    max-width:100vw!important;
    margin-left:calc(50% - 50vw)!important;
    margin-right:calc(50% - 50vw)!important;
    padding:16px!important;
    background:#fff!important;
    border-top:8px solid #f1f5f9!important;
    border-bottom:8px solid #f1f5f9!important;
    overflow-x:hidden!important;
  }
  #a32tt-register .a32tt-wrap,
  .a32tt-register-panel .a32tt-wrap{
    width:100%!important;
    max-width:100%!important;
    padding:0!important;
    margin:0!important;
  }
  #a32tt-register .a32tt-card,
  .a32tt-register-panel .a32tt-card{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:16px!important;
    border-radius:0!important;
    border-left:0!important;
    border-right:0!important;
    box-shadow:none!important;
  }
  .a32tt-register-form{
    width:100%!important;
    max-width:100%!important;
  }
  .a32tt-register-form .a32tt-grid-2,
  .a32tt-register-form .a32tt-grid-3,
  .a32tt-register-form .a32tt-grid-4{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  .a32tt-register-form label{
    width:100%!important;
  }
  .a32tt-register-form input,
  .a32tt-register-form select,
  .a32tt-register-form textarea{
    width:100%!important;
    max-width:100%!important;
    min-height:48px!important;
    font-size:16px!important;
  }
}
@media(max-width:420px){
  .a32tt-center-nav{grid-template-columns:1fr!important}
  .a32tt-table td,
  .a32tt-table-pro td{
    display:block!important;
    text-align:left!important;
  }
  .a32tt-table td::before,
  .a32tt-table-pro td::before{
    display:block!important;
    max-width:100%!important;
    margin-bottom:4px!important;
  }
  .a32tt-table td > *,
  .a32tt-table-pro td > *{
    max-width:100%!important;
  }
}


/* v1.0.10: mobile-only requested refinements. Desktop layout is intentionally unchanged. */
@media(max-width:760px){
  /* Top tournament info: 2 columns on mobile only. Odd last card spans full width. */
  .a32tt-summary-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    width:100%!important;
    overflow:visible!important;
    overflow-x:hidden!important;
  }
  .a32tt-summary-grid > .a32tt-summary-card{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    padding:10px!important;
    border-radius:14px!important;
    overflow:hidden!important;
  }
  .a32tt-summary-grid > .a32tt-summary-card:last-child:nth-child(odd){
    grid-column:1 / -1!important;
  }
  .a32tt-summary-card small{font-size:10px!important;line-height:1.25!important;letter-spacing:.03em!important;overflow-wrap:anywhere!important}
  .a32tt-summary-card strong{font-size:18px!important;line-height:1.15!important;overflow-wrap:anywhere!important}
  .a32tt-summary-card span{font-size:11px!important;line-height:1.3!important;overflow-wrap:anywhere!important}

  /* Teams / Matches / Knockout / Table / Rules: 2-column mobile tab grid; 5th tab full width. */
  .a32tt-center-nav{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    overflow:visible!important;
    overflow-x:hidden!important;
    padding-bottom:0!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  .a32tt-center-nav .a32tt-tab-btn{
    width:100%!important;
    min-width:0!important;
    white-space:normal!important;
    text-align:center!important;
    justify-content:center!important;
    line-height:1.25!important;
    font-size:13px!important;
    padding:11px 8px!important;
    min-height:44px!important;
    border-radius:14px!important;
  }
  .a32tt-center-nav .a32tt-tab-btn:nth-child(5):last-child{
    grid-column:1 / -1!important;
  }

  /* Featured, cover, winner and runner-up images responsive on mobile only. */
  .a32tt-tournament-card,
  .a32tt-center-cover,
  .a32tt-completed-box figure,
  .a32tt-winner-gallery figure{
    max-width:100%!important;
    overflow:hidden!important;
  }
  .a32tt-banner,
  .a32tt-center-cover .a32tt-banner,
  .a32tt-tournament-card .a32tt-banner,
  .a32tt-completed-box img,
  .a32tt-winner-gallery img,
  .a32tt-sponsors img{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    object-fit:cover!important;
  }
  .a32tt-center-cover .a32tt-banner,
  .a32tt-tournament-card .a32tt-banner{
    aspect-ratio:16/10!important;
    min-height:0!important;
    max-height:none!important;
  }
  .a32tt-winner-gallery img,
  .a32tt-completed-box img{
    aspect-ratio:4/3!important;
    border-radius:14px!important;
  }

  /* Registration full-screen stays mobile-only, with 5px left/right padding as requested. */
  #a32tt-register,
  .a32tt-register-panel{
    width:100vw!important;
    max-width:100vw!important;
    margin-left:calc(50% - 50vw)!important;
    margin-right:calc(50% - 50vw)!important;
    padding:16px 5px!important;
    overflow-x:hidden!important;
  }
  #a32tt-register .a32tt-wrap,
  .a32tt-register-panel .a32tt-wrap,
  .a32tt-register-form{
    padding-left:5px!important;
    padding-right:5px!important;
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  #a32tt-register .a32tt-card,
  .a32tt-register-panel .a32tt-card{
    padding-left:5px!important;
    padding-right:5px!important;
    width:100%!important;
    max-width:100%!important;
  }
}

@media(max-width:420px){
  /* Keep 2 columns even on small mobile; only 5th tab spans full width. */
  .a32tt-summary-grid,
  .a32tt-center-nav{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .a32tt-summary-grid > .a32tt-summary-card:last-child:nth-child(odd),
  .a32tt-center-nav .a32tt-tab-btn:nth-child(5):last-child{
    grid-column:1 / -1!important;
  }
}


/* v1.0.11: live /tournaments mobile optimization only; desktop remains untouched */
@media(max-width:760px){
  html, body{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
  }
  body .a32tt-wrap,
  body .a32tt-wrap *{
    box-sizing:border-box!important;
  }
  body .a32tt-wrap{
    width:100%!important;
    max-width:100%!important;
    padding-left:5px!important;
    padding-right:5px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    overflow-x:hidden!important;
  }
  body .a32tt-hero{
    margin-left:0!important;
    margin-right:0!important;
    padding:18px 12px!important;
    border-radius:16px!important;
  }
  body .a32tt-hero h1{
    font-size:26px!important;
    line-height:1.15!important;
  }
  body .a32tt-tournament-grid{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
  }
  body .a32tt-card,
  body .a32tt-tournament-card,
  body .a32tt-single,
  body .a32tt-tournament-center{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:8px!important;
    padding-right:8px!important;
    overflow-x:hidden!important;
  }
  body .a32tt-inline-details{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    overflow-x:hidden!important;
  }
  body .a32tt-center-header{
    display:flex!important;
    flex-direction:column!important;
    gap:10px!important;
    align-items:stretch!important;
  }
  body .a32tt-center-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    width:100%!important;
  }
  body .a32tt-center-actions .a32tt-btn,
  body .a32tt-actions .a32tt-btn{
    width:100%!important;
    min-height:44px!important;
  }

  /* Live page summary cards: exactly 2 columns on mobile, odd final card full width */
  body .a32tt-summary-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    width:100%!important;
    max-width:100%!important;
    margin:12px 0 14px!important;
    overflow:visible!important;
  }
  body .a32tt-summary-grid > .a32tt-summary-card{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:72px!important;
    padding:10px 8px!important;
    border-radius:14px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    align-items:flex-start!important;
    gap:4px!important;
    overflow:hidden!important;
  }
  body .a32tt-summary-grid > .a32tt-summary-card:last-child:nth-child(odd),
  body .a32tt-summary-grid > .a32tt-auto-card{
    grid-column:1 / -1!important;
  }
  body .a32tt-summary-card small{
    display:block!important;
    width:100%!important;
    font-size:10px!important;
    line-height:1.25!important;
    margin:0!important;
    overflow-wrap:anywhere!important;
  }
  body .a32tt-summary-card strong{
    display:block!important;
    width:100%!important;
    font-size:18px!important;
    line-height:1.15!important;
    margin:0!important;
    overflow-wrap:anywhere!important;
  }
  body .a32tt-summary-card span{
    display:block!important;
    width:100%!important;
    font-size:11px!important;
    line-height:1.35!important;
    overflow-wrap:anywhere!important;
  }

  /* Live page tabs: 2 columns on mobile; if 5 tabs, 5th is full width */
  body .a32tt-center-nav{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    width:100%!important;
    max-width:100%!important;
    margin:10px 0 14px!important;
    padding:0 0 12px!important;
    overflow:visible!important;
  }
  body .a32tt-center-nav .a32tt-tab-btn{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:44px!important;
    padding:10px 8px!important;
    border-radius:14px!important;
    font-size:13px!important;
    line-height:1.25!important;
    text-align:center!important;
    white-space:normal!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  body .a32tt-center-nav .a32tt-tab-btn:nth-child(5):last-child{
    grid-column:1 / -1!important;
  }

  /* Mobile cover / featured images optimized for the live page */
  body .a32tt-banner,
  body .a32tt-center-cover .a32tt-banner,
  body .a32tt-tournament-card .a32tt-banner,
  body .a32tt-completed-box img,
  body .a32tt-winner-gallery img,
  body .a32tt-sponsors img{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    object-fit:cover!important;
  }
  body .a32tt-center-cover{
    width:100%!important;
    max-width:100%!important;
    margin:0 0 12px!important;
    overflow:hidden!important;
    border-radius:16px!important;
  }
  body .a32tt-center-cover .a32tt-banner,
  body .a32tt-tournament-card .a32tt-banner{
    aspect-ratio:16/9!important;
    min-height:0!important;
    max-height:220px!important;
    border-radius:16px!important;
  }

  /* Full-screen registration area with exact 5px left/right padding */
  body #a32tt-register,
  body .a32tt-register-panel{
    width:100vw!important;
    max-width:100vw!important;
    margin-left:calc(50% - 50vw)!important;
    margin-right:calc(50% - 50vw)!important;
    padding-left:5px!important;
    padding-right:5px!important;
    padding-top:12px!important;
    padding-bottom:14px!important;
    overflow-x:hidden!important;
    border-top:1px solid #e2e8f0!important;
  }
  body #a32tt-register .a32tt-wrap,
  body .a32tt-register-panel .a32tt-wrap,
  body #a32tt-register .a32tt-card,
  body .a32tt-register-panel .a32tt-card,
  body .a32tt-register-form{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:5px!important;
    padding-right:5px!important;
    overflow-x:hidden!important;
  }
  body .a32tt-register-form .a32tt-grid-2,
  body .a32tt-register-form .a32tt-grid-3,
  body .a32tt-register-form .a32tt-grid-4{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    width:100%!important;
  }
  body .a32tt-register-form label{
    display:block!important;
    width:100%!important;
    margin:0!important;
    font-size:13px!important;
    line-height:1.35!important;
  }
  body .a32tt-register-form input,
  body .a32tt-register-form select,
  body .a32tt-register-form textarea{
    width:100%!important;
    max-width:100%!important;
    min-height:46px!important;
    font-size:16px!important;
    margin-top:6px!important;
  }
  body .a32tt-register-form .a32tt-btn,
  body .a32tt-register-form button{
    width:100%!important;
    min-height:48px!important;
  }
}

@media(max-width:420px){
  body .a32tt-summary-grid,
  body .a32tt-center-nav{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body .a32tt-summary-grid > .a32tt-summary-card:last-child:nth-child(odd),
  body .a32tt-summary-grid > .a32tt-auto-card,
  body .a32tt-center-nav .a32tt-tab-btn:nth-child(5):last-child{
    grid-column:1 / -1!important;
  }
}


/* v1.0.12: fix registration form cutting on mobile; desktop unchanged */
@media(max-width:760px){
  body #a32tt-register,
  body .a32tt-register-panel{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:5px!important;
    padding-right:5px!important;
    overflow:visible!important;
    overflow-x:hidden!important;
    transform:none!important;
    position:relative!important;
    left:auto!important;
    right:auto!important;
  }
  body #a32tt-register > *,
  body .a32tt-register-panel > *,
  body #a32tt-register .a32tt-wrap,
  body .a32tt-register-panel .a32tt-wrap,
  body #a32tt-register .a32tt-card,
  body .a32tt-register-panel .a32tt-card,
  body .a32tt-register-form{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:5px!important;
    padding-right:5px!important;
    overflow:visible!important;
    overflow-x:hidden!important;
    box-sizing:border-box!important;
  }
  body #a32tt-register h1,
  body #a32tt-register h2,
  body #a32tt-register h3,
  body .a32tt-register-panel h1,
  body .a32tt-register-panel h2,
  body .a32tt-register-panel h3,
  body .a32tt-register-form h1,
  body .a32tt-register-form h2,
  body .a32tt-register-form h3{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    font-size:clamp(24px,7vw,32px)!important;
    line-height:1.25!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
    white-space:normal!important;
  }
  body #a32tt-register p,
  body #a32tt-register .a32tt-meta,
  body .a32tt-register-panel p,
  body .a32tt-register-panel .a32tt-meta,
  body .a32tt-register-form p,
  body .a32tt-register-form .a32tt-meta{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    display:flex!important;
    flex-wrap:wrap!important;
    gap:4px 6px!important;
    line-height:1.45!important;
    overflow-wrap:anywhere!important;
    white-space:normal!important;
  }
  body .a32tt-register-form .a32tt-grid-2,
  body .a32tt-register-form .a32tt-grid-3,
  body .a32tt-register-form .a32tt-grid-4{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  body .a32tt-register-form label,
  body .a32tt-register-form input,
  body .a32tt-register-form select,
  body .a32tt-register-form textarea,
  body .a32tt-register-form button,
  body .a32tt-register-form .a32tt-btn{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
    white-space:normal!important;
  }
  body .a32tt-register-form input[type="file"]{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
    font-size:13px!important;
    padding:8px 6px!important;
    line-height:1.3!important;
  }
}
@media(max-width:420px){
  body #a32tt-register,
  body .a32tt-register-panel,
  body #a32tt-register .a32tt-card,
  body .a32tt-register-panel .a32tt-card,
  body .a32tt-register-form{
    padding-left:5px!important;
    padding-right:5px!important;
  }
  body #a32tt-register h2,
  body .a32tt-register-panel h2,
  body .a32tt-register-form h2{
    font-size:26px!important;
  }
}

/* v1.0.13: mobile checkbox and banner/cover image fixes; desktop unchanged */
.a32tt-accept-wrap{margin:14px 0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;}
.a32tt-accept-label{display:flex!important;align-items:flex-start!important;gap:8px!important;width:100%!important;max-width:100%!important;margin:0!important;line-height:1.35!important;font-weight:800!important;white-space:normal!important;overflow-wrap:break-word!important;box-sizing:border-box!important;}
.a32tt-accept-label input[type="checkbox"]{flex:0 0 16px!important;width:16px!important;min-width:16px!important;max-width:16px!important;height:16px!important;min-height:16px!important;max-height:16px!important;margin:2px 0 0 0!important;padding:0!important;display:inline-block!important;appearance:auto!important;-webkit-appearance:checkbox!important;}
.a32tt-accept-label span{display:block!important;flex:1 1 auto!important;min-width:0!important;max-width:100%!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important;}
@media(max-width:760px){
  body .a32tt-register-form .a32tt-accept-wrap,
  body #a32tt-register .a32tt-accept-wrap,
  body .a32tt-register-panel .a32tt-accept-wrap{padding-left:0!important;padding-right:0!important;margin:14px 0!important;overflow:visible!important;}
  body .a32tt-register-form .a32tt-accept-label,
  body #a32tt-register .a32tt-accept-label,
  body .a32tt-register-panel .a32tt-accept-label{display:flex!important;flex-direction:row!important;align-items:flex-start!important;justify-content:flex-start!important;gap:8px!important;width:100%!important;max-width:100%!important;text-align:left!important;font-size:13px!important;line-height:1.35!important;}
  body .a32tt-register-form .a32tt-accept-label input[type="checkbox"],
  body #a32tt-register .a32tt-accept-label input[type="checkbox"],
  body .a32tt-register-panel .a32tt-accept-label input[type="checkbox"]{width:16px!important;min-width:16px!important;max-width:16px!important;height:16px!important;min-height:16px!important;max-height:16px!important;margin:2px 0 0 0!important;padding:0!important;display:inline-block!important;flex:0 0 16px!important;}
  body .a32tt-register-form .a32tt-accept-label span,
  body #a32tt-register .a32tt-accept-label span,
  body .a32tt-register-panel .a32tt-accept-label span{width:auto!important;max-width:calc(100% - 24px)!important;display:block!important;flex:1 1 auto!important;min-width:0!important;}

  body .a32tt-tournament-card,
  body .a32tt-single,
  body .a32tt-card{overflow:hidden!important;}
  body .a32tt-banner,
  body .a32tt-tournament-card .a32tt-banner,
  body .a32tt-center-cover .a32tt-banner{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;min-height:0!important;object-fit:contain!important;object-position:center center!important;margin-left:auto!important;margin-right:auto!important;border-radius:14px!important;}
  body .a32tt-center-cover{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;overflow:hidden!important;background:#fff!important;border-radius:14px!important;}
  body .a32tt-tournament-card > img.a32tt-banner{margin-bottom:12px!important;background:#fff!important;}
  body .a32tt-completed-box img,
  body .a32tt-winner-gallery img{width:100%!important;max-width:100%!important;height:auto!important;object-fit:contain!important;object-position:center center!important;}
}
@media(max-width:420px){
  body .a32tt-banner,
  body .a32tt-tournament-card .a32tt-banner,
  body .a32tt-center-cover .a32tt-banner{border-radius:12px!important;}
}
