/* PT2 private presenter only. Public tablet/phone/character laptop are unchanged. */
body.private-top-active #game{background:#0b272d}
#privateTopView{position:absolute;inset:0;overflow:hidden;background:#06171b}
#privateTopView[hidden]{display:none}
#privateTopStage{position:absolute;inset:0 0 124px}
/* The foreground still measures the unchanged stage (viewport minus124).
   Only its existing decoration paints through the reserved area. Native inline
   gradient coordinates are inherited verbatim; no second gradient/colour strip. */
#privateTopStage #tabletop{position:absolute;inset:0;overflow:visible;isolation:isolate}
#privateTopStage #tabletop::after{content:"";position:absolute;inset:0 0 -124px;z-index:-1;background:inherit;pointer-events:none}
#privateTopStage #tabletop::before,#privateTopStage #tabletop .tt-cloth{bottom:-124px}
#privateTopHud{position:absolute;height:112px;display:flex;z-index:30;border-radius:14px;background:rgba(0,0,0,.2);box-shadow:inset 0 0 0 1px rgba(154,122,70,.28)}
#privateTopIcons{position:relative;flex:none;width:160px;height:112px}
#privateTopIcons[hidden]{display:none}
#privateTopIcons #slotIcons{position:absolute;inset:auto;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;width:132px;height:38px;gap:6px}
#privateTopIcons .slot-icon{position:relative;inset:auto;width:38px;min-width:38px;height:38px;margin:0;padding:0;display:flex;align-items:center;justify-content:center;flex:none}
#privateTopIcons .slot-icon img{width:34.5px;height:34.5px;max-width:none;filter:none}
#privateTopIcons .oc-pending img{filter:brightness(.6)}
#privateTopActions{position:relative;flex:none;width:712px;height:112px}
#privateTopStatus{position:absolute;left:auto;right:18.2px;top:30px;width:126px;height:20px;text-align:center;font:16px/20px var(--serif);color:#f0d79a}
#privateTopActionRow{position:absolute;left:18.2px;top:30px;width:522.8px;height:48px;display:grid;grid-template-columns:repeat(3,167.6px);gap:10px}
#privateTopActionRow .act{position:relative;width:167.6px;height:48px;margin:0;cursor:default;filter:brightness(.55)}
#privateTopActionRow .lab{font-size:12px;letter-spacing:.06em;display:flex;align-items:center;justify-content:center;gap:8px;inset:50% 0 auto;width:100%;height:auto;margin:0;padding:.3em 0;transform:translateY(-50%);white-space:nowrap}
#privateTopActionRow .call .lab{background:none;color:#d5d4d0;-webkit-text-fill-color:currentColor}
#privateTopView[data-connected="false"] :is(#myHand,#privateTopIcons,#privateTopActionRow){visibility:hidden}
.private-top-own-plane{display:contents}
#privateTopStage #myHand.private-top-pair{position:absolute;inset:auto;display:block;margin:0;width:80.4px;height:85.4px;transform:scale(1.2);transform-origin:50% 100%;z-index:4;--strip:23.8px;cursor:pointer;touch-action:manipulation}
#privateTopStage #myHand[hidden]{display:none}
#privateTopStage #myHand .pcard{position:absolute;inset:0 auto auto 0;margin:0;width:56.6px;height:85.4px;min-width:56.6px;--w:56.6px;--kant:1px;transform:none;z-index:1}
#privateTopStage #myHand .pcard:nth-child(2){left:23.8px;z-index:2}
#privateTopStage #myHand .pcard:first-child .corner{left:calc(var(--strip)/2);transform:translateX(-50%)}
#privateTopStage #myHand .pcard:first-child .pip{left:calc(var(--strip)/2)}
#privateTopStage #myHand.private-top-folded{filter:brightness(.55)}
#privateTopStage .private-top-own-public{display:none}
#privateTopStage .pcard.private-top-combo{box-shadow:0 0 0 1px #080706,0 0 0 2.2px #d6b062,0 0 7px #d6b06299}
#privateTopView #pauseLayer{position:fixed;left:50%;top:50%;width:218.5px;height:52.4px;transform:translate(-50%,-50%);z-index:39}
#privateTopView.private-top-paused #privateTopHud{filter:brightness(.55)}
body:has(.pscreen:not(.hidden)) #privateTopView #pauseLayer{visibility:hidden}
/* R01: accepted horizontal fold group, scoped to this private presenter. */
#privateTopFoldLayout{display:contents}
#privateTopFoldNote{display:none;margin:0;min-width:0;text-align:center;color:#bdb29c;font:400 16px/1.4 var(--serif)}
#privateTopView.private-top-folded-hud #privateTopFoldLayout{position:absolute;left:18.2px;top:0;width:522.8px;height:112px;display:flex;align-items:center;justify-content:center;gap:16px}
#privateTopView.private-top-folded-hud #privateTopActionRow{position:relative;left:auto;top:auto;flex:0 0 167.6px;width:167.6px;height:48px;display:block}
#privateTopView.private-top-folded-hud #privateTopFoldNote{position:relative;display:block;flex:0 1 auto;max-width:339.2px}
#privateTopView.private-top-folded-hud #privateTopFoldNote:empty{display:none}
.private-top-fold-copy{position:relative;display:block}
#privateTopView.private-top-folded-hud #privateTopStatus{top:0;height:112px}
.private-top-fold-who{position:absolute;left:0;right:0;top:0;display:block;white-space:normal;overflow-wrap:anywhere;word-break:normal;hyphens:none}
#privateTopResult{display:none;position:absolute;inset:0;align-items:center;justify-content:center;flex-direction:column;gap:8px}
#privateTopView.private-top-result-hud #privateTopResult{display:flex}
#privateTopView.private-top-result-hud :is(#privateTopStatus,#privateTopActionRow,#privateTopFoldNote){display:none}
#privateTopResult #resultAmount,#privateTopResult #resultNote{position:static;inset:auto;width:auto;height:auto;margin:0;padding:0;transform:none;text-align:center;letter-spacing:0;line-height:1.3}
#privateTopResult #resultAmount{font:32px/1.3 var(--serif)}
#privateTopResult #resultAmount:empty{display:none}
#privateTopResult #resultNote{font:13px/1.3 var(--serif);color:#a69a83}
/* PT3: existing accepted horizontal controls; foreground and module anchors stay put. */
#privateTopActionRow .act:not(:disabled){filter:none;cursor:pointer}
#privateTopClock{position:absolute;right:18.2px;top:60px;width:126px;height:2px;background:#9a7a4622}
#privateTopClock[hidden],#privateTopReserve[hidden],#privateTopRaise[hidden]{display:none}
#privateTopClock i{display:block;height:100%;background:#d6b062}
#privateTopClock[data-bank="true"] i{background:#b2b8be}
#privateTopReserve{position:absolute;right:18.2px;top:72px;width:126px;text-align:center;color:#b2b8be;font:11px/14px var(--serif)}
#privateTopRaise{position:absolute;left:18.2px;top:48px;width:167.6px;height:38px;display:grid;grid-template-columns:32px minmax(0,1fr) 32px;align-items:center;gap:0}
#privateTopRaise .private-top-raise-heading{position:absolute;left:0;top:-30px;height:26px;display:flex;align-items:center;gap:6px;white-space:nowrap;font:12px/24px var(--serif);color:#d6b062}
#privateTopRaiseValue{position:static;width:80px;min-width:0;height:26px;margin:0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;color:#d6b062;text-align:left;font:16px/26px var(--serif)}
#privateTopRaiseValue[aria-invalid="true"]{outline:1px solid #bb6b65}
#privateTopRaise .private-top-step{position:relative;width:32px;height:38px;min-width:0;display:flex;align-items:center;justify-content:center;margin:0;padding:0;background:none;border:0;box-shadow:none;cursor:pointer}
#privateTopRaise .private-top-step img{width:32px;height:32px;object-fit:contain}
#privateTopRaise .private-top-step:disabled{filter:brightness(.55);cursor:default}
#privateTopRaise .private-top-raise-track{position:relative;min-width:0;width:auto;height:38px;margin:0 20px;touch-action:none}
#privateTopRaise .private-top-raise-track[aria-disabled="true"]{filter:brightness(.55)}
#privateTopRaise .raise-groove{left:-20px;right:-20px}
#privateTopRaise .raise-fill{left:-20px;padding-left:20px;box-sizing:content-box}
#privateTopRaise .raise-knob{width:28px;height:28px;margin:0;transform:translate(-50%,-50%) rotate(45deg);pointer-events:none}
#privateTopRaise .raise-knob::after{inset:6px}
#privateTopView #pauseLayer.private-top-can-resume{cursor:pointer;pointer-events:auto}

