:root{--uno-edge:#c6d9f2;--uno-ink:#214269;--uno-soft:#eff6ff;--uno-card-w:89px;--uno-card-h:130px}
.kt-uno-root{background:linear-gradient(180deg,#eaf4ff,#dfeeff);border:1px solid #c8ddf3;border-radius:18px;padding:16px;color:var(--uno-ink);box-shadow:0 12px 28px #2e5f9620}
.kt-uno-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.kt-uno-header h3{margin:4px 0 0;font-size:29px;color:#1b3960}.kt-uno-header p{margin:7px 0 0;color:#577190;font-size:13px;max-width:58ch;line-height:1.5}.kt-uno-eyebrow{display:inline-block;font-size:11px;font-weight:900;letter-spacing:.1em;color:#f39f1f;text-transform:uppercase}
.kt-uno-root button{font:inherit;border-radius:999px;padding:10px 16px;font-weight:800;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,filter .15s ease}.kt-uno-primary{background:linear-gradient(180deg,#468af0,#2457b0);color:#fff;border:1px solid #3871be;box-shadow:0 4px 0 #173f85,0 8px 18px #20498820}.kt-uno-secondary{background:linear-gradient(180deg,#fff,#e7f0fd);color:#285394;border:1px solid #c6d9ef;box-shadow:0 3px 0 #cedbeb,0 7px 15px #143d6c12}.kt-uno-primary:hover:not(:disabled),.kt-uno-secondary:hover:not(:disabled),.kt-uno-shout:hover:not(:disabled){transform:translateY(-2px)}
.kt-uno-create{display:flex;align-items:end;gap:11px;background:#fff;border:1px solid var(--uno-edge);border-radius:14px;padding:15px;margin-bottom:14px;box-shadow:0 8px 20px #2f5f9630}.kt-uno-create label{flex:1;display:block;font-size:10px;font-weight:800;letter-spacing:.075em;color:#56718c}.kt-uno-create input{display:block;width:100%;background:#f9fcff;color:#214269;border:1px solid #c5d8eb;border-radius:5px;margin-top:7px;padding:10px 12px;font-size:13px;letter-spacing:0}
.kt-uno-table-list{display:grid;gap:8px;min-width:0}.kt-uno-list-row{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid var(--uno-edge);border-radius:12px;padding:13px;box-shadow:0 5px 14px #2c5d9320}.kt-uno-list-row strong{display:block;font-size:14px;color:#234574}.kt-uno-list-row span{display:block;color:#6c8198;font-size:11px;margin-top:4px}.kt-uno-empty{color:#617992;font-size:13px;text-align:center;padding:26px 10px;background:#ffffffb8;border:1px dashed #b3cbe6;border-radius:12px;margin:0}
.kt-uno-rules{background:#fff;border:1px solid var(--uno-edge);border-radius:12px;padding:12px 15px;margin-top:16px;box-shadow:0 3px 12px #285a9214}.kt-uno-rules summary{font-weight:800;font-size:13px;color:#284a7a;cursor:pointer}.kt-uno-rules p{margin:11px 0 3px;font-size:12px;color:#536985;line-height:1.65}
.kt-uno-players{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 14px}.kt-uno-player{display:flex;align-items:center;gap:5px;min-width:0;flex:0 1 auto;border-radius:10px;border:1px solid #c8d9ed;background:#fff;padding:7px 8px;font-size:11px;color:#2b4c75;box-shadow:0 2px 7px #2d5d9020}.kt-uno-player.is-turn{background:#ffefd0;border-color:#f2ad51;box-shadow:0 0 0 2px #ffc95d66,0 4px 12px #e2ab5540}.kt-uno-player.is-out{opacity:.55}.kt-uno-player-avatar{width:22px;height:22px;flex:none;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#2f65bb,#6ea5ee);border-radius:50%;color:#fff;font-weight:850}.kt-uno-player-name{font-weight:800;overflow:hidden;text-overflow:ellipsis;max-width:105px;white-space:nowrap}.kt-uno-player-count{font-size:10px;color:#52728f;white-space:nowrap}
.kt-uno-lobby-controls{border:1px solid var(--uno-edge);background:#fff;border-radius:12px;padding:15px;box-shadow:0 5px 15px #285a9219}.kt-uno-lobby-controls p{font-size:12px;color:#5d728c;margin:12px 0 0}.kt-uno-actions{display:flex;flex-wrap:wrap;gap:10px}
.kt-uno-table{background:radial-gradient(circle at 50% 48%,#ffb64a 0,#ff7a1a 16%,#ef4a1a 42%,#c61f12 74%,#741109 100%);border:6px solid #a11e14;border-radius:32px;box-shadow:inset 0 6px 26px #fff4, inset 0 -10px 34px #6d0d09aa,0 16px 34px #67201555;padding:18px;color:#fff;position:relative;overflow:hidden}.kt-uno-table:before{content:'';position:absolute;inset:8px;border-radius:26px;border:2px solid #ffffff2c;pointer-events:none}.kt-uno-table:after{content:'';position:absolute;inset:0;background:radial-gradient(circle at 50% 58%,transparent 0 26%,#ffffff18 27% 28%,transparent 29% 100%),linear-gradient(135deg,transparent 0 30%,#ffffff0e 30% 32%,transparent 32% 100%);mix-blend-mode:screen;pointer-events:none}
.kt-uno-stage{position:relative;min-height:610px;padding:10px 10px 192px}.kt-uno-status{display:flex;gap:8px 12px;align-items:center;justify-content:center;flex-wrap:wrap;text-align:center;margin-bottom:18px}.kt-uno-status strong{font-size:13px;color:#fff;line-height:1.4;text-shadow:0 1px 3px #4c0d08}.kt-uno-status>span:last-child{font-size:10px;opacity:.85}.kt-uno-current-colour{padding:5px 9px;font-size:10px;font-weight:900;border-radius:999px;border:2px solid #ffffffb8;background:#3f4657;color:#fff;box-shadow:0 2px 4px #6e120d}.kt-uno-current-colour.is-red{background:#e6444b}.kt-uno-current-colour.is-yellow{background:#e7aa21;color:#402d06}.kt-uno-current-colour.is-green{background:#279f69}.kt-uno-current-colour.is-blue{background:#2983d8}
.kt-uno-centre-zone{position:relative;z-index:2;max-width:430px;margin:0 auto;padding-top:54px}.kt-uno-arena{position:relative;display:flex;align-items:center;justify-content:center;gap:42px;min-height:228px}.kt-uno-arrows{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);font-size:188px;font-weight:900;color:#fff3;pointer-events:none;line-height:.8}.kt-uno-deck-stack,.kt-uno-discard-zone{display:flex;flex-direction:column;align-items:center;gap:8px;position:relative;z-index:1;color:#ffe5d7;font-weight:800;font-size:11px}
.kt-uno-draw-pile{height:130px;width:89px;border:5px solid #fff;border-radius:6px;background:repeating-linear-gradient(130deg,#111c32,#111c32 8px,#28395c 9px,#28395c 14px);box-shadow:4px -3px 0 #ffd1b8,7px -6px 0 #88453a,0 8px 18px #200c0a99;color:#ffca51;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;font-weight:900}.kt-uno-draw-pile span{font-size:30px;letter-spacing:-.08em;transform:rotate(-10deg);text-shadow:2px 2px #141d32}.kt-uno-draw-pile strong{font-size:12px;color:#fefefe}.kt-uno-draw-pile:hover:not(:disabled){transform:translateY(-4px) rotate(-2deg)}.kt-uno-discard-stack{position:relative;padding:0 8px 8px}.kt-uno-discard-stack:before,.kt-uno-discard-stack:after{content:'';position:absolute;inset:0 8px 8px 8px;border-radius:6px;background:#ffffff1c;transform:translate(-6px,6px) rotate(-7deg)}.kt-uno-discard-stack:after{transform:translate(6px,4px) rotate(6deg)}
.kt-uno-seat{position:absolute;z-index:1;display:flex;flex-direction:column;align-items:center;gap:10px;max-width:170px}.kt-uno-seat.is-top{top:4px;left:50%;transform:translateX(-50%)}.kt-uno-seat.is-left{left:18px;top:180px}.kt-uno-seat.is-right{right:18px;top:180px}.kt-uno-seat.is-top-left{left:84px;top:64px}.kt-uno-seat.is-top-right{right:84px;top:64px}.kt-uno-seat.is-left-lower{left:66px;top:308px}.kt-uno-seat.is-right-lower{right:66px;top:308px}.kt-uno-seat.is-top-far-left{left:18px;top:92px}.kt-uno-seat.is-top-far-right{right:18px;top:92px}.kt-uno-seat.is-turn .kt-uno-seat-badge,.kt-uno-seat-badge.is-self.is-turn{box-shadow:0 0 0 3px #ffd05755,0 12px 25px #15070755;border-color:#ffd46d}.kt-uno-seat.is-out{opacity:.55}
.kt-uno-seat-badge{display:flex;align-items:center;gap:10px;min-width:148px;padding:7px 9px;border-radius:12px;background:#ffffffee;border:1px solid #fff7;box-shadow:0 8px 18px #240b0a33;color:#213963}.kt-uno-seat-avatar{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:linear-gradient(145deg,#7fd2ff,#3c69e6);color:#fff;font-size:16px;font-weight:900;box-shadow:inset 0 1px 0 #fff8}.kt-uno-seat-copy{display:flex;flex-direction:column;min-width:0;flex:1}.kt-uno-seat-copy strong{font-size:12px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kt-uno-seat-copy span{font-size:10px;color:#5f6f88;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kt-uno-seat-count{flex:none;display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:26px;padding:0 7px;border-radius:8px;background:#fff;border:1px solid #cedef5;color:#1c3561;font-weight:900;box-shadow:0 2px 6px #3b6aa621}
.kt-uno-opponent-fan{position:relative;height:82px;width:120px}.kt-uno-mini-back{position:absolute;left:18px;top:12px;width:54px;height:74px;border-radius:5px;border:3px solid #fff;background:repeating-linear-gradient(130deg,#141f35,#141f35 7px,#26395a 8px,#26395a 13px);box-shadow:0 7px 14px #21090673}.kt-uno-mini-back:before{content:'';position:absolute;inset:16px 7px;border:3px solid #ffffff99;border-radius:50%;transform:rotate(-32deg)}
.kt-uno-card{width:var(--uno-card-w);height:var(--uno-card-h);flex:none;padding:5px;border:4px solid #fff;border-radius:6px;display:flex;flex-direction:column;justify-content:space-between;align-items:stretch;color:#fff;background:#27374d;box-shadow:0 4px 7px #071f2a70;cursor:default;position:relative;overflow:hidden;text-align:left}.kt-uno-card:before{content:'';position:absolute;width:98px;height:65px;border:5px solid #ffffff5c;border-radius:50%;transform:rotate(-30deg);top:29px;left:-9px}.kt-uno-card.is-red{background:linear-gradient(145deg,#f85f67,#c91e3e)}.kt-uno-card.is-yellow{background:linear-gradient(145deg,#ffe55d,#e9a823);color:#493512}.kt-uno-card.is-green{background:linear-gradient(145deg,#44d59d,#0a8e65)}.kt-uno-card.is-blue{background:linear-gradient(145deg,#60b9ff,#225ac6)}.kt-uno-card.is-wild{background:linear-gradient(140deg,#e94853 0 25%,#f1c442 25% 50%,#279c65 50% 75%,#316cd0 75%);border-color:#222b38;color:#fff}.kt-uno-card.is-wild:before{background:#171b27a8}.kt-uno-corner{position:relative;z-index:1;font-weight:950;font-size:15px;line-height:1;text-shadow:0 1px 2px #0005}.kt-uno-corner.is-bottom{transform:rotate(180deg)}.kt-uno-card-centre{position:relative;z-index:1;align-self:center;display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:55px;gap:3px;text-align:center}.kt-uno-card-centre strong{font-weight:1000;font-size:43px;line-height:1;text-shadow:0 2px 4px #0004}.kt-uno-card-centre small{font-size:9px;font-weight:850;text-shadow:0 1px 2px #0009;color:#fff;text-transform:uppercase;line-height:1.15}
.kt-uno-hand{position:absolute;left:0;right:0;bottom:12px;z-index:3;padding:16px 12px 0;background:linear-gradient(180deg,#0000,#2407041f 24%,#0000001f 100%)}.kt-uno-self-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 auto 10px;max-width:660px}.kt-uno-self-summary .kt-uno-seat-badge{background:#fff7eb;border-color:#fff7cf;flex:1}.kt-uno-hand-cards{display:flex;justify-content:center;align-items:flex-end;min-height:182px;padding:10px 20px 0;overflow-x:auto;overflow-y:visible;scrollbar-width:thin;scrollbar-color:#ffffff88 transparent}.kt-uno-card-slot{margin:0 -13px;transform-origin:center bottom;transition:transform .15s ease,filter .15s ease}.kt-uno-hand-cards .kt-uno-card{cursor:default;transition:transform .15s ease,box-shadow .15s ease}.kt-uno-hand-cards .kt-uno-card.is-playable{cursor:pointer;box-shadow:0 4px 0 #f4cf62,0 12px 18px #1707066d}.kt-uno-hand-cards .kt-uno-card.is-playable:hover,.kt-uno-hand-cards .kt-uno-card.is-playable:focus-visible,.kt-uno-hand-cards .kt-uno-card.is-selected{transform:translateY(-18px);box-shadow:0 14px 24px #12060588}.kt-uno-hand-cards .kt-uno-card:disabled{opacity:.68;filter:saturate(.8)}
.kt-uno-colour-picker,.kt-uno-challenge,.kt-uno-callout{position:relative;display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;border:1px solid #ffffff82;background:#5a1108d1;border-radius:13px;padding:12px;color:#fff;text-align:center;box-shadow:0 8px 18px #2907043a;margin-top:14px}.kt-uno-colour-picker strong,.kt-uno-challenge strong,.kt-uno-callout strong{font-size:12px;flex-basis:100%}.kt-uno-challenge p{font-size:11px;margin:0 0 3px;flex-basis:100%;line-height:1.5}.kt-uno-colour{border:2px solid white;border-radius:12px;min-width:68px;min-height:39px;text-transform:capitalize;font-weight:900;color:#fff;box-shadow:0 3px 5px #0005}.kt-uno-colour.is-red{background:#d92a4e}.kt-uno-colour.is-yellow{background:#f3c03d;color:#382600}.kt-uno-colour.is-green{background:#159b67}.kt-uno-colour.is-blue{background:#2e78d6}.kt-uno-colour:hover:not(:disabled){transform:translateY(-3px)}.kt-uno-shout{background:linear-gradient(135deg,#ffe65d,#ffad36);border:2px solid #fff;color:#492810;font-size:18px;font-weight:1000;box-shadow:0 5px 0 #a56b24}.kt-uno-catch{background:#e45d57;color:white;border:1px solid #ec928e}.kt-uno-spectator{text-align:center;font-size:12px;color:#fff5e8;padding:32px 0 12px;margin:0}.kt-uno-winner{text-align:center;color:#fff;padding:16px 12px}.kt-uno-winner span{display:block;font-size:35px}.kt-uno-winner strong{display:block;font-size:23px;margin:5px 0}.kt-uno-winner p{font-size:13px;color:#fff0e8}
.kt-uno-message{font-size:12px;color:#335a88;background:#fff9df;padding:10px 12px;border:1px solid #f6daa1;border-radius:10px;margin-top:13px}.kt-uno-error{background:#fff0ed;color:#a53434;border:1px solid #f1b5b5;padding:10px 13px;font-size:12px;border-radius:10px;margin:13px 0}
.kt-dedicated-game-card.tone-uno{--kt-game-tone:#c9d8ff}
@media(max-width:900px){.kt-uno-stage{min-height:700px;padding-bottom:212px}.kt-uno-seat.is-left{left:10px;top:188px}.kt-uno-seat.is-right{right:10px;top:188px}.kt-uno-seat.is-top-left{left:40px}.kt-uno-seat.is-top-right{right:40px}.kt-uno-arena{gap:24px}}
@media(max-width:700px){.kt-uno-root{padding:11px}.kt-uno-header{flex-direction:column}.kt-uno-header h3{font-size:22px}.kt-uno-table{border-width:5px;border-radius:23px;padding:14px 7px}.kt-uno-table:before{border-radius:18px}.kt-uno-stage{min-height:710px;padding-bottom:220px}.kt-uno-centre-zone{padding-top:148px}.kt-uno-seat{position:static;transform:none!important;max-width:none}.kt-uno-seat.is-top,.kt-uno-seat.is-left,.kt-uno-seat.is-right,.kt-uno-seat.is-top-left,.kt-uno-seat.is-top-right,.kt-uno-seat.is-left-lower,.kt-uno-seat.is-right-lower,.kt-uno-seat.is-top-far-left,.kt-uno-seat.is-top-far-right{position:static}.kt-uno-stage{display:flex;flex-direction:column;gap:12px}.kt-uno-centre-zone{order:2}.kt-uno-seat{order:1}.kt-uno-hand{position:static;padding:6px 4px 0;background:none}.kt-uno-self-summary{margin-bottom:8px}.kt-uno-arena{min-height:194px;gap:14px}.kt-uno-arrows{font-size:132px}.kt-uno-create{flex-direction:column;align-items:stretch}.kt-uno-card,.kt-uno-draw-pile{width:76px;height:111px}.kt-uno-draw-pile span{font-size:26px}.kt-uno-card-centre strong{font-size:34px}.kt-uno-card:before{top:24px;width:83px;height:58px}.kt-uno-card-slot{margin:0 -10px}.kt-uno-hand-cards{justify-content:flex-start;padding:8px 0 0;min-height:146px}.kt-uno-self-summary .kt-uno-seat-badge{min-width:0}.kt-uno-seat-badge{min-width:0;width:100%}.kt-uno-opponent-fan{width:98px;height:72px}.kt-uno-mini-back{width:48px;height:66px}.kt-uno-hand-cards .kt-uno-card{width:70px;height:102px}.kt-uno-hand-cards .kt-uno-card-centre strong{font-size:31px}.kt-uno-hand-header h4{font-size:12px}}
@media(prefers-reduced-motion:reduce){.kt-uno-root button,.kt-uno-card-slot,.kt-uno-hand-cards .kt-uno-card{transition:none}}

/* November 21 layout correction: the generic UNO button rule above uses
   border-radius:999px, which was overriding playing-card corners.  Target the
   actual buttons with greater specificity so cards stay rectangular. */
.kt-uno-root button.kt-uno-card,
.kt-uno-root button.kt-uno-draw-pile {
  border-radius:6px;
  padding:5px;
  aspect-ratio:89 / 130;
  min-width:0;
  min-height:0;
  flex-shrink:0;
}
.kt-uno-root button.kt-uno-card {
  width:89px;
  height:130px;
}
.kt-uno-root button.kt-uno-draw-pile {
  width:89px;
  height:130px;
}
.kt-uno-root button.kt-uno-card.is-wild { border-radius:6px; }
.kt-uno-root .kt-uno-mini-back {border-radius:5px;}

/* Each area participates in layout instead of stacking on absolute positions.
   This avoids the status/hand/card overlap shown in the original screenshot. */
.kt-uno-table .kt-uno-stage {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-content:flex-start;
  align-items:flex-start;
  gap:14px 18px;
  min-height:0;
  padding:12px 8px 20px;
}
.kt-uno-table .kt-uno-seat,
.kt-uno-table .kt-uno-seat.is-top,
.kt-uno-table .kt-uno-seat.is-left,
.kt-uno-table .kt-uno-seat.is-right,
.kt-uno-table .kt-uno-seat.is-top-left,
.kt-uno-table .kt-uno-seat.is-top-right,
.kt-uno-table .kt-uno-seat.is-left-lower,
.kt-uno-table .kt-uno-seat.is-right-lower,
.kt-uno-table .kt-uno-seat.is-top-far-left,
.kt-uno-table .kt-uno-seat.is-top-far-right {
  position:relative;
  inset:auto;
  top:auto;
  bottom:auto;
  left:auto;
  right:auto;
  transform:none;
  order:1;
  flex:0 1 174px;
  width:min(174px,100%);
  max-width:174px;
  margin:0;
  gap:6px;
}
.kt-uno-table .kt-uno-seat-badge {min-width:0;width:100%;}
.kt-uno-table .kt-uno-opponent-fan {height:76px;}
.kt-uno-table .kt-uno-centre-zone {
  flex:0 0 100%;
  order:2;
  max-width:none;
  width:100%;
  margin:0;
  padding:4px 0 0;
  text-align:center;
}
.kt-uno-table .kt-uno-status {position:relative;z-index:2;margin:0 auto 18px;}
.kt-uno-table .kt-uno-arena {
  width:max-content;
  max-width:100%;
  margin:0 auto;
  min-height:195px;
  gap:clamp(16px,5vw,54px);
}
.kt-uno-table .kt-uno-arrows {font-size:112px;opacity:.42;}
.kt-uno-table .kt-uno-hand {
  position:relative;
  inset:auto;
  left:auto;
  right:auto;
  bottom:auto;
  flex:0 0 100%;
  order:3;
  min-width:0;
  width:100%;
  margin:14px 0 0;
  padding:18px 0 3px;
  border-top:1px solid #ffffff50;
  background:linear-gradient(180deg,#ffffff09,#34090230);
  border-radius:12px;
}
.kt-uno-table .kt-uno-self-summary {max-width:750px;padding:0 12px;}
.kt-uno-table .kt-uno-hand-cards {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:flex-start;
  gap:12px 10px;
  min-height:0;
  width:100%;
  padding:14px 12px 10px;
  overflow:visible;
}
.kt-uno-table .kt-uno-card-slot {
  flex:0 0 auto;
  margin:0;
  z-index:auto !important;
  transform:none !important;
}
.kt-uno-table .kt-uno-card-slot .kt-uno-card {
  display:flex;
  width:89px;
  height:130px;
}
.kt-uno-table .kt-uno-card-slot .kt-uno-card.is-playable:hover,
.kt-uno-table .kt-uno-card-slot .kt-uno-card.is-playable:focus-visible,
.kt-uno-table .kt-uno-card-slot .kt-uno-card.is-selected {
  transform:translateY(-5px);
}
.kt-uno-table .kt-uno-challenge,
.kt-uno-table .kt-uno-callout,
.kt-uno-table .kt-uno-colour-picker {
  position:relative;
  z-index:2;
  max-width:720px;
  margin:14px auto 0;
}
.kt-uno-table .kt-uno-spectator {flex:0 0 100%;order:3;}
.kt-uno-root button.kt-uno-colour {border-radius:9px;}
@media(max-width:700px){
  .kt-uno-table .kt-uno-stage{gap:12px 8px;padding:6px 0 10px;min-height:0;flex-direction:row;}
  .kt-uno-table .kt-uno-seat {width:min(155px,46%);flex-basis:155px;}
  .kt-uno-table .kt-uno-seat-badge{gap:5px;padding:5px;}
  .kt-uno-table .kt-uno-seat-avatar{width:26px;height:26px;}
  .kt-uno-table .kt-uno-opponent-fan{height:70px;}
  .kt-uno-table .kt-uno-centre-zone{padding:0;}
  .kt-uno-root button.kt-uno-card,.kt-uno-root button.kt-uno-draw-pile{width:76px;height:111px;}
  .kt-uno-table .kt-uno-card-slot .kt-uno-card{width:70px;height:102px;}
  .kt-uno-table .kt-uno-hand{margin-top:6px;padding-top:10px;}
  .kt-uno-table .kt-uno-hand-cards{gap:10px 7px;padding:10px 4px;}
  .kt-uno-table .kt-uno-arena{min-height:170px;}
}

/* Approved KeepTalking member avatars on player seats and waiting-roster chips. */
.kt-uno-table .kt-uno-seat-badge>.kt-avatar,
.kt-uno-table .kt-uno-self-summary .kt-avatar,
.kt-uno-lobby-controls .kt-uno-player>.kt-avatar{
  width:36px;height:36px;min-width:36px;min-height:36px;
  border:2px solid #fff;border-radius:9px;flex:0 0 36px;
  box-shadow:0 2px 9px #21345638;
}
.kt-uno-seat-badge .kt-avatar-uploaded,
.kt-uno-player .kt-avatar-uploaded{width:100%;height:100%;object-fit:cover;border-radius:inherit}
.kt-uno-table .kt-uno-seat-copy{min-width:0}
/* Keep winner display in the same normal-flow centre zone as the rest of the board. */
.kt-uno-table .kt-uno-winner{
  position:relative;z-index:3;width:min(390px,100%);margin:12px auto;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  padding:22px 20px 24px;border-radius:18px;
  background:linear-gradient(165deg,#4c0e11ec,#a92713ed);
  border:1px solid #ffd98b9c;box-shadow:0 14px 34px #270a0a69;
  color:#fff;text-align:center;
}
.kt-uno-table .kt-uno-winner-trophy{font-size:48px;line-height:1.2;display:block;overflow:visible}
.kt-uno-table .kt-uno-winner-avatar{display:flex;align-items:center;justify-content:center}
.kt-uno-table .kt-uno-winner-avatar>.kt-avatar.large{
  width:82px;height:82px;min-width:82px;border-radius:18px;
  border:4px solid #ffe9b6;box-shadow:0 0 0 5px #ffd96340,0 7px 19px #21060766;
}
.kt-uno-table .kt-uno-winner strong{display:block;font-size:clamp(20px,3vw,28px);margin:0;line-height:1.2}
.kt-uno-table .kt-uno-winner p{font-size:13px;line-height:1.5;margin:0;color:#ffead1}
.kt-uno-table .kt-uno-winner .kt-uno-rematch-note{font-size:11px;color:#ffe1b6}
.kt-uno-root button.kt-uno-play-again{font-size:14px;padding:11px 21px;margin-top:6px;border-radius:12px}
@media(max-width:700px){
  .kt-uno-table .kt-uno-winner{padding:18px 12px;margin:10px auto}
  .kt-uno-table .kt-uno-winner-avatar>.kt-avatar.large{width:68px;height:68px;min-width:68px}
}

/* Independent, accessible UNO effects and background-music switches. */
.kt-uno-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.kt-uno-audio-controls{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.kt-uno-root button.kt-uno-audio-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:37px;padding:7px 11px;border-radius:10px;background:linear-gradient(180deg,#ffffff,#e9f2ff);border:1px solid #bdd3f0;box-shadow:0 3px 0 #c9daef;color:#214878;font-size:12px;font-weight:800;white-space:nowrap}
.kt-uno-root button.kt-uno-audio-button[aria-pressed="false"]{background:#eff2f8;color:#78879c;box-shadow:none}
.kt-uno-root button.kt-uno-audio-button.is-start{background:#fff3d1;border-color:#edc36e;color:#85501b;box-shadow:0 3px 0 #e9c681}
.kt-uno-root button.kt-uno-audio-button:focus-visible{outline:3px solid #3479c9;outline-offset:2px}
@media(max-width:700px){.kt-uno-header-actions{justify-content:flex-start;width:100%}.kt-uno-audio-controls{gap:6px}.kt-uno-root button.kt-uno-audio-button{font-size:11px;padding:7px 9px}}

/* Wild-card colour selection must never depend on table height or browser zoom.
   The dialog is a sibling of the board, not a child of the player's hand. */
.kt-uno-root .kt-uno-colour-overlay{
  position:fixed;
  inset:0;
  z-index:100000;
  display:grid;
  place-items:center;
  padding:clamp(12px,3vw,30px);
  padding-top:max(12px,env(safe-area-inset-top));
  padding-bottom:max(12px,env(safe-area-inset-bottom));
  overflow-y:auto;
  overscroll-behavior:contain;
}
.kt-uno-root button.kt-uno-colour-backdrop{
  position:fixed;
  inset:0;
  width:100%;height:100%;
  z-index:0;
  padding:0;
  margin:0;
  border:0;
  border-radius:0;
  background:rgba(9,17,39,.78);
  cursor:default;
}
.kt-uno-root .kt-uno-colour-dialog{
  position:relative;
  z-index:1;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:12px;
  width:min(420px,100%);
  min-width:0;
  max-height:calc(100dvh - 28px);
  overflow-y:auto;
  padding:clamp(17px,4vw,25px);
  border-radius:18px;
  background:linear-gradient(165deg,#fff9ed,#fff,#edf5ff);
  border:2px solid #ffe19a;
  box-shadow:0 30px 85px #0008,0 0 0 5px #ffffff22;
  text-align:center;
  color:#1b3561;
}
.kt-uno-colour-dialog .kt-uno-colour-eyebrow{
  color:#e38419;
  font-size:11px;
  font-weight:900;
  letter-spacing:.13em;
}
.kt-uno-colour-dialog strong#kt-uno-colour-title{
  font-size:clamp(21px,4vw,26px);
  line-height:1.14;
  color:#203b69;
}
.kt-uno-colour-dialog p{
  margin:0;
  color:#526987;
  font-size:13px;
  line-height:1.45;
}
.kt-uno-colour-dialog .kt-uno-colour-choices{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:11px;
  width:100%;
  margin:4px 0 2px;
}
.kt-uno-root .kt-uno-colour-dialog button.kt-uno-colour{
  width:100%;
  min-width:0;
  min-height:64px;
  padding:11px;
  border-radius:12px;
  font-size:16px;
  line-height:1.15;
  font-weight:900;
  box-shadow:0 4px 0 #0003,0 7px 14px #2537551c;
}
.kt-uno-root .kt-uno-colour-dialog button.kt-uno-colour:hover:not(:disabled),
.kt-uno-root .kt-uno-colour-dialog button.kt-uno-colour:focus-visible{
  transform:translateY(-2px);
  outline:3px solid #1a58b3;
  outline-offset:2px;
}
.kt-uno-root .kt-uno-colour-dialog button.kt-uno-colour-cancel{
  align-self:center;
  min-height:42px;
  min-width:115px;
  margin-top:3px;
  border-radius:12px;
}
@media(max-width:400px){
  .kt-uno-root .kt-uno-colour-dialog{gap:10px;padding:15px;max-height:calc(100dvh - 20px)}
  .kt-uno-root .kt-uno-colour-dialog button.kt-uno-colour{min-height:55px;font-size:14px}
  .kt-uno-colour-dialog .kt-uno-colour-choices{gap:8px}
}
