/* Tournament result: shared PokerDot type, surfaces and native actions. */
#device-host .tr-screen{position:absolute;inset:0;z-index:230;display:flex;flex-direction:column;background:#070809;color:var(--pd-ink);font-family:var(--font-ui);outline:none;isolation:isolate}
#device-host .tr-scroll{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;padding:var(--space-12) var(--space-5) var(--space-7);scrollbar-width:none}
#device-host .tr-heading h1{margin:0;text-align:center;font-size:var(--text-16);font-weight:700;line-height:24px;letter-spacing:.06em;text-transform:uppercase}
#device-host .tr-hero{position:relative;display:flex;flex-direction:column;align-items:center;padding:var(--space-3) 0 var(--space-7)}
#device-host .tr-trophy{position:relative;width:172px;height:184px;isolation:isolate}
#device-host .tr-trophy:before{content:'';position:absolute;inset:20% -35% -5%;z-index:-1;background:radial-gradient(ellipse,#e1262930,transparent 67%);filter:blur(14px)}
#device-host .tr-trophy img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 12px 16px #0008);animation:tr-arrive var(--dur-slower) ease-out both}
#device-host .tr-player{display:flex;align-items:center;justify-content:center;gap:var(--space-3);font-size:var(--text-16);font-weight:700;line-height:24px}
#device-host .tr-player>img{width:28px;height:28px;object-fit:cover;border-radius:var(--radius-full)}
#device-host .tr-rank{display:flex;align-items:baseline;gap:var(--space-3);margin:var(--space-3) 0 0;font-size:var(--text-14);line-height:20px;color:var(--pd-muted)}
#device-host .tr-rank strong{color:#f0c75e;font-size:var(--text-16)}
#device-host .tr-prize{padding:var(--space-5);border-radius:var(--radius-lg)}
#device-host .tr-label{display:block;color:var(--pd-muted);font-size:var(--text-14);line-height:20px;font-weight:400}
#device-host .tr-total{display:block;margin:var(--space-2) 0 var(--space-5);font-size:var(--text-40);line-height:48px;letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:nowrap}
#device-host .tr-breakdown{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-5);border-top:1px solid var(--pd-line);padding-top:var(--space-4)}
#device-host .tr-breakdown>div+div{border-left:1px solid var(--pd-line);padding-left:var(--space-5)}
#device-host .tr-breakdown strong{display:block;font-size:var(--text-16);line-height:24px;margin-top:var(--space-2)}
#device-host .tr-event{padding:var(--space-6) 0;border-bottom:1px solid var(--pd-line)}
#device-host .tr-event h2{margin:0;font-size:var(--text-20);line-height:28px;overflow-wrap:anywhere}
#device-host .tr-guarantee{margin:var(--space-2) 0 0;color:var(--pd-muted);font-size:var(--text-14);line-height:20px}
#device-host .tr-event-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:var(--space-2) var(--space-4);margin-top:var(--space-4);color:var(--pd-muted);font-size:var(--text-12);line-height:16px}
#device-host .tr-knockouts{padding:var(--space-6) 0}
#device-host .tr-knockouts h2{display:flex;align-items:center;gap:var(--space-3);margin:0 0 var(--space-4);font-size:var(--text-16);line-height:24px}
#device-host .tr-count{display:grid;place-items:center;width:24px;height:24px;border-radius:var(--radius-xs);background:#242830;font-size:var(--text-12)}
#device-host .tr-players{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;padding:0;margin:0;gap:var(--space-4) var(--space-3)}
#device-host .tr-players li{min-width:0;display:flex;flex-direction:column;align-items:center;gap:var(--space-2)}
#device-host .tr-players img,#device-host .tr-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:var(--radius-full);background:linear-gradient(150deg,#30333b,#16181d);border:1px solid #ffffff24;color:#d9dce3;font-size:var(--text-12);font-weight:700;object-fit:cover}
#device-host .tr-player-name{font-size:var(--text-12);line-height:16px;max-width:100%;overflow-wrap:anywhere;text-align:center;color:var(--pd-muted)}
#device-host .tr-hands{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-3)}
#device-host .tr-hand{min-width:0;padding:var(--space-4) var(--space-2);border-radius:var(--radius-md);display:flex;flex-direction:column;align-items:center;gap:var(--space-3)}
#device-host .tr-hand h3{display:flex;align-items:center;justify-content:center;min-height:32px;width:100%;margin:0;text-align:center;font-size:var(--text-12);line-height:16px;color:var(--pd-muted);font-weight:400}
#device-host .tr-no-hand{height:44px;display:grid;place-items:center}
#device-host .tr-actions{flex:none;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:var(--space-3);padding:var(--space-4) var(--space-5) var(--space-7);background:#070809;border-top:1px solid var(--pd-line)}
#device-host .tr-actions .pd-btn{padding:0 var(--space-3);font-size:var(--text-12);letter-spacing:.03em}
@keyframes tr-arrive{from{opacity:0;transform:translateY(8px) scale(.96)}to{opacity:1;transform:none}}
@media(max-width:360px){#device-host .tr-total{font-size:var(--text-32);line-height:40px}#device-host .tr-trophy{width:156px;height:168px}}
@media(prefers-reduced-motion:reduce){#device-host .tr-trophy img{animation:none}}
#device-host .tr-screen:after{content:'';position:absolute;top:0;left:0;right:0;height:56px;background:linear-gradient(#070809 68%,#07080900);pointer-events:none}
#device-host .tr-event h2{text-transform:none}
/* Keep the result-share close control below the simulated status bar. */
#device-host:has(.tr-screen) .pd-general-share-close{top:56px}
/* Tournament yellow belongs to the result card, matching the lobby format. */
#device-host .tr-victory-card{position:relative;isolation:isolate;padding:var(--space-5);border:1px solid #eac95c66;border-radius:var(--radius-xl);background:radial-gradient(ellipse at 95% 15%,#e7b84b28,transparent 62%),linear-gradient(150deg,#19170f,#0d0e0d 68%);box-shadow:inset 0 1px 0 #ffdf8e1f,0 16px 36px #0005}
#device-host .tr-victory-card:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:inherit;background:radial-gradient(circle,#f5db8526 .7px,transparent 1px) 0 0/10px 10px;mask-image:linear-gradient(150deg,#000,transparent 48%)}
#device-host .tr-heading{display:flex;flex-direction:column;align-items:center;gap:var(--space-4)}
#device-host .tr-logo{height:20px;width:auto}
#device-host .tr-heading h1{font-size:var(--text-24);line-height:32px;letter-spacing:0;color:#f0c75e;text-transform:none}
#device-host .tr-hero{display:grid;grid-template-columns:minmax(0,1fr) 132px;grid-template-rows:1fr 1fr;column-gap:var(--space-3);padding:var(--space-3) 0 var(--space-4);min-height:132px;box-sizing:border-box}
#device-host .tr-trophy{grid-column:2;grid-row:1/3;width:132px;height:132px}
#device-host .tr-trophy:before{background:radial-gradient(ellipse,#f0c75e38,transparent 68%);inset:10% -20% -5%}
#device-host .tr-player{grid-column:1;grid-row:1;align-self:end;justify-content:flex-start;gap:var(--space-3);min-width:0;overflow-wrap:anywhere}
#device-host .tr-player img{width:32px;height:32px;border:1px solid #f0c75e66;flex:none}
#device-host .tr-rank{grid-column:1;grid-row:2;align-self:start;display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-2);margin-top:var(--space-3)}
#device-host .tr-rank strong{font-size:var(--text-20);line-height:24px}
#device-host .tr-prize{padding:0;border:0;border-radius:0;background:none}
#device-host .tr-total{color:#f0c75e;margin-bottom:var(--space-4)}
#device-host .tr-breakdown{border-top-color:#f0c75e26;padding-top:var(--space-4)}
#device-host .tr-breakdown>div+div{border-left-color:#f0c75e26}
#device-host .tr-event{margin-top:var(--space-5);padding:var(--space-4);border:1px solid #f0c75e26;border-radius:var(--radius-md);background:#06070680}
#device-host .tr-event h2{font-size:var(--text-16);line-height:24px;color:var(--pd-ink)}
#device-host .tr-event-meta{gap:var(--space-2) var(--space-3);margin-top:var(--space-3);font-size:var(--text-12)}
#device-host .tr-actions .pd-btn:not(.pd-btn--secondary){background:linear-gradient(180deg,#f5d776,#e9bf50);color:#211c0c;border-color:#f9df8b80}
@media(max-width:360px){#device-host .tr-hero{grid-template-columns:minmax(0,1fr) 112px}#device-host .tr-trophy{width:112px;height:124px}#device-host .tr-heading h1{font-size:var(--text-20);line-height:28px}#device-host .tr-player{font-size:var(--text-14)}}
/* sy24: event-led result composition and a discoverable horizontal KO rail. */
#device-host .tr-heading{display:block;text-align:left}
#device-host .tr-brandline{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);margin-bottom:var(--space-4)}
#device-host .tr-brandline>span{color:#c9b678;font-size:var(--text-12);letter-spacing:.08em;font-weight:700}
#device-host .tr-logo{height:16px}
#device-host .tr-heading h1{font-size:var(--text-24);line-height:28px;color:#fff;text-align:left;max-width:100%;overflow-wrap:anywhere}
#device-host .tr-guarantee{color:#c1b794;margin-top:var(--space-2)}
#device-host .tr-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 160px;grid-template-rows:136px 40px;padding:0;margin:var(--space-3) 0 var(--space-5);min-height:176px;column-gap:var(--space-3)}
#device-host .tr-trophy{grid-column:2;grid-row:1/3;width:184px;height:184px;position:relative;justify-self:end;align-self:center;transform:translate(8px,-2px)}
#device-host .tr-trophy img{filter:drop-shadow(0 14px 13px #0007)}
#device-host .tr-trophy:before{inset:10% -10% 0;filter:blur(20px);background:radial-gradient(ellipse,#f6d57245,transparent 65%)}
#device-host .tr-rank{grid-column:1;grid-row:1;align-self:center;display:flex;flex-direction:row;align-items:center;gap:var(--space-4);margin:0}
#device-host .tr-rank>strong{font-size:96px;line-height:1;color:#f4d471;letter-spacing:-.06em;font-weight:700}
#device-host .tr-rank-caption{display:flex;flex-direction:column;gap:var(--space-2);font-size:var(--text-14);color:#f0d58c}
#device-host .tr-rank-caption>span{color:#a9a79e;font-size:var(--text-12);line-height:16px;max-width:72px}
#device-host .tr-player{grid-row:2;grid-column:1/3;align-self:end;z-index:1;justify-self:start;padding-right:var(--space-3);font-size:var(--text-16)}
#device-host .tr-event{padding:var(--space-4) 0 0;margin-top:var(--space-4);background:none;border:0;border-top:1px solid #f0c75e26;border-radius:0}
#device-host .tr-event-meta{margin:0}
#device-host .tr-ko-heading{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);margin-bottom:var(--space-3)}
#device-host .tr-ko-heading h2{margin:0}
#device-host .tr-ko-controls{display:flex;gap:var(--space-2)}
#device-host .tr-ko-controls button{display:grid;place-items:center;min-width:44px;height:44px;padding:0;border:1px solid var(--pd-line);border-radius:var(--radius-md);background:#101215;color:var(--pd-ink);cursor:pointer}
#device-host .tr-ko-controls button:disabled{opacity:.3;cursor:default}
#device-host .tr-ko-controls button:focus-visible,#device-host .tr-players:focus-visible{outline:2px solid #f0c75e;outline-offset:2px}
#device-host .tr-players{display:flex;gap:var(--space-3);overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:0 0 var(--space-3);scrollbar-width:thin;scrollbar-color:#84713c #ffffff08}
#device-host .tr-players li{flex:0 0 76px;scroll-snap-align:start}
#device-host .tr-players img,#device-host .tr-avatar{width:40px;height:40px}
#device-host .tr-player-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;width:100%;line-height:20px}
#device-host .tr-knockouts{padding:var(--space-4) 0}
@media(max-width:360px){#device-host .tr-hero{grid-template-columns:minmax(0,1fr) 128px;grid-template-rows:120px 36px;min-height:156px}#device-host .tr-trophy{width:160px;height:168px;transform:translate(12px,-2px)}#device-host .tr-rank>strong{font-size:80px}#device-host .tr-rank{gap:var(--space-3)}#device-host .tr-heading h1{font-size:var(--text-24)}#device-host .tr-ko-heading h2{font-size:var(--text-14)}}
#device-host .tr-hero{grid-template-rows:116px 36px;min-height:152px;margin-bottom:var(--space-4)}
#device-host .tr-trophy{width:168px;height:168px}
#device-host .tr-event{padding-top:var(--space-3);margin-top:var(--space-4)}
#device-host .tr-knockouts{padding:var(--space-4) 0 var(--space-3)}
#device-host .tr-players{padding-bottom:var(--space-2)}

/* Native, legible hand labels; horizontal player rail without arrow chrome. */
#device-host .tr-hand h3{font-family:var(--font-ui);font-size:var(--text-14);font-weight:700;line-height:20px;min-height:40px;text-transform:none;color:var(--pd-ink)}
#device-host .tr-ko-heading{min-height:24px;margin-bottom:var(--space-4)}
#device-host .tr-players{scrollbar-width:none}
#device-host .tr-players::-webkit-scrollbar{display:none}
