/* Girvoo Gems (js/gems.js): the ☰ menu's card, the wallet window and a rented room's treasury */
.gem-ic { display: block; object-fit: contain; }

/* the menu card: like the VIP bar, in the gem's purple, magenta and gold */
.gem-card { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 8px 10px; border-radius: 14px; position: relative; overflow: hidden;
  background: linear-gradient(120deg, #3a0f6b 0%, #7a1fb8 45%, #c2189e 100%); border: 1.5px solid #f3c74d;
  box-shadow: 0 0 0 1px rgba(255, 214, 102, .25) inset, 0 6px 18px rgba(160, 30, 190, .35); color: #fff; }
.gem-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .22) 50%, transparent 70%);
  transform: translateX(-120%); animation: gem-shine 4.5s ease-in-out infinite; pointer-events: none; }
@keyframes gem-shine { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.gem-card-ic img { width: 42px; height: 42px; filter: drop-shadow(0 2px 6px rgba(255, 120, 230, .6)); }
.gem-card-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gem-card-t { font-size: 13px; color: #ffe08a; letter-spacing: .2px; }
.gem-card-nums { display: flex; gap: 10px; flex-wrap: wrap; }
.gem-n { display: flex; flex-direction: column; line-height: 1.1; }
.gem-n b { font-size: 14px; }
.gem-n small { font-size: 10px; opacity: .85; }
.gem-n.available b { color: #8dffcf; }
.gem-n.held b { color: #ffd27a; }
.gem-card-btn { flex: none; border: 0; border-radius: 999px; padding: 7px 12px; font-weight: 700; font-size: 12px; cursor: pointer;
  background: linear-gradient(180deg, #ffe58f, #f2b62a); color: #4a1470; box-shadow: 0 2px 0 #b9821a; position: relative; z-index: 1; }
.gem-card-btn:active { transform: translateY(1px); box-shadow: none; }

/* the wallet window */
.gw { display: flex; flex-direction: column; gap: 12px; }
.gw-head { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; color: #fff;
  background: radial-gradient(circle at 15% 30%, #b03ad6 0%, #5a1796 55%, #2d0b52 100%); border: 1.5px solid #f3c74d; }
.gem-ic.big { width: 72px; height: 72px; filter: drop-shadow(0 4px 12px rgba(255, 110, 230, .55)); }
.gw-head-nums { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gw-big b { font-size: 28px; color: #8dffcf; }
.gw-big small { display: block; font-size: 12px; opacity: .85; }
.gw-sub { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; opacity: .92; }
.gw-sub b { color: #ffe08a; }
.gw-tabs { display: flex; gap: 6px; }
.gw-tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px; border: 0; border-radius: 12px; padding: 9px 6px; cursor: pointer;
  background: rgba(122, 47, 214, .12); color: inherit; font-weight: 600; }
.gw-tab.on { background: linear-gradient(120deg, #7a1fb8, #c2189e); color: #fff; }
.gem-ic.gtab { width: 18px; height: 18px; }
.gem-ic.inline { width: 18px; height: 18px; display: inline-block; vertical-align: -4px; }
.gw-pane { display: flex; flex-direction: column; gap: 10px; }
.gw-lead { font-weight: 600; margin: 0; }
.gw-note { font-size: 12.5px; opacity: .8; margin: 0; }
.gw-note.warn { color: #c0392b; opacity: 1; }
.gw-how { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.gw-how li { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 12px; background: rgba(122, 47, 214, .08); }
.gw-how li span { font-size: 13px; opacity: .85; }
.gw-cta { align-self: center; }
.btn.off { opacity: .5; }
.gw-member { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: 12px; background: rgba(243, 199, 77, .18); }
.gw-tasks { display: flex; flex-direction: column; gap: 8px; }
.gw-task { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(122, 47, 214, .08); }
.gw-task.done { background: rgba(46, 204, 113, .14); }
.gw-task-ic { font-size: 20px; }
.gw-task-mid { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.gw-task-mid small { font-size: 11px; opacity: .7; }
.gw-bar { height: 6px; border-radius: 3px; background: rgba(0, 0, 0, .12); overflow: hidden; }
.gw-bar i { display: block; height: 100%; background: linear-gradient(90deg, #c2189e, #f3c74d); }
.gem-ic.got { width: 26px; height: 26px; }
.gw-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gw-stat { display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: 12px; background: rgba(122, 47, 214, .08); }
.gw-stat b { font-size: 18px; }
.gw-stat.available b { color: #1d9e63; }
.gw-stat.held b { color: #c98a00; }
.gw-stat.deducted b { color: #c0392b; }
.gw-stat span { font-weight: 600; font-size: 13px; }
.gw-stat small { font-size: 11px; opacity: .75; }
.gw-h { margin: 6px 0 0; font-size: 15px; }
.gw-moves, .gw-reqs { display: flex; flex-direction: column; gap: 6px; }
.gw-move { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(0, 0, 0, .04); }
.gw-move-n { min-width: 70px; font-weight: 700; color: #1d9e63; direction: ltr; text-align: center; }
.gw-move.minus .gw-move-n { color: #c0392b; }
.gw-move-mid { flex: 1; display: flex; flex-direction: column; }
.gw-move-mid small { font-size: 11px; opacity: .7; }
.gw-move-hold { font-size: 11px; color: #c98a00; white-space: nowrap; }
.gw-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.gw-card { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid rgba(60, 20, 110, .1); box-shadow: 0 6px 16px rgba(60, 20, 110, .12); }
/* the card's face, like a real gift card: its colour, a soft light, rings and a gem in the corner, a shine passing */
.gw-card-face { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 14px; min-height: 66px; overflow: hidden; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, rgba(255, 255, 255, .28), transparent 55%), linear-gradient(135deg, var(--c), var(--cd)); }
.gw-card-face::before { content: ''; position: absolute; inset-inline-end: -30px; top: -46px; width: 130px; height: 130px; border-radius: 50%;
  border: 14px solid rgba(255, 255, 255, .09); box-shadow: 0 0 0 18px rgba(255, 255, 255, .05); }
.gw-card-face::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent); animation: gw-shine 5s ease-in-out infinite; }
@keyframes gw-shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.gw-card-logo { position: relative; z-index: 1; flex: none; width: 42px; height: 42px; border-radius: 12px; background: #fff; display: grid; place-items: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .25); font-size: 22px; }
.gw-card-logo img, .gw-card-svg, .gw-card-svg svg { width: 28px; height: 28px; object-fit: contain; display: block; }
.gw-card-name { position: relative; z-index: 1; display: flex; flex-direction: column; min-width: 0; line-height: 1.2; padding-inline-end: 50px; }
.gw-card-name b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.gw-card-name small { font-size: 11px; opacity: .8; letter-spacing: .3px; }
.gw-card-gem { position: absolute; inset-inline-end: 10px; top: 50%; width: 44px; height: 44px; transform: translateY(-50%) rotate(-12deg); opacity: .9;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35)); }
.gw-amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; padding: 10px; }
.gw-amt { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px 9px; border-radius: 12px; cursor: pointer; overflow: hidden;
  background: #fff; border: 1.5px solid var(--c); color: var(--cd); transition: transform .15s, box-shadow .15s, background .15s; }
.gw-amt b { font-size: 17px; font-weight: 900; line-height: 1.1; direction: ltr; }
.gw-amt-cost { display: inline-flex; align-items: center; gap: 2px; font-size: 10.5px; font-weight: 700; color: #8a5a00; direction: ltr; }
.gw-amt-cost img { width: 13px; height: 13px; }
.gw-amt:not(.off):hover { transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 0, 0, .14); background: linear-gradient(180deg, #fff, #fff8e6); }
.gw-amt.off { cursor: default; border-color: rgba(0, 0, 0, .12); color: #8b8796; background: #f6f4f9; }
.gw-amt.off .gw-amt-cost { color: #9a95a6; }
.gw-amt.off .gw-amt-cost img { filter: grayscale(1); opacity: .6; }
.gw-amt-lock { position: absolute; top: 2px; inset-inline-end: 3px; font-size: 9px; opacity: .7; }
/* how close the player is to that amount */
.gw-amt-bar { position: absolute; left: 6px; right: 6px; bottom: 3px; height: 3px; border-radius: 3px; background: rgba(0, 0, 0, .08); }
.gw-amt-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #f3c74d, #e99a12); }
@media (prefers-reduced-motion: reduce) { .gw-card-face::after { animation: none; } }
.gw-req { padding: 9px 11px; border-radius: 12px; background: rgba(0, 0, 0, .04); display: flex; flex-direction: column; gap: 4px; }
.gw-req-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.gw-req small { font-size: 11px; opacity: .75; }
.gw-pill { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #f0c040; color: #4a3300; white-space: nowrap; }
.gw-pill.processing { background: #3d7bff; color: #fff; }
.gw-pill.approved { background: #1d9e63; color: #fff; }
.gw-pill.rejected { background: #c0392b; color: #fff; }
.gw-code { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.gw-code code { padding: 4px 8px; border-radius: 6px; background: #fff7d6; color: #4a1470; font-size: 14px; user-select: all; direction: ltr; }
.gw-shop { display: flex; flex-direction: column; gap: 6px; }
.gw-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(122, 47, 214, .08); }
.gw-item b { flex: 1; }
.gw-item-ic { font-size: 20px; }
.rl-treasury { display: inline-flex; align-items: center; gap: 4px; border: 1.5px solid #f3c74d; border-radius: 999px; padding: 5px 10px; cursor: pointer;
  background: linear-gradient(120deg, #5a1796, #c2189e); color: #fff; font-weight: 600; font-size: 12px; }
@media (max-width: 520px) {
  .gw-stats { grid-template-columns: 1fr; }
  .gem-card-nums { gap: 8px; }
  .gw-big b { font-size: 24px; }
  .gem-ic.big { width: 56px; height: 56px; }
}
.gw-get { flex: none; border: 0; border-radius: 999px; padding: 7px 14px; font-weight: 700; cursor: pointer;
  background: linear-gradient(180deg, #ffe58f, #f2b62a); color: #4a1470; box-shadow: 0 2px 0 #b9821a; animation: gw-pulse 1.6s ease-in-out infinite; }
.gw-get:disabled { opacity: .6; animation: none; }
@keyframes gw-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }

/* the celebration of gems earned (gems.js gemReveal) */
.gr-wrap { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: radial-gradient(circle at 50% 45%, rgba(122, 31, 184, .92) 0%, rgba(45, 11, 82, .95) 55%, rgba(12, 3, 24, .97) 100%); animation: gr-in .35s ease-out; }
.gr-wrap.gr-out { animation: gr-fade .9s ease-in forwards; }
@keyframes gr-in { from { opacity: 0; } }
@keyframes gr-fade { 0%, 40% { opacity: 1; } 100% { opacity: 0; } }
.gr-glow { position: absolute; width: 70vmin; height: 70vmin; border-radius: 50%; background: radial-gradient(circle, rgba(255, 120, 230, .55), transparent 65%); animation: gr-breathe 2.2s ease-in-out infinite; }
.gr-rays { position: absolute; width: 160vmax; height: 160vmax; opacity: .55;
  background: repeating-conic-gradient(from 0deg, rgba(255, 214, 102, .55) 0deg 6deg, transparent 6deg 22deg);
  -webkit-mask: radial-gradient(circle, #000 0%, transparent 55%); mask: radial-gradient(circle, #000 0%, transparent 55%); animation: gr-spin 14s linear infinite; }
@keyframes gr-spin { to { transform: rotate(360deg); } }
@keyframes gr-breathe { 50% { transform: scale(1.12); opacity: .8; } }
.gr-center { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: #fff; padding: 0 16px; }
.gr-gemwrap { position: relative; width: min(46vmin, 230px); height: min(46vmin, 230px); }
.gr-gem { position: relative; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 22px rgba(255, 120, 230, .85)) drop-shadow(0 8px 18px rgba(0, 0, 0, .5));
  animation: gr-drop .9s cubic-bezier(.2, 1.4, .4, 1) both, gr-float 2.4s ease-in-out .9s infinite; }
@keyframes gr-drop { 0% { transform: translateY(-70vh) scale(.4) rotate(-25deg); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; } }
@keyframes gr-float { 50% { transform: translateY(-8px) scale(1.03); } }
.gr-halo { position: absolute; inset: -12%; border-radius: 50%; border: 3px solid rgba(255, 214, 102, .7); box-shadow: 0 0 40px rgba(255, 214, 102, .6), inset 0 0 30px rgba(255, 120, 230, .5);
  animation: gr-halo 1.8s ease-out .6s infinite; opacity: 0; }
@keyframes gr-halo { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.gr-sparks { position: absolute; inset: 0; animation: gr-spin 6s linear infinite; }
.gr-sparks i { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px; transform: rotate(var(--a)) translateY(calc(-1 * min(28vmin, 140px)));
  background: radial-gradient(circle, #fff 0 20%, #ffe08a 35%, transparent 70%); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: gr-twinkle 1.1s ease-in-out var(--d) infinite; }
@keyframes gr-twinkle { 50% { opacity: .2; scale: .5; } }
.gr-title { font-size: clamp(18px, 4.6vmin, 26px); font-weight: 800; color: #ffe08a; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); letter-spacing: .3px; margin-top: 4px; }
.gr-amount { font-size: clamp(40px, 11vmin, 68px); font-weight: 900; line-height: 1; direction: ltr;
  background: linear-gradient(180deg, #fff6c8 0%, #ffd34f 45%, #e99a12 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 #7a3b00) drop-shadow(0 0 16px rgba(255, 200, 60, .6)); animation: gr-pop .5s cubic-bezier(.2, 1.6, .4, 1) .45s both; }
@keyframes gr-pop { from { transform: scale(.3); opacity: 0; } }
.gr-held { font-size: 12px; opacity: .8; max-width: 300px; }
.gr-ok { margin-top: 10px; border: 0; border-radius: 999px; padding: 12px 34px; font-size: 16px; font-weight: 800; cursor: pointer;
  background: linear-gradient(180deg, #ffe58f, #f2b62a); color: #4a1470; box-shadow: 0 3px 0 #b9821a, 0 0 22px rgba(255, 200, 60, .55); animation: gr-pop .4s ease-out 1.6s both; }
.gr-rain { position: absolute; inset: 0; pointer-events: none; }
.gr-conf, .gr-mini { position: absolute; top: -30px; animation: gr-fall var(--t) linear var(--w) infinite; }
.gr-conf { width: 8px; height: 13px; border-radius: 2px; background: var(--c); }
.gr-mini { width: 26px; height: 26px; }
@keyframes gr-fall { to { transform: translateY(115vh) rotate(var(--r)); } }
.gr-fly { position: fixed; z-index: 2001; width: 32px; height: 32px; pointer-events: none; filter: drop-shadow(0 0 8px rgba(255, 120, 230, .9)); }
@media (prefers-reduced-motion: reduce) { .gr-rays, .gr-sparks, .gr-conf, .gr-mini { animation: none; } }

/* the menu card in two lines whatever the language: the gem | title … "My wallet" / the three numbers side by side */
.gem-card { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: 'ic t btn' 'ic n n'; column-gap: 10px; row-gap: 4px; }
.gem-card-mid { display: contents; }
.gem-card-ic { grid-area: ic; align-self: center; }
.gem-card-t { grid-area: t; align-self: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.gem-card-btn { grid-area: btn; align-self: center; padding: 5px 11px; white-space: nowrap; }
.gem-card-nums { grid-area: n; flex-wrap: nowrap; justify-content: space-between; gap: 6px; min-width: 0; }
.gem-n { min-width: 0; }
.gem-n small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gw-tab { white-space: nowrap; font-size: 14px; padding: 9px 4px; min-width: 0; }
@media (max-width: 520px) { .gw-tab { font-size: 13px; gap: 3px; } .gem-card-btn { font-size: 11px; } }
@media (max-width: 520px) { .gem-card { column-gap: 7px; padding: 8px; } .gem-card-ic img { width: 36px; height: 36px; } .gem-card-t { font-size: 12px; } .gem-card-btn { padding: 4px 9px; } }

/* 2026-11-03 redesign (the owner): short words, icons, the details behind a "!" — nothing wraps in any language */
.gw-i { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; font: 800 12px/20px system-ui, sans-serif; text-align: center;
  background: rgba(122, 47, 214, .16); color: #7a1fb8; }
.gw-i:hover { background: #7a1fb8; color: #fff; }
.gw-i.head { align-self: flex-start; margin-inline-start: auto; background: rgba(255, 255, 255, .2); color: #fff; }
.gw-i.corner { position: absolute; top: 6px; inset-inline-end: 6px; width: 18px; height: 18px; line-height: 18px; font-size: 11px; }
.gw-pop { position: fixed; z-index: 3000; padding: 10px 12px; border-radius: 12px; font-size: 13px; line-height: 1.45; color: #fff;
  background: linear-gradient(135deg, #3a0f6b, #7a1fb8); border: 1px solid #f3c74d; box-shadow: 0 10px 28px rgba(0, 0, 0, .35); animation: gr-in .15s ease-out; }
.gw-head { position: relative; }
.gw-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gw-chip { display: inline-flex; align-items: center; gap: 2px; padding: 3px 9px; border-radius: 999px; font-size: 12px; background: rgba(255, 255, 255, .14); white-space: nowrap; }
.gw-chip b { color: #ffe08a; }
.gw-chip.held b { color: #ffd27a; }
.gw-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: rgba(122, 47, 214, .1); }
.gw-tab { display: flex; flex-direction: column; align-items: center; gap: 2px; border: 0; border-radius: 11px; padding: 7px 4px 6px; cursor: pointer; background: transparent; color: inherit; min-width: 0; }
.gw-tab.on { background: linear-gradient(135deg, #7a1fb8, #c2189e); color: #fff; box-shadow: 0 3px 10px rgba(160, 30, 190, .35); }
.gw-tab-ic { position: relative; font-size: 19px; line-height: 1; height: 22px; display: flex; align-items: center; }
.gw-tab-ic .gem-ic.gtab { width: 22px; height: 22px; }
.gw-tab-t { font-size: 12px; font-weight: 700; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gw-dot { position: absolute; top: -5px; inset-inline-end: -10px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; font: 700 10px/16px system-ui, sans-serif; font-style: normal;
  background: #f2b62a; color: #4a1470; }
.gw-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.gw-row b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gw-level { padding: 3px 10px; border-radius: 999px; font-weight: 800; font-size: 13px; background: linear-gradient(135deg, #f3c74d, #e99a12); color: #4a1470; }
.gw-count { font-weight: 700; opacity: .8; }
.gw-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gw-way { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border-radius: 14px; background: rgba(122, 47, 214, .08); text-align: center; min-width: 0; }
.gw-way .gw-i { position: absolute; top: 6px; inset-inline-end: 6px; width: 18px; height: 18px; line-height: 18px; font-size: 11px; }
.gw-way-ic { font-size: 26px; }
.gw-way b { font-size: 12px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gw-tasks { display: grid; grid-template-columns: repeat(auto-fill, minmax(122px, 1fr)); gap: 8px; }
.gw-task { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px 10px; border-radius: 14px; background: rgba(122, 47, 214, .08); text-align: center; min-width: 0; }
.gw-task.ready { background: linear-gradient(180deg, rgba(243, 199, 77, .28), rgba(243, 199, 77, .1)); box-shadow: inset 0 0 0 1.5px #f3c74d; }
.gw-task.claimed { background: rgba(46, 204, 113, .12); }
.gw-task-ic { font-size: 24px; line-height: 1; }
.gw-task-t { font-size: 13px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gw-task-n { font-size: 11px; opacity: .75; }
.gw-task .gw-bar { width: 100%; }
.gw-task-got { display: inline-flex; align-items: center; gap: 2px; color: #1d9e63; font-weight: 800; height: 28px; }
.gw-task-wait { height: 28px; line-height: 28px; opacity: .4; }
.gw-task .gw-get { padding: 5px 14px; font-size: 13px; }
.gw-stats { grid-template-columns: repeat(3, 1fr) !important; }
.gw-stat { position: relative; align-items: center; text-align: center; gap: 2px; padding: 10px 6px; min-width: 0; }
.gw-stat-ic { font-size: 18px; }
.gw-stat b { font-size: 17px; }
.gw-stat-t { font-size: 12px; font-weight: 600; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gw-move { gap: 8px; }
.gw-move-ic { flex: none; font-size: 18px; width: 26px; text-align: center; }
.gw-move-mid { min-width: 0; }
.gw-move-mid b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gw-move-end { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; flex: none; }
.gw-move-n { min-width: 0; text-align: end; }
.gw-move-hold { font-size: 10.5px; }
.gw-req-top { justify-content: flex-start; }
.gw-req-top b { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gw-item b { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gw-buy { flex: none; white-space: nowrap; }
@media (max-width: 520px) { .gw-stats { grid-template-columns: repeat(3, 1fr) !important; } .gw-stat b { font-size: 15px; } .gw-tasks { grid-template-columns: repeat(2, 1fr); } }
.gw-noearn { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; font-size: 13px; line-height: 1.35;
  background: rgba(243, 199, 77, .18); box-shadow: inset 0 0 0 1px rgba(243, 199, 77, .6); }
.gw-noearn > span:first-child { font-size: 18px; }
.gw-noearn > span:nth-child(2) { flex: 1; min-width: 0; }
.gw-task.locked { opacity: .55; }

/* the top bar's gem (layout.js action "gems"): the wallet, with its red dot while something new waits there */
.top-btn .gem-ic.top, .rail-btn .gem-ic.top, .md-item .gem-ic.top { width: 26px; height: 26px; object-fit: contain; display: block; margin: auto;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .45)); }

/* the club page: all the Girvoo Gems the club brought, with its "!" (socialpanels.js), and the gem on its last chest */
.club-gems { display: flex; align-items: center; gap: 6px; margin-top: 8px; padding: 7px 10px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(122, 31, 184, .14), rgba(255, 120, 230, .12)); border: 1px solid rgba(122, 31, 184, .25); }
.club-gems-ic { width: 22px; height: 22px; flex: none; }
.club-gems-t { font-size: 13px; font-weight: 700; color: #4a1470; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.club-gems-n { font-size: 15px; font-weight: 900; color: #7a1fb8; direction: ltr; }
.club-gems-i { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; font-weight: 900; font-size: 13px;
  background: rgba(122, 31, 184, .16); color: #7a1fb8; }
.chest-card { position: relative; }
.chest-gem { position: absolute; top: -4px; inset-inline-end: -4px; width: 22px; height: 22px; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .4)); animation: chest-gem 2.4s ease-in-out infinite; }
@keyframes chest-gem { 50% { transform: translateY(-2px) scale(1.08); } }
.chest-gems { display: flex; align-items: center; gap: 4px; margin-top: 6px; font-weight: 800; color: #7a1fb8; }
.chest-gems img { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) { .chest-gem { animation: none; } }
.gw-task-pic { width: 28px; height: 28px; object-fit: contain; vertical-align: middle; }

/* the tasks of the higher memberships: locked, each with the level that opens it */
.gw-more-t { margin-top: 14px; }
.gw-task.need { background: rgba(122, 47, 214, .05); box-shadow: inset 0 0 0 1px rgba(122, 47, 214, .14); }
.gw-task.need .gw-task-ic, .gw-task.need .gw-task-t, .gw-task.need .gw-task-n { opacity: .55; }
.gw-need { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px; border: 0; border-radius: 999px; background: linear-gradient(90deg, #f3c74d, #e8a317); color: #4a2a00; font-size: 12px; font-weight: 800; cursor: default; }
button.gw-need { cursor: pointer; }
