/* ── Merkez panelleri (src/09h_hub.js): Gardırop, Bilbo'nun Köşesi, Çıkartma Albümü, Mini Oyunlar, Günün Sürprizi, Pasta süsleme ──
   Büyük, resimli, okumadan kullanılır; dokunma hedefleri ≥ 80 px. Önek hb-. */
.hb-root { position: fixed; inset: 0; z-index: 40; display: none; font-family: var(--f, "Avenir Next Rounded", ui-rounded, system-ui, sans-serif);
  color: #4a2a1a; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: none; }
.hb-root.hb-on { display: block; }
:where(.hb-root) :where(button) { font-family: inherit; -webkit-appearance: none; appearance: none; border: 0; margin: 0; padding: 0; background: none; color: inherit;
  cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.hb-back { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, rgba(40, 40, 110, 0.35), rgba(12, 12, 46, 0.66));
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); animation: hbFade 0.28s ease-out both; }
.hb-out .hb-back { animation: hbFadeOut 0.24s ease-in both; }
@keyframes hbFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hbFadeOut { to { opacity: 0; } }
/* kart: krem kâğıt, renkli kalın çerçeve, kareli kenar şeridi */
.hb-card { --c: #f28fb4; position: absolute; left: 50%; top: 52%; width: min(94vw, 1080px); height: min(86vh, 700px); transform: translate(-50%, -50%);
  border-radius: 38px; background: linear-gradient(180deg, #f6f4ff, #e9e6ff); box-shadow: 0 0 0 8px var(--c), 0 0 0 13px #fff, 0 22px 60px rgba(20, 20, 70, 0.5);
  display: flex; flex-direction: column; animation: hbPop 0.42s cubic-bezier(.2, 1.5, .4, 1) both; }
.hb-card::before { content: ''; position: absolute; inset: 0; border-radius: 38px; pointer-events: none; opacity: 0.5;
  background: radial-gradient(circle at 12% 18%, rgba(255, 236, 150, 0.55) 0 3px, transparent 4px) 0 0 / 90px 90px, radial-gradient(circle at 60% 70%, rgba(170, 160, 255, 0.45) 0 2px, transparent 3px) 0 0 / 70px 70px; }
.hb-out .hb-card { animation: hbShrink 0.24s ease-in both; }
@keyframes hbPop { from { transform: translate(-50%, -46%) scale(0.7); opacity: 0; } to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
@keyframes hbShrink { to { transform: translate(-50%, -48%) scale(0.85); opacity: 0; } }
.hb-head { position: relative; align-self: center; margin-top: -40px; display: flex; align-items: center; gap: 14px; padding: 10px 34px 10px 14px;
  border-radius: 999px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 70%, #fff), var(--c)); color: #fff;
  box-shadow: 0 6px 0 color-mix(in srgb, var(--c) 60%, #000), 0 10px 24px rgba(0, 0, 0, 0.25); z-index: 2; }
.hb-ikon { width: 72px; height: 72px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 46px; box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.08); }
.hb-title { font-weight: 900; font-size: clamp(26px, 3.6vw, 40px); letter-spacing: 0.01em; text-shadow: 0 3px 0 rgba(0, 0, 0, 0.18); white-space: nowrap; }
.hb-x { position: absolute; right: -16px; top: -24px; width: 88px; height: 88px; border-radius: 50%; z-index: 3;
  background: radial-gradient(circle at 35% 30%, #ff9a9a, #e8404f 60%, #b81c2c); box-shadow: 0 6px 0 #8e1220, 0 10px 22px rgba(0, 0, 0, 0.3), inset 0 0 0 5px #fff;
  color: #fff; font-size: 44px; font-weight: 900; display: grid; place-items: center; transition: transform 0.12s; }
.hb-x:active { transform: scale(0.9); }
.hb-body { position: relative; flex: 1; min-height: 0; padding: 26px 28px 24px; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; touch-action: pan-y; z-index: 1; }
/* ızgara + kartlar */
.hb-minigrid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important; }
.hb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(30%, 220px), 1fr)); gap: 22px; padding: 6px; }
.hb-tile { --tc: #ffe6f0; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px;
  padding: 14px 10px 14px; min-height: 200px; border-radius: 30px; background: #fff; box-shadow: 0 7px 0 rgba(120, 70, 40, 0.18), 0 10px 22px rgba(120, 70, 40, 0.15);
  transition: transform 0.15s cubic-bezier(.2, 1.6, .4, 1); animation: hbIn 0.45s cubic-bezier(.2, 1.4, .4, 1) both; }
.hb-tile:nth-child(2) { animation-delay: 0.04s; } .hb-tile:nth-child(3) { animation-delay: 0.08s; } .hb-tile:nth-child(4) { animation-delay: 0.12s; }
.hb-tile:nth-child(5) { animation-delay: 0.16s; } .hb-tile:nth-child(6) { animation-delay: 0.2s; } .hb-tile:nth-child(n+7) { animation-delay: 0.24s; }
@keyframes hbIn { from { transform: scale(0.6) translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.hb-tile:active { transform: scale(0.94); }
.hb-pic { width: 150px; height: 150px; max-width: 100%; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 40% 35%, #fff 0%, var(--tc) 70%); box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.05); }
.hb-pic img { width: 92%; height: 92%; object-fit: contain; filter: drop-shadow(0 6px 6px rgba(80, 30, 10, 0.25)); }
.hb-emo { font-size: 84px; line-height: 1; filter: drop-shadow(0 5px 4px rgba(80, 30, 10, 0.2)); }
.hb-name { font-weight: 800; font-size: 20px; text-align: center; line-height: 1.1; color: #6a3a24; }
.hb-tile.sel { box-shadow: 0 0 0 7px #ffd23f, 0 7px 0 7px #e0a810, 0 14px 30px rgba(255, 180, 0, 0.45); transform: translateY(-4px); }
.hb-tile.sel .hb-pic { animation: hbBob 1.6s ease-in-out infinite; }
@keyframes hbBob { 50% { transform: translateY(-6px) rotate(-3deg); } }
.hb-check { position: absolute; top: -12px; right: -10px; width: 56px; height: 56px; border-radius: 50%; background: #3fc06a; color: #fff; font-size: 34px; font-weight: 900;
  display: grid; place-items: center; box-shadow: 0 4px 0 #23843f, inset 0 0 0 4px #fff; animation: hbPopIn 0.4s cubic-bezier(.2, 1.8, .4, 1) both; }
@keyframes hbPopIn { from { transform: scale(0); } to { transform: scale(1); } }
.hb-tile.locked .hb-pic img, .hb-tile.locked .hb-emo { filter: brightness(0) opacity(0.22); }
.hb-tile.locked .hb-pic { background: radial-gradient(circle at 40% 35%, #f6f1ea, #e0d6ca 70%); }
.hb-tile.locked .hb-name { color: #b0a090; }
.hb-lock { position: absolute; top: 60px; left: 50%; transform: translateX(-50%); font-size: 54px; filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.25)); }
.hb-shake { animation: hbShake 0.45s ease both !important; }
@keyframes hbShake { 20% { transform: translateX(-12px) rotate(-3deg); } 40% { transform: translateX(10px) rotate(3deg); } 60% { transform: translateX(-7px); } 80% { transform: translateX(5px); } }
.hb-stars { display: flex; gap: 2px; font-size: 34px; color: #e8dccd; text-shadow: 0 2px 0 rgba(0, 0, 0, 0.08); }
.hb-stars .on { color: #ffc81e; text-shadow: 0 2px 0 #c88a00, 0 0 12px rgba(255, 210, 60, 0.8); }
.hb-tile.big { min-height: 260px; }
.hb-tile.big .hb-pic { width: 170px; height: 170px; }
.hb-best { position: absolute; top: 10px; left: 12px; background: #fff4c8; border-radius: 999px; padding: 4px 12px; font-weight: 900; font-size: 18px; color: #a06a00; }
.hb-empty { font-size: 120px; opacity: 0.3; text-align: center; grid-column: 1 / -1; padding: 40px; }
/* uçuşan yıldız/kalp patlaması */
.hb-pop { position: fixed; z-index: 60; width: 22px; height: 22px; margin: -11px 0 0 -11px; pointer-events: none; background: var(--col);
  animation: hbBurst 0.9s cubic-bezier(.15, .8, .3, 1) both; }
.hb-pop.star { clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.hb-pop.heart { clip-path: path('M11 20 L2 11 A5 5 0 0 1 11 4 A5 5 0 0 1 20 11 Z'); }
@keyframes hbBurst { 0% { transform: translate(0, 0) scale(0.2) rotate(0); opacity: 1; } 70% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(1.1) rotate(200deg); opacity: 0; } }
/* ── Çıkartma Albümü ── */
.hb-tabs { display: flex; gap: 12px; justify-content: center; margin: -4px 0 14px; flex-wrap: wrap; }
.hb-tab { --tc: #ccc; position: relative; width: 96px; height: 84px; border-radius: 24px 24px 18px 18px; background: color-mix(in srgb, var(--tc) 35%, #fff);
  box-shadow: 0 5px 0 color-mix(in srgb, var(--tc) 60%, #000 10%); display: grid; place-items: center; transition: transform 0.15s; }
.hb-tab .e { font-size: 46px; filter: grayscale(0.4); }
.hb-tab.on { background: var(--tc); transform: translateY(-6px) scale(1.06); box-shadow: 0 8px 0 color-mix(in srgb, var(--tc) 60%, #000 25%), 0 0 0 5px #fff; }
.hb-tab.on .e { filter: none; }
.hb-tab b { position: absolute; top: -10px; right: -8px; min-width: 34px; height: 34px; border-radius: 17px; background: #ffd23f; color: #6a4000; font-size: 20px;
  display: grid; place-items: center; box-shadow: 0 3px 0 #c88a00; }
.hb-page { --pc: #ccc; position: relative; border-radius: 26px; padding: 14px 16px 22px; background: color-mix(in srgb, var(--pc) 14%, #fffdf8);
  box-shadow: inset 0 0 0 4px color-mix(in srgb, var(--pc) 40%, #fff); }
.hb-pagetop { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.hb-pageikon { font-size: 50px; }
.hb-count { display: flex; gap: 6px; flex-wrap: wrap; }
.hb-count span { width: 26px; height: 26px; border-radius: 50%; background: #e6ddd2; box-shadow: inset 0 3px 0 rgba(0, 0, 0, 0.08); }
.hb-count span.on { background: radial-gradient(circle at 35% 30%, #fff6b0, #ffc81e 60%, #d89a00); box-shadow: 0 0 10px rgba(255, 200, 30, 0.8); }
.hb-sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; }
.hb-stk { position: relative; aspect-ratio: 1; border-radius: 26px; background: #f2ebe2; display: grid; place-items: center; transform: rotate(var(--rot));
  box-shadow: inset 0 0 0 4px #e3d8ca; border: 4px dashed #d8ccbc !important; animation: hbStkIn 0.4s cubic-bezier(.2, 1.4, .4, 1) both; overflow: visible; }
@keyframes hbStkIn { from { transform: rotate(var(--rot)) scale(0.6); opacity: 0; } to { transform: rotate(var(--rot)); opacity: 1; } }
.hb-stk.big { grid-column: span 2; aspect-ratio: auto; min-height: 160px; }
.hb-stk.have { background: #fff; border: 0 !important; box-shadow: 0 0 0 6px #fff, 0 6px 14px rgba(80, 40, 10, 0.25); }
.hb-stk.have .hb-spic { position: relative; overflow: hidden; border-radius: 20px; }
.hb-stk.have .hb-spic::after { content: ''; position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.75) 50%, transparent 60%);
  animation: hbShine 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes hbShine { 0%, 55% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }
.hb-stk.have.t-boss { background: radial-gradient(circle at 50% 40%, #fff7d6, #ffe08a); box-shadow: 0 0 0 6px #ffd23f, 0 6px 16px rgba(200, 140, 0, 0.4); }
.hb-stk.have.t-kayip { background: radial-gradient(circle at 50% 40%, #fff, #ffe6f0); }
.hb-stk.have.t-gizli { background: radial-gradient(circle at 50% 40%, #fff, #e6f2ff); }
.hb-spic { width: 86%; height: 86%; display: grid; place-items: center; }
.hb-spic img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 4px rgba(60, 20, 0, 0.3)); }
.hb-stk.big .hb-spic img { max-height: 150px; }
.hb-spic img.sil, .hb-emo.sil { filter: brightness(0) opacity(0.16); }
.hb-stk.yeni { animation: hbStkIn 0.4s cubic-bezier(.2, 1.4, .4, 1) both, hbNew 1.2s 0.5s ease-in-out 3; box-shadow: 0 0 0 6px #ffd23f, 0 0 26px rgba(255, 200, 40, 0.9); }
@keyframes hbNew { 50% { transform: rotate(var(--rot)) scale(1.08); } }
.hb-new { position: absolute; top: -16px; right: -12px; font-size: 40px; z-index: 3; animation: hbBob 1s ease-in-out infinite; }
.hb-crown { position: absolute; top: -18px; left: 50%; transform: translateX(-50%) rotate(-8deg); font-size: 40px; z-index: 2; }
.hb-stk:not(.have) .hb-crown { filter: grayscale(1) opacity(0.4); }
.hb-full { position: absolute; right: 18px; top: 10px; font-size: 54px; animation: hbBob 1.4s ease-in-out infinite; }
.hb-zoom { position: absolute; inset: 0; z-index: 5; border-radius: 38px; background: rgba(255, 248, 236, 0.92); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px; animation: hbFade 0.2s both; }
.hb-zstk { width: min(52vh, 380px); height: min(52vh, 380px); border-radius: 46px; display: grid; place-items: center; background: #f2ebe2;
  box-shadow: 0 0 0 10px #fff, 0 16px 40px rgba(80, 40, 10, 0.35); animation: hbZoom 0.5s cubic-bezier(.2, 1.6, .4, 1) both; }
.hb-zstk.have { background: radial-gradient(circle at 45% 35%, #fff, #ffe6f0); }
.hb-zstk img { width: 88%; height: 88%; object-fit: contain; filter: drop-shadow(0 10px 10px rgba(60, 20, 0, 0.3)); animation: hbBob 2s ease-in-out infinite; }
.hb-zstk .hb-emo { font-size: 200px; }
.hb-zname { font-weight: 900; font-size: 40px; color: #7a3a20; text-shadow: 0 3px 0 #fff; }
@keyframes hbZoom { from { transform: scale(0.3) rotate(-12deg); } to { transform: none; } }
/* ── Günün Sürprizi: hediye kutusu ── */
.hb-gift { position: relative; height: 100%; min-height: 420px; display: grid; place-items: center; }
.hb-rays { position: absolute; left: 50%; top: 46%; width: 760px; height: 760px; margin: -380px 0 0 -380px; border-radius: 50%; opacity: 0; transition: opacity 0.6s;
  background: repeating-conic-gradient(rgba(255, 220, 120, 0.55) 0 10deg, rgba(255, 220, 120, 0) 10deg 20deg); -webkit-mask: radial-gradient(circle, #000 20%, transparent 68%); mask: radial-gradient(circle, #000 20%, transparent 68%);
  animation: hbSpin 14s linear infinite; pointer-events: none; }
.hb-gift.open .hb-rays { opacity: 1; }
@keyframes hbSpin { to { transform: rotate(360deg); } }
.hb-box { position: relative; width: 260px; height: 230px; margin-top: 70px; scale: 1.3; animation: hbWobble 2.4s ease-in-out infinite; cursor: pointer; }
.hb-gift.open .hb-box { animation: none; }
@keyframes hbWobble { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-4deg) scale(1.03); } 82% { transform: rotate(4deg) scale(1.03); } 90% { transform: rotate(-2deg); } }
.hb-boxbody { position: absolute; left: 10px; right: 10px; bottom: 0; height: 170px; border-radius: 18px; background: linear-gradient(180deg, #ff6b78, #d82c40);
  box-shadow: inset 0 -14px 0 rgba(0, 0, 0, 0.12), 0 14px 24px rgba(120, 20, 20, 0.3); }
.hb-boxbody::before { content: ''; position: absolute; inset: 0; border-radius: 18px; background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 7px, transparent 8px) 0 0 / 44px 44px; }
.hb-rib { position: absolute; background: linear-gradient(90deg, #ffd45a, #f2b21c, #ffd45a); }
.hb-rib.v { left: 50%; width: 46px; margin-left: -23px; bottom: 0; height: 170px; }
.hb-lid { position: absolute; left: 0; right: 0; top: 30px; height: 56px; border-radius: 16px; background: linear-gradient(180deg, #ff7f8a, #e23a4e);
  box-shadow: 0 8px 0 rgba(150, 20, 30, 0.35); transition: transform 0.7s cubic-bezier(.2, 1.4, .4, 1); z-index: 2; }
.hb-rib.lv { left: 50%; width: 50px; margin-left: -25px; top: 0; bottom: 0; }
.hb-bow { position: absolute; left: 50%; top: -52px; width: 0; height: 0; }
.hb-bow i { position: absolute; display: block; background: radial-gradient(circle at 40% 40%, #ffe27a, #f2b21c 70%); box-shadow: inset 0 -6px 0 rgba(180, 110, 0, 0.3); }
.hb-bow .l, .hb-bow .r { width: 78px; height: 58px; top: 0; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; }
.hb-bow .l { left: -84px; transform: rotate(-18deg); } .hb-bow .r { left: 6px; transform: rotate(18deg); }
.hb-bow .k { width: 40px; height: 40px; left: -20px; top: 18px; border-radius: 50%; }
.hb-gift.open .hb-lid { transform: translate(140px, -230px) rotate(38deg); }
.hb-tail { --pull: 0px; position: absolute; left: calc(50% + 70px); top: calc(46% + 10px); width: 110px; height: calc(160px + var(--pull)); z-index: 3; touch-action: none; cursor: grab; }
.hb-tail::before { content: ''; position: absolute; left: 50%; top: 0; width: 26px; margin-left: -13px; height: 100%; border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, #ffd45a, #f2b21c, #ffd45a); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 88%, 0 100%); }
.hb-pull { position: absolute; left: 50%; bottom: -30px; width: 96px; height: 96px; margin-left: -48px; border-radius: 50%; background: #fff; box-shadow: 0 6px 0 #e0c080, 0 0 0 6px #ffd45a;
  display: grid; place-items: center; font-size: 50px; animation: hbTug 1.3s ease-in-out infinite; }
@keyframes hbTug { 50% { transform: translateY(16px); } }
.hb-tail.gone { opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.hb-gift.asleep .hb-box { animation: none; filter: saturate(0.6) brightness(0.92); }
.hb-zz { position: absolute; top: 12%; left: calc(50% + 110px); font-size: 90px; animation: hbBob 2.4s ease-in-out infinite; }
.hb-prize { position: absolute; left: 50%; top: 40%; width: 230px; height: 230px; margin: -115px 0 0 -115px; border-radius: 50%; display: grid; place-items: center; z-index: 4;
  background: radial-gradient(circle at 40% 35%, #fff, #fff2c4 70%); box-shadow: 0 0 0 8px #fff, 0 0 60px rgba(255, 210, 80, 0.9); animation: hbRise 0.9s cubic-bezier(.2, 1.5, .4, 1) both; }
.hb-prize img { width: 86%; height: 86%; object-fit: contain; }
.hb-prize .hb-emo { font-size: 130px; }
.hb-emo.gold { filter: sepia(1) saturate(5) hue-rotate(-12deg) brightness(1.12) drop-shadow(0 0 14px rgba(255, 200, 40, 0.9)); }
@keyframes hbRise { from { transform: translateY(160px) scale(0.2); opacity: 0; } to { transform: translateY(-40px) scale(1); opacity: 1; } }
.hb-pname { position: absolute; left: 0; right: 0; bottom: 4%; text-align: center; font-weight: 900; font-size: 38px; color: #a03a20; text-shadow: 0 3px 0 #fff; z-index: 4;
  animation: hbIn 0.5s 0.4s both; }
/* ── Pasta süsleme ── */
.hb-root.hb-deco-on { background: transparent; }
body.hb-deco-body #ui { opacity: 0 !important; pointer-events: none !important; }
.hb-deco { position: absolute; inset: 0; animation: hbFade 0.35s both; }
.hb-touch { position: absolute; inset: 0 0 150px 0; z-index: 1; touch-action: none; }
.hb-tray { position: absolute; left: 0; right: 0; bottom: 0; height: 142px; z-index: 3; display: flex; gap: 14px; align-items: center; padding: 0 22px calc(env(safe-area-inset-bottom) + 0px);
  overflow-x: auto; overflow-y: hidden; touch-action: none; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  background: linear-gradient(180deg, rgba(255, 245, 230, 0.0), rgba(255, 238, 214, 0.92) 26%, #ffe9cf); box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.7); }
.hb-tray::-webkit-scrollbar { display: none; }
.hb-titem { position: relative; flex: 0 0 auto; width: 108px; height: 108px; border-radius: 30px; background: radial-gradient(circle at 40% 30%, #fff, #ffe6ef 75%);
  box-shadow: 0 6px 0 #e8b8c8, 0 8px 16px rgba(120, 50, 40, 0.2); display: grid; place-items: center; touch-action: none; transition: transform 0.12s; animation: hbIn 0.4s both; }
.hb-titem img { width: 88%; height: 88%; object-fit: contain; pointer-events: none; filter: drop-shadow(0 4px 3px rgba(80, 30, 10, 0.25)); }
.hb-titem .hb-emo { font-size: 62px; }
.hb-titem.hold { transform: scale(0.9); opacity: 0.6; }
.hb-titem.locked img, .hb-titem.locked .hb-emo { filter: brightness(0) opacity(0.2); }
.hb-titem .hb-lock { top: 50%; transform: translate(-50%, -50%); font-size: 40px; }
.hb-ghost { position: fixed; left: -200px; top: -200px; width: 120px; height: 120px; z-index: 50; pointer-events: none; display: grid; place-items: center;
  filter: drop-shadow(0 10px 8px rgba(60, 20, 0, 0.35)); animation: hbPopIn 0.2s both; }
.hb-ghost img { width: 100%; height: 100%; object-fit: contain; }
.hb-ghost .hb-emo { font-size: 80px; }
.hb-done, .hb-undo, .hb-wipe { position: absolute; z-index: 4; width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #fff;
  transition: transform 0.12s; }
.hb-done:active, .hb-undo:active, .hb-wipe:active { transform: scale(0.9); }
.hb-done { right: max(22px, env(safe-area-inset-right)); top: max(22px, env(safe-area-inset-top)); font-size: 62px; width: 120px; height: 120px;
  background: radial-gradient(circle at 35% 30%, #a8f0a0, #3fc06a 60%, #23843f); box-shadow: 0 7px 0 #1b6a32, 0 10px 24px rgba(0, 0, 0, 0.25), inset 0 0 0 6px #fff;
  animation: hbBreath 2s ease-in-out infinite; }
@keyframes hbBreath { 50% { transform: scale(1.06); } }
.hb-undo { left: max(22px, env(safe-area-inset-left)); top: max(22px, env(safe-area-inset-top)); font-size: 58px;
  background: radial-gradient(circle at 35% 30%, #a8dcff, #3a8ff0 60%, #1d5fb0); box-shadow: 0 6px 0 #15488a, 0 10px 22px rgba(0, 0, 0, 0.25), inset 0 0 0 5px #fff; }
.hb-wipe { left: max(22px, env(safe-area-inset-left)); top: calc(max(22px, env(safe-area-inset-top)) + 122px); font-size: 50px; overflow: hidden;
  background: radial-gradient(circle at 35% 30%, #fff3b0, #ffc83a 60%, #d89a00); box-shadow: 0 6px 0 #a87400, 0 10px 22px rgba(0, 0, 0, 0.25), inset 0 0 0 5px #fff; }
.hb-wipe i { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: rgba(255, 255, 255, 0.55); }
.hb-wipe.holding i { height: 100%; transition: height 1s linear; }
.hb-wipe span, .hb-undo span, .hb-done span { position: relative; z-index: 1; text-shadow: 0 3px 0 rgba(0, 0, 0, 0.2); }
@media (max-height: 700px) {
  .hb-card { height: 88vh; }
  .hb-pic { width: 120px; height: 120px; }
  .hb-tile { min-height: 170px; }
  .hb-emo { font-size: 70px; }
}

.hb-sname { position: absolute; left: 4px; right: 4px; bottom: 4px; text-align: center; font-weight: 800; font-size: 14px; line-height: 1.05; color: #6a3a24;
  text-shadow: 0 1px 0 #fff, 0 0 4px #fff; pointer-events: none; z-index: 2; }
.hb-etiket { position: absolute; top: -12px; left: -8px; font-size: 30px; z-index: 3; filter: drop-shadow(0 2px 2px rgba(0,0,0,.25)); }
.hb-stk:not(.have) .hb-etiket { filter: grayscale(1) opacity(.45); }
.hb-sgrid { grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)) !important; gap: 14px !important; }
.hb-stk .hb-spic { height: 78% !important; }

.hb-pic { position: relative; }
.hb-emo2 { position: absolute; right: 2%; bottom: 4%; font-size: 58px; line-height: 1; filter: drop-shadow(0 4px 3px rgba(80, 30, 10, 0.25)); transform: rotate(10deg); }
.hb-stk.big { grid-column: auto !important; aspect-ratio: 1 !important; min-height: 0 !important; }
