/* The info bar at the top: one capsule, and every item in it is built the same way
   (same height, same face, same gold rim, same hover). */
header .wallet{--tb:42px}
header #userbtn,header #walletbtn,header #bonus,header #shopbtn,header #friendsbtn,header #mute{
  position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;
  height:var(--tb,40px);margin:0;border-radius:999px;color:#ffe3a1;line-height:1;
  background:linear-gradient(180deg,#43202a,#220c12);border:1px solid #f0c35a4d;
  box-shadow:inset 0 1px 0 #ffffff1a,0 2px 6px #0007;
  transition:border-color .15s,background .15s,box-shadow .15s,transform .15s}
header #userbtn:hover,header #walletbtn:hover,header #shopbtn:hover,header #friendsbtn:hover,header #mute:hover{
  filter:none;background:linear-gradient(180deg,#5a2b37,#2e1119);border-color:var(--gold);box-shadow:inset 0 1px 0 #ffffff26,0 0 14px #f0c35a55}
header button:focus-visible{outline:2px solid #fff3b0;outline-offset:2px}

/* computer: the capsule */
body:not(.phone) header .wallet{gap:7px;padding:5px;border-radius:999px;background:#0b0306;border:1px solid #f0c35a80;box-shadow:inset 0 2px 8px #000c,0 4px 16px #0008,0 0 0 3px #f0c35a14}
body:not(.phone) header #userbtn{gap:8px;padding-block:0;padding-inline:3px 16px;font-size:15px;font-weight:700}
body:not(.phone) header #pico{display:flex}
body:not(.phone) header #walletbtn{gap:8px;padding-block:0;padding-inline:9px 16px}
body:not(.phone) header #walletbtn b{font-size:21px;line-height:1.2}
body:not(.phone) header #bonus{gap:6px;padding:0 14px;color:#eaffea;background:linear-gradient(180deg,#2f9e4d,#17531f);border-color:#9dffb2aa;font-weight:700}
body:not(.phone) header #shopbtn,body:not(.phone) header #friendsbtn,body:not(.phone) header #mute{width:var(--tb);padding:0}
/* a thin line parts "who and how much" from the three tools */
body:not(.phone) header #shopbtn{margin-inline-start:11px}
body:not(.phone) header #shopbtn::before{content:"";position:absolute;inset-inline-start:-11px;top:8px;bottom:8px;width:1px;background:linear-gradient(transparent,#f0c35a99,transparent);pointer-events:none}
header .wallet svg{display:block}
#debtchip{line-height:18px}

/* phone: the two items that stay, in the same face */
/* a debt sits under the number, so the item stays one row high and narrow */
body.phone header #walletbtn{height:40px;padding-block:0;padding-inline:8px 12px;display:grid;grid-template-columns:auto auto;column-gap:6px;align-content:center;align-items:center;justify-items:center}
body.phone header #walletbtn #cico{grid-area:1/1/span 2/auto;display:flex}
body.phone header #walletbtn b{grid-column:2;line-height:1.15}
body.phone header #walletbtn #debtchip{grid-column:2;white-space:nowrap;line-height:13px;padding:0 6px}
body.phone header #mute{width:40px;height:40px;padding:0}
