/* The first minutes (src/first_fx.js): kill marks, the count, the streak, the raid-beaten beat, the line for a new thing.
   Loaded after game.css; it also trims what game.css put on the screen. */
#purse { padding: 0; }
#loot em { display: none; }
#loot .g { padding: 2px 12px 2px 8px; background: var(--plate); border: 2px solid var(--ink); } #loot .g b { font-size: 46px; line-height: 1; min-width: 74px; } #loot .g .ic { width: 38px; height: 38px; }
#coach, #jobs { display: none; }
/* a tick on the dot when your shots land */
#cross.hit { background: #ffd040; box-shadow: 0 0 0 2px #000, 0 0 0 5px rgba(255, 208, 64, .55); transform: rotate(45deg) scale(1.5); }
/* the first prompt of the game */
#hud.firstprompt #prompt { font-size: 40px; }
#hud.firstprompt #prompt .row { animation: firstpulse .7s steps(6) infinite alternate; border-color: var(--yel); }
#hud.firstprompt.mounted #prompt { font-size: 32px; }
@keyframes firstpulse { from { transform: scale(1); } to { transform: scale(1.09); } }
/* +1 where each one dies */
#pops { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; }
.pop { position: absolute; left: 0; top: 0; margin: -14px 0 0 -12px; font-size: 26px; color: #ffe9a8; white-space: nowrap; will-change: transform, opacity; }
.pop.mine { font-size: 32px; color: #ffd040; } .pop.bad { font-size: 34px; color: #ff5a40; }
/* your kills this raid, under the raid's own line */
#killcount { position: absolute; left: 50%; top: 104px; margin-left: -60px; width: 120px; text-align: center; font-size: 34px; color: var(--cream); display: none; transform-origin: 50% 50%; }
#killcount.on { display: block; }
#killcount .ic { display: inline-block; width: 24px; height: 24px; margin-right: 8px; vertical-align: -3px; background-size: contain; background-repeat: no-repeat; }
/* several at once */
#streak { position: absolute; left: 50%; top: 40%; margin-left: 70px; font-size: 54px; color: #ffd040; display: none; transform-origin: 0 100%; }
#streak.on { display: block; } #streak.big { font-size: 72px; color: #ff9a40; } #streak.huge { font-size: 96px; color: #ff5a3a; }
#streak.hit { animation: streakhit .22s steps(5); }
@keyframes streakhit { from { transform: scale(1.7) rotate(-8deg); } to { transform: scale(1) rotate(0); } }
/* a raid is beaten: one backed card, the pile counting up in it (and in the corner with it) */
#beat { position: absolute; left: 0; right: 0; top: 15%; text-align: center; display: none; z-index: 3; }
#beat.on { display: block; animation: beatin .3s steps(5); }
#beat .card { display: inline-flex; flex-direction: column; align-items: center; padding: 10px 34px 12px; background: rgba(14, 12, 20, .9); border: 3px solid var(--ink); outline: 2px solid #8a7a62; box-shadow: 0 6px 0 rgba(0, 0, 0, .55); }
#beat .hd { font-size: 64px; line-height: 1; color: var(--gold); letter-spacing: 3px; }
#beat .row { display: inline-flex; gap: 34px; margin-top: 8px; padding: 0; font-size: 46px; line-height: 1; }
#beat .row span { display: inline-flex; align-items: center; gap: 9px; }
#beat .ic { display: inline-block; width: 34px; height: 34px; background-size: contain; background-repeat: no-repeat; }
#beat .g b { color: #ffd040; } #beat .lost b { color: #ff5a40; } #beat .k b { color: #eee6d0; } #beat b { font-weight: normal; }
@keyframes beatin { from { transform: scale(1.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
/* what the castle was just given: one short line */
#newline { position: absolute; left: 0; right: 0; top: 44%; text-align: center; font-size: 40px; color: #9fe07a; display: none; }
#newline.on { display: block; animation: beatin .3s steps(5); }
/* dead, alone: just the count back */
#dead { width: auto; min-width: 300px; text-align: center; }
/* the king and the gate are a crown and a gate with a bar each: no names */
#castle .nm { display: none; } #castle .row { gap: 10px; } #castle .ic { width: 26px; height: 26px; }
#right { width: 230px; }
/* the one alarm sits under the kill count */
#alerts { top: 146px; }
/* (the merchant) under the numbers: the wage; then, on its own once the card has gone, his banner */
#beat .refl { margin-top: 10px; font-size: 26px; color: var(--cream); }
#beat .news { display: inline-flex; flex-direction: column; padding: 8px 22px 10px; background: #efe2bf; color: #2a1d10; text-shadow: none; border: 3px solid #6a4a20; box-shadow: 0 6px 0 rgba(0, 0, 0, .5); animation: newsin .4s steps(5) both; }
#beat .news b { font-size: 40px; color: #2a1d10; line-height: 1; font-weight: normal; } #beat .news span { font-size: 24px; margin-top: 4px; }
@keyframes newsin { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }      /* (no tilt: the pixel letters smeared when it was turned) */

/* the pile's own name in the corner: the number is the heap in the yard */
#loot .g .nm { align-self: center; font-size: 17px; line-height: 1; color: var(--cream); letter-spacing: 1px; margin-right: 2px; }
/* the goal, said once at the start: one backed card under the top line */
/* (r15hud) smaller (was 66 px and 32 px, 6 s) and up for 4 s (first_fx.js GOAL_T): said once, then out of the way */
#goal { position: absolute; left: 0; right: 0; top: 18%; text-align: center; display: none; pointer-events: none; z-index: 3; }
#goal.on { display: block; animation: goalin .3s steps(4) both; }
#goal b, #goal span { display: block; width: fit-content; margin: 0 auto; }
#goal b { font-weight: normal; font-size: 46px; line-height: 1; color: var(--gold); padding: 7px 20px 4px; background: rgba(14, 12, 20, .82); border: 2px solid var(--ink); }
#goal span { font-size: 23px; color: #ffd9cc; padding: 3px 12px 4px; background: rgba(70, 10, 8, .82); border: 2px solid var(--ink); border-top: 0; }
@keyframes goalin { from { transform: scale(1.15); } to { transform: scale(1); } }      /* (the fade in and out is first_fx.js, on the game's clock) */
/* talking to the merchant: his panel has the pile in that corner, so the list of players steps aside */
#hud.shopping #right { display: none; }
/* the bottom-left lines (the king, the mob coming over a side wall): big enough to read, on a plate */
#feed { font-size: 25px; max-width: 470px; opacity: 1; }
#hud.mounted #feed, #hud.holding #feed { bottom: 150px; }      /* (r2) on a machine its read-out box sits bottom middle: the king's line went under it */
#feed div { white-space: normal; }
#feed div { width: fit-content; padding: 1px 9px 2px; background: rgba(12, 10, 18, .72); }
#feed .q { font-style: normal; color: #ffe2a0; } #feed .k { color: #ff9a80; }
/* the end: the card says it, the top line does not */
#hud.over #top { display: none; }
#loot .out.n { color: var(--cream); }
#loot .g.rob { border-color: #ff3020; animation: robbox .4s steps(2) infinite alternate; } #loot .g.rob b { color: #ff5a40; }
@keyframes robbox { from { background: rgba(120, 16, 10, .85); } to { background: var(--plate); } }
/* (r2) the opening: while the goal card is up and you look down at the pile, it is the only thing said */
#hud.intro #prompt, #hud.intro #status, #hud.intro #marks, #hud.intro #phase { visibility: hidden; }
/* (r1 #10, r2) the pot belly by your health read as a pixel face: beside it an arrow and the privy, so it says "you need to go" without a word */
#belly::after { content: ''; position: absolute; left: 100%; bottom: 8px; width: 40px; height: 44px; margin-left: 26px; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2012%2013%27%20shape-rendering%3D%27crispEdges%27%3E%3Crect%20x%3D%270%27%20y%3D%270%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%271%27%20y%3D%270%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%272%27%20y%3D%270%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%273%27%20y%3D%270%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%274%27%20y%3D%270%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%275%27%20y%3D%270%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%276%27%20y%3D%270%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%270%27%20y%3D%271%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%271%27%20y%3D%271%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%272%27%20y%3D%271%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%273%27%20y%3D%271%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%274%27%20y%3D%271%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%275%27%20y%3D%271%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%276%27%20y%3D%271%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%270%27%20y%3D%272%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%271%27%20y%3D%272%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%272%27%20y%3D%272%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%273%27%20y%3D%272%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%274%27%20y%3D%272%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%275%27%20y%3D%272%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%276%27%20y%3D%272%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%270%27%20y%3D%273%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%271%27%20y%3D%273%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%272%27%20y%3D%273%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%273%27%20y%3D%273%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%274%27%20y%3D%273%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%275%27%20y%3D%273%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%276%27%20y%3D%273%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%271%27%20y%3D%274%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%272%27%20y%3D%274%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%273%27%20y%3D%274%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%271%27%20y%3D%275%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%272%27%20y%3D%275%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%273%27%20y%3D%275%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%274%27%20y%3D%275%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%275%27%20y%3D%275%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%276%27%20y%3D%275%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%277%27%20y%3D%275%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%278%27%20y%3D%275%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%279%27%20y%3D%275%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%2710%27%20y%3D%275%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%271%27%20y%3D%276%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%272%27%20y%3D%276%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%273%27%20y%3D%276%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%274%27%20y%3D%276%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%275%27%20y%3D%276%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%276%27%20y%3D%276%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%277%27%20y%3D%276%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%278%27%20y%3D%276%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%279%27%20y%3D%276%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%2710%27%20y%3D%276%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%2711%27%20y%3D%276%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%271%27%20y%3D%277%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%272%27%20y%3D%277%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%273%27%20y%3D%277%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%238a5a2a%27/%3E%3Crect%20x%3D%274%27%20y%3D%277%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%238a5a2a%27/%3E%3Crect%20x%3D%275%27%20y%3D%277%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%238a5a2a%27/%3E%3Crect%20x%3D%276%27%20y%3D%277%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%238a5a2a%27/%3E%3Crect%20x%3D%277%27%20y%3D%277%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%238a5a2a%27/%3E%3Crect%20x%3D%278%27%20y%3D%277%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%238a5a2a%27/%3E%3Crect%20x%3D%279%27%20y%3D%277%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%238a5a2a%27/%3E%3Crect%20x%3D%2710%27%20y%3D%277%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%2711%27%20y%3D%277%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%272%27%20y%3D%278%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%273%27%20y%3D%278%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%274%27%20y%3D%278%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%275%27%20y%3D%278%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%276%27%20y%3D%278%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%277%27%20y%3D%278%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%278%27%20y%3D%278%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%279%27%20y%3D%278%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%2710%27%20y%3D%278%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%273%27%20y%3D%279%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%274%27%20y%3D%279%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%275%27%20y%3D%279%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%276%27%20y%3D%279%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%277%27%20y%3D%279%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%278%27%20y%3D%279%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%279%27%20y%3D%279%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%274%27%20y%3D%2710%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%275%27%20y%3D%2710%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%276%27%20y%3D%2710%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%277%27%20y%3D%2710%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%278%27%20y%3D%2710%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%274%27%20y%3D%2711%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%275%27%20y%3D%2711%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%276%27%20y%3D%2711%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%277%27%20y%3D%2711%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%23e8e4dc%27/%3E%3Crect%20x%3D%278%27%20y%3D%2711%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%273%27%20y%3D%2712%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%274%27%20y%3D%2712%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%275%27%20y%3D%2712%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%276%27%20y%3D%2712%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%277%27%20y%3D%2712%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%278%27%20y%3D%2712%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3Crect%20x%3D%279%27%20y%3D%2712%27%20width%3D%271%27%20height%3D%271%27%20fill%3D%27%2314121a%27/%3E%3C/svg%3E") center / contain no-repeat; image-rendering: pixelated; filter: drop-shadow(2px 2px 0 #000); }
#belly::before { content: ''; position: absolute; left: 100%; bottom: 22px; width: 20px; height: 20px; margin-left: 3px; background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%207%207'%20shape-rendering='crispEdges'%3E%3Cpath%20d='M0%202h3V0l4%203.5L3%207V5H0z'%20fill='%23ffd040'%20stroke='%2314121a'%20stroke-width='.6'/%3E%3C/svg%3E") center / contain no-repeat; image-rendering: pixelated; }
#hud.raid #belly::before, #hud.raid #belly::after { display: none; }      /* (pacing, r4) in a raid the belly alone: the arrow and the privy beside it were a chain of icons by your health all raid long */
/* (r13friends) panned by a friend: the BONK burst pops up big over your view, then floats off (friends_tags.js bonkScreen) */
#bonkfp { position: absolute; top: 20%; width: 200px; height: 200px; margin-left: -100px; pointer-events: none; opacity: 0; z-index: 6; }
#bonkfp.on { animation: bonkfp .8s ease-out forwards; }
@keyframes bonkfp { 0% { opacity: 1; transform: scale(.35); } 12% { transform: scale(1.25); } 24% { transform: scale(1); } 70% { opacity: 1; transform: scale(1) translateY(-6px); } 100% { opacity: 0; transform: scale(1.06) translateY(-22px); } }
/* (r15economy) your own purse, under the pile: smaller, in leather and cream, so it never reads as the pile. +n floats up beside it when it fills */
#mine { display: flex; align-items: center; gap: 10px; margin-top: 5px; }
#mine .m { display: inline-flex; align-items: center; gap: 7px; padding: 1px 12px 1px 7px; background: var(--plate); border: 2px solid #8a5a2a; font-size: 32px; line-height: 1; }
#mine .m .ic { width: 28px; height: 28px; }
#mine .m .nm { font-size: 14px; line-height: 1.05; width: 46px; color: #d8c4a0; letter-spacing: 1px; white-space: normal; }
#mine .m b { font-weight: normal; color: var(--cream); min-width: 44px; }
#mine .m.up b { color: var(--green); }
#mine .pp { font-size: 28px; opacity: 0; text-shadow: 0 2px 0 #000; }
#mine .pp.up { color: var(--green); } #mine .pp.down { color: #d8c4a0; }
#mine .pp.go { animation: purseup 1.1s steps(11) forwards; }
@keyframes purseup { 0% { opacity: 1; transform: translateY(6px); } 60% { opacity: 1; transform: translateY(-4px); } 100% { opacity: 0; transform: translateY(-10px); } }
#hud.shopping #mine { display: none; }
/* (r15economy) armour: its own bar above health, iron grey-blue; it flashes white when it takes a hit and dims when it is used up */
#arrow { display: flex; align-items: center; gap: 8px; width: 300px; margin-bottom: 5px; font-size: 20px; }
#arrow .ic { width: 22px; height: 22px; }
#arrow .bar { flex: 1; height: 9px; } #arrow .bar i { background: #a8bccf; }
#arrow b { font-weight: normal; width: 40px; color: #c8d6e4; }
#arrow.gone .ic, #arrow.gone b { opacity: .45; }
#arrow.hit .bar i { animation: armhit .35s steps(3); }
@keyframes armhit { from { background: #ffffff; } to { background: #a8bccf; } }
#feed .b { color: var(--cream); }
/* (r15economy) the end-of-raid card: your share, into your own purse */
#beat .share { display: inline-flex; align-items: center; gap: 9px; margin-top: 8px; font-size: 26px; color: #d8c4a0; }
#beat .share b { color: var(--green); font-size: 34px; }
#beat .share span { font-size: 18px; color: var(--dim); margin-left: 6px; }
#beat .share .ic { width: 28px; height: 28px; }
/* (r15economy) the merchant's and the smith's boards show your own purse, in the purse's cream, not the pile's gold */
.mt .purse .lt.mine b { color: var(--cream); }
/* (r15economy) the smith's board: the weapon in your hand is the one you make better: its card is lit, its button says the next level, and its levels are pips */
.mt-card.in-hand { background: #fff6dc; }
.mt-card .cb em { font-style: normal; font-size: 18px; color: #6a4a20; margin-right: -4px; }
.mt-card .pips.lv i { width: 8px; height: 8px; }
.mt-how dd u { text-decoration: none; padding: 0 4px; color: #2a1d10; background: #ffc531; }
