/* ================= APP SHELL (tab layer) =================
   .tabscreen is deliberately NOT .screen — it never touches the
   Truva Pay flow's translateY() machinery. Flow screens come later
   in the DOM and cover this layer whenever they're active. */
.tabscreen{
  position:absolute;inset:0;z-index:1;
  background-color:#0c0f0e;
  background-image:linear-gradient(rgba(0,0,0,0.55),rgba(0,0,0,0.62)),var(--bg-img);
  background-size:cover;background-position:center;
  display:flex;flex-direction:column;
  visibility:hidden;opacity:0;
  transition:opacity .22s ease;
}
.tabscreen.active{visibility:visible;opacity:1;}

.tab-body{
  flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;
  padding:calc(22px + env(safe-area-inset-top)) 18px calc(96px + env(safe-area-inset-bottom));
}
/* The page title treatment, shared by every tab and by the Home greeting:
   large, light weight, tight tracking. */
.tab-head, .hm-hi{
  font-size:clamp(30px, 8.6vw, 38px);font-weight:400;letter-spacing:-.035em;
  line-height:1.08;color:#fff;margin:0 0 6px;
}
.tab-lead{font-size:14px;color:var(--grey);margin-bottom:20px;}



/* ---- floating liquid-glass tab bar (Apple-style) ---- */
/* compact floating icon pill — hugs its content, centred */
.tabbar{
  position:absolute;left:50%;
  /* The home-indicator inset (34px) reserves far more room than a floating
     pill needs — adding a 14px gap on top of it parked the bar ~48px up.
     Sit inside the inset instead, keeping ~10px of clearance from the
     indicator, and fall back to a plain gap where there is no inset. */
  bottom:max(12px, calc(env(safe-area-inset-bottom, 0px) - 10px));
  z-index:5;overflow:hidden;
  display:flex;gap:2px;width:max-content;
  padding:7px;border-radius:999px;
  background:rgba(26,29,28,0.72);
  backdrop-filter:blur(34px) saturate(200%);-webkit-backdrop-filter:blur(34px) saturate(200%);
  border:1px solid rgba(255,255,255,0.13);
  box-shadow:
    0 16px 42px rgba(0,0,0,0.55),
    0 2px 10px rgba(0,0,0,0.34),
    inset 0 1px 0 rgba(255,255,255,0.24),
    inset 0 -1px 0 rgba(255,255,255,0.05);
  transform:translateX(-50%);
  /* Only ONE layout property animates (the bar's own height) — everything
     inside moves with transform/opacity. Animating height+padding on the
     bar AND all five buttons AND max-width/max-height on all five labels
     AND the puck's width relaid out the whole pill every frame, which is
     what made the expansion stutter on a phone. */
  height:58px;align-items:stretch;
  transition:transform .34s cubic-bezier(.22,.61,.36,1),
             height .42s cubic-bezier(.32,.72,0,1),
             border-radius .42s cubic-bezier(.32,.72,0,1);
}
/* At 76px tall a 999px radius curves the ends in by ~38px, which clipped the
   square-ish puck and made it look bitten off. */
.tabbar.expanded{height:76px;border-radius:28px;}
/* glass sheen — light catching the top edge */
.tabbar::before{
  content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;
  background:linear-gradient(163deg,rgba(255,255,255,0.16),rgba(255,255,255,0.03) 42%,transparent 62%);
}
/* Fixed 52px wide, full height of the bar. The width never changes, so the
   puck's offset/width stay valid through the whole expansion and no JS
   re-measuring is needed. Every label fits inside 52px at 10px. */
.tabbtn{
  position:relative;z-index:1;
  display:flex;align-items:center;justify-content:center;
  width:56px;height:auto;padding:0;   /* 56 not 52: 'Ana Sayfa' is 48px wide */
  background:none;border:none;cursor:pointer;font-family:inherit;
  color:var(--grey-dim);
  transition:color .24s ease, transform .18s cubic-bezier(.34,1.56,.64,1);
}
.tabbtn svg{
  width:22px;height:22px;flex-shrink:0;
  transform:translateY(var(--ic-y,0)) scale(var(--ic-s,1));
  transition:transform .42s cubic-bezier(.32,.72,0,1);
}
/* the icon slides up to make room; the label is out of flow, so revealing it
   costs an opacity + transform and nothing else */
