:is(html:has(.GamblingPage),body:has(.GamblingPage)){overflow:clip}.GamblingPage{z-index:2;flex-direction:column;width:min(880px,100% - 34px);height:66.6667dvh;margin:0 auto;padding:clamp(28px,7dvh,52px) 0 38px;display:flex;position:relative}.GamblingPage>footer{flex:none;align-self:center;margin-top:7px}.GamblingPanel{flex-direction:column;flex:1;min-width:0;min-height:0;padding:14px 18px 17px;display:flex}.GamblingLedger,.ChestLedger{flex-direction:column;flex:1;min-height:0;display:flex}.GamblingLedger{--RewardRowHeight:48px}.GamblingPanel .CrookedDivider{flex:none;margin-top:6px}.GamblingPanel.LootPanel .PanelFire{clip-path:url(#GamblingFrameClip)}.GamblingPanel .GamblingMasthead{text-align:center;justify-content:center;align-items:center;gap:7px;display:flex}.GamblingMasthead img{image-rendering:pixelated;flex:none}.GamblingPanel .GamblingMasthead h1{text-wrap:balance;font-size:clamp(19px,4vw,36px)}.GamblingMasthead img{width:28px;height:28px}.GamblingMasthead h1 .GreetingWord{animation:none;display:inline}.GamblingLedger .Toolbar{flex-wrap:wrap;align-items:center;gap:3px 7px;margin-top:5px;display:flex}.GamblingLedger .ChestAddButton{min-height:34px;padding:3px 11px;font:italic 700 16px/1.2 Times New Roman,Times,serif}.GamblingLedger #OpenPrices{margin-left:auto}.GamblingLedger #OpeningCount,.GamblingLedger .Totals dt{color:var(--Dim)}.GamblingLedger .Totals{border-top:1px solid #41404a;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:5px 0 0;padding-top:4px;line-height:1.25;display:grid}.GamblingLedger .Totals dd{margin:0;font-size:clamp(12px,2vw,18px);font-weight:700}.GamblingLedger :is(.Totals dd,.EntryNet){font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.GamblingLedger [data-sign=Profit]{color:var(--Acid)}.GamblingLedger [data-sign=Loss]{color:#ffa99f}.GamblingLedger .TierSections{flex:1;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(min-content,1fr);gap:6px;min-height:0;margin-top:6px;display:grid;overflow-y:auto}.GamblingLedger .LedgerTier{border-top:1px solid #41404a;flex-direction:column;min-height:0;padding-top:3px;display:flex}.GamblingLedger .LedgerTierHeader{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:2px 6px;display:flex}.GamblingLedger .LedgerTierHeader h2{color:var(--Blue);white-space:nowrap;align-items:center;gap:4px;margin:0;font-size:13px;line-height:1;display:flex}.GamblingLedger .LedgerTierHeader .ItemIcon{width:17px;height:17px}.GamblingLedger .LedgerTierMeta,.GamblingLedger .TierPages{color:var(--Dim);white-space:nowrap;align-items:center;gap:3px;font-size:10px;display:flex}.GamblingLedger .LedgerTierMeta{flex-wrap:wrap;justify-content:end;margin-left:auto}.GamblingLedger .TierPages[hidden]{display:none}.GamblingLedger .TierPages button,.GamblingLedger .Remove{background:var(--Black);width:15px;height:15px;color:var(--Blue);cursor:pointer;border:1px solid #6d6976;padding:0;font:13px/1 Times New Roman,Times,serif}.GamblingLedger .TierPages button:disabled{opacity:.35;cursor:default}.GamblingLedger .TierItems{min-height:var(--RewardRowHeight);contain:size;flex:1;grid-template-columns:repeat(auto-fill,minmax(min(100%,126px),1fr));grid-auto-rows:max-content;align-content:start;align-items:start;gap:3px;margin:3px 0 0;padding:0;list-style:none;display:grid;overflow:clip}.GamblingLedger .RewardCard{background:#141318;border:1px solid #41404a;gap:1px;min-width:0;padding:1px 3px;font-size:10px;line-height:1.1;display:grid}.GamblingLedger .EntryHeading{grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:3px;display:grid}.GamblingLedger .EntryHeading .ItemIcon{width:12px;height:12px}.GamblingLedger .EntryDescription{overflow-wrap:anywhere}.GamblingLedger .EntryMeta{flex-wrap:wrap;align-items:baseline;gap:0 5px;min-width:0;font-size:.95em;display:flex}.GamblingLedger :is(.EntryQuantity,.EntryTime){color:var(--Dim)}.GamblingLedger .EntryNet{margin-inline-start:auto}.GamblingLedger .EntryTime{font-variant-numeric:tabular-nums}.GamblingLedger :is(.EntryQuantity,.EntryNet,.EntryTime){white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.GamblingLedger .RewardCard .Remove{justify-self:end;width:14px;height:12px;font-size:10px}.GamblingLedger .Remove:hover{color:var(--Acid);border-color:var(--Acid)}.GamblingLedger .ChestDialog{width:min(390px,100% - 20px);max-height:calc(66.6667dvh - 20px);padding:14px}.GamblingLedger .ChestDialog h2{flex-wrap:wrap;align-items:baseline;gap:0 5px;margin-bottom:8px;line-height:1.2;display:flex}.GamblingLedger .ChestDialog h2 small{color:var(--Dim);white-space:nowrap;font-size:11px}.GamblingLedger fieldset{border:0;min-width:0;margin:0 0 8px;padding:0}.GamblingLedger :is(label,legend){color:var(--Dim)}.GamblingLedger label{display:block}.GamblingLedger .Tiers{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;display:grid}.GamblingLedger .Tier{position:relative}.GamblingLedger .Tier input{opacity:0;width:1px;height:1px;position:absolute}.GamblingLedger .Tier span{cursor:pointer;border:1px solid #6d6976;justify-content:center;align-items:center;gap:3px;min-height:31px;display:flex}.GamblingLedger .Tier input:checked+span{background:var(--Paper);color:var(--Black)}.GamblingLedger .Tier input:focus-visible+span{outline:2px dashed var(--Acid);outline-offset:2px}.GamblingLedger :is(input[type=number],select){width:100%;min-width:0;min-height:31px;color:var(--Paper);font:inherit;background:#141318;border:1px solid #79767e;border-radius:0;margin-top:3px;padding:4px 6px;display:block}.GamblingLedger input[type=number]{-webkit-user-select:text;user-select:text;caret-color:var(--Acid)}.GamblingLedger input:invalid{border-color:#ffa99f}.GamblingLedger .ItemIcon{object-fit:contain;flex:none;width:22px;height:22px}.GamblingLedger .Tier .ItemIcon{width:18px;height:18px}@supports (appearance:base-select){.GamblingLedger .IconSelect{appearance:base-select}.GamblingLedger .IconSelect::picker(select){appearance:base-select}.GamblingLedger select.IconSelect{justify-content:space-between;align-items:center;gap:5px;display:flex}.GamblingLedger .IconSelect::picker(select){max-height:min(240px,35dvh);min-width:anchor-size(width);max-width:min(360px,66.6667vw - 44px);color:var(--Paper);border:1px solid var(--Blue);background:#141318;overflow:auto}.GamblingLedger .IconSelect :is(option,selectedcontent){align-items:center;gap:5px;display:flex}.GamblingLedger .IconSelect option{white-space:normal;min-height:28px;padding:3px 5px}.GamblingLedger .IconSelect option:is(:hover,:focus-visible){color:var(--Acid);background:#292633}.GamblingLedger .IconSelect option::checkmark{color:var(--Acid);order:1;margin-left:auto}}.GamblingLedger :is(#OutcomeField,.Quantity,.Settings,.DialogActions){margin-top:8px}.GamblingLedger .Settings{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.GamblingLedger .DialogActions{justify-content:end;align-items:center;gap:6px;display:flex}.GamblingLedger .ChestDialog .PaperButton{background:var(--Paper);color:var(--Black);font-style:italic}.GamblingLedger .ChestDialog .PaperButton:hover{background:var(--Acid);color:var(--Black)}.GamblingLedger #PriceStatus{color:#ffa99f;margin:6px 0 0}@media (max-width:880px){.GamblingLedger .TierSections{grid-template-rows:repeat(3,minmax(min-content,1fr));grid-template-columns:minmax(0,1fr);gap:2px}}@media (max-width:570px){.GamblingPage{padding-top:29px;padding-bottom:43px}.GamblingPanel{padding:8px 8px 12px}.GamblingPanel .MascotLine img{width:28px;height:28px}.GamblingLedger .ChestAddButton{min-height:24px;padding:2px 5px;font-size:12px}.GamblingLedger :is(#OpeningCount,#OpenPrices,.Totals dt){font-size:11px}.GamblingLedger .Tier span{font-size:12px}.GamblingLedger .Tier .ItemIcon{width:15px;height:15px}}@media (min-width:390px) and (max-width:450px){.GamblingLedger{--RewardRowHeight:40px}}@media (max-height:520px){.GamblingPage{padding-top:19px;padding-bottom:9px}.GamblingPage>footer{margin-top:3px}.GamblingPanel{padding-top:6px;padding-bottom:8px}.GamblingPanel .MascotLine img{width:26px;height:26px}.GamblingPanel .GamblingMasthead h1{font-size:22px}.GamblingPanel .CrookedDivider{height:6px;margin-top:3px}.GamblingLedger .ChestAddButton{min-height:23px;padding:2px 5px;font-size:12px}.GamblingLedger .Totals dd{font-size:13px}}@media (max-width:380px){.GamblingPage{padding-top:20px;padding-bottom:14px}.GamblingPanel .MascotLine img{width:21px;height:21px}.GamblingPanel .GamblingMasthead img{width:20px;height:20px}.GamblingLedger{--RewardRowHeight:44px}.GamblingLedger .RewardCard{font-size:9px}.GamblingLedger .EntryHeading .ItemIcon{width:10px;height:10px}.GamblingLedger .RewardCard .Remove{height:9px}.GamblingLedger .LedgerTierHeader{column-gap:2px}.GamblingLedger .LedgerTierHeader .ItemIcon{width:11px;height:11px}.GamblingLedger .TierPages button{width:12px;height:12px}.GamblingLedger .Toolbar{gap:2px 4px}.GamblingLedger #OpenPrices{padding:0}.GamblingLedger .LedgerTierHeader h2{gap:3px;font-size:10px}.GamblingLedger .LedgerTierMeta{font-size:9px}}
