/* =============================================================
   OnlyFans — feuille de style
   Palette, layout et composants de la page créateur
   ============================================================= */

:root {
  --blue: #00aff0;
  --blue-dark: #0095cf;
  --blue-soft: #e6f7fe;
  --ink: #0f1419;
  --ink-2: #43484d;
  --ink-3: #8a96a3;
  --line: #e6ecf0;
  --line-2: #f0f4f7;
  --bg: #f4f7f9;
  --card: #ffffff;
  --pink: #ff3b6b;
  --green: #00c46a;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 20, 25, .06);
  --shadow-md: 0 4px 16px rgba(15, 20, 25, .08);
  --shadow-lg: 0 18px 50px rgba(15, 20, 25, .18);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--sm { width: 18px; height: 18px; }
.icon--fill { fill: currentColor; stroke: none; }

/* Les panneaux masqués le restent, même avec un display explicite. */
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Shell ---------------------------------------------------- */

.shell {
  display: grid;
  grid-template-columns: 246px minmax(0, 660px) 330px;
  gap: 24px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  align-items: start;
}

/* ---------- Barre latérale ------------------------------------------- */

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 18px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 12px 18px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.6px;
  color: var(--ink);
}
.logo:hover { text-decoration: none; }
.logo__mark {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #00c8ff, #0091d4);
  color: #fff; font-size: 13px; font-weight: 800; letter-spacing: -.5px;
  box-shadow: 0 2px 8px rgba(0, 175, 240, .4);
}
.logo__mark span { transform: translateX(-.5px); }
.logo__word { white-space: nowrap; }
.logo b { color: var(--blue); font-weight: 800; }

.nav { display: flex; flex-direction: column; gap: 2px; }

.nav__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink-2);
  font-weight: 600;
  transition: background .15s, color .15s;
}
.nav__item:hover { background: #eaf0f4; color: var(--ink); text-decoration: none; }
.nav__item.is-active { color: var(--ink); background: #e9f6fd; }
.nav__item.is-active .icon { color: var(--blue); }

.nav__badge {
  margin-left: auto;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.sidebar__cta {
  margin: 14px 12px 0;
  padding: 11px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 175, 240, .35);
  transition: background .15s, transform .1s;
}
.sidebar__cta:hover { background: var(--blue-dark); }
.sidebar__cta:active { transform: translateY(1px); }

.sidebar__me {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
}
.sidebar__me img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.sidebar__me .name { font-weight: 700; font-size: 14px; }
.sidebar__me .handle { color: var(--ink-3); font-size: 13px; }
.avatar-fallback {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: #dde6ec; color: var(--ink-2); font-weight: 700; font-size: 13px;
}

/* ---------- Colonne centrale ----------------------------------------- */

.main { padding: 0 0 60px; min-width: 0; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
}
.topbar__back {
  background: none; border: 0; padding: 6px; margin: -6px; cursor: pointer;
  border-radius: 50%; color: var(--ink-2); display: grid; place-items: center;
}
.topbar__back:hover { background: var(--line-2); }
.topbar__title { font-weight: 800; font-size: 17px; line-height: 1.2; }
.topbar__sub { color: var(--ink-3); font-size: 13px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.profile { margin-top: 16px; overflow: hidden; }

.profile__banner {
  position: relative;
  aspect-ratio: 16 / 5;
  background: #cfd9e0;
}
.profile__banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.profile__banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .22), rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .1));
}

.profile__head { padding: 0 18px 16px; }

.profile__avatar-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: -46px;
}

.profile__avatar {
  position: relative;
  width: 116px; height: 116px;
  border-radius: 50%;
  border: 4px solid #fff;
  background: #dde6ec;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  flex: none;
}
.profile__avatar img { width: 100%; height: 100%; object-fit: cover; }

.profile__online {
  position: absolute; right: 6px; bottom: 8px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--green); border: 3px solid #fff;
}

