/* FINAL OC02.3, scoped presentation. Existing felt, inks and pill materials. */
.oc-panel .p-list{top:100px;bottom:114px;padding:0 20px}
.oc-body{display:flex;flex-direction:column;gap:22px;padding-bottom:4px}
.oc-text{position:relative;display:block;--top:#A09684;--bot:#7A7262;font:400 14px/1.5 var(--serif);letter-spacing:.02em;text-transform:none;white-space:pre-line;text-align:center;margin:0 16px;background-size:100% 100%}
.oc-state{--top:#E8D2A0;--bot:#B89C62;font-size:18px}
.oc-text:empty{display:none}
.oc-panel .p-pill.oc-flow{position:relative;inset:auto;width:100%;height:46px;min-height:46px;margin:0;flex:none}
.oc-flow:disabled{cursor:default}
.oc-settings .oc-body{gap:14px}
.oc-settings .p-row{margin-bottom:0}
.oc-stack-editor .p-list{top:100px;bottom:114px;padding:0 20px}
.oc-stack-body{display:flex;flex-direction:column;gap:10px;padding-bottom:6px}
.oc-stack-editor .p-stack-value{font-size:28px;text-align:center;margin:4px 0 6px;--top:#E8C87E;--bot:#C09A4E}
.p-stack-rail{display:flex;align-items:center;gap:12px;height:44px;margin:0 8px 4px}
.oc-stack-editor .raise-end{position:relative;inset:auto;display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none;padding:0}
.oc-stack-editor .raise-end img{width:42px;height:42px;object-fit:contain}
.oc-stack-range{flex:1;min-width:0;accent-color:#D6B062}
.oc-stack-editor .p-stack-rail .raise-track{position:relative;inset:auto;flex:1;width:auto;height:44px;margin:0 6px;min-width:0;touch-action:none}
.oc-stack-editor .raise-knob{margin:0;transform:translate(-50%,-50%) rotate(45deg);pointer-events:none}
.oc-stack-editor .raise-groove{left:-20px;right:-20px}
.oc-stack-editor .raise-fill{left:-20px;padding-left:20px;box-sizing:content-box}
.oc-stack-editor .p-main{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:52px;padding:4px 16px}
.oc-stack-editor .p-main>.sw{position:relative;inset:auto}
.oc-stack-unavailable{font:12px/1.3 var(--serif);white-space:nowrap;color:#8A806E}
.oc-stack-choice{position:relative}.oc-stack-choice .sw{position:absolute;right:16px;top:50%;transform:translateY(-50%)}
#waitLayer.oc-prepared .oc-w-state{position:absolute;top:566px;left:20px;right:20px;text-align:center;font-size:14px;--top:#A09684;--bot:#7A7262;text-transform:none}
#waitLayer.oc-prepared .oc-w-action{top:606px;bottom:auto;height:46px}
#waitLayer.oc-prepared .oc-w-action~.oc-w-action{top:664px}
#waitLayer.oc-prepared .oc-w-action~.oc-w-action~.oc-w-action{top:722px}
#waitLayer.oc-prepared .w-reseat{top:798px}
.pscreen.oc-laptop-panel{inset:auto;right:16px;top:76px;width:440px;height:342px;max-width:calc(100vw - 32px);max-height:calc(100vh - 88px);border-radius:14px;box-shadow:inset 0 0 0 1px rgba(154,122,70,.65),0 12px 36px #0009}
.oc-laptop-panel .p-head{top:20px;left:28px;right:28px}
.oc-laptop-panel .p-list{top:76px;bottom:74px;scrollbar-width:thin;scrollbar-gutter:stable;scrollbar-color:#9a7a4670 transparent}
.oc-laptop-panel>.p-pill{bottom:16px}
.oc-laptop-panel.oc-stack-editor{height:calc(100vh - 100px);max-height:none}
.slot-icon.oc-pending img{max-width:none;flex-shrink:0;filter:brightness(.6);width:54px;height:54px}
.slot-icon.oc-pending{display:flex;align-items:center;justify-content:center;flex-shrink:0}
#laptopRole .slot-icon.oc-pending img{width:40.5px;height:40.5px}
#laptopRole .slot-icon.oc-active-tour{width:44px;height:44px}
#laptopRole .slot-icon.oc-active-tour img{width:39.7px;height:39.7px}
.oc-hud-note{position:absolute;left:16px;right:16px;top:40px;font:14px/1.45 var(--serif);text-align:center;white-space:pre-line;color:#B8AD96}
#laptopView.oc-waiting #myHand,#laptopView.oc-waiting #handHint{display:none!important}
#laptopCards>.oc-own-med{position:absolute;left:58px;top:24px}
#laptopView.oc-waiting #laptopActionRow .p-pill{position:relative;inset:auto;width:100%;height:46px;min-width:0;margin:0}
.oc-under{visibility:hidden;pointer-events:none}
.pscreen.oc-laptop-host{height:calc(100vh - 108px);max-height:620px}
.oc-laptop-host .p-tabs{top:76px}
.oc-laptop-host .p-list{top:130px;bottom:130px}
.oc-laptop-host .p-list.under-note{top:158px}
.oc-laptop-host .p-note{top:134px!important;font-size:12px;letter-spacing:.03em;text-transform:none}
.oc-laptop-host .p-pill.at{top:auto!important;bottom:74px}
.oc-laptop-host .p-list.people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:8px 12px}
.oc-laptop-host .p-list.people .p-person{margin:0;height:52px}
.oc-laptop-panel .oc-body{gap:22px}
.oc-laptop-panel .p-title{font-size:13px;letter-spacing:.14em}
#laptopView.oc-waiting #laptopActions[data-vertical="true"] #laptopActionRow .p-pill{grid-column:1}
#laptopView.oc-waiting #laptopActions[data-vertical="true"] .oc-hud-note{top:40px;font-size:12px;line-height:1.25}
.pscreen.oc-laptop-panel{background:transparent;background-color:transparent;isolation:isolate}
.oc-laptop-panel::before{inset:1px;border-radius:13px;background:var(--felt-bg);mix-blend-mode:normal;opacity:.75;z-index:-2}
.oc-laptop-panel::after{content:"";position:absolute;inset:1px;border-radius:13px;background:url("img/grain.png") repeat;background-size:256px 256px;mix-blend-mode:overlay;opacity:.1875;pointer-events:none;z-index:-1}
#laptopView.oc-waiting #laptopStatus{color:#C4C5C5}
#laptopView.oc-waiting #laptopCards>.oc-own-med{left:calc(50% - 56.1px);top:16px}
#laptopView.oc-waiting #laptopCards #myStack{top:132px}
#laptopView.oc-waiting #laptopActions[data-vertical="false"] #laptopActionRow{top:72px;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}
#laptopView.oc-waiting #laptopActionRow .act{filter:none}
#laptopView.oc-waiting #laptopActionRow .act:disabled{filter:brightness(.55)}
#laptopView #scene img.seat.oc-preparation-empty{visibility:hidden}
/* Accepted preparation row uses three native button widths and12px gaps. */
#laptopView.oc-waiting #laptopActions[data-vertical="false"] #laptopActionRow{left:50%;right:auto;width:calc(3 * var(--button-w) + 24px);transform:translateX(-50%);grid-template-columns:repeat(3,var(--button-w))}

.oc-laptop-panel.oc-stack-editor .p-list{top:100px;bottom:114px}
/* Replace the obsolete next-deal promise only at a confirmed waiting boundary. */
#handView #winCounter.oc-tournament-note{left:calc(50% - 159px);right:auto;top:630px;width:318px;--ls:.02em;font:400 14px/1.5 var(--serif);letter-spacing:.02em;text-transform:none;white-space:pre-line;background-size:100% 100%}
/* Accepted narrow-pod rule: the status stops before every visible badge. */
#laptopView:not(.choosing-raise):not(.laptop-fold-result) #laptopActions[data-vertical="true"] #laptopStatus{right:max(46px,calc(var(--oc-badge-width,38px) + 8px))}

/*7e3ef028: only a fresh paused prepared personal phone. Never a public/S1 layer. */
#preparedPauseShade{position:fixed;inset:0;z-index:30;pointer-events:none;backdrop-filter:brightness(.55);-webkit-backdrop-filter:brightness(.55)}
body.oc-prepared-pause :is(#pauseLayer,#preparedResume,#connectionDock,#menuBtn,#hostGear){z-index:40;filter:none}
body.oc-prepared-pause #connectionResume{display:none!important}
body.oc-prepared-can-resume #pauseLayer,body.oc-prepared-panel #pauseLayer{visibility:hidden}
body.oc-prepared-pause #handView.has-pause>:is(.h-rule,.h-row,#myHand,.h-stack,#myStack,#miniPot,#potChips,#potFly,#myPlate),
body.oc-prepared-pause #handView.has-pause .h-stadium>*:not(.st-felt),body.oc-prepared-pause #stNameLayer.paused{filter:none}
body.oc-prepared-service #waitLayer.oc-prepared .oc-w-state{display:none}
body.oc-prepared-layout.phone-connection .connection-dock:not(.hidden){top:var(--oc-service-top);bottom:18px;height:auto;justify-content:initial;padding:0}
body.oc-prepared-layout .connection-message{position:absolute;top:var(--oc-service-offset);left:0;right:0;height:auto;transform:translateY(-50%);margin:0}
