/* Scoped preview styling; existing site theme and menu untouched. */
.llv7-panel{box-sizing:border-box;margin:26px 0;padding:clamp(16px,3vw,30px);border:1px solid #8396ac55;border-radius:20px;background:var(--surface,transparent);color:inherit;font-family:inherit;scroll-margin-top:120px}.llv7-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.llv7-heading h2{margin:5px 0;font-size:clamp(24px,3vw,34px);line-height:1.2}.llv7-heading p,.llv7-format,.llv7-note{margin:6px 0}.llv7-kicker{font-size:11px;font-weight:700;letter-spacing:.12em}.llv7-summary{margin:18px 0 12px}.llv7-summary strong{font-size:26px}.llv7-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px;max-height:600px;overflow:auto}.llv7-record{min-width:0;border:1px solid #8396ac66;border-radius:14px;padding:14px;overflow-wrap:anywhere}.llv7-record-top,.llv7-actions,.llv7-studio-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}.llv7-actions{justify-content:flex-start;margin-top:14px}.llv7-studio-actions{justify-content:flex-start;margin:12px 0}.llv7-panel button,.llv7-studio-actions button{font:inherit;font-size:13px;min-height:44px;border:1px solid #8396ac88;background:transparent;color:inherit;border-radius:9px;padding:9px 12px;cursor:pointer}.llv7-panel button:disabled,.llv7-studio-actions button:disabled{opacity:.55;cursor:not-allowed}.llv7-panel a,.llv7-studio-actions a{font-weight:600;text-decoration:underline;text-underline-offset:3px}.llv7-panel :focus-visible,.llv7-studio-actions :focus-visible{outline:2px solid #3686ef;outline-offset:3px}.llv7-balls{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin:8px 0}.llv7-balls span{display:grid;place-items:center;min-width:34px;height:34px;padding:0 4px;border-radius:50%;background:#1e4783;color:white;font-weight:700;font-size:13px}.llv7-extra span{background:#8a5800;color:white}.llv7-note,.llv7-status{font-size:13px;line-height:1.5}.llv7-status:empty{display:none}.llv7-format{font-size:13px}.llv7-studio-actions [role=status]{font-size:13px;flex-basis:100%}@media(max-width:480px){.llv7-heading{display:block}.llv7-heading a{display:inline-block;margin:8px 0}.llv7-actions button{flex:1 1 100%}}@media print{.llv7-panel,.llv7-studio-actions{display:none!important}}
/* V7 dashboard refinement: equal-weight actions, isolated from shared menus. */
#predictionWorkspace .llv7-studio-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 14px;padding:14px;border:1px solid #8396ac55;border-radius:14px;align-items:stretch}
html body .llv7-primary-action,html body #predictionWorkspace .llv7-studio-actions .llv7-primary-action{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:9px;min-height:50px;padding:12px 15px;border:1px solid #1753a6;border-radius:11px;background:#1753a6;color:#fff;font:inherit;font-weight:700;font-size:15px;line-height:1.3;text-align:center;text-decoration:none;cursor:pointer;box-shadow:0 3px 8px #10233e25;transition:background .15s}
html body .llv7-primary-action:hover,html body #predictionWorkspace .llv7-studio-actions .llv7-primary-action:hover{background:#103f82;color:white;text-decoration:none}
html body #predictionWorkspace .llv7-studio-actions .llv7-primary-action:disabled{background:#536a85;border-color:#536a85;color:#fff;opacity:.72;cursor:not-allowed;box-shadow:none}
.llv7-primary-action svg{width:20px;height:20px;flex:0 0 20px}.llv7-studio-actions [role=status]{grid-column:1/-1}.llv7-studio-actions [role=status]:empty{display:none}.llv7-home-link{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.llv7-home-link h2{margin:0 0 5px}.llv7-home-link p{margin:0}.llv7-dashboard-page{min-height:60vh;padding-block:24px 48px}.llv7-dashboard-page .llv7-heading h1{margin:5px 0;font-size:clamp(30px,4vw,48px);line-height:1.15}.llv7-dashboard-page .llv7-list{max-height:none;overflow:visible}.llv7-dashboard-page .llv7-panel{margin-top:18px}.llv7-dashboard-page .llv7-actions button{font-weight:700}.llv7-primary-action:focus-visible{outline:3px solid #70a9ff;outline-offset:3px}@media(max-width:440px){#predictionWorkspace .llv7-studio-actions{grid-template-columns:1fr;gap:9px;padding:10px}.llv7-home-link .llv7-primary-action{width:100%}}

/* My LottoLuma saved export buttons only. */
#my-lottoluma .llv7-record-actions,#my-lottoluma .llv7-export-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}#my-lottoluma .llv7-export-actions{margin:0 0 18px}#my-lottoluma .llv7-record-actions .llv7-primary-action{font-size:13px;min-height:44px;padding:9px 8px}#my-lottoluma .llv7-primary-action:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}@media(max-width:380px){#my-lottoluma .llv7-record-actions,#my-lottoluma .llv7-export-actions{grid-template-columns:1fr}}

/* V7.1 Personal workspace polish. Scoped to My LottoLuma + studio actions. */
#my-lottoluma.llv7-polish{--llp-paper:#fff;--llp-soft:#f1f7fb;--llp-ink:#18364b;--llp-muted:#526b7e;--llp-line:#d8e6ef;--llp-blue:#17547e;--llp-teal:#178e91;--llp-shadow:0 7px 24px #173a5210;border:0;padding:0;background:transparent;color:var(--llp-ink);border-radius:0;margin:14px 0 8px}
html[data-theme="dark"] #my-lottoluma.llv7-polish{--llp-paper:#142b3d;--llp-soft:#1b3548;--llp-ink:#eaf4fb;--llp-muted:#b9cedc;--llp-line:#355267;--llp-blue:#91cef3;--llp-teal:#64d1ca;--llp-shadow:0 7px 24px #0003}
#my-lottoluma .llv7-hero{padding:clamp(20px,3vw,36px);border:1px solid var(--llp-line);border-radius:20px;background:linear-gradient(115deg,var(--llp-paper),var(--llp-soft));box-shadow:var(--llp-shadow);margin-bottom:20px;position:relative;overflow:hidden}
#my-lottoluma .llv7-hero:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#10283c,#237fbc,#58bfb7)}
#my-lottoluma .llv7-heading{align-items:center;gap:20px;flex-wrap:wrap;display:flex}
#my-lottoluma .llv7-identity{display:flex;gap:18px;align-items:center;min-width:0;flex:1 1 340px}
#my-lottoluma .llv7-identity>div{min-width:0}#my-lottoluma .llv7-avatar{width:64px;height:64px;display:grid;place-items:center;flex:none;background:linear-gradient(145deg,#19547e,#1d8e99);border-radius:18px;color:white;box-shadow:0 6px 15px #174c6a28}#my-lottoluma .llv7-avatar svg{width:34px;height:34px}
#my-lottoluma .llv7-kicker{color:var(--llp-teal);font-weight:800;letter-spacing:.12em;font-size:11px}
#my-lottoluma .llv7-heading h1{color:var(--llp-ink);font-size:clamp(29px,3.5vw,43px);font-weight:800;letter-spacing:-.035em;margin:4px 0 7px;line-height:1.13}#my-lottoluma .llv7-heading p{color:var(--llp-muted);font-size:14px;line-height:1.6;margin:0}
#my-lottoluma .llv7-browse{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 15px;border-radius:10px;border:1px solid var(--llp-line);background:var(--llp-paper);color:var(--llp-blue);text-decoration:none;font-size:13px;font-weight:750;white-space:normal}#my-lottoluma .llv7-browse:hover{background:var(--llp-soft)}
#my-lottoluma .llv7-library{padding:clamp(15px,2.3vw,26px);border:1px solid var(--llp-line);border-radius:18px;background:var(--llp-paper);box-shadow:var(--llp-shadow)}
#my-lottoluma .llv7-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:15px;padding-bottom:17px;border-bottom:1px solid var(--llp-line);margin-bottom:18px}
#my-lottoluma .llv7-summary{display:flex;align-items:center;gap:10px;margin:0;font-size:14px;font-weight:600;color:var(--llp-muted)}#my-lottoluma .llv7-summary strong{color:var(--llp-ink);font-size:26px;font-weight:800;line-height:1}
#my-lottoluma .llv7-stat-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:11px;background:var(--llp-soft);color:var(--llp-blue)}
#my-lottoluma .llv7-export-actions{display:flex;flex-wrap:wrap;gap:9px;margin:0;max-width:100%}#my-lottoluma .llv7-export-actions .llv7-primary-action,#my-lottoluma .llv7-record-actions .llv7-primary-action{min-height:44px;padding:10px 14px;border:1px solid #19547e;background:linear-gradient(110deg,#19547e,#226e99);color:#fff;font-size:13px;font-weight:700;box-shadow:0 2px 5px #14395012;border-radius:10px;gap:8px;white-space:normal}
#my-lottoluma .llv7-export-actions .llv7-primary-action:hover{background:#123e61}#my-lottoluma .llv7-record-actions .llv7-primary-action{border-color:var(--llp-line);background:var(--llp-paper);color:var(--llp-blue);box-shadow:none}#my-lottoluma .llv7-record-actions .llv7-primary-action:hover{background:var(--llp-soft);border-color:var(--llp-blue)}
#my-lottoluma .llv7-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;overflow:visible;max-height:none}#my-lottoluma .llv7-list>p{grid-column:1/-1;border:1px dashed var(--llp-line);border-radius:12px;background:var(--llp-soft);text-align:center;padding:30px 16px;color:var(--llp-muted);margin:0;line-height:1.6}
#my-lottoluma .llv7-record{background:var(--llp-soft);border:1px solid var(--llp-line);border-radius:15px;padding:18px;min-width:0;display:flex;flex-direction:column;gap:5px}#my-lottoluma .llv7-record-top{gap:12px;align-items:center;flex-wrap:wrap}#my-lottoluma .llv7-game-link{font-size:17px;font-weight:800;color:var(--llp-ink);text-decoration:none;overflow-wrap:anywhere}#my-lottoluma .llv7-game-link:hover{text-decoration:underline;color:var(--llp-blue)}
#my-lottoluma .llv7-format,#my-lottoluma .llv7-note{font-size:12px;color:var(--llp-muted);margin:3px 0;line-height:1.5}
#my-lottoluma .llv7-balls{gap:7px;margin:10px 0;flex-wrap:wrap}#my-lottoluma .llv7-balls span{box-sizing:border-box;min-width:39px;height:39px;border:1px solid #27598a;background:radial-gradient(circle at 30% 22%,#76b4e6,#23679c 46%,#163d65 90%);box-shadow:inset 0 1px 2px #fff6,0 2px 5px #153e6120;color:white;font-size:14px;font-weight:800}#my-lottoluma .llv7-extra span{background:radial-gradient(circle at 30% 22%,#fff3c8,#d8a647 49%,#a06a1d 94%);color:#2c1c00;border-color:#ab7729}
#my-lottoluma .llv7-record-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:12px}#my-lottoluma .llv7-record-actions .llv7-primary-action{flex:1 1 120px;min-width:0}#my-lottoluma .llv7-delete{border:1px solid var(--llp-line);background:var(--llp-paper);color:var(--llp-muted);font-size:12px;min-height:44px;padding:8px 12px;border-radius:9px}#my-lottoluma .llv7-delete:hover,#my-lottoluma #llv7-clear:hover{color:#aa3030;border-color:#b66060}html[data-theme="dark"] #my-lottoluma .llv7-delete:hover,html[data-theme="dark"] #my-lottoluma #llv7-clear:hover{color:#ffb4b4}
#my-lottoluma .llv7-actions{border-top:1px solid var(--llp-line);padding-top:15px;margin-top:18px;gap:9px}#my-lottoluma .llv7-actions button{display:inline-flex;gap:8px;align-items:center;justify-content:center;border:1px solid var(--llp-line);border-radius:10px;color:var(--llp-blue);background:var(--llp-paper);font-size:12px;min-height:44px;font-weight:700;padding:10px 13px}#my-lottoluma .llv7-actions button:hover{background:var(--llp-soft)}#my-lottoluma .llv7-actions button:disabled,#my-lottoluma .llv7-primary-action:disabled{opacity:.52;box-shadow:none;cursor:not-allowed}#my-lottoluma .llv7-privacy-note{margin:17px 3px 0;font-size:12px;line-height:1.65}#my-lottoluma .llv7-status{color:var(--llp-blue);margin:10px 0 0;font-weight:600}
html body #predictionWorkspace .llv7-studio-actions{border-color:#c8dce8;background:linear-gradient(115deg,#f7fbfd,#eaf5f7);padding:12px 14px;border-radius:14px;gap:11px}html body #predictionWorkspace .llv7-studio-actions .llv7-primary-action{background:linear-gradient(110deg,#19547e,#226e99);border:1px solid #19547e;border-radius:11px;font-weight:750;min-height:48px;font-size:14px;box-shadow:0 2px 6px #18384b16}html body #predictionWorkspace .llv7-studio-actions .llv7-primary-action:hover{background:#123e61}html body #predictionWorkspace .llv7-studio-actions .llv7-primary-action:disabled{background:#526b7e;border-color:#526b7e;color:white;opacity:.64;box-shadow:none}html[data-theme="dark"] body #predictionWorkspace .llv7-studio-actions{border-color:#355267;background:#1a3447}
html body .llv7-home-link .llv7-primary-action{background:linear-gradient(110deg,#19547e,#226e99);border-color:#19547e;border-radius:11px;min-height:44px;font-size:14px}
@media(max-width:760px){#my-lottoluma .llv7-list{grid-template-columns:1fr}#my-lottoluma .llv7-identity{flex-basis:100%}#my-lottoluma .llv7-toolbar{align-items:flex-start}#my-lottoluma .llv7-export-actions{width:100%}#my-lottoluma .llv7-export-actions .llv7-primary-action{flex:1 1 140px;min-width:0}#my-lottoluma .llv7-browse{width:100%}}
@media(max-width:400px){#my-lottoluma .llv7-identity{gap:11px;align-items:flex-start}#my-lottoluma .llv7-avatar{width:44px;height:44px;border-radius:12px}#my-lottoluma .llv7-avatar svg{width:24px;height:24px}#my-lottoluma .llv7-record{padding:12px}#my-lottoluma .llv7-balls span{min-width:34px;height:34px;font-size:12px}#my-lottoluma .llv7-actions button{flex:1 1 100%}}
@media(prefers-reduced-motion:reduce){#my-lottoluma *,#predictionWorkspace .llv7-studio-actions *{transition:none!important}}