.profile__tools { display: flex; gap: 8px; padding-bottom: 6px; }
.round-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff; color: var(--ink-2);
  display: grid; place-items: center; cursor: pointer;
  transition: background .15s, color .15s;
}
.round-btn:hover { background: var(--blue-soft); color: var(--blue); border-color: #cfeefc; }

.profile__identity { margin-top: 12px; }
.profile__name {
  display: flex; align-items: center; gap: 6px;
  margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.3px;
}
.verified { color: var(--blue); width: 19px; height: 19px; }
.profile__handle { color: var(--ink-3); font-size: 15px; }

.profile__meta {
  display: flex; flex-wrap: wrap; gap: 6px 18px;
  margin-top: 12px; color: var(--ink-3); font-size: 14px;
}
.profile__meta span { display: flex; align-items: center; gap: 6px; }
.profile__meta .icon { color: var(--ink-3); }

.profile__bio { margin-top: 14px; font-size: 14.5px; color: var(--ink-2); }
.profile__bio p { margin: 0 0 8px; }
.profile__bio p:last-child { margin-bottom: 0; }
.profile__bio .tags { color: var(--blue); font-weight: 600; }

.stats {
  display: flex;
  gap: 26px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
}
.stats div { font-size: 13px; color: var(--ink-3); }
.stats b { display: block; font-size: 16px; color: var(--ink); }

/* ---------- Bloc abonnement ------------------------------------------ */

.subscribe { margin-top: 16px; padding: 18px; }

.subscribe__head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 14px;
}
.subscribe__head h2 { margin: 0; font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--ink-2); }
.pill {
  padding: 4px 10px; border-radius: 999px;
  background: #fff2f5; color: var(--pink);
  font-size: 12px; font-weight: 700;
}

.subscribe__main {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 22px;
  border: 0; border-radius: 999px;
  background: linear-gradient(135deg, #00c3ff, #0092d6);
  color: #fff; cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 160, 225, .35);
  transition: filter .15s, transform .1s;
}
.subscribe__main:hover { filter: brightness(1.06); }
.subscribe__main:active { transform: translateY(1px); }
.subscribe__label { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; }
.subscribe__price { font-size: 16px; font-weight: 800; white-space: nowrap; }

.subscribe__note { margin: 12px 2px 0; color: var(--ink-3); font-size: 12.5px; text-align: center; }

.bundles { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.bundles h3 { margin: 0 0 10px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--ink-3); }
.bundles ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }

.bundle {
  width: 100%;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.bundle:hover { border-color: var(--blue); background: var(--blue-soft); }
.bundle__dur { font-weight: 700; }
.bundle__off {
  padding: 2px 8px; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue-dark);
  font-size: 12px; font-weight: 700;
}
.bundle__price { margin-left: auto; font-weight: 800; }
.bundle__unit { color: var(--ink-3); font-size: 12px; font-weight: 600; }

/* ---------- Onglets --------------------------------------------------- */

.tabs {
  display: flex;
  margin-top: 16px;
  padding: 0 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }

.tab {
  flex: 1;
  min-width: 120px;
  padding: 14px 10px;
  border: 0;
  background: none;
  color: var(--ink-3);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .15s;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--blue); border-bottom-color: var(--blue); }
.tab small { color: var(--ink-3); font-weight: 600; }

/* ---------- Publications --------------------------------------------- */

.feed { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }

.post { overflow: hidden; }

.post__head { display: flex; align-items: center; gap: 11px; padding: 14px 16px 12px; }
.post__head img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.post__who { display: flex; align-items: center; gap: 5px; font-weight: 700; line-height: 1.25; }
.post__who .verified { width: 16px; height: 16px; }
.post__when { color: var(--ink-3); font-size: 13px; }
.post__menu { margin-left: auto; }

.post__text { padding: 0 16px 12px; font-size: 14.5px; color: var(--ink-2); }
.post__text .tags { color: var(--blue); font-weight: 600; }

