.project-panel.twl-panel { min-height:0; padding:0; }
.project-panel.twl-panel:not([hidden]) { display:block; }

.twl-demo {
  --twl-cyan:#36eff2;
  --twl-progress:0%;
  position:relative;
  isolation:isolate;
  container-type:inline-size;
  width:100%;
  height:610px;
  overflow:hidden;
  color:#eef3ff;
  background:#090d2b;
  font-family:Arial,Helvetica,sans-serif;
}

.twl-ambient { position:absolute; z-index:-1; inset:0; overflow:hidden; background:radial-gradient(ellipse at 76% 45%,#123951 0%,#0e193d 38%,#090d2b 74%); }
.twl-grid { position:absolute; inset:-80px; background-image:linear-gradient(rgb(75 170 205 / 7%) 1px,transparent 1px),linear-gradient(90deg,rgb(75 170 205 / 7%) 1px,transparent 1px); background-size:56px 56px; transform:perspective(700px) rotateX(25deg) rotateZ(-10deg); mask-image:radial-gradient(ellipse,#000,transparent 72%); animation:twl-grid-drift 40s linear infinite; }
.twl-glow { position:absolute; width:55%; aspect-ratio:1; right:0; top:0; border-radius:50%; background:radial-gradient(circle,rgb(23 173 222 / 13%),transparent 68%); animation:twl-glow-drift 15s ease-in-out infinite alternate; }
.twl-watermark { position:absolute; left:-30px; bottom:20px; color:rgb(113 155 214 / 3%); font-size:36cqw; font-weight:900; font-style:italic; letter-spacing:-.12em; }
.twl-presentation { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.9fr); align-items:center; gap:28px; height:calc(100% - 54px); padding:28px 32px 20px; }
.twl-copy { position:relative; z-index:2; min-width:0; }
.twl-copy h3 { margin:0; color:#eef3ff; font-size:clamp(32px,4cqw,48px); line-height:1.05; font-weight:750; letter-spacing:-.055em; text-align:left; }
.twl-demo[data-scene="intro"] .twl-copy h3 { font-size:clamp(38px,5.5cqw,66px); }
.twl-copy h3 em { color:var(--twl-cyan); font-style:normal; }
.twl-copy > p { max-width:310px; margin:22px 0 0; color:#aebcda; font-size:15px; line-height:1.8; }
.twl-capabilities { display:flex; flex-wrap:wrap; gap:6px; margin-top:26px; }
.twl-capabilities > span { padding:5px 8px; border:1px solid rgb(155 181 222 / 18%); border-radius:5px; color:#9aafcf; font-size:10px; }
.twl-stage { position:relative; min-width:0; width:100%; height:480px; perspective:1300px; }
.twl-intro { position:absolute; inset:0; opacity:0; transform:translateY(20px) scale(.92); transition:opacity .6s,transform .9s cubic-bezier(.2,.65,.2,1); pointer-events:none; }
.twl-demo[data-scene="intro"] .twl-intro { opacity:1; transform:translateY(0) scale(1); }
.twl-intro-cover { position:absolute; inset:16px 0; width:100%; height:calc(100% - 32px); object-fit:cover; border-radius:20px; opacity:.38; mask-image:radial-gradient(ellipse at 60% 50%,#000 5%,transparent 74%); }
.twl-emblem-halo { position:absolute; width:70%; aspect-ratio:1; top:50%; left:50%; translate:-50% -50%; border:1px solid rgb(54 239 242 / 16%); border-radius:50%; box-shadow:0 0 0 30px rgb(54 239 242 / 3%),0 0 0 60px rgb(54 239 242 / 2%); }
.twl-emblem { position:absolute; top:45%; left:50%; width:58%; max-width:330px; height:auto; transform:translate(-50%,-50%) rotateY(-8deg) rotateZ(-3deg); filter:drop-shadow(0 25px 30px rgb(0 0 0 / 45%)) drop-shadow(0 0 24px rgb(54 239 242 / 12%)); animation:twl-emblem-float 7s ease-in-out infinite alternate; }
.twl-intro-label { position:absolute; bottom:57px; left:0; width:100%; color:#b6dce5; text-align:center; font-size:11px; font-weight:700; letter-spacing:2px; }
.twl-floating-badge { position:absolute; right:2%; bottom:102px; display:flex; align-items:center; gap:10px; padding:13px 17px; border:1px solid rgb(54 239 242 / 24%); border-radius:10px; color:#deefff; background:rgb(12 26 53 / 88%); box-shadow:0 12px 32px rgb(0 0 0 / 25%); backdrop-filter:blur(14px); font-size:13px; animation:twl-badge-float 7s ease-in-out infinite alternate; }
.twl-floating-badge > span { color:var(--twl-cyan); font-size:28px; }
.twl-floating-badge small { display:block; margin-top:4px; color:#8da8c3; font-size:11px; }

.twl-app { position:absolute; inset:0; overflow:hidden; border:1px solid #33496b; border-radius:14px; background:#0d142b; box-shadow:0 24px 54px rgb(0 0 0 / 35%); opacity:1; transform:rotateY(-3deg) rotateX(1deg); transition:opacity .6s,transform .9s; }
.twl-demo[data-scene="intro"] .twl-app { opacity:0; transform:translateX(35px) rotateY(-12deg) scale(.91); pointer-events:none; }
.twl-app-chrome { display:flex; align-items:center; gap:9px; height:40px; padding:0 14px; border-bottom:1px solid #26344f; background:#111b38; font-size:11px; font-weight:750; letter-spacing:.6px; }
.twl-app-chrome > img { width:25px; height:26px; object-fit:contain; }
.twl-app-chrome b { color:var(--twl-cyan); }
.twl-app-status { display:flex; align-items:center; gap:5px; margin-left:auto; color:#93bcbc; font-size:9px; font-weight:400; letter-spacing:0; }
.twl-app-status i { width:4px; height:4px; border-radius:50%; background:#66e4b1; }
.twl-app-body { display:grid; grid-template-columns:63px minmax(0,1fr); height:calc(100% - 40px); }
.twl-sidebar { display:flex; flex-direction:column; align-items:stretch; gap:8px; padding:16px 6px 14px; border-right:1px solid #222e49; background:#0a1125; }
.twl-sidebar > span { display:grid; justify-items:center; gap:5px; padding:10px 1px; border-radius:7px; color:#667b9e; font-size:20px; }
.twl-sidebar small { font-size:8px; text-align:center; }
.twl-sidebar > span.is-active { color:var(--twl-cyan); background:rgb(54 239 242 / 9%); }
.twl-sidebar > img { width:29px; height:28px; margin:auto auto 0; opacity:.4; }
.twl-views { position:relative; min-width:0; }
.twl-view { position:absolute; inset:0; padding:16px; opacity:0; transform:translateY(18px); transition:opacity .45s,transform .65s; pointer-events:none; }
.twl-view.is-active { opacity:1; transform:translateY(0); }
.twl-view-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:34px; margin-bottom:14px; }
.twl-view-heading > div > small { display:block; margin-bottom:5px; color:#8298b9; font-size:8px; font-weight:700; letter-spacing:1.2px; }
.twl-view-heading > div > strong { display:block; color:#f2f5ff; font-size:22px; line-height:1.15; letter-spacing:-.6px; }
.twl-mini-label { color:#93afce; font-size:9px; white-space:nowrap; }
.twl-tournament-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.twl-tournament-card { min-width:0; overflow:hidden; border:1px solid #2c3a5b; border-radius:9px; background:#151e3a; transition:border-color .3s,box-shadow .3s,transform .3s; }
.twl-demo[data-action="selecting"] .twl-featured-tournament { border-color:var(--twl-cyan); box-shadow:0 0 20px rgb(54 239 242 / 13%); transform:translateY(-3px); }
.twl-card-image { position:relative; height:99px; overflow:hidden; background:#0a1830; }
.twl-card-image > img:first-child { width:100%; height:100%; object-fit:cover; object-position:center 36%; }
.twl-card-image > .twl-card-logo { position:absolute; width:25px; height:25px; left:8px; top:8px; }
.twl-card-pill { position:absolute; right:6px; bottom:7px; padding:4px 6px; border:1px solid rgb(54 239 242 / 25%); border-radius:20px; color:#a7f4f0; background:rgb(7 22 45 / 85%); font-size:8px; }
.twl-secondary-tournament .twl-card-image > img:first-child { filter:hue-rotate(23deg); }
.twl-card-content { padding:12px; }
.twl-card-content > strong { display:block; font-size:18px; }
.twl-card-content > small { display:block; margin-top:5px; color:#849bc3; font-size:9px; }
.twl-prize { display:flex; justify-content:space-between; gap:6px; margin-top:12px; }
.twl-prize > span { color:#90a1c2; font-size:9px; }
.twl-prize b { display:block; margin-top:4px; color:#e8f4ff; font-size:18px; }
.twl-prize > span:first-child b { color:var(--twl-cyan); }
.twl-prize b small { font-size:8px; }
.twl-capacity { display:flex; justify-content:space-between; gap:4px; margin-top:12px; color:#93a5c3; font-size:8px; }
.twl-capacity b { color:#c4d8e9; font-weight:400; }
.twl-capacity-track { height:3px; margin:6px 0 14px; overflow:hidden; border-radius:5px; background:#2a3553; }
.twl-capacity-track > i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#31e1e5,#3970ef); }
.twl-fake-button { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:30px; padding:8px 11px; border:1px solid #3c526d; border-radius:6px; color:#c0dfec; font-size:10px; font-weight:700; line-height:1.3; }
.twl-featured-tournament .twl-fake-button,.twl-register-submit { color:#081a31; border-color:transparent; background:linear-gradient(110deg,#36eff2,#27b9ec); }

.twl-registration { padding:14px; border:1px solid #303d5e; border-radius:9px; background:#151e35; }
.twl-registration-header { display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.twl-squad-logo { display:grid; place-items:center; width:40px; height:40px; border:1px solid rgb(54 239 242 / 38%); border-radius:10px; background:rgb(54 239 242 / 9%); color:var(--twl-cyan); font-size:18px; font-weight:800; }
.twl-registration-header strong { display:block; font-size:16px; }
.twl-registration-header small { display:block; margin-top:5px; color:#8f9fbb; font-size:10px; }
.twl-form-grid { display:grid; grid-template-columns:minmax(0,1fr) 70px; gap:10px; }
.twl-fake-field > small { display:block; margin-bottom:6px; color:#9babc3; font-size:9px; }
.twl-fake-field > span { display:block; min-height:31px; padding:9px 10px; border:1px solid #3e4d6e; border-radius:5px; color:#dbe5f7; background:#0d1528; font-size:12px; }
.twl-demo[data-action="typing"] [data-twl-typed="team"] { border-color:#36afb9; }
.twl-player-fields { display:grid; gap:9px; margin-top:14px; }
.twl-player-fields > div { display:flex; align-items:center; gap:9px; min-height:46px; padding:7px 10px; border:1px solid #2e3b55; border-radius:6px; background:#11192c; }
.twl-player-initial { display:grid; place-items:center; flex:none; width:28px; height:28px; border-radius:50%; color:#9cbbd7; background:#23374f; font-size:11px; }
.twl-player-fields small { display:block; color:#8fa2bf; font-size:8px; }
.twl-player-fields i { margin-left:5px; padding:2px 4px; border-radius:3px; color:#a797e7; background:#312948; font-size:7px; font-style:normal; }
.twl-player-fields strong { display:block; min-height:13px; margin-top:4px; font-size:12px; }
.twl-player-check { margin-left:auto; color:#57c5c0; font-size:12px; }
.twl-registration-footer { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:14px; }
.twl-registration-footer > span { max-width:48%; color:#8597b0; font-size:9px; line-height:1.5; }
.twl-register-submit { white-space:nowrap; }
.twl-success { position:absolute; bottom:14px; left:16px; right:16px; display:flex; align-items:center; gap:10px; padding:11px 14px; border:1px solid rgb(95 216 177 / 40%); border-radius:8px; background:#163b36; box-shadow:0 8px 20px rgb(0 0 0 / 15%); opacity:0; transform:translateY(10px); transition:opacity .3s,transform .4s; }
.twl-success > span { display:grid; place-items:center; width:24px; height:24px; flex:none; border-radius:50%; color:#133a30; background:#73d6b8; font-size:14px; }
.twl-success strong { display:block; color:#d0f6e8; font-size:12px; }
.twl-success small { display:block; margin-top:4px; color:#8cbfac; font-size:9px; }
.twl-demo:is([data-action="confirmed"],[data-action="saved"]) .twl-view.is-active .twl-success { opacity:1; transform:translateY(0); }
.twl-demo[data-action="confirmed"] .twl-register-submit { color:#b8f3d9; border-color:#3e7867; background:#235444; }
.twl-result-settings { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:14px; padding:12px; border:1px solid #36334e; border-radius:7px; background:#1b1b32; }
.twl-result-settings small { display:block; margin-bottom:6px; color:#948fae; font-size:9px; }
.twl-result-settings strong { color:#d7d1ed; font-size:11px; font-weight:500; }
.twl-purple-label { padding:5px 8px; border-radius:4px; color:#bca8f1; background:#292342; }
.twl-result-card { overflow:hidden; border:1px solid #3a3554; border-radius:8px; background:#1a1a2e; }
.twl-result-team { display:flex; align-items:center; gap:9px; padding:12px; border-bottom:1px solid #343047; }
.twl-team-icon { display:grid; place-items:center; flex:none; width:26px; height:26px; border:1px solid color-mix(in srgb,var(--team-color),transparent 65%); border-radius:6px; color:var(--team-color); background:color-mix(in srgb,var(--team-color),transparent 93%); font-size:9px; font-weight:800; }
.twl-result-team strong { display:block; font-size:12px; }
.twl-result-team small { display:block; margin-top:4px; color:#8f89a3; font-size:8px; }
.twl-result-team > span:last-child { margin-left:auto; color:#a79cbb; font-size:8px; }
.twl-result-team > span:last-child b { display:inline-grid; place-items:center; width:27px; height:27px; margin-left:7px; border:1px solid #514765; border-radius:5px; color:#d3c2ee; background:#252039; font-size:13px; }
.twl-result-table > div { display:flex; align-items:center; justify-content:space-between; min-height:40px; padding:7px 13px; border-top:1px solid #2c293f; color:#cfc9e1; font-size:12px; }
.twl-result-table > div:first-child { min-height:27px; color:#8f839f; font-size:8px; }
.twl-result-table i { margin-left:7px; color:#9f83d1; font-size:8px; font-style:normal; font-weight:400; }
.twl-number-field { display:grid; place-items:center; width:48px; height:27px; border:1px solid #5f4b83; border-radius:5px; background:#151122; color:#d9c5ff; font-size:13px; font-variant-numeric:tabular-nums; }
.twl-result-total { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:14px; }
.twl-result-total > span { color:#aaa1ba; font-size:10px; }
.twl-result-total b { margin-left:7px; color:#ddc9ff; font-size:19px; }
.twl-save-results { border-color:#8c68c7; color:#f2eaff; background:#7852b2; }
.twl-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-bottom:13px; }
.twl-stats > div { padding:10px 12px; border:1px solid #283653; border-radius:7px; background:#17213b; }
.twl-stats small { display:block; color:#859ab9; font-size:8px; letter-spacing:.8px; }
.twl-stats strong { display:block; margin-top:6px; color:#dfedf8; font-size:21px; }
.twl-live-badge { color:#70ceb7; }
.twl-table-head,.twl-rank-row { display:grid; grid-template-columns:25px minmax(0,1.4fr) minmax(0,1fr) 32px 40px; align-items:center; gap:8px; padding:0 9px; }
.twl-table-head { height:27px; color:#6f84a6; font-size:8px; letter-spacing:.6px; }
.twl-table-head > :nth-last-child(-n+2) { text-align:right; }
.twl-rankings { position:relative; height:204px; }
.twl-rank-row { position:absolute; inset:0 0 auto; height:49px; border-top:1px solid #283551; border-radius:5px; background:#111b32; color:#acbdd5; font-size:10px; transform:translateY(calc(var(--row) * 51px)); transition:transform .9s cubic-bezier(.2,.7,.2,1),background .4s,border-color .4s; }
.twl-rank-row > :nth-last-child(-n+2) { text-align:right; }
.twl-rank { color:#8eabc8; font-size:12px; }
.twl-ranking-team { display:flex; align-items:center; gap:7px; min-width:0; }
.twl-ranking-team strong { overflow:hidden; color:#dce8f3; font-size:10px; font-weight:600; text-overflow:ellipsis; white-space:nowrap; }
.twl-table-players { overflow:hidden; color:#778da9; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
.twl-points { color:#d1ecf2; font-size:13px; font-variant-numeric:tabular-nums; }
.twl-rank-row.is-leader { z-index:1; border:1px solid rgb(54 239 242 / 35%); background:#17393f; }
.twl-rank-row.is-leader :is(.twl-rank,.twl-points) { color:var(--twl-cyan); }
.twl-table-caption { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; margin-top:10px; color:#667e9f; font-size:8px; }
.twl-rank-update { color:#6bdacb; opacity:0; transition:opacity .4s; }
.twl-demo[data-action="updated"] .twl-rank-update { opacity:1; }

.twl-cursor { position:absolute; z-index:5; width:22px; height:28px; overflow:visible; filter:drop-shadow(0 3px 5px rgb(0 0 0 / 40%)); pointer-events:none; opacity:1; transition:opacity .3s; }
.twl-demo[data-scene="intro"] .twl-cursor { opacity:0; }

.twl-controls { position:absolute; inset:auto 0 0; display:flex; align-items:center; gap:15px; height:54px; padding:0 26px; border-top:1px solid rgb(143 181 218 / 13%); background:rgb(5 11 31 / 75%); }
.twl-scene-buttons { display:flex; flex:none; align-items:center; gap:2px; }
.twl-scene-buttons button { display:grid; place-items:center; width:20px; height:30px; padding:0; border-radius:4px; background:none; }
.twl-scene-buttons button > span { width:5px; height:5px; border-radius:50%; background:#38506d; transition:background .2s,box-shadow .2s; }
.twl-scene-buttons button[aria-pressed="true"] > span { background:var(--twl-cyan); box-shadow:0 0 9px rgb(54 239 242 / 40%); }
.twl-scene-buttons button:is(:hover,:focus-visible) > span { background:#bdffff; }
.twl-scene-buttons button:focus-visible { outline:1px solid var(--twl-cyan); outline-offset:1px; }
.twl-scene-name { overflow:hidden; color:#9fb4d0; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.twl-demo-note { margin-left:auto; color:#536b8c; font-size:9px; white-space:nowrap; }
.twl-progress { position:absolute; inset:auto 0 0; height:2px; background:#13233d; }
.twl-progress > span { display:block; width:var(--twl-progress); height:100%; background:linear-gradient(90deg,#136cba,#36eff2); box-shadow:0 0 12px rgb(54 239 242 / 40%); }

@keyframes twl-emblem-float { from { transform:translate(-50%,-50%) rotateY(-8deg) rotateZ(-3deg); } to { transform:translate(-50%,-54%) rotateY(8deg) rotateZ(2deg); } }
@keyframes twl-badge-float { from { transform:translateY(0); } to { transform:translateY(-7px); } }
@keyframes twl-grid-drift { to { background-position:56px 56px; } }
@keyframes twl-glow-drift { to { transform:translate(-60px,30px) scale(1.15); } }
.twl-demo[data-playing="false"] *,.twl-demo[data-playing="false"] *::before { animation-play-state:paused; }

@media(max-width:900px) and (min-width:701px) {
  .twl-presentation { gap:18px; padding-inline:22px; }
  .twl-copy h3 { font-size:31px; }
  .twl-copy > p { font-size:13px; }
  .twl-capabilities { gap:4px; }
  .twl-capabilities > span { padding:4px 5px; font-size:8px; }
  .twl-view { padding:12px; }
  .twl-card-content { padding:9px; }
  .twl-view-heading > div > strong { font-size:19px; }
  .twl-view-heading > .twl-mini-label { display:none; }
  .twl-table-players { display:none; }
  .twl-table-head,.twl-rank-row { grid-template-columns:22px minmax(0,1fr) 27px 35px; gap:6px; }
  .twl-registration-footer > span { display:none; }
  .twl-registration-footer { justify-content:flex-end; }
}

@media(max-width:700px) {
  .twl-demo { height:850px; }
  .twl-presentation { display:flex; flex-direction:column; align-items:stretch; gap:18px; height:calc(100% - 62px); padding:22px 16px 16px; }
  .twl-copy h3,.twl-demo[data-scene="intro"] .twl-copy h3 { font-size:36px; }
  .twl-demo[data-scene="intro"] .twl-copy h3 br { display:none; }
  .twl-demo[data-scene="intro"] .twl-copy h3 em::before { content:" "; }
  .twl-copy > p { max-width:440px; margin-top:14px; font-size:14px; line-height:1.7; }
  .twl-capabilities { margin-top:15px; }
  .twl-stage { flex:none; height:440px; margin-top:auto; }
  .twl-intro-cover { inset:0; height:100%; }
  .twl-emblem { width:66%; max-width:270px; }
  .twl-floating-badge { bottom:73px; right:0; padding:10px 12px; font-size:11px; }
  .twl-intro-label { bottom:28px; font-size:9px; letter-spacing:1px; }
  .twl-app { transform:none; border-radius:10px; }
  .twl-demo[data-scene="intro"] .twl-app { transform:translateY(12px) scale(.94); }
  .twl-app-chrome { height:35px; padding-inline:9px; gap:6px; font-size:9px; letter-spacing:.2px; }
  .twl-app-chrome > img { width:20px; height:23px; }
  .twl-app-status { font-size:7px; }
  .twl-app-body { height:calc(100% - 35px); grid-template-columns:40px minmax(0,1fr); }
  .twl-sidebar { padding:12px 3px; gap:5px; }
  .twl-sidebar > span { font-size:18px; }
  .twl-sidebar small { font-size:7px; }
  .twl-sidebar > img { width:23px; }
  .twl-view { padding:12px 9px; }
  .twl-view-heading { gap:4px; margin-bottom:14px; }
  .twl-view-heading > div > strong { font-size:19px; }
  .twl-view-heading > div > small { font-size:7px; letter-spacing:.7px; }
  .twl-view-heading > .twl-mini-label { display:none; }
  .twl-tournament-cards { grid-template-columns:minmax(0,1fr); }
  .twl-secondary-tournament { display:none; }
  .twl-card-image { height:105px; }
  .twl-card-content { padding:12px; }
  .twl-registration { padding:11px 9px; }
  .twl-registration-header { gap:7px; margin-bottom:14px; }
  .twl-registration-header strong { font-size:12px; }
  .twl-registration-header small { font-size:8px; line-height:1.5; }
  .twl-squad-logo { width:30px; height:30px; font-size:13px; }
  .twl-form-grid { grid-template-columns:minmax(0,1fr) 42px; gap:6px; }
  .twl-fake-field > span { padding-inline:6px; font-size:11px; }
  .twl-player-fields > div { padding-inline:6px; gap:6px; }
  .twl-player-initial { width:22px; height:22px; }
  .twl-player-fields i { display:block; width:max-content; margin:3px 0 0; }
  .twl-registration-footer > span { display:none; }
  .twl-registration-footer { justify-content:flex-end; }
  .twl-registration-footer > .twl-fake-button { width:100%; justify-content:center; }
  .twl-success { left:9px; right:9px; bottom:12px; padding:10px 8px; gap:7px; }
  .twl-success strong { font-size:11px; }
  .twl-success small { font-size:8px; line-height:1.5; }
  .twl-result-settings { gap:8px; padding:10px; }
  .twl-result-settings strong { font-size:9px; }
  .twl-result-team { gap:6px; padding:10px 7px; }
  .twl-result-team strong { font-size:11px; }
  .twl-result-team small { display:none; }
  .twl-result-team > span:last-child { font-size:0; }
  .twl-result-team > span:last-child b { width:22px; height:25px; }
  .twl-result-total { align-items:flex-end; gap:8px; }
  .twl-result-total > span { font-size:8px; }
  .twl-result-total b { display:block; margin:5px 0 0; }
  .twl-save-results { max-width:115px; font-size:9px; }
  .twl-stats { gap:5px; }
  .twl-stats > div { padding:9px 6px; }
  .twl-stats small { font-size:7px; letter-spacing:0; }
  .twl-stats strong { font-size:19px; }
  .twl-table-players { display:none; }
  .twl-table-head,.twl-rank-row { grid-template-columns:18px minmax(0,1fr) 25px 32px; gap:4px; padding-inline:5px; }
  .twl-team-icon { width:22px; height:22px; font-size:8px; }
  .twl-ranking-team { gap:4px; }
  .twl-ranking-team strong { font-size:9px; }
  .twl-rank { font-size:11px; }
  .twl-points { font-size:11px; }
  .twl-rankings { height:188px; }
  .twl-rank-row { height:45px; transform:translateY(calc(var(--row) * 47px)); }
  .twl-controls { height:62px; padding:0 14px; gap:8px; flex-wrap:wrap; align-content:center; }
  .twl-scene-buttons { gap:0; }
  .twl-scene-buttons button { width:19px; height:25px; }
  .twl-scene-name { font-size:9px; }
  .twl-demo-note { width:100%; margin:-2px 0 0; font-size:8px; }
}

@media(prefers-reduced-motion:reduce) {
  .twl-demo *,.twl-demo *::before { animation:none !important; transition:none !important; }
}