.tabbar.expanded .tabbtn{--ic-y:-8px;}
.tabbtn-l{
  position:absolute;left:0;right:0;bottom:8px;
  text-align:center;white-space:nowrap;pointer-events:none;
  font-size:10px;font-weight:600;letter-spacing:-.01em;line-height:1.3;
  opacity:0;transform:translateY(5px);
  transition:opacity .24s ease, transform .42s cubic-bezier(.32,.72,0,1);
}
.tabbar.expanded .tabbtn-l{opacity:1;transform:none;}
.tabbtn:active{transform:scale(0.88);}
.tabbtn.active{color:#fff;}
.tabbtn.active{--ic-s:1.08;}
/* liquid-glass puck that slides to the active tab */
.tab-puck{
  position:absolute;top:7px;bottom:7px;left:0;width:0;
  border-radius:15px;pointer-events:none;z-index:0;
  background:linear-gradient(155deg,
    rgba(255,255,255,0.30) 0%,
    rgba(255,255,255,0.10) 42%,
    rgba(255,255,255,0.05) 58%,
    rgba(255,255,255,0.18) 100%);
  border:1px solid rgba(255,255,255,0.34);
  backdrop-filter:blur(8px) saturate(200%);-webkit-backdrop-filter:blur(8px) saturate(200%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.62),
    inset 0 -1px 0 rgba(255,255,255,0.14),
    inset 1px 0 0 rgba(255,255,255,0.20),
    0 4px 14px rgba(0,0,0,0.34);
  transition:transform .42s cubic-bezier(.32,.72,0,1),
             width .42s cubic-bezier(.32,.72,0,1),
             border-radius .42s cubic-bezier(.32,.72,0,1);
}
.tabbar.expanded .tab-puck{border-radius:20px;}
/* specular highlight sweeping the glass */
.tab-puck::after{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:linear-gradient(120deg,transparent 28%,rgba(255,255,255,0.28) 47%,transparent 62%);
}

/* ---- home: greeting ---- */




/* ---- Truva Black loyalty card ----
   Black tier identity is locked in CLAUDE.md §6: pure #000000,
   razor-thin white border, no texture, no glow. */
/* Modelled on the physical card: anodised matte black, a light source off
   the top-left corner, and a wordmark that is brushed metal rather than
   white type. */

/* The brand wordmark is artwork, not type: the supplied file is used as a
   MASK so the metal gradient is painted through the real letterforms. Using
   it as a plain image would flatten it to one grey; setting it as text would
   substitute a font for the brand's own drawing. */


/* the same brushed treatment as the wordmark, at label scale */
.loy-tier{
  flex:none;font-size:8.6px;font-weight:600;letter-spacing:.26em;white-space:nowrap;
  background:linear-gradient(120deg, #EDEFF1 0%, #A2A7AD 46%, #E6E9EB 100%);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:transparent;
  padding-bottom:2px;
}
@keyframes opPulse{to{box-shadow:0 0 0 12px rgba(52,199,89,0);}}

/* ---- demo tap CTA ---- */
/* two square tiles side by side: the join action and the map */
.home-duo{
  display:grid;grid-template-columns:1fr 1fr;gap:12px;
  margin:14px 0;
}
.home-duo > *{aspect-ratio:1;margin:0;min-width:0;}

.tap-cta{
  width:100%;display:flex;flex-direction:column;
  align-items:flex-start;justify-content:space-between;
  text-align:left;padding:16px;border-radius:22px;
  background:var(--blue);border:none;color:#fff;font-family:inherit;cursor:pointer;
  box-shadow:0 10px 28px rgba(0,113,227,0.38);
  transition:transform .15s ease, box-shadow .2s ease;
}
.tap-cta:active{transform:scale(0.98);box-shadow:0 6px 18px rgba(0,113,227,0.3);}
.tap-ic{
  display:flex;align-items:center;justify-content:center;flex:none;
  width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.18);
}
/* the tile's lower half: title on the left, go button on the right — the
   same pairing as the map tile beside it */
.tap-foot{
  display:flex;align-items:flex-end;justify-content:space-between;gap:8px;width:100%;
}
.tap-txt{display:block;flex:1;min-width:0;}
.tap-txt b{display:block;font-size:17px;font-weight:600;letter-spacing:-.02em;line-height:1.2;}
.tap-go{
  flex:none;width:32px;height:32px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:var(--ink,#111);color:#fff;
  transition:transform .18s var(--ease-out-strong);
}
.tap-cta:active .tap-go{transform:translateX(3px);}

/* ---- nearby map ---- */
.map-card{
  position:relative;border-radius:22px;overflow:hidden;
  border:1px solid var(--hairline);box-shadow:var(--shadow-card);margin-bottom:14px;
  background:var(--card-bg,#1C1C1E);
}
/* the map is a bleed, not a boxed panel */
.map-vis{position:relative;height:176px;}
/* inside the pair the tile is square, so the map fills whatever the caption
   leaves rather than claiming a fixed height */
.home-duo .map-card{
  display:flex;flex-direction:column;margin-bottom:0;
  padding:0;text-align:left;font-family:inherit;cursor:pointer;
  transition:transform .15s ease;
}
.home-duo .map-card:active{transform:scale(.98);}
.home-duo .map-vis{flex:1;height:auto;min-height:0;}
/* caption on the left, the go button on the right — the same pairing the
   campaign cards use, so "this opens something" reads the same everywhere */
.home-duo .map-cap{
  display:flex;align-items:flex-end;justify-content:space-between;gap:8px;
  padding:0 13px 13px;
}
.map-cap-txt{display:block;flex:1;min-width:0;}
.home-duo .map-cap-t{
  display:block;font-size:15px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.home-duo .map-cap-s{
  display:block;font-size:12px;margin-top:2px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.map-go{
  flex:none;width:32px;height:32px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:var(--ink,#111);color:#fff;
  transition:transform .18s var(--ease-out-strong);
}
.home-duo .map-card:active .map-go{transform:translateX(3px);}
.map-vis > div{position:absolute;inset:0;}
/* the fade is what removes the seam: the map dissolves into the card's own
   surface instead of stopping at a line the caption then sits under */
.map-vis::after{
  content:"";position:absolute;left:0;right:0;bottom:-1px;height:74px;
  pointer-events:none;
  background:linear-gradient(to bottom,
    rgba(28,28,30,0) 0%, rgba(28,28,30,.72) 58%, var(--card-bg,#1C1C1E) 100%);
}
.map-cap{padding:2px 18px 18px;}
.map-cap-t{
  display:block;font-size:19px;font-weight:600;letter-spacing:-.02em;color:var(--ink,#fff);
}
.map-cap-s{margin-top:3px;font-size:14px;color:var(--ink-2,var(--grey));}

/* the old floating legend pill is gone — the caption carries that text now */
.map-svg{width:100%;height:100%;display:block;}
/* "you are here" pulse */
.me-halo{fill:rgba(0,113,227,0.28);}
.map-card .me-halo{animation:mePulse 2.4s ease-out infinite;transform-origin:150px 78px;}
@keyframes mePulse{0%{transform:scale(.55);opacity:.85;}100%{transform:scale(1.5);opacity:0;}}
/* venue pins */
.mpin{cursor:pointer;}
.mpin-halo{fill:transparent;}
/* Solid blue body with a white bite out of the middle — the white-body-with-
   grey-outline version read as a default map marker rather than a Truva one. */
.mpin-body{
  fill:#0071E3;stroke:#fff;stroke-width:1.4;stroke-linejoin:round;
  transition:fill .2s ease;
  filter:drop-shadow(0 1.4px 1.6px rgba(0,0,0,.28));
}
.mpin-dot{fill:#fff;}
.mpin-lbl{
  font-family:inherit;font-size:8.5px;font-weight:700;fill:#1D1D1F;text-anchor:middle;
  paint-order:stroke;stroke:rgba(255,255,255,.92);stroke-width:2.8;stroke-linejoin:round;
}
.mpin:active .mpin-body{fill:#0059B8;}











/* representative only — opens nothing, see openBankCampaignSite() */










/* ---- venue cards ---- */
/* 0, not 2px: a section heading must line up with the cards under it */

/* ---- disclosure sections ------------------------------------
   Collapsed rows still carry their headline number, so folding a section
   away never costs information. Only grid-rows/opacity animate. */

.sec-head{font-size:12px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--grey);margin:26px 0 12px;}





@keyframes vFlash{
  0%,100%{box-shadow:var(--shadow-card);border-color:var(--hairline);}
  22%{box-shadow:0 0 0 2px var(--blue),0 10px 26px rgba(0,113,227,.4);border-color:var(--blue);}
}




/* discover: same card, vertical list */









/* ---- history empty state / profile ---- */
.empty-state{text-align:center;padding:44px 16px;}
.empty-ic{font-size:38px;opacity:.5;}
.empty-t{font-size:16px;font-weight:600;color:#fff;margin-top:12px;}
.empty-s{font-size:13px;color:var(--grey);margin-top:5px;}
@keyframes scanBob{0%,100%{transform:translateY(0);}50%{transform:translateY(-5px);}}
@keyframes scanWave{
  0%{transform:scale(1);opacity:.55;}
  100%{transform:scale(1.85);opacity:0;}
}

/* ================= İŞLETME PROFİLİ (layer 2) =================
   Sits above the tab shell (z-index 1) and below the Truva Pay flow.
   Deliberately independent of `inFlow` — this is not part of the flow. */
.venue-profile{
  position:absolute;inset:0;z-index:2;
  display:flex;flex-direction:column;
  background:#000;
  transform:translateY(100%);
  transition:transform 350ms cubic-bezier(0.32,0.72,0,1);
  visibility:hidden;
}
.venue-profile.open{transform:translateY(0);visibility:visible;}
#app.profile-open .tabbar{transform:translateX(-50%) translateY(calc(100% + 40px));pointer-events:none;}
.vp-scroll{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;}

/* --- hero --- */
/* Mekan başlığı: masa sayfasıyla aynı yapı — kapak görseli, üstüne binen yuvarlak logo, altta ad */
.vp-hero{position:relative;height:250px;flex-shrink:0;margin-bottom:0;
  background:radial-gradient(circle at 85% 110%,rgba(255,255,255,.28),transparent 55%),linear-gradient(160deg,color-mix(in srgb,var(--hc,#3D7BEF) 82%,#fff) 0%,var(--hc,#3D7BEF) 45%,color-mix(in srgb,var(--hc,#3D7BEF) 80%,#000) 100%);}
.vp-hero img[hidden]{display:none;}
.vp-hero img{width:100%;height:100%;object-fit:cover;display:block;}
.vp-hero-fade{
  position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,rgba(0,0,0,0.18) 0%,rgba(0,0,0,0) 26%);
}
.vp-back{
  position:absolute;top:calc(14px + env(safe-area-inset-top));left:16px;
  width:38px;height:38px;border-radius:50%;
  background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.16);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  color:#fff;font-size:19px;cursor:pointer;display:flex;align-items:center;justify-content:center;
  transition:background .2s, transform .15s;
}
.vp-back:active{transform:scale(0.9);background:rgba(0,0,0,0.7);}
/* beyaz yaprak kapağın üstüne yuvarlak köşeyle biner (masa sayfasındaki gibi) */
.vp-hero-txt{position:relative;z-index:1;margin-top:-26px;padding:86px 18px 4px;text-align:center;background:#fff;border-radius:26px 26px 0 0;}
.vp-name{
  font-size:clamp(28px, 8.6vw, 36px);font-weight:400;letter-spacing:-.035em;
  line-height:1.08;color:var(--ink,#111);
}
.vp-sub{font-size:14px;color:#6E6E73;margin-top:6px;}

/* --- body / sections --- */
.vp-body{padding:0 18px calc(104px + env(safe-area-inset-bottom));}
.vp-sec{padding:20px 0;border-top:1px solid rgba(255,255,255,0.08);}
.vp-h{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.09em;color:var(--grey);}
.vp-sec > .vp-h{margin-bottom:13px;}

/* sequential reveal, 60ms apart */
.venue-profile.open .vp-r{opacity:0;animation:itemIn .45s cubic-bezier(.22,.61,.36,1) forwards;}
.venue-profile.open .vp-r:nth-of-type(1){animation-delay:.06s;}
.venue-profile.open .vp-r:nth-of-type(2){animation-delay:.12s;}
.venue-profile.open .vp-r:nth-of-type(3){animation-delay:.18s;}
.venue-profile.open .vp-r:nth-of-type(4){animation-delay:.24s;}
.venue-profile.open .vp-r:nth-of-type(5){animation-delay:.30s;}

/* --- status row --- */
.vp-status{display:grid;gap:9px;padding:18px 0 0;}
/* web sitesi ve sosyal medya: sayfanın üstünde, tek dokunuşla */
.vp-links{display:flex;gap:8px;overflow-x:auto;padding:14px 0 2px;scrollbar-width:none;}
.vp-links::-webkit-scrollbar{display:none;}
.vp-link{flex:none;display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 14px;border-radius:999px;
  background:rgba(0,0,0,.05);color:var(--ink,#111);font-size:14px;font-weight:500;text-decoration:none;white-space:nowrap;}
.vp-link svg{width:17px;height:17px;}
.vp-status.cols3{grid-template-columns:repeat(3,1fr);}
.vp-status.cols2{grid-template-columns:repeat(2,1fr);}
.vp-box{
  background:#1C1C1E;border:1px solid rgba(255,255,255,0.08);
  border-radius:12px;padding:12px 11px;text-align:center;
}
.vp-box-t{display:flex;align-items:center;justify-content:center;gap:6px;font-size:13.5px;font-weight:600;color:#fff;}
.vp-box-s{font-size:11.5px;color:var(--grey);margin-top:4px;}
.vp-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;}
.vp-dot.on{background:var(--green);box-shadow:0 0 0 3px rgba(52,199,89,.18);}
.vp-dot.off{background:#FF453A;box-shadow:0 0 0 3px rgba(255,69,58,.18);}
/* occupancy bars — three states only, never a percentage */
.vp-bars{display:flex;align-items:flex-end;justify-content:center;gap:3px;height:15px;}
.vp-bars i{width:5px;border-radius:2px;background:rgba(255,255,255,0.18);display:block;}
.vp-bars i:nth-child(1){height:7px;}
.vp-bars i:nth-child(2){height:11px;}
.vp-bars i:nth-child(3){height:15px;}
.vp-bars.sakin i:nth-child(1){background:var(--green);}
.vp-bars.normal i:nth-child(1),.vp-bars.normal i:nth-child(2){background:#FFB020;}
.vp-bars.yogun i{background:#FF453A;}

/* --- campaigns --- */
.vp-camps{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;margin:0 -18px;padding:0 18px 4px;}
.vp-camps::-webkit-scrollbar{display:none;}





/* --- popular items --- */






/* --- hours accordion --- */
.vp-acc{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;
  background:none;border:none;padding:0;cursor:pointer;font-family:inherit;text-align:left;
}
.vp-acc-l{display:block;}
.vp-today{display:block;font-size:13.5px;color:#fff;margin-top:6px;}
.vp-chev{color:var(--grey);display:flex;transition:transform .25s ease;}
.vp-chev.up{transform:rotate(180deg);}
.vp-hours{max-height:0;overflow:hidden;transition:max-height 250ms ease;}
.vp-hours.open{max-height:340px;}
.vp-hrow{display:flex;justify-content:space-between;gap:12px;padding:9px 0;font-size:13.5px;color:var(--grey);}
.vp-hrow:first-child{padding-top:14px;}
.vp-hrow.today{color:var(--blue);font-weight:700;}

/* --- contact --- */
.vp-con{
  width:100%;display:flex;align-items:center;gap:13px;text-align:left;
  background:none;border:none;border-bottom:1px solid rgba(255,255,255,0.08);
  min-height:52px;padding:11px 0;cursor:pointer;
  font-family:inherit;color:#fff;font-size:14.5px;
  transition:opacity .15s ease;
}
.vp-con:last-child{border-bottom:none;}
.vp-con:active{opacity:.6;}
/* icon rule must out-specify `.vp-con span` below, or flex:1 stretches it */
.vp-con .vp-con-ic{
  flex:0 0 34px;width:34px;height:34px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.08);color:rgba(255,255,255,.8);
}
.vp-con span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}

/* --- sticky CTA --- */
.vp-ctabar{
  flex-shrink:0;padding:12px 18px calc(14px + env(safe-area-inset-bottom));
  background:rgba(0,0,0,0.72);
  backdrop-filter:blur(26px) saturate(180%);-webkit-backdrop-filter:blur(26px) saturate(180%);
  border-top:1px solid rgba(255,255,255,0.08);
}
.vp-ctabar{display:flex;gap:9px;align-items:stretch;}
/* both labels must stay on one line — 'Truva Masasına Katıl' wrapped and
   pushed the bar to 77px tall when the buttons were split 40/60 */
/* .btn is width:100% by default — inside a flex row that made the first
   button claim the whole bar and starve the second */
.vp-ctabar .btn{margin:0;width:auto;white-space:nowrap;font-size:15px;padding:14px 14px;}
.vp-ctabar #vpResv{flex:0 0 auto;}
.vp-ctabar #vpCta{flex:1;min-width:0;}
.vp-ctabar .btn.closed{
  background:rgba(255,255,255,0.09);color:var(--grey);
  box-shadow:none;pointer-events:none;
}

/* ---- profile menu rows ---- */
.prof-menu{margin-top:14px;border-radius:var(--r-card);overflow:hidden;background:#1C1C1E;border:1px solid rgba(255,255,255,0.08);}
.prof-row{
  width:100%;display:flex;align-items:center;gap:13px;
  padding:14px 15px;background:none;border:none;cursor:pointer;
  font-family:inherit;text-align:left;color:#fff;
  border-bottom:1px solid rgba(255,255,255,0.07);
  transition:background .18s ease;
}
.prof-row:last-child{border-bottom:none;}
.prof-row:active{background:rgba(255,255,255,0.06);}
/* explicit svg sizing lives here too: attributes alone are easy to drop */
.prof-row-ic svg{width:17px;height:17px;flex-shrink:0;}
.prof-row-ic{
  width:32px;height:32px;border-radius:10px;flex-shrink:0;color:var(--blue);
  background:rgba(0,113,227,0.14);border:1px solid rgba(0,113,227,0.28);
  display:flex;align-items:center;justify-content:center;
}
.prof-row-t{flex:1;min-width:0;font-size:14.5px;font-weight:600;}
.prof-row-t small{display:block;font-size:11.5px;font-weight:500;color:var(--grey);margin-top:2px;}
.prof-row-c{color:var(--grey-dim);font-size:19px;flex-shrink:0;}
.prof-menu + .prof-menu{margin-top:18px;}
.prof-row.danger .prof-row-t{color:#FF453A;}
.prof-row.danger .prof-row-ic{
  color:#FF453A;background:rgba(255,69,58,0.13);border-color:rgba(255,69,58,0.28);
}
.prof-ver{text-align:center;font-size:11px;color:var(--grey-dim);opacity:.75;margin:18px 0 2px;}

/* ================= CÜZDAN (Apple Wallet stack) ================= */
.wallet{
  position:absolute;inset:0;z-index:2;background:#000;
  display:flex;flex-direction:column;
  transform:translateY(100%);
  transition:transform 350ms cubic-bezier(0.32,0.72,0,1);
  visibility:hidden;
}
.wallet.open{transform:translateY(0);visibility:visible;}

/* the stack: each card peeks below the one above it */



/* peek offset follows the card's real height: (100%/1.586) - 74px peek.
   margin-top percentages resolve against the container's width. */

              /* card AFTER the selected one drops away */



/* selected-card detail — iOS grouped-inset list.
   The old version nested a 3-column grid and two pill buttons inside one
   panel, which read as a box inside a box. Here the panel itself is
   transparent and each group carries its own surface, matching the
   Settings/Wallet register the rest of this screen borrows from. */

@keyframes walDetIn{from{opacity:0;}to{opacity:1;}}


/* ---- Truva Black member card ----
   The card now follows the physical one: anodised black with a metallic
   wordmark. ---- */


/* cqw on the wordmark resolves against the card, not the viewport */


/* staggered reveal for tab content */
.tsr{opacity:0;transform:translateY(14px);animation:itemIn .5s cubic-bezier(.22,.61,.36,1) forwards;}