.post__media { position: relative; background: #eef2f5; }
.post__media img { width: 100%; height: auto; max-height: 620px; object-fit: cover; object-position: center 62%; }

.media-btn {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in;
}

.post__badge {
  position: absolute; top: 12px; left: 12px;
  display: flex; align-items: center; gap: 5px;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(15, 20, 25, .62);
  backdrop-filter: blur(6px);
  color: #fff; font-size: 12px; font-weight: 700;
}

/* Publications premium (contenu flouté) */
.post--locked .post__media { cursor: pointer; }
.post--locked .post__media img { max-height: 460px; filter: blur(14px) saturate(.82); transform: scale(1.08); }

.lock {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 24px;
  text-align: center; color: #fff;
  background: linear-gradient(180deg, rgba(10, 22, 34, .42), rgba(10, 22, 34, .6));
}
.lock__ring {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(4px);
}
.lock__ring .icon { width: 26px; height: 26px; }
.lock__title { font-weight: 800; font-size: 16px; text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }
.lock__meta { font-size: 13px; opacity: .9; display: flex; gap: 14px; }
.lock__meta span { display: flex; align-items: center; gap: 5px; }
.lock__btn {
  margin-top: 4px; padding: 11px 22px;
  border: 0; border-radius: 999px;
  background: #fff; color: var(--ink);
  font-weight: 800; font-size: 14px; cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  transition: transform .1s, background .15s;
}
.lock__btn:hover { background: #f2f8fb; }
.lock__btn:active { transform: translateY(1px); }

.post__actions {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 10px 12px;
}
.action {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 10px; border: 0; border-radius: 999px;
  background: none; color: var(--ink-3);
  font-size: 13.5px; font-weight: 600; cursor: pointer;
  transition: background .15s, color .15s;
}
.action:hover { background: var(--line-2); color: var(--ink-2); }
.action--like.is-on { color: var(--pink); }
.action--like.is-on .icon { fill: var(--pink); stroke: var(--pink); }
.action--tip { color: var(--blue); }
.action--save { margin-left: auto; }
.action--save.is-on { color: var(--blue); }
.action--save.is-on .icon { fill: var(--blue); stroke: var(--blue); }

/* ---------- Onglet Médias -------------------------------------------- */

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 16px;
  border-radius: var(--radius);
  overflow: hidden;
}
.media-grid__cell { position: relative; aspect-ratio: 1; background: #e8eef2; border: 0; padding: 0; cursor: pointer; }
.media-grid__cell img { width: 100%; height: 100%; object-fit: cover; }
.media-grid__cell--locked img { filter: blur(10px) saturate(.8); transform: scale(1.1); }
.media-grid__cell--locked::after {
  content: ""; position: absolute; inset: 0; background: rgba(10, 22, 34, .35);
}
.media-grid__lock {
  position: absolute; inset: 0; z-index: 1;
  display: grid; place-items: center; color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .4);
}

/* ---------- Onglet À propos ------------------------------------------- */

.about { margin-top: 16px; padding: 18px; }
.about h2 { margin: 0 0 12px; font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--ink-2); }
.about dl { display: grid; grid-template-columns: 150px 1fr; gap: 10px 16px; margin: 0; font-size: 14.5px; }
.about dt { color: var(--ink-3); font-weight: 600; }
.about dd { margin: 0; color: var(--ink-2); }

/* ---------- Colonne de droite ---------------------------------------- */

