/* S1.4 only: accepted materials and module geometry; no scene/phone selectors. */
#laptopView .laptop-pod{position:absolute;inset:auto;transform-origin:0 0;box-sizing:border-box;user-select:none;border-radius:14px;background:rgba(0,0,0,.2);box-shadow:inset 0 0 0 1px rgba(154,122,70,.28);z-index:31}
#laptopView #laptopCards{z-index:32}
#laptopView .laptop-dock-frame{pointer-events:none;transform:none;z-index:30}
#laptopView .laptop-dock-frame[hidden]{display:none}
#laptopView[data-layout-common="true"] .laptop-pod{background:none;box-shadow:none}
#laptopView[data-layout-editing="true"] .laptop-pod{cursor:grab;touch-action:none;box-shadow:inset 0 0 0 1px rgba(154,122,70,.65)}
#laptopView[data-layout-editing="true"] .laptop-pod>:not(.laptop-layout-edge):not(.laptop-layout-corner){pointer-events:none}
#laptopView .laptop-dock-preview{position:absolute;pointer-events:none;box-sizing:border-box;z-index:30;border-radius:14px;border:1px solid #b89758;background:rgba(154,122,70,.13);box-shadow:0 0 12px #9a7a4633}
#laptopView .laptop-dock-preview[hidden]{display:none}
#laptopView .laptop-layout-diamond{position:absolute;z-index:35;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;padding:0;background:none;box-shadow:none;cursor:pointer;opacity:.65;touch-action:none}
#laptopView .laptop-layout-diamond[hidden]{display:none}
#laptopView .laptop-layout-diamond i{position:absolute;width:7.07px;height:7.07px;background:#9a7a46;transform:translate(-50%,-50%) rotate(45deg);box-shadow:0 0 0 3px #0b090744}
#laptopView .laptop-layout-diamond[aria-pressed="true"] i{box-shadow:0 0 0 1px #0b0907,0 0 0 2px #9a7a46}
#laptopView .laptop-layout-diamond:hover{opacity:1}
#laptopView .laptop-layout-corner,#laptopView .laptop-layout-edge{position:absolute;display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;background:none;box-shadow:none;color:#9a7a46;touch-action:none;z-index:5;opacity:.85}
#laptopView .laptop-layout-corner{right:0;bottom:0;cursor:nwse-resize;padding:8px;box-sizing:border-box;opacity:.75}
#laptopView .laptop-layout-corner svg,#laptopView .laptop-layout-edge svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1}
#laptopView:not([data-layout-editing="true"]) .laptop-layout-corner,#laptopView:not([data-layout-editing="true"]) .laptop-layout-edge{visibility:hidden;pointer-events:none}
#laptopView .edge-left{left:0;top:calc(50% - 16px);cursor:ew-resize}
#laptopView .edge-right{right:0;top:calc(50% - 16px);cursor:ew-resize}
#laptopView .edge-top{top:var(--edge-top,-7px);left:calc(50% - 16px);cursor:ns-resize}
#laptopView .edge-bottom{bottom:var(--edge-bottom,-7px);left:calc(50% - 16px);cursor:ns-resize}
#laptopView #laptopCards .edge-top,#laptopView #laptopCards .edge-bottom{left:16px}
#laptopView #laptopCards #myHand{transform:scale(var(--card-x,1),var(--card-y,1));transform-origin:0 0}
#laptopView #laptopCards #handHint{width:calc(var(--pod-w) - 68px)}
#laptopView #laptopCards #myStack{top:calc(41px + var(--card-height));width:calc(var(--pod-w) - 68px)}
#laptopView #laptopActions #laptopActionRow{top:var(--button-top);width:auto;height:var(--button-h);grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:var(--button-h)}
#laptopView #laptopActionRow .act{width:100%;height:var(--button-h)}
#laptopView #laptopActionRow .lab{font-size:var(--button-font)}
#laptopView #laptopActions #laptopRaise{top:calc(var(--button-top) - 56px)}
#laptopView #laptopActions[data-vertical="true"] #laptopActionRow{width:var(--button-w);left:50%;right:auto;transform:translateX(-50%);height:calc(max(44px,var(--button-h)) + 2 * var(--button-h) + 12px);grid-template-columns:1fr;grid-template-rows:max(44px,var(--button-h)) repeat(2,var(--button-h));gap:6px}
#laptopView #laptopActions[data-vertical="true"] #laptopActionRow .act{grid-column:1!important;align-self:end}
#laptopView #laptopActions[data-vertical="true"] [data-action="fold"]{grid-row:1}
#laptopView #laptopActions[data-vertical="true"] [data-action="call"],#laptopView #laptopActions[data-vertical="true"] [data-action="check"],#laptopView #laptopActions[data-vertical="true"] #laptopRaiseCancel{grid-row:2}
#laptopView #laptopActions[data-vertical="true"] [data-action="raise"],#laptopView #laptopActions[data-vertical="true"] #laptopRaiseConfirm{grid-row:3}
#laptopView #laptopActions[data-vertical="true"] #laptopClock{top:80px}
#laptopView #laptopActions[data-vertical="true"] #laptopStatus{left:0;right:46px;font-size:13px}
#laptopView #laptopActions[data-vertical="true"] #laptopReserve{top:74px}
#laptopView #laptopActions[data-vertical="true"] #laptopRaise{top:92px;left:16px;right:22px;grid-template-columns:32px minmax(0,1fr) 32px;gap:8px}
#laptopView #laptopActions[data-vertical="true"] .laptop-step{width:32px;min-width:32px}
#laptopView #laptopActions[data-vertical="true"] .laptop-step img{width:42px;height:42px}
#laptopView #laptopActions[data-vertical="true"] #laptopRaiseValue{top:-49.5px;right:-6px;width:90px;height:19px;font:14px var(--serif)}
#laptopView.choosing-raise #laptopActions[data-vertical="true"] #laptopStatus{top:36px;right:96px}
#laptopView #laptopStage .invite-card{transform:translateX(var(--laptop-invite-shift,0px))}
#laptopView.laptop-fold-result #laptopActions[data-vertical="true"] #laptopStatus{left:0;right:0;top:0;font-size:19px}
/* The vacant first vertical slot must not cover the raise rail beneath it. */
#laptopView.choosing-raise #laptopActions[data-vertical="true"] #laptopActionRow{pointer-events:none}
#laptopView.choosing-raise #laptopActions[data-vertical="true"] #laptopActionRow .act{pointer-events:auto}
#laptopView #laptopActions[data-vertical="true"] #laptopRaise .laptop-raise-track{margin-left:19px;margin-right:19px}
