.history-wrap{width:100%;overflow:auto}.history-empty{padding:12px 0;color:#999}.date{color:#ccc}.vs{color:#777}.score-readonly{display:flex;align-items:center;gap:8px;justify-content:flex-end}.row-actions{display:inline-flex;gap:4px;opacity:0;transition:opacity .15s ease}.always-visible,.row-actions.always-visible{opacity:1}.menu-wrap{position:relative}.kebab{font-size:18px;padding:6px 1px}.menu{position:absolute;right:0;top:120%;min-width:160px;background:#1f1f1f;border:1px solid #333;border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.3);padding:6px;display:grid;gap:4px;z-index:5}.menu button{text-align:left;width:100%;padding:8px 10px;border-radius:6px;border:none;background:transparent;cursor:pointer;color:#ccc}.menu button:hover{background:rgba(166,255,0,.15);color:#a6ff00}.menu button.danger:hover{background:rgba(255,0,0,.1);color:#ff6666}tr.editing{background:rgba(166,255,0,.05)}.score-edit-wrap{display:block;align-items:center;gap:2px;justify-content:flex-end}.show-sm-only{display:none}@media (max-width:720px){.hide-sm{display:none!important}.show-sm-only{display:inline-block!important}.table td{padding:5px 3px}.row-actions{opacity:1;display:block}.date-cell{flex-direction:column;align-items:flex-start;gap:4px;white-space:normal}.date-cell .tournament-badge{display:block}}.date-column-width{width:20%}.table.match-history{table-layout:fixed;width:100%}.table.match-history .col-date{width:10%}.table.match-history .col-players{width:60%}.table.match-history .col-score{width:20%}.table.match-history .col-actions{width:10%}@media (max-width:720px){.table.match-history .col-date{width:20%}.table.match-history .col-players{width:50%}.table.match-history .col-actions,.table.match-history .col-score{width:15%}.date-cell{display:flex;flex-direction:column;align-items:flex-start;gap:4px;white-space:normal}}.match-history-scroll-container{max-height:600px;overflow-y:auto;border-radius:8px}.match-history-scroll-container thead{position:sticky;top:0;z-index:10}@media (max-width:768px){.match-history-scroll-container{max-height:400px}}.match-history-header{position:sticky;top:0;z-index:10}.score{display:flex;flex-wrap:wrap;font-size:18px}.score-set,.separator{display:inline}.separator{white-space:pre}@media (max-width:768px){.score{flex-direction:column;align-items:flex-start}.separator{display:none}}.card-grid-wrapper{container-type:inline-size;container-name:card-grid}.card-grid-new{display:grid;gap:10px;grid-template-columns:repeat(3,1fr)}.card-grid-one-column{display:grid;gap:10px;grid-template-columns:1fr}@container card-grid (max-width: 1024px){.card-grid-new{grid-template-columns:repeat(2,1fr)}}@container card-grid (max-width: 600px){.card-grid-new{grid-template-columns:1fr}}.card.match-card{border:1px solid rgba(255,255,255,.08);border-radius:12px;background:rgba(255,255,255,.02);padding:12px}.match-card-date{font-size:13px;opacity:.8}.match-card-body,.match-card-row{display:grid;gap:8px}.match-card-row{grid-template-columns:40px 1fr repeat(var(--sets-count,3),30px)}.match-card-row--editing{grid-template-columns:40px 1fr repeat(3,30px)}.match-card-row--head{border-bottom:1px solid rgba(255,255,255,.1);opacity:.9}.cell{min-width:0}.cell--score{text-align:center;font-size:16px}.card.match-card:hover{border-color:rgba(204,255,102,.35);transform:translateY(-1px);transition:.12s ease}@media (max-width:768px){.match-card-row{grid-template-columns:40px 1fr repeat(var(--sets-count,3),25px)}.cell--score{font-size:16px}}.cell--score.winner{color:var(--green);font-weight:700}.match-card-body--editing{display:flex;flex-direction:column;width:100%}.match-card-row--editing .match-card-score-input{width:100%;height:calc(2.5em + 8px)}.match-card-score-input{width:100%;max-width:30px;text-align:center;padding:2px;color:inherit;box-sizing:border-box}.match-card-score-input:focus{outline:none;border-color:rgba(125,211,252,.8);background:rgba(125,211,252,.1)}.match-card-edit__hint{font-size:12px;opacity:.65}.match-card-edit__error{color:#f04438;font-size:13px}