.stats .stat-link{display:block;color:inherit;text-decoration:none;cursor:pointer;transition:background-color .15s,color .15s}
.stats .stat-link:hover{background:rgba(216,174,86,.18);color:var(--red)}
.stats .stat-link:focus-visible{outline:3px solid var(--red);outline-offset:-4px;background:rgba(216,174,86,.18)}
.stats .stat-link .stat-arrow{display:inline;font-size:inherit;opacity:.65;margin-left:2px}
.attempt-list-count{margin:0;padding:12px 18px;color:var(--muted);font-size:13px;border-bottom:1px solid var(--line)}
.scored-attempts{list-style:none;margin:0;padding:0}
.scored-attempt{display:grid;grid-template-columns:minmax(0,1fr) auto 112px;align-items:center;gap:12px;padding:12px 18px;border-bottom:1px solid var(--line)}
.scored-attempt:last-child{border-bottom:0}
.scored-attempt-person{display:grid;gap:2px;min-width:0;overflow-wrap:anywhere}
.scored-attempt-event{font-size:13px;color:var(--muted)}
.scored-attempt a:hover{text-decoration:underline;text-underline-offset:3px}
.scored-attempt a:focus-visible{outline:2px solid var(--red);outline-offset:2px}
.scored-attempt-result{text-align:right;font-size:17px;font-variant-numeric:tabular-nums}
.scored-attempt time{text-align:right;color:var(--muted);font-size:12px}
@media(max-width:600px){.scored-attempt{grid-template-columns:minmax(0,1fr) auto;padding:10px 12px;gap:3px 12px}.scored-attempt-result{grid-column:2;grid-row:1/3;font-size:15px;max-width:110px}.scored-attempt time{grid-column:1;text-align:left;font-size:11px}.scored-attempt-event{font-size:12px}}

.attempt-details-link{justify-self:start;padding:4px 0;min-height:30px;border:0;background:none;box-shadow:none;font:inherit;font-size:13px;color:var(--red);text-decoration:underline;text-underline-offset:3px;cursor:pointer;text-align:left}
.attempt-details-link:hover{background:none;color:var(--ink)}
.attempt-details-link:focus-visible{outline:2px solid var(--red);outline-offset:3px}
#attempt-details{width:min(560px,calc(100vw - 24px));max-height:85vh;max-height:85dvh;overflow:auto;padding:0;box-sizing:border-box;background:var(--paper,#f3e7cb);color:var(--ink,#25211b);border:2px solid var(--ink,#25211b)}
#attempt-details::backdrop{background:rgba(25,20,15,.7)}
#attempt-details .dialog-head{position:sticky;top:0;background:var(--paper,#f3e7cb);z-index:1}
#attempt-details .dialog-head button{min-width:44px;min-height:44px}
#attempt-details .attempt-athlete{font-size:30px;margin:14px 0 4px}
.attempt-event-name{margin:0 0 16px;font-weight:bold;overflow-wrap:anywhere}
.attempt-detail-score{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-block:1px solid var(--line)}
.attempt-detail-score strong{font-size:34px;color:var(--red);font-variant-numeric:tabular-nums}
.attempt-detail-score time{font-size:13px}
.attempt-measurements,.attempt-public-note{font-size:14px;overflow-wrap:anywhere}
.attempt-rules{margin:20px 0}
.attempt-rules h3{font-size:18px;margin-bottom:8px}
.attempt-rules p{white-space:pre-line;overflow-wrap:anywhere}
.attempt-rules small{color:var(--muted);font-size:12px}
@media(max-width:600px){#attempt-details .dialog-body{padding:16px}.attempt-details-link{min-height:36px}.attempt-detail-score strong{font-size:28px}#attempt-details .form-actions{display:flex;flex-wrap:wrap}}
