@font-face {
  font-family: 'Pally';
  src: url('/assets/fonts/Pally-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pally';
  src: url('/assets/fonts/Pally-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pally';
  src: url('/assets/fonts/Pally-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: #cbfd56 #f0f0f0;
}

*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background: #f0f0f0;
}

*::-webkit-scrollbar-thumb {
  background: #cbfd56;
  border-radius: 8px;
}

*::-webkit-scrollbar-thumb:hover {
  background: #b8e84d;
}

body {
  font-family: 'Pally', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  color: #111;
  background: #fff;
}

.font-regular { font-weight: 400; }
.font-medium  { font-weight: 500; }
.font-bold    { font-weight: 700; }

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

html.no-tap-highlight,
html.no-tap-highlight * {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}


.age-gate {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 14px;
  padding: 20px 24px 12px;
}

body.age-gate-page {
  background: #1f01b9;
}

html:has(body.age-gate-page) {
  background: #1f01b9;
}

.age-gate-page .site-footer {
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 24px calc(6px + env(safe-area-inset-bottom));
  text-align: center;
}

.age-gate__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 12px;
}

.age-gate__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.age-gate__brand-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.age-gate__brand-icon {
  height: 24px;
  width: auto;
}

.age-gate__brand-logo {
  height: 26px;
  width: auto;
}

.age-gate__desc {
  max-width: 300px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.5;
}

.age-gate__middle {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.age-gate__visual {
  position: relative;
  width: 220px;
  height: 320px;
  margin: 4px 0;
}

.age-gate__teaser {
  position: absolute;
  width: 160px;
  height: 240px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  border: none;
}

.age-gate__teaser--1 {
  top: 0;
  left: 0;
  transform: rotate(-5deg);
}

.age-gate__teaser--2 {
  top: 70px;
  left: 50px;
  transform: rotate(5deg);
}

.age-gate__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 280px;
  padding: 13px 20px;
  border-radius: 10px 0 10px 0;
  font-size: 15px;
  font-family: 'Pally', Arial, sans-serif;
  cursor: pointer;
  border: 2px solid transparent;
}

.age-gate__btn--outline {
  background: #cbfd56;
  color: #000;
  border: 2px solid transparent;
}

.age-gate__btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
}

.age-gate__btn--outline:hover,
.age-gate__btn--outline:active,
.age-gate__btn--outline:focus-visible {
  background: transparent;
  border: 2px solid #cbfd56;
  color: #cbfd56;
}

.age-gate__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 280px;
}

@media (min-width: 769px) {
  .age-gate__middle {
    display: contents;
  }

  .age-gate {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    height: 100vh;
    min-height: 0;
    padding: 0;
    gap: 0;
  }

  .age-gate__visual {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 0 32px 32px 0;
  }

  .age-gate__teaser {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 0;
    animation: age-gate-fade 6s infinite;
  }

  .age-gate__teaser--1 {
    animation-delay: 0s;
  }

  .age-gate__teaser--2 {
    animation-delay: 3s;
  }

  .age-gate__intro {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    padding: 60px 80px 0;
  }

  .age-gate__brand-icon-wrap {
    width: 56px;
    height: 56px;
  }

  .age-gate__brand-icon {
    height: 28px;
  }

  .age-gate__brand-logo {
    height: 32px;
  }

  .age-gate__desc {
    max-width: 380px;
    font-size: 17px;
  }

  .age-gate__actions {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    padding: 0 80px;
    max-width: none;
    flex-direction: row;
  }

  .age-gate__btn {
    max-width: 220px;
    padding: 16px 24px;
    font-size: 16px;
  }

  .age-gate__btn--ghost {
    background: #000;
    color: #fff;
    text-decoration: none;
  }

  .age-gate__btn--ghost:hover,
  .age-gate__btn--ghost:active,
  .age-gate__btn--ghost:focus-visible {
    background: transparent;
    border: 2px solid #000;
    color: #fff;
  }

  .age-gate-page .site-footer {
    position: fixed;
    left: auto;
    right: 80px;
    top: auto;
    bottom: 40px;
    transform: none;
    width: auto;
    padding: 0;
  }
}

@keyframes age-gate-fade {
  0% { opacity: 1; }
  45% { opacity: 1; }
  55% { opacity: 0; }
  100% { opacity: 0; }
}
.site-header {
  background: #fff;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #eee;
}

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: transparent;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.icon-circle svg {
  width: 24px;
  height: 24px;
}

.icon-circle:hover,
.icon-circle:focus-visible,
.icon-circle.is-active {
  border-color: #cbfd56;
}

.site-header__profile-toggle,
.site-header__help-mobile {
  display: none;
}

.bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .site-header {
    padding: 16px 20px;
    justify-content: space-between;
  }

  .site-header__brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .site-header__profile-toggle,
  .site-header__help-mobile {
    display: flex;
  }

  body {
    padding-bottom: 84px;
  }

  .bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    padding: 10px 12px 14px;
    z-index: 30;
  }

  .bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #fff;
    flex: 1;
  }

  .bottom-nav svg {
    width: 24px;
    height: 24px;
  }

  .bottom-nav span {
    font-family: 'Pally', Arial, sans-serif;
    font-size: 11px;
  }

  .bottom-nav a.is-active svg {
    fill: #cbfd56;
    stroke: #cbfd56;
  }

  .bottom-nav a.is-active span {
    color: #cbfd56;
  }

  .bottom-nav__avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #cbfd56;
  }

  .feed-tabs {
    top: 73px;
  }
}

.feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  max-width: 480px;
  margin: 0 auto;
}

.content-card {
  display: flex;
  align-items: stretch;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.content-card__media {
  width: 62%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  flex-shrink: 0;
}

.content-card__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
}

.content-card__info svg {
  width: 22px;
  height: 22px;
  color: #111;
}

.content-card__title {
  font-size: 14px;
  color: #111;
  line-height: 1.4;
}

.site-footer {
  padding: 20px 24px;
  text-align: center;
}

@media (min-width: 769px) {
  .site-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    text-align: right;
    padding: 20px 40px;
  }
}

.home-layout {
  display: flex;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto;
}

.side-nav {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 260px;
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 100;
  padding: 20px 16px;
  gap: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 2px 0 16px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
}

.side-nav.is-open {
  transform: translateX(0);
}

.side-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 90;
}

.side-nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.side-nav__profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.side-nav__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.side-nav__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-nav__links a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 10px;
  border-radius: 10px;
  color: #111;
}

.side-nav__links a svg {
  width: 22px;
  height: 22px;
}

.side-nav__links a:hover,
.side-nav__links a.is-active {
  background: #f5f5f5;
}

.subscription-panel {
  display: none;
}

.feed-main {
  width: 100%;
  padding: 16px;
}

.feed-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid #eee;
  margin-bottom: 16px;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 5;
}

.feed-tab {
  background: none;
  border: none;
  padding: 12px 4px;
  font-family: 'Pally', Arial, sans-serif;
  font-size: 15px;
  color: #888;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.feed-tab.is-active {
  color: #111;
  border-bottom-color: #cbfd56;
}

.sort-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.feed-filters {
  display: none;
  gap: 10px;
  margin-bottom: 16px;
}

.filter-pill {
  background: #f2f2f2;
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-family: 'Pally', Arial, sans-serif;
  font-size: 13px;
  color: #444;
  cursor: pointer;
}

.filter-pill.is-active {
  background: #cbfd56;
  color: #000;
}

.post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 500px;
  margin: 0 auto;
}

.post-grid.is-media-view {
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  max-width: none;
  margin: 0;
}

.post-card {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
}

.post-grid.is-media-view .post-card {
  border-radius: 0;
}

.post-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card__unlock {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #cbfd56;
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .home-layout {
    display: grid;
    grid-template-columns: 240px 1fr 280px;
    gap: 24px;
    align-items: start;
    height: calc(100vh - 81px);
    overflow: hidden;
  }

  .side-nav {
    position: static;
    top: auto;
    left: auto;
    width: auto;
    height: 100%;
    transform: none;
    box-shadow: none;
    z-index: auto;
    display: flex;
    overflow-y: auto;
  }

  .side-nav-backdrop {
    display: none;
  }

  .subscription-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
  }

  .feed-main {
    padding: 16px 0;
    height: 100%;
    overflow-y: auto;
  }

  .subscription-panel {
    padding: 16px;
    border-left: 1px solid #eee;
    gap: 16px;
  }

  .subscription-tabs {
    display: flex;
    gap: 8px;
  }

  .sub-tab {
    flex: 1;
    background: #f2f2f2;
    border: none;
    border-radius: 8px;
    padding: 10px 6px;
    font-family: 'Pally', Arial, sans-serif;
    font-size: 13px;
    cursor: pointer;
  }

  .sub-tab.is-active {
    background: #cbfd56;
    color: #000;
  }

  .subscription-panel__pricing {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 16px;
  }
}

.post-card__lock {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-card__lock-price {
  background: #cbfd56;
  color: #000;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
}

.signup-wall {
  text-align: center;
  padding: 32px 16px;
  border-top: 1px solid #eee;
  margin-top: 16px;
}

.signup-wall .age-gate__btn {
  display: inline-flex;
  width: auto;
  margin-top: 12px;
}

.auth-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 110;
}

.auth-sheet-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.auth-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px 24px 0 0;
  transform: translateY(100%);
  transition: transform 0.35s ease;
  z-index: 120;
  padding: 40px 24px 36px;
  -webkit-mask-image: radial-gradient(circle 26px at 50% 0px, transparent 26px, #000 27px);
  mask-image: radial-gradient(circle 26px at 50% 0px, transparent 26px, #000 27px);
}

.auth-sheet.is-open {
  transform: translateY(0);
}

.auth-sheet__close {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #111;
}

.auth-sheet__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.auth-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 320px;
  padding: 14px 20px;
  border-radius: 10px 0 10px 0;
  border: 1px solid #ddd;
  background: #fff;
  color: #111;
  font-size: 15px;
  cursor: pointer;
}

.auth-google-btn__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: 32px 24px;
}

.login-page__icon {
  height: 48px;
  width: auto;
}

.login-page__actions {
  margin-top: 12px;
}