diff --git a/static/balatro.html b/static/balatro.html index 17660fc..e1c1559 100644 --- a/static/balatro.html +++ b/static/balatro.html @@ -25,32 +25,33 @@ .title{display:flex; align-items:baseline; gap:8px; margin:0 0 8px} .title h1{font-size:18px; margin:0; letter-spacing:.3px} .title .count{font-size:12px; color:var(--muted)} - .searchwrap{position:relative} .search{ - width:100%; padding:9px 38px 9px 12px; font-size:16px; color:var(--txt); + width:100%; padding:9px 12px; font-size:16px; color:var(--txt); background:var(--bg2); border:1px solid var(--line); border-radius:10px; outline:none; } .search:focus{border-color:#5566aa} .search::-webkit-search-cancel-button{display:none} - .clear{ - position:absolute; right:6px; top:50%; transform:translateY(-50%); - width:26px; height:26px; border:none; border-radius:50%; cursor:pointer; - background:var(--line); color:var(--txt); font-size:18px; line-height:1; - display:none; align-items:center; justify-content:center; padding:0; - } - .clear.show{display:flex} + + /* rarity radios drive the filter purely in CSS; kept off-screen */ + .rfilter{position:absolute; width:0; height:0; opacity:0; pointer-events:none} .filters{display:grid; grid-template-columns:repeat(5,1fr); gap:6px; margin-top:8px} .chip{ font-size:11px; padding:6px 2px; border-radius:999px; cursor:pointer; user-select:none; - text-align:center; white-space:nowrap; + text-align:center; white-space:nowrap; display:block; background:var(--bg2); border:1px solid var(--line); color:var(--muted); } - .chip.on{color:#fff; border-color:transparent} - .chip[data-r="all"].on{background:#4a5160} - .chip[data-r="Common"].on{background:var(--common)} - .chip[data-r="Uncommon"].on{background:var(--uncommon)} - .chip[data-r="Rare"].on{background:var(--rare)} - .chip[data-r="Legendary"].on{background:var(--legendary)} + #r-all:checked ~ header label[for="r-all"]{background:#4a5160; color:#fff; border-color:transparent} + #r-Common:checked ~ header label[for="r-Common"]{background:var(--common); color:#fff; border-color:transparent} + #r-Uncommon:checked ~ header label[for="r-Uncommon"]{background:var(--uncommon); color:#fff; border-color:transparent} + #r-Rare:checked ~ header label[for="r-Rare"]{background:var(--rare); color:#fff; border-color:transparent} + #r-Legendary:checked ~ header label[for="r-Legendary"]{background:var(--legendary); color:#fff; border-color:transparent} + + /* hide cards that don't match the chosen rarity (or the search query) */ + #r-Common:checked ~ main .card:not(.Common){display:none} + #r-Uncommon:checked ~ main .card:not(.Uncommon){display:none} + #r-Rare:checked ~ main .card:not(.Rare){display:none} + #r-Legendary:checked ~ main .card:not(.Legendary){display:none} + .card.nomatch{display:none} main{padding:12px; max-width:1100px; margin:0 auto} .grid{ @@ -67,28 +68,34 @@ .card{ display:flex; flex-direction:column; align-items:center; text-align:center; background:var(--card); border:1px solid var(--line); border-radius:12px; - padding:9px 8px 10px; color:inherit; position:relative; cursor:pointer; + padding:9px 8px 10px; position:relative; border-top:3px solid var(--line); -webkit-tap-highlight-color:transparent; } - .card.open{background:#2c313e} + .card[open]{background:#2c313e} .card.Common{border-top-color:var(--common)} .card.Uncommon{border-top-color:var(--uncommon)} .card.Rare{border-top-color:var(--rare)} .card.Legendary{border-top-color:var(--legendary)} + .card summary{ + display:flex; flex-direction:column; align-items:center; + list-style:none; cursor:pointer; width:100%; + } + .card summary::-webkit-details-marker{display:none} .card img{ width:auto; height:78px; image-rendering:pixelated; filter:drop-shadow(0 3px 4px rgba(0,0,0,.45)); } .name{font-weight:600; font-size:13px; margin:6px 0 2px; line-height:1.2; min-height:2.4em} .meta{display:flex; gap:6px; align-items:center; justify-content:center; font-size:11px; margin-bottom:5px} - .cost{color:var(--gold); font-weight:600} - .rar{color:var(--muted)} + .rar{color:var(--muted); font-size:11px; margin-bottom:5px} .rar.Common{color:var(--common)} .rar.Uncommon{color:var(--uncommon)} .rar.Rare{color:var(--rare)} .rar.Legendary{color:var(--legendary)} - .effect{font-size:11.5px; color:var(--muted); line-height:1.3; display:none; margin-top:2px} - .card.open .effect{display:block} - /* Desktop: bigger tiles, joker art at native 142x190 size. - Placed after the base .card rules so it wins the cascade. */ + .effect{font-size:11.5px; color:var(--muted); line-height:1.3; margin-top:6px} + .wiki{ + margin-top:7px; font-size:11px; color:#69e6ff; + text-decoration:underline; text-underline-offset:2px; display:inline-block; + } + /* Desktop: bigger tiles, joker art at native 142x190 size. */ @media (min-width:768px){ .grid{ grid-template-columns:repeat(auto-fill, minmax(200px,1fr)); gap:14px } .card{ padding:14px 12px 16px } @@ -96,21 +103,13 @@ .name{ font-size:15px } .effect{ font-size:13px } } - .wiki{ - display:none; margin-top:7px; font-size:11px; color:#69e6ff; - text-decoration:underline; text-underline-offset:2px; - } - .card.open .wiki{display:inline-block} - .empty{text-align:center; color:var(--muted); padding:40px 0; grid-column:1/-1} .totop{ position:fixed; left:16px; bottom:calc(16px + env(safe-area-inset-bottom,0)); width:46px; height:46px; border-radius:50%; z-index:20; background:rgba(37,41,52,.7); - border:1px solid var(--line); color:var(--txt); font-size:22px; line-height:1; - display:flex; align-items:center; justify-content:center; cursor:pointer; - opacity:0; pointer-events:none; transition:opacity .2s; + border:1px solid var(--line); color:var(--txt); font-size:22px; line-height:46px; + text-align:center; text-decoration:none; } - .totop.show{opacity:1; pointer-events:auto} footer{text-align:center; color:var(--muted); font-size:11px; padding:18px 12px 30px} footer a{color:var(--muted)} @@ -132,85 +131,1384 @@ .suit-club{color:#009cfd} -
+ + + + + +
+ Greedy Joker
+ Played cards with ♦︎ Diamond suit give +3 Mult when scored
+ Wrathful Joker
+ Played cards with ♠︎ Spade suit give +3 Mult when scored
+ Gluttonous Joker
+ Played cards with ♣︎ Club suit give +3 Mult when scored
+ Joker Stencil
+ X1 Mult for each empty Joker slot
Joker Stencil included
(Currently X1)
+ Ceremonial Dagger
+ When Blind is selected, destroy Joker to the right and permanently add double its sell value to this Mult
(Currently +0 Mult)
+ 8 Ball
+ 1 in 4 chance for each played 8 to create a Tarot card when scored
(Must have room)
+ Raised Fist
+ Adds double the rank of lowest ranked card held in hand to Mult
+ Steel Joker
+ Gives X0.2 Mult for each Steel Card in your full deck
(Currently X1 Mult)
+ Delayed Gratification
+ Earn $2 per discard if no discards are used by end of the round
+ Gros Michel
+ +15 Mult
1 in 6 chance this card is destroyed at end of round
+ Even Steven
+ Played cards with even rank give +4 Mult when scored
(10, 8, 6, 4, 2)
+ Odd Todd
+ Played cards with odd rank give +31 Chips when scored
(A, 9, 7, 5, 3)
+ Business Card
+ Played face cards have a 1 in 2 chance to give $2 when scored
+ Supernova
+ Adds the number of times poker hand has been played this run to Mult
+ Ride the Bus
+ This Joker gains +1 Mult per consecutive hand played without a scoring face card
(Currently +0 Mult)
+ Blackboard
+ X3 Mult if all cards held in hand are ♠︎ Spades or ♣︎ Clubs
+ Runner
+ Gains +15 Chips if played hand contains a Straight
(Currently +0 Chips)
+ DNA
+ If first hand of round has only 1 card, add a permanent copy to deck and draw it to hand
+ Blue Joker
+ +2 Chips for each remaining card in deck
(Currently +104 Chips)
+ Sixth Sense
+ If first hand of round is a single 6, destroy it and create a Spectral card
(Must have room)
+ Constellation
+ This Joker gains X0.1 Mult every time a Planet card is used
(Currently X1 Mult)
+ Faceless Joker
+ Earn $5 if 3 or more face cards are discarded at the same time
+ Green Joker
+ +1 Mult per hand played
-1 Mult per discard
(Currently +0 Mult)
+ Superposition
+ Create a Tarot card if poker hand contains an Ace and a Straight
(Must have room)
+ To Do List
+ Earn $4 if poker hand is a [Poker Hand], poker hand changes at end of round
+ Cavendish
+ X3 Mult
1 in 1000 chance this card is destroyed at the end of round
+ Card Sharp
+ X3 Mult if played poker hand has already been played this round
+ Red Card
+ This Joker gains +3 Mult when any Booster Pack is skipped
(Currently +0 Mult)
+ Madness
+ When Small Blind or Big Blind is selected, gain X0.5 Mult and destroy a random Joker
(Currently X1 Mult)
+ Square Joker
+ This Joker gains +4 Chips if played hand has exactly 4 cards
(Currently 0 Chips)
+ Séance
+ If poker hand is a Straight Flush, create a random Spectral card
(Must have room)
+ Riff-Raff
+ When Blind is selected, create 2 Common Jokers
(Must have room)
+ Vampire
+ This Joker gains X0.1 Mult per scoring Enhanced card played, removes card Enhancement
(Currently X1 Mult)
+ Shortcut
+ Allows Straights to be made with gaps of 1 rank
(ex: 10 8 6 5 3)
+ Hologram
+ This Joker gains X0.25 Mult every time a playing card is added to your deck
(Currently X1 Mult)
+ Cloud 9
+ Earn $1 for each 9 in your full deck at end of round
(Currently $4)
+ Rocket
+ Earn $1 at end of round. Payout increases by $2 when Boss Blind is defeated
+ Obelisk
+ This Joker gains X0.2 Mult per consecutive hand played without playing your most played poker hand
(Currently X1 Mult)
+ Gift Card
+ Add $1 of sell value to every Joker and Consumable card at end of round
+ Erosion
+ +4 Mult for each card below [the deck's starting size] in your full deck
(Currently +0 Mult)
+ Reserved Parking
+ Each face card held in hand has a 1 in 2 chance to give $1
+ Mail-In Rebate
+ Earn $5 for each discarded [rank], rank changes every round
+ To the Moon
+ Earn an extra $1 of interest for every $5 you have at end of round
+ Hallucination
+ 1 in 2 chance to create a Tarot card when any Booster Pack is opened
(Must have room)
+ Stone Joker
+ Gives +25 Chips for each Stone Card in your full deck
(Currently +0 Chips)
+ Lucky Cat
+ This Joker gains X0.25 Mult every time a Lucky card successfully triggers
(Currently X1 Mult)
+ Trading Card
+ If first discard of round has only 1 card, destroy it and earn $3
+ Flash Card
+ This Joker gains +2 Mult per reroll in the shop
(Currently +0 Mult)
+ Spare Trousers
+ This Joker gains +2 Mult if played hand contains a Two Pair
(Currently +0 Mult)
+ Ancient Joker
+ Each played card with [suit] gives X1.5 Mult when scored,
suit changes at end of round
+ Walkie Talkie
+ Each played 10 or 4 gives +10 Chips and +4 Mult when scored
+ Castle
+ This Joker gains +3 Chips per discarded [suit] card, suit changes every round
(Currently +0 Chips)
+ Campfire
+ This Joker gains X0.25 Mult for each card sold, resets when Boss Blind is defeated
(Currently X1 Mult)
+ Mr. Bones
+ Prevents Death if chips scored are at least 25% of required chips
self destructs
+ Swashbuckler
+ Adds the sell value of all other owned Jokers to Mult
(Currently +1 Mult)
+ Certificate
+ When round begins, add a random playing card with a random seal to your hand
+ Smeared Joker
+ ♥︎ Hearts and ♦︎ Diamonds count as the same suit, ♠︎ Spades and ♣︎ Clubs count as the same suit
+ Throwback
+ X0.25 Mult for each Blind skipped this run
(Currently X1 Mult)
+ Hanging Chad
+ Retrigger first played card used in scoring 2 additional times
+ Bloodstone
+ 1 in 2 chance for played cards with ♥︎ Heart suit to give X1.5 Mult when scored
+ Arrowhead
+ Played cards with ♠︎ Spade suit give +50 Chips when scored
+ Glass Joker
+ This Joker gains X0.75 Mult for every Glass Card that is destroyed
(Currently X1 Mult)
+ Showman
+ Joker, Tarot, Planet, and Spectral cards may appear multiple times
+ Flower Pot
+ X3 Mult if poker hand contains a ♦︎ Diamond card, ♣︎ Club card, ♥︎ Heart card, and ♠︎ Spade card
+ Wee Joker
+ This Joker gains +8 Chips when each played 2 is scored
(Currently +0 Chips)
+ Oops! All 6s
+ Doubles all listed probabilities
(ex: 1 in 3 -> 2 in 3)
+ The Idol
+ Each played [rank] of [suit] gives X2 Mult when scored
Card changes every round
+ Seeing Double
+ X2 Mult if played hand has a scoring ♣︎ Club card and a scoring card of any other suit
+ Hit the Road
+ This Joker gains X0.5 Mult for every Jack discarded this round
(Currently X1 Mult)
+ Invisible Joker
+ After 2 rounds, sell this card to Duplicate a random Joker
(Currently 0/2)
(Removes Negative from copy)
+ Satellite
+ Earn $1 at end of round per unique Planet card used this run
+ Driver's License
+ X3 Mult if you have at least 16 Enhanced cards in your full deck
(Currently 0)
+ Cartomancer
+ Create a Tarot card when Blind is selected
(Must have room)
+ Astronomer
+ All Planet cards and Celestial Packs in the shop are free
+ Burnt Joker
+ Upgrade the level of the first discarded poker hand each round
+ Canio
+ This Joker gains X1 Mult when a face card is destroyed
(Currently X1 Mult)
+ Yorick
+ This Joker gains X1 Mult every 23 [23] cards discarded
(Currently X1 Mult)
+ Perkeo
+ Creates a Negative copy of 1 random consumable card in your possession at the end of the shop