.stage-detail:has(>.profile){container-type:inline-size}.profile{gap:var(--space-12);flex-direction:column;display:flex}.profile-head{align-items:center;gap:var(--space-4) var(--space-6);flex-wrap:wrap;display:flex}.profile-head>div{flex:1;min-width:0}.profile-head h1{font-size:var(--text-4xl);overflow-wrap:anywhere}.profile-name{align-items:center;gap:var(--space-4);display:flex}.profile-head h1 a{color:inherit;text-decoration:none}.profile-head h1 a:hover{text-decoration:underline}.profile .table :is(th,td):first-child{padding-left:var(--space-5)}.profile .table :is(th,td):last-child{padding-right:var(--space-5)}.player-ratings{gap:var(--space-4);grid-template-columns:repeat(auto-fit,minmax(120px,1fr));display:grid}.player-ratings a{gap:var(--space-1);padding:var(--space-4) var(--space-5);border:1px solid var(--line);color:var(--ink);border-radius:4px;flex-direction:column;text-decoration:none;display:flex}.player-ratings a:hover{background:color-mix(in srgb, transparent, var(--ink) 5%)}.player-ratings a[aria-current]{border-color:var(--accent-edge);background:var(--accent-tint)}.player-ratings span{align-items:center;gap:var(--space-3);color:var(--ink-muted);font-size:var(--text-xs);white-space:nowrap;display:flex}.player-ratings svg{flex:none;width:18px;height:18px}.player-ratings strong{font:700 var(--text-xl) var(--font-serif);font-variant-numeric:lining-nums}.profile-stats{gap:var(--space-8) var(--space-10);grid-template-columns:repeat(auto-fit,minmax(118px,1fr));margin:0;display:grid}.profile-stat{gap:var(--space-1);flex-direction:column;min-width:0;display:flex}.profile-stat dt{color:var(--ink-muted);font-size:var(--text-xs);white-space:nowrap}.profile-stat dd{font:700 var(--text-4xl)/1.1 var(--font-serif);font-variant-numeric:lining-nums;white-space:nowrap;flex-direction:column;margin:0;display:flex}.profile-stat small{min-height:1.4em;color:var(--ink-muted);font:400 var(--text-xs)/1.4 var(--font-sans)}.profile-stat dd:not(:has(small)):after{content:"";min-height:calc(1.4 * var(--text-xs))}.profile-stat-main dd{font-size:var(--text-6xl);line-height:1}@container (width>=700px){.profile-stats{grid-template-columns:1.5fr repeat(4,minmax(0,1fr));align-items:end}}.profile-charts{gap:var(--space-12) var(--space-16);grid-template-columns:minmax(0,1fr);display:grid}@container (width>=700px){.profile-charts{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}}.profile-charts figure{gap:var(--space-5);flex-direction:column;min-width:0;margin:0;display:flex}.chart-plot{height:180px;margin:6px 12px 26px 44px;position:relative}.chart-plot:focus-visible{outline-offset:6px}.chart svg{width:100%;height:100%;display:block;overflow:visible}.chart line,.chart polyline{vector-effect:non-scaling-stroke}.chart-grid{stroke:var(--line)}.chart-cross{border-left:1px solid var(--ink-muted);pointer-events:none;position:absolute;top:0;bottom:0}.chart polyline{fill:none;stroke:var(--accent-edge);stroke-width:2px;stroke-linejoin:round;stroke-linecap:round}.chart-dot{background:var(--accent-edge);pointer-events:none;border-radius:50%;width:9px;height:9px;position:absolute;translate:-50% -50%}.chart-y,.chart-x{color:var(--ink-muted);font-size:var(--text-2xs);font-variant-numeric:tabular-nums;white-space:nowrap;position:absolute}.chart-y{padding-right:var(--space-4);right:100%;transform:translateY(-50%)}.chart-x{padding-top:var(--space-3);top:100%;transform:translate(-50%)}.chart-tip{padding:0 var(--space-3);background:var(--surface);font-size:var(--text-xs);white-space:nowrap;pointer-events:none;border-radius:4px;line-height:1.5;position:absolute;transform:translate(8px,-130%)}.chart-tip[data-side=left]{transform:translate(calc(-100% - 8px),-130%)}.record-rows{gap:var(--space-5) var(--space-5);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;margin:6px 0 0;padding:0;list-style:none;display:grid}.record-rows li{display:contents}.record-seat{white-space:nowrap}.record-bar{background:color-mix(in srgb, var(--ink) 6%, transparent);border-radius:4px;gap:2px;height:22px;display:flex;overflow:hidden}.record-part{min-width:3px;font-size:var(--text-xs);place-items:center;font-weight:700;line-height:1;display:grid}.record-wins{background:var(--ink);color:var(--surface)}.record-draws{background:color-mix(in srgb, var(--ink) 48%, var(--surface));color:var(--surface)}.record-losses{background:color-mix(in srgb, var(--ink) 16%, var(--surface));color:var(--ink)}.record-rate{font-variant-numeric:tabular-nums;text-align:right;min-width:2.6em;font-weight:700}.record-rows li:last-child>*{margin-top:var(--space-2)}.record-key{gap:var(--space-2) var(--space-7);font-size:var(--text-xs);flex-wrap:wrap;margin-top:auto;display:flex}.record-key span{align-items:center;gap:var(--space-3);display:inline-flex}.record-key i{border-radius:3px;width:12px;height:12px}.record-key-rate{margin-left:auto}.profile-games{gap:var(--space-4);flex-direction:column;display:flex}.profile-live .row{padding-inline:var(--space-5)}.games-scroll{--row:36px;height:calc(var(--row) * 11);overscroll-behavior:contain;scrollbar-width:thin;scrollbar-gutter:stable;padding-right:var(--space-4);overflow-y:auto}@media (orientation:portrait){.games-scroll{height:min(calc(var(--row) * 6), 30svh);overscroll-behavior:auto}}.games-scroll .table :is(th,td){height:var(--row);text-overflow:ellipsis;overflow:hidden}.games-scroll .table{table-layout:fixed}.games-scroll th:first-child{width:5.6em}.games-scroll th:nth-child(2){width:6.6em}.games-scroll th:nth-child(4){width:9.5em}.games-scroll th:nth-child(5){width:4.6em}.games-scroll th:nth-child(6){width:4.4em}.games-scroll th:nth-child(7){width:7em}.games-scroll thead th{z-index:1;background:var(--bg);box-shadow:inset 0 -1px var(--line);position:sticky;top:0}.games-scroll .games-gap,.games-scroll .games-gap td{border:0;padding:0}.profile-none{border:1px dashed var(--line);text-align:center;border-radius:4px;place-items:center;margin-inline:0;display:grid}.games-seat{color:var(--ink-muted)}.games-tag{margin-left:var(--space-3);padding:0 var(--space-3);background:var(--accent-tint);color:var(--ink);font-size:var(--text-2xs);border-radius:4px;text-decoration:none;position:relative}.games-tag:hover{text-decoration:underline}.result{min-width:3.4em;padding:0 var(--space-4);border-radius:4px;line-height:1.7;display:inline-grid}@container (width<=640px){.games-seat,.games-moves{display:none}.games-scroll th:nth-child(2){width:2.4em}.games-scroll th:nth-child(4){width:7.4em}.games-scroll th:nth-child(5){width:4em}.games-scroll th:nth-child(7){width:5.8em}}@container (width<=540px){.games-reason{display:none}.games-scroll .table{font-size:var(--text-md)}.games-scroll th:first-child{width:4.4em}.games-scroll th:nth-child(2){width:1.8em}.games-scroll th:nth-child(5){width:3.6em}.games-scroll :is(th,td){padding-inline:var(--space-2)}}.hand .profile{gap:var(--space-16)}.hand .profile-head h1{font-size:var(--text-6xl);line-height:1.05}.hand .player-ratings{gap:var(--space-6);grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.hand .player-ratings a{padding:var(--space-5) var(--space-7) var(--space-4);border:2px solid var(--h-ink);border-radius:var(--box)}.hand .player-ratings a:nth-child(2n){border-radius:15px 225px 15px 255px/255px 15px 225px}.hand .player-ratings a:hover{background:var(--h-yellow-tint)}.hand .player-ratings a[aria-current]{border-width:2.6px;border-color:var(--h-ink)}.hand .player-ratings span{font-size:var(--text-md)}.hand .player-ratings svg{width:22px;height:22px}.hand .player-ratings strong{font-size:var(--text-3xl)}.hand .profile-stat dt,.hand .profile-stat small{font-size:var(--text-md)}.hand .profile-stat dd{font-size:var(--text-5xl)}.hand .profile-stat dd:not(:has(small)):after{min-height:calc(1.4 * var(--text-md))}.hand .profile-stat-main dd{font-size:var(--text-7xl)}.hand .chart-plot:not(.profile-none):before,.hand .chart-plot:not(.profile-none):after{content:"";background:var(--h-ink);pointer-events:none;position:absolute}.hand .chart-plot:before{width:8px;-webkit-mask:var(--h-rule-v) center / 100% 100% no-repeat;mask:var(--h-rule-v) center / 100% 100% no-repeat;top:-4px;bottom:-3px;left:-4px}.hand .chart-plot:after{height:8px;-webkit-mask:var(--h-rule-h) center / 100% 100% no-repeat;mask:var(--h-rule-h) center / 100% 100% no-repeat;bottom:-4px;left:-3px;right:-4px}.hand .chart-grid{stroke:var(--rule);stroke-width:1.4px;stroke-dasharray:5 6}.hand .chart polyline{stroke:var(--h-ink);stroke-width:3px}.hand .chart-dot{border:2px solid var(--h-ink);background:var(--h-red);border-radius:58% 42% 55% 45%/46% 57% 43% 54%;width:15px;height:14px;rotate:-12deg}.hand :is(.chart-y,.chart-x){font-size:var(--text-sm)}.hand .chart-tip{font-size:var(--text-lg)}.hand .record-bar{background:0 0;border-radius:0;gap:3px;height:28px;overflow:visible}.hand .record-part{isolation:isolate;background:0 0;position:relative}.hand .record-part:before{content:"";z-index:-1;border:2.2px solid var(--h-ink);border-radius:7px 3px 8px 4px/4px 8px 3px 7px;position:absolute;inset:0}.hand .record-wins:before{background:var(--h-ink)}.hand .record-draws{color:var(--h-ink);text-shadow:0 0 3px var(--h-paper), 0 0 3px var(--h-paper), 0 0 2px var(--h-paper)}.hand .record-draws:before{background:repeating-linear-gradient(-45deg, color-mix(in srgb, var(--h-ink) 35%, transparent) 0 1.6px, transparent 1.6px 6px)}.hand :is(.record-part,.record-key){font-size:var(--text-md)}.hand .record-key i{width:16px;height:14px}.hand .games-scroll{--row:2.625rem}.hand .profile-none{border:2px dashed var(--rule);border-radius:var(--box)}
