/* Phone only. Existing desktop and tablet layout/controls are deliberately untouched. */
@media(max-width:600px), (max-width: 1100px) and (max-height: 600px) and (orientation: landscape) and (hover: none) and (pointer: coarse){
 #timeshot-app-wrapper #section-cuadrante #cuadranteContainer .ts-mobile-cards.ts-phone-bracket .match-identity{
  grid-template-columns:60px minmax(0,1fr) max-content!important;gap:6px 0!important;
 }
 #timeshot-app-wrapper #section-cuadrante #cuadranteContainer .ts-phone-bracket .ts-phone-reactions{
  display:flex!important;grid-column:3;grid-row:1;align-self:center;justify-self:end;align-items:center;gap:4px;
 }
 #timeshot-app-wrapper #section-cuadrante #cuadranteContainer .ts-phone-bracket .ts-phone-reactions[hidden]{display:none!important}
 #timeshot-app-wrapper #section-cuadrante #cuadranteContainer .ts-phone-bracket .match-event-slots{grid-column:2/-1!important;grid-row:2!important}
 #timeshot-app-wrapper #section-cuadrante #cuadranteContainer .ts-phone-bracket .ts-phone-reaction-trigger,
 #tsPhoneReactionPopover button{
  display:flex;align-items:center;justify-content:center;width:44px;min-width:44px;max-width:44px;
  height:44px;min-height:44px;margin:0;padding:0;border:1px solid #527ca1;border-radius:7px;
  background:#173954;color:#c2dff6;box-shadow:none;cursor:pointer;touch-action:manipulation;box-sizing:border-box;
 }
 #timeshot-app-wrapper #section-cuadrante #cuadranteContainer .ts-phone-bracket .ts-phone-reactions input,
 #tsPhoneReactionPopover input{
  display:block;flex:0 0 28px;width:28px;min-width:28px;max-width:28px;height:32px;min-height:32px;
  margin:0;padding:0 2px;border:1px solid #577994;border-radius:5px;background:#081b2e;color:#d6ebfc;
  font:800 16px/30px 'Nunito',system-ui,sans-serif;text-align:center;appearance:none;box-shadow:none;box-sizing:border-box;
 }
 #timeshot-app-wrapper #section-cuadrante #cuadranteContainer .ts-phone-bracket .ts-phone-reactions svg,
 #tsPhoneReactionPopover svg{display:block;width:20px;height:20px;fill:currentColor;stroke:none}
 #timeshot-app-wrapper #section-cuadrante #cuadranteContainer .ts-phone-bracket [data-reaction=like],
 #tsPhoneReactionPopover [data-vote=like][aria-pressed=true]{border-color:#75ceff;background:#16476b;color:#c1edff}
 #timeshot-app-wrapper #section-cuadrante #cuadranteContainer .ts-phone-bracket [data-reaction=dislike],
 #tsPhoneReactionPopover [data-vote=dislike][aria-pressed=true]{border-color:#f19aaa;background:#512735;color:#ffcada}
 #timeshot-app-wrapper #section-cuadrante #cuadranteContainer .ts-phone-bracket .ts-phone-reactions[data-reaction]{background:none;border:0}
 #timeshot-app-wrapper #section-cuadrante #cuadranteContainer .ts-phone-bracket .ts-phone-reaction-trigger:disabled{opacity:.6;cursor:wait}
 #timeshot-app-wrapper #section-cuadrante #cuadranteContainer .ts-phone-bracket .match-mesa:has(.ts-mobile-manage){
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,.9fr) minmax(0,1fr)!important;gap:7px!important;
 }
 #timeshot-app-wrapper #section-cuadrante #cuadranteContainer .ts-phone-bracket .match-mesa:has(.ts-mobile-manage)>.match-start-hour{
  grid-column:1;grid-row:1;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:8px 4px!important;font-size:11px!important;
 }
 #timeshot-app-wrapper #section-cuadrante #cuadranteContainer .ts-phone-bracket .match-mesa:has(.ts-mobile-manage)>.mesa-select{
  grid-column:2;grid-row:1;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:8px 4px!important;font-size:14px!important;
 }
 #timeshot-app-wrapper #section-cuadrante #cuadranteContainer .ts-phone-bracket .match-mesa>.ts-mobile-manage{
  grid-column:3;grid-row:1;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:8px 4px!important;font-size:11px!important;
 }
 #tsPhoneReactionPopover{
  position:fixed;z-index:1000005;width:218px;max-width:calc(100vw - 16px);margin:0;padding:10px 12px 12px;
  border:1px solid #5c87a8;border-radius:12px;background:#0d253d;color:#e8f6ff;box-shadow:0 12px 36px #000a;
  font:700 12px/1.4 'Nunito',system-ui,sans-serif;box-sizing:border-box;
 }
 #tsPhoneReactionPopover[hidden]{display:none!important}
 #tsPhoneReactionPopover>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 6px;padding:0;border:0;background:none}
 #tsPhoneReactionPopover>header strong{font-size:12px;color:#d1e8fa}
 #tsPhoneReactionPopover .ts-phone-reaction-close{background:transparent;border-color:transparent}
 #tsPhoneReactionPopover .ts-phone-reaction-choices{display:flex;justify-content:space-between;gap:12px}
 #tsPhoneReactionPopover .ts-phone-reaction-choice{display:flex;align-items:center;gap:5px;min-width:0}
 #tsPhoneReactionPopover input{flex-basis:34px;width:34px;min-width:34px;max-width:34px}
 #tsPhoneReactionPopover button:disabled{opacity:.6;cursor:wait}
 #tsPhoneReactionPopover :focus-visible,
 #timeshot-app-wrapper #section-cuadrante #cuadranteContainer .ts-phone-bracket .ts-phone-reaction-trigger:focus-visible{outline:3px solid #7ddff1;outline-offset:3px}
}
@media(max-width:359px){
 #timeshot-app-wrapper #section-cuadrante #cuadranteContainer .ts-phone-bracket .match-mesa>.mesa-select{font-size:12px!important}
}