.aside {
  position: sticky;
  top: 16px;
  padding: 16px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.search {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 14px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; color: var(--ink-3);
}
.search input { border: 0; outline: 0; background: none; width: 100%; font-size: 14px; color: var(--ink); }
.search input::placeholder { color: var(--ink-3); }

.panel { padding: 16px; }
.panel h2 { margin: 0 0 12px; font-size: 14px; font-weight: 800; letter-spacing: .2px; }

.suggest { display: flex; flex-direction: column; gap: 12px; }
.suggest__row { display: flex; align-items: center; gap: 10px; }
.suggest__row .name { font-weight: 700; font-size: 14px; line-height: 1.2; display: flex; align-items: center; gap: 4px; }
.suggest__row .name .verified { width: 14px; height: 14px; }
.suggest__row .handle { color: var(--ink-3); font-size: 13px; }
.suggest__price {
  margin-left: auto; padding: 6px 12px;
  border: 1px solid var(--blue); border-radius: 999px;
  background: #fff; color: var(--blue);
  font-size: 12.5px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.suggest__price:hover { background: var(--blue); color: #fff; }

.promo {
  padding: 18px;
  border: 0;
  background: linear-gradient(140deg, #0a2a3d, #0f4c68 55%, #00aff0);
  color: #fff;
}
.promo h2 { margin: 0 0 6px; font-size: 16px; }
.promo p { margin: 0 0 14px; font-size: 13.5px; opacity: .85; }
.promo button {
  padding: 10px 18px; border: 0; border-radius: 999px;
  background: #fff; color: #0a2a3d; font-weight: 800; font-size: 13.5px; cursor: pointer;
}

.foot { color: var(--ink-3); font-size: 12.5px; padding: 0 4px; }
.foot ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 10px; padding: 0; }
.foot a { color: var(--ink-3); }
.foot p { margin: 0; line-height: 1.5; }

/* ---------- Lightbox -------------------------------------------------- */

.lightbox {
  position: fixed; inset: 0; z-index: 60;
  display: grid; place-items: center;
  padding: 24px;
  background: rgba(8, 14, 20, .9);
  backdrop-filter: blur(3px);
}
.lightbox img { max-width: min(100%, 760px); max-height: 88vh; width: auto; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox__close {
  position: absolute; top: 18px; right: 18px;
  width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .14); color: #fff;
  display: grid; place-items: center; cursor: pointer;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .25); }

/* ---------- Modale de paiement --------------------------------------- */

.modal {
  position: fixed; inset: 0; z-index: 70;
  display: grid; place-items: center;
  padding: 20px;
  background: rgba(8, 14, 20, .55);
  backdrop-filter: blur(3px);
}
.modal__box {
  width: min(100%, 420px);
  background: #fff; border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: pop .18s ease-out;
}
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }

.modal__top {
  position: relative;
  padding: 26px 24px 20px;
  text-align: center;
  background: linear-gradient(140deg, #00c3ff, #0087c9);
  color: #fff;
}
.modal__top h2 { margin: 10px 0 2px; font-size: 19px; }
.modal__top p { margin: 0; font-size: 13.5px; opacity: .9; }
.modal__avatar { width: 64px; height: 64px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .7); object-fit: cover; margin: 0 auto; }
.modal__close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .2); color: #fff;
  display: grid; place-items: center; cursor: pointer;
}
.modal__body { padding: 20px 22px 22px; }
.modal__line {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 9px 0; font-size: 14.5px; color: var(--ink-2);
  border-bottom: 1px solid var(--line-2);
}
.modal__line b { color: var(--ink); }
.modal__line--total { border-bottom: 0; padding-top: 12px; font-size: 16px; }
.modal__cta {
  width: 100%; margin-top: 14px; padding: 14px;
  border: 0; border-radius: 999px;
  background: var(--blue); color: #fff;
  font-weight: 800; font-size: 15px; cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 175, 240, .35);
}
.modal__cta:hover { background: var(--blue-dark); }
.modal__legal { margin: 12px 0 0; color: var(--ink-3); font-size: 12px; text-align: center; line-height: 1.5; }

/* ---------- Toast ----------------------------------------------------- */

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 90;
  transform: translate(-50%, 14px);
  display: flex; align-items: center; gap: 9px;
  max-width: calc(100% - 32px);
  padding: 12px 18px; border-radius: 999px;
  background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Navigation mobile ---------------------------------------- */

.tabbar { display: none; }

/* ---------- Adaptations ----------------------------------------------- */

@media (max-width: 1140px) {
  .shell { grid-template-columns: 246px minmax(0, 660px); }
  .aside { display: none; }
}

@media (max-width: 960px) {
  .shell { grid-template-columns: 74px minmax(0, 1fr); gap: 14px; padding: 0 14px; }
  .logo { justify-content: center; padding: 6px 0 18px; font-size: 0; gap: 0; }
  .nav__item { justify-content: center; padding: 12px 0; }
  .nav__item span:not(.nav__badge) { display: none; }
  .nav__badge { position: absolute; margin: 0; transform: translate(14px, -12px); }
  .nav__item { position: relative; }
  .sidebar__cta { margin: 14px 0 0; padding: 11px 0; font-size: 0; }
  .sidebar__cta::after { content: "+"; font-size: 20px; font-weight: 700; }
  .sidebar__me { justify-content: center; padding: 10px 0; }
  .sidebar__me .who { display: none; }
}

@media (max-width: 720px) {
  body { padding-bottom: 66px; }
  .shell { grid-template-columns: minmax(0, 1fr); padding: 0; gap: 0; }
  .sidebar { display: none; }
  .main { padding-bottom: 24px; }
  .topbar { border-radius: 0; border-left: 0; border-right: 0; }
  .profile, .subscribe, .post, .about, .media-grid { border-radius: 0; border-left: 0; border-right: 0; }
  .feed { gap: 10px; }
  .profile__avatar { width: 92px; height: 92px; }
  .profile__avatar-row { margin-top: -34px; }
  .profile__name { font-size: 19px; }
  .stats { gap: 18px; }
  .subscribe__main { padding: 14px 18px; }
  .subscribe__label { font-size: 13.5px; }
  .tabbar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
    display: flex; justify-content: space-around;
    padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .tabbar a { padding: 8px 16px; color: var(--ink-3); border-radius: 10px; }
  .tabbar a.is-active { color: var(--blue); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
