/* DeepSquare hub links on ChessMojo (owner 16.11.2026): a header button that is always visible and one
   practice-game card per tournament context. Solid surfaces only (readability rule), 44 px touch targets. */
.ds-play-pill{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:.4rem .85rem .4rem .5rem;border:1px solid rgba(110,230,193,.62);border-radius:999px;color:#f5f7ff;background:#14284a;font-size:.8rem;font-weight:760;line-height:1.1;text-decoration:none;white-space:nowrap;flex:0 0 auto}
.ds-play-pill img{width:24px;height:24px;border-radius:6px;flex:0 0 auto}
.ds-play-pill:hover{border-color:#6ee6c1;background:#1b3560}
.ds-play-pill:focus-visible{outline:2px solid var(--mint,#6ee6c1);outline-offset:3px}
.ds-pill-short{display:none}
@media(max-width:560px){.ds-pill-long{display:none}.ds-pill-short{display:inline}.ds-play-pill{min-height:44px;padding:.35rem .7rem .35rem .4rem;font-size:.76rem;gap:6px}body:not(.discovery-page) .site-nav{gap:0 12px}}
@media(max-width:400px){.discovery-page .site-header .nav-actions{gap:8px}.discovery-page .ds-play-pill img{width:22px;height:22px}}
@media(max-width:340px){.discovery-page .ds-pill-short{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.discovery-page .ds-play-pill{padding:.35rem}}
.ds-prep{margin:18px 0 6px}
.ds-prep[hidden]{display:none}
.ds-prep-card{display:flex;align-items:center;gap:14px;padding:14px 16px;border:1px solid rgba(110,230,193,.45);border-radius:16px;color:#e9eefc;background:#111d3a;text-decoration:none}
.ds-prep-card:hover{border-color:#6ee6c1;background:#152449}
.ds-prep-card:focus-visible{outline:2px solid var(--mint,#6ee6c1);outline-offset:3px}
.ds-prep-mark{width:36px;height:36px;border-radius:9px;flex:0 0 auto}
.ds-prep-copy{flex:1 1 auto;font-size:.86rem;line-height:1.45;color:#c9d2e8}
.ds-prep-copy strong{display:block;color:#ffffff;font-size:.92rem}
.ds-prep-button{flex:0 0 auto;display:inline-flex;align-items:center;min-height:44px;padding:.55rem 1rem;border-radius:999px;color:#06221b;background:#6ee6c1;font-size:.84rem;font-weight:800;white-space:nowrap}
#event-dialog .ds-v-any{display:none}
#event-dialog[data-phase=any] .ds-v-any{display:block}
#event-dialog[data-phase=any] .ds-v-ahead{display:none}
#event-dialog .ds-prep{margin:12px 0 4px}
#event-dialog .ds-prep-card{padding:10px 12px}
@media(max-width:560px){.ds-prep-card{flex-wrap:wrap;gap:10px 12px}.ds-prep-copy{flex-basis:calc(100% - 50px)}.ds-prep-button{margin-left:48px}}
.ds-prep-short{display:none}
/* Event dialog on phones: DeepSquare and Bobby share one row of two compact buttons (the MateBlade pattern),
   so the dialog keeps fitting 375x667 without scrolling. */
[data-promo-short]{display:none}
@media(max-width:560px){#event-dialog .dialog-promos{display:flex;align-items:stretch;gap:8px;margin-top:10px}
#event-dialog .ds-prep{flex:1 1 auto;min-width:0;margin:0}
#event-dialog .ds-prep-card{height:100%;flex-wrap:nowrap;gap:8px;padding:4px 12px 4px 6px;border-radius:999px;min-height:44px;box-sizing:border-box}
#event-dialog .ds-prep-mark{width:26px;height:26px;border-radius:7px}
#event-dialog .ds-prep-copy{flex:1 1 auto;min-width:0;font-size:.78rem;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#event-dialog .ds-prep-copy strong,#event-dialog[data-phase=any] .ds-prep-copy .ds-v-any,#event-dialog .ds-prep-body,#event-dialog .ds-prep-button{display:none}
#event-dialog .ds-prep-short{display:inline;color:#ffffff;font-weight:750}
#event-dialog .dialog-promos .promo-line{flex:0 0 auto;margin:0;padding:0;border:0}
#event-dialog .dialog-promos .promo-line a{height:100%;min-height:44px;box-sizing:border-box;padding:4px 12px;border-radius:999px;align-items:center;white-space:nowrap}
#event-dialog .dialog-promos [data-promo-text]{display:none}
#event-dialog .dialog-promos [data-promo-short]{display:inline}
#event-dialog .dialog-promos .promo-line a>span[aria-hidden]{display:none}
#event-dialog .ds-prep-copy{font-size:.76rem}#event-dialog .dialog-promos .promo-line a{padding:4px 12px 4px 10px;font-size:.74rem}}
