/* Presentation scoped to the v8.2.13 grouped page. */
body.tx82-grouped .layout-toolbar,
body.tx82-grouped #tx-layout-stack > .layout-section > .layout-moves,
body.tx82-grouped #tx-layout-stack > .layout-section > .layout-heading,
body.tx82-grouped #tx-layout-stack > .layout-section > .tx59-back-to-top-inline{display:none!important}
body.tx82-grouped #tx-layout-stack[hidden],
body.tx82-grouped #tx-layout-stack > .layout-section[hidden],
#tx82-group-panel[hidden]{display:none!important}
#tx82-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:22px auto 0;width:min(100% - 32px,1500px);scroll-margin-top:18px}
#tx82-groups .tx82-group{--tx82-accent:#8bc8f4;--tx82-surface:#122c40;display:flex;flex-direction:column;gap:6px;min-width:0;min-height:154px;padding:17px 18px 20px;border:1px solid #ffffff24;border-top:3px solid var(--tx82-accent);border-radius:12px;background:var(--tx82-surface);color:#f4efdf;text-align:left;font:inherit;box-shadow:none;cursor:pointer}
#tx82-groups .tx82-green{--tx82-accent:#7ed6ad;--tx82-surface:#12392c}
#tx82-groups .tx82-gold{--tx82-accent:#efd083;--tx82-surface:#42321a}
#tx82-groups .tx82-purple{--tx82-accent:#c4aff0;--tx82-surface:#302343}
#tx82-groups .tx82-group:hover{border-color:var(--tx82-accent);filter:brightness(1.08)}
#tx82-groups .tx82-group[aria-expanded="true"]{border-color:var(--tx82-accent);box-shadow:inset 0 0 0 1px var(--tx82-accent)}
#tx82-groups .tx82-tile-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;color:var(--tx82-accent)}
#tx82-groups .tx82-icon{font-size:28px;line-height:1}
#tx82-groups .tx82-mark{font-size:24px;line-height:1}
#tx82-groups .tx82-name{font-size:clamp(16px,1.6vw,21px);font-weight:650;line-height:1.3}
#tx82-groups .tx82-subtitle{font-size:14px;color:#ecece4;line-height:1.4}
#tx82-group-panel{width:min(100% - 32px,1500px);margin:16px auto 0;padding:18px;background:#101814;border:1px solid #3d4237;border-radius:12px;color:#f4efdf}
#tx82-group-panel .tx82-panel-header{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-bottom:14px}
#tx82-group-panel h2{margin:0;font-size:21px;line-height:1.3;color:#f4efdf;text-transform:none;letter-spacing:normal}
#tx82-group-panel .tx82-close{padding:9px 15px;min-height:44px;background:#232d26;color:#f4efdf;border:1px solid #64644d;border-radius:8px;font:inherit;cursor:pointer}
#tx82-group-panel .tx82-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
#tx82-group-panel .tx82-choices .tx82-choice{font:inherit;font-size:15px;text-align:left;color:#f4efdf;background:#1c2821;border:1px solid #ffffff25;border-radius:8px;padding:12px 14px;min-height:46px;min-width:0;cursor:pointer;white-space:normal;line-height:1.4}
#tx82-group-panel .tx82-choices .tx82-choice:hover{border-color:#d6b66f}
#tx82-group-panel .tx82-choices .tx82-choice[aria-pressed="true"]{color:#10130e!important;background:#e4c17a!important;border-color:#e4c17a!important}
#tx82-group-panel .tx82-status{display:block;font-size:13px;color:#d0d2c5;margin-top:12px}
#tx82-group-panel .tx82-status:empty{display:none}
body.tx82-grouped #tx-layout-stack{margin-top:12px}
body.tx82-grouped #tx-layout-stack > .layout-section{scroll-margin-top:16px}
body.tx82-grouped .tx82-section-title{margin:0;padding:17px 20px 0;color:#e4c17a;font-size:20px;line-height:1.4;text-transform:none;letter-spacing:normal}
body.tx82-grouped .layout-section > .tx59-plus-card{margin:16px;border-radius:10px}
body.tx82-grouped .layout-section > .tx59-plus-card > h4{display:none}
#tx82-whats-new{background:transparent;border:0;box-shadow:none;color:inherit;font:inherit;text-decoration:underline;text-underline-offset:4px;padding:7px 10px;cursor:pointer;min-height:44px}
#tx82-groups button:focus-visible,#tx82-group-panel button:focus-visible,#tx82-whats-new:focus-visible{outline:3px solid #f6d88f;outline-offset:4px}
@media(max-width:900px){#tx82-groups{grid-template-columns:repeat(2,minmax(0,1fr))}#tx82-group-panel .tx82-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){#tx82-groups{width:calc(100% - 20px);gap:9px;margin-top:16px}#tx82-groups .tx82-group{padding:13px 11px 15px;min-height:140px}#tx82-groups .tx82-name{font-size:16px}#tx82-groups .tx82-subtitle{font-size:12px}#tx82-group-panel{width:calc(100% - 20px);padding:13px}#tx82-group-panel .tx82-choices{grid-template-columns:1fr}#tx82-group-panel h2{font-size:19px}}

#tx82-group-panel a.tx82-choice{display:flex;align-items:center;text-decoration:none;box-sizing:border-box}
#tx82-group-panel .tx82-choice:disabled{opacity:.55;cursor:default}
#tx82-group-panel a.tx82-choice:focus-visible{outline:3px solid #f6d88f;outline-offset:4px}
body.tx82-grouped #classic-designer-controls > #tx-board-guides{width:100%;max-width:100%;box-sizing:border-box;margin:0 0 18px}
body.tx82-grouped .tx82-tournaments{padding:20px}
body.tx82-grouped .tx82-tournaments > p{margin:0 0 14px}
body.tx82-grouped .tx82-tournaments > button{min-height:44px;padding:10px 16px}
/* The original controls now live inside Table & Settings. */
.tx82-turn-options{min-width:0;max-width:100%;box-sizing:border-box;padding:18px;color:#e7d8ba}
.tx82-turn-options p{line-height:1.55}
.tx82-turn-options button{min-height:44px;max-width:100%;white-space:normal}
.tx82-turn-options .tx591-cell{margin-bottom:12px}
.tx82-turn-options .tx591-help{margin-top:12px}
.tx82-turn-options #tx591-compass{max-width:100%;box-sizing:border-box}
/* v8.2.13-SC1-PR1 RC 2: while the page scrolls to a section (section-groups.js holdAnchoring), no scroll anchoring: in Safari it
   stopped the scroll to Game Setup. */
body.tx82-section-scroll{overflow-anchor:none}
