
#geToggle,#gePanelToggle{position:fixed;z-index:120;border:1px solid #e3bd70;background:#142d39;color:#ffe3a1;border-radius:12px;padding:10px 12px;font:800 12px system-ui;box-shadow:0 4px 15px #0009;touch-action:manipulation}
#geToggle{top:calc(env(safe-area-inset-top) + 52px);right:8px}#gePanelToggle{top:calc(env(safe-area-inset-top) + 98px);right:8px}
#gePanel{position:fixed;left:8px;right:8px;bottom:calc(env(safe-area-inset-bottom) + 6px);z-index:125;background:#102631f7;border:1px solid #d1a768;border-radius:14px;color:#eef5f5;padding:9px;box-shadow:0 -5px 25px #000c;font:12px system-ui;max-height:44dvh;overflow-y:auto;overscroll-behavior:contain}
#gePanel[hidden],#geToggle[hidden],#gePanelToggle[hidden]{display:none!important}
#gePanel .ge-title{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-bottom:6px;font-weight:800;color:#f8d18e;font-size:12px}
#gePanel .ge-row{display:flex;align-items:center;gap:6px;margin:5px 0;flex-wrap:wrap}
#gePanel input,#gePanel select,#gePanel textarea{color:white;background:#071a24;border:1px solid #57737d;border-radius:8px;padding:7px;min-width:0;font-size:12px}
#gePanel select{flex:1;width:100%}#gePanel input[type=number]{width:65px;flex:1}#gePanel input[type=range]{flex:1;min-width:90px}
#gePanel button{border:1px solid #78909b;border-radius:8px;padding:8px 9px;background:#284654;color:white;font-size:11px;font-weight:750;touch-action:manipulation}
#gePanel button.ge-primary{background:#c69b57;color:#12222a;border-color:#efc887}
#gePanel .ge-mini{font-size:10px;color:#b7c9ce}#gePanel textarea{width:100%;height:85px;resize:vertical;font-family:monospace}#gePanel .ge-row>label{font-size:11px;min-width:14px}
#gePanel .ge-coord{color:#ffd999;font-variant-numeric:tabular-nums}
#gePanel details{border-top:1px solid #45606a;margin-top:7px;padding-top:7px}#gePanel summary{color:#f8d18e;font-weight:750;cursor:pointer}
#geTextChoices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:8px}#geTextChoices label{display:flex;align-items:center;gap:6px;padding:7px;background:#16313d;border-radius:8px;font-size:11px}#geTextChoices input{accent-color:#e6bd70;width:16px;height:16px;flex:none}
body.ge-editing #stage,body.ge-editing #stage *{touch-action:none!important;-webkit-user-select:none!important;user-select:none!important;-webkit-touch-callout:none!important}
body.ge-editing #stage .seat,body.ge-editing #stage .seat-hand,body.ge-editing #stage .deck,body.ge-editing #stage .discard-slot,body.ge-editing #stage #board,body.ge-editing #stage #chips,body.ge-editing #stage #sceneTitle,body.ge-editing #stage #dmLog,body.ge-editing #stage #dmMelds,body.ge-editing #stage #zoneLabel{cursor:grab}
body.ge-editing #stage .seat-hand{pointer-events:auto!important;z-index:3}body.ge-editing #stage .hand-card{pointer-events:none!important}
body.ge-editing #stage .ge-selected{outline:2px dashed #ffda75!important;outline-offset:4px;filter:drop-shadow(0 0 7px #ffaa52)!important}
#geBadge{position:absolute;z-index:100;pointer-events:none;background:#ffdb92;color:#172a30;border-radius:5px;padding:3px 6px;font:bold 12px system-ui;white-space:nowrap;display:none}
/* v0.6: allow avatar groups to remain visible outside the felt/table contours. */
#stage #seats{position:static;overflow:visible;isolation:isolate}
#stage .seat{overflow:visible}
#stage .seat .seat-hand{overflow:visible}

/* v0.61 — monedas y panel del pozo con edición independiente. */
body.ge-editing #stage #chips,body.ge-editing #stage #dmPot{pointer-events:auto!important;cursor:grab!important;}
body.ge-editing #stage #chips .dm-coin,body.ge-editing #stage #dmPot *{pointer-events:none!important;}
body.ge-editing #stage #chips.ge-selected,body.ge-editing #stage #dmPot.ge-selected{outline:2px dashed #ffda75!important;outline-offset:5px;}
