/* Owner-selected paper sticker. Geometry stays in the existing board snapshot. */
.board-text-layer .board-text-box{min-width:0;min-height:64px!important;resize:none;box-sizing:border-box;border:0;border-radius:2px;overflow:visible;cursor:grab;touch-action:none;box-shadow:0 3px 7px #0002;outline:1px solid transparent;outline-offset:2px}
.board-text-layer .board-text-box.selected{outline-color:#b6c5df99;box-shadow:0 3px 7px #0002}
.board-text-layer .board-text-chrome{position:absolute;right:3px;top:3px;height:26px;width:26px;padding:0;border:0;z-index:2;pointer-events:none;background:transparent}
.board-text-layer .board-text-drag{display:none}
.board-text-layer .board-text-delete{pointer-events:auto;width:26px;height:26px;min-width:0;min-height:0;padding:0;border:0;border-radius:50%;color:inherit;opacity:0;background:transparent;outline-offset:1px}
.board-text-layer .board-text-delete svg{width:12px;height:12px;stroke-width:1.5}
.board-text-layer .board-text-box:is(:hover,.selected,:focus-within) .board-text-delete{opacity:.6}
.board-text-layer .board-text-delete:hover{opacity:1;background:color-mix(in srgb,currentColor 9%,transparent);color:inherit}
.board-text-layer .board-text-editor{box-sizing:border-box;width:100%;height:100%;min-height:0;padding:9px;font:500 16px/1.42 'Segoe UI',sans-serif;color:inherit;border-radius:inherit;cursor:text;background:transparent;overflow:auto;touch-action:none}
/* A short float protects the delete corner; subsequent lines use the full width.
   Keep the empty editor's existing ::before placeholder and real DOM text untouched. */
.board-text-layer .board-text-editor:not(:empty)::before{content:"";float:right;width:24px;height:24px;margin-left:4px;pointer-events:none}
.board-text-layer .board-text-editor:empty::before{display:block;margin-right:24px}
.board-text-layer .board-text-editor::-webkit-scrollbar{width:4px;height:4px}
.board-text-layer .board-text-editor::-webkit-scrollbar-thumb{border-width:1px}
.board-text-layer .board-text-resize{width:26px;height:26px;right:0;bottom:0;color:inherit;z-index:3;opacity:.4;touch-action:none}
.board-text-layer .board-text-resize::after{width:7px;height:7px;border-width:1px;right:7px;bottom:7px}
.board-text-layer .board-text-box.selected .board-text-resize{opacity:.65}
.sticker-confirm{position:fixed;z-index:2147483000;width:218px;max-width:calc(100vw - 16px);box-sizing:border-box;padding:12px;border:1px solid #73849b55;border-radius:10px;background:#f9fafb;color:#17212e;box-shadow:0 8px 32px #0005;display:flex;gap:6px;flex-wrap:wrap;cursor:default}
.sticker-confirm span{flex:0 0 100%;font:600 12px/1.5 'Segoe UI',sans-serif;margin-bottom:3px}
.sticker-confirm button{font:500 12px 'Segoe UI',sans-serif;border:0;border-radius:6px;background:#e9edf2;color:#273445;padding:8px 11px;min-height:34px}
.sticker-confirm button.sticker-confirm-ok{background:#a62b32;color:#fff}
.board-toolbar .board-color-custom{position:relative}
.board-toolbar .board-color-custom:not([data-board-color]){background:transparent;color:var(--text,#e8eef8)}
.board-toolbar .color-black{background:#000000}
[data-buddy-presentation-readonly=true] .board-text-delete,[data-buddy-presentation-readonly=true] .board-text-resize{display:none}
@media(pointer:coarse){.board-text-layer .board-text-delete{opacity:.6;width:30px;height:30px}.board-text-layer .board-text-resize{width:32px;height:32px}.sticker-confirm button{min-height:42px}}