/* Empty grid cells must not intercept the overlapping amount editor. */
#privateTopView.private-top-raising #privateTopActionRow{pointer-events:none}
#privateTopView.private-top-raising #privateTopActionRow .act{pointer-events:auto}

/* Accepted ordinary preparation4f4ccd24: a distinct14px/40px status component. */
#privateTopView.private-top-preparing #privateTopStatus{height:40px;display:flex;align-items:center;justify-content:center;font:14px/20px var(--serif)}
#privateTopActionRow .private-top-prep-wait{grid-column:1/-1;margin:0;text-align:center;white-space:nowrap;color:#a09684;font:15px/48px var(--serif)}

#privateTopView #pauseLayer .ink{font-weight:400}

/* Approved horizontal native-actions: command18.2 + local186;
   actionArea38 + command10 - native19 = y29; two167.6 buttons/gap12. */
#privateTopView.private-top-raising #privateTopActionRow{left:204.2px;top:29px;width:347.2px;grid-template-columns:repeat(2,167.6px);gap:12px}

/* Approved G01: ordinary prose in the measured free space below the buttons. */
#privateTopNotice{position:absolute;left:18.2px;width:522.8px;display:flex;align-items:center;justify-content:center;pointer-events:none}
#privateTopNotice[hidden],#privateTopNotice .private-top-wait-dots[hidden]{display:none}
#privateTopNotice p{position:relative;width:100%;margin:0;padding:0;border:0;background:none;color:#D8C49E;font:12px/16px var(--serif);text-align:center;white-space:normal;overflow-wrap:anywhere}
#privateTopNotice .private-top-wait-dots{display:inline-block;width:1em;white-space:nowrap;text-align:left}
#privateTopNotice .private-top-wait-dots i{font-style:normal;animation:private-top-dot 1.35s steps(1,end) infinite;opacity:.2}
#privateTopNotice .private-top-wait-dots i:nth-child(2){animation-delay:.2s}
#privateTopNotice .private-top-wait-dots i:nth-child(3){animation-delay:.4s}
@keyframes private-top-dot{0%,80%{opacity:.2}20%,70%{opacity:1}}
@media(prefers-reduced-motion:reduce){#privateTopNotice .private-top-wait-dots i{animation:none;opacity:1}}

/* Approved cold-entry pause: no invented former row or empty action frame.
   Keep the unchanged reserve and known icon module at their existing anchors. */
#privateTopView.private-top-cold-paused #privateTopHud{background:transparent;box-shadow:none}
#privateTopView.private-top-cold-paused #privateTopActions{visibility:hidden}
#privateTopView.private-top-cold-paused #privateTopIcons{border-radius:14px;background:rgba(0,0,0,.2);box-shadow:inset 0 0 0 1px rgba(154,122,70,.28)}
