:root{
  --tb26-navy:#082b57;
  --tb26-blue:#0a72f5;
  --tb26-blue2:#16a2f5;
  --tb26-ink:#10233d;
  --tb26-muted:#66758a;
  --tb26-line:#dfe6ef;
  --tb26-line2:#edf1f6;
  --tb26-bg:#f5f7fa;
  --tb26-white:#fff;
  --tb26-soft:#edf5ff;
  --tb26-green:#0b8f68;
  --tb26-shadow:0 18px 50px rgba(16,48,88,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
.tb2026-standalone{margin:0;background:var(--tb26-bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--tb26-ink)}
.tb2026-standalone #wpadminbar{display:none!important}
.tb2026-standalone button,.tb2026-standalone input,.tb2026-standalone select{font:inherit}
.tb26-app{min-height:100vh;background:linear-gradient(180deg,#fbfcfe 0,#f6f8fb 42%,#f3f6fa 100%)}
.tb26-loading{min-height:100vh;display:flex;flex-direction:column;gap:15px;align-items:center;justify-content:center;color:var(--tb26-navy)}
.tb26-loader-line{width:160px;height:3px;background:#dbe5f2;overflow:hidden;position:relative}
.tb26-loader-line:after{content:"";position:absolute;inset:0;width:45%;background:var(--tb26-blue);animation:tb26load 1s infinite ease-in-out}
@keyframes tb26load{0%{transform:translateX(-100%)}100%{transform:translateX(250%)}}

/* Header */
.tb26-topbar{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.97);backdrop-filter:blur(18px);border-bottom:1px solid var(--tb26-line)}
.tb26-topbar:before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--tb26-navy) 0 32%,var(--tb26-blue) 32% 72%,var(--tb26-blue2) 72%)}
.tb26-top-inner{max-width:1280px;margin:auto;height:78px;padding:3px 26px 0;display:flex;align-items:center;gap:24px;position:relative}
.tb26-brand{display:flex;align-items:center;gap:12px;min-width:0}
.tb26-brand-logos{display:flex;gap:8px;align-items:center}
.tb26-brand-logos img{max-height:39px;max-width:108px;object-fit:contain}
.tb26-brand-text b{display:block;font-size:14px;color:var(--tb26-navy);white-space:nowrap;letter-spacing:-.01em}
.tb26-brand-text span{display:block;font-size:9px;font-weight:900;letter-spacing:.16em;color:var(--tb26-blue);text-transform:uppercase;margin-top:3px}
.tb26-nav{display:flex;gap:2px;margin-left:auto;align-items:center}
.tb26-nav button{border:0;background:transparent;color:#536277;font-weight:800;padding:10px 12px;border-radius:9px;cursor:pointer;font-size:13px;transition:.15s ease}
.tb26-nav button:hover{background:#f4f7fb;color:var(--tb26-navy)}
.tb26-nav button.active{background:var(--tb26-soft);color:var(--tb26-blue)}
.tb26-mobile-menu{display:none;margin-left:auto;border:1px solid var(--tb26-line);background:#fff;border-radius:10px;padding:8px 11px;font-weight:900;color:var(--tb26-navy)}
.tb26-mobile-nav{display:none}

.tb26-shell{max-width:1280px;margin:0 auto;padding:0 26px}

/* Home */
.tb26-home-head{position:relative;z-index:40;padding:34px 0 20px;overflow:visible}
.tb26-event-panel{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 390px;overflow:hidden;background:#fff;border:1px solid var(--tb26-line);border-radius:24px;box-shadow:var(--tb26-shadow)}
.tb26-event-panel:before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:linear-gradient(90deg,var(--tb26-navy) 0 46%,var(--tb26-blue) 46% 79%,var(--tb26-blue2) 79%)}
.tb26-event-copy{position:relative;padding:44px 44px 38px;min-height:286px;overflow:hidden}
.tb26-event-copy:after{content:"";position:absolute;width:360px;height:210px;right:-160px;top:30px;border:46px solid rgba(10,114,245,.045);transform:skewX(-18deg) rotate(-6deg);pointer-events:none}
.tb26-kicker{display:flex;align-items:center;gap:9px;color:var(--tb26-blue);font-size:10px;font-weight:950;letter-spacing:.17em;text-transform:uppercase}
.tb26-kicker:before{content:"";width:28px;height:3px;background:var(--tb26-blue)}
.tb26-event-copy h1{position:relative;z-index:1;margin:12px 0 12px;max-width:680px;color:var(--tb26-navy);font-size:clamp(42px,5.8vw,72px);line-height:.92;letter-spacing:-.052em;font-weight:950;text-transform:uppercase}
.tb26-event-copy h1 span{color:var(--tb26-blue)}
.tb26-event-copy p{position:relative;z-index:1;max-width:680px;margin:0;color:var(--tb26-muted);font-size:15px;line-height:1.62}
.tb26-event-meta{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:16px;margin-top:22px;color:#53657c;font-size:12px;font-weight:850}
.tb26-event-meta span{display:flex;align-items:center;gap:7px}
.tb26-event-meta span:before{content:"";width:5px;height:5px;border-radius:50%;background:var(--tb26-blue)}
.tb26-overview{padding:36px 30px;background:linear-gradient(160deg,#f5f9ff,#edf5ff);border-left:1px solid #dce8f7;display:flex;flex-direction:column;justify-content:center}
.tb26-overview-label{font-size:10px;font-weight:950;letter-spacing:.15em;color:var(--tb26-blue);text-transform:uppercase;margin-bottom:18px}
.tb26-overview-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #d5e2f2;border-left:1px solid #d5e2f2;background:rgba(255,255,255,.45)}
.tb26-overview-item{min-height:86px;padding:17px 15px;border-right:1px solid #d5e2f2;border-bottom:1px solid #d5e2f2}
.tb26-overview-item strong{display:block;color:var(--tb26-navy);font-size:27px;line-height:1;font-weight:950;letter-spacing:-.03em}
.tb26-overview-item span{display:block;color:#60738b;font-size:9px;font-weight:950;letter-spacing:.11em;text-transform:uppercase;margin-top:7px}
.tb26-overview-note{margin-top:16px;color:#60738b;font-size:11px;line-height:1.45}

.tb26-search-zone{position:relative;z-index:100;margin-top:18px}
.tb26-search-caption{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#62738a;margin:0 0 8px 4px}
.tb26-search-wrap{position:relative;z-index:200;background:#fff;border:1px solid #ced9e7;box-shadow:0 14px 36px rgba(16,48,88,.09);border-radius:16px;padding:8px;display:flex;align-items:center;gap:10px;max-width:none;isolation:isolate}
.tb26-search-wrap:focus-within{border-color:#9cc6fb;box-shadow:0 18px 42px rgba(10,114,245,.12),0 0 0 3px rgba(10,114,245,.07)}
.tb26-search-icon{width:44px;height:44px;border-radius:11px;background:var(--tb26-soft);display:flex;align-items:center;justify-content:center;color:var(--tb26-blue);font-weight:950;font-size:19px;flex:0 0 auto}
.tb26-search-wrap input{border:0!important;outline:none!important;box-shadow:none!important;flex:1;min-width:0;font-size:16px;padding:10px 5px;background:transparent;color:var(--tb26-ink)}
.tb26-search-wrap input::placeholder{color:#95a2b3}
.tb26-search-results{position:absolute;left:0;right:0;top:calc(100% + 9px);z-index:9999;background:#fff;border:1px solid #d5dfeb;border-radius:15px;box-shadow:0 24px 60px rgba(20,48,84,.20);overflow-y:auto;max-height:430px}
.tb26-search-results:empty{display:none}
.tb26-search-item{padding:13px 15px;border-bottom:1px solid var(--tb26-line2);display:flex;justify-content:space-between;gap:10px;align-items:center;cursor:pointer;background:#fff}
.tb26-search-item:last-child{border-bottom:0}
.tb26-search-item:hover{background:#f6faff}
.tb26-search-item b{display:block;color:var(--tb26-navy);font-size:14px}
.tb26-search-item small{display:block;color:var(--tb26-muted);margin-top:2px;font-size:11px}
.tb26-search-item>span{color:var(--tb26-blue);font-weight:950}

.tb26-section{position:relative;z-index:1;padding:24px 0 38px}
.tb26-section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:14px}
.tb26-section-head h2{margin:5px 0 0;color:var(--tb26-navy);font-size:28px;line-height:1.05;letter-spacing:-.025em}
.tb26-section-head p{margin:0;color:var(--tb26-muted);font-size:13px}
.tb26-eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--tb26-blue);font-size:10px;font-weight:950;letter-spacing:.14em;text-transform:uppercase}
.tb26-eyebrow:before{content:"";width:22px;height:3px;background:var(--tb26-blue)}

.tb26-hub-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.tb26-hub-card{position:relative;overflow:hidden;text-align:left;border:1px solid var(--tb26-line);background:#fff;border-radius:16px;padding:18px 18px 17px;min-height:146px;cursor:pointer;transition:.18s ease}
.tb26-hub-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#d8e7fb;transition:.18s ease}
.tb26-hub-card:hover{transform:translateY(-2px);box-shadow:0 13px 30px rgba(22,50,87,.075);border-color:#c8d5e5}
.tb26-hub-card:hover:before{background:var(--tb26-blue)}
.tb26-hub-card span{display:block;color:#7b8da4;font-size:9px;font-weight:950;letter-spacing:.13em}
.tb26-hub-card b{display:block;color:var(--tb26-navy);font-size:19px;margin:23px 0 6px;letter-spacing:-.02em}
.tb26-hub-card small{display:block;color:var(--tb26-muted);font-size:11px;line-height:1.45;padding-right:10px}
.tb26-hub-arrow{position:absolute;right:16px;top:14px;color:var(--tb26-blue);font-style:normal;font-weight:950}

.tb26-content-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:14px}
.tb26-card{background:#fff;border:1px solid var(--tb26-line);border-radius:17px;padding:20px}
.tb26-card-title{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:13px;border-bottom:1px solid var(--tb26-line2)}
.tb26-card-title h3,.tb26-card-title h2{margin:0;color:var(--tb26-navy);letter-spacing:-.02em}
.tb26-badge{display:inline-flex;align-items:center;background:var(--tb26-soft);color:var(--tb26-blue);border-radius:999px;padding:5px 9px;font-size:9px;font-weight:950;letter-spacing:.06em}
.tb26-empty{padding:30px 20px;text-align:center;color:var(--tb26-muted);background:#fafcff;border:1px dashed #cbd7e5;border-radius:13px;margin-top:14px;font-size:12px;line-height:1.55}
.tb26-empty b{display:block;color:var(--tb26-navy);font-size:15px;margin-bottom:5px}

/* Internal pages */
.tb26-page{padding-top:36px;padding-bottom:64px}
.tb26-page-header{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:22px}
.tb26-page-header h1{font-size:39px;color:var(--tb26-navy);margin:6px 0 0;line-height:1;letter-spacing:-.04em}
.tb26-page-header p{margin:0;color:var(--tb26-muted);font-size:13px}
.tb26-back{border:0;background:transparent;color:var(--tb26-blue);font-weight:900;cursor:pointer;padding:0}
.tb26-toolbar{display:flex;gap:10px;align-items:center;margin-bottom:15px;position:relative;z-index:2}
.tb26-toolbar input,.tb26-toolbar select{border:1px solid #ced8e4;border-radius:11px;background:#fff;padding:11px 12px;min-height:44px;color:var(--tb26-ink);outline:none}
.tb26-toolbar input:focus,.tb26-toolbar select:focus{border-color:#9fc7f7;box-shadow:0 0 0 3px rgba(10,114,245,.07)}
.tb26-toolbar input{flex:1}

.tb26-athlete-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.tb26-athlete-card,.tb26-team-card{border:1px solid var(--tb26-line);background:#fff;border-radius:13px;padding:13px 14px;cursor:pointer;display:flex;align-items:center;gap:12px;transition:.15s ease;min-width:0}
.tb26-athlete-card:hover,.tb26-team-card:hover{border-color:#b9cce3;box-shadow:0 8px 20px rgba(24,54,95,.06);transform:translateY(-1px)}
.tb26-avatar,.tb26-team-logo{width:46px;height:46px;border-radius:10px;border:1px solid #dce5ee;background:#f3f8ff;display:flex;align-items:center;justify-content:center;flex:0 0 auto;overflow:hidden;color:var(--tb26-blue);font-weight:950;font-size:12px}
.tb26-team-logo img{max-width:88%;max-height:88%;object-fit:contain}
.tb26-athlete-card>div:last-child,.tb26-team-card>div:last-child{min-width:0}
.tb26-athlete-card b,.tb26-team-card b{display:block;color:var(--tb26-navy);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tb26-athlete-card small,.tb26-team-card small{display:block;color:var(--tb26-muted);margin-top:3px;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tb26-team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}

.tb26-profile{display:grid;grid-template-columns:300px minmax(0,1fr);gap:17px}
.tb26-profile-card{background:#fff;border:1px solid var(--tb26-line);border-radius:17px;padding:22px;align-self:start;position:sticky;top:98px}
.tb26-profile-mark{width:86px;height:86px;border-radius:16px;background:#f2f7fd;border:1px solid #dce7f3;display:flex;align-items:center;justify-content:center;overflow:hidden;margin-bottom:17px}
.tb26-profile-mark img{max-width:88%;max-height:88%;object-fit:contain}
.tb26-profile-mark span{font-size:27px;font-weight:950;color:var(--tb26-blue)}
.tb26-profile-card h2{margin:0;color:var(--tb26-navy);font-size:24px;line-height:1.08;letter-spacing:-.03em}
.tb26-profile-meta{margin-top:10px;color:var(--tb26-muted);line-height:1.65;font-size:12px}
.tb26-primary-btn{margin-top:16px;width:100%;border:0;border-radius:10px;background:var(--tb26-blue);color:#fff;font-weight:900;padding:12px 14px;cursor:pointer;box-shadow:0 8px 18px rgba(10,114,245,.18)}
.tb26-primary-btn:hover{background:#0868df}
.tb26-entry-list{display:grid;gap:7px;margin-top:13px}
.tb26-entry-row{display:grid;grid-template-columns:68px 1fr auto;gap:12px;align-items:center;border:1px solid #e5eaf0;border-radius:11px;padding:11px 13px;background:#fff;cursor:default}
.tb26-entry-row[data-athlete]{cursor:pointer}
.tb26-entry-row[data-athlete]:hover{background:#f9fbfe}
.tb26-event-no{font-size:9px;font-weight:950;color:var(--tb26-blue);letter-spacing:.08em}
.tb26-entry-row b{color:var(--tb26-navy);font-size:13px}
.tb26-entry-row small{display:block;color:var(--tb26-muted);margin-top:3px;font-size:10px}
.tb26-seed{text-align:right}
.tb26-seed strong{display:block;color:var(--tb26-navy);font-size:13px}
.tb26-seed span{font-size:9px;color:var(--tb26-muted)}

.tb26-event-groups{display:grid;gap:11px}
.tb26-event-card{background:#fff;border:1px solid var(--tb26-line);border-radius:14px;overflow:hidden}
.tb26-event-card-head{padding:14px 16px;background:#f8fbff;border-bottom:1px solid var(--tb26-line)}
.tb26-event-card-head span{display:block;font-size:9px;color:var(--tb26-blue);font-weight:950;letter-spacing:.09em}
.tb26-event-card-head b{color:var(--tb26-navy);font-size:16px}
.tb26-result-row{display:grid;grid-template-columns:48px 1fr 90px 75px;gap:10px;align-items:center;padding:10px 16px;border-bottom:1px solid var(--tb26-line2);cursor:pointer}
.tb26-result-row:last-child{border-bottom:0}
.tb26-result-row:hover{background:#fafcff}
.tb26-result-row b{color:var(--tb26-navy)}
.tb26-result-row small{color:var(--tb26-muted)}
.tb26-points-table{width:100%;border-collapse:collapse}
.tb26-points-table th{text-align:left;font-size:9px;text-transform:uppercase;letter-spacing:.09em;color:var(--tb26-muted);padding:10px;border-bottom:1px solid var(--tb26-line)}
.tb26-points-table td{padding:12px 10px;border-bottom:1px solid var(--tb26-line2);font-size:13px}
.tb26-points-table td:last-child,.tb26-points-table th:last-child{text-align:right;font-weight:900}

/* Templates */
.tb26-template-athlete{max-width:900px}
.tb26-template-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.tb26-template-card{position:relative;border:1px solid var(--tb26-line);background:#fff;border-radius:15px;padding:18px;text-align:left;min-height:150px}
.tb26-template-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;border-radius:15px 0 0 15px;background:#e0e7f0}
.tb26-template-card.enabled{cursor:pointer}
.tb26-template-card.enabled:before{background:var(--tb26-blue)}
.tb26-template-card.enabled:hover{border-color:#b9cee7;box-shadow:0 9px 22px rgba(26,55,94,.07);transform:translateY(-1px)}
.tb26-template-card.disabled{opacity:.5}
.tb26-template-card b{display:block;color:var(--tb26-navy);font-size:16px}
.tb26-template-card p{color:var(--tb26-muted);font-size:11px;line-height:1.5;margin:8px 0}
.tb26-template-status{position:absolute;left:18px;bottom:14px;color:var(--tb26-blue);font-size:9px;font-weight:950;text-transform:uppercase;letter-spacing:.07em}

.tb26-generator{display:grid;grid-template-columns:310px minmax(0,1fr);gap:18px;align-items:start}
.tb26-controls{background:#fff;border:1px solid var(--tb26-line);border-radius:16px;padding:18px;align-self:start;position:sticky;top:98px}
.tb26-controls>b{display:block;color:var(--tb26-navy);font-size:15px}
.tb26-controls>small{display:block;color:var(--tb26-muted);margin-top:3px}
.tb26-controls label{display:block;margin:15px 0 6px;font-size:9px;font-weight:950;letter-spacing:.09em;color:var(--tb26-navy);text-transform:uppercase}
.tb26-controls select,.tb26-controls input[type=file]{width:100%;border:1px solid #ced8e4;border-radius:9px;padding:9px;background:#fff;color:var(--tb26-ink)}
.tb26-controls button{width:100%;border:0;border-radius:9px;padding:11px 12px;margin-top:9px;font-weight:900;cursor:pointer}
.tb26-controls .draw{background:#eef5ff;color:var(--tb26-blue)}
.tb26-controls .download{background:var(--tb26-blue);color:#fff}
.tb26-preview-shell{background:linear-gradient(135deg,#e9eef4,#dfe6ee);border:1px solid #d1dae5;border-radius:16px;padding:20px;display:flex;justify-content:center;overflow:auto;min-height:620px}
.tb26-canvas{width:min(100%,540px);height:auto;background:white;box-shadow:0 18px 45px rgba(17,37,65,.16);align-self:flex-start}
.tb26-generator-note{margin-top:10px;color:var(--tb26-muted);font-size:10px;line-height:1.4}

.tb26-footer{border-top:1px solid var(--tb26-line);padding:25px 0 34px;color:var(--tb26-muted);font-size:11px;background:rgba(255,255,255,.52)}
.tb26-footer-inner{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap}

@media(max-width:1080px){
  .tb26-event-panel{grid-template-columns:1fr 330px}
  .tb26-event-copy{padding:38px 34px 32px}
  .tb26-overview{padding:32px 24px}
  .tb26-hub-grid{grid-template-columns:repeat(3,1fr)}
  .tb26-team-grid{grid-template-columns:repeat(3,1fr)}
  .tb26-athlete-grid{grid-template-columns:repeat(2,1fr)}
  .tb26-content-grid{grid-template-columns:1fr}
  .tb26-template-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:820px){
  .tb26-event-panel{grid-template-columns:1fr}
  .tb26-overview{border-left:0;border-top:1px solid #dce8f7}
  .tb26-overview-grid{grid-template-columns:repeat(4,1fr)}
  .tb26-overview-item{min-height:78px}
  .tb26-overview-item strong{font-size:23px}
}
@media(max-width:760px){
  .tb26-top-inner{height:68px;padding:3px 15px 0}
  .tb26-brand-text span{display:none}
  .tb26-brand-text b{font-size:12px}
  .tb26-nav{display:none}
  .tb26-mobile-menu{display:block}
  .tb26-shell{padding:0 15px}
  .tb26-home-head{padding-top:20px}
  .tb26-event-panel{border-radius:18px}
  .tb26-event-copy{padding:32px 24px 27px;min-height:0}
  .tb26-event-copy h1{font-size:43px}
  .tb26-overview{padding:24px}
  .tb26-overview-grid{grid-template-columns:1fr 1fr}
  .tb26-search-wrap{padding:6px;border-radius:13px}
  .tb26-search-icon{width:39px;height:39px}
  .tb26-search-results{max-height:55vh}
  .tb26-hub-grid{grid-template-columns:1fr 1fr}
  .tb26-page-header{align-items:flex-start;flex-direction:column}
  .tb26-page-header h1{font-size:33px}
  .tb26-athlete-grid,.tb26-team-grid,.tb26-template-grid{grid-template-columns:1fr}
  .tb26-profile{grid-template-columns:1fr}
  .tb26-profile-card,.tb26-controls{position:static}
  .tb26-entry-row{grid-template-columns:60px 1fr}
  .tb26-seed{grid-column:2;text-align:left;display:flex;gap:8px;align-items:center}
  .tb26-generator{grid-template-columns:1fr}
  .tb26-preview-shell{min-height:0;padding:12px}
  .tb26-result-row{grid-template-columns:40px 1fr 70px}
  .tb26-result-row>:nth-child(4){display:none}
  .tb26-mobile-nav{position:absolute;top:60px;right:15px;width:220px;padding:8px;background:#fff;border:1px solid var(--tb26-line);border-radius:12px;box-shadow:0 14px 36px rgba(21,41,70,.16);z-index:1200}
  .tb26-mobile-nav.open{display:grid}
  .tb26-mobile-nav button{border:0;background:#fff;text-align:left;padding:11px;border-radius:8px;color:var(--tb26-navy);font-weight:800}
  .tb26-mobile-nav button:hover{background:var(--tb26-soft)}
}
@media(max-width:480px){
  .tb26-event-copy h1{font-size:38px}
  .tb26-event-meta{display:grid;gap:8px}
  .tb26-hub-grid{grid-template-columns:1fr}
  .tb26-section-head h2{font-size:24px}
  .tb26-overview{padding:20px}
}

/* V2.2 template flow + photo editor */
.tb26-app{background-image:var(--tb26-page-bg);background-size:cover;background-position:center top;background-repeat:no-repeat;background-attachment:fixed;background-color:#f6f8fb}
.tb26-template-context{display:flex;align-items:center;gap:18px;margin-bottom:18px;flex-wrap:wrap}
.tb26-template-context>div{display:grid;gap:2px}
.tb26-template-context span{font-size:9px;font-weight:950;letter-spacing:.12em;color:var(--tb26-blue)}
.tb26-template-context b{font-size:17px;color:var(--tb26-navy)}
.tb26-template-context small{font-size:11px;color:var(--tb26-muted)}
.tb26-review-toggle{display:flex;align-items:flex-start;gap:12px;padding:13px 15px;border:1px solid #cfe0f5;background:#f7fbff;border-radius:13px;margin:0 0 16px;max-width:620px;cursor:pointer}
.tb26-review-toggle input{margin-top:3px}
.tb26-review-toggle b,.tb26-review-toggle small{display:block}
.tb26-review-toggle b{color:var(--tb26-navy);font-size:13px}
.tb26-review-toggle small{color:var(--tb26-muted);font-size:10px;margin-top:2px;line-height:1.4}
.tb26-template-card.review{border-style:dashed;background:#fbfdff}
.tb26-template-card.review:before{background:#8ebeff}
.tb26-template-card.review .tb26-template-status{color:#5e91cf}
.tb26-review-note{display:flex;gap:10px;align-items:flex-start;border:1px solid #cfe0f5;background:#f5f9ff;border-radius:12px;padding:12px 14px;margin-bottom:14px;color:#5c6e84;font-size:11px}
.tb26-review-note b{color:var(--tb26-blue);white-space:nowrap}
.tb26-selected-athlete{border-bottom:1px solid var(--tb26-line);padding-bottom:14px;margin-bottom:4px}
.tb26-selected-athlete span{display:block;font-size:9px;font-weight:950;letter-spacing:.12em;color:var(--tb26-blue);margin-bottom:5px}
.tb26-selected-athlete b{display:block;color:var(--tb26-navy);font-size:16px}
.tb26-selected-athlete small{display:block;color:var(--tb26-muted);font-size:10px;margin-top:2px}
.tb26-photo-help{font-size:10px;line-height:1.4;color:var(--tb26-muted);margin-top:6px}
.tb26-controls input[type=range]{width:100%;accent-color:var(--tb26-blue)}
.tb26-photo-tools{display:flex;gap:8px}
.tb26-photo-tools button,.tb26-mini-action{border:1px solid #cfdae7!important;background:#fff!important;color:var(--tb26-navy)!important;box-shadow:none!important;margin-top:0!important;padding:7px 9px!important;font-size:10px!important;width:auto!important}
.tb26-control-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:15px}
.tb26-control-head label{margin:0!important}
.tb26-control-head>div{display:flex;gap:5px}
.tb26-event-picker{display:grid;gap:7px;max-height:300px;overflow:auto;border:1px solid var(--tb26-line);border-radius:10px;padding:7px;background:#f9fbfd}
.tb26-event-picker>label{display:grid!important;grid-template-columns:18px 1fr;gap:8px;align-items:start;margin:0!important;background:#fff;border:1px solid #e5ebf2;border-radius:8px;padding:8px;cursor:pointer;text-transform:none!important;letter-spacing:0!important}
.tb26-event-picker input{margin-top:3px}
.tb26-event-picker b{display:block;color:var(--tb26-blue);font-size:10px}
.tb26-event-picker small{display:block;color:var(--tb26-ink);font-size:10px;margin-top:2px;line-height:1.25}
.tb26-canvas{touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}
.tb26-canvas:active{cursor:grabbing}
.tb26-bg-preview{margin:8px 0 12px;border:1px solid #d9e2ec;border-radius:10px;overflow:hidden;background:#f7f9fb;max-width:420px;max-height:180px}
.tb26-bg-preview img{width:100%;height:180px;object-fit:cover;display:block}

@media(max-width:760px){
  .tb26-template-context{align-items:flex-start}
  .tb26-review-note{flex-direction:column;gap:4px}
  .tb26-event-picker{max-height:240px}
}

/* V2.3 demo athlete: admin-only review without contaminating official data */
.tb26-demo-athlete{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px;padding:18px 20px;border:1px solid #9fc8ff;border-radius:16px;background:linear-gradient(135deg,#f7fbff 0%,#edf6ff 100%);box-shadow:0 8px 24px rgba(8,120,255,.07)}
.tb26-demo-athlete>div{display:grid;gap:4px}
.tb26-demo-athlete span{font-size:9px;font-weight:950;letter-spacing:.13em;color:#0878ff}
.tb26-demo-athlete b{font-size:17px;color:#0b2447}
.tb26-demo-athlete small{font-size:11px;line-height:1.45;color:#64778e}
.tb26-demo-athlete button{appearance:none;border:0;border-radius:10px;background:#0878ff;color:#fff;font-weight:900;font-size:12px;padding:11px 15px;cursor:pointer;white-space:nowrap}
.tb26-demo-athlete button:hover{filter:brightness(.96)}
.tb26-template-context.is-demo{padding:12px 14px;border:1px solid #b8d8ff;border-radius:12px;background:#f5faff}
.tb26-template-card.demo-enabled{border-color:#c5ddfa;background:#fbfdff}
.tb26-template-card.demo-enabled:before{background:#0878ff}
.tb26-template-card.demo-enabled .tb26-template-status{color:#0878ff}
@media(max-width:680px){.tb26-demo-athlete{align-items:flex-start;flex-direction:column}.tb26-demo-athlete button{width:100%}}


/* V2.5 header + hero redesign */
.tb26-app{background:linear-gradient(180deg,#f6f8fb 0%,#f2f5f9 40%,#f7f9fc 100%);background-image:none!important;background-attachment:scroll;background-color:#f6f8fb}
.tb26-topbar{background:rgba(255,255,255,.98);box-shadow:0 10px 26px rgba(14,32,58,.06);border-bottom:1px solid rgba(222,230,239,.85)}
.tb26-topbar:before{display:none}
.tb26-top-ribbon{background:linear-gradient(90deg,var(--tb26-navy) 0%,#0b3970 42%,var(--tb26-blue) 100%);color:#fff}
.tb26-top-ribbon-inner{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.tb26-top-inner{height:88px;padding:0 26px;gap:22px}
.tb26-brand-logos img{max-height:54px;max-width:164px;object-fit:contain}
.tb26-brand-mark{width:64px;height:46px;border-radius:14px;background:linear-gradient(135deg,#0b2b57,#0a72f5);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:950;letter-spacing:.04em;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.tb26-brand-text small{display:block;color:#69829f;font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;margin-bottom:2px}
.tb26-brand-text b{font-size:21px;letter-spacing:-.03em}
.tb26-brand-text span{font-size:10px;letter-spacing:.19em;margin-top:5px}
.tb26-nav{gap:6px}
.tb26-nav button{padding:10px 13px;border-radius:999px;font-size:13px}
.tb26-nav button.active{background:var(--tb26-navy);color:#fff}
.tb26-powered{display:flex;align-items:center;gap:10px;margin-left:8px;padding:9px 12px;border-radius:16px;background:#f4f7fb;border:1px solid #e0e7ef;white-space:nowrap}
.tb26-powered-logo{width:76px;height:26px;display:flex;align-items:center;justify-content:center}
.tb26-powered-logo img{max-width:100%;max-height:100%;object-fit:contain}
.tb26-powered-copy{display:grid;line-height:1.05}
.tb26-powered-copy span,.tb26-mobile-powered span{font-size:9px;font-weight:900;letter-spacing:.14em;text-transform:uppercase;color:#68829e}
.tb26-powered-copy b,.tb26-mobile-powered b{font-size:13px;color:var(--tb26-navy);letter-spacing:-.02em}
.tb26-home-head{padding:28px 0 6px}
.tb26-event-panel{grid-template-columns:minmax(0,1fr) 360px;border:0;border-radius:30px;box-shadow:0 26px 60px rgba(9,30,60,.12);background:linear-gradient(90deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.96) 62%,rgba(247,250,255,.92) 62%,rgba(247,250,255,.92) 100%);overflow:hidden}
.tb26-event-panel:before{display:none}
.tb26-event-panel:after{content:"";position:absolute;inset:0;background-image:linear-gradient(90deg,rgba(255,255,255,.98) 0 52%,rgba(255,255,255,.72) 63%,rgba(255,255,255,.18) 100%),var(--tb26-hero-bg);background-position:left top,right center;background-size:100% 100%,cover;background-repeat:no-repeat;pointer-events:none}
.tb26-event-copy,.tb26-overview{position:relative;z-index:1}
.tb26-event-copy{padding:52px 52px 44px;min-height:330px}
.tb26-event-copy:after{display:none}
.tb26-kicker{font-size:11px;letter-spacing:.18em}
.tb26-kicker:before{width:34px;height:4px}
.tb26-event-copy h1{max-width:620px;font-size:clamp(48px,6vw,78px);margin:14px 0 16px}
.tb26-event-copy p{max-width:640px;font-size:16px;line-height:1.72;color:#5b6d84}
.tb26-event-meta{margin-top:18px;font-size:12px;font-weight:900;color:#36506f}
.tb26-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}
.tb26-cta-btn{border:1px solid #d5dfeb;background:rgba(255,255,255,.88);color:var(--tb26-navy);border-radius:999px;padding:13px 18px;font-weight:900;cursor:pointer;box-shadow:0 10px 24px rgba(10,28,54,.06);transition:.18s ease}
.tb26-cta-btn:hover{transform:translateY(-1px);box-shadow:0 14px 28px rgba(10,28,54,.09)}
.tb26-cta-btn.primary{background:var(--tb26-navy);color:#fff;border-color:var(--tb26-navy)}
.tb26-overview{padding:34px 30px 30px;background:linear-gradient(180deg,rgba(247,250,255,.9),rgba(240,246,255,.82));border-left:1px solid rgba(209,224,243,.78);backdrop-filter:blur(4px)}
.tb26-overview-grid{background:rgba(255,255,255,.68)}
.tb26-overview-item strong{font-size:30px}
.tb26-overview-note{margin-top:18px;font-size:11px;line-height:1.55;color:#4b637d}
.tb26-search-zone{margin-top:-24px;z-index:110}
.tb26-search-caption{margin:0 0 10px 10px;color:#5c718c}
.tb26-search-wrap{border-radius:20px;padding:10px 12px;box-shadow:0 20px 40px rgba(16,48,88,.12)}
.tb26-section{padding-top:34px}
.tb26-hub-card{min-height:156px;border-radius:18px}
.tb26-card{border-radius:20px;box-shadow:0 12px 30px rgba(15,35,62,.04)}
.tb26-footer{margin-top:20px;background:#fff}
@media(max-width:1100px){.tb26-top-inner{padding:0 18px}.tb26-powered{padding:8px 10px}.tb26-brand-text b{font-size:18px}}
@media(max-width:980px){.tb26-event-panel{grid-template-columns:1fr}.tb26-event-panel:after{background-image:linear-gradient(180deg,rgba(255,255,255,.98) 0 58%,rgba(255,255,255,.88) 72%,rgba(255,255,255,.75) 100%),var(--tb26-hero-bg)}.tb26-overview{border-left:0;border-top:1px solid rgba(209,224,243,.78)}}
@media(max-width:760px){.tb26-top-ribbon-inner{font-size:9px;min-height:34px}.tb26-top-inner{height:72px}.tb26-powered{display:none}.tb26-mobile-powered{display:grid;gap:2px;padding:10px 11px;border-top:1px solid var(--tb26-line2);margin-top:6px}.tb26-event-copy{padding:34px 22px 26px}.tb26-event-copy h1{font-size:42px}.tb26-search-zone{margin-top:14px}}


/* =========================================================
   V2.6 · FULL VISUAL RESET
   Event-site header + immersive hero, inspired by large games sites.
   ========================================================= */
.tb2026-standalone{background:#f4f6f9!important}
.tb26-app{min-height:100vh;background:#f4f6f9!important;background-image:none!important;color:#10233d}

.tb26-topbar{position:sticky!important;top:0!important;z-index:5000!important;background:#071f3f!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important}
.tb26-topbar:before,.tb26-top-ribbon{display:none!important}
.tb26-top-inner{max-width:1380px!important;height:88px!important;padding:0 28px!important;display:flex!important;align-items:center!important;gap:22px!important}
.tb26-brand{appearance:none;border:0;background:transparent;display:flex;align-items:center;gap:16px;cursor:pointer;padding:0;text-align:left;color:#fff;min-width:0}
.tb26-brand-logos{display:flex;align-items:center;gap:13px;min-width:90px}
.tb26-brand-logos img{max-height:54px!important;max-width:145px!important;object-fit:contain;filter:none!important}
.tb26-brand-mark{background:#fff!important;color:#071f3f!important}
.tb26-brand-text b{display:block!important;color:#fff!important;font-size:16px!important;line-height:1.05!important;letter-spacing:-.02em!important}
.tb26-brand-text span{display:block!important;color:#72c7ff!important;font-size:9px!important;letter-spacing:.19em!important;text-transform:uppercase!important;font-weight:950!important;margin-top:6px!important}
.tb26-brand-text small{display:none!important}
.tb26-nav{display:flex!important;margin-left:auto!important;gap:5px!important;align-items:center!important;background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.10)!important;padding:5px!important;border-radius:999px!important}
.tb26-nav button{border:0!important;background:transparent!important;color:rgba(255,255,255,.80)!important;font-size:12px!important;font-weight:850!important;padding:10px 13px!important;border-radius:999px!important;cursor:pointer!important}
.tb26-nav button:hover{background:rgba(255,255,255,.09)!important;color:#fff!important}
.tb26-nav button.active{background:#fff!important;color:#082b57!important}
.tb26-powered{display:grid!important;gap:1px!important;margin-left:0!important;background:transparent!important;border:0!important;padding:0 0 0 4px!important;white-space:nowrap!important}
.tb26-powered span{font-size:8px!important;text-transform:uppercase!important;letter-spacing:.16em!important;color:#7e9ab9!important;font-weight:900!important}
.tb26-powered b{font-size:13px!important;color:#fff!important;letter-spacing:.01em!important}
.tb26-powered-logo,.tb26-powered-copy{display:none!important}
.tb26-mobile-menu{background:#fff!important;color:#082b57!important;border:0!important}

.tb26-home-hero{position:relative;min-height:660px;display:flex;align-items:stretch;overflow:hidden;background-image:linear-gradient(90deg,rgba(4,20,43,.96) 0%,rgba(4,27,58,.90) 43%,rgba(4,25,55,.58) 72%,rgba(4,25,55,.42) 100%),var(--tb26-hero-bg);background-size:cover;background-position:center;background-repeat:no-repeat;color:#fff}
.tb26-home-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 78% 42%,rgba(18,156,255,.22),transparent 36%),linear-gradient(180deg,transparent 70%,rgba(2,14,31,.32) 100%);pointer-events:none}
.tb26-home-hero:after{content:"";position:absolute;right:-10vw;bottom:-210px;width:62vw;height:330px;background:rgba(8,120,255,.22);transform:skewY(-7deg);pointer-events:none}
.tb26-hero-inner{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:70px;align-items:center;width:100%;padding-top:64px!important;padding-bottom:98px!important}
.tb26-hero-copy{max-width:850px}
.tb26-hero-kicker{display:inline-flex;align-items:center;gap:12px;color:#69c8ff;font-size:11px;font-weight:950;letter-spacing:.19em;text-transform:uppercase}
.tb26-hero-kicker:before{content:"";width:42px;height:3px;background:#1aa7ff}
.tb26-hero-copy h1{margin:18px 0 20px;font-size:clamp(62px,8vw,116px);line-height:.84;letter-spacing:-.065em;text-transform:uppercase;font-weight:950;color:#fff;max-width:900px}
.tb26-hero-copy h1 strong{display:block;color:#3dbaff;font-weight:950}
.tb26-hero-lead{max-width:690px;margin:0;color:rgba(255,255,255,.82);font-size:18px;line-height:1.6;font-weight:550}
.tb26-hero-meta{display:flex;gap:24px;flex-wrap:wrap;margin-top:22px;font-size:12px;font-weight:850;color:#fff}
.tb26-hero-meta span{display:flex;align-items:center;gap:8px}
.tb26-hero-meta span:before{content:"";width:6px;height:6px;border-radius:50%;background:#33b8ff}
.tb26-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.tb26-cta-btn{border:1px solid rgba(255,255,255,.42)!important;background:rgba(255,255,255,.09)!important;color:#fff!important;border-radius:999px!important;padding:13px 20px!important;font-size:13px!important;font-weight:900!important;cursor:pointer!important;backdrop-filter:blur(8px);box-shadow:none!important}
.tb26-cta-btn:hover{background:rgba(255,255,255,.16)!important;transform:translateY(-1px)}
.tb26-cta-btn.primary{background:#fff!important;color:#082b57!important;border-color:#fff!important}
.tb26-search-zone{position:relative!important;z-index:100!important;margin-top:36px!important;max-width:760px!important}
.tb26-search-caption{color:#8dd5ff!important;margin:0 0 9px 3px!important;font-size:10px!important;letter-spacing:.16em!important}
.tb26-search-wrap{background:rgba(255,255,255,.97)!important;border:0!important;border-radius:18px!important;padding:8px 10px!important;box-shadow:0 20px 44px rgba(0,0,0,.24)!important}
.tb26-search-icon{background:#e8f5ff!important;color:#0a72f5!important}
.tb26-search-wrap input{font-size:16px!important;color:#10233d!important}
.tb26-search-results{z-index:99999!important}
.tb26-hero-facts{align-self:center;display:grid;gap:0;border-left:1px solid rgba(255,255,255,.22);padding-left:28px}
.tb26-facts-label{font-size:9px;font-weight:950;letter-spacing:.20em;color:#69c8ff;margin-bottom:12px}
.tb26-fact{padding:14px 0;border-bottom:1px solid rgba(255,255,255,.14)}
.tb26-fact strong{display:block;color:#fff;font-size:35px;line-height:1;font-weight:950;letter-spacing:-.04em}
.tb26-fact span{display:block;margin-top:5px;color:rgba(255,255,255,.64);font-size:9px;letter-spacing:.14em;text-transform:uppercase;font-weight:900}
.tb26-hero-facts small{margin-top:16px;color:rgba(255,255,255,.55);font-size:10px;line-height:1.5}
.tb26-hero-signature{position:absolute;z-index:3;right:36px;bottom:25px;font-size:10px;letter-spacing:.08em;color:rgba(255,255,255,.64);text-transform:uppercase}.tb26-hero-signature b{color:#fff}

.tb26-quick-wrap{position:relative;z-index:30;margin-top:-48px}
.tb26-quick-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.tb26-quick-card{position:relative;min-height:120px;border:0;border-radius:20px;background:#fff;box-shadow:0 18px 45px rgba(11,34,66,.12);padding:22px 20px;text-align:left;cursor:pointer;overflow:hidden}
.tb26-quick-card:before{content:"";position:absolute;left:0;top:0;right:0;height:4px;background:linear-gradient(90deg,#082b57,#0a72f5,#2fc0ff);transform:scaleX(.3);transform-origin:left;transition:.2s ease}
.tb26-quick-card:hover:before{transform:scaleX(1)}
.tb26-quick-card:hover{transform:translateY(-3px)}
.tb26-quick-card span{display:block;font-size:17px;font-weight:950;color:#082b57;letter-spacing:-.02em}
.tb26-quick-card small{display:block;margin-top:6px;color:#718095;font-size:11px;line-height:1.4;padding-right:22px}
.tb26-quick-card i{position:absolute;right:18px;top:18px;color:#0a72f5;font-style:normal;font-weight:950}
.tb26-main-content{padding-top:58px!important}
.tb26-section-head h2{font-size:34px!important}.tb26-card{background:#fff!important;border:1px solid #e2e8f0!important;border-radius:22px!important;box-shadow:0 14px 32px rgba(15,35,62,.045)!important}

/* remove old home panel/hub visuals completely */
.tb26-home .tb26-event-panel,.tb26-home .tb26-hub-grid,.tb26-home .tb26-home-head{display:none!important}

.tb26-footer{background:#071f3f!important;border:0!important;color:rgba(255,255,255,.64)!important;margin-top:30px!important}.tb26-footer-inner span:last-child{color:#fff!important;font-weight:850!important}

@media(max-width:1120px){.tb26-powered{display:none!important}.tb26-hero-inner{grid-template-columns:minmax(0,1fr) 190px;gap:40px}.tb26-quick-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:820px){.tb26-nav{display:none!important}.tb26-mobile-menu{display:block!important;margin-left:auto!important}.tb26-hero-inner{grid-template-columns:1fr;padding-top:48px!important;padding-bottom:84px!important}.tb26-hero-facts{grid-template-columns:repeat(4,1fr);border-left:0;border-top:1px solid rgba(255,255,255,.22);padding:18px 0 0;gap:10px}.tb26-fact{border-bottom:0}.tb26-hero-facts small{grid-column:1/-1}.tb26-quick-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.tb26-top-inner{height:74px!important;padding:0 15px!important}.tb26-brand-logos img{max-height:42px!important;max-width:100px!important}.tb26-brand-text{display:none!important}.tb26-home-hero{min-height:650px}.tb26-hero-inner{padding-top:38px!important}.tb26-hero-copy h1{font-size:55px!important}.tb26-hero-lead{font-size:15px}.tb26-hero-meta{display:grid;gap:8px}.tb26-hero-facts{grid-template-columns:repeat(2,1fr)}.tb26-quick-wrap{margin-top:-35px}.tb26-quick-grid{grid-template-columns:1fr}.tb26-quick-card{min-height:96px}.tb26-hero-signature{right:18px;bottom:16px}}


/* V2.6.2 fix: remove hidden admin-bar gap / white strip */
html{margin-top:0!important;padding-top:0!important;background:#071f3f}
body.tb2026-standalone{margin:0!important;padding-top:0!important;background:#071f3f!important}
html.wp-toolbar{padding-top:0!important}
@media screen and (max-width:782px){html{margin-top:0!important}}

/* V2.7.5: header protected from theme button styles and compact home. */
#tb2026-app .tb26-brand,
#tb2026-app .tb26-brand:hover,
#tb2026-app .tb26-brand:focus{
 background:transparent!important;border:0!important;border-radius:0!important;
 box-shadow:none!important;padding:0!important;text-transform:none!important;
 height:auto!important;line-height:1.2!important;transform:none!important;
}
#tb2026-app .tb26-brand:focus-visible{outline:2px solid #69c8ff;outline-offset:6px}
.tb26-event-art{width:100%;aspect-ratio:1672/650;overflow:hidden;background:#061a38}
#tb2026-app .tb26-event-art img{display:block;width:100%;max-width:none;height:auto;margin:0;border:0;border-radius:0}
#tb2026-app .tb26-home-hero{min-height:0;background:#071f3f;overflow:visible}
#tb2026-app .tb26-home-hero:before,#tb2026-app .tb26-home-hero:after{display:none}
#tb2026-app .tb26-hero-inner{grid-template-columns:minmax(0,1fr) minmax(280px,380px);gap:40px;padding-top:30px!important;padding-bottom:64px!important}
#tb2026-app .tb26-hero-copy h1{font-size:clamp(28px,3vw,42px)!important;line-height:1.08;letter-spacing:-.03em;margin:12px 0}
#tb2026-app .tb26-hero-copy h1 strong{display:inline}
#tb2026-app .tb26-hero-lead{font-size:15px}
#tb2026-app .tb26-hero-meta{margin-top:12px;gap:12px;font-size:11px}
#tb2026-app .tb26-hero-actions{margin-top:18px}
#tb2026-app .tb26-search-zone{margin-top:20px!important}
#tb2026-app .tb26-hero-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;padding:22px;border:1px solid #ffffff26;border-radius:14px;background:#ffffff05}
#tb2026-app .tb26-facts-label{grid-column:1/-1;margin-bottom:2px}
#tb2026-app .tb26-fact{min-width:0;padding:16px 0}
#tb2026-app .tb26-fact:nth-last-child(-n+2){border-bottom:0}
#tb2026-app .tb26-hero-signature{bottom:16px}
@media(max-width:820px){
 #tb2026-app .tb26-hero-inner{grid-template-columns:1fr;gap:24px}
 #tb2026-app .tb26-hero-facts{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:16px}
 #tb2026-app .tb26-fact{border:0;padding:8px 0}
 #tb2026-app .tb26-fact strong{font-size:28px}
}
@media(max-width:480px){
 #tb2026-app .tb26-hero-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
 #tb2026-app .tb26-hero-inner{padding-top:22px!important}
}


/* V2.7.8 · Teus loading video screen */
.tb26-loading{position:fixed;inset:0;z-index:999999;min-height:100vh;display:flex;align-items:center;justify-content:center;background:#fff!important;color:transparent;overflow:hidden}
.tb26-loading-video{display:block;width:min(520px,72vw);height:auto;max-height:58vh;object-fit:contain;background:transparent}
.tb26-loader-line{display:none!important}
@media(max-width:600px){.tb26-loading-video{width:min(360px,82vw);max-height:42vh}}

/* V2.8.11 · Teus: direct WebM desktop + animated WebP mobile fallback. */
#tb2026-app .tb26-home-hero{overflow:visible}
#tb2026-app .tb26-hero-inner{position:relative;z-index:3}
#tb2026-app .tb26-teus-float{
  position:absolute;
  z-index:45;
  right:clamp(10px,3.2vw,58px);
  bottom:clamp(-138px,-7.2vw,-76px);
  width:clamp(210px,23vw,360px);
  max-width:32vw;
  pointer-events:none;
  user-select:none;
  line-height:0;
  background:transparent!important;
  overflow:visible;
  visibility:visible!important;
  opacity:1!important;
}
#tb2026-app .tb26-teus-video{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  object-fit:contain!important;
  background:transparent!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  filter:none!important;
  opacity:1!important;
  visibility:visible!important;
  mix-blend-mode:normal!important;
  pointer-events:none;
}
#tb2026-app .tb26-teus-mobile{
  display:none!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  background:transparent!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  filter:none!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:none!important;
}
#tb2026-app .tb26-quick-wrap{position:relative;z-index:30}
@media (max-width:1120px){
  #tb2026-app .tb26-teus-float{right:clamp(8px,2vw,28px);bottom:-72px;width:clamp(180px,22vw,270px);max-width:28vw}
}
@media (max-width:820px){
  #tb2026-app .tb26-teus-float{right:10px;bottom:42px;width:clamp(145px,24vw,205px);max-width:none;z-index:45}
  #tb2026-app .tb26-teus-video{display:none!important}
  #tb2026-app .tb26-teus-mobile{display:block!important}
}
@media (max-width:620px){
  #tb2026-app .tb26-teus-float{right:8px;bottom:44px;width:clamp(118px,31vw,150px);max-width:none;z-index:45}
}
@media (max-width:390px){
  #tb2026-app .tb26-teus-float{right:6px;bottom:46px;width:clamp(105px,30vw,128px);max-width:none;z-index:45}
}
@media (prefers-reduced-motion:reduce){
  #tb2026-app .tb26-teus-video{animation:none}
}


/* V2.8.13 MOBILE APNG ALPHA + HARD CACHE-BUST */
@media (max-width: 820px){
  #tb2026-app .tb26-home-hero{overflow:visible!important;position:relative!important}
  #tb2026-app .tb26-teus-float{
    display:block!important;
    position:absolute!important;
    right:8px!important;
    bottom:22px!important;
    width:min(38vw,170px)!important;
    max-width:170px!important;
    height:auto!important;
    z-index:999!important;
    opacity:1!important;
    visibility:visible!important;
    overflow:visible!important;
    pointer-events:none!important;
  }
  #tb2026-app .tb26-teus-video{display:none!important}
  #tb2026-app .tb26-teus-mobile{
    display:block!important;
    width:100%!important;
    height:auto!important;
    max-width:none!important;
    opacity:1!important;
    visibility:visible!important;
    position:relative!important;
    z-index:1000!important;
  }
}


/* V2.8.14 · iOS/Android alpha hardening.
   Only one Teus media element exists at a time. Mobile receives APNG only; desktop receives WebM only. */
#tb2026-app .tb26-teus-media{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-width:100%!important;
  background:transparent!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  filter:none!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:none!important;
}
#tb2026-app .tb26-teus-float::before,
#tb2026-app .tb26-teus-float::after{content:none!important;display:none!important}
@media (max-width:900px){
  #tb2026-app .tb26-teus-float{
    display:block!important;
    right:8px!important;
    bottom:22px!important;
    width:min(38vw,170px)!important;
    max-width:170px!important;
    z-index:999!important;
    background:none!important;
    overflow:visible!important;
  }
}

/* V2.8.15 · Medallero */
.tb26-home-medal-mini{display:flex;flex-direction:column;gap:14px;padding:6px 0 2px}
.tb26-home-medal-copy b{display:block;font-size:17px;color:#0b2447;margin-bottom:6px}
.tb26-home-medal-copy small{display:block;color:#587087;line-height:1.5}
.tb26-mini-link{align-self:flex-start;border:1px solid rgba(8,120,255,.18);background:#f6fbff;color:#0b5fb0;border-radius:999px;padding:10px 16px;font:800 13px/1 Inter,Arial,sans-serif;cursor:pointer}
.tb26-mini-link:hover{background:#ffffff;transform:translateY(-1px)}
.tb26-med-page{padding-bottom:24px}
.tb26-med-tabs,.tb26-med-subtabs{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 16px}
.tb26-med-tab,.tb26-med-subtab{border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg, rgba(11,31,52,.95), rgba(8,22,38,.98));color:#98aec3;border-radius:15px;padding:13px 18px;text-transform:uppercase;letter-spacing:.08em;font-size:11px;font-weight:900;cursor:pointer;transition:.2s ease}
.tb26-med-tab:hover,.tb26-med-subtab:hover{color:#fff;background:linear-gradient(180deg, rgba(16,42,69,.95), rgba(10,28,47,.98))}
.tb26-med-tab.active,.tb26-med-subtab.active{background:linear-gradient(180deg,#f8fdff,#dce8f2);color:#0b2440;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.tb26-med-card{border-radius:28px;border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg, rgba(13,34,57,.96), rgba(8,22,38,.99));box-shadow:0 18px 50px rgba(0,0,0,.22);overflow:hidden;margin-bottom:18px}
.tb26-med-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:22px 22px 10px}
.tb26-med-card-head h2{margin:0;font-size:36px;line-height:.95;text-transform:uppercase;font-family:Barlow Condensed,Arial,sans-serif;color:#f6fbff}
.tb26-med-card-head p{margin:7px 0 0;color:#98aec3;font-size:13px}
.tb26-med-badge{font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.16em;padding:9px 11px;border-radius:999px;border:1px solid rgba(113,219,255,.16);background:rgba(16,76,113,.18);color:#9be1ff;white-space:nowrap}
.tb26-med-podium-zone{padding:22px 20px 24px;position:relative;overflow:hidden}
.tb26-med-podium-zone:before{content:"";position:absolute;left:10%;right:10%;bottom:22px;height:96px;background:radial-gradient(ellipse at center, rgba(56,171,223,.14), transparent 62%);filter:blur(12px)}
.tb26-med-podium-zone:after{content:"";position:absolute;left:0;right:0;bottom:108px;height:1px;background:linear-gradient(90deg, transparent, rgba(127,206,240,.10), transparent)}
.tb26-med-podium-zone.with-teus{padding-right:200px;min-height:360px}
.tb26-med-teus-wrap{position:absolute;right:6px;bottom:0;z-index:1;pointer-events:none}
.tb26-med-teus-glow{position:absolute;right:20px;bottom:30px;width:210px;height:210px;border-radius:50%;background:radial-gradient(circle, rgba(36,153,218,.22), transparent 65%);filter:blur(12px)}
.tb26-med-teus{display:block;width:220px;height:auto;position:relative;z-index:2;filter:drop-shadow(0 20px 26px rgba(0,0,0,.28))}
.tb26-med-podium{display:flex;align-items:flex-end;justify-content:center;gap:clamp(10px,2vw,18px);min-height:300px;position:relative;z-index:2;padding-right:10px}
.tb26-med-p-item{width:min(27%,220px);text-align:center;transition:transform .22s ease}
.tb26-med-p-item:hover{transform:translateY(-5px)}
.tb26-med-mark{width:68px;height:68px;margin:0 auto 12px;border-radius:20px;border:1px solid rgba(255,255,255,.18);display:grid;place-items:center;background:linear-gradient(180deg,#fbfdff,#eaf2f7);box-shadow:0 12px 26px rgba(0,0,0,.24);color:#0b233a;font-weight:1000;font-size:20px;letter-spacing:.04em}
.tb26-med-name{font-weight:900;font-size:14px;line-height:1.1;min-height:40px;display:flex;justify-content:center;align-items:center;padding:0 2px;color:#fff}
.tb26-med-extra{font-size:11px;color:#9bb0c3;margin-top:4px}
.tb26-med-step{margin-top:14px;border-radius:16px 16px 5px 5px;position:relative;display:flex;align-items:flex-start;justify-content:center;padding-top:16px;overflow:hidden;font-family:Barlow Condensed,Arial,sans-serif;font-size:46px;font-weight:800;box-shadow:inset 0 1px 0 rgba(255,255,255,.42),0 18px 36px rgba(0,0,0,.24);color:#fff}
.tb26-med-step:before{content:"";position:absolute;inset:0;background:linear-gradient(120deg, transparent 12%, rgba(255,255,255,.22) 43%, transparent 57%);transform:translateX(-120%);animation:tb26MedShine 5.5s ease-in-out infinite}
@keyframes tb26MedShine{0%,72%{transform:translateX(-120%)}90%,100%{transform:translateX(120%)}}
.tb26-med-p-item.first .tb26-med-step{height:164px;background:linear-gradient(180deg,#f0ca6a,#b87e17)}
.tb26-med-p-item.second .tb26-med-step{height:116px;background:linear-gradient(180deg,#dde4eb,#8e9aa9)}
.tb26-med-p-item.third .tb26-med-step{height:96px;background:linear-gradient(180deg,#d59b72,#915934)}
.tb26-med-table-card{margin-top:18px;border-top:1px solid rgba(255,255,255,.06);background:linear-gradient(180deg, rgba(9,24,41,.95), rgba(6,18,31,.98))}
.tb26-med-t-head,.tb26-med-t-row{display:grid;grid-template-columns:56px minmax(0,1.8fr) repeat(4,minmax(54px,.58fr));gap:10px;align-items:center;padding:13px 18px}
.tb26-med-t-head{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.13em;color:#7f98af;border-bottom:1px solid rgba(255,255,255,.10)}
.tb26-med-t-row{min-height:64px;border-bottom:1px solid rgba(255,255,255,.06);transition:.2s ease}
.tb26-med-t-row:last-child{border-bottom:0}
.tb26-med-t-row:hover{background:rgba(255,255,255,.03)}
.tb26-med-pos{font-family:Barlow Condensed,Arial,sans-serif;font-size:26px;line-height:1;font-weight:800;color:#f6fbff}
.tb26-med-pos.gold{color:#f1c75e}.tb26-med-pos.silver{color:#c8d1da}.tb26-med-pos.bronze{color:#d78c5a}
.tb26-med-namebox{display:flex;align-items:center;gap:12px;min-width:0}
.tb26-med-tiny{width:36px;height:36px;border-radius:11px;border:1px solid rgba(255,255,255,.18);display:grid;place-items:center;background:linear-gradient(180deg,#f8fcff,#e3edf5);color:#0a2238;font-size:11px;font-weight:1000;flex:0 0 auto}
.tb26-med-title{font-size:14px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff}
.tb26-med-sub{font-size:10px;color:#7c95ad;margin-top:3px}
.tb26-med-pill{justify-self:start;min-width:42px;text-align:center;padding:8px 8px;border-radius:999px;font-size:12px;font-weight:900;color:#13273e;box-shadow:inset 0 1px 0 rgba(255,255,255,.22)}
.tb26-med-pill.g{background:linear-gradient(180deg,#f1d37f,#d7b04e)}.tb26-med-pill.s{background:linear-gradient(180deg,#dfe4e9,#bfc7d0)}.tb26-med-pill.b{background:linear-gradient(180deg,#dfab88,#c07e56)}.tb26-med-total{font-size:17px;font-weight:900;color:#fff}
.tb26-med-individual-layout{display:grid;grid-template-columns:1.05fr .95fr;gap:18px;padding-top:18px}
.tb26-med-highlight{border-left:1px solid rgba(255,255,255,.06);padding:22px;background:linear-gradient(180deg, rgba(11,30,50,.86), rgba(6,18,31,.96));position:relative;overflow:hidden}
.tb26-med-highlight:before{content:"";position:absolute;right:-120px;top:-120px;width:280px;height:280px;border-radius:50%;background:radial-gradient(circle, rgba(66,179,227,.16), transparent 65%)}
.tb26-med-highlight-label{display:inline-block;font-size:11px;line-height:1;text-transform:uppercase;letter-spacing:.18em;font-weight:900;color:#8fdfff;margin-bottom:14px}
.tb26-med-highlight-athlete{font-family:Barlow Condensed,Arial,sans-serif;font-size:48px;line-height:.92;text-transform:uppercase;color:#fff}
.tb26-med-highlight-team{margin-top:10px;font-size:15px;color:#9bb0c3}
.tb26-med-highlight-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:22px}
.tb26-med-stat{border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03);border-radius:18px;padding:16px}
.tb26-med-stat strong{display:block;font-size:34px;line-height:1;font-family:Barlow Condensed,Arial,sans-serif;color:#fff}
.tb26-med-stat span{display:block;margin-top:6px;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#9bb0c3;font-weight:800}
@media (max-width: 1000px){
  .tb26-med-individual-layout{grid-template-columns:1fr}
  .tb26-med-highlight{border-left:0;border-top:1px solid rgba(255,255,255,.06)}
}
@media (max-width: 820px){
  .tb26-med-card-head{flex-direction:column}
  .tb26-med-podium-zone.with-teus{padding-right:14px;padding-bottom:220px;min-height:0}
  .tb26-med-teus-wrap{right:50%;transform:translateX(50%);bottom:0}
  .tb26-med-teus{width:180px}
  .tb26-med-podium{padding-right:0}
}
@media (max-width: 720px){
  .tb26-med-t-head,.tb26-med-t-row{grid-template-columns:44px minmax(0,1.6fr) repeat(4,minmax(44px,.55fr));gap:8px;padding:12px 12px}
  .tb26-med-title{white-space:normal}
}
@media (max-width: 560px){
  .tb26-med-tab,.tb26-med-subtab{flex:1;justify-content:center;text-align:center}
  .tb26-med-card-head h2{font-size:30px}
  .tb26-med-podium{gap:8px}
  .tb26-med-p-item{width:31%}
  .tb26-med-mark{width:54px;height:54px;font-size:16px;border-radius:16px}
  .tb26-med-name{font-size:12px;min-height:36px}
  .tb26-med-extra{font-size:10px}
  .tb26-med-p-item.first .tb26-med-step{height:138px}
  .tb26-med-p-item.second .tb26-med-step{height:102px}
  .tb26-med-p-item.third .tb26-med-step{height:84px}
  .tb26-med-step{font-size:38px}
  .tb26-med-t-head{display:none}
  .tb26-med-t-row{grid-template-columns:36px minmax(0,1fr) repeat(4,42px);padding:12px 10px;font-size:12px}
  .tb26-med-total{font-size:14px}
}

/* V2.9.0 · Medallero real + rediseño institucional */
.tb26-loading-video{width:min(720px,88vw)!important;max-width:720px!important;max-height:68vh!important;height:auto!important;object-fit:contain!important;background:#fff!important;filter:none!important;image-rendering:auto!important}
@media(max-width:600px){.tb26-loading-video{width:min(560px,94vw)!important;max-height:52vh!important}}

.tb26-med-page{padding-top:34px;padding-bottom:72px}
.tb26-med-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px;padding:0 2px}
.tb26-med-kicker{display:inline-flex;align-items:center;gap:9px;color:var(--tb26-blue);font-size:10px;font-weight:950;letter-spacing:.17em;text-transform:uppercase}
.tb26-med-kicker:before{content:"";width:28px;height:3px;background:var(--tb26-blue)}
.tb26-med-intro h1{margin:8px 0 8px;color:var(--tb26-navy);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:clamp(38px,5vw,58px);line-height:.95;letter-spacing:-.055em;font-weight:950}
.tb26-med-intro p{margin:0;color:var(--tb26-muted);font-size:13px;line-height:1.55}
.tb26-med-demo-flag{align-self:flex-start;margin-top:6px;padding:8px 11px;border-radius:999px;background:#fff4dc;border:1px solid #f1d08b;color:#8a5b00;font-size:10px;font-weight:950;letter-spacing:.1em;white-space:nowrap}

.tb26-med-tabs,.tb26-med-subtabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}
.tb26-med-tab,.tb26-med-subtab{border:1px solid #cfdae7;background:#fff;color:#52677f;border-radius:12px;padding:12px 16px;text-transform:uppercase;letter-spacing:.07em;font-size:11px;font-weight:900;cursor:pointer;transition:.16s ease;box-shadow:none}
.tb26-med-tab:hover,.tb26-med-subtab:hover{border-color:#a9c0da;color:var(--tb26-navy);background:#f9fbfe}
.tb26-med-tab.active,.tb26-med-subtab.active{background:var(--tb26-navy);border-color:var(--tb26-navy);color:#fff;box-shadow:0 9px 22px rgba(8,43,87,.14)}
.tb26-med-subtabs{margin-top:2px}

.tb26-med-surface{position:relative;background:#fff;border:1px solid #dce5ef;border-radius:24px;box-shadow:0 18px 44px rgba(18,52,91,.075);overflow:hidden}
.tb26-med-surface:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,var(--tb26-navy) 0 38%,var(--tb26-blue) 38% 75%,var(--tb26-blue2) 75%)}
.tb26-med-surface-head{position:relative;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:25px 26px 18px;border-bottom:1px solid #e8edf3;background:linear-gradient(180deg,#fff,#fbfcfe)}
.tb26-med-surface-head>div>span{display:block;color:var(--tb26-blue);font-size:9px;font-weight:950;letter-spacing:.16em;text-transform:uppercase;margin-bottom:6px}
.tb26-med-surface-head h2{margin:0;color:var(--tb26-navy);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:clamp(25px,3vw,34px);line-height:1.02;letter-spacing:-.035em;font-weight:950;text-transform:none}
.tb26-med-surface-head p{max-width:720px;margin:8px 0 0;color:#62758c;font-size:12px;line-height:1.55}
.tb26-med-surface-head em{font-style:normal;padding:7px 10px;border-radius:999px;background:#eef6ff;color:#0a6ee8;border:1px solid #d6e8fc;font-size:9px;font-weight:950;letter-spacing:.11em;white-space:nowrap}

.tb26-med-stage{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:10px;align-items:end;padding:26px 24px 0;background:linear-gradient(180deg,#f8fbff 0%,#f2f6fb 100%);border-bottom:1px solid #e2e9f1;min-height:355px;overflow:hidden;position:relative}
.tb26-med-stage:after{content:"";position:absolute;left:4%;right:22%;bottom:0;height:120px;background:radial-gradient(ellipse at center,rgba(10,114,245,.09),transparent 67%);pointer-events:none}
.tb26-med-podium-wrap{min-width:0;position:relative;z-index:2}
.tb26-med-podium{display:flex;align-items:flex-end;justify-content:center;gap:clamp(10px,2vw,18px);min-height:300px;position:relative;z-index:2;padding:0 4px}
.tb26-med-p-item{width:min(29%,230px);text-align:center;transition:transform .18s ease;color:var(--tb26-ink)}
.tb26-med-p-item:hover{transform:translateY(-3px)}
.tb26-med-mark{width:68px;height:68px;margin:0 auto 11px;border-radius:18px;border:1px solid #d4dfeb;display:grid;place-items:center;background:#fff;box-shadow:0 10px 24px rgba(20,54,92,.10);color:var(--tb26-navy);font-weight:950;font-size:18px;letter-spacing:.02em;overflow:hidden}
.tb26-med-mark img{width:82%;height:82%;object-fit:contain;display:block}
.tb26-med-mark span{display:block}
.tb26-med-name{font-weight:900;font-size:13px;line-height:1.15;min-height:37px;display:flex;justify-content:center;align-items:center;padding:0 3px;color:var(--tb26-navy)}
.tb26-med-extra{font-size:10px;color:#6d8095;margin-top:3px;white-space:nowrap}
.tb26-med-step{margin-top:13px;border-radius:13px 13px 0 0;position:relative;display:flex;align-items:flex-start;justify-content:center;padding-top:15px;overflow:hidden;box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 14px 28px rgba(18,46,78,.12)}
.tb26-med-step strong{font-size:44px;font-weight:950;line-height:1;color:#fff;letter-spacing:-.04em}
.tb26-med-step:before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,transparent 18%,rgba(255,255,255,.26) 45%,transparent 62%);transform:translateX(-130%);animation:tb26MedShine 6s ease-in-out infinite}
.tb26-med-p-item.first .tb26-med-step{height:150px;background:linear-gradient(180deg,#f0c966,#c99120)}
.tb26-med-p-item.second .tb26-med-step{height:108px;background:linear-gradient(180deg,#d8e0e8,#98a6b6)}
.tb26-med-p-item.third .tb26-med-step{height:88px;background:linear-gradient(180deg,#d9a17c,#a96943)}

.tb26-med-mascot{align-self:end;justify-self:center;width:210px;position:relative;z-index:3;display:flex;align-items:flex-end;justify-content:center}
.tb26-med-mascot:before{content:"";position:absolute;left:15%;right:15%;bottom:2px;height:24px;border-radius:50%;background:rgba(18,47,78,.15);filter:blur(11px)}
.tb26-med-mascot img{position:relative;z-index:1;display:block;width:100%;height:auto;max-height:320px;object-fit:contain;object-position:bottom center;filter:drop-shadow(0 14px 18px rgba(15,45,78,.16))}
.tb26-med-empty-stage{min-height:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px;color:#75869a}
.tb26-med-empty-stage b{font-size:19px;color:var(--tb26-navy);margin-bottom:6px}
.tb26-med-empty-stage span{font-size:12px}

.tb26-med-table-card{margin:0;background:#fff;border:0;border-radius:0;overflow:hidden;box-shadow:none}
.tb26-med-t-head,.tb26-med-t-row{display:grid;grid-template-columns:56px minmax(0,1.8fr) repeat(4,minmax(54px,.58fr));gap:10px;align-items:center;padding:13px 22px}
.tb26-med-t-head{font-size:10px;font-weight:950;text-transform:uppercase;letter-spacing:.12em;color:#7890a8;border-bottom:1px solid #e5ebf2;background:#f8fafc}
.tb26-med-t-row{min-height:64px;border-bottom:1px solid #edf1f5;transition:.15s ease}
.tb26-med-t-row:last-child{border-bottom:0}
.tb26-med-t-row:hover{background:#fbfdff}
.tb26-med-pos{font-size:24px;line-height:1;font-weight:950;color:var(--tb26-navy)}
.tb26-med-pos.gold{color:#c28d1f}.tb26-med-pos.silver{color:#8998aa}.tb26-med-pos.bronze{color:#ad6c46}
.tb26-med-namebox{display:flex;align-items:center;gap:11px;min-width:0}
.tb26-med-tiny{width:38px;height:38px;border-radius:10px;border:1px solid #d9e3ed;display:grid;place-items:center;background:#f7faff;color:var(--tb26-navy);font-size:10px;font-weight:950;flex:0 0 auto;overflow:hidden}
.tb26-med-tiny img{max-width:84%;max-height:84%;object-fit:contain}.tb26-med-tiny span{display:block}
.tb26-med-title{font-size:13px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--tb26-navy)}
.tb26-med-sub{font-size:9px;color:#8293a6;margin-top:3px}
.tb26-med-pill{justify-self:start;min-width:40px;text-align:center;padding:7px;border-radius:999px;font-size:11px;font-weight:950;color:#21374f;box-shadow:none}
.tb26-med-pill.g{background:#f8e8b9}.tb26-med-pill.s{background:#e8edf2}.tb26-med-pill.b{background:#f0d7c8}.tb26-med-total{font-size:16px;font-weight:950;color:var(--tb26-navy)}

.tb26-med-bottom-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);border-top:1px solid #e8edf3}
.tb26-med-bottom-grid>.tb26-med-table-card{border-top:0}
.tb26-med-leader{padding:24px 24px 22px;border-left:1px solid #e5ebf1;background:linear-gradient(145deg,#f5f9ff,#edf5ff);position:relative;overflow:hidden}
.tb26-med-leader:after{content:"";position:absolute;width:190px;height:190px;right:-90px;top:-90px;border:32px solid rgba(10,114,245,.05);border-radius:50%}
.tb26-med-leader>span{display:block;color:var(--tb26-blue);font-size:9px;font-weight:950;letter-spacing:.14em;margin-bottom:11px}
.tb26-med-leader-name{position:relative;z-index:1;color:var(--tb26-navy);font-size:clamp(25px,3vw,39px);font-weight:950;line-height:.98;letter-spacing:-.045em}
.tb26-med-leader>small{position:relative;z-index:1;display:block;margin-top:8px;color:#657a91;font-size:11px}
.tb26-med-leader-stats{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:22px}
.tb26-med-leader-stats b{background:#fff;border:1px solid #dce6f0;border-radius:11px;padding:12px 8px;color:var(--tb26-navy);font-size:23px;line-height:1;text-align:center}
.tb26-med-leader-stats i{display:block;font-style:normal;font-size:8px;letter-spacing:.08em;text-transform:uppercase;color:#8395a9;margin-top:6px}

@media(max-width:1000px){
  .tb26-med-stage{grid-template-columns:minmax(0,1fr) 180px}
  .tb26-med-mascot{width:170px}
  .tb26-med-bottom-grid{grid-template-columns:1fr}
  .tb26-med-leader{border-left:0;border-top:1px solid #e5ebf1}
}
@media(max-width:760px){
  .tb26-med-intro{align-items:flex-start;flex-direction:column;gap:10px}
  .tb26-med-stage{grid-template-columns:1fr;padding:22px 12px 0;min-height:0}
  .tb26-med-mascot{width:145px;margin-top:-12px}
  .tb26-med-surface-head{flex-direction:column;padding:21px 18px 16px}
  .tb26-med-podium{min-height:260px}
  .tb26-med-t-head,.tb26-med-t-row{grid-template-columns:42px minmax(0,1.6fr) repeat(4,minmax(42px,.52fr));gap:7px;padding:12px}
}
@media(max-width:560px){
  .tb26-med-tabs,.tb26-med-subtabs{display:grid;grid-template-columns:1fr 1fr;gap:7px}
  .tb26-med-tabs .tb26-med-tab:first-child{grid-column:1/-1}
  .tb26-med-tab,.tb26-med-subtab{padding:11px 10px}
  .tb26-med-podium{gap:6px}
  .tb26-med-p-item{width:32%}
  .tb26-med-mark{width:52px;height:52px;border-radius:14px;font-size:14px}
  .tb26-med-name{font-size:11px;min-height:34px}
  .tb26-med-extra{font-size:8.5px;white-space:normal;min-height:22px}
  .tb26-med-p-item.first .tb26-med-step{height:126px}.tb26-med-p-item.second .tb26-med-step{height:92px}.tb26-med-p-item.third .tb26-med-step{height:78px}
  .tb26-med-step strong{font-size:34px}
  .tb26-med-t-head{display:none}
  .tb26-med-t-row{grid-template-columns:30px minmax(0,1fr) repeat(4,36px);gap:5px;padding:11px 8px}
  .tb26-med-tiny{display:none}.tb26-med-title{font-size:11px;white-space:normal}.tb26-med-sub{font-size:8px}
  .tb26-med-pill{min-width:34px;padding:6px 4px;font-size:10px}.tb26-med-total{font-size:13px}
  .tb26-med-leader-stats{grid-template-columns:repeat(2,1fr)}
}

/* v2.9.2 RH:TYRL logo integration */
.tb26-loading-stack{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}
.tb26-loading-powered{display:block;width:105px;max-width:22vw;height:auto;object-fit:contain;margin-top:0;filter:none!important}
.tb26-powered.tb26-powered-image{display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;margin-left:8px!important;background:transparent!important;border:0!important;text-decoration:none!important;border-radius:0!important}
.tb26-powered-image img{display:block;width:74px;max-height:28px;height:auto;object-fit:contain;filter:brightness(0) invert(1);transition:opacity .18s ease,transform .18s ease}
.tb26-powered-image:hover img{opacity:.86;transform:scale(1.02)}
.tb26-mobile-powered.tb26-powered-image{align-items:center;justify-content:center;text-decoration:none;padding:12px 10px!important}
.tb26-mobile-powered.tb26-powered-image img{width:82px;max-height:30px;filter:brightness(0) invert(1)}
@media(max-width:1120px){.tb26-powered.tb26-powered-image{display:none!important}}
@media(max-width:600px){.tb26-loading-powered{width:90px;max-width:24vw;margin-top:0}}


/* V2.9.5: keep RH:TYRL powered logo visible in the mobile top bar. */
@media(max-width:820px){
  #tb2026-app .tb26-powered.tb26-powered-image{display:flex!important;margin-left:auto!important;flex:0 0 auto!important;}
  #tb2026-app .tb26-powered.tb26-powered-image img{width:58px!important;max-height:22px!important;}
  #tb2026-app .tb26-mobile-menu{margin-left:8px!important;flex:0 0 auto!important;}
}
@media(max-width:420px){
  #tb2026-app .tb26-powered.tb26-powered-image img{width:52px!important;max-height:20px!important;}
}


/* V2.9.5 — resultados: logo, separación visual y parciales */
.tb26-result-row-wrap{border-bottom:1px solid var(--tb26-line2)}
.tb26-result-row-wrap:last-child{border-bottom:0}
.tb26-result-row-wrap>.tb26-result-row{border-bottom:0}
.tb26-result-person{display:flex;align-items:center;gap:13px;min-width:0}
.tb26-result-team-logo{width:34px;height:34px;object-fit:contain;flex:0 0 34px}
.tb26-result-person-text{display:flex;align-items:baseline;gap:10px;min-width:0;flex-wrap:wrap}
.tb26-result-person-text>b{font-size:16px;line-height:1.25}
.tb26-result-person-text>small{display:inline-block;font-size:12px;line-height:1.25;margin:0;color:var(--tb26-muted)}
.tb26-result-splits{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:0 16px 11px 74px}
.tb26-result-splits>span{font-size:8px;font-weight:950;letter-spacing:.09em;color:var(--tb26-blue);margin-right:2px}
.tb26-result-splits>b{display:inline-flex;align-items:baseline;gap:4px;padding:5px 8px;border:1px solid var(--tb26-line);border-radius:8px;background:#f8fbff;color:var(--tb26-navy);font-size:12px}
.tb26-result-splits>b>small{font-size:8px;color:var(--tb26-muted);font-weight:800}
@media(max-width:700px){
  .tb26-result-row{grid-template-columns:30px 1fr 72px!important;gap:7px;padding:10px 10px}
  .tb26-result-person{gap:8px}
  .tb26-result-team-logo{width:28px;height:28px;flex-basis:28px}
  .tb26-result-person-text{display:block}
  .tb26-result-person-text>b{display:block;font-size:14px}
  .tb26-result-person-text>small{display:block;margin-top:3px;font-size:10px}
  .tb26-result-splits{padding:0 10px 10px 47px;gap:5px}
  .tb26-result-splits>b{font-size:11px;padding:4px 6px}
}

/* V2.9.12 — parciales incompletos: conservar datos del PDF sin inventar distancias */
.tb26-result-splits.is-incomplete{align-items:center}
.tb26-result-splits.is-incomplete>b{padding:5px 9px}
.tb26-result-splits.is-incomplete>em{flex-basis:100%;font-style:normal;font-size:9px;line-height:1.4;color:#7a8da3;margin-top:2px}

/* V2.9.13 — Resultados en acordeón para navegación de eventos extensos */
.tb26-results-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.tb26-accordion-actions{display:flex;gap:8px;flex-wrap:wrap}
.tb26-accordion-actions button{border:1px solid var(--tb26-line);background:#fff;color:var(--tb26-navy);border-radius:10px;padding:9px 12px;font:850 11px/1 Inter,Arial,sans-serif;cursor:pointer}
.tb26-accordion-actions button:hover{border-color:#b8cbe0;background:#f8fbff}
.tb26-results-hint{margin:-2px 0 12px;color:var(--tb26-muted);font-size:11px;line-height:1.45}
.tb26-event-accordion{overflow:hidden}
.tb26-event-accordion>summary{list-style:none;cursor:pointer;user-select:none}
.tb26-event-accordion>summary::-webkit-details-marker{display:none}
.tb26-event-accordion .tb26-event-card-head{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:0;transition:background .16s ease}
.tb26-event-accordion .tb26-event-card-head:hover{background:#f2f7fd}
.tb26-event-title{min-width:0;flex:1}
.tb26-event-title b{display:block;line-height:1.25;margin-top:3px}
.tb26-event-summary-meta{display:grid;grid-template-columns:auto auto 22px;align-items:center;gap:6px;flex:0 0 auto;color:var(--tb26-muted)}
.tb26-event-summary-meta strong{color:var(--tb26-navy);font-size:13px}
.tb26-event-summary-meta small{font-size:10px;margin:0}
.tb26-event-summary-meta i{font-style:normal;color:var(--tb26-blue);font-size:20px;line-height:1;transition:transform .2s ease;text-align:center}
.tb26-event-accordion[open]>.tb26-event-card-head{border-bottom:1px solid var(--tb26-line);background:#f8fbff}
.tb26-event-accordion[open]>.tb26-event-card-head .tb26-event-summary-meta i{transform:rotate(180deg)}
.tb26-event-card-body{background:#fff}

.tb26-splits-accordion{border-top:1px solid var(--tb26-line2);background:#fbfdff}
.tb26-splits-accordion>summary{list-style:none;display:flex;align-items:center;gap:7px;padding:8px 16px 9px 74px;cursor:pointer;user-select:none;color:var(--tb26-blue);font-size:9px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.tb26-splits-accordion>summary::-webkit-details-marker{display:none}
.tb26-splits-accordion>summary b{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:20px;padding:0 6px;border-radius:999px;background:#edf5ff;color:var(--tb26-navy);font-size:10px;letter-spacing:0}
.tb26-splits-accordion>summary i{font-style:normal;font-size:16px;line-height:1;margin-left:2px;transition:transform .18s ease}
.tb26-splits-accordion[open]>summary i{transform:rotate(180deg)}
.tb26-splits-accordion .tb26-result-splits{padding-top:1px;padding-bottom:12px}

@media(max-width:700px){
  .tb26-results-toolbar{align-items:stretch}
  .tb26-results-toolbar select{width:100%}
  .tb26-accordion-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .tb26-accordion-actions button{width:100%;padding:10px}
  .tb26-event-accordion .tb26-event-card-head{padding:13px 12px;gap:10px}
  .tb26-event-title b{font-size:14px}
  .tb26-event-summary-meta{grid-template-columns:auto 20px;gap:5px}
  .tb26-event-summary-meta small{display:none}
  .tb26-splits-accordion>summary{padding:8px 10px 9px 47px}
}


/* V2.9.20 — buscador principal siempre por encima de accesos rápidos */
#tb2026-app .tb26-home-hero.tb26-search-open{overflow:visible!important}
#tb2026-app .tb26-home-hero.tb26-search-open .tb26-hero-inner{z-index:80!important}
#tb2026-app .tb26-home-hero.tb26-search-open .tb26-search-zone{z-index:90!important}
#tb2026-app .tb26-home-hero.tb26-search-open .tb26-search-wrap{z-index:100!important}
#tb2026-app .tb26-home-hero.tb26-search-open .tb26-search-results{z-index:1000000!important}
#tb2026-app .tb26-quick-wrap{z-index:30!important}

/* V2.9.28 — Resultados ordenados: acordeón por sesión > evento > parciales */
.tb26-session-groups{display:flex;flex-direction:column;gap:14px}
.tb26-session-accordion{border:1px solid #d8e3ef;border-radius:20px;background:#fff;box-shadow:0 10px 30px rgba(18,52,91,.065);overflow:hidden}
.tb26-session-accordion>summary{list-style:none;cursor:pointer;user-select:none}
.tb26-session-accordion>summary::-webkit-details-marker{display:none}
.tb26-session-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;background:linear-gradient(135deg,#0b2447 0%,#123f76 72%,#0878ff 100%);color:#fff;transition:filter .16s ease}
.tb26-session-head:hover{filter:brightness(1.04)}
.tb26-session-title{min-width:0;display:grid;gap:3px}
.tb26-session-title>span{font-size:10px;line-height:1;font-weight:950;letter-spacing:.16em;color:#74c8ff}
.tb26-session-title>b{font-size:18px;line-height:1.15;font-weight:950;color:#fff}
.tb26-session-title>small{font-size:11px;color:rgba(255,255,255,.72);font-weight:700}
.tb26-session-meta{display:grid;grid-template-columns:auto auto 24px;align-items:center;gap:7px;flex:0 0 auto;color:rgba(255,255,255,.78)}
.tb26-session-meta>strong{display:grid;place-items:center;min-width:34px;height:30px;padding:0 8px;border:1px solid rgba(255,255,255,.20);border-radius:999px;background:rgba(255,255,255,.10);font-size:13px;color:#fff}
.tb26-session-meta>small{font-size:10px;white-space:nowrap}
.tb26-session-meta>i{font-style:normal;font-size:22px;line-height:1;text-align:center;color:#8ed4ff;transition:transform .2s ease}
.tb26-session-accordion[open]>.tb26-session-head .tb26-session-meta>i{transform:rotate(180deg)}
.tb26-session-body{padding:12px;background:#f4f7fb;display:flex;flex-direction:column;gap:10px}
.tb26-session-body>.tb26-event-card{margin:0;border-radius:14px;box-shadow:0 3px 12px rgba(18,52,91,.04)}
.tb26-result-category{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:10px 16px 8px 74px;background:#eef5fc;border-bottom:1px solid var(--tb26-line2)}
.tb26-result-category>span{font-size:10px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;color:var(--tb26-blue)}
.tb26-result-category>small{font-size:10px;color:var(--tb26-muted);font-weight:750}
.tb26-session-unscheduled>.tb26-session-head{background:linear-gradient(135deg,#5b6675,#75859a)}

@media(max-width:700px){
  .tb26-session-groups{gap:10px}
  .tb26-session-accordion{border-radius:16px}
  .tb26-session-head{padding:14px 13px;gap:10px}
  .tb26-session-title>b{font-size:15px}
  .tb26-session-title>small{font-size:10px}
  .tb26-session-meta{grid-template-columns:auto 20px;gap:5px}
  .tb26-session-meta>small{display:none}
  .tb26-session-meta>strong{min-width:30px;height:28px;font-size:12px}
  .tb26-session-body{padding:8px;gap:8px}
  .tb26-result-category{padding:9px 10px 8px 47px;display:block}
  .tb26-result-category>small{display:block;margin-top:3px}
}


/* V2.9.29 — Resultados: tercer nivel de acordeón por categoría */
.tb26-event-card-body{padding:10px;background:#f7f9fc;display:flex;flex-direction:column;gap:8px}
.tb26-category-accordion{border:1px solid #dbe5ef;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 2px 8px rgba(18,52,91,.035)}
.tb26-category-accordion>summary{list-style:none;cursor:pointer;user-select:none}
.tb26-category-accordion>summary::-webkit-details-marker{display:none}
.tb26-category-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;background:#fff;transition:background .16s ease}
.tb26-category-head:hover{background:#f3f8fe}
.tb26-category-head>div:first-child{min-width:0;display:grid;gap:2px}
.tb26-category-head>div:first-child>span{font-size:8px;line-height:1;font-weight:950;letter-spacing:.14em;color:var(--tb26-blue);text-transform:uppercase}
.tb26-category-head>div:first-child>b{font-size:13px;line-height:1.2;font-weight:950;color:var(--tb26-navy)}
.tb26-category-head>div:first-child>small{font-size:9px;line-height:1.2;color:#75879a;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tb26-category-meta{display:grid;grid-template-columns:auto auto 20px;align-items:center;gap:6px;flex:0 0 auto;color:#667d93}
.tb26-category-meta>strong{display:grid;place-items:center;min-width:28px;height:26px;padding:0 7px;border-radius:999px;background:#eef6ff;color:var(--tb26-navy);font-size:11px}
.tb26-category-meta>small{font-size:9px;white-space:nowrap}
.tb26-category-meta>i{font-style:normal;font-size:18px;line-height:1;text-align:center;color:var(--tb26-blue);transition:transform .18s ease}
.tb26-category-accordion[open]>.tb26-category-head{background:#f8fbff;border-bottom:1px solid #e5edf5}
.tb26-category-accordion[open]>.tb26-category-head .tb26-category-meta>i{transform:rotate(180deg)}
.tb26-category-body{background:#fff}
.tb26-category-body>.tb26-result-row-wrap:last-child{border-bottom:0}
@media(max-width:700px){
  .tb26-event-card-body{padding:7px;gap:7px}
  .tb26-category-head{padding:10px 10px;gap:8px}
  .tb26-category-head>div:first-child>b{font-size:12px}
  .tb26-category-head>div:first-child>small{font-size:8px}
  .tb26-category-meta{grid-template-columns:auto 18px;gap:4px}
  .tb26-category-meta>small{display:none}
  .tb26-category-meta>strong{min-width:26px;height:24px;font-size:10px}
}

/* V2.10 — Inicio: últimos resultados publicados según fecha real de carga del PDF */
.tb26-home-results-more{margin-top:12px}


/* V2.10.3 — Inicio: últimos EVENTOS cargados con acceso directo */
.tb26-home-event-list{display:grid;gap:10px;margin-top:13px}
.tb26-home-event-card{
  width:100%;display:grid;grid-template-columns:72px minmax(0,1fr) auto 24px;
  gap:14px;align-items:center;text-align:left;border:1px solid #e0e7ef;border-radius:16px;
  padding:15px 16px;background:#fff;cursor:pointer;transition:.16s ease;
  font:inherit;box-shadow:0 7px 18px rgba(20,54,92,.035)
}
.tb26-home-event-card:hover{border-color:#b8d1eb;transform:translateY(-1px);box-shadow:0 11px 24px rgba(20,54,92,.07)}
.tb26-home-event-no{width:58px;height:58px;border-radius:14px;background:#edf6ff;border:1px solid #d7e9fb;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--tb26-blue);line-height:1}
.tb26-home-event-no span{font-size:8px;font-weight:950;letter-spacing:.12em}
.tb26-home-event-no strong{font-size:24px;margin-top:4px}
.tb26-home-event-copy{min-width:0}
.tb26-home-event-copy b{display:block;color:var(--tb26-navy);font-size:15px;line-height:1.25}
.tb26-home-event-copy small{display:block;color:var(--tb26-muted);font-size:10px;margin-top:5px}
.tb26-home-event-card>i{font-style:normal;color:var(--tb26-blue);font-size:20px}
.tb26-home-event-logos{display:flex;align-items:center;justify-content:flex-end}
.tb26-home-event-logos span{width:34px;height:34px;border-radius:10px;background:#fff;border:1px solid #dce5ee;display:grid;place-items:center;margin-left:-6px;overflow:hidden;box-shadow:0 3px 8px rgba(13,43,74,.06)}
.tb26-home-event-logos span:first-child{margin-left:0}
.tb26-home-event-logos img{max-width:84%;max-height:84%;object-fit:contain;display:block}

/* V2.10.3 — Medallero móvil: no ocultar los logos de equipo */
@media (max-width:640px){
  .tb26-med-tiny{display:grid!important;width:34px;height:34px;border-radius:9px}
  .tb26-med-namebox{gap:7px}
  .tb26-med-t-row{grid-template-columns:30px minmax(0,1fr) repeat(4,36px)}
  .tb26-home-event-card{grid-template-columns:56px minmax(0,1fr) 22px;padding:13px 12px;gap:10px}
  .tb26-home-event-no{width:50px;height:50px}
  .tb26-home-event-no strong{font-size:21px}
  .tb26-home-event-copy b{font-size:13px}
  .tb26-home-event-logos{grid-column:2/3;justify-content:flex-start;margin-top:-2px}
  .tb26-home-event-card>i{grid-column:3;grid-row:1/3;align-self:center}
}
