/* V8 / Locked In Studios — focused pages, arcade tabs, bilingual controls and odds library. */
:root{--v8-primary:#13cee9;--v8-secondary:#ffdf36;--v8-surface:#f5fdff;--v8-ink:#152f3e;--v8-muted:#597080;--v8-stroke:#dbe9ee;--v8-ease:cubic-bezier(.22,.85,.25,1)}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-padding-top:calc(var(--head,72px) + 12px);}
.v8-site{--cyan:var(--v8-primary);--yellow:var(--v8-secondary)}
.v8-site .primary,.v8-site .button-small{background:var(--v8-secondary);color:var(--v8-ink);border-color:color-mix(in srgb,var(--v8-secondary),#9c7a03 22%);box-shadow:0 3px 0 color-mix(in srgb,var(--v8-secondary),#96730a 34%)}
.v8-site .primary:hover,.v8-site .button-small:hover{background:color-mix(in srgb,var(--v8-secondary),white 28%)}
.v8-site .outline{border-color:var(--v8-primary);color:var(--v8-ink);box-shadow:0 3px 0 color-mix(in srgb,var(--v8-primary),white 72%)}
.v8-site .outline:hover{background:color-mix(in srgb,var(--v8-primary),white 82%)}
.v8-site .nav a.active:after{background:var(--v8-primary)}
.v8-site .hero-copy{border-color:var(--v8-primary)}
.v8-site .scroll-meter i{background:var(--v8-primary)}
.site-pane{min-width:0;min-height:calc(100dvh - var(--head,72px) - 190px);background:#fff}
.site-pane.v8-current-pane:not(#pane-home){animation:v8-page-reveal .43s var(--v8-ease) both}
.v8-site .footer{position:relative;z-index:2}
.v8-site .footer-links{gap:clamp(12px,1.4vw,25px);flex-wrap:wrap}
.v8-site .footer-links a[aria-current=page]{color:color-mix(in srgb,var(--v8-primary),#152f3e 35%);font-weight:900}
.v8-nav-icon{display:inline-flex;font-size:15px;line-height:1;width:17px;align-items:center;justify-content:center;opacity:.72;margin-right:3px}
.v8-site .nav a{white-space:nowrap;gap:3px}
.v8-site .nav{gap:clamp(11px,1.5vw,25px)}
.v8-site .nav a.active{color:#102f3c}
.v8-site .nav a.active .v8-nav-icon{color:var(--v8-primary);opacity:1}
.v8-site .collection-button{flex-shrink:0}
.v8-site .head-actions{flex-shrink:0}
.v8-site .site-sound-toggle{border-color:var(--v8-primary);background:color-mix(in srgb,var(--v8-primary),white 88%)}
@media (max-width:1180px){
 .v8-site .header{padding:0 16px;gap:10px}
 .v8-site .menu-toggle{display:block;flex-shrink:0}
 .v8-site .nav{display:none;position:absolute;top:var(--head,72px);height:auto;left:0;right:0;padding:14px 18px 22px;background:#fff;border-bottom:1px solid var(--v8-stroke);box-shadow:0 18px 32px #1a3e4c24;flex-direction:column;align-items:stretch;gap:0;max-height:calc(100dvh - var(--head,72px));overflow:auto}
 .v8-site .nav.open{display:flex}
 .v8-site .nav a{min-height:51px;height:auto;font-size:15px;border-bottom:1px solid #e8f0f3;padding:10px 8px}
 .v8-site .nav a.active:after{left:8px;bottom:0;height:3px;width:50px}
}
@media (max-width:520px){.v8-site .brand{gap:6px}.v8-site .brand span{font-size:11px}.v8-site .header .button-small{font-size:10px;padding:8px}.v8-site .nav a{font-size:15px}}
@keyframes v8-page-reveal{from{opacity:0;transform:translateY(15px)}to{opacity:1;transform:none}}
@keyframes v8-soft-in{from{opacity:0;filter:blur(6px);transform:translateY(12px)}to{opacity:1;filter:none;transform:none}}
::view-transition-old(root){animation:v8-old-page .2s ease-out both}
::view-transition-new(root){animation:v8-new-page .32s var(--v8-ease) both}
@keyframes v8-old-page{to{opacity:0;filter:blur(3px);transform:translateY(-8px)}}
@keyframes v8-new-page{from{opacity:0;filter:blur(6px);transform:translateY(14px)}}
.v8-overline{display:inline-flex;align-items:center;gap:9px;font-size:10px;letter-spacing:.17em;font-weight:900;color:#16819a}
.v8-overline:before{content:'';display:block;width:8px;height:8px;background:var(--v8-primary);transform:rotate(45deg)}
.v8-site h1,.v8-site h2,.v8-site h3{overflow-wrap:normal}
.v8-site h1 em,.v8-site h2 em{font-style:normal;color:var(--v8-primary)}
/* Editorial landing cards. Gameplay, world index, studio and archive have independent pages. */
.v8-shortcuts{padding:clamp(58px,8vw,125px) var(--gutter);background:linear-gradient(145deg,#fff 25%,var(--v8-surface));border-top:1px solid var(--v8-stroke);border-bottom:1px solid var(--v8-stroke)}
.v8-shortcut-heading{display:grid;grid-template-columns:1.15fr .85fr;align-items:end;gap:14px;margin-bottom:32px}
.v8-shortcut-heading>span{grid-column:1/-1;font-size:10px;letter-spacing:.2em;color:#0787a5;font-weight:900}
.v8-shortcut-heading h2{font-size:clamp(37px,5.6vw,75px);letter-spacing:-.07em;line-height:.96;color:var(--v8-ink);margin:0}
.v8-shortcut-heading p{font-size:clamp(14px,1.25vw,17px);color:var(--v8-muted);line-height:1.65;max-width:460px;margin:0}
.v8-shortcut-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.v8-shortcut{position:relative;min-width:0;isolation:isolate;overflow:hidden;border:1px solid #d5e6eb;border-radius:13px;background:#f6fafb;display:flex;flex-direction:column;padding:17px;min-height:300px;transition:transform .35s var(--v8-ease),box-shadow .3s}
.v8-shortcut:before{content:'';z-index:-1;position:absolute;inset:0;background:linear-gradient(to bottom,#ffffff03 0%,#051927db 100%),linear-gradient(120deg,var(--card-glow),#142f44)}
.v8-shortcut img{position:absolute;z-index:-1;inset:0;width:100%;height:100%;object-fit:cover;opacity:.72;transition:transform .6s var(--v8-ease),opacity .3s}
.v8-shortcut:nth-child(3) img{object-fit:contain;padding:22px;filter:drop-shadow(0 10px 12px #163a4b70)}
.v8-shortcut>span{color:#fff;font-size:10px;letter-spacing:.13em;font-weight:800;text-shadow:0 1px 5px #132f42}
.v8-shortcut>strong{font-size:clamp(26px,3vw,42px);letter-spacing:-.05em;line-height:1.1;color:#fff;text-shadow:0 4px 12px #071a25a0;margin-top:auto}
.v8-shortcut>b{position:absolute;bottom:20px;right:20px;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#fff;color:#103649;font-size:22px}
.v8-shortcut:hover{transform:translateY(-5px);box-shadow:0 12px 26px #12374729}.v8-shortcut:hover img{transform:scale(1.055);opacity:.85}
#pane-worlds{background:linear-gradient(180deg,var(--v8-surface),#fff 550px)}
.v8-page-top{padding:58px var(--gutter) 18px;max-width:1400px;margin:auto}
.v8-page-top h2{margin:10px 0;font-size:clamp(44px,6.1vw,85px);letter-spacing:-.067em;line-height:1;color:#153342}
.v8-page-top h2 span{color:var(--v8-primary)}
.v8-page-top p{color:var(--v8-muted);font-size:15px;margin:0;max-width:560px;line-height:1.55}
#pane-worlds>.intro{padding-top:35px}
#pane-archive{background:linear-gradient(180deg,var(--v8-surface),#fff 440px)}
/* Dedicated minigame hub */
#pane-arcade{background:#eefdff;padding-bottom:70px}
.v8-arcade-shell{background:#f5fcff}
.v8-arcade-banner{position:relative;isolation:isolate;overflow:hidden;min-height:310px;padding:clamp(36px,5vw,75px) var(--gutter);background:radial-gradient(circle at 74% 40%,#23527c 0%,transparent 34%),radial-gradient(circle at 90% 15%,#4bb9b262,transparent 37%),#111f31;border-bottom:4px solid var(--v8-primary);display:flex;align-items:center}
.v8-arcade-banner:before{content:'';position:absolute;inset:0;z-index:-1;opacity:.11;background:linear-gradient(90deg,white 1px,transparent 1px),linear-gradient(white 1px,transparent 1px);background-size:50px 50px;transform:perspective(350px) rotateX(40deg) scale(1.6);transform-origin:center 85%}
.v8-arcade-banner>div{max-width:650px;position:relative;z-index:2}
.v8-arcade-banner .v8-overline{color:#92e9ff}
.v8-arcade-banner h1{font-size:clamp(50px,7vw,100px);color:#fff;letter-spacing:-.08em;line-height:.9;margin:15px 0}
.v8-arcade-banner h1 em{color:var(--v8-secondary)}
.v8-arcade-banner p{color:#c3d7e3;font-size:clamp(13px,1.4vw,17px);line-height:1.6;max-width:470px;margin:0 0 23px}
.v8-arcade-banner>img{position:absolute;right:clamp(14px,8vw,140px);top:4%;height:105%;width:min(43%,500px);object-fit:contain;filter:drop-shadow(0 25px 24px #0009);animation:v8-dragon-float 5.5s ease-in-out infinite;pointer-events:none}
@keyframes v8-dragon-float{0%,100%{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-12px) rotate(0deg)}}
.v8-arcade-mini-stat{display:flex;gap:10px;align-items:center;color:#e3f7fc;font-size:10px;letter-spacing:.1em;font-weight:800}
.v8-arcade-mini-stat span:first-child{color:var(--v8-secondary);font-size:28px;letter-spacing:-.06em}
.v8-game-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:0 var(--gutter);background:#fff;border-bottom:1px solid #d1e8ed;box-shadow:0 7px 25px #0e4b6110;isolation:isolate}
.v8-game-tab{min-width:0;display:flex;align-items:center;gap:11px;text-align:left;background:none;border:0;border-bottom:4px solid transparent;min-height:81px;padding:14px clamp(8px,2vw,24px);font-size:clamp(12px,1.3vw,16px);font-weight:900;color:#5a7380;cursor:pointer;transition:color .25s,border .25s,background .25s}
.v8-game-tab>span:first-child{font-size:10px;letter-spacing:.12em;font-weight:800;color:#9eb0bb}
.v8-game-tab[aria-selected=true]{color:#133847;border-color:var(--v8-primary);background:color-mix(in srgb,var(--v8-primary),white 92%)}
.v8-game-tab:hover{color:#0e7086;background:#f1fbff}
.v8-mini-arrow{margin-left:auto;font-size:15px}
.v8-mini-pane{max-width:100%;min-width:0;overflow:hidden}
.v8-mini-pane.v8-mini-enter{animation:v8-soft-in .32s var(--v8-ease) both}
.v8-mini-pane #expedition{border-top:0}
.v8-mini-pane #v7-protocol{min-height:500px}
.v8-mini-static{display:grid;grid-template-columns:1fr 1.15fr;align-items:center;gap:7%;min-height:480px;padding:70px var(--gutter);background:linear-gradient(135deg,#fff,#eaffff)}
.v8-mini-static>div:last-child{max-width:520px}
.v8-mini-static h2{font-size:clamp(42px,5vw,73px);letter-spacing:-.065em;line-height:1;margin:13px 0;color:#163846}
.v8-mini-static p{font-size:16px;line-height:1.7;color:#526c7c;margin:15px 0 27px}
.v8-mini-visual{min-width:0;position:relative;min-height:330px;display:grid;place-items:center;overflow:hidden;border-radius:15px;background:radial-gradient(circle at 50% 50%,#d4f7ff,#eaf7fa 65%,#f6fcff);border:1px solid #d5e9f1}
.v8-mini-visual img{height:310px;width:90%;max-width:350px;object-fit:contain;filter:drop-shadow(0 15px 16px #11354438);animation:v8-dragon-float 6.5s ease-in-out infinite}
.v8-banana-visual{background:radial-gradient(circle,#fff7a4,#fff2d6 70%)}
.v8-banana-visual img{position:absolute;height:80%;width:70%;left:0;bottom:0}
.v8-banana-visual img:nth-child(2){height:48%;width:48%;left:auto;right:0;bottom:5%;animation-delay:-2s}
.v8-journal-static .v8-mini-visual{background:radial-gradient(circle,#a6ecff,#eefaff 70%)}
body[data-mini=protocol] .v8-arcade-banner{display:none}
/* Source-backed data library */
#pane-odds{background:linear-gradient(#f6fcff,#fff 600px)}
.v8-odds-hero{position:relative;isolation:isolate;min-height:370px;background:#142b3d;color:#fff;overflow:hidden;display:flex;align-items:center;padding:clamp(42px,6vw,85px) var(--gutter);border-bottom:4px solid var(--v8-primary)}
.v8-odds-glow{position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 76% 34%,#167f9d99,transparent 40%),radial-gradient(ellipse at 0% 100%,#ffb74c4c,transparent 36%)}
.v8-odds-hero:after{content:'';position:absolute;inset:0;z-index:-1;background:repeating-linear-gradient(90deg,#ffffff06 0 1px,transparent 1px 54px),repeating-linear-gradient(0deg,#ffffff06 0 1px,transparent 1px 54px);mask-image:linear-gradient(90deg,transparent 10%,#000 85%)}
.v8-odds-heading{max-width:700px;z-index:1}.v8-odds-heading .v8-overline{color:#8ce5f8}
.v8-odds-heading h1{color:#fff;font-size:clamp(51px,6.1vw,90px);line-height:.94;letter-spacing:-.08em;margin:15px 0 22px}
.v8-odds-heading h1 em{color:var(--v8-secondary)}
.v8-odds-heading p{color:#cee1e9;font-size:16px;max-width:540px;line-height:1.6;margin:0 0 25px}
.v8-data-chips{display:flex;flex-wrap:wrap;gap:7px}.v8-data-chips span{padding:8px 11px;font-size:9px;font-weight:900;letter-spacing:.1em;border:1px solid #b0dbec78;border-radius:4px;color:#e8f9ff;background:#ffffff12}
.v8-odds-egg{position:absolute;right:5%;top:4%;height:95%;width:36%;object-fit:contain;filter:drop-shadow(0 25px 22px #0008);transform:rotate(-7deg);pointer-events:none;animation:v8-dragon-float 6s ease-in-out infinite}
.v8-odds-content{max-width:1390px;padding:45px var(--gutter) 85px;margin:auto}
.v8-source-warning,.v8-source-note{display:flex;align-items:flex-start;gap:14px;padding:16px 21px;border-radius:9px;border:1px solid #b6e2eb;background:#edfaff;color:#245465;margin:0 0 28px}
.v8-source-warning>b,.v8-source-note>b{display:grid;place-items:center;flex:none;width:30px;height:30px;color:#096b80;background:#c9f5fc;border-radius:7px;font-size:20px}
.v8-source-warning p,.v8-source-note p{font-size:13px;line-height:1.6;margin:0}.v8-source-warning strong{color:#1a4556}
.v8-odds-tabs{display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid #cfe4eb;padding-bottom:9px;margin-bottom:29px}
.v8-odds-tabs button{border:1px solid transparent;background:#f2f7f9;color:#566f7d;font-size:12px;font-weight:850;padding:13px 15px;border-radius:7px;cursor:pointer;transition:transform .2s,background .2s;color .2s}
.v8-odds-tabs button span{font-size:9px;opacity:.62;margin-right:6px}.v8-odds-tabs button[aria-selected=true]{color:#143b49;background:var(--v8-secondary);border-color:#e4c23b;box-shadow:0 3px 0 #d9b928}.v8-odds-tabs button:not([aria-selected=true]):hover{background:#e9faff;transform:translateY(-1px)}
.v8-filter-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin-bottom:23px}
.v8-searchbox{flex:1 1 270px;min-width:170px;display:flex;align-items:center;gap:9px;border:1px solid #c8dfe8;background:#fff;border-radius:8px;height:48px;padding:0 14px}
.v8-searchbox span{font-size:25px;color:#2c849a;line-height:1}
.v8-searchbox input{flex:1;width:100%;min-width:0;border:0;font:inherit;color:#224654;background:transparent;outline:0;font-size:13px}
.v8-filter-bar label{display:grid;gap:5px;font-size:10px;letter-spacing:.03em;font-weight:800;color:#657b87;min-width:165px}
.v8-filter-bar select{height:48px;padding:0 14px;background:#fff;color:#234657;border:1px solid #c8dfe8;border-radius:8px;max-width:100%}
.v8-match-count{margin-left:auto;color:#6b8895;font-size:12px;font-weight:800;padding:12px 0}
.v8-odds-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.v8-odds-eggcard{display:grid;position:relative;grid-template-columns:90px minmax(0,1fr) minmax(105px,.75fr) 21px;align-items:center;gap:14px;min-width:0;border:1px solid #d8e6ec;border-radius:10px;padding:13px 14px;background:#fff;box-shadow:0 5px 15px #1942550a;text-align:left;color:#16394a;cursor:pointer;transition:transform .22s var(--v8-ease),border .22s,box-shadow .22s}
.v8-odds-eggcard:hover{transform:translateY(-3px);border-color:var(--rarity);box-shadow:0 10px 25px #153f4d18}
.v8-odds-eggcard:before{content:'';position:absolute;left:0;top:10px;bottom:10px;width:4px;border-radius:0 5px 5px 0;background:var(--rarity)}
.v8-odds-icon{width:90px;height:90px;background:radial-gradient(circle,color-mix(in srgb,var(--rarity),white 70%),#fbfdff);border-radius:8px;display:grid;place-items:center}
.v8-odds-icon img{width:90%;height:90%;object-fit:contain;filter:drop-shadow(0 7px 5px #173a4b30)}
.v8-odds-icon>span{font-size:45px;color:#b8c6ce}
.v8-odds-egg-meta{display:grid;gap:5px;min-width:0}.v8-odds-egg-meta small{color:#72909c;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.v8-odds-egg-meta strong{font-size:clamp(16px,1.35vw,20px);color:#183847;letter-spacing:-.035em;line-height:1.1}
.v8-odds-egg-meta>span{color:#69838f;font-size:11px}.v8-egg-rate{font-size:10px;line-height:1.65;color:#22566d;overflow-wrap:anywhere;font-weight:800}
.v8-egg-more{font-size:17px;color:#4f9aad;align-self:start;margin-top:8px}
.v8-odds-footnote{font-size:12px;line-height:1.7;color:#607b88;max-width:1100px;margin:18px 0 0}
.v8-odds-sectiontitle{max-width:980px;margin-bottom:23px}.v8-odds-sectiontitle>span{font-size:10px;letter-spacing:.16em;font-weight:900;color:#0785a0}
.v8-odds-sectiontitle h2{font-size:clamp(28px,3.8vw,52px);letter-spacing:-.05em;margin:7px 0 12px;color:#163b49;line-height:1.05}
.v8-odds-sectiontitle p{margin:0;color:#607c89;font-size:14px;line-height:1.6}.v8-odds-secondary{margin-top:42px}
.v8-drop-sources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.v8-drop-source{display:flex;align-items:flex-start;gap:14px;background:#fff;padding:19px;border-radius:8px;border:1px solid #d5e6ec;min-height:140px}
.v8-drop-num{font-size:13px;font-weight:900;color:#2a9eb2;background:#e4faff;padding:11px;border-radius:7px}
.v8-data-sub{font-size:10px;color:#0c8b9b;text-transform:uppercase;font-weight:900;letter-spacing:.05em}
.v8-drop-source h3{margin:6px 0 8px;font-size:19px;color:#1a3d4b;line-height:1.15;letter-spacing:-.025em}
.v8-drop-source p{margin:0;color:#526e7b;font-size:12px;line-height:1.55;overflow-wrap:anywhere}
.v8-source-note{margin-top:23px;background:#fff8e6;border-color:#eee1ae}.v8-source-note>b{background:#fff0bf;color:#806014}
.v8-inline-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:19px 0 16px}
.v8-inline-tabs button{padding:11px 20px;border-radius:7px;border:1px solid #cbdce4;background:#fff;color:#365b6b;font-size:12px;font-weight:850;cursor:pointer}
.v8-inline-tabs button[aria-pressed=true]{background:#e2faff;border-color:var(--v8-primary);color:#107589;box-shadow:0 2px 0 var(--v8-primary)}
.v8-table-scroll{max-width:100%;overflow:auto;border:1px solid #d6e5ec;border-radius:9px;background:#fff;scrollbar-color:#b7dce8 #f2f7fa}
.v8-data-table{border-collapse:separate;border-spacing:0;width:100%;min-width:680px;color:#263f4c;table-layout:auto;font-size:12px}
.v8-data-table thead th{padding:16px;text-align:left;background:#10374b;color:#fff;font-size:10px;letter-spacing:.07em;text-transform:uppercase;white-space:normal;line-height:1.4}
.v8-data-table tbody th,.v8-data-table tbody td{padding:13px 16px;border-top:1px solid #e5eef2;line-height:1.55;white-space:normal}
.v8-data-table tbody tr:nth-child(even){background:#f5fbfd}.v8-data-table tbody tr:hover{background:#e7faff}
.v8-data-table tbody th{font-weight:900;color:#1b4658;position:sticky;left:0;background:inherit;min-width:110px;box-shadow:2px 0 3px #17425708}
.v8-odds-wide .v8-data-table{min-width:910px}.v8-odds-wide .v8-data-table tbody td:not(:first-child){white-space:nowrap}
.v8-table-stack{display:grid;gap:32px}.v8-table-stack h3{font-size:19px;letter-spacing:-.025em;color:#204e5e}
.v8-math-card{margin:24px 0 0;background:radial-gradient(circle at 90% 20%,#2c6076,#183646 65%);color:#fff;border:1px solid #245e79;padding:24px;border-radius:9px}
.v8-math-card>span{font-size:10px;letter-spacing:.13em;font-weight:850;color:#9de5f4}.v8-math-card code{display:block;padding:15px;margin:12px 0;background:#ffffff12;color:#fff;font-size:clamp(13px,1.7vw,19px);font-weight:700;overflow-wrap:anywhere;border-radius:6px}
.v8-math-card p{color:#c2dfe8;font-size:13px;line-height:1.6;margin-bottom:0}
.v8-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.v8-guide-grid article{border:1px solid #d7e7ed;background:#fff;padding:22px;border-radius:10px;min-height:160px}
.v8-guide-grid article>span{font-size:11px;font-weight:900;color:#00859c}
.v8-guide-grid h3{color:#1a4251;font-size:25px;letter-spacing:-.04em;margin:9px 0 8px}
.v8-guide-grid p{color:#587583;font-size:13px;line-height:1.6;margin:0}
.v8-source-footer{border-top:1px solid #dce8ec;margin-top:42px;padding-top:22px;display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.v8-source-footer>span{font-size:10px;letter-spacing:.12em;color:#7a929f;font-weight:850}
.v8-source-footer a{font-weight:900;font-size:13px;color:#0a7892;border-bottom:2px solid #20c6dd;padding:6px 0}
.v8-empty{padding:40px 15px;grid-column:1/-1;text-align:center;color:#597887;background:#fff;border-radius:10px}
/* Egg detail dialog */
#v8-odds-dialog{width:min(880px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:90dvh;padding:0;border:1px solid #bedce7;border-radius:15px;background:#fff;overflow:auto;box-shadow:0 30px 90px #0c2e41a0}
#v8-odds-dialog[open]{display:grid;grid-template-columns:.75fr 1fr;min-width:0}
#v8-odds-dialog::backdrop{background:#0b283dba;backdrop-filter:blur(4px)}
.v8-dialog-close{position:sticky;top:12px;float:right;grid-column:1/-1;justify-self:end;margin:12px 12px -52px auto;z-index:5;height:35px;width:35px;border-radius:8px;background:#dffaff;border:1px solid #c6e8f1;color:#124356;font-size:22px;cursor:pointer}
.v8-dialog-art{min-height:360px;display:grid;place-items:center;background:radial-gradient(circle,#ccf3ff 0%,#f6fcff 74%);overflow:hidden}
.v8-dialog-art img{height:260px;max-width:90%;object-fit:contain;filter:drop-shadow(0 13px 17px #124a6150)}
.v8-dialog-art span{font-size:120px;color:#c0d3de}
.v8-dialog-copy{padding:40px 35px 36px;min-width:0}
.v8-dialog-copy .v8-overline{font-size:9px}.v8-dialog-copy h2{font-size:clamp(30px,3vw,44px);line-height:1.05;letter-spacing:-.055em;color:#143c4b;margin:11px 0 21px}
.v8-detail-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:22px}
.v8-detail-facts>div{padding:12px;background:#eff9fc;border:1px solid #d6edf2;border-radius:6px;display:grid;gap:6px}
.v8-detail-facts span{font-size:10px;font-weight:850;color:#6e8793}.v8-detail-facts strong{font-size:17px;color:#193e4d}
.v8-dialog-copy h3{color:#184658;font-size:14px;text-transform:uppercase;letter-spacing:.08em;margin:18px 0 7px}
.v8-dialog-copy p{font-size:12px;color:#506e7c;line-height:1.65;margin:5px 0 12px;overflow-wrap:anywhere}
.v8-dialog-copy .v8-stat-highlight{background:#fff8da;border-left:3px solid #e9c23a;padding:14px;font-weight:800;color:#335766}
.v8-dialog-copy .v8-details-disclaimer{font-size:11px;color:#7d929d;margin:19px 0}
.v8-details-btn{min-height:43px;background:var(--v8-secondary);font-size:12px;font-weight:900;border:1px solid #e7c124;border-radius:7px;padding:10px 15px;color:#1c3b48;cursor:pointer}
/* Settings page */
#pane-settings{background:linear-gradient(180deg,#f7fcff,#fff)}
.v8-settings-hero{position:relative;overflow:hidden;padding:clamp(54px,7vw,100px) var(--gutter) 38px;background:radial-gradient(ellipse at 86% 30%,color-mix(in srgb,var(--v8-primary),white 70%),transparent 43%),linear-gradient(145deg,#fff,var(--v8-surface))}
.v8-settings-hero h1{font-size:clamp(55px,7vw,98px);letter-spacing:-.08em;line-height:.92;color:#183847;margin:17px 0 18px}
.v8-settings-hero p{color:#5d7784;max-width:620px;line-height:1.6;font-size:16px;margin:0}
.v8-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;padding:30px var(--gutter) 100px;max-width:1450px;margin:0 auto}
.v8-settings-card{border:1px solid #d9e8ed;border-radius:14px;background:#fff;padding:clamp(19px,2.4vw,34px);box-shadow:0 8px 30px #173d4d0a;min-width:0}
.v8-setting-header{display:flex;align-items:flex-start;gap:16px;margin-bottom:28px}
.v8-setting-icon{display:grid;place-items:center;flex:none;width:47px;height:47px;font-size:27px;font-weight:900;color:#145772;background:color-mix(in srgb,var(--v8-primary),white 80%);border:1px solid color-mix(in srgb,var(--v8-primary),white 50%);border-radius:10px}
.v8-setting-header>div{min-width:0}.v8-setting-header>div>span{font-size:9px;letter-spacing:.17em;color:#0b8099;font-weight:850}
.v8-setting-header h2{font-size:clamp(24px,2.2vw,32px);letter-spacing:-.045em;line-height:1.1;color:#15394a;margin:5px 0 7px}
.v8-setting-header p{font-size:12px;color:#5f7c89;line-height:1.55;margin:0}
.v8-palette-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.v8-palette{display:grid;gap:7px;padding:9px 6px 12px;border:1px solid #dce6eb;border-radius:8px;background:#fff;text-align:center;color:#173e4e;cursor:pointer;transition:transform .2s,border .2s}
.v8-palette:hover{transform:translateY(-2px);border-color:var(--v8-primary)}
.v8-palette[aria-pressed=true]{border:2px solid var(--v8-primary);background:color-mix(in srgb,var(--v8-primary),white 94%);padding:8px 5px 11px;box-shadow:0 2px 0 var(--v8-primary)}
.v8-palette-swatch{display:block;min-height:65px;border-radius:6px;background:linear-gradient(143deg,var(--p1) 0%,var(--p1) 47%,var(--p2) 47%,var(--p2) 74%,var(--p3) 74%)}
.v8-palette strong{font-size:11px}.v8-palette small{font-size:9px;color:#6f8791}
.v8-custom-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:25px;border-top:1px solid #e8eff2;padding-top:20px}
.v8-custom-row label{color:#52717e;font-size:11px;font-weight:800}
.v8-custom-row input{border:1px solid #d5e7ee;background:#fff;width:42px;height:34px;border-radius:5px;padding:2px;cursor:pointer}
.v8-setting-help{color:#7b919b;font-size:11px;line-height:1.6;margin:15px 0 0}
.v8-settings-control-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #e7eff3;padding:15px 0;color:#284c5b;font-size:13px;font-weight:800}
.v8-settings-control-row:first-of-type{padding-top:0}
.v8-settings-control-row output{font-size:18px;color:#16829a;font-weight:900}
#v8-volume{appearance:none;-webkit-appearance:none;width:100%;height:9px;border-radius:20px;margin-top:22px;background:linear-gradient(90deg,var(--v8-primary) 0%,#dcebf0 100%);cursor:pointer}
#v8-volume::-webkit-slider-thumb{-webkit-appearance:none;width:22px;height:22px;border:4px solid #fff;background:var(--v8-primary);border-radius:50%;box-shadow:0 2px 8px #18394b55}
#v8-volume::-moz-range-thumb{width:20px;height:20px;border:4px solid #fff;background:var(--v8-primary);border-radius:50%;box-shadow:0 2px 8px #18394b55}
.v8-volume-labels{display:flex;justify-content:space-between;font-size:10px;color:#7f96a2;padding:8px 0 23px}
.v8-pill-toggle{padding:9px 16px;border-radius:50px;border:1px solid #c6d9e1;background:#edf3f6;color:#64808b;font-size:11px;font-weight:850;cursor:pointer}
.v8-pill-toggle[aria-pressed=true]{background:color-mix(in srgb,var(--v8-primary),white 75%);border-color:var(--v8-primary);color:#164d60}
.v8-test-audio{display:flex;justify-content:space-between;gap:10px;width:100%;margin-top:20px;background:#173c4d;border:1px solid #173c4d;color:#fff;font-weight:850;padding:13px;border-radius:7px;cursor:pointer}
.v8-language-buttons{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.v8-language-buttons button{display:flex;align-items:center;justify-content:center;gap:10px;padding:20px 10px;border-radius:9px;border:1px solid #d6e8ed;background:#f8fbfc;color:#466978;cursor:pointer}
.v8-language-buttons button b{font-size:22px;letter-spacing:-.03em}.v8-language-buttons button span{font-size:13px;font-weight:850}
.v8-language-buttons button[aria-pressed=true]{background:color-mix(in srgb,var(--v8-primary),white 84%);border:2px solid var(--v8-primary);padding:19px 9px;color:#1b5367;box-shadow:0 2px 0 var(--v8-primary)}
.v8-reset-preferences{margin-top:24px;font-size:12px;font-weight:850;border:0;border-bottom:2px solid #b0cbd7;background:none;color:#577582;padding:10px 0;cursor:pointer}
.v8-reset-preferences:hover{color:#145871}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #178dab;outline-offset:3px}
@media(max-width:1180px){.v8-odds-eggcard{grid-template-columns:72px minmax(0,1fr) minmax(90px,.8fr) 12px;gap:9px}.v8-odds-icon{width:72px;height:72px}.v8-egg-rate{font-size:9px}}
@media(max-width:850px){
 .v8-shortcut-heading{grid-template-columns:1fr}.v8-shortcut-heading>span{grid-column:1}.v8-shortcut-heading p{max-width:600px}
 .v8-shortcut-grid{gap:10px}.v8-shortcut{min-height:230px;padding:13px}.v8-shortcut>strong{font-size:25px}
 .v8-arcade-banner>img{right:0;width:40%;opacity:.9}.v8-arcade-banner>div{max-width:64%}
 .v8-odds-eggcard{grid-template-columns:72px minmax(0,1fr) 14px}.v8-egg-rate{grid-column:2;grid-row:2}.v8-egg-more{grid-column:3;grid-row:1}
 .v8-drop-sources{grid-template-columns:1fr}
}
@media(max-width:680px){
 .v8-shortcuts{padding:52px 16px}.v8-shortcut-grid{grid-template-columns:1fr}.v8-shortcut{min-height:195px}.v8-shortcut:nth-child(3) img{object-position:70%;width:62%;left:auto;right:0}.v8-shortcut>strong{font-size:34px}
 .v8-page-top{padding:38px 16px 15px}.v8-page-top h2{font-size:49px}
 .v8-arcade-banner{padding:40px 18px;min-height:260px}.v8-arcade-banner>div{max-width:77%}.v8-arcade-banner h1{font-size:53px}.v8-arcade-banner>img{right:-19%;width:68%;opacity:.46}.v8-arcade-banner p{font-size:13px}
 .v8-game-tabs{padding:0 6px;grid-template-columns:repeat(2,minmax(0,1fr))}.v8-game-tab{min-height:56px;padding:10px 12px;font-size:12px;gap:7px;border-bottom-width:3px}.v8-mini-arrow{font-size:13px}
 .v8-mini-static{grid-template-columns:1fr;gap:25px;padding:35px 16px 55px}.v8-mini-visual{min-height:230px}.v8-mini-visual img{height:220px}.v8-mini-static h2{font-size:47px}.v8-mini-static p{font-size:14px}
 .v8-odds-hero{min-height:320px;padding:40px 17px}.v8-odds-heading{max-width:95%}.v8-odds-heading h1{font-size:55px}.v8-odds-heading p{font-size:13px;max-width:78%}.v8-odds-egg{width:55%;height:70%;top:25%;right:-17%;opacity:.63}
 .v8-odds-content{padding:25px 16px 65px}.v8-source-warning{padding:13px;gap:8px}.v8-source-warning p{font-size:12px}.v8-odds-tabs{gap:4px}.v8-odds-tabs button{font-size:10px;padding:10px 9px}
 .v8-filter-bar{gap:8px}.v8-filter-bar label{flex:1;min-width:0}.v8-filter-bar select{width:100%;font-size:12px;padding:0 6px}.v8-searchbox{flex:1 0 100%;height:44px}.v8-match-count{padding:0;font-size:10px}
 .v8-odds-grid{grid-template-columns:1fr;gap:8px}.v8-odds-eggcard{grid-template-columns:72px minmax(0,1fr) 12px;gap:8px;min-height:110px}.v8-odds-egg-meta strong{font-size:19px}.v8-odds-egg-meta small{font-size:9px}.v8-egg-rate{font-size:10px}
 .v8-guide-grid{grid-template-columns:1fr}.v8-drop-source{padding:15px}.v8-data-table{font-size:11px}.v8-data-table thead th{font-size:9px}.v8-data-table tbody th,.v8-data-table tbody td{padding:10px 12px}.v8-math-card{padding:15px}.v8-math-card code{font-size:13px}
 #v8-odds-dialog[open]{grid-template-columns:1fr}.v8-dialog-art{min-height:180px}.v8-dialog-art img{height:160px}.v8-dialog-copy{padding:18px}.v8-dialog-copy h2{font-size:31px}.v8-dialog-close{grid-row:1;position:sticky;margin:10px 10px -50px auto}
 .v8-settings-hero{padding:45px 16px 33px}.v8-settings-hero h1{font-size:58px}.v8-settings-hero p{font-size:13px}
 .v8-settings-grid{grid-template-columns:1fr;gap:10px;padding:15px 12px 85px}.v8-settings-card{padding:19px}.v8-setting-header{gap:10px}.v8-palette-grid{gap:6px}.v8-palette-swatch{min-height:50px}.v8-palette strong{font-size:10px}.v8-palette small{font-size:8px}.v8-language-buttons button{padding:13px 8px}
}
@media(max-width:380px){.v8-odds-heading h1{font-size:46px}.v8-odds-eggcard{grid-template-columns:56px minmax(0,1fr) 9px}.v8-odds-icon{width:56px;height:63px}.v8-odds-egg-meta strong{font-size:17px}.v8-settings-hero h1{font-size:48px}}
.v8-motion-reduce *, .v8-motion-reduce *::before,.v8-motion-reduce *::after{animation-duration:.01ms!important;transition-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce){.site-pane.v8-current-pane,.v8-mini-pane.v8-mini-enter,.v8-shortcut img,.v8-arcade-banner>img,.v8-odds-egg,.v8-mini-visual img{animation:none!important;transition:none!important}::view-transition-old(root),::view-transition-new(root){animation:none!important}}
.v8-catalog-odds{width:100%;margin:12px 0;justify-content:space-between;font-weight:900;min-height:44px;font-size:12px}
