.paste-workspace{--primary:#326fa8;--ink:#24364b;--muted:#5e7389;--border:#b7d5e7;--paper:rgba(255,255,255,.62)}.paste-workspace .dedup-toggle{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:12px 0 4px;font-size:14px;cursor:pointer}.paste-workspace .dedup-toggle input{width:19px;height:19px;accent-color:var(--primary)}.paste-workspace .dedup-toggle span{font-size:12px;color:var(--muted)}.paste-workspace .ocr-settings{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin-bottom:12px}.paste-workspace .ocr-settings label{font-size:13px;color:var(--muted);display:flex;flex-direction:column;gap:5px}.paste-workspace .ocr-settings select{min-height:44px;padding:8px 12px;border:1px solid var(--border);border-radius:8px;background:white;color:var(--ink);font-size:16px}.paste-workspace #paste-ocrCrop{display:block;width:100%;height:auto;border-radius:9px;touch-action:none;cursor:crosshair}.paste-workspace .angle-control{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--muted);margin:12px 0}.paste-workspace .angle-control input{flex:1;min-width:0;accent-color:var(--primary)}.paste-workspace .angle-control output{min-width:32px}.paste-workspace .ocr-review>.actions{margin:12px 0}.paste-workspace .ocr-settings .btn{padding:8px 12px}.paste-workspace #installTitle{font:inherit;letter-spacing:inherit;line-height:inherit;color:inherit;background:transparent;border:0;padding:0}.paste-workspace header{flex-direction:column}.paste-workspace .install-button{align-self:center;border:1px solid #8bbbd9;border-radius:22px;background:#f2faffc9;color:#235982;font-size:13px;padding:6px 20px;margin-top:14px;position:relative;z-index:2}.paste-workspace .install-button:disabled{opacity:.6}.paste-workspace .install-help{margin:auto;max-width:480px;width:calc(100% - 32px);border:1px solid var(--border);border-radius:16px;background:#f7fcff;color:var(--ink);padding:26px}.paste-workspace .install-help::backdrop{background:#23456366}.paste-workspace .install-help p,.paste-workspace .install-help ol{font-size:14px;line-height:1.9;margin:16px 0}.paste-workspace .install-help ol{padding-left:22px}.paste-workspace .image-import{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;background:#eaf6ff80;border:1px dashed #9dc4df;border-radius:9px;padding:10px 12px;margin-bottom:14px}.paste-workspace .image-import>span{color:var(--muted);font-size:12px}.paste-workspace .image-import .btn{font-size:12px;padding:6px 14px;min-height:36px}.paste-workspace .input-card.drag-over{outline:3px dashed #326fa8;outline-offset:4px;background:#e4f4ff}.paste-workspace .ocr-review{border-top:1px solid var(--border);padding-top:18px;margin:18px 0}.paste-workspace .ocr-review img{display:block;width:auto;max-width:100%;max-height:180px;object-fit:contain;border:1px solid var(--border);border-radius:8px;margin-bottom:12px}.paste-workspace .ocr-review textarea{min-height:180px}.paste-workspace .ocr-review .card-heading{margin-bottom:12px}.paste-workspace #paste-drawStatus{font-size:13px;color:#345e7d}.paste-workspace #paste-goPaste{margin-top:12px}.paste-workspace header h1{width:100%;text-align:center}@media(max-width:640px){.paste-workspace .image-import{display:block;padding:14px}.paste-workspace .image-import>span{display:block;margin-bottom:10px;line-height:1.8}.paste-workspace .image-import .btn{display:block;width:100%;min-height:46px;font-size:15px}.paste-workspace .ocr-review .actions{display:grid;grid-template-columns:1fr 1fr}.paste-workspace .ocr-review .btn{min-width:0;min-height:46px;padding:10px 8px}.paste-workspace .ocr-review textarea{font-size:16px}.paste-workspace .install-button{min-height:40px;font-size:14px;padding:7px 22px}}.paste-workspace .draw-card{margin-bottom:20px}.paste-workspace .draw-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}.paste-workspace .draw-actions input{width:180px;min-width:0;min-height:46px;border:1px solid #bdd7e9;border-radius:8px;background:#ffffffb8;padding:8px 14px;color:var(--ink);font:600 24px Consolas,monospace;letter-spacing:.14em}.paste-workspace .draw-actions input::placeholder{font-size:15px;letter-spacing:normal;color:var(--muted)}.paste-workspace .position-hint{font-size:12px;color:var(--muted);margin-top:8px}.paste-workspace .numbers span.omitted{color:#8ca8bd;background:transparent;border-style:dashed}.paste-workspace #paste-winningItems .bet-item:has(input:not(:disabled)){cursor:pointer}.paste-workspace .draw-fields{display:flex;gap:16px;flex-wrap:wrap}.paste-workspace .draw-fields label{display:flex;flex-direction:column;gap:8px;color:var(--muted);font-size:13px;flex:1;min-width:130px}.paste-workspace .draw-fields input{width:100%;min-height:50px;border:1px solid #bdd7e9;border-radius:8px;padding:8px 12px;background:#ffffffb8;color:var(--ink);font:600 26px Consolas,monospace;letter-spacing:.15em}.paste-workspace .draw-fields input::placeholder{font:14px 'Microsoft YaHei',sans-serif;letter-spacing:0}.paste-workspace .draw-fields input[aria-invalid=true]{border-color:#b95555}.paste-workspace .draw-card .draw-actions{margin-top:16px}.paste-workspace #paste-winningItems .bet-item:has(input:focus-visible){outline:3px solid #92bce4;outline-offset:3px}.paste-workspace *{box-sizing:border-box}.paste-workspace{margin:0;font-family:'Segoe UI','Microsoft YaHei','PingFang SC',sans-serif;color:var(--ink);line-height:1.65;background:#e6f5ff;isolation:isolate;min-height:100vh}.paste-workspace body::before{content:'';position:fixed;inset:0;pointer-events:none;z-index:-1;background-image:linear-gradient(110deg,#f4fcff38,#f9fdff66),url('/illustrations/blue-watercolor-reference.jpg');background-size:100% 100%,100% 158%;background-position:center;background-repeat:no-repeat}.paste-workspace [hidden]{display:none!important}.paste-workspace button,.paste-workspace input,.paste-workspace textarea{font:inherit}.paste-workspace button{cursor:pointer}.paste-workspace button:focus-visible,.paste-workspace input:focus-visible,.paste-workspace textarea:focus-visible{outline:3px solid #92bce4;outline-offset:3px}.paste-workspace h1,.paste-workspace h2,.paste-workspace h3,.paste-workspace p{margin:0}.paste-workspace .container{max-width:1280px;margin:auto;padding:32px}.paste-workspace header{position:relative;isolation:isolate;overflow:hidden;min-height:236px;display:flex;align-items:center;justify-content:center;padding:34px 210px;background:#cbeaff;border:1px solid #c2def4;border-radius:14px;box-shadow:0 10px 28px #36658a12;text-align:center}.paste-workspace header::before{content:'';position:absolute;inset:-18% -9%;background:url('/illustrations/ocean-header-reference.png') center/100% 100% no-repeat;z-index:-2;pointer-events:none}.paste-workspace h1{font-size:clamp(28px,3.8vw,48px);font-weight:900;letter-spacing:.1em;color:#235982;line-height:1.45}.paste-workspace .theme-art,.paste-workspace .ocean-art{position:absolute;inset:0;z-index:-1;pointer-events:none}.paste-workspace .ocean-friends{position:absolute;right:-12px;bottom:0;width:240px;height:200px;object-fit:contain;filter:drop-shadow(0 8px 12px #387c9f18)}.paste-workspace .ocean-art::before{content:'';position:absolute;left:-30px;bottom:-72px;width:420px;height:175px;border-radius:50%;background:#a8ddf777;box-shadow:20px -18px 0 #b9eafa66,60px -32px 0 #d9f4ff99;transform:rotate(-12deg)}.paste-workspace .ocean-art::after{content:'✧';position:absolute;left:65px;top:35px;font-size:45px;color:#77bedb}.paste-workspace .bubble{position:absolute;border:2px solid #ffffffaa;background:linear-gradient(135deg,#fff8,#9edcef33);border-radius:50%}.paste-workspace .one{width:28px;height:28px;left:100px;bottom:60px}.paste-workspace .two{width:15px;height:15px;left:145px;bottom:108px}.paste-workspace main{margin-top:30px}.paste-workspace .section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.paste-workspace .section-heading h2{font-size:23px}.paste-workspace .section-heading p,.paste-workspace .muted,.paste-workspace .help{color:var(--muted);font-size:13px}.paste-workspace .theme-label{display:flex;align-items:center;gap:7px;color:var(--primary);font-size:12px;background:#f2faffb0;border:1px solid #bddbef;border-radius:30px;padding:5px 13px}.paste-workspace .theme-label i{width:6px;height:6px;background:#5a9aca;border-radius:50%}.paste-workspace .view-picker{display:flex;gap:12px;margin-bottom:22px}.paste-workspace .view-picker button{flex:1;min-height:60px;border:1px solid var(--border);border-radius:12px;color:var(--muted);background:#ffffff70;font-weight:700;font-size:16px}.paste-workspace .view-picker button span{font-size:12px;margin-right:12px;opacity:.65}.paste-workspace .view-picker button[aria-pressed=true]{color:var(--primary);border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary);background:#edf8ffe6}.paste-workspace .work-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(0,1fr);gap:20px}.paste-workspace .card{min-width:0;background:var(--paper);border:1px solid var(--border);border-radius:14px;padding:24px;box-shadow:0 4px 18px #4e87a80a}.paste-workspace .card-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.paste-workspace .card-heading h3{font-size:16px}.paste-workspace .card-heading>span{font-size:12px;color:var(--muted)}.paste-workspace textarea{display:block;width:100%;min-height:204px;resize:vertical;margin:10px 0 16px;padding:16px;background:#ffffffb8;border:1px solid #c5ddeb;border-radius:9px;color:var(--ink);font:15px/1.9 Consolas,'Microsoft YaHei',monospace}.paste-workspace textarea::placeholder{color:#8ca4b7}.paste-workspace .actions{display:flex;gap:10px;flex-wrap:wrap}.paste-workspace .btn{min-height:44px;border:1px solid #bcd7e9;border-radius:8px;background:#ffffffb5;color:var(--primary);padding:9px 20px;font-size:14px;font-weight:600}.paste-workspace .primary{background:var(--primary);color:white;border-color:var(--primary)}.paste-workspace .btn:hover{filter:brightness(.97)}.paste-workspace .quiet{background:transparent;border-color:transparent;color:var(--muted)}.paste-workspace .help{font-size:12px;margin-top:14px;line-height:1.9}.paste-workspace .summary-card{display:flex;flex-direction:column;background:linear-gradient(140deg,#f9fdffd9,#e3f3ffa1)}.paste-workspace .overline{font-size:13px;font-weight:700;color:#3a719c;padding-bottom:20px;border-bottom:1px solid #bcd7e980}.paste-workspace .summary-label{font-size:13px;color:var(--muted);margin-top:20px}.paste-workspace .grand-total{font-size:clamp(28px,3vw,40px);line-height:1.5;color:var(--primary);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.paste-workspace .summary-meta{display:flex;gap:30px;margin:20px 0 26px}.paste-workspace .summary-meta span{display:block;color:var(--muted);font-size:12px}.paste-workspace .summary-meta b{font-size:18px}.paste-workspace .next{margin-top:auto;width:100%;display:flex;justify-content:space-between;background:#ffffff90}.paste-workspace .detail-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 14px}.paste-workspace .detail-heading h3{font-size:16px}.paste-workspace .detail-heading h3 span{font-weight:400;font-size:12px;margin-left:8px;color:var(--muted)}.paste-workspace .detail-heading>span{font-size:12px;color:var(--muted)}.paste-workspace .item-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.paste-workspace .bet-item{min-width:0;border:1px solid #bdd7e8;border-radius:12px;padding:18px 20px;background:#ffffff85}.paste-workspace .item-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.paste-workspace .item-title{font-size:13px;color:var(--muted)}.paste-workspace .item-top strong{font-size:20px;color:var(--primary);overflow-wrap:anywhere}.paste-workspace .numbers{display:flex;flex-wrap:wrap;gap:6px;margin:11px 0;font:500 17px/1.7 Consolas,monospace}.paste-workspace .numbers span{background:#edf7ffc4;border:1px solid #d5e7f4;border-radius:5px;padding:1px 7px}.paste-workspace .numbers i{font-style:normal;color:#8ca8bd}.paste-workspace .formula{font-size:12px;color:var(--muted)}.paste-workspace .empty{grid-column:1/-1;text-align:center;padding:36px 20px;border:1px dashed #aacbe0;border-radius:12px;background:#ffffff50;color:var(--muted);font-size:14px}.paste-workspace .error,.paste-workspace #paste-parseErrors{padding:16px;border:1px solid #bd7373;color:#933b3b;background:#fff7f3c9;border-radius:9px;margin-top:16px;font-size:13px}.paste-workspace .odds-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.paste-workspace .odds-fields label{font-size:13px;color:var(--muted)}.paste-workspace .odds-fields label>div{display:flex;align-items:center;gap:12px;margin-top:7px}.paste-workspace .odds-fields input{width:100%;min-width:0;height:44px;padding:9px 12px;border:1px solid #bdd7e9;border-radius:8px;background:#ffffffb8;color:var(--ink)}.paste-workspace .win-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:20px}.paste-workspace .win-summary>div{padding:20px;border-radius:12px;background:#ffffff91;border:1px solid #bdd7e8;min-width:0}.paste-workspace .win-summary span{display:block;font-size:12px;color:var(--muted);margin-bottom:6px}.paste-workspace .win-summary strong{font-size:26px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.paste-workspace .win-summary .profit-tile{background:#e2f2ffd9;border-color:#83b1d3;color:var(--primary)}.paste-workspace .text-button{font-size:12px;color:var(--primary);border:0;background:transparent;padding:6px}.paste-workspace .win-check{display:flex;align-items:center;gap:9px;cursor:pointer;font-size:14px;font-weight:600}.paste-workspace .win-check input{width:18px;height:18px;accent-color:var(--primary);margin:0}.paste-workspace .bet-item:has(input:checked){border-color:#508fbe;background:#eaf6ffdf;box-shadow:inset 0 0 0 1px #508fbe}.paste-workspace .payout-line{display:flex;justify-content:space-between;border-top:1px solid #c8deed;margin-top:14px;padding-top:12px;font-size:13px;color:var(--muted)}.paste-workspace .payout-line b{color:var(--primary)}.paste-workspace .settlement-note{margin-top:18px;padding:14px 18px;background:#edf7ff9c;border-radius:8px;color:var(--muted);font-size:12px}.paste-workspace footer{text-align:center;font-size:12px;color:#66849c;padding:30px 0 4px}.paste-workspace footer span{margin:0 9px}
@media(max-width:760px){.paste-workspace .container{padding:16px}.paste-workspace .work-grid{grid-template-columns:1fr}.paste-workspace .summary-card{padding:20px}.paste-workspace .summary-meta{margin:12px 0 18px}.paste-workspace .overline{padding-bottom:12px}.paste-workspace .summary-label{margin-top:12px}.paste-workspace .grand-total{font-size:34px}.paste-workspace .win-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.paste-workspace .item-grid{grid-template-columns:1fr}}
@media(max-width:640px){.paste-workspace header{min-height:258px;padding:24px 12px 130px;align-items:flex-start}.paste-workspace h1{font-size:clamp(24px,6.7vw,32px);letter-spacing:.035em;white-space:nowrap}.paste-workspace .ocean-friends{width:175px;height:138px;right:6px;bottom:-5px}.paste-workspace .ocean-art::before{width:260px;bottom:-80px;left:-80px}.paste-workspace .ocean-art::after{font-size:25px;left:38px;top:auto;bottom:64px}.paste-workspace .one{left:80px;bottom:26px;width:22px;height:22px}.paste-workspace .two{left:120px;bottom:65px}.paste-workspace main{margin-top:24px}.paste-workspace .view-picker{gap:8px}.paste-workspace .view-picker button{font-size:14px;padding:10px 6px;min-height:54px}.paste-workspace .view-picker button span{display:none}.paste-workspace .card{padding:18px}.paste-workspace .card-heading{align-items:flex-start}.paste-workspace .card-heading>span{font-size:11px}.paste-workspace .odds-fields{gap:12px}.paste-workspace .odds-fields label>div{gap:5px}.paste-workspace .odds-fields input{padding:8px;font-size:16px}.paste-workspace textarea{font-size:16px;min-height:210px}.paste-workspace .win-summary>div{padding:15px}.paste-workspace .win-summary strong{font-size:23px}.paste-workspace .bet-item{padding:16px}.paste-workspace .theme-label{padding:4px 9px;font-size:11px}}

.paste-workspace{--primary:inherit;--border:inherit;--ink:var(--text);--muted:var(--text-muted);--paper:var(--bg-card);line-height:1.65;background:transparent;color:var(--text)}
.paste-workspace .summary-card,.paste-workspace .win-summary .profit-tile{background:var(--dark);color:var(--primary)}
.paste-workspace .bet-item:has(input:checked){background:var(--dark);border-color:var(--primary)}
