/* =========================================================
   KEŞFET — filters, a list/map switch, and a full-screen map.
   The filter state is shared: whatever you filter to in the list is what
   the map pins, so the two views never disagree.
   ========================================================= */







.disc-chips{
  display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;
  margin:0 -18px 16px;padding:0 18px;
  scroll-snap-type:x proximity;scroll-padding:0 18px;
}
.disc-chips::-webkit-scrollbar{display:none;}
.disc-chip{
  flex:0 0 auto;scroll-snap-align:start;
  padding:8px 14px;border-radius:999px;cursor:pointer;font-family:inherit;
  font-size:13.5px;font-weight:600;white-space:nowrap;
  background:var(--surface);border:1px solid var(--hairline);color:var(--ink);
  transition:transform .15s var(--ease-out-strong), background .18s ease, color .18s ease;
}
.disc-chip:active{transform:scale(.94);}
.disc-chip.on{background:#000;border-color:#000;color:#fff;}
.disc-count{font-size:12.5px;color:var(--ink-2);margin:0 0 12px;}

.disc-empty{text-align:center;padding:46px 20px;}
.disc-empty-t{font-size:16px;font-weight:600;color:var(--ink);}
.disc-empty-s{font-size:13.5px;color:var(--ink-2);margin-top:6px;}

/* ---- full-screen map ---- */
.map-page{
  position:absolute;inset:0;z-index:2;background:#0d1211;
  transform:translateY(100%);visibility:hidden;
  transition:transform 380ms cubic-bezier(0.32,0.72,0,1);
}
.map-page.open{transform:translateY(0);visibility:visible;}
#app.map-open .tabbar{transform:translateX(-50%) translateY(calc(100% + 40px));pointer-events:none;}
#app.map-open{background:#0B0B0C;}
#app.map-open .tabscreen.active{transform:scale(.94);border-radius:28px;overflow:hidden;}
.map-full{position:absolute;inset:0;}
.map-full .map-svg{width:100%;height:100%;}
.map-close{
  position:absolute;z-index:3;left:16px;top:calc(16px + env(safe-area-inset-top));
  width:40px;height:40px;border-radius:50%;cursor:pointer;
  background:rgba(255,255,255,.92);border:0;color:#111;font-size:19px;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 20px rgba(0,0,0,.35);
  transition:transform .15s var(--ease-out-strong);
}
.map-close:active{transform:scale(.9);}
.map-pill{
  position:absolute;z-index:3;left:50%;transform:translateX(-50%);
  top:calc(20px + env(safe-area-inset-top));
  padding:8px 14px;border-radius:999px;white-space:nowrap;
  background:rgba(16,20,19,.82);border:1px solid rgba(255,255,255,.14);
  backdrop-filter:blur(14px) saturate(160%);-webkit-backdrop-filter:blur(14px) saturate(160%);
  font-size:12.5px;font-weight:600;color:#fff;
}
/* the tapped pin's venue rises from the bottom */
.map-sheet{
  position:absolute;left:14px;right:14px;z-index:3;
  bottom:calc(18px + env(safe-area-inset-bottom));
  background:#fff;border-radius:18px;padding:12px;
  display:flex;align-items:center;gap:13px;cursor:pointer;
  box-shadow:0 14px 40px rgba(0,0,0,.42);
  transform:translateY(calc(100% + 30px));opacity:0;
  transition:transform .42s cubic-bezier(0.32,0.72,0,1), opacity .26s ease;
}
.map-sheet.show{transform:translateY(0);opacity:1;}
.map-sheet img{width:58px;height:58px;border-radius:13px;object-fit:cover;flex-shrink:0;}
.map-sheet-m{flex:1;min-width:0;}
.map-sheet-n{display:block;font-size:16px;font-weight:600;letter-spacing:-.01em;color:#111;
             white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.map-sheet-s{display:block;font-size:13px;color:#6E6E73;margin-top:3px;}
.map-sheet-c{flex-shrink:0;color:#C7C7CC;font-size:20px;padding-right:4px;}
.mpin.dim{opacity:.34;}

/* the pay sheet shows the redemption as its own line */


/* Keşfet's compact map — nearby only; tapping expands to the full network */





/* top-right: the bottom-right corner is where the Heap pin's label sits */

/* the mini map is a preview, not a target list */


/* ---- hand-drawn map: Apple Maps' idiom ---- */
.ma-bld rect{fill:#E7E2D8;}
/* the casing is what makes a stroke read as a road rather than a line:
   a slightly darker edge under a white ribbon */
.ma-cas-g{stroke:#E3DED3;fill:none;stroke-linecap:round;stroke-linejoin:round;}
.ma-inn-g{stroke:#FFFFFF;fill:none;stroke-linecap:round;stroke-linejoin:round;}
.ma-place text{
  font-family:inherit;font-size:6.4px;font-weight:600;letter-spacing:.14em;
  fill:#A09A8E;text-anchor:middle;
}
/* the location dot gets Apple's soft accuracy halo rather than a hard ring */
.ma .me-halo{fill:rgba(0,113,227,0.16);}

/* =========================================================
   ANA SAYFA — editorial layout
   The greeting is the page title and the membership card is the
   hero object; there is no sticky bar and nothing collapses on
   scroll, so the page simply scrolls like a document.
   ========================================================= */
#tabHistory .tab-body{background:var(--paper,#F6F5F2);}
#tabHome .tab-body{
  background:var(--paper,#F6F5F2);
  padding-top:max(30px, calc(env(safe-area-inset-top, 0px) + 22px));
}
.hm-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:14px;
  margin-bottom:26px;
}
.hm-hi{flex:1;min-width:0;margin:0;}
.hm-acts{display:flex;gap:2px;flex:none;padding-top:5px;}






/* On the paper ground the light-grey plates sit within a couple of points of
   the background and stop reading as cards, so on this tab they lift to
   white. The hairline is what separates them from the paper, not the fill. */
#tabHome .tap-cta{background:#FFFFFF;}
#tabHome .map-card{background:#FFFFFF;}

/* =========================================================
   PROFİL — brought onto the paper/white-card language
   the Home and Geçmiş tabs already use. Cards lift to white, radii
   match, and the surfaces stop being flat grey plates on white.
   ========================================================= */
#tabUyelik .tab-body,
#tabProfile .tab-body{background:var(--paper,#F6F5F2);}

/* every plate on these two tabs becomes a white card */
#tabProfile .acc-tile, #tabProfile .acc-setup, #tabProfile .prof-menu {
  background:#FFFFFF;
  border-color:transparent;
  box-shadow:var(--shadow-card);
}


#tabProfile .acc-tile{border-radius:18px;padding:17px 15px;}
#tabProfile .acc-setup {border-radius:22px;}
#tabProfile .prof-menu{border-radius:22px;}

/* the accordion stack is a card too, not a set of hairlines on the page */

/* active states have to change against white, not against grey */
#tabProfile .acc-tile:active, #tabProfile .acc-setup:active {background:#F4F4F2;}
#tabProfile .prof-row:active{background:rgba(0,0,0,.035);}

/* the name block gets the page-title treatment the other tabs carry */
.acc-name{
  font-size:clamp(30px, 8.6vw, 38px);font-weight:400;letter-spacing:-.035em;
  line-height:1.08;
}

#srv{background:var(--paper,#000);display:flex;flex-direction:column;}
