main:has(.profile-run-panel) {max-width:1360px}
.profile-run-panel {min-width:0;background:#fff;border:1px solid #e1e4e8;border-radius:10px;overflow:hidden}
.profile-run-tabs {display:flex;gap:0;align-items:stretch;background:#f5f6f7;border-bottom:1px solid #e1e4e8;padding:0 14px}
.profile-run-tab {display:inline-flex;align-items:center;gap:7px;padding:15px 10px;border-bottom:3px solid transparent;color:#637080;text-decoration:none;font-size:14px;font-weight:650}
.profile-run-tab:hover {color:#c8171e;background:#faf0f0}
.profile-run-tab.active {color:#c8171e;border-bottom-color:#c8171e}
.profile-tab-count {display:inline-flex;align-items:center;justify-content:center;min-width:22px;padding:2px 6px;background:#e8ebef;border-radius:20px;color:#535e6c;font-size:12px}
.profile-run-tab.active .profile-tab-count {background:#f9e0e2;color:#ad161c}
.profile-runs-toolbar {display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding:14px 18px;background:#fafbfc;border-bottom:1px solid #e5e8eb}
.profile-runs-toolbar h2 {margin:0;font-size:16px;letter-spacing:.02em}
.profile-runs-filter {display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:13px;max-width:100%}
.profile-runs-filter select {padding:7px;border:1px solid #ccd0d5;border-radius:5px;background:#fff;max-width:225px;min-width:0}
.profile-runs-filter .button {min-height:34px;padding:6px 10px;font-size:13px}
.profile-run-game {display:grid;grid-template-columns:60px minmax(0,1fr);gap:12px;padding:18px 16px;scroll-margin-top:16px}
.profile-run-game+.profile-run-game {border-top:1px solid #e1e4e8}
.profile-run-cover {display:block;align-self:start;overflow:hidden;border-radius:5px}
.profile-run-cover img {display:block;width:60px;height:90px;object-fit:cover}
.profile-run-game-content {min-width:0}
.profile-run-game h3 {display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:0 0 12px;font-size:16px}
.profile-run-game h3 a {color:#252c34;text-decoration:none}
.profile-game-count {font-weight:400;color:#7b8592;font-size:12px}
.profile-run-row {display:grid;grid-template-columns:minmax(0,1fr) 135px 110px;gap:14px;padding:12px;border:1px solid #e0e4e8;border-radius:5px;margin-top:8px;background:#fff;font-size:14px;line-height:1.5;align-items:start}
.profile-run-row:nth-of-type(even) {background:#fafbfc}
.profile-run-project,.profile-run-result,.profile-run-review,.profile-run-meta {min-width:0;overflow-wrap:anywhere}
.profile-run-level {font-weight:700}
.profile-run-level span {color:#747e8b}
.profile-run-level a {color:#232a32;text-decoration:none}
.profile-run-category {display:block;font-weight:650;text-decoration:none;color:#c8171e}
.profile-run-level+.profile-run-category {margin-top:5px}
.profile-run-time {display:block;white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:600;color:#454f5d;text-decoration:none;font-size:13px;margin-top:4px}
.profile-run-video {display:inline-block;margin-top:4px;font-size:12px;color:#737d8b;text-decoration:none}
.profile-run-meta {display:grid;gap:4px;color:#424d5a;font-size:13px}
.profile-run-date {color:#747e8b}
.profile-run-row a:hover,.profile-run-game h3 a:hover {color:#c8171e;text-decoration:underline}
.profile-run-pagination {display:flex;align-items:center;justify-content:flex-end;gap:14px;margin-top:14px;font-size:13px;color:#747e8b}
.private-run-row {grid-template-columns:minmax(0,1fr) 145px minmax(100px,155px) 110px}
.profile-run-completer {margin-bottom:7px}
.profile-run-completer .player-link {max-width:100%;white-space:normal;font-size:13px}
.profile-run-completer .player-avatar {width:22px;height:22px;flex:0 0 22px}
.profile-no-rank {color:#7b8592}
.own-run-panel {margin-top:22px}
@media(min-width:761px) and (max-width:1150px){.profile-layout:has(.profile-run-panel){grid-template-columns:245px minmax(0,1fr)}.profile-layout .profile-run-row{grid-template-columns:minmax(0,1fr) 130px}.profile-layout .profile-run-meta{grid-column:1 / -1;display:flex;gap:12px}.profile-runs-filter select{max-width:185px}}
@media(max-width:760px){.private-run-row{grid-template-columns:minmax(0,1fr) minmax(110px,1fr)}.private-run-row .profile-run-review{grid-column:1}.profile-run-game{padding:16px 12px}}
@media(max-width:560px){.profile-run-tabs{padding:0 6px}.profile-run-tab{padding:13px 8px;font-size:13px}.profile-run-game{grid-template-columns:42px minmax(0,1fr);gap:10px}.profile-run-cover img{width:42px;height:63px}.profile-run-row,.private-run-row{grid-template-columns:minmax(0,1fr);gap:9px}.profile-run-result{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.profile-run-time,.profile-run-video{margin:0}.profile-run-meta{display:flex;gap:10px;flex-wrap:wrap}.profile-run-review{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.profile-run-completer{margin:0}.profile-run-pagination{justify-content:flex-start;flex-wrap:wrap}.profile-runs-toolbar{padding:13px 12px}.profile-runs-filter select{max-width:180px}}
@media(max-width:370px){.profile-run-game{grid-template-columns:32px minmax(0,1fr);gap:8px;padding:14px 8px}.profile-run-cover img{width:32px;height:48px}.profile-run-tab{font-size:12px;padding:12px 6px;gap:5px}.profile-tab-count{font-size:11px;min-width:18px;padding:1px 4px}}
