:root {
  --bg: #151022;
  --bg-2: #1f1733;
  --panel: #231b38;
  --panel-2: #2e2548;
  --line: #3a3058;
  --text: #f3efff;
  --muted: #a99fc6;
  --accent: #ffc145;
  --accent-2: #ff6b9a;
  --accent-ink: #2a1600;
  --good: #4fe39a;
  --bad: #ff6b6b;
  --held: #4da3ff;
  --radius: 16px;
  --fun: "Fredoka", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; color: var(--text);
  font: 16px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(120% 80% at 50% -10%, #3a2470 0%, var(--bg) 55%) fixed, var(--bg); }
body { min-height: 100vh; min-height: 100dvh; overscroll-behavior: none; touch-action: manipulation; }
a { color: var(--accent); text-decoration: none; }
h1, h2, h3, .fun { font-family: var(--fun); font-weight: 600; letter-spacing: .01em; }
h1, h2, h3 { margin: .2em 0 .4em; line-height: 1.15; }
button { font: inherit; cursor: pointer; border: 1px solid var(--line); background: var(--panel-2);
  color: var(--text); border-radius: 12px; padding: .6em 1em; touch-action: manipulation;
  transition: transform .08s, filter .15s, background .15s; user-select: none; -webkit-user-select: none; }
button:active:not(:disabled) { transform: scale(.96); }
button:disabled { opacity: .45; cursor: default; }
button.primary { background: linear-gradient(180deg, #ffd36b, var(--accent)); color: var(--accent-ink);
  border-color: transparent; font-family: var(--fun); font-weight: 600; box-shadow: 0 3px 0 #b9801a; }
button.primary:active:not(:disabled) { box-shadow: 0 1px 0 #b9801a; transform: translateY(2px); }
button.ghost { background: transparent; }
button.big { width: 100%; padding: .8em; font-size: 1.1rem; margin-top: .75rem; }
button.small { padding: .3em .7em; font-size: .85rem; }
button.icon { width: 34px; height: 34px; padding: 0; border-radius: 50%; font-weight: 700; display: inline-grid; place-items: center; }
input { font: inherit; width: 100%; padding: .7em .8em; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); margin-top: .3rem; font-size: 16px; /* 16px stops iOS zoom */ }
input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
label { display: block; margin: .9rem 0; color: var(--muted); font-size: .9rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.error { color: var(--bad); min-height: 1.2em; }
.small { font-size: .78rem; }
.redtxt { color: #ff5a5a; }
.pill { display: inline-block; background: var(--panel-2); border: 1px solid var(--line); border-radius: 999px;
  padding: .05em .55em; font-size: .75rem; color: var(--muted); font-weight: 500; vertical-align: middle; }

/* ---------- top bar ---------- */
.topbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .4rem;
  padding: .35rem .6rem; padding-top: max(.35rem, env(safe-area-inset-top));
  background: #1a1230cc; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.topbar .home { font-family: var(--fun); font-size: 1rem; white-space: nowrap; }
.topbar .title { font-family: var(--fun); font-weight: 600; font-size: 1.1rem; white-space: nowrap; }
.topbar .extra { justify-self: end; display: flex; gap: .35rem; }

/* ---------- cards / lobby ---------- */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem; margin: 1rem auto; max-width: 560px; width: calc(100% - 2rem); box-shadow: 0 10px 30px #0004; }
.join h1 { font-size: 2rem; }
.row { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; }
.share { display: flex; gap: .5rem; }
.share input { margin: 0; font-size: .85rem; color: var(--muted); }
.players { list-style: none; padding: 0; margin: 0; }
.players li { padding: .5rem .2rem; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: .5rem; }
.dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--good); flex: none; box-shadow: 0 0 8px var(--good); }
.offline { opacity: .5; }
.offline .dot { background: var(--muted); box-shadow: none; }
.kick { margin-left: auto; color: var(--muted); }
.addbot { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin: .8rem 0; }
.toggle { display: flex; gap: .7rem; align-items: flex-start; color: var(--text); background: var(--panel-2);
  border-radius: 12px; padding: .7rem; margin: .5rem 0; cursor: pointer; }
.toggle input { width: 1.2rem; height: 1.2rem; margin: .15rem 0 0; flex: none; accent-color: var(--accent); }

/* ---------- home ---------- */
.hero { text-align: center; padding: 2.4rem 1rem .4rem; }
.hero h1 { font-size: 2.5rem; margin-bottom: .2rem; }
.hero .logo { font-size: 3.2rem; display: inline-block; animation: wobble 3s ease-in-out infinite; }
@keyframes wobble { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg) translateY(-4px); } }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .9rem;
  max-width: 760px; margin: 1.2rem auto 3rem; padding: 0 1rem; }
.tile { border-radius: 20px; padding: 1.2rem 1rem; color: var(--text); display: flex; flex-direction: column; gap: .25rem;
  border: 1px solid #ffffff1a; box-shadow: 0 8px 20px #0005; transition: transform .15s;
  background: linear-gradient(155deg, var(--c1, #3b2a6b), var(--c2, #241a42)); }
.tile:hover, .tile:active { transform: translateY(-3px) rotate(-1deg); }
.tile .emoji { font-size: 2.6rem; }
.tile .name { font-family: var(--fun); font-weight: 600; font-size: 1.25rem; }
.tile .meta { color: #ffffffb0; font-size: .85rem; }
.tile.soon { opacity: .45; pointer-events: none; filter: grayscale(.6); }

/* ---------- full-screen game layout (no page scroll) ---------- */
body.in-game { height: 100vh; height: 100dvh; min-height: 0; overflow: hidden; }
body.in-game #app { height: 100%; display: flex; flex-direction: column; }
body.in-game .topbar { position: static; flex: none; }
body.in-game #game { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.screen { flex: 1; min-height: 0; display: flex; flex-direction: column; width: 100%; max-width: 620px; margin: 0 auto;
  padding: .4rem .5rem calc(.5rem + env(safe-area-inset-bottom)); gap: .4rem; user-select: none; -webkit-user-select: none; }
.statusbar { text-align: center; font-family: var(--fun); font-size: clamp(.95rem, 2.3dvh, 1.15rem); line-height: 1.2;
  min-height: 1.3em; flex: none; }
.statusbar .sub { display: block; font-family: system-ui, sans-serif; font-size: .75rem; color: var(--muted); min-height: 1.1em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- yahtzee ---------- */
.yz-card { flex: 1; min-height: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .2rem .3rem; overflow: hidden; display: flex; }
table.score { width: 100%; height: 100%; border-collapse: collapse; table-layout: fixed;
  font-size: clamp(11px, 1.85dvh, 15px); line-height: 1.1; }
.score th, .score td { padding: 0 .2rem; border-bottom: 1px solid #ffffff10; text-align: center; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.score col.lbl { width: 34%; }
.score tbody th { text-align: left; font-weight: 500; }
.score tbody th .ico { display: inline-block; width: 1.3em; color: var(--muted); }
.score thead th { font-family: var(--fun); font-weight: 600; padding: .25rem .1rem; font-size: .95em; border-radius: 10px 10px 0 0; }
.score thead th small { display: block; font-size: .7em; color: var(--muted); font-weight: 400; }
.score .turn { background: #ffc14522; }
.score thead th.turn { background: var(--accent); color: var(--accent-ink); }
.score thead th.turn small { color: var(--accent-ink); }
.score td.done { font-weight: 700; }
.score td.flash { animation: flash 1.2s ease-out; }
@keyframes flash { 0% { background: var(--accent); color: var(--accent-ink); } 100% { background: transparent; } }
.score tr.sum th, .score tr.sum td { color: var(--muted); font-size: .9em; background: #ffffff06; }
.score tr.sum td.got { color: var(--good); font-weight: 700; }
.score tr.grand th, .score tr.grand td { color: var(--text); font-weight: 700; font-size: 1.1em; border-bottom: none;
  font-family: var(--fun); }
.opt { width: 100%; max-width: 3.2em; padding: .05em .2em; border-radius: 8px; border: 1.5px dashed var(--accent);
  color: var(--accent); background: transparent; font-weight: 700; font-size: 1em; line-height: 1.25; }
.opt.zero { border-color: #ffffff30; color: var(--muted); }
.opt.sel { background: var(--accent); color: var(--accent-ink); border-style: solid; }

.yz-dock { flex: none; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: .5rem .5rem .55rem; }
.dice { --d: clamp(40px, min(15.5vw, 8.2dvh), 64px); display: flex; justify-content: center; gap: clamp(6px, 2vw, 12px);
  padding-top: 4px; }
.die { width: var(--d); height: var(--d); padding: calc(var(--d) * .12); border-radius: calc(var(--d) * .22);
  background: linear-gradient(145deg, #fffdf6, #e9e2d0); border: 3px solid transparent; position: relative;
  box-shadow: 0 4px 0 #b9ad92, 0 6px 10px #0006; display: grid; place-items: center; transition: transform .18s; }
.die:disabled { opacity: 1; }
.die.blank { background: var(--panel-2); box-shadow: 0 4px 0 #1a1430; color: var(--muted); font-family: var(--fun); font-size: 1.4rem; }
.die.held { border-color: var(--held); transform: translateY(-5px); box-shadow: 0 4px 0 #2b6fc0, 0 0 16px #4da3ff88; }
.die.held::after { content: "HOLD"; position: absolute; bottom: -1.25em; left: 0; right: 0; font-size: .6rem; font-weight: 800;
  color: var(--held); letter-spacing: .08em; }
.die .face { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); width: 100%; height: 100%; }
.die .face i { display: block; margin: auto; width: 68%; aspect-ratio: 1; border-radius: 50%; }
.die .face i.on { background: radial-gradient(circle at 35% 35%, #444, #111); }
.die.rolling { animation: rattle .21s linear infinite; }
.die.land { animation: land .32s cubic-bezier(.3, 1.7, .5, 1); }
@keyframes rattle {
  0% { transform: translate(0, 0) rotate(0); }
  25% { transform: translate(-3px, -9px) rotate(-22deg); }
  50% { transform: translate(3px, -3px) rotate(16deg); }
  75% { transform: translate(-2px, -7px) rotate(-12deg); }
  100% { transform: translate(0, 0) rotate(0); } }
@keyframes land { 0% { transform: scale(1.2) rotate(-8deg); } 100% { transform: none; } }
.yz-dock .big { margin-top: .9rem; }

/* ---------- durak ---------- */
.dk { --cw: clamp(38px, min(13.5vw, 7.4dvh), 64px); --ch: calc(var(--cw) * 1.4); }
.opps { display: flex; gap: .35rem; justify-content: center; flex: none; padding-top: 6px; }
.opp { flex: 0 1 112px; min-width: 0; background: var(--panel); border: 1.5px solid var(--line); border-radius: 12px;
  padding: .25rem .3rem; text-align: center; position: relative; transition: border-color .2s, transform .2s; }
.opp.def { border-color: var(--held); box-shadow: 0 0 12px #4da3ff55; }
.opp.att { border-color: var(--accent-2); }
.opp.safe { opacity: .5; }
.opp .oname { font-weight: 600; font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opp .ocount { font-size: .7rem; color: var(--muted); white-space: nowrap; }
.opp .role { position: absolute; top: -9px; right: -4px; font-size: .9rem; }
.backs { display: flex; justify-content: center; height: 22px; }
.backs i { width: 15px; height: 21px; border-radius: 3px; margin-left: -9px; border: 1px solid #fff6; flex: none;
  background: repeating-linear-gradient(45deg, #e0457b, #e0457b 3px, #a92b5a 3px, #a92b5a 6px); }
.backs i:first-child { margin-left: 0; }
.felt { flex: 1; min-height: 0; border-radius: 22px; padding: .5rem; display: flex; gap: .5rem; align-items: center; position: relative;
  background: radial-gradient(ellipse at 50% 40%, #2a7a52, #154330 75%); border: 3px solid #0e2e21;
  box-shadow: inset 0 0 40px #0008, 0 6px 16px #0006; overflow: hidden; }
.pile { display: flex; flex-direction: column; align-items: center; gap: .2rem; flex: none; width: calc(var(--cw) * 1.55); }
.deck { position: relative; width: calc(var(--cw) * 1.55); height: calc(var(--ch) + 6px); }
.deck .back { position: absolute; left: 0; top: 0; z-index: 1; }
.deck .trumpcard { position: absolute; left: calc(var(--cw) * .5); top: calc(var(--ch) * .2); width: var(--ch); height: var(--cw);
  background: #fff; color: #111; border-radius: 6px; display: flex; align-items: center; justify-content: flex-end; gap: 1px;
  padding-right: 5px; font-weight: 800; font-size: calc(var(--cw) * .3); box-shadow: 0 2px 4px #0006; }
.deck .trumpcard.red { color: #d22; }
.cardback { width: var(--cw); height: var(--ch); border-radius: 7px; border: 2px solid #fff; display: grid; place-items: center;
  background: repeating-linear-gradient(45deg, #e0457b, #e0457b 4px, #a92b5a 4px, #a92b5a 8px);
  color: #fff; font-family: var(--fun); font-weight: 700; font-size: calc(var(--cw) * .36); text-shadow: 0 1px 3px #000; }
.deck.empty { display: grid; place-items: center; }
.big-suit { font-size: calc(var(--cw) * .9); }
.big-suit.red { color: #ff5a5a; }
.pile .info { font-size: .7rem; color: #ffffffb0; text-align: center; line-height: 1.2; }
.table-cards { flex: 1; align-self: stretch; display: grid; grid-template-columns: repeat(3, calc(var(--cw) + 14px));
  justify-content: center; align-content: center; gap: .3rem .5rem; }
.table-cards .empty-msg { grid-column: 1 / -1; text-align: center; color: #ffffff80; font-family: var(--fun); }
.pair { position: relative; width: calc(var(--cw) + 14px); height: calc(var(--ch) * 1.42); }
.pair .pc { position: absolute; left: 0; top: 0; }
.pair .pc.over { left: 12px; top: calc(var(--ch) * .42); transform: rotate(7deg); }
.pc { width: var(--cw); height: var(--ch); padding: 0; border-radius: 7px; background: linear-gradient(160deg, #fff, #f1ede4);
  color: #1b1b1b; border: 1.5px solid #cfc7b5; display: block; line-height: 1; font-weight: 800;
  box-shadow: 0 2px 5px #0006; flex: none; position: relative; overflow: hidden; }
.pc:disabled { opacity: 1; cursor: default; }
.pc.red { color: #d81e3a; }
.pc .idx { position: absolute; top: 3px; left: 3px; display: flex; flex-direction: column; align-items: center; line-height: .95; }
.pc .rank { font-size: calc(var(--cw) * .32); font-family: var(--fun); font-weight: 700; letter-spacing: -.04em; }
.pc .suit { font-size: calc(var(--cw) * .27); }
.pc .pip { position: absolute; right: 12%; bottom: 8%; font-size: calc(var(--cw) * .58); line-height: 1; }
.deck .trumpcard .rank { font-size: inherit; } .deck .trumpcard .suit { font-size: inherit; }
.pc.target { box-shadow: 0 0 0 3px var(--accent), 0 0 18px var(--accent); cursor: pointer; animation: pulse 1s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px var(--accent), 0 0 26px var(--accent); } }
.pc.fly { animation: fly .35s cubic-bezier(.2, .9, .3, 1.15); }
.pair .pc.over.fly { animation: flyover .35s cubic-bezier(.2, .9, .3, 1.15); }
@keyframes fly { from { transform: translateY(120px) scale(.6) rotate(-20deg); opacity: 0; } }
@keyframes flyover { from { transform: translateY(120px) scale(.6) rotate(-20deg); opacity: 0; } to { transform: rotate(7deg); } }

.dk-actions { flex: none; display: flex; justify-content: center; gap: .5rem; min-height: 2.6rem; align-items: center; }
.dk-actions button { padding: .5em 1.2em; }
.hand { flex: none; height: calc(var(--ch) + 22px); display: flex; justify-content: center; align-items: flex-end;
  padding: 0 .3rem 2px; }
.hand .pc { margin-left: var(--ov, 4px); transition: transform .15s, margin .2s, filter .2s; }
.hand .pc:first-child { margin-left: 0; }
.hand .pc.trump { background: linear-gradient(160deg, #fffbea, #ffe9a8); border-color: #e3b440; }
.hand .pc.dim { filter: brightness(.55) saturate(.6); }
.hand .pc.ok { transform: translateY(-6px); border-color: var(--good); box-shadow: 0 0 0 2px var(--good), 0 4px 8px #0007; }
.hand .pc.sel { transform: translateY(-18px) scale(1.06); border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent), 0 8px 16px #000a; z-index: 2; }

/* ---------- overlays ---------- */
.toast { position: fixed; left: 50%; top: 40%; transform: translate(-50%, -50%); z-index: 50; pointer-events: none;
  font-family: var(--fun); font-weight: 700; font-size: clamp(1.6rem, 8vw, 2.6rem); color: #fff; text-align: center;
  text-shadow: 0 3px 0 #0007, 0 0 20px #000; white-space: nowrap; animation: toast 1.7s ease-out forwards; }
.toast.gold { color: var(--accent); }
.toast.pink { color: var(--accent-2); }
.toast.blue { color: var(--held); }
@keyframes toast {
  0% { transform: translate(-50%, -50%) scale(.3) rotate(-8deg); opacity: 0; }
  15% { transform: translate(-50%, -50%) scale(1.15) rotate(2deg); opacity: 1; }
  25% { transform: translate(-50%, -50%) scale(1) rotate(0); }
  80% { opacity: 1; }
  100% { transform: translate(-50%, -70%) scale(1); opacity: 0; } }
.confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 60; }
.modal { position: fixed; inset: 0; background: #000a; z-index: 70; display: grid; place-items: end center; animation: fade .2s; }
.modal .sheet { background: var(--panel); border: 1px solid var(--line); border-radius: 22px 22px 0 0; padding: 1.2rem 1.2rem
  calc(1rem + env(safe-area-inset-bottom)); width: 100%; max-width: 560px; max-height: 85dvh; overflow: auto; animation: up .25s ease-out; }
.modal .sheet ul { padding-left: 1.2rem; margin: .4rem 0; }
.modal .sheet li { margin: .3rem 0; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.endbar { display: flex; gap: .5rem; justify-content: center; }
.endbar button { flex: 1; max-width: 200px; margin-top: 0; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; } }

/* ---------- philly deal ---------- */
.pd { --cw: clamp(48px, min(15.5vw, 8.6dvh), 72px); --ch: calc(var(--cw) * 1.42); }
.pd-opps { display: flex; gap: .35rem; flex: none; overflow-x: auto; scrollbar-width: none; padding-top: 2px; }
.pd-opps::-webkit-scrollbar { display: none; }
.pchip { flex: 1 0 0; min-width: 84px; padding: .3rem .4rem; text-align: left; border-radius: 12px; border: 1.5px solid var(--line); background: var(--panel); }
.pchip.now { border-color: var(--accent); box-shadow: 0 0 12px #ffc14555; }
.pchip .pn { font-weight: 700; font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pchip .pm { font-size: .68rem; color: var(--muted); white-space: nowrap; }
.pchip .pips { display: flex; flex-wrap: wrap; gap: 2px; margin-top: 3px; min-height: 9px; font-size: .62rem; }
.pchip .pips i { width: 12px; height: 8px; border-radius: 2px; }
.pchip .pips i.full { outline: 1.5px solid #fff; }
.pd-me { flex: 1; min-height: 0; background: linear-gradient(180deg, #2a2047, #1f1835); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .4rem; display: flex; flex-direction: column; gap: .35rem; overflow: hidden; }
.bankrow { display: flex; align-items: center; gap: .4rem; font-size: .85rem; flex: none; }
.bankrow .bchips { display: flex; gap: 2px; flex: 1; overflow: hidden; }
.bankrow .bchips i { font-style: normal; font-size: .65rem; font-weight: 800; background: #2f9e63; color: #fff; border-radius: 4px; padding: 1px 4px; }
.stacks { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: .35rem; overflow-y: auto; min-height: 0;
  align-content: start; flex: 1; }
.stacks .empty { grid-column: 1 / -1; text-align: center; padding: 1rem; font-size: .85rem; }
.stack { background: #fff; color: #222; border-radius: 9px; overflow: hidden; font-size: .68rem; line-height: 1.25; box-shadow: 0 2px 5px #0005; }
.stack.full { box-shadow: 0 0 0 2px var(--accent), 0 2px 8px #0006; }
.stack .sh { display: flex; justify-content: space-between; gap: 4px; padding: 2px 5px; font-weight: 700; white-space: nowrap; }
.stack .sh span { overflow: hidden; text-overflow: ellipsis; }
.stack .sb { padding: 2px 5px 3px; }
.stack .sb > div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stack .rent { color: #777; font-size: .62rem; margin-top: 1px; }
.wildchip { display: block; width: 100%; text-align: left; padding: 0 3px; margin: 1px 0; border-radius: 4px; font-size: .68rem;
  background: #fff3c4; color: #5a4300; border: 1px dashed #d6a400; }
.pd-actions { flex: none; display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 2.4rem; }
.pd-actions button { padding: .45em 1.1em; }
.dots { display: flex; gap: 4px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--accent); }
.dots i.on { background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.hand .dc { margin-left: var(--ov, 4px); transition: transform .15s, margin .2s; }
.hand .dc:first-child { margin-left: 0; }
.dc { width: var(--cw); height: var(--ch); padding: 0; border-radius: 8px; background: #fffdf8; color: #1d1d1d; border: 1.5px solid #d8d0bf;
  position: relative; overflow: hidden; flex: none; box-shadow: 0 3px 6px #0007; text-align: center; }
.dc .band { position: absolute; left: 0; right: 0; top: 0; height: 22%; }
.dc .t { position: absolute; left: 3px; right: 3px; top: 24%; font-size: calc(var(--cw) * .15); font-weight: 700; line-height: 1.1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dc .e { position: absolute; left: 0; right: 0; bottom: 18%; font-size: calc(var(--cw) * .36); }
.dc .v { position: absolute; left: 3px; top: 2px; font-size: calc(var(--cw) * .15); font-weight: 800; color: #fff; text-shadow: 0 1px 2px #000a; }
.hand .dc.ok { border-color: var(--good); }
.dc:disabled { opacity: 1; cursor: default; }
.dc.big { --cw: 92px; width: 92px; height: 130px; }
.pd-sheet { position: fixed; inset: 0; background: #000a; z-index: 40; display: grid; place-items: end center; animation: fade .15s; }
.pd-sheet .sheet { background: var(--panel); border: 1px solid var(--line); border-radius: 22px 22px 0 0; padding: 1rem 1rem calc(.8rem + env(safe-area-inset-bottom));
  width: 100%; max-width: 560px; max-height: 82dvh; overflow-y: auto; animation: up .2s ease-out; display: flex; flex-direction: column; gap: .45rem; }
.pd-sheet h3 { margin: 0 0 .1rem; }
.pd-sheet p { margin: 0; }
.pd-sheet .big { margin-top: .2rem; }
.bigcard { display: flex; gap: .8rem; align-items: center; }
.bigcard p { font-size: .85rem; margin-top: .2rem; }
.opt-btn { width: 100%; text-align: left; padding: .7em .9em; display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.opt-btn small { color: var(--muted); font-size: .78rem; }
.opt-btn.primary small { color: #5a3a00; }
.dot { display: inline-block; width: .8em; height: .8em; border-radius: 3px; flex: none; }
.paygrid { display: flex; flex-wrap: wrap; gap: .35rem; }
.paychip { padding: .45em .7em; font-size: .85rem; display: inline-flex; align-items: center; gap: .3rem; }
.paychip.on { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.paytotal { text-align: center; font-family: var(--fun); font-size: 1.05rem; color: var(--muted); }
.paytotal.ok { color: var(--good); }
.pd-sheet .sheet > .row:last-child { position: sticky; bottom: calc(-.8rem - env(safe-area-inset-bottom)); background: var(--panel); padding: .45rem 0 .2rem; margin-bottom: -.2rem; }

/* ---------- philly deal: player zones ---------- */
.pd-opps { display: grid; grid-template-columns: 1fr; gap: .35rem; flex: none; overflow: visible; }
.pd-opps.n2, .pd-opps.n3, .pd-opps.n4 { grid-template-columns: 1fr 1fr; }
.ozone { text-align: left; padding: .3rem .5rem .35rem; border-radius: 14px; min-width: 0;
  border: 2px solid color-mix(in srgb, var(--pc) 40%, transparent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--pc) 16%, #231b38), #1d1630); }
.ozone.turn, .myzone.turn { border-color: var(--pc); animation: breathe 2.2s ease-in-out infinite; }
.ozone.won, .myzone.won { border-color: var(--accent); box-shadow: 0 0 24px var(--accent); }
@keyframes breathe { 50% { box-shadow: 0 0 16px color-mix(in srgb, var(--pc) 70%, transparent); } }
.oz-h, .mz-h { display: flex; align-items: center; gap: .3rem; min-width: 0; }
.oz-h b { font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av { font-size: 1.05rem; flex: none; }
.stars { display: inline-flex; gap: 1px; margin-left: auto; flex: none; }
.stars i { font-style: normal; color: #ffffff2a; font-size: .85rem; line-height: 1; }
.stars i.on { color: var(--accent); text-shadow: 0 0 6px var(--accent); }
.oz-m { margin-left: auto; font-size: .68rem; color: var(--muted); display: flex; align-items: center; gap: .45rem; white-space: nowrap; }
.turnpill { background: var(--pc); color: #1a1030; font-weight: 800; font-size: .55rem; padding: 0 .35rem; border-radius: 6px; flex: none; letter-spacing: .05em; }
.oz-sets { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; min-height: 17px; font-size: .65rem; }
.ms { display: inline-flex; gap: 1px; padding: 1px; border-radius: 4px; background: #0004; }
.ms i { width: 13px; height: 16px; border-radius: 3px; border: 1.5px dashed color-mix(in srgb, var(--c) 75%, transparent);
  font-size: 8px; display: grid; place-items: center; font-style: normal; line-height: 1; }
.ms i.f { background: var(--c); border-style: solid; border-color: #fff5; }
.ms.full { box-shadow: 0 0 0 1.5px var(--accent), 0 0 6px var(--accent); }
.minicb { display: inline-block; width: 9px; height: 12px; border-radius: 2px; border: 1px solid #fff8; vertical-align: -1px; margin-right: 2px;
  background: repeating-linear-gradient(45deg, #e0457b, #e0457b 2px, #a92b5a 2px, #a92b5a 4px); }
.money { display: inline-block; transition: color .3s; }
.money.up { animation: moneyup .9s ease-out; }
.money.down { animation: moneydown .7s ease-out; }
@keyframes moneyup { 0% { color: var(--good); transform: scale(1.35); } 100% { transform: none; } }
@keyframes moneydown { 0%, 60% { color: var(--bad); } 15% { transform: translateX(-4px); } 30% { transform: translateX(4px); } 45% { transform: translateX(-2px); } }

.myzone { flex: 1; min-height: 0; position: relative; display: flex; flex-direction: column; gap: .3rem; padding: .4rem .45rem .3rem;
  border-radius: var(--radius); overflow: hidden; border: 2px solid color-mix(in srgb, var(--pc) 45%, transparent);
  background: radial-gradient(120% 90% at 50% 0%, #34285a, #1c1530 70%); }
.myzone::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; opacity: .07; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20400%2070%22%20preserveAspectRatio%3D%22xMidYMax%20slice%22%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M0%2070V52h14v-6h12v6h10v-8h14v8h8V40l8-6%208%206v12h10V30h16v22h6V12l5-8%205%208v40h8V24h10v28h6V40h14v12h8V36l10-14%2010%2014v16h6V8h4V0h2v8h4v44h10V28l9-12%209%2012v24h8V18l6-10%206%2010v34h10V34h18v18h8V44h12v8h10V38h12v14h14V46l7-5%207%205v6l7-5%207%205v6l7-5%207%205v6h12V40h14v12h16v18z%22/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; }
.mz-h { font-family: var(--fun); font-size: 1.02rem; }
.mz-h b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mz-h .stars { margin-left: .2rem; }
.mz-h .stars i { font-size: 1rem; }
.mz-h .money { margin-left: auto; font-family: system-ui, sans-serif; font-size: .9rem; }
.billrow { display: flex; gap: 3px; overflow: hidden; min-height: 17px; font-size: .7rem; flex: none; }
.bill { font-style: normal; font-size: .6rem; font-weight: 800; color: #0b3d22; flex: none;
  background: linear-gradient(135deg, #b5f0c9, #4fc37f); border: 1px solid #2f9e63; border-radius: 3px; padding: 1px 5px; }
.tsets { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-wrap: wrap; gap: .5rem .4rem; align-content: flex-start;
  padding: 3px 2px 2px; position: relative; z-index: 1; }
.tsets .empty { width: 100%; text-align: center; padding: 1.2rem .5rem; font-size: .88rem; line-height: 1.5; }
.tset { width: 76px; display: flex; flex-direction: column; }
.tname { font-size: .58rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase;
  letter-spacing: .03em; margin-bottom: 2px; filter: brightness(1.25); }
.tcards { display: flex; flex-direction: column; border-radius: 7px; }
.tset.full .tcards { box-shadow: 0 0 0 2px var(--accent), 0 0 14px #ffc14590; }
.mc { height: 40px; width: 100%; border-radius: 6px; background: #fffdf8; border: 1px solid #d8d0bf; box-shadow: 0 2px 4px #0006;
  position: relative; overflow: hidden; padding: 0; text-align: left; display: block; color: #1d1d1d; flex: none; }
.mc + .mc { margin-top: -22px; }
.mc .mb { display: block; height: 18px; font-size: .58rem; font-weight: 700; padding: 3px 4px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc .me { position: absolute; right: 4px; bottom: 1px; font-size: .9rem; }
.mc.slot { background: #ffffff08; border: 1.5px dashed color-mix(in srgb, var(--c) 70%, transparent); box-shadow: none; }
.mc.slot .mb { color: color-mix(in srgb, var(--c) 80%, #fff); text-align: center; font-size: .7rem; padding-top: 1px; }
.mc.wild .mb { color: #fff !important; text-shadow: 0 1px 2px #000a; }
button.mc.wild { cursor: pointer; outline: 2px dashed #ffd36b; outline-offset: -2px; }
.mc.pop { animation: popin .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes popin { from { transform: translateY(-34px) scale(.5) rotate(-12deg); opacity: 0; } }
.tfoot { font-size: .58rem; color: #ffffffb8; margin-top: 3px; white-space: nowrap; }
.dc .two { font-size: .72em; letter-spacing: -.12em; }
.deckpill { font-size: .75rem; color: var(--muted); white-space: nowrap; }
.pd-sheet .tsets { overflow: visible; }
.pd-sheet .billrow { flex-wrap: wrap; }
.tsets.compact { gap: .35rem .3rem; }
.tsets.compact .tset { width: 64px; }
.tsets.compact .mc { height: 33px; }
.tsets.compact .mc + .mc { margin-top: -18px; }
.tsets.compact .mc .mb { height: 15px; font-size: .52rem; padding-top: 2px; }
.tsets.compact .mc .me { font-size: .72rem; }
.tsets.tiny .tset { width: 56px; }
.tsets.tiny .mc { height: 26px; }
.tsets.tiny .mc + .mc { margin-top: -13px; }
.tsets.tiny .mc .mb { height: 13px; font-size: .48rem; padding: 1px 3px 0; }
.tsets.tiny .mc .me { font-size: .6rem; }
.tsets.tiny .tname, .tsets.tiny .tfoot { font-size: .5rem; }
.oz-sets { align-items: center; }
.toast { white-space: normal; width: max-content; max-width: 92vw; line-height: 1.1; }

/* ---------- philly deal: table view ---------- */
.table-opps { flex: none; display: flex; flex-direction: column; gap: 2px; padding: 3px; border-radius: 16px; background: #ffffff06; }
.prow { display: flex; align-items: center; gap: .45rem; padding: .25rem .4rem; border-radius: 12px; position: relative; transition: background .4s; cursor: pointer; }
.prow.turn { background: color-mix(in srgb, var(--pc) 13%, transparent); }
.prow.turn::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px; border-radius: 3px; background: var(--pc); }
.prow.won { background: #ffc14522; }
.pid { display: flex; align-items: center; gap: .4rem; width: 112px; flex: none; min-width: 0; }
.avc { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 1.05rem; flex: none;
  background: color-mix(in srgb, var(--pc) 20%, #2a2342); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--pc) 65%, transparent); }
.pinfo { min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
.pinfo b { font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pinfo small { font-size: .64rem; color: var(--muted); white-space: nowrap; }
.pinfo .stars { margin: 1px 0 0; }
.pinfo .stars i { font-size: .62rem; }
.piles { flex: 1; min-width: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 6px 6px 3px 2px; align-items: center; }
.piles::-webkit-scrollbar { display: none; }
.piles .none { font-size: .7rem; color: #ffffff50; }
.piles .pile { --w: 30px; width: var(--w); height: calc(var(--w) * 1.38); border-radius: 5px; background: #fbf8f1; position: relative; flex: none;
  box-shadow: 0 1px 3px #0006; }
.piles .pile .pb { position: absolute; left: 0; right: 0; top: 0; height: 30%; background: var(--c); border-radius: 5px 5px 0 0; }
.piles .pile .pe { position: absolute; left: 0; right: 0; top: 31%; text-align: center; font-size: .78rem; line-height: 1.2; }
.piles .pile .pn { position: absolute; left: 0; right: 0; bottom: 1px; text-align: center; font-size: .52rem; font-weight: 800; color: #666; }
.piles .pile.n2 { box-shadow: 2px -2px 0 -.5px #e8e2d4, 2px -2px 1px 0 #0003, 0 1px 3px #0006; }
.piles .pile.n3 { box-shadow: 2px -2px 0 -.5px #e8e2d4, 4px -4px 0 -.5px #dcd5c5, 4px -4px 1px 0 #0003, 0 1px 3px #0006; }
.piles .pile.full { outline: 2px solid var(--accent); outline-offset: 1px; }
.piles .pile.full .pn { color: #158a45; font-size: .6rem; }
.piles .pile .ph { position: absolute; top: -7px; right: -7px; font-size: .62rem; }
.piles .pile.pop { animation: popin .5s cubic-bezier(.3, 1.6, .5, 1); }

.tcenter { flex: none; display: flex; align-items: center; gap: .55rem; padding: .4rem .55rem; border-radius: 16px;
  background: radial-gradient(140% 140% at 20% 50%, #2e6b54 0%, #1f4639 55%, #18352d 100%); box-shadow: inset 0 0 22px #0007; }
.cdeck span { display: grid; place-items: center; width: 36px; height: 50px; border-radius: 6px; border: 2px solid #fff; color: #fff; font-weight: 700; font-size: .72rem;
  text-shadow: 0 1px 2px #000; background: repeating-linear-gradient(45deg, #e0457b, #e0457b 3px, #a92b5a 3px, #a92b5a 6px);
  box-shadow: 2px 2px 0 -1px #ffffffaa, 4px 4px 0 -2px #ffffff66, 0 3px 6px #0006; }
.cdisc { flex: none; }
.dc.mini { --cw: 36px; width: 36px; height: 50px; border-radius: 6px; }
.dc.mini .t, .dc.mini .v { display: none; }
.dc.mini .e { bottom: 14%; font-size: 17px; }
.dc.mini .e .two { font-size: 12px; }
.dc.toss { animation: toss .55s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes toss { from { transform: translate(40px, -70px) rotate(-35deg) scale(1.4); opacity: 0; } }
.cempty { width: 36px; height: 50px; border: 1.5px dashed #ffffff40; border-radius: 6px; font-size: .48rem; color: #ffffff60; display: grid; place-items: center; }
.ctext { flex: 1; min-width: 0; display: flex; flex-direction: column; color: #fff; }
.ctext b { font-family: var(--fun); font-weight: 600; font-size: clamp(.88rem, 2.2dvh, 1.02rem); line-height: 1.2; }
.ctext small { font-size: .7rem; color: #ffffffb0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.myarea { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: .3rem; padding: .45rem .5rem .35rem; border-radius: 16px;
  background: #ffffff07; transition: box-shadow .4s, background .4s; }
.myarea.turn { background: color-mix(in srgb, var(--pc) 9%, #ffffff05); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--pc) 55%, transparent); }
.myarea.won { box-shadow: inset 0 0 0 2px var(--accent), 0 0 20px #ffc14566; }
.mh { display: flex; align-items: center; gap: .4rem; min-width: 0; flex: none; }
.mh b { font-family: var(--fun); font-weight: 600; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mh .stars i { font-size: .85rem; }
.mbank { margin-left: auto; display: flex; align-items: center; gap: .35rem; min-width: 0; }
.mbank .billrow { max-width: 130px; min-height: 0; justify-content: flex-end; }
.mbank .money { font-weight: 700; font-size: .95rem; }
.myfan { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-wrap: wrap; gap: .65rem .45rem; align-content: flex-start; padding: 4px 2px; }
.myfan .hint { width: 100%; text-align: center; color: var(--muted); font-size: .85rem; padding: 1.4rem .5rem; line-height: 1.5; }
.fset { width: 78px; display: flex; flex-direction: column; }
.fcards { display: flex; flex-direction: column; border-radius: 8px; }
.pdc { height: 56px; width: 100%; border-radius: 7px; background: #fbf8f1; border: none; color: #1d1d1d; padding: 0; text-align: left;
  box-shadow: 0 1px 3px #0007, 0 0 0 1px #0000000f; position: relative; overflow: hidden; display: block; flex: none; }
.pdc + .pdc { margin-top: -36px; }
.pdc .fb { display: block; height: 20px; font-size: .6rem; font-weight: 700; padding: 4px 5px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdc .fe { position: absolute; right: 5px; bottom: 3px; font-size: 1.1rem; }
.pdc.wild .fb { text-shadow: 0 1px 2px #000a; }
button.pdc.wild { cursor: pointer; }
.pdc.pop { animation: popin .5s cubic-bezier(.3, 1.6, .5, 1); }
.fset.full .fcards { box-shadow: 0 0 0 2px var(--accent), 0 0 12px #ffc14560; }
.fmeta { display: flex; justify-content: space-between; align-items: center; font-size: .62rem; color: #ffffffa8; margin-top: 4px; }
.fset.full .fmeta { color: var(--accent); }
.pdots { display: flex; gap: 2px; }
.pdots i { width: 6px; height: 6px; border-radius: 50%; background: #ffffff22; }
.pdots i.on { background: var(--c); box-shadow: 0 0 0 1px #ffffff40; }
.myfan.compact { gap: .5rem .35rem; }
.myfan.compact .fset { width: 68px; }
.myfan.compact .pdc { height: 46px; }
.myfan.compact .pdc + .pdc { margin-top: -29px; }
.myfan.compact .pdc .fb { height: 17px; font-size: .54rem; padding-top: 3px; }
.myfan.compact .pdc .fe { font-size: .9rem; }
.myfan.tiny .fset { width: 58px; }
.myfan.tiny .pdc { height: 36px; }
.myfan.tiny .pdc + .pdc { margin-top: -22px; }
.myfan.tiny .pdc .fb { height: 14px; font-size: .5rem; padding: 2px 4px 0; }
.myfan.tiny .pdc .fe { font-size: .7rem; }
.sheetfan { overflow: visible; }
.pl1 { display: flex; align-items: center; gap: .3rem; min-width: 0; }
.pl1 .stars { margin: 0; }
.pid { width: 124px; }
.table-opps.n3 .prow, .table-opps.n4 .prow { padding: .12rem .4rem; }
.table-opps.n3 .avc, .table-opps.n4 .avc { width: 26px; height: 26px; font-size: .85rem; }
.table-opps.n3 .pile, .table-opps.n4 .pile { --w: 25px; }
.table-opps.n3 .pile .pe, .table-opps.n4 .pile .pe { font-size: .62rem; }
.table-opps.n3 .piles, .table-opps.n4 .piles { padding-top: 5px; padding-bottom: 2px; }
.fmeta { white-space: nowrap; gap: 3px; }
.mbank .billrow { -webkit-mask-image: linear-gradient(90deg, transparent, #000 18px); mask-image: linear-gradient(90deg, transparent, #000 18px); }
@media (max-height: 600px) { .tcenter { padding: .25rem .5rem; } .cdeck span, .cempty, .dc.mini { transform: scale(.85); } }

/* ---------- philly deal: live felt ---------- */
.feltplay { flex-direction: column; align-items: stretch; gap: .25rem; padding: .4rem .5rem .45rem; }
.fl-top { font-family: var(--fun); font-weight: 600; color: #fff; font-size: clamp(.86rem, 2.1dvh, 1rem); line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-row { display: flex; align-items: flex-end; gap: .5rem; height: 92px; }
.fl-row .cdeck { align-self: center; }
.feedrow { flex: 1; min-width: 0; height: 100%; display: flex; justify-content: flex-end; align-items: flex-end; gap: .35rem; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22px); mask-image: linear-gradient(90deg, transparent, #000 22px); }
.fl-empty { align-self: center; margin-right: auto; padding-left: 26px; font-size: .75rem; color: #ffffff60; font-style: italic; }
.fi { flex: none; width: 66px; max-width: 66px; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.fi .fstack { height: 64px; display: flex; align-items: flex-end; justify-content: center; }
.fi .dc { --cw: 44px; width: 44px; height: 62px; border-radius: 6px; box-shadow: 0 3px 8px #0008; }
.fi .dc .t { display: none; }
.fi .dc .v { font-size: 9px; }
.fi .dc .e { bottom: 16%; font-size: 19px; }
.fi .dc .e .two { font-size: 13px; }
.fi.multi .dc { --cw: 36px; width: 36px; height: 50px; }
.fi.multi .dc .e { font-size: 15px; }
.fi .dc + .dc { margin-left: -22px; }
.fi:not(.multi) .dc { transform: rotate(calc((var(--r, 0) - .5) * 6deg)); }
.fi:nth-child(odd) .dc { --r: .1; }
.fi:nth-child(even) .dc { --r: .9; }
.fback { display: block; width: 30px; height: 42px; border-radius: 4px; border: 1.5px solid #fff; flex: none; box-shadow: 0 2px 5px #0007;
  background: repeating-linear-gradient(45deg, #e0457b, #e0457b 3px, #a92b5a 3px, #a92b5a 6px); }
.fback + .fback { margin-left: -20px; }
.fbadge { font-size: 30px; line-height: 1; filter: drop-shadow(0 2px 4px #0008); }
.fcap { font-size: .6rem; color: #fff; text-align: center; line-height: 1.15; max-width: 68px; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-shadow: 0 1px 2px #0009; }
.fcap b { color: var(--accent); }
.pcdot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--pc); margin-right: 3px; vertical-align: 1px; }
.fi:last-child .fstack { filter: drop-shadow(0 0 8px #ffffff40); }
.fi.in { animation: fiin .6s cubic-bezier(.2, .9, .3, 1.15) both; animation-delay: var(--dl); }
.fromme { --from: 150px; }
.fromopp { --from: -130px; }
@keyframes fiin { from { transform: translateY(var(--from)) scale(1.6) rotate(-14deg); opacity: 0; } 60% { opacity: 1; } }
.fi.out { animation: fiout .5s ease-in forwards; }
@keyframes fiout { to { opacity: 0; transform: translate(-30px, -10px) scale(.6); max-width: 0; width: 0; margin: 0; } }
@media (max-height: 600px) { .fl-row { height: 78px; } .fi .dc { --cw: 38px; width: 38px; height: 53px; } .fi .fstack { height: 55px; } }
.piles { min-height: 50px; }
.table-opps.n3 .piles, .table-opps.n4 .piles { min-height: 42px; }
.pd.crowd .fl-row { height: 74px; }
.pd.crowd .fi .dc { --cw: 36px; width: 36px; height: 50px; }
.pd.crowd .fi .fstack { height: 52px; }
.pd.crowd .fi .dc .e { font-size: 15px; }
.pd.crowd .feltplay { padding-top: .3rem; padding-bottom: .3rem; }
.myfan.micro { gap: .35rem .25rem; }
.myfan.micro .fset { width: 50px; }
.myfan.micro .pdc { height: 30px; }
.myfan.micro .pdc + .pdc { margin-top: -19px; }
.myfan.micro .pdc .fb { height: 11px; font-size: .44rem; padding: 1px 3px 0; }
.myfan.micro .pdc .fe { font-size: .55rem; bottom: 1px; }
.myfan.micro .fmeta { font-size: .5rem; }
.myfan.micro .pdots i { width: 4px; height: 4px; }
.toggle.selectopt { align-items: center; justify-content: space-between; flex-wrap: wrap; }
.toggle.selectopt select { font: inherit; font-size: .9rem; padding: .45em .6em; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); max-width: 100%; }
.ver { text-align: center; font-size: .7rem; color: var(--muted); opacity: .7; margin: .8rem 0 0; }
