.spot-author{border:1px solid #ff85b955;border-radius:14px;padding:16px;background:#ffffff05}.spot-author h3{margin:0 0 5px;font-size:17px}.spot-author-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.spot-author-toolbar strong{font-size:12px;color:var(--muted,#aeb4ca)}.spot-author-pair,.spot-test-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:14px 0}.spot-upload-card{min-width:0}.spot-image-title{display:flex;flex-direction:column;gap:8px;margin-bottom:10px;font-size:13px}.spot-image-title input{width:100%;min-width:0;font:inherit;font-size:11px}.spot-image-title input::file-selector-button{border:1px solid #8888;background:#ffffff15;color:inherit;padding:7px;border-radius:6px;cursor:pointer}.spot-author-image,.spot-test-image{position:relative;aspect-ratio:4/3;background:#eee6d7;border-radius:8px;touch-action:none;user-select:none;-webkit-user-select:none;overflow:hidden}.spot-author-image{cursor:crosshair}.spot-author-image>img,.spot-test-image>img{width:100%;height:100%;display:block;pointer-events:none}.spot-upload-empty{position:absolute;inset:0;display:grid;place-items:center;text-align:center;padding:20px;color:#705e75;font-size:13px;border:2px dashed #caa5bc;border-radius:8px}.spot-author-image.drag-over{outline:3px solid #ff85b9}.spot-region{position:absolute;border:2px solid #ff267c;background:#ff267c18;cursor:move;touch-action:none;box-shadow:0 0 0 1px #fff9}.spot-region.selected{border-color:#ffe269;background:#ffcf4515;z-index:2;box-shadow:0 0 0 1px #593f16}.spot-region b{position:absolute;left:0;top:0;background:#b41350;color:white;font-size:12px;line-height:18px;min-width:18px;text-align:center;pointer-events:none}.spot-region.selected b{background:#654814}.spot-handle{position:absolute;width:12px;height:12px;border:2px solid #fff;background:#d39112;border-radius:3px}.spot-handle.nw{left:-7px;top:-7px;cursor:nwse-resize}.spot-handle.ne{right:-7px;top:-7px;cursor:nesw-resize}.spot-handle.sw{left:-7px;bottom:-7px;cursor:nesw-resize}.spot-handle.se{right:-7px;bottom:-7px;cursor:nwse-resize}.spot-region-list{margin-top:16px;display:flex;flex-direction:column;gap:7px}.spot-region-row{display:flex;align-items:center;gap:8px}.spot-region-row .f{min-width:0;flex:1}.spot-number{border:0;background:#b41350;color:white;width:28px;height:28px;border-radius:8px;flex:none;cursor:pointer}.spot-notice{font-size:13px;color:#ffbb72;margin:8px 0;min-height:1em}.spot-author.expanded{position:fixed;inset:20px;z-index:150;background:#171929;overflow:auto;padding:24px;box-shadow:0 0 0 30px #060712d9}.spot-author.expanded .spot-author-toolbar{position:sticky;top:-24px;background:#171929;z-index:5;padding:16px 0}.spot-author.expanded .spot-author-pair{max-width:1600px;margin:16px auto}.spot-author.expanded .spot-region-list{max-width:900px;margin:16px auto}.spot-test-image{cursor:crosshair}.spot-test-pin{position:absolute;transform:translate(-50%,-50%);border:2px solid white;border-radius:50%;background:#cd326b;color:white;font:bold 12px/22px sans-serif;width:26px;height:26px;text-align:center;pointer-events:none}.spot-test-solution{position:absolute;border:2px solid #1dd888;color:#fff;background:#00bb6622;box-shadow:0 0 0 1px #fff8;font:bold 12px sans-serif;pointer-events:none}.spot-test .frow{margin:10px 0}@media(max-width:700px){.spot-author{padding:12px}.spot-author-pair{grid-template-columns:1fr}.spot-author.expanded{inset:6px;padding:12px}.spot-author.expanded .spot-author-toolbar{top:-12px}.spot-region-row .btn{padding:8px}.spot-test-pair{gap:8px}.spot-author-toolbar>.frow{flex-wrap:wrap}}
