/* Entry format campaign and a centered duel identity. */
body[data-page=play] .centered-hero{display:grid;place-items:center;min-height:224px;margin-bottom:18px;border:1px solid #465147;background:radial-gradient(ellipse at 50% 80%,#34463366,transparent 66%),linear-gradient(115deg,#17201e,#151d28 48%,#18232b);box-shadow:0 18px 60px #0002,inset 0 1px #ffffff08}
body[data-page=play] .centered-hero.dota{border-color:#564347;background:radial-gradient(ellipse at 50% 75%,#58343a55,transparent 65%),linear-gradient(115deg,#201c25,#1b1a23 48%,#281e26)}
.centered-hero:after{inset:auto;width:68%;height:1px;left:16%;bottom:0;border:0;background:linear-gradient(90deg,transparent,#b5d78366,transparent);box-shadow:none;transform:none}
.centered-hero .quick-copy{width:100%;padding:25px 24px 26px;text-align:center;pointer-events:none}
.centered-hero .quick-copy .eyebrow{justify-content:center;color:#a4b8b1;font-size:9px;letter-spacing:.2em;margin:0}
body[data-page=play] .centered-hero .quick-copy h1{font-family:'Barlow Condensed',Impact,sans-serif;font-size:132px;line-height:.92;letter-spacing:-.045em;font-weight:700;margin:12px auto 8px;max-width:none;color:#eaf0ee;text-shadow:0 8px 40px #0004}
.centered-hero .quick-copy .hero-mode-label{font-size:19px!important;line-height:1.15;color:#b8d98c!important;letter-spacing:.2em}
.centered-hero.dota .quick-copy .hero-mode-label{color:#d9a49d!important}
.centered-hero .quick-art{z-index:0!important;opacity:.22!important;filter:brightness(.65) saturate(.6)!important;mask-image:linear-gradient(90deg,transparent,#000 45%);-webkit-mask-image:linear-gradient(90deg,transparent,#000 45%)}
.centered-hero .quick-art.cs-art{height:190%;width:34%;right:-3%;bottom:-42%}
.centered-hero .quick-art.dota-art{width:38%;height:220%;right:-5%;top:-66%}
.hero-ambient{position:absolute;left:-10%;top:-60%;width:48%;height:230%;border-right:1px solid #95b0a412;background:linear-gradient(95deg,#9baa8012,transparent);transform:rotate(30deg);pointer-events:none;z-index:0}
.hero-format-switch{position:absolute;z-index:3;top:17px;right:18px;display:inline-flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid #50625b80;border-radius:7px;background:#17221f9c;color:#b5c6bd;font-size:10px;font-weight:650;line-height:1.2;cursor:pointer}
.hero-format-switch svg{width:13px;height:13px;flex:none}.hero-format-switch svg:last-child{width:12px;opacity:.65}
.hero-format-switch:hover{border-color:#8ca36d;color:#e0eacf;background:#29382a}
.hero-format-note{position:absolute;z-index:2;left:20px;bottom:17px;display:flex;align-items:center;gap:9px;font-size:9px;color:#82978e;letter-spacing:.02em}
.hero-format-note b{color:#c4d4cb;font-size:10px;font-weight:700}
.duel-custom-entry{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #374850;border-radius:8px;padding:8px 11px;margin:11px 0 13px;background:#151e25;color:#b0c0c7;font-size:10px;font-weight:650}
.duel-custom-entry>span:first-child{display:flex;flex-direction:column;gap:5px}.duel-custom-entry small{color:#718991;font-size:9px;font-weight:500}
.duel-entry-control{display:flex;align-items:center;gap:5px;width:82px;color:#8eaaa1}.duel-entry-control b{font-size:16px;font-weight:500}
.duel-entry-control input{box-sizing:border-box;width:100%;min-width:0;border:0;border-bottom:1px solid #566f62;border-radius:0;background:transparent;padding:5px 1px;color:#d7e5d8;font:800 19px Manrope,Arial,sans-serif;text-align:right;outline-offset:4px;appearance:textfield;-moz-appearance:textfield}
.duel-entry-control input::-webkit-outer-spin-button,.duel-entry-control input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.duel-entry-control input[aria-invalid=true]{border-color:#b96765;color:#dda9a2}
body[data-page=play] .cash-card{background:radial-gradient(ellipse at 90% 0,#7f963b12,transparent 55%),#192128;border-color:#44534a;box-shadow:0 12px 40px #0002,inset 0 1px #c8e08a0b}
body[data-page=play] .cash-result{background:linear-gradient(125deg,#2d3b2a,#223437);border-color:#4a5a40;border-radius:11px;box-shadow:inset 0 1px #c6e28c0d}
body[data-page=play] .cash-result>strong{font-family:'Barlow Condensed',Impact,sans-serif;font-size:69px;line-height:1;color:#d1e7a5;letter-spacing:-.03em}
body[data-page=play] .cash-head>span{font-size:8px;letter-spacing:.06em;color:#809586}
body[data-page=play] .compact-tabs{border-radius:11px;padding:5px;box-shadow:inset 0 1px #ffffff04}
body[data-page=play] .compact-tabs .mode-tab{border-radius:7px}

/* A graphic campaign modal, with two genuine format actions. */
#modal[data-kind=format-choice]{padding:25px;background:#05080dde;backdrop-filter:blur(14px)}
#modal[data-kind=format-choice] .modal{position:relative;width:min(910px,calc(100vw - 42px));max-width:910px;max-height:calc(100dvh - 50px);padding:0;border-radius:22px;border:1px solid #4c4b54;background:#111820;box-shadow:0 40px 160px #000c,0 0 100px #773b4d13;scrollbar-width:thin;scrollbar-color:#5e4a56 #151c24;animation:format-reveal .24s ease-out}
#modal[data-kind=format-choice] .close-modal{z-index:5;top:15px;right:15px;width:32px;height:32px;border-radius:50%;background:#20242a;border:1px solid #41444b;color:#c0c6c9;font-size:23px}
#modal[data-kind=format-choice] .close-modal:hover{background:#343139;border-color:#807079;color:#fff}
.format-choice-shell{position:relative;isolation:isolate;padding:28px 33px 18px;background:radial-gradient(ellipse at 88% 15%,#9d3a561b,transparent 50%),radial-gradient(ellipse at 12% 70%,#648c9512,transparent 50%);overflow:hidden}
.format-choice-shell:before{content:'';position:absolute;z-index:-1;inset:0;pointer-events:none;background-image:linear-gradient(#ffffff03 1px,transparent 1px),linear-gradient(90deg,#ffffff03 1px,transparent 1px);background-size:46px 46px;mask-image:linear-gradient(#000,transparent 70%)}
.format-brand{display:flex;align-items:center;gap:8px;width:max-content;color:#ecf0f2;font-size:17px;line-height:1;font-weight:900;letter-spacing:-.06em}
.format-brand>span:last-child{display:flex;align-items:center;gap:8px}
.format-brand small{border-left:1px solid #546166;padding-left:8px;font-size:9px;line-height:16px;font-weight:650;letter-spacing:.09em;color:#819a9c}
.format-brand-mark{position:relative;display:block;color:#aed7da;font-size:31px;font-style:italic;font-weight:900;letter-spacing:-.18em;transform:skew(-10deg);margin-right:5px}
.format-brand-mark>span{position:absolute;right:-6px;top:-5px;font-size:15px}
.format-heading{text-align:center;margin:14px 0 23px}
.format-kicker{display:block;margin-bottom:11px;color:#8f9caa;font-size:9px;letter-spacing:.2em;font-weight:750}
#modal[data-kind=format-choice] .format-heading h2{font-family:'Barlow Condensed',Impact,sans-serif;font-size:53px;line-height:1.05;letter-spacing:-.015em;font-weight:650;margin:0;color:#e7ebed}
#modal[data-kind=format-choice] .format-heading p{margin:11px 0 0;color:#9caeb6;font-size:13px;line-height:1.5}
.format-options{display:grid;grid-template-columns:1.17fr 1fr;gap:15px}
.format-option{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;min-width:0;min-height:285px;padding:20px 22px 17px;border:1px solid #4a434b;border-radius:14px;cursor:pointer;text-align:left;color:#d9e4e7;background:#1b202a;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.format-option:after{content:'';position:absolute;z-index:-1;width:220px;height:220px;right:-90px;top:-110px;border:1px solid #ffffff10;border-radius:50%;box-shadow:0 0 0 26px #ffffff03,0 0 0 54px #ffffff02;pointer-events:none}
.tournament-option{background:radial-gradient(ellipse at 90% 30%,#96324735,transparent 68%),linear-gradient(132deg,#34242d,#231e28 65%);border-color:#785164;box-shadow:inset 0 1px #d68a9c10}
.duel-option{background:radial-gradient(ellipse at 70% 60%,#2d82932b,transparent 80%),linear-gradient(132deg,#202e34,#1c232d);border-color:#47646c;box-shadow:inset 0 1px #a6d0db08}
.format-option:hover{transform:translateY(-3px)}
.tournament-option:hover{border-color:#b46d83;box-shadow:0 13px 35px #8c32451c,inset 0 1px #e4a0b71a}
.duel-option:hover{border-color:#77a4b0;box-shadow:0 13px 35px #315b681c,inset 0 1px #c1e8e91a}
.format-option-top{display:flex;align-items:center;gap:9px;min-width:0;color:#b6a5b1}
.format-type-icon{display:grid;place-items:center;width:30px;height:30px;border:1px solid #90647b77;background:#53354177;border-radius:8px;color:#dbb3bd;flex:none}
.format-type-icon svg{width:17px;height:17px}.format-option-top small{font-size:10px;line-height:1.4;letter-spacing:.02em}
.format-option-arrow{margin-left:auto;color:#9c7f93;font-size:17px}
.duel-option .format-type-icon{border-color:#587f8e88;background:#304851;color:#b6d9df}.duel-option .format-option-top{color:#9eb8c1}.duel-option .format-option-arrow{color:#7195a0}
.format-option-title{display:block;font-family:'Barlow Condensed',Impact,sans-serif;font-size:36px;font-weight:650;letter-spacing:-.01em;line-height:1;margin:15px 0;color:#f0e5eb}
.duel-option .format-option-title{color:#e0ecef}
.format-prize-label{display:flex;align-items:center;gap:8px;font-size:10px;font-weight:700;color:#c4a1af}
.format-prize-label small{font-size:9px;font-weight:500;color:#9c8090}
.format-prize{display:block;font-family:'Barlow Condensed',Impact,sans-serif;font-size:65px;font-weight:650;line-height:1.04;letter-spacing:-.025em;color:#f5dce1;margin:4px 0 8px;text-shadow:0 7px 25px #be42652c}
.format-option-copy{display:block;max-width:260px;font-size:10px;line-height:1.65;color:#af9fae;margin:0 0 15px}
.duel-option .format-option-copy{color:#92acb7;margin:0 0 8px}
.format-enter{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #87566a66;padding:13px 0 0;margin-top:auto;font-size:11px;font-weight:800;color:#e3c7d4}
.format-enter svg{width:18px;height:18px}.duel-option .format-enter{border-color:#4b717c66;color:#c6e1e8}
.format-duel-mark{display:block;font-family:'Barlow Condensed',Impact,sans-serif;font-weight:650;line-height:.95;font-size:71px;letter-spacing:-.05em;color:#d5e7e9;margin:-5px 0 8px}
.format-duel-mark span{color:#6d9ba7;font-weight:400;font-size:.68em;margin:0 .04em}
.format-duel-payout{display:block;font-size:10px;color:#8ba9b4;margin:0 0 14px}.format-duel-payout b{font-weight:800;color:#c7e1e6}
.format-tiers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:14px}
.format-tier{--metal:#bac9d2;--metal-dark:#435568;display:flex;align-items:center;gap:9px;min-width:0;border:1px solid #415363;background:linear-gradient(115deg,#28354288,#18212a);border-radius:9px;padding:12px 11px;color:var(--metal);overflow:hidden}
.format-tier.tier-gold{--metal:#dfc184;--metal-dark:#7e612d;border-color:#66573a;background:linear-gradient(115deg,#3a322280,#221f1b)}
.format-tier.tier-ruby{--metal:#e6a9b8;--metal-dark:#843f5c;border-color:#6e4258;background:linear-gradient(115deg,#40232f99,#271e27)}
.format-tier-gem{display:block;width:28px;height:32px;flex:none;filter:drop-shadow(0 2px 6px #0004)}
.format-tier-gem svg{width:100%;height:100%;fill:var(--metal-dark);stroke:var(--metal);stroke-width:1.4;stroke-linejoin:round}
.format-tier-gem svg path+path{fill:none;opacity:.72;stroke-width:.85}
.format-tier>span:nth-child(2){display:block;min-width:0}.format-tier b{display:block;font-size:11px;font-weight:800;line-height:1.2}.format-tier small{display:block;font-size:9px;color:#8d9ca7;margin-top:5px;line-height:1.2;white-space:nowrap}
.format-tier strong{margin-left:auto;color:var(--metal);font-family:'Barlow Condensed',Impact,sans-serif;font-size:25px;font-weight:600;letter-spacing:-.02em;line-height:1}
.format-entry-line{display:flex;align-items:center;gap:12px;margin-top:18px;padding:12px 0;border-top:1px solid #333c48;border-bottom:1px solid #333c48;color:#99abb5;font-size:11px;line-height:1.4}
.format-entry-line>b{font-size:14px;color:#dce7e8;font-weight:800}
.format-entry-line>span:last-child{margin-left:auto;color:#748a96;font-size:10px}.format-entry-line strong{color:#adbec6;margin-left:6px}
.format-legal{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-top:12px;font-size:9px;line-height:1.6;color:#748895}
.format-preview{display:flex;align-items:center;gap:6px;text-align:right;max-width:50%}.format-preview i{width:4px;height:4px;border-radius:50%;background:#af879a;flex:none}
.format-footer{display:flex;justify-content:space-between;align-items:center;padding-top:13px;margin-top:8px;gap:16px}
.format-footer button{display:inline-flex;align-items:center;gap:6px;padding:6px 0;border:0;background:none;font-size:10px;color:#91a6af;cursor:pointer;line-height:1.4}
.format-footer button svg{width:13px;height:13px}.format-footer button:hover{color:#c6dfe1}
.format-option:focus-visible,.hero-format-switch:focus-visible,.format-footer button:focus-visible{outline:2px solid #c5d4a4;outline-offset:4px}
@keyframes format-reveal{from{opacity:.3;transform:translateY(12px) scale(.988)}to{opacity:1;transform:none}}
@media(max-width:900px){.format-tier{gap:7px;padding:11px 9px}.format-tier-gem{width:24px;height:29px}.format-tier strong{font-size:24px}.format-option{padding:18px;min-height:280px}.format-choice-shell{padding:25px 26px 15px}.format-options{gap:12px}.format-legal{font-size:8px}}
@media(max-width:650px){body[data-page=play] .centered-hero{min-height:202px}.centered-hero .quick-copy{padding:28px 12px 23px}.centered-hero .quick-copy h1{font-size:115px!important}.centered-hero .quick-copy .eyebrow{font-size:8px;letter-spacing:.1em}.hero-format-switch{top:12px;right:12px;font-size:8px;padding:6px 8px}.hero-format-switch>svg:first-child{display:none}.hero-format-note{left:12px;bottom:12px;gap:6px;font-size:8px}.hero-format-note b{font-size:9px}.centered-hero .quick-art.cs-art{width:45%;opacity:.13!important}.centered-hero .quick-art.dota-art{width:48%;right:-10%;opacity:.15!important}
#modal[data-kind=format-choice]{padding:14px}#modal[data-kind=format-choice] .modal{width:100%;max-height:calc(100dvh - 28px);border-radius:16px}.format-choice-shell{padding:21px 20px 13px}.format-heading{margin:17px 0 20px}#modal[data-kind=format-choice] .format-heading h2{font-size:42px}#modal[data-kind=format-choice] .format-heading p{font-size:11px;max-width:280px;margin:9px auto 0}.format-brand{font-size:15px}.format-brand-mark{font-size:26px}.format-brand small{font-size:8px}.format-kicker{font-size:8px;margin-bottom:9px}.format-options{grid-template-columns:1fr 1fr;gap:10px}.format-option{padding:14px 12px;min-height:280px;border-radius:11px}.format-option-top{align-items:flex-start;gap:6px;flex-wrap:wrap}.format-option-top small{font-size:9px;max-width:75px;line-height:1.4;padding-top:3px}.format-option-arrow{display:none}.format-type-icon{width:26px;height:26px;border-radius:7px}.format-type-icon svg{width:16px;height:16px}.format-option-title{font-size:29px;line-height:1.1;margin:13px 0}.format-prize-label{font-size:8px;gap:5px;flex-wrap:wrap}.format-prize-label small{font-size:8px}.format-prize{font-size:49px;line-height:1.1;margin:5px 0 8px}.format-option-copy{font-size:9px;line-height:1.65;max-width:none;margin-bottom:12px}.format-enter{font-size:10px;padding-top:11px;gap:4px}.format-enter svg{width:15px}.format-duel-mark{font-size:69px;margin:1px 0 8px}.format-duel-payout{font-size:8px;line-height:1.65;margin-bottom:12px}.format-tiers{gap:7px;margin-top:11px}.format-tier{position:relative;min-height:78px;display:grid;grid-template-columns:1fr;text-align:center;justify-items:center;gap:0;padding:11px 5px}.format-tier-gem{display:none}.format-tier b{font-size:10px}.format-tier small{font-size:8px;margin-top:4px}.format-tier strong{margin:7px 0 0;font-size:23px}.format-entry-line{gap:8px;font-size:9px;margin-top:14px;padding:11px 0}.format-entry-line>b{font-size:12px}.format-entry-line>span:last-child{font-size:8px}.format-entry-line strong{margin-left:3px}.format-legal{display:block;font-size:8px;line-height:1.6;margin-top:11px}.format-preview{max-width:none;text-align:left;margin-top:6px}.format-footer{padding-top:8px;margin-top:7px}.format-footer button{font-size:9px}}
@media(max-width:380px){.format-choice-shell{padding:20px 14px 12px}.format-option{padding:13px 10px;min-height:281px}.format-option-title{font-size:26px}.format-prize{font-size:44px}.format-option-top small{font-size:8px;max-width:68px}.format-prize-label{display:block}.format-prize-label small{margin-left:4px}.format-duel-mark{font-size:65px}.format-entry-line{gap:6px;font-size:8px}.format-entry-line>b{font-size:11px}.format-entry-line>span:last-child{font-size:7px}}
@media(max-width:360px){#modal[data-kind=format-choice] .format-option-title{font-size:20px;line-height:1.2;letter-spacing:-.015em}}
@media(prefers-reduced-motion:reduce){#modal[data-kind=format-choice] .modal{animation:none}.format-option{transition:none}.format-option:hover{transform:none}}
