.pc-selection-measure { position: fixed; height: auto; margin: 0; padding: 0; border: 0; visibility: hidden; pointer-events: none; white-space: pre-wrap; overflow-wrap: break-word; }
.pc-selection-flight { position: fixed; z-index: 10; pointer-events: none; isolation: isolate; }
.pc-selection-paper { position: relative; pointer-events: none; }
.pc-selection-native-image { position: absolute; left: 0; top: 0; width: 1px; height: 1px; pointer-events: none; }
.pc-selection-slip { position: absolute; display: block; overflow: hidden; border: 1px solid #91af4e; border-radius: 3px 2px 4px 2px; color: #263517; background: #d6fa70; box-shadow: 0 1px 0 #f4ffd1 inset, 0 1px 1px #22340e20, 0 4px 7px #10200424, 0 15px 20px #1020041c; }
.pc-selection-window { position: absolute; left: 4px; top: 2px; overflow: hidden; }
.pc-selection-ink { position: absolute; display: block; margin: 0; padding: 0; white-space: pre-wrap; overflow-wrap: break-word; text-shadow: 0 1px 0 #efffc466; }
.pc-selection-slip::before { content: ''; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(104deg, #fff8, transparent 12%, transparent 80%, #7b9e3a20); opacity: .5; }
.pc-selection-slip::after { content: ''; position: absolute; z-index: 2; top: -1px; right: -1px; width: 10px; height: 10px; background: linear-gradient(135deg, #a8c65e 47%, #f5ffd8 49% 66%, #dbe9b3 68%); clip-path: polygon(0 0, 100% 100%, 100% 0); }
.pc-selection-flight[data-mode="bare"] .pc-selection-slip { border-color: #aebd98; border-radius: 0; background: #dfe8cf; box-shadow: 1px 2px 0 #1c2d1226; }
.pc-selection-flight[data-mode="bare"] .pc-selection-slip::before,
.pc-selection-flight[data-mode="bare"] .pc-selection-slip::after { display: none; }
.pc-selection-flight[data-mode="showoff"] .pc-selection-slip { border-color: #8eb13c; background: #c5f847; box-shadow: 0 1px 0 #f4ffd1 inset, 0 2px 0 #a7cd4c, 0 4px 0 #e4f7ad, 0 7px 9px #1020042b, 0 22px 28px #10200424; }
.pc-selection-flight[data-mode="showoff"] .pc-selection-slip::after { width: 14px; height: 14px; }
.pc-selection-fleck { position: absolute; width: 3px; height: 3px; border-radius: 1px; background: #b5df5e; opacity: 0; }
.pc-selection-fleck:nth-of-type(2n) { width: 2px; height: 5px; background: #789b3c; }
.pc-selection-letter { position: absolute; display: block; overflow: hidden; border: 1px solid #91af4e; border-radius: 2px; color: #263517; background: #d6fa70; box-shadow: 0 1px 0 #f4ffd1 inset, 0 2px 3px #10200428; transform-origin: center; }
.pc-selection-letter > .pc-selection-window { left: 1px; top: 1px; }
.pc-selection-flight[data-mode="bare"] .pc-selection-letter { border-color: #aebd98; border-radius: 0; background: #dfe8cf; box-shadow: none; }
.pc-selection-flight[data-mode="showoff"] .pc-selection-letter { background: #c5f847; box-shadow: 0 1px 0 #f4ffd1 inset, 0 2px 0 #a7cd4c, 0 4px 5px #10200430; }
.pc-selection-flight[data-effect="21"] { inset: 0; width: 100%; height: 100%; }
.pc-selection-word { position: absolute; z-index: 2; display: block; border: 1px solid #afca78; border-radius: 2px; color: #263517; background: linear-gradient(170deg, #e4ff9a, #d6fa70 50%, #c5e675); box-shadow: 0 1px 0 #f5ffdc inset, 0 2px 0 #abc96b, 0 5px 9px #2539181c; transform-origin: center; }
.pc-selection-word > .pc-selection-window { left: 1px; top: 1px; }
.pc-selection-flight[data-mode="bare"] .pc-selection-word { border-color: #aebd98; border-radius: 0; background: #dfe8cf; box-shadow: none; }
.pc-selection-flight[data-mode="showoff"] .pc-selection-word { background: #c5f847; box-shadow: 0 1px 0 #f4ffd1 inset, 0 2px 0 #a7cd4c, 0 4px 5px #10200430; }
.pc-selection-threads { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: visible; }
.pc-selection-threads > line { stroke: #91a86c; stroke-width: 1.2; stroke-dasharray: 2 2; stroke-linecap: round; }
.pc-selection-canopy { position: absolute; left: 50%; bottom: calc(100% - 2px); width: clamp(72px, 120%, 124px); aspect-ratio: 6 / 5; translate: -50% 0; transform-origin: center bottom; }
.pc-selection-canopy > svg { display: block; width: 100%; height: 100%; overflow: visible; }
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .pc-section[data-direction="07"] .pc-writing[data-selection-lift="true"] > textarea::selection { color: #6a7f4f; background: #b5cd842e; text-shadow: none; }
}
@media (forced-colors: active), (prefers-reduced-motion: reduce) { .pc-selection-flight { display: none; } }
