/* Irish Lotto 21 · new three-draw selection studio */
body[data-game="irish-lotto-21"] .ir21-pick{padding:14px 14px 12px;background:linear-gradient(140deg,rgba(20,155,147,.11),rgba(38,128,181,.05));border:1px solid #a5d9d9;border-radius:13px;margin-bottom:15px}
body[data-game="irish-lotto-21"] .ir21-pick #pickCount{min-height:47px;font-weight:800}
body[data-game="irish-lotto-21"] .ir21-option{padding:16px 18px;margin:0 0 18px;border-radius:13px;border:1px solid #9ed9d5;background:rgba(30,164,148,.09);color:inherit}
body[data-game="irish-lotto-21"] .ir21-option label{display:flex;align-items:center;gap:12px;font-weight:800;line-height:1.45;cursor:pointer}
body[data-game="irish-lotto-21"] .ir21-option input[type=checkbox]{width:20px;height:20px;accent-color:#14a59b;flex:none}
body[data-game="irish-lotto-21"] .ir21-option p{margin:7px 0 0 32px;line-height:1.55;font-size:12px;opacity:.8}
body[data-game="irish-lotto-21"] .ultra-draw-facts .mini-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:520px){body[data-game="irish-lotto-21"] .ir21-option{padding:12px}body[data-game="irish-lotto-21"] .ir21-option p{margin-left:0}}

/* V2 — strictly scoped refinements; leave the other 27 studios untouched. */
body[data-game="irish-lotto-21"] .game-hero{overflow:hidden}
body[data-game="irish-lotto-21"] .game-hero h1{max-width:19ch;overflow-wrap:normal;line-height:1.12}
body[data-game="irish-lotto-21"] .game-hero p{max-width:61ch;line-height:1.55}
body[data-game="irish-lotto-21"] .ir21-pick{min-width:0}
body[data-game="irish-lotto-21"] .ir21-pick #pickCount{width:100%;max-width:100%;box-sizing:border-box}
body[data-game="irish-lotto-21"] .summary{min-width:0}
body[data-game="irish-lotto-21"] .summary-item{min-width:0;overflow-wrap:anywhere}
body[data-game="irish-lotto-21"] .workspace-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
body[data-game="irish-lotto-21"] .ir21-preview-shortcut{border-color:#9ad8d5;background:#e9faf8;color:#075c6a;font-weight:800}
body[data-game="irish-lotto-21"] .ir21-preview-shortcut:hover{background:#ccf4ed;color:#093e50}
body[data-game="irish-lotto-21"] .orbit-next-draw{border-radius:15px;max-width:100%;margin-top:17px}
body[data-game="irish-lotto-21"] .orbit-next-draw .orbit-next-content{min-width:0}
body[data-game="irish-lotto-21"] .orbit-share-card-tool{margin-top:20px;min-width:0;scroll-margin-top:100px}
body[data-game="irish-lotto-21"] .orbit-share-card-actions{min-width:0}
body[data-game="irish-lotto-21"] .orbit-share-preview-image{max-width:100%;height:auto}
body[data-game="irish-lotto-21"] .ir21-highlight-preview{outline:3px solid #34c9b6;outline-offset:4px}
/* Seven glossy balls must remain a single tidy row on both narrow two-column cards and mobile. */
body[data-game="irish-lotto-21"] .ll-ticket-main-balls,
body[data-game="irish-lotto-21"] .line-card .empty-ball-row{display:flex;flex-wrap:nowrap;gap:clamp(3px,.65vw,11px);min-width:0;max-width:100%;align-items:center}
body[data-game="irish-lotto-21"] .ll-ticket-main-balls .number-ball,
body[data-game="irish-lotto-21"] .line-card .empty-ball-row .number-ball{flex:0 1 51px;width:clamp(26px,4.5vw,51px);height:clamp(26px,4.5vw,51px);min-width:0;aspect-ratio:1;line-height:1;font-size:clamp(12px,1.6vw,18px)}
@media (max-width: 740px){
 body[data-game="irish-lotto-21"] .orbit-next-draw{flex-wrap:wrap;gap:10px}
 body[data-game="irish-lotto-21"] .ll-ticket-main-balls .number-ball,
 body[data-game="irish-lotto-21"] .line-card .empty-ball-row .number-ball{width:clamp(27px,9vw,48px);height:clamp(27px,9vw,48px);font-size:clamp(12px,3.6vw,17px)}
 body[data-game="irish-lotto-21"] .workspace-actions .button{flex:1 1 125px}
}
@media (max-width:390px){
 body[data-game="irish-lotto-21"] .ll-ticket-main-balls .number-ball,
 body[data-game="irish-lotto-21"] .line-card .empty-ball-row .number-ball{width:clamp(25px,8vw,37px);height:clamp(25px,8vw,37px)}
}
/* Readability on informational cards in both themes. */
html:not([data-theme="dark"]) body[data-game="irish-lotto-21"] .atlas-editorial-grid article,
html:not([data-theme="dark"]) body[data-game="irish-lotto-21"] .orbit-game-story,
html:not([data-theme="dark"]) body[data-game="irish-lotto-21"] .orbit-seo-guide article{color:#213a4c}
html:not([data-theme="dark"]) body[data-game="irish-lotto-21"] .atlas-editorial-grid article h3,
html:not([data-theme="dark"]) body[data-game="irish-lotto-21"] .orbit-game-story h2{color:#0d2c42}
html[data-theme="dark"] body[data-game="irish-lotto-21"] .atlas-editorial-grid article{background:#1a3346!important;border-color:#36556c!important;color:#d3e8f2!important}
html[data-theme="dark"] body[data-game="irish-lotto-21"] .atlas-editorial-grid article h3,
html[data-theme="dark"] body[data-game="irish-lotto-21"] .atlas-editorial-grid article p{color:#e1edf7!important}
html[data-theme="dark"] body[data-game="irish-lotto-21"] .atlas-editorial-grid article .atlas-editorial-number{color:#72e5d6!important}
html[data-theme="dark"] body[data-game="irish-lotto-21"] .ir21-preview-shortcut{background:#164950;color:#bdfcf2;border-color:#397b7c}
/* Correct hard-to-read controls in dark appearance without altering other studios. */
html[data-theme="dark"] body[data-game="irish-lotto-21"] .left-sidebar .panel,
html[data-theme="dark"] body[data-game="irish-lotto-21"] .left-sidebar .panel-inner{background:#172f41;color:#e4f3fb}
html[data-theme="dark"] body[data-game="irish-lotto-21"] .left-sidebar .control-label,
html[data-theme="dark"] body[data-game="irish-lotto-21"] .left-sidebar .panel h2,
html[data-theme="dark"] body[data-game="irish-lotto-21"] .left-sidebar .lo-mini-summary-text strong{color:#e5f7ff!important}
html[data-theme="dark"] body[data-game="irish-lotto-21"] .left-sidebar .control-caption,
html[data-theme="dark"] body[data-game="irish-lotto-21"] .left-sidebar .atlas-line-capacity,
html[data-theme="dark"] body[data-game="irish-lotto-21"] .left-sidebar .lo-mini-summary-text small{color:#bcd3e0!important;opacity:1!important}
html[data-theme="dark"] body[data-game="irish-lotto-21"] .left-sidebar .ir21-pick{background:#1c4352;border-color:#3f8591}
html[data-theme="dark"] body[data-game="irish-lotto-21"] .left-sidebar .ir21-pick select{background:#0f2839;color:#f2fdff}
html[data-theme="dark"] body[data-game="irish-lotto-21"] .left-sidebar .ultra-odd-even-help>summary,
html[data-theme="dark"] body[data-game="irish-lotto-21"] .left-sidebar .atlas-line-capacity{color:#c5e4ee!important}
