.double-dice-game{color-scheme:light;--bg:#f5f7fa;--bg-white:#ffffff;--navy:#052659;--steel:#5483B3;--sky:#7DA0CA;--ice:#C1E8FF;--deep:#021024;--sidebar-bg:#BCE6FF;--sidebar-bg-hover:#A9DEFA;--sidebar-active:#7FC0EE;--sidebar-indicator:#052659;--sidebar-text:rgba(2,16,36,.78);--sidebar-text-muted:rgba(2,16,36,.55);--sidebar-text-active:#021024;--sidebar-accent:#5483B3;--sidebar-border:rgba(2,16,36,.1);--ink:#021024;--muted:rgba(2,16,36,.58);--dim:rgba(2,16,36,.38);--glass:rgba(255,255,255,.7);--glass-strong:rgba(255,255,255,.92);--glass-border:rgba(84,131,179,.13);--line:rgba(84,131,179,.12);--shadow-sm:0 8px 24px rgba(2,16,36,.05);--shadow-md:0 18px 44px rgba(2,16,36,.07);--shadow-lg:0 28px 64px rgba(2,16,36,.09);--shadow-glow:0 0 30px rgba(84,131,179,.12);--shadow-sidebar:8px 0 32px rgba(2,16,36,.08);--spring:cubic-bezier(.34,1.56,.64,1);--ease:cubic-bezier(.22,1,.36,1);--ease-slow:cubic-bezier(.65,.05,.36,1);--font-sans:-apple-system,"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",Arial,sans-serif;--font-serif:Georgia,"Times New Roman",serif;--font-mono:"JetBrains Mono",monospace;--nav-h:64px;--maxw:1320px;--side-w:260px;--gap:24px}.double-dice-game *,.double-dice-game *:before,.double-dice-game *:after{box-sizing:border-box;margin:0;padding:0}.double-dice-game html{scroll-behavior:smooth}.double-dice-game body{min-width:320px;color:var(--ink);font-family:var(--font-sans);line-height:1.6;padding-top:calc(var(--nav-h) + 14px);background:radial-gradient(ellipse at 15% 8%,rgba(84,131,179,.06),transparent 32%),radial-gradient(ellipse at 88% 14%,rgba(125,160,202,.04),transparent 38%),radial-gradient(ellipse at 50% 90%,rgba(193,232,255,.08),transparent 48%),var(--bg);background-attachment:fixed;overflow-x:hidden;min-height:100vh}.double-dice-game .formula-bg{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden}.double-dice-game .formula-item{position:absolute;font-family:"Cambria Math","Latin Modern Math",Times New Roman,serif;color:var(--steel);opacity:0;transition:opacity 1.4s ease;user-select:none;white-space:nowrap;font-weight:400}.double-dice-game .formula-item .katex{color:var(--steel)}.double-dice-game .formula-item .katex-display{margin:0}.double-dice-game .formula-item.show{opacity:.15}.double-dice-game .formula-item.float{animation:formulaFloat 10s ease-in-out infinite}.double-dice-game .formula-item.fallback{font-family:var(--font-serif);font-style:italic}@keyframes formulaFloat{0%,to{transform:translateY(0) rotate(var(--rot,0deg))}50%{transform:translateY(-16px) rotate(var(--rot,0deg))}}.double-dice-game .formula-item svg{width:100%;height:auto}.double-dice-game .topnav{position:fixed;top:12px;left:50%;transform:translate(-50%);z-index:100;width:min(calc(100% - 32px),var(--maxw));height:var(--nav-h);display:flex;align-items:center;justify-content:space-between;padding:0 1.4rem;background:#ffffffdb;backdrop-filter:blur(24px) saturate(1.6);-webkit-backdrop-filter:blur(24px) saturate(1.6);border-bottom:1px solid var(--line);border-radius:18px;box-shadow:0 14px 40px #02102414}.double-dice-game .topnav__brand{display:flex;align-items:center;gap:.65rem;font-weight:800;font-size:1.05rem;color:var(--navy);letter-spacing:.02em;text-decoration:none}.double-dice-game .topnav__brand svg{width:28px;height:28px;flex-shrink:0;color:var(--navy)}.double-dice-game .topnav__tabs{display:flex;gap:.25rem}.double-dice-game .topnav__tab{padding:.48rem 1rem;border-radius:999px;font-size:.86rem;font-weight:600;color:var(--muted);text-decoration:none;cursor:pointer;border:none;background:none;font-family:var(--font-sans);transition:color .3s var(--ease),background .3s var(--ease)}.double-dice-game .topnav__tab:hover{color:var(--navy);background:#5483b314}.double-dice-game .topnav__tab.active{color:#fff;background:var(--navy)}.double-dice-game .dashboard{max-width:var(--maxw);margin:0 auto;display:flex;gap:var(--gap);position:relative;z-index:1;min-height:calc(100vh - var(--nav-h) - 40px);overflow:visible}.double-dice-game .sidebar{width:var(--side-w);flex-shrink:0;background:var(--sidebar-bg);color:var(--sidebar-text);align-self:stretch;border-radius:24px;box-shadow:var(--shadow-sidebar)}.double-dice-game .sidebar__inner{position:sticky;top:calc(var(--nav-h) + 26px);max-height:calc(100vh - var(--nav-h) - 40px);overflow-y:auto;padding:1.6rem 0}.double-dice-game .sidebar::-webkit-scrollbar{width:0}.double-dice-game .sidebar__inner::-webkit-scrollbar{width:4px}.double-dice-game .sidebar__inner::-webkit-scrollbar-thumb{background:#0210242e;border-radius:4px}.double-dice-game .sidebar__brand{display:flex;align-items:center;gap:.75rem;padding:0 1.5rem 1.2rem;margin-bottom:1.2rem;border-bottom:1px solid var(--sidebar-border)}.double-dice-game .sidebar__brand-icon{width:38px;height:38px;border-radius:10px;background:var(--sidebar-accent);display:flex;align-items:center;justify-content:center;color:#fff}.double-dice-game .sidebar__brand-icon svg{width:24px;height:24px}.double-dice-game .sidebar__brand-title{font-size:1.05rem;font-weight:800;color:var(--sidebar-text-active);letter-spacing:.02em}.double-dice-game .sidebar__brand-sub{font-size:.72rem;color:var(--sidebar-text-muted);letter-spacing:.04em}.double-dice-game .sidebar__group{padding:0 1rem 1.4rem}.double-dice-game .sidebar__title{font-size:.68rem;font-weight:700;letter-spacing:.08em;color:var(--sidebar-text-muted);margin-bottom:.6rem;padding-left:.75rem;text-transform:uppercase}.double-dice-game .sidebar__link{display:flex;align-items:center;gap:.75rem;padding:.7rem .75rem;border-radius:10px;font-size:.9rem;color:var(--sidebar-text);text-decoration:none;transition:all .2s var(--ease);margin-bottom:.15rem;cursor:pointer}.double-dice-game .sidebar__link:hover{background:var(--sidebar-bg-hover);color:var(--sidebar-text-active)}.double-dice-game .sidebar__link.active{background:var(--sidebar-active);color:var(--sidebar-text-active);position:relative}.double-dice-game .sidebar__link.active:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:3px;height:20px;background:var(--sidebar-indicator);border-radius:0 3px 3px 0}.double-dice-game .sidebar__link svg{width:18px;height:18px;flex-shrink:0;opacity:.85}.double-dice-game .toolbar{display:flex;align-items:center;justify-content:space-between;gap:1.2rem;flex-wrap:wrap;margin-bottom:2rem;padding:1rem 1.1rem;background:var(--glass);border:1px solid var(--glass-border);border-radius:20px;backdrop-filter:blur(18px) saturate(1.4);-webkit-backdrop-filter:blur(18px) saturate(1.4);box-shadow:var(--shadow-sm)}.double-dice-game .search-box{position:relative;flex:1;max-width:360px}.double-dice-game .search-box input{width:100%;padding:.85rem 1rem .85rem 2.6rem;border:1px solid var(--line);border-radius:14px;font-size:.95rem;font-family:var(--font-sans);background:var(--glass);backdrop-filter:blur(12px);color:var(--ink);outline:none;transition:border-color .3s,box-shadow .3s,background .3s}.double-dice-game .search-box input::placeholder{color:var(--dim)}.double-dice-game .search-box input:focus{border-color:var(--steel);background:var(--glass-strong);box-shadow:0 0 0 4px #5483b31a}.double-dice-game .search-box svg{position:absolute;left:1rem;top:50%;transform:translateY(-50%);color:var(--steel);width:18px;height:18px}.double-dice-game .filter-tags{display:flex;flex-wrap:wrap;gap:.5rem}.double-dice-game .filter-tag{padding:.55rem 1rem;border-radius:999px;font-size:.85rem;font-weight:600;cursor:pointer;border:1px solid var(--line);background:var(--glass);color:var(--muted);font-family:var(--font-sans);transition:all .3s var(--ease)}.double-dice-game .filter-tag:hover{color:var(--navy);border-color:#5483b359;background:var(--glass-strong)}.double-dice-game .filter-tag.active{background:var(--navy);color:#fff;border-color:var(--navy)}.double-dice-game .sidebar__nav{list-style:none}.double-dice-game .sidebar__nav li{margin-bottom:.15rem}.double-dice-game .sidebar__nav a{display:flex;align-items:center;gap:.65rem;padding:.65rem .75rem;border-radius:10px;font-size:.88rem;color:var(--sidebar-text);text-decoration:none;transition:all .2s var(--ease)}.double-dice-game .sidebar__nav a:hover{background:var(--sidebar-bg-hover);color:var(--sidebar-text-active)}.double-dice-game .sidebar__nav a.active{background:var(--sidebar-active);color:var(--sidebar-text-active);position:relative}.double-dice-game .sidebar__nav a.active:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:3px;height:18px;background:var(--sidebar-indicator);border-radius:0 3px 3px 0}.double-dice-game .sidebar__nav a .dot{width:6px;height:6px;border-radius:50%;flex-shrink:0}.double-dice-game .sidebar__nav a .num{font-family:var(--font-serif);font-size:.74rem;color:var(--sidebar-text-muted);margin-left:auto}.double-dice-game .sidebar__nav a .label{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.double-dice-game .main{flex:1;min-width:0;padding:1rem 0 5rem}.double-dice-game .page-head{padding:1.5rem 0 3rem;border-bottom:1px solid var(--line);margin-bottom:3rem;text-align:center}.double-dice-game .page-head__eyebrow{font-size:.85rem;font-weight:700;letter-spacing:.14em;color:var(--steel);margin-bottom:1rem;text-transform:uppercase}.double-dice-game .page-head__title{font-size:3.2rem;font-weight:900;color:var(--navy);letter-spacing:-.02em;margin-bottom:1rem;line-height:1.1}.double-dice-game .page-head__desc{font-size:1.15rem;color:var(--muted);max-width:680px;margin:0 auto;line-height:1.75}.double-dice-game .rules-card{background:var(--glass);border:1px solid var(--glass-border);border-radius:24px;padding:1.8rem 2rem;margin-bottom:2.5rem;backdrop-filter:blur(18px) saturate(1.4);-webkit-backdrop-filter:blur(18px) saturate(1.4);box-shadow:var(--shadow-sm);transition:transform .5s var(--spring),box-shadow .4s ease,border-color .4s ease}.double-dice-game .rules-card:hover{box-shadow:var(--shadow-md),var(--shadow-glow);border-color:#5483b338}.double-dice-game .rules-card__head{display:flex;align-items:center;gap:.9rem;margin-bottom:1.1rem}.double-dice-game .rules-card__icon{width:42px;height:42px;border-radius:12px;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:1.4rem;font-weight:800;color:#fff;background:linear-gradient(135deg,var(--steel),var(--sky))}.double-dice-game .rules-card__title{font-size:1.35rem;font-weight:800;color:var(--navy);margin:0}.double-dice-game .rules-card__list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:.9rem 2.2rem}.double-dice-game .rules-card__list li{display:flex;gap:.7rem;align-items:baseline;font-size:.95rem;color:var(--muted);line-height:1.6}.double-dice-game .rules-card__list li b{color:var(--navy);font-weight:700;flex-shrink:0;min-width:3.4em}.double-dice-game .lab-stage{background:var(--glass);backdrop-filter:blur(20px) saturate(1.5);-webkit-backdrop-filter:blur(20px) saturate(1.5);border:1px solid var(--glass-border);border-radius:24px;overflow:hidden;box-shadow:var(--shadow-sm);margin-bottom:3.5rem;transition:transform .5s var(--ease),box-shadow .5s ease,border-color .5s ease}.double-dice-game .lab-stage:hover{box-shadow:var(--shadow-md),var(--shadow-glow);border-color:#5483b338}.double-dice-game .lab-bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem 1.2rem;border-bottom:1px solid var(--line);background:var(--glass-strong)}.double-dice-game .lab-bar__title{display:flex;align-items:center;gap:.55rem;font-size:.92rem;font-weight:800;color:var(--navy)}.double-dice-game .lab-bar__title svg{width:18px;height:18px;color:var(--steel)}.double-dice-game .lab-bar__btn{padding:.5rem 1.1rem;border-radius:999px;font-size:.84rem;font-weight:800;cursor:pointer;border:1px solid var(--line);background:var(--glass);color:var(--navy);font-family:var(--font-sans);transition:transform .4s var(--spring),background .3s ease,box-shadow .3s ease}.double-dice-game .lab-bar__btn:hover{background:var(--glass-strong);box-shadow:var(--shadow-sm)}.double-dice-game .lab-bar__btn:active{transform:scale(.85);transition:transform .08s ease}.double-dice-game #gameContainer{width:100%;min-height:600px;padding:1rem}.double-dice-game .info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.8rem;margin-bottom:3.5rem}.double-dice-game .info-card{background:var(--glass);backdrop-filter:blur(20px) saturate(1.5);-webkit-backdrop-filter:blur(20px) saturate(1.5);border:1px solid var(--glass-border);border-radius:24px;padding:1.9rem;box-shadow:var(--shadow-sm);transition:transform .5s var(--ease),box-shadow .5s ease,border-color .5s ease;position:relative;overflow:hidden}.double-dice-game .info-card:before{content:"";position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent,var(--steel),transparent);opacity:0;transition:opacity .4s}.double-dice-game .info-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-md),var(--shadow-glow);border-color:#5483b340}.double-dice-game .info-card:hover:before{opacity:1}.double-dice-game .info-card__icon{width:50px;height:50px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:1rem;margin-bottom:1.1rem;font-weight:900;font-family:var(--font-serif);color:var(--navy)}.double-dice-game .info-card__title{font-size:1.2rem;font-weight:800;color:var(--navy);margin-bottom:.7rem}.double-dice-game .info-card__formula{font-family:var(--font-serif);font-size:1rem;color:var(--steel);padding:.7rem .9rem;background:#5483b30d;border-radius:10px;margin-bottom:.9rem;text-align:center;border:1px solid var(--line);letter-spacing:.02em}.double-dice-game .info-card__desc{font-size:.96rem;color:var(--muted);line-height:1.7;margin-bottom:.6rem}.double-dice-game .info-card__list{list-style:none;font-size:.95rem;color:var(--muted);line-height:1.85}.double-dice-game .info-card__list li{display:flex;gap:.6rem;padding:.2rem 0;border-bottom:1px dashed var(--line)}.double-dice-game .info-card__list li:last-child{border-bottom:none}.double-dice-game .info-card__list b{color:var(--navy);font-weight:700;flex-shrink:0}.double-dice-game .info-card__steps{counter-reset:step;list-style:none;font-size:.95rem;color:var(--muted);line-height:1.7}.double-dice-game .info-card__steps li{position:relative;padding:.35rem 0 .35rem 2.2rem;counter-increment:step}.double-dice-game .info-card__steps li:before{content:counter(step);position:absolute;left:0;top:.3rem;width:1.55rem;height:1.55rem;border-radius:50%;background:var(--steel);color:#fff;font-weight:800;font-size:.78rem;display:flex;align-items:center;justify-content:center;font-family:var(--font-serif)}.double-dice-game .principle{background:var(--glass);backdrop-filter:blur(20px) saturate(1.5);-webkit-backdrop-filter:blur(20px) saturate(1.5);border:1px solid var(--glass-border);border-radius:24px;padding:0;box-shadow:var(--shadow-sm);margin-bottom:3.5rem;overflow:hidden;transition:box-shadow .5s ease,border-color .5s ease}.double-dice-game .principle:hover{box-shadow:var(--shadow-md),var(--shadow-glow);border-color:#5483b340}.double-dice-game .principle__toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.7rem 1.9rem;background:none;border:none;cursor:pointer;text-align:left;font-family:var(--font-sans);color:inherit;outline:none}.double-dice-game .principle__toggle:focus-visible{box-shadow:inset 0 0 0 2px #5483b366}.double-dice-game .principle__head{display:flex;align-items:center;gap:.9rem}.double-dice-game .principle__icon{width:50px;height:50px;border-radius:14px;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:1.05rem;font-weight:900;font-family:var(--font-serif);color:var(--navy);background:linear-gradient(135deg,#5483b329,#7da0ca1a)}.double-dice-game .principle__title{font-size:1.3rem;font-weight:800;color:var(--navy);margin:0}.double-dice-game .principle__hint{margin:.15rem 0 0;font-size:.86rem;color:var(--muted)}.double-dice-game .principle__chevron{width:24px;height:24px;color:var(--steel);flex-shrink:0;transition:transform .5s var(--ease)}.double-dice-game .principle.open .principle__chevron{transform:rotate(180deg)}.double-dice-game .principle__body{max-height:0;overflow:hidden;transition:max-height .6s var(--ease)}.double-dice-game .principle__inner{padding:0 1.9rem 1.9rem;margin:0 1.9rem;border-top:1px solid var(--line);font-size:.95rem;line-height:1.8;color:var(--muted)}.double-dice-game .principle__formula{font-family:var(--font-serif);font-size:1.05rem;color:var(--steel);padding:.8rem 1rem;background:#5483b30d;border:1px solid var(--line);border-radius:10px;text-align:center;margin:1.4rem 0 1rem;letter-spacing:.02em}.double-dice-game .principle__desc{font-size:.97rem;color:var(--muted);line-height:1.8;margin:0 0 .85rem}.double-dice-game .principle__desc:last-child{margin-bottom:0}.double-dice-game .section-header{margin-bottom:2rem}.double-dice-game .section-eyebrow{font-size:.75rem;font-weight:700;letter-spacing:.14em;color:var(--steel);margin-bottom:.6rem;text-transform:uppercase}.double-dice-game .section-title{font-size:1.8rem;font-weight:800;color:var(--navy);line-height:1.2}.double-dice-game .section-title span{font-weight:400;color:var(--muted)}.double-dice-game .more-games{margin-bottom:2rem}.double-dice-game .games-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.8rem}.double-dice-game .game-card{background:var(--glass);backdrop-filter:blur(20px) saturate(1.5);-webkit-backdrop-filter:blur(20px) saturate(1.5);border:1px solid var(--glass-border);border-radius:24px;overflow:hidden;cursor:pointer;box-shadow:var(--shadow-sm);transition:transform .5s var(--ease),box-shadow .5s ease,border-color .5s ease;display:flex;flex-direction:column;position:relative}.double-dice-game .game-card:before{content:"";position:absolute;inset:0;border-radius:24px;pointer-events:none;background:linear-gradient(180deg,rgba(255,255,255,.5) 0%,transparent 25%);opacity:0;transition:opacity .4s}.double-dice-game .game-card:hover:before{opacity:1}.double-dice-game .game-card:hover{transform:translateY(-8px);box-shadow:var(--shadow-lg),var(--shadow-glow);border-color:#5483b347}.double-dice-game .game-card__cover{height:130px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.double-dice-game .game-card__cover svg{width:62%;height:62%;transition:transform .5s var(--ease)}.double-dice-game .game-card:hover .game-card__cover svg{transform:scale(1.08)}.double-dice-game .game-card__body{padding:1.4rem 1.4rem 1.5rem;flex:1;display:flex;flex-direction:column}.double-dice-game .game-card__tag{display:inline-block;font-size:.72rem;font-weight:700;padding:.22rem .7rem;border-radius:999px;margin-bottom:.8rem;align-self:flex-start;letter-spacing:.05em}.double-dice-game .game-card__title{font-size:1.1rem;font-weight:800;color:var(--navy);margin-bottom:.35rem}.double-dice-game .game-card__desc{font-size:.92rem;color:var(--muted);line-height:1.6;margin-bottom:1.1rem;flex:1}.double-dice-game .game-card__footer{display:flex;align-items:center;justify-content:space-between}.double-dice-game .game-card__diff{font-size:.82rem;color:var(--steel);letter-spacing:1.5px}.double-dice-game .game-card__btn{font-size:.82rem;font-weight:800;padding:.52rem 1.15rem;border-radius:999px;border:none;background:var(--navy);color:#fff;cursor:pointer;font-family:var(--font-sans);transition:transform .4s var(--spring),background .3s ease,box-shadow .3s ease}.double-dice-game .game-card__btn:hover{background:var(--steel);box-shadow:0 0 20px #5483b34d}.double-dice-game .game-card__btn:active{transform:scale(.85);transition:transform .08s ease}.double-dice-game .cover--navy{background:linear-gradient(135deg,#0526590f,#02102408);color:var(--navy)}.double-dice-game .cover--steel{background:linear-gradient(135deg,#5483b31a,#0526590d);color:var(--steel)}.double-dice-game .cover--sky{background:linear-gradient(135deg,#7da0ca1f,#5483b30f);color:var(--steel)}.double-dice-game .cover--ice{background:linear-gradient(135deg,#c1e8ff33,#7da0ca1a);color:var(--navy)}.double-dice-game .tag--navy{background:#05265914;color:var(--navy)}.double-dice-game .tag--steel{background:#5483b31a;color:var(--steel)}.double-dice-game .tag--sky{background:#7da0ca1a;color:var(--steel)}.double-dice-game .tag--ice{background:#c1e8ff40;color:var(--navy)}.double-dice-game .dot--navy{background:var(--navy)}.double-dice-game .dot--steel{background:var(--steel)}.double-dice-game .dot--sky{background:var(--sky)}.double-dice-game .dot--ice{background:var(--ice)}.double-dice-game .footer{position:relative;z-index:1;background:linear-gradient(180deg,#fff0,#fff9 30%,#fff);color:var(--muted);padding:4rem 1.5rem 1.6rem;margin-top:2rem;border-top:1px solid var(--line)}.double-dice-game .footer__inner{max-width:var(--maxw);margin:0 auto;display:grid;grid-template-columns:1.4fr 1fr .8fr;gap:3rem;align-items:start}.double-dice-game .footer__brand{display:flex;flex-direction:column;gap:.9rem}.double-dice-game .footer__brand-top{display:flex;align-items:center;gap:.7rem}.double-dice-game .footer__brand-top svg{width:36px;height:36px;color:var(--navy)}.double-dice-game .footer__brand h3{font-size:1.3rem;font-weight:800;color:var(--navy);letter-spacing:.02em}.double-dice-game .footer__brand .brand-sub{font-size:.9rem;color:var(--steel);font-weight:600;margin-top:-.3rem}.double-dice-game .footer__brand p{font-size:.95rem;color:var(--muted);line-height:1.7;max-width:420px}.double-dice-game .footer__contact h4{font-size:.9rem;font-weight:700;margin-bottom:.8rem;color:var(--navy)}.double-dice-game .footer__contact p{font-size:.86rem;color:var(--muted);line-height:1.9}.double-dice-game .footer__qr{text-align:center}.double-dice-game .qr-placeholder{width:120px;height:120px;background:#5483b30a;border-radius:14px;margin:0 auto .6rem;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);padding:8px}.double-dice-game .footer__qr p{font-size:.78rem;color:var(--dim)}.double-dice-game .footer__bottom{max-width:var(--maxw);margin:2.5rem auto 0;padding-top:1.4rem;border-top:1px solid var(--line);text-align:center;font-size:.8rem;color:var(--dim);letter-spacing:.05em}.double-dice-game .reveal{opacity:0;transform:translateY(32px);transition:opacity .7s var(--ease),transform .7s var(--ease)}.double-dice-game .reveal.visible{opacity:1;transform:translateY(0)}.double-dice-game .mobile-bar{display:none;flex-direction:column;gap:.8rem;margin-bottom:1.5rem;padding:1rem;background:var(--glass);border:1px solid var(--glass-border);border-radius:20px;backdrop-filter:blur(18px);box-shadow:var(--shadow-sm)}.double-dice-game .mobile-bar .search-box{position:relative}.double-dice-game .mobile-bar .search-box input{width:100%;padding:.8rem 1rem .8rem 2.5rem;border:1px solid var(--line);border-radius:14px;font-size:.92rem;font-family:var(--font-sans);background:var(--glass);color:var(--ink);outline:none}.double-dice-game .mobile-bar .search-box input::placeholder{color:var(--dim)}.double-dice-game .mobile-bar .search-box svg{position:absolute;left:1rem;top:50%;transform:translateY(-50%);color:var(--steel);width:18px;height:18px}.double-dice-game .mobile-bar .filter-tags{display:flex;flex-wrap:wrap;gap:.45rem}@media(max-width:1200px){.double-dice-game .dashboard{padding:0 1rem}.double-dice-game .sidebar{display:none}.double-dice-game .main{width:100%;padding:1.5rem 0 4rem}.double-dice-game .mobile-bar{display:flex}.double-dice-game .toolbar{display:none}.double-dice-game .page-head__title{font-size:2.4rem}.double-dice-game #gameContainer{height:480px}.double-dice-game .games-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}}@media(max-width:768px){.double-dice-game .topnav{padding:0 1rem}.double-dice-game .topnav__tab{padding:.4rem .7rem;font-size:.8rem}.double-dice-game .page-head__title{font-size:1.9rem}.double-dice-game #gameContainer{height:400px}.double-dice-game .info-grid,.double-dice-game .rules-card__list{grid-template-columns:1fr}.double-dice-game .games-grid{grid-template-columns:1fr 1fr;gap:1rem}.double-dice-game .game-card__cover{height:100px}.double-dice-game .footer__inner{grid-template-columns:1fr;text-align:center;gap:2rem}}@media(max-width:480px){.double-dice-game .games-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.double-dice-game *,.double-dice-game *:before,.double-dice-game *:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}.double-dice-game *{margin:0;padding:0;box-sizing:border-box}.double-dice-game{--primary: #052659;--primary-dark: #052659;--primary-light: #7da0ca;--secondary: #5483b3;--accent: #f59e0b;--error: #ef4444;--success: #22c55e;--bg-dark: transparent;--bg-card: rgba(255,255,255,.72);--bg-card-hover: rgba(255,255,255,.88);--text-primary: #052659;--text-secondary: #54708a;--border: rgba(5,38,89,.12);--pair-color: #f59e0b;--nonpair-color: #ef4444}.double-dice-game .bg-grid{position:fixed;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:0;background-image:linear-gradient(rgba(99,102,241,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(99,102,241,.03) 1px,transparent 1px);background-size:50px 50px}.double-dice-game header{position:relative;z-index:10;padding:1.5rem 2rem .5rem;text-align:center;width:100%}.double-dice-game h1{font-size:2rem;font-weight:800;background:linear-gradient(135deg,var(--primary-light) 0%,var(--secondary) 50%,var(--accent) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:.3rem}.double-dice-game .subtitle{color:var(--text-secondary);font-size:.85rem;max-width:600px;margin:0 auto}.double-dice-game .mode-selector{position:relative;z-index:10;display:flex;gap:.8rem;justify-content:center;margin-bottom:.5rem;flex-wrap:wrap}.double-dice-game .mode-btn{padding:.7rem 1.5rem;border-radius:12px;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .3s;font-family:inherit;border:2px solid var(--border);background:var(--bg-card);color:var(--text-secondary);position:relative;overflow:hidden}.double-dice-game .mode-btn:hover{border-color:var(--primary-light);color:var(--text-primary);background:var(--bg-card-hover)}.double-dice-game .mode-btn.active{border-color:var(--primary-light);color:#fff;background:linear-gradient(135deg,#6366f133,#10b98133);box-shadow:0 0 20px #6366f133}.double-dice-game .mode-btn .mode-emoji{font-size:1.1rem;margin-right:.3rem}.double-dice-game .mode-btn .mode-badge{position:absolute;top:-1px;right:-1px;background:var(--accent);color:#000;font-size:.55rem;padding:.15rem .4rem;border-radius:0 10px 0 8px;font-weight:700}.double-dice-game .bankrupt-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#000c;z-index:9999;display:flex;align-items:center;justify-content:center;animation:fadeIn .3s ease}.double-dice-game .bankrupt-overlay.hidden{display:none}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.double-dice-game .bankrupt-dialog{background:var(--bg-card);border-radius:20px;padding:2rem;text-align:center;border:2px solid var(--error);box-shadow:0 0 60px #ef44444d;max-width:420px;animation:shakeIn .5s ease}@keyframes shakeIn{0%{transform:scale(.8) rotate(-5deg);opacity:0}50%{transform:scale(1.05) rotate(2deg)}to{transform:scale(1) rotate(0);opacity:1}}.double-dice-game .bankrupt-emoji{font-size:4rem;margin-bottom:.5rem}.double-dice-game .bankrupt-title{font-size:1.5rem;font-weight:800;color:var(--error);margin-bottom:.5rem}.double-dice-game .bankrupt-stats{color:var(--text-secondary);font-size:.85rem;line-height:1.8;margin-bottom:1.2rem}.double-dice-game .bankrupt-stats span{color:var(--text-primary);font-weight:600}.double-dice-game .bankrupt-btn{padding:.7rem 2rem;border-radius:10px;font-size:.9rem;font-weight:600;cursor:pointer;border:none;font-family:inherit;background:linear-gradient(135deg,var(--primary) 0%,var(--primary-dark) 100%);color:#fff;transition:all .2s}.double-dice-game .bankrupt-btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px #6366f14d}.double-dice-game .balance-display{position:relative;z-index:10;display:flex;align-items:center;gap:.5rem;justify-content:center;margin-bottom:.8rem;background:var(--bg-card);border:1px solid var(--border);border-radius:12px;padding:.6rem 1.2rem;width:fit-content;margin-left:auto;margin-right:auto}.double-dice-game .balance-label{font-size:.75rem;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px}.double-dice-game .balance-value{font-size:1.3rem;font-weight:700;font-family:JetBrains Mono,monospace}.double-dice-game .balance-value.healthy{color:var(--success)}.double-dice-game .balance-value.warning{color:var(--accent)}.double-dice-game .balance-value.danger{color:var(--error)}.double-dice-game .container{position:relative;z-index:10;max-width:1200px;width:100%;margin:0 auto;padding:0 1.5rem 1.5rem;display:grid;grid-template-columns:1fr 380px;gap:1.5rem;align-items:start}@media(max-width:900px){.double-dice-game .container{grid-template-columns:1fr;justify-items:center}}.double-dice-game .left-section{display:flex;flex-direction:column;gap:1rem;width:100%}.double-dice-game .panel-card{background:var(--bg-card);border-radius:18px;padding:1.2rem;border:1px solid var(--border);box-shadow:0 0 0 1px var(--border),0 20px 40px -12px #00000080}.double-dice-game .panel-title{font-size:.95rem;font-weight:600;margin-bottom:1rem;display:flex;align-items:center;gap:.5rem}.double-dice-game .panel-title:before{content:"";width:4px;height:16px;background:linear-gradient(180deg,var(--primary) 0%,var(--secondary) 100%);border-radius:2px}.double-dice-game .rules-box{background:#6366f10d;border-radius:12px;padding:1rem;font-size:.82rem;line-height:1.7;color:var(--text-secondary);border:1px solid rgba(99,102,241,.15)}.double-dice-game .rules-box strong{color:var(--text-primary)}.double-dice-game .rules-box .highlight{color:var(--pair-color);font-weight:600}.double-dice-game .rules-box .danger{color:var(--error);font-weight:600}.double-dice-game .rules-box .success{color:var(--success);font-weight:600}.double-dice-game .rules-highlight-box{background:linear-gradient(135deg,#f59e0b14,#22c55e0f);border:1px solid rgba(245,158,11,.2);border-radius:10px;padding:.8rem;margin-top:.8rem;text-align:center}.double-dice-game .rules-highlight-box .big-number{font-size:1.6rem;font-weight:800;color:var(--accent);font-family:JetBrains Mono,monospace}.double-dice-game .rules-highlight-box .desc{font-size:.75rem;color:var(--text-secondary);margin-top:.2rem}.double-dice-game .dice-area{display:flex;flex-direction:column;align-items:center;gap:1rem;padding:1rem}.double-dice-game .dice-container{display:flex;gap:1.2rem;justify-content:center;align-items:center;min-height:100px;flex-wrap:wrap}.double-dice-game .dice{width:72px;height:72px;background:linear-gradient(135deg,#e8eef6,#dbe6f2);border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:2.2rem;font-weight:700;color:var(--text-primary);border:2px solid var(--border);box-shadow:0 8px 24px #0006;transition:all .3s ease;position:relative}.double-dice-game .dice.rolling{animation:diceRoll .5s ease-in-out}.double-dice-game .dice.pair{border-color:var(--pair-color);box-shadow:0 0 20px #fbbf244d,0 8px 24px #0006}@keyframes diceRoll{0%{transform:rotate(0) scale(1)}25%{transform:rotate(90deg) scale(1.1)}50%{transform:rotate(180deg) scale(1)}75%{transform:rotate(270deg) scale(1.1)}to{transform:rotate(360deg) scale(1)}}.double-dice-game .dice-label{font-size:.7rem;color:var(--text-secondary);text-align:center;margin-top:.3rem}.double-dice-game .result-info{text-align:center;font-size:1rem;font-weight:600;min-height:1.8rem}.double-dice-game .result-info.pair-win{color:var(--pair-color)}.double-dice-game .result-info.normal{color:var(--text-primary)}.double-dice-game .button-group{display:grid;grid-template-columns:repeat(2,1fr);gap:.6rem}.double-dice-game .btn{padding:.7rem .3rem;border:none;border-radius:10px;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .2s;font-family:inherit}.double-dice-game .btn-primary{background:linear-gradient(135deg,var(--primary) 0%,var(--primary-dark) 100%);color:#fff}.double-dice-game .btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 20px #6366f14d}.double-dice-game .btn-primary:disabled{opacity:.5;cursor:not-allowed;transform:none}.double-dice-game .btn-secondary{background:var(--bg-card-hover);color:var(--text-primary);border:1px solid var(--border)}.double-dice-game .btn-secondary:hover{background:#ffffff0d}.double-dice-game .btn-danger{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff}.double-dice-game .btn-full{grid-column:span 2;padding:.8rem;font-size:.9rem}.double-dice-game .matrix-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:4px;margin-top:.8rem}.double-dice-game .matrix-cell{aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--bg-card-hover);border-radius:8px;font-size:.7rem;font-weight:500;border:1px solid var(--border);transition:all .2s;cursor:default;padding:2px}.double-dice-game .matrix-cell:hover{background:#6366f126;transform:scale(1.05)}.double-dice-game .matrix-cell.pair{background:#fbbf2426;border-color:var(--pair-color);color:var(--pair-color)}.double-dice-game .matrix-cell.active{background:var(--primary);color:#fff;border-color:var(--primary-light);box-shadow:0 0 12px #6366f180;transform:scale(1.1);z-index:2}.double-dice-game .matrix-bonus{font-size:.55rem;color:var(--success);margin-top:1px}.double-dice-game .prob-bar{display:flex;align-items:center;gap:.5rem;margin:.3rem 0;font-size:.75rem}.double-dice-game .prob-label{width:60px;color:var(--text-secondary);font-family:JetBrains Mono,monospace}.double-dice-game .prob-track{flex:1;height:8px;background:var(--bg-dark);border-radius:4px;overflow:hidden}.double-dice-game .prob-fill{height:100%;border-radius:4px;transition:width .5s ease;background:linear-gradient(90deg,var(--primary) 0%,var(--secondary) 100%)}.double-dice-game .prob-fill.pair-peak{background:linear-gradient(90deg,var(--pair-color) 0%,var(--accent) 100%)}.double-dice-game .prob-value{width:55px;text-align:right;font-family:JetBrains Mono,monospace;font-size:.7rem;color:var(--text-secondary)}.double-dice-game .stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.7rem}.double-dice-game .stat-item{background:#ffffff05;border-radius:12px;padding:.8rem;text-align:center;border:1px solid var(--border)}.double-dice-game .stat-label{font-size:.65rem;color:var(--text-secondary);text-transform:uppercase;margin-bottom:.3rem;letter-spacing:.5px}.double-dice-game .stat-value{font-size:1.2rem;font-weight:700;font-family:JetBrains Mono,monospace}.double-dice-game .stat-value.profit{color:var(--success)}.double-dice-game .stat-value.loss{color:var(--error)}.double-dice-game .stat-value.neutral{color:var(--text-primary)}.double-dice-game .stat-value.pair{color:var(--pair-color)}.double-dice-game .big-stat{grid-column:span 2;background:linear-gradient(135deg,#6366f114,#10b98114);padding:1rem}.double-dice-game .big-stat .stat-value{font-size:2rem;font-weight:800}.double-dice-game .big-stat.positive{background:linear-gradient(135deg,#22c55e1a,#10b98114)}.double-dice-game .big-stat.negative{background:linear-gradient(135deg,#ef44441a,#dc262614)}.double-dice-game .big-stat.positive .stat-value{background:linear-gradient(135deg,var(--success) 0%,var(--secondary) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.double-dice-game .big-stat.negative .stat-value{background:linear-gradient(135deg,var(--error) 0%,#dc2626 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.double-dice-game .history-list{max-height:220px;overflow-y:auto;display:flex;flex-direction:column;gap:.3rem;margin-top:.5rem}.double-dice-game .history-item{display:flex;justify-content:space-between;align-items:center;padding:.5rem .7rem;background:var(--bg-card-hover);border-radius:8px;font-size:.78rem;border:1px solid var(--border)}.double-dice-game .history-item.pair{border-left:3px solid var(--pair-color)}.double-dice-game .history-dice{font-family:JetBrains Mono,monospace;font-weight:600}.double-dice-game .history-detail{color:var(--text-secondary);font-size:.65rem;margin-left:.3rem}.double-dice-game .history-gain{font-weight:700;font-family:JetBrains Mono,monospace}.double-dice-game .history-gain.positive{color:var(--success)}.double-dice-game .history-gain.negative{color:var(--error)}.double-dice-game .tip-box{background:#f59e0b0f;border:1px solid rgba(245,158,11,.15);border-radius:10px;padding:.8rem;font-size:.75rem;color:var(--text-secondary);line-height:1.6;margin-top:.6rem}.double-dice-game .tip-box strong{color:var(--accent)}.double-dice-game .math-box{background:#10b9810d;border:1px solid rgba(16,185,129,.15);border-radius:10px;padding:.9rem;font-size:.78rem;line-height:1.7;color:var(--text-secondary);font-family:JetBrains Mono,monospace}.double-dice-game .math-box .eq{color:var(--text-primary);margin:.2rem 0}.double-dice-game .math-box .ans{color:var(--accent);font-weight:700}@media(max-width:640px){.double-dice-game .container{padding:0 1rem 1rem}.double-dice-game .stats-grid{grid-template-columns:1fr}.double-dice-game .big-stat{grid-column:span 1}.double-dice-game .dice{width:60px;height:60px;font-size:1.8rem}.double-dice-game .matrix-grid{grid-template-columns:repeat(6,1fr);gap:2px}.double-dice-game .matrix-cell{font-size:.55rem}.double-dice-game h1{font-size:1.5rem}}.double-dice-game .duizi-game{color:var(--text-primary)}.double-dice-game #gameContainer{height:auto!important;min-height:0;padding:18px}.double-dice-game .duizi-game{color:#052659;--success:#247e73;--error:#b65452;--accent:#c48b3b;--pair-color:#b78532}.double-dice-game .duizi-game .container{width:100%;max-width:none;padding:0;grid-template-columns:minmax(0,1.6fr) minmax(230px,1fr);gap:18px}.double-dice-game .duizi-game .panel-card{background:#ffffffd1;border:1px solid #d6e5f0;box-shadow:0 8px 24px #0526590b;border-radius:18px;min-width:0}.double-dice-game .duizi-game .control-panel{min-width:0;width:100%}.double-dice-game .duizi-game .mode-selector{flex-wrap:wrap}.double-dice-game .duizi-game .mode-btn{color:#5483b3;background:#edf5fb;border:1px solid #c5d9e9}.double-dice-game .duizi-game .mode-btn.active{color:#fff;background:#052659;box-shadow:0 6px 18px #05265916}.double-dice-game .duizi-game .mode-badge{background:#c1e8ff;color:#052659}.double-dice-game .duizi-game .balance-display{background:#edf5fb;border:1px solid #c5d9e9;box-shadow:none}.double-dice-game .duizi-game .dice-area{padding:0;background:transparent}.double-dice-game .duizi-game .dice-container{gap:12px;flex-wrap:wrap;margin:14px 0}.double-dice-game .duizi-game .dice{width:58px;height:48px;font-size:22px;border-radius:12px;background:#edf5fb;color:#052659;border:1px solid #c5d9e9;box-shadow:none}.double-dice-game .duizi-game .dice.pair{background:#fff3d9;border-color:#c48b3b;color:#9c691a}.double-dice-game .duizi-game #sumDisplay{color:#fff;font-size:18px;min-width:64px}.double-dice-game .duizi-game .dice-label{color:#5483b3;font-size:11px}.double-dice-game .duizi-game .btn{border-radius:12px;box-shadow:none;font-family:inherit}.double-dice-game .duizi-game .btn-primary{background:#052659;color:#fff}.double-dice-game .duizi-game .btn-secondary{background:#e7f1f9;color:#052659;border:1px solid #c5d9e9}.double-dice-game .duizi-game .btn-danger{background:#f7eded;color:#a24d4b;border:1px solid #ebd0ce}.double-dice-game .duizi-game .stat-item,.double-dice-game .duizi-game .math-box,.double-dice-game .duizi-game .rules-box,.double-dice-game .duizi-game .history-item{background:#f2f7fb;box-shadow:none}.double-dice-game .duizi-game .matrix-cell{background:#edf5fb;color:#052659}.double-dice-game .duizi-game .matrix-cell.pair{background:#fff2d9;color:#96661f}.double-dice-game .duizi-game .matrix-cell.active{outline:2px solid #5483b3;box-shadow:0 0 0 3px #c1e8ff}.double-dice-game .duizi-game .result-info{min-height:48px;font-size:13px;color:#052659}.double-dice-game .duizi-game .throw-note{font-size:11px;color:#688298;line-height:1.7;margin:8px 0;text-align:center}.double-dice-game #throwCanvas{width:100%;height:auto;display:block;border-radius:16px;border:1px solid #c5d9e9}.double-dice-game .duizi-game button:focus-visible{outline:3px solid #7da0ca;outline-offset:3px}@media(max-width:1150px){.double-dice-game .duizi-game .container{grid-template-columns:1fr}.double-dice-game .duizi-game .control-panel{width:100%}}@media(max-width:520px){.double-dice-game #gameContainer{padding:8px}.double-dice-game .duizi-game .panel-card{padding:12px}.double-dice-game .duizi-game .dice-container{gap:8px}.double-dice-game .duizi-game .mode-btn{font-size:12px}}.double-dice-game{--font-sans:"Microsoft YaHei","PingFang SC",system-ui,-apple-system,"Segoe UI",sans-serif;--font-mono:var(--font-sans)}.double-dice-game body,.double-dice-game button,.double-dice-game input,.double-dice-game select,.double-dice-game textarea{font-family:var(--font-sans)}.double-dice-game h1,.double-dice-game h2,.double-dice-game h3,.double-dice-game h4,.double-dice-game .panel-title,.double-dice-game .stat-value,.double-dice-game .balance-value,.double-dice-game .dice,.double-dice-game .history-dice,.double-dice-game .matrix-bonus,.double-dice-game .btn,.double-dice-game .mode-btn,.double-dice-game .info-card__formula,.double-dice-game .principle__formula{font-family:var(--font-sans)!important;letter-spacing:0}.double-dice-game .page-head__title{font-size:clamp(28px,4vw,44px);font-weight:750;line-height:1.25;background:none;-webkit-text-fill-color:#052659;color:#052659}.double-dice-game .page-head__desc{font-size:16px;line-height:1.85}.double-dice-game .duizi-game{font-size:14px;line-height:1.7}.double-dice-game .duizi-game .panel-title{font-size:16px;font-weight:700;line-height:1.5}.double-dice-game .duizi-game .rules-box,.double-dice-game .duizi-game .math-box,.double-dice-game .duizi-game .tip-box,.double-dice-game .duizi-game .history-item{font-size:14px;line-height:1.8}.double-dice-game .duizi-game .btn,.double-dice-game .duizi-game .mode-btn{font-size:14px;font-weight:600;line-height:1.5}.double-dice-game .duizi-game .stat-label,.double-dice-game .duizi-game .dice-label,.double-dice-game .duizi-game .prob-label,.double-dice-game .duizi-game .prob-value,.double-dice-game .duizi-game .history-detail{font-size:12px;line-height:1.6}.double-dice-game .duizi-game .stat-value{font-size:24px;font-weight:700;line-height:1.35}.double-dice-game .duizi-game .balance-value{font-size:30px;font-weight:700}.double-dice-game .duizi-game .stat-value,.double-dice-game .duizi-game .balance-value,.double-dice-game .duizi-game .dice,.double-dice-game .duizi-game .matrix-bonus,.double-dice-game .duizi-game .history-gain{font-variant-numeric:tabular-nums}.double-dice-game .duizi-game .throw-note{font-size:12px;line-height:1.75}.double-dice-game .duizi-game .result-info{font-size:14px;font-weight:500}.double-dice-game .duizi-game .matrix-cell{font-size:13px}.double-dice-game .duizi-game .matrix-bonus{font-size:12px}.double-dice-game .duizi-game .balance-display{padding:12px 18px;gap:12px;align-items:center}.double-dice-game .duizi-game .balance-label{font-size:14px;font-weight:500}.double-dice-game .duizi-game .balance-value{font-size:21px!important;font-weight:650;line-height:1.4}.double-dice-game .duizi-game .panel-title{font-size:15px;font-weight:650;margin-bottom:12px}.double-dice-game .duizi-game .stat-value{font-size:21px;font-weight:650}.double-dice-game .duizi-game .big-stat .stat-value{font-size:25px}.double-dice-game .duizi-game .stat-label{font-size:12px;color:#597087}.double-dice-game .duizi-game .rules-box,.double-dice-game .duizi-game .math-box,.double-dice-game .duizi-game .tip-box{font-size:13px;line-height:1.85}.double-dice-game .duizi-game .history-item{font-size:13px}.double-dice-game .duizi-game .history-dice{font-size:14px;font-weight:600}.double-dice-game .duizi-game .history-detail{font-size:12px}.double-dice-game .duizi-game .btn,.double-dice-game .duizi-game .mode-btn{font-size:13px;font-weight:600;line-height:1.6}.double-dice-game .duizi-game .result-info{font-size:13px;line-height:1.8}.double-dice-game .duizi-game .dice{font-size:21px}.double-dice-game .duizi-game #sumDisplay{font-size:18px}.double-dice-game .duizi-game .throw-note{font-size:12px;color:#597087}.double-dice-game .duizi-game .math-box .eq{font-size:13px;line-height:1.85}.double-dice-game .duizi-game .math-box .ans{font-weight:650}@media(max-width:520px){.double-dice-game .duizi-game .balance-value{font-size:19px!important}.double-dice-game .duizi-game .stat-value{font-size:19px}.double-dice-game .duizi-game .big-stat .stat-value{font-size:23px}}.double-dice-game .duizi-game .rules-highlight-box .big-number{font-family:Microsoft YaHei,微软雅黑,sans-serif!important;font-size:18px!important;font-weight:600;line-height:1.5}.double-dice-game .duizi-game #mathBox,.double-dice-game .duizi-game #mathBox *{font-family:Microsoft YaHei,微软雅黑,sans-serif!important;font-style:normal}.double-dice-game .duizi-game .stats-grid .stat-label{font-family:Microsoft YaHei,微软雅黑,sans-serif!important;font-size:13px!important;font-weight:500;line-height:1.6}.double-dice-game .duizi-game .stats-grid .stat-value,.double-dice-game .duizi-game .stats-grid .big-stat .stat-value{font-family:Microsoft YaHei,微软雅黑,sans-serif!important;font-size:22px!important;font-weight:600;line-height:1.45;font-variant-numeric:tabular-nums}.double-dice-game .duizi-game .balance-display .balance-value{font-size:17px!important;line-height:1.5}.double-dice-game .duizi-game .history-item .history-dice,.double-dice-game .duizi-game .history-item .history-detail,.double-dice-game .duizi-game .history-item .history-gain{font-family:Microsoft YaHei,微软雅黑,sans-serif!important;font-size:13px!important;font-weight:500;line-height:1.7;font-variant-numeric:tabular-nums}.double-dice-game .theory-integrated{font-family:Microsoft YaHei,sans-serif;font-size:14px;line-height:1.9;color:#38546f}.double-dice-game .theory-step{padding:20px 0;border-bottom:1px solid #dce7f0}.double-dice-game .theory-step:last-child{border-bottom:0}.double-dice-game .theory-step h3{font-size:17px;color:#052659;margin-bottom:10px}.double-dice-game .theory-step p+p{margin-top:10px}.double-dice-game .theory-scroll{overflow-x:auto}.double-dice-game .theory-table{width:100%;border-collapse:collapse;margin:12px 0;font-size:13px}.double-dice-game .theory-table th,.double-dice-game .theory-table td{padding:10px 12px;border:1px solid #dce7f0;text-align:left}.double-dice-game .theory-table th{background:#eaf3fa;color:#052659}.double-dice-game .theory-integrated .prob-value{width:125px;flex-shrink:0;font-size:12px}.double-dice-game .theory-integrated .math-box,.double-dice-game .theory-integrated .math-box *{font-family:Microsoft YaHei,sans-serif!important;font-size:14px!important;line-height:1.9}.double-dice-game .duizi-game .control-panel .matrix-cell{min-width:0;padding:6px 2px}.double-dice-game .duizi-game .control-panel .matrix-grid{gap:5px}.double-dice-game .theory-integrated .panel-card{box-shadow:none}@media(max-width:600px){.double-dice-game .theory-integrated{margin:0 12px;padding:0 6px 18px}.double-dice-game .theory-step h3{font-size:15px}.double-dice-game .theory-table th,.double-dice-game .theory-table td{padding:7px}.double-dice-game .theory-integrated .prob-value{width:106px;font-size:11px}}.double-dice-game #formulaBg,.double-dice-game .formula-bg{display:none!important}.double-dice-game .rules-intro{margin:0 0 16px;color:#597087;font-size:14px}.double-dice-game #rules .mode-selector{display:flex;gap:10px;margin:0 0 16px;flex-wrap:wrap}.double-dice-game #rules .mode-btn{padding:11px 20px;border-radius:12px;border:1px solid #c5d9e9;background:#edf5fb;color:#052659;cursor:pointer;font-family:inherit;font-size:14px;font-weight:600}.double-dice-game #rules .mode-btn.active{background:#052659;color:#fff}.double-dice-game #rules .rules-box{background:#f2f7fb;border-radius:12px;padding:18px 22px;font-size:14px;line-height:1.85}.double-dice-game .rules-footnote,.double-dice-game .play-note{font-size:12px;color:#688298;line-height:1.8;margin:12px 0 0}.double-dice-game .duizi-game .play-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,1fr);gap:20px;align-items:stretch}.double-dice-game .duizi-game .panel-card{padding:22px;margin:0}.double-dice-game .play-panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.double-dice-game .duizi-game .panel-title{margin:0 0 16px;font-size:17px}.double-dice-game .play-panel-head .panel-title{margin:0}.double-dice-game .duizi-game .balance-display{margin:0;padding:8px 14px;text-align:right;border-radius:12px}.double-dice-game .duizi-game .balance-label{display:block;font-size:11px}.double-dice-game .duizi-game .balance-value{font-size:24px}.double-dice-game .duizi-game #sumDisplay{background:#052659!important;color:#fff;min-width:76px}.double-dice-game .duizi-game .dice-container{margin:12px 0 8px;min-height:76px}.double-dice-game .duizi-game .dice-area{gap:8px}.double-dice-game .duizi-game .result-info{min-height:46px;margin:8px 0}.double-dice-game .duizi-game .button-group{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.double-dice-game .duizi-game .button-group .btn-full{grid-column:1/-1}.double-dice-game .duizi-game .button-group .btn{padding:10px 4px}.double-dice-game .matrix-caption{font-size:12px;color:#688298;line-height:1.7;margin:-5px 0 18px}.double-dice-game .duizi-game .matrix-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}.double-dice-game .duizi-game .matrix-cell{min-width:0;min-height:57px;padding:8px 2px;font-size:11px;border-radius:9px;display:flex;flex-direction:column;justify-content:center}.double-dice-game .duizi-game .matrix-bonus{font-size:14px;margin-top:3px}.double-dice-game .matrix-key{display:flex;gap:18px;justify-content:center;margin-top:18px;color:#688298;font-size:12px}.double-dice-game .duizi-game .session-stats,.double-dice-game .duizi-game .recent-panel{margin-top:20px}.double-dice-game .duizi-game .stats-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.double-dice-game .duizi-game .stat-item{padding:15px 6px;text-align:center;min-width:0}.double-dice-game .duizi-game .stat-value{font-size:21px;overflow-wrap:anywhere}.double-dice-game .duizi-game .history-list{max-height:220px}.double-dice-game .theory-step h4{font-size:15px;margin:20px 0 10px}.double-dice-game .theory-integrated .math-box{margin:12px 0;padding:16px 20px}@media(max-width:1050px){.double-dice-game .duizi-game .play-grid{grid-template-columns:minmax(0,1fr)}.double-dice-game .duizi-game .stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:520px){.double-dice-game .duizi-game .panel-card{padding:15px}.double-dice-game .duizi-game .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.double-dice-game .duizi-game .matrix-grid{gap:4px}.double-dice-game .duizi-game .matrix-cell{min-height:45px}.double-dice-game .duizi-game .matrix-bonus{font-size:13px}.double-dice-game .play-panel-head{align-items:flex-start}.double-dice-game #rules .rules-box{padding:14px}.double-dice-game .topnav__brand{white-space:nowrap;font-size:14px;gap:6px}.double-dice-game .topnav__tab{white-space:nowrap;padding:8px 10px;font-size:12px}.double-dice-game .topnav__tab:first-child{display:none}}.double-dice-game .duizi-game .button-group{grid-template-columns:repeat(2,minmax(0,1fr))}.double-dice-game .batch-progress{margin:8px 0 16px;padding:12px 14px;background:#edf5fb;border-radius:12px}.double-dice-game .batch-progress[hidden]{display:none}.double-dice-game .progress-heading{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#38546f;margin-bottom:7px}.double-dice-game #batchMeter{display:block;width:100%;height:9px;border:0;border-radius:8px;overflow:hidden;appearance:none}.double-dice-game #batchMeter::-webkit-progress-bar{background:#d6e5f0}.double-dice-game #batchMeter::-webkit-progress-value{background:#267a9e;transition:width .2s ease}.double-dice-game button:disabled{opacity:.55;cursor:wait!important}.double-dice-game .duizi-game .balance-chart-panel{margin-top:20px}.double-dice-game .chart-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.double-dice-game .chart-heading .panel-title{margin-bottom:0}.double-dice-game #chartCurrent{font-size:13px;color:#267a9e;font-weight:600}.double-dice-game .chart-note{font-size:12px;color:#688298;line-height:1.8;margin:12px 0}.double-dice-game .balance-chart{width:100%;min-width:0}.double-dice-game .balance-chart svg{display:block;width:100%;height:auto;font-family:Microsoft YaHei,sans-serif;font-size:11px;fill:#688298}.double-dice-game img.enjoy-math-image{display:inline-block!important;max-width:none!important;min-width:0!important;margin:0 .08em!important;object-fit:contain;flex-shrink:0;border:0!important;font-size:1em!important}.double-dice-game .enjoy-math-wrap{display:inline-block;max-width:100%;overflow-x:auto;overflow-y:hidden;white-space:nowrap;line-height:1.5}.double-dice-game .enjoy-math-block{font-family:inherit!important;font-size:1em!important;line-height:2.15!important;overflow-x:auto!important;max-width:100%}.double-dice-game .theory-equations.enjoy-math-block{display:block!important}.double-dice-game .enjoy-math-block img.enjoy-math-image{margin:.18em .08em!important}.double-dice-game .formula-item img.enjoy-math-image{margin:0!important}.double-dice-game .math,.double-dice-game .theory-math,.double-dice-game .math-cell{font-size:1em!important;font-style:normal!important}.double-dice-game .reveal{opacity:1!important;transform:none!important}
