/* Beta 1.9 full-screen hand replayer (FSRP). Also used by the public /h/<token> page. */
.fsrp{position:fixed;inset:0;z-index:95;background:radial-gradient(ellipse at 50% 35%,#2b2f36 0%,#15171b 55%,#0b0c0e 100%);color:#f3ead7;
  font-family:Inter,Verdana,system-ui,sans-serif;display:flex;flex-direction:column}
.fsrp-top{display:flex;align-items:center;gap:10px;padding:10px 14px;border-bottom:1px solid #6b5426;background:#0f0a04cc}
.fsrp-top h2{margin:0;font:400 16px 'Archivo Black',Impact,sans-serif;letter-spacing:1px;color:#E8B33A;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fsrp-top button,.fsrp-ctl button,.fsrp-join{background:#1b1410;border:1px solid #c9a24a;color:#f3ead7;border-radius:8px;padding:7px 12px;font-weight:700;cursor:pointer;font-size:13px}
.fsrp-top button:hover,.fsrp-ctl button:hover{background:#2a2014}
.fsrp-join{background:linear-gradient(#F2C14E,#c9922a);color:#1b1410;border:0;text-decoration:none;display:inline-block}
.fsrp-body{flex:1;display:flex;min-height:0}
.fsrp-stage{flex:1;position:relative;min-width:0;overflow:hidden}
.fsrp-felt{position:absolute;left:10%;right:10%;top:16%;bottom:20%;border-radius:50%/50%;background:radial-gradient(ellipse at 50% 40%,#3a9a55,#237a3c 55%,#14552a);
  border:14px solid #3d2615;box-shadow:0 0 0 2px #c9a24a66,inset 0 0 40px #0008}
html[data-tfelt] .fsrp-felt{background:radial-gradient(ellipse at 50% 40%,var(--tfelt-hi,#3a9a55),var(--tfelt-mid,#237a3c) 55%,var(--tfelt-lo,#14552a))}
.fsrp-board{position:absolute;left:50%;top:44%;transform:translate(-50%,-50%);display:flex;gap:6px}
.fsrp-pot{position:absolute;left:50%;top:60%;transform:translateX(-50%);background:#000a;border-radius:12px;padding:3px 12px;font-weight:700;font-size:14px;white-space:nowrap}
.fsrp-seat{position:absolute;transform:translate(-50%,-50%);text-align:center;width:120px}
.fsrp-seat img.av{width:52px;height:52px;border-radius:50%;border:2px solid #c9a24a;background:#111;object-fit:cover}
.fsrp-seat .nm{font-size:12px;font-weight:700;background:#0b0c0ecc;border-radius:6px;padding:2px 6px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fsrp-seat .sk{font-size:11px;opacity:.85}
.fsrp-seat .bt{font-size:11px;color:#F2C14E;font-weight:700;min-height:14px}
.fsrp-seat .tg{font-size:10px;color:#c9a24a}
.fsrp-seat.fsf{opacity:.42}.fsrp-seat.fsa .nm{outline:2px solid #F2C14E}.fsrp-seat.fsw .nm{background:#6b5426}
.fsrp-seat .cards{display:flex;justify-content:center;gap:2px;margin-bottom:2px;flex-wrap:nowrap}
.fsrp .c{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;width:40px;height:56px;border-radius:5px;background:#fafafa;color:#141414;font-weight:800;font-size:17px;line-height:1;box-shadow:0 1px 3px #0009}
.fsrp .c span{font-size:16px}.fsrp .c.r{color:#c81e28}
.fsrp .c.sm{width:22px;height:31px;font-size:11px;border-radius:3px}.fsrp .c.sm span{font-size:10px}
.fsrp .c.back{background:repeating-linear-gradient(45deg,#1b1410 0 4px,#2a2014 4px 8px);border:1px solid #c9a24a}
.fsrp-log{width:300px;border-left:1px solid #6b5426;overflow:auto;padding:10px;background:#0f0a04aa;font-size:13px}
.fsrp-log div{padding:3px 6px;border-radius:5px;opacity:.6}.fsrp-log div.on{opacity:1;background:#2a2014;color:#F2C14E}
.fsrp-log h6{margin:8px 0 2px;color:#c9a24a;font-size:11px;letter-spacing:1px}
.fsrp-ctl{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px;border-top:1px solid #6b5426;background:#0f0a04cc;flex-wrap:wrap}
.fsrp-ctl input[type=range]{width:min(420px,50vw)}
.fsrp-note{font-size:11px;opacity:.6;text-align:center;padding:0 0 6px}
.fsrp-share{position:absolute;right:14px;top:60px;z-index:2;background:#1b1410f2;border:2px solid #c9a24a;border-radius:10px;padding:10px;width:min(360px,90vw);font-size:13px}
.fsrp-share input{width:100%;box-sizing:border-box;margin:6px 0;background:#0b0c0e;color:#f3ead7;border:1px solid #6b5426;border-radius:6px;padding:6px}
@media (max-width:700px){.fsrp-log{display:none}.fsrp-felt{left:4%;right:4%;top:16%;bottom:16%}.fsrp-seat{width:84px}.fsrp-seat img.av{width:36px;height:36px}
  .fsrp .c{width:30px;height:42px;font-size:13px}.fsrp .c span{font-size:12px}.fsrp .c.sm{width:17px;height:24px;font-size:9px}}

/* Beta 1.9: 6-card hands overlap as a fan; rank + suit move to the top-left corner so every card stays readable */
.fsrp .cards.n6{display:flex;justify-content:center}
.fsrp .cards.n6 .c{justify-content:flex-start;align-items:flex-start;padding:2px 0 0 3px;box-sizing:border-box;margin-left:-12px;box-shadow:-1px 0 3px #0009;line-height:.95}
.fsrp .cards.n6 .c:first-child{margin-left:0}
.fsrp .cards.n6 .c.sm{width:26px;height:36px;font-size:11px}.fsrp .cards.n6 .c.sm span{font-size:10px}
@media (max-width:700px){.fsrp .cards.n6 .c{margin-left:-9px}.fsrp .cards.n6 .c.sm{width:20px;height:28px;font-size:9px;padding:1px 0 0 2px}.fsrp .cards.n6 .c.sm span{font-size:8px}}
.fsrp-seat .cards.n6{gap:0}
