/* ============================================
   PUAJO PROTOTYPE - Digital Pop & Academic
   Design System + Full Styles
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=LINE+Seed+JP:wght@100;300;400;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  --pink: #FF2D55;
  --cyan: #00F0FF;
  --purple: #8A2BE2;
  --black: #111111;
  --white: #FFFFFF;
  --gray-bg: #F3F4F6;
  --gray-light: #E5E7EB;
  --gray-mid: #9CA3AF;
  --font-heading: 'LINE Seed JP', sans-serif;
  --font-number: 'LINE Seed JP', sans-serif;
  --font-body: 'LINE Seed JP', sans-serif;
  --radius-blob: 60% 40% 50% 50% / 50% 60% 40% 50%;
  --border-hand: 3px solid var(--black);
  --shadow-pop: 4px 4px 0px var(--black);
  --shadow-pop-sm: 2px 2px 0px var(--black);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--gray-bg);
  background-image: radial-gradient(circle, #d1d5db 1px, transparent 1px);
  background-size: 20px 20px;
  color: var(--black);
  overflow: hidden;
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* --- App Shell --- */
.app-shell {
  width: 100%;
  max-width: 393px;
  height: 100dvh;
  max-height: 852px;
  position: relative;
  background: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.15);
}

/* --- Screen Container --- */
.screen-container {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.screen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  overflow-x: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  -webkit-overflow-scrolling: touch;
}

.screen.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/* --- Scrollbar hide --- */
.screen::-webkit-scrollbar {
  display: none;
}

.screen {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ============================================
   STAT CARDS
   ============================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0 1rem;
  margin: -0.5rem 0 1rem;
}

.stat-card {
  padding: 0.8rem 0.4rem;
  border-radius: 1rem;
  text-align: center;
  overflow: hidden;
}

.stat-number {
  font-family: var(--font-number);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat-label {
  font-size: 0.55rem;
  font-weight: 700;
  margin-top: 0.2rem;
  white-space: nowrap;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

.heading-stroke {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2rem;
  color: var(--white);
  -webkit-text-stroke: 3px var(--black);
  paint-order: stroke fill;
  letter-spacing: 0.02em;
}

.heading-bold {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--black);
  letter-spacing: -0.02em;
}

.number-pop {
  font-family: var(--font-number);
  font-weight: 900;
  line-height: 1;
}

.marker-highlight {
  background: linear-gradient(transparent 60%, var(--cyan) 60%);
  padding: 0 4px;
}

.marker-highlight-yellow {
  background: linear-gradient(transparent 60%, #FFE066 60%);
  padding: 0 4px;
}

/* ============================================
   BLOB / ORGANIC SHAPES
   ============================================ */

.blob {
  border-radius: var(--radius-blob);
  position: relative;
}

.blob-pink {
  background: var(--pink);
}

.blob-cyan {
  background: var(--cyan);
}

.blob-purple {
  background: var(--purple);
}

.blob-gradient-cp {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
}

.blob-gradient-pp {
  background: linear-gradient(135deg, var(--purple), var(--pink));
}

/* --- Hand-drawn border cards --- */
.card-hand {
  border: var(--border-hand);
  border-radius: 1.2rem;
  box-shadow: var(--shadow-pop);
  background: var(--white);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.card-hand:active {
  box-shadow: 1px 1px 0px var(--black);
  transform: translate(3px, 3px);
}

/* ============================================
   SPARKLE / DECO SVGs (inline)
   ============================================ */

.sparkle {
  position: absolute;
  pointer-events: none;
  animation: sparkle-float 3s ease-in-out infinite alternate;
}

@keyframes sparkle-float {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  100% {
    transform: translateY(-8px) rotate(15deg);
  }
}

.sparkle-delay-1 {
  animation-delay: 0.5s;
}

.sparkle-delay-2 {
  animation-delay: 1s;
}

.sparkle-delay-3 {
  animation-delay: 1.5s;
}

/* ============================================
   SCREEN 1: HOME
   ============================================ */

.home-screen {
  padding-bottom: 2rem;
  background: var(--white);
  background-image: radial-gradient(circle, #f0f0f0 1px, transparent 1px);
  background-size: 16px 16px;
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 220px;
  padding: 2rem 1rem;
  overflow: hidden;
}

.hero-blob {
  width: 280px;
  height: 180px;
  border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: blob-morph 8s ease-in-out infinite;
  box-shadow: 0 8px 40px rgba(255, 45, 85, 0.3);
}

@keyframes blob-morph {

  0%,
  100% {
    border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%;
  }

  25% {
    border-radius: 45% 55% 40% 60% / 55% 45% 55% 45%;
  }

  50% {
    border-radius: 50% 50% 60% 40% / 40% 60% 50% 50%;
  }

  75% {
    border-radius: 40% 60% 45% 55% / 60% 40% 45% 55%;
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--white);
  -webkit-text-stroke: 2.5px var(--black);
  paint-order: stroke fill;
  text-align: center;
  z-index: 2;
  line-height: 1.4;
  filter: drop-shadow(2px 2px 0 var(--black));
}

.hero-deco-circle {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid var(--black);
  opacity: 0.15;
}

/* Trend Grid */
.trend-section {
  padding: 0 1rem 1.5rem;
}

.trend-section-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trend-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.trend-card {
  padding: 1rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.trend-card:nth-child(odd) {
  transform: rotate(-2deg);
}

.trend-card:nth-child(even) {
  transform: rotate(1.5deg);
}

.trend-card-dot-bg {
  background-image: radial-gradient(circle, var(--cyan) 1.5px, transparent 1.5px);
  background-size: 10px 10px;
}

.trend-card-dot-bg-pink {
  background-image: radial-gradient(circle, var(--pink) 1.5px, transparent 1.5px);
  background-size: 10px 10px;
}

.trend-card .trend-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.trend-card .trend-q {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--black);
}

.trend-card .trend-votes {
  font-family: var(--font-number);
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--gray-mid);
  margin-top: 0.5rem;
}

/* tape deco */
.tape {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 14px;
  background: rgba(0, 240, 255, 0.35);
  border-radius: 2px;
  z-index: 2;
}

.tape-pink {
  background: rgba(255, 45, 85, 0.35);
}

/* Quick Search */
.search-section {
  padding: 0 1rem 1.5rem;
}

.search-blob {
  border: var(--border-hand);
  border-radius: 2rem;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--white);
  box-shadow: var(--shadow-pop-sm);
  margin-bottom: 1rem;
}

.search-blob input {
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  flex: 1;
  background: transparent;
}

.search-blob .search-icon {
  font-size: 1.1rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border: 2px solid var(--black);
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  background: var(--white);
}

.tag:active {
  background: var(--pink);
  color: var(--white);
  transform: scale(0.95);
}

.tag-filled {
  background: var(--black);
  color: var(--white) !important;
}

.tag-filled:active {
  background: var(--purple);
  border-color: var(--purple);
}

/* Featured stats */
.stats-row {
  display: flex;
  gap: 0.8rem;
  padding: 0 1rem 1.5rem;
  overflow-x: auto;
}

.stat-card {
  flex: 0 0 auto;
  width: 140px;
  padding: 1rem;
  text-align: center;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: var(--white);
}

.stat-card .stat-number {
  font-family: var(--font-number);
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1;
}

.stat-card .stat-unit {
  font-size: 0.9rem;
  font-weight: 700;
}

.stat-card .stat-label {
  font-size: 0.7rem;
  margin-top: 0.3rem;
  opacity: 0.85;
}

/* ============================================
   SCREEN 2: DISCOVERY FEED
   ============================================ */

.feed-screen {
  background: #0a0a0a;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
}

.feed-card {
  width: 100%;
  height: 100%;
  min-height: 100%;
  scroll-snap-align: start;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

/* Video Card */
.video-card {
  background: linear-gradient(180deg, #1a0a2a 0%, #0d0d1a 100%);
}

.video-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) brightness(0.5);
}

.video-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(138, 43, 226, 0.3) 0%,
      rgba(138, 43, 226, 0.1) 40%,
      rgba(0, 0, 0, 0.7) 70%,
      rgba(0, 0, 0, 0.9) 100%);
}

.video-card-content {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  padding-bottom: 2rem;
}

.video-card .salary-display {
  margin-bottom: 0.5rem;
}

.salary-label {
  font-size: 0.8rem;
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.salary-number {
  font-family: var(--font-number);
  font-weight: 900;
  font-size: 3.8rem;
  color: var(--white);
  line-height: 1;
  text-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
}

.salary-yen {
  font-size: 1.4rem;
  color: var(--cyan);
  margin-left: 4px;
}

.video-card .card-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.video-card .card-tag {
  padding: 0.25rem 0.6rem;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 1rem;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.05);
}

.video-card .card-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.video-card .play-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.play-indicator::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent white;
  margin-left: 3px;
}

/* Side actions */
.feed-side-actions {
  position: absolute;
  right: 1rem;
  bottom: 6rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
}

.side-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: var(--white);
  font-size: 0.6rem;
  cursor: pointer;
}

.side-action-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.2s, background 0.2s;
}

.side-action-icon:active {
  transform: scale(1.2);
  background: var(--pink);
}

/* Honne Card (poll card in feed) */
.honne-card {
  background: linear-gradient(150deg, #1a0533 0%, #0d1a2a 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.honne-card-inner {
  width: 100%;
  max-width: 340px;
}

.honne-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.8rem;
  border-radius: 2rem;
  background: rgba(255, 45, 85, 0.2);
  border: 1.5px solid var(--pink);
  color: var(--pink);
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.honne-question {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 2rem;
}

.honne-question .q-mark {
  color: var(--cyan);
  font-family: var(--font-number);
  font-size: 2rem;
  margin-right: 0.3rem;
}

/* Poll Options */
.poll-options {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.poll-btn {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 2.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.poll-btn .poll-emoji {
  font-size: 1.4rem;
}

.poll-btn:active {
  transform: scale(0.97);
}

.poll-btn:hover {
  border-color: var(--cyan);
  background: rgba(0, 240, 255, 0.08);
}

.poll-btn.selected {
  border-color: var(--cyan);
  background: rgba(0, 240, 255, 0.15);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

/* Poll Results */
.poll-results {
  display: none;
  width: 100%;
  animation: fadeInUp 0.5s ease forwards;
}

.poll-results.visible {
  display: block;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.result-bar-container {
  flex: 1;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
}

.result-bar {
  height: 100%;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  padding-left: 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  width: 0;
  transition: width 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.result-bar.bar-cyan {
  background: linear-gradient(90deg, var(--cyan), var(--purple));
}

.result-bar.bar-pink {
  background: linear-gradient(90deg, var(--pink), var(--purple));
}

.result-percent {
  font-family: var(--font-number);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--white);
  min-width: 50px;
  text-align: right;
}

.donut-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
  position: relative;
}

.donut-chart {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  position: relative;
}

.donut-chart svg {
  width: 100%;
  height: 100%;
}

.donut-center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.donut-center-text .big-percent {
  font-family: var(--font-number);
  font-weight: 900;
  font-size: 2.8rem;
  color: var(--white);
  line-height: 1;
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.donut-center-text .percent-label {
  font-size: 0.7rem;
  color: var(--cyan);
  font-weight: 700;
}

.total-votes {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  margin-top: 1rem;
}

/* ============================================
   SCREEN 3: COMMUNITY
   ============================================ */

.community-screen {
  padding-bottom: 2rem;
  background: var(--white);
  background-image: radial-gradient(circle, #f0f0f0 1px, transparent 1px);
  background-size: 16px 16px;
}

.community-header {
  padding: 1.5rem 1rem 1rem;
}

.community-header h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Lollipop Chart */
.chart-section {
  padding: 0 1rem 1.5rem;
}

.chart-card {
  padding: 1.2rem;
}

.chart-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.lollipop-row {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  gap: 0.8rem;
}

.lollipop-label {
  font-size: 0.8rem;
  font-weight: 700;
  width: 60px;
  text-align: right;
  flex-shrink: 0;
}

.lollipop-track {
  flex: 1;
  height: 14px;
  background: var(--gray-light);
  border-radius: 1rem;
  position: relative;
  overflow: visible;
}

.lollipop-bar {
  height: 100%;
  border-radius: 1rem;
  width: 0;
  transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.lollipop-bar.grad-cp {
  background: linear-gradient(90deg, var(--cyan), var(--purple));
}

.lollipop-bar.grad-pp {
  background: linear-gradient(90deg, var(--purple), var(--pink));
}

.lollipop-bar.grad-pc {
  background: linear-gradient(90deg, var(--pink), var(--cyan));
}

.lollipop-dot {
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.lollipop-dot.dot-purple {
  background: var(--purple);
}

.lollipop-dot.dot-pink {
  background: var(--pink);
}

.lollipop-dot.dot-cyan {
  background: var(--cyan);
}

.lollipop-percent {
  font-family: var(--font-number);
  font-weight: 900;
  font-size: 1.1rem;
  width: 45px;
  flex-shrink: 0;
}

/* Comment Feed */
.comment-section {
  padding: 0 1rem 1rem;
}

.comment-section-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.comment-item {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 1rem;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.comment-avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 2px solid var(--black);
}

.avatar-blob-1 {
  border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
  background: #FFE4EC;
}

.avatar-blob-2 {
  border-radius: 40% 60% 55% 45% / 55% 45% 50% 50%;
  background: #E4F8FF;
}

.avatar-blob-3 {
  border-radius: 50% 50% 40% 60% / 60% 40% 55% 45%;
  background: #F0E4FF;
}

.avatar-blob-4 {
  border-radius: 55% 45% 60% 40% / 40% 60% 45% 55%;
  background: #FFF8E4;
}

.comment-bubble {
  background: var(--gray-bg);
  border-radius: 0 1.2rem 1.2rem 1.2rem;
  padding: 0.8rem 1rem;
  flex: 1;
  position: relative;
  border: 2px solid var(--gray-light);
}

.comment-name {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 0.25rem;
}

.comment-text {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--black);
}

.comment-time {
  font-size: 0.6rem;
  color: var(--gray-mid);
  margin-top: 0.3rem;
}

.comment-reactions {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.comment-reaction {
  padding: 0.15rem 0.4rem;
  border-radius: 1rem;
  background: var(--white);
  border: 1.5px solid var(--gray-light);
  font-size: 0.65rem;
  cursor: pointer;
  transition: all 0.15s;
}

.comment-reaction:active {
  background: var(--pink);
  color: var(--white);
  border-color: var(--pink);
}

/* ============================================
   BOTTOM NAVIGATION
   ============================================ */

.bottom-nav {
  display: flex;
  border-top: 3px solid var(--black);
  background: var(--white);
  padding: 0.4rem 0;
  padding-bottom: calc(0.4rem + env(safe-area-inset-bottom, 0px));
  flex-shrink: 0;
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.5rem 0;
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s;
}

.nav-item:active {
  transform: scale(0.9);
}

.nav-icon-wrap {
  position: relative;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-blob-bg {
  position: absolute;
  inset: -4px;
  border-radius: 55% 45% 60% 40% / 40% 55% 45% 60%;
  background: var(--pink);
  opacity: 0;
  transition: opacity 0.2s, transform 0.3s;
  transform: scale(0.5);
}

.nav-item.active .nav-blob-bg {
  opacity: 1;
  transform: scale(1);
  animation: nav-blob-wobble 4s ease-in-out infinite;
}

@keyframes nav-blob-wobble {

  0%,
  100% {
    border-radius: 55% 45% 60% 40% / 40% 55% 45% 60%;
  }

  50% {
    border-radius: 45% 55% 40% 60% / 60% 45% 55% 40%;
  }
}

.nav-icon {
  position: relative;
  z-index: 1;
  font-size: 1.3rem;
  transition: color 0.2s;
}

.nav-item.active .nav-icon {
  color: var(--white);
}

.nav-label {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--gray-mid);
  transition: color 0.2s;
}

.nav-item.active .nav-label {
  color: var(--pink);
}

/* ============================================
   UTILITY ANIMATIONS
   ============================================ */

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
  }

  50% {
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
  }
}

@keyframes float-up-down {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes rotate-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

.animate-float {
  animation: float-up-down 3s ease-in-out infinite;
}

/* ============================================
   MULTI-PAGE STYLES
   ============================================ */

/* Page Screen (non-SPA pages) */
.page-screen {
  padding-bottom: 1.5rem;
  background: var(--white);
  background-image: radial-gradient(circle, #f0f0f0 1px, transparent 1px);
  background-size: 16px 16px;
}

/* Link resets for multi-page nav */
a.nav-item,
a.tag,
a.trend-card,
a.shop-card,
a.area-card {
  text-decoration: none;
  color: inherit;
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 0.8rem 1rem 0.4rem;
  font-size: 0.7rem;
  color: var(--gray-mid);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--purple);
  text-decoration: none;
  font-weight: 700;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.bc-sep {
  color: var(--gray-light);
}

.bc-current {
  color: var(--black);
  font-weight: 700;
}

/* --- Section Title (reusable) --- */
.section-title-pop {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.2rem;
  padding: 0 1rem;
  margin-bottom: 1rem;
}

.shop-section {
  padding: 0 1rem 1.5rem;
}

.shop-section-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ============================================
   AREA PAGE
   ============================================ */

/* Area Grid (top page) */
.area-section {
  padding: 0 1rem 1.5rem;
}

.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.7rem;
}

.area-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0.5rem;
  color: var(--white);
  text-align: center;
  cursor: pointer;
}

.area-emoji {
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}

.area-name {
  font-weight: 900;
  font-size: 0.9rem;
}

.area-count {
  font-size: 0.65rem;
  opacity: 0.8;
  font-family: var(--font-number);
}

/* Area Page Hero */
.area-page-hero {
  display: flex;
  justify-content: center;
  padding: 1.5rem 1rem;
}

.area-hero-blob {
  width: 240px;
  height: 140px;
  border-radius: 55% 45% 60% 40% / 40% 60% 45% 55%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: blob-morph 8s ease-in-out infinite;
  box-shadow: 0 6px 30px rgba(0, 240, 255, 0.3);
}

.area-hero-emoji {
  font-size: 2rem;
}

.area-hero-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--white);
  -webkit-text-stroke: 2px var(--black);
  paint-order: stroke fill;
}

.area-hero-count {
  color: var(--white);
  font-size: 0.8rem;
  margin-top: 0.2rem;
}

/* Filter Chips */
.filter-section {
  padding: 0 0 1rem;
  overflow: hidden;
}

.filter-scroll {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0 1rem;
  -webkit-overflow-scrolling: touch;
}

.filter-scroll::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex-shrink: 0;
  padding: 0.4rem 0.9rem;
  border: 2px solid var(--black);
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--black);
  background: var(--white);
  transition: all 0.15s;
  white-space: nowrap;
}

.filter-chip:active,
.filter-chip.filter-active {
  background: var(--black);
  color: var(--white);
}

/* Sort Bar */
.sort-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 1rem 1rem;
  overflow-x: auto;
}

.sort-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gray-mid);
  flex-shrink: 0;
}

.sort-btn {
  padding: 0.3rem 0.7rem;
  border: 1.5px solid var(--gray-light);
  border-radius: 1rem;
  background: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s;
}

.sort-btn.sort-active {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}

/* Shop List Cards */
.shop-list {
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.shop-card {
  display: block;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}

.shop-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem 0.5rem;
  background: var(--gray-bg);
  border-bottom: 2px dashed var(--gray-light);
}

.shop-card-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
}

.badge-hot {
  background: var(--pink);
  color: white;
}

.badge-new {
  background: var(--purple);
  color: white;
}

.badge-guarantee {
  background: var(--cyan);
  color: var(--black);
}

.shop-card-salary {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.salary-small-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gray-mid);
}

.shop-salary-num {
  font-size: 1.6rem;
  color: var(--pink);
}

.salary-small-yen {
  font-size: 0.75rem;
  color: var(--gray-mid);
}

.shop-card-body {
  padding: 0.8rem 1rem;
}

.shop-card-name {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.shop-card-meta {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.shop-meta-tag {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 0.5rem;
  background: var(--gray-bg);
  color: var(--gray-mid);
}

.shop-card-features {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.feature-dot {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 1rem;
  color: white;
}

.feature-pink {
  background: var(--pink);
}

.feature-cyan {
  background: var(--cyan);
  color: var(--black);
}

.feature-purple {
  background: var(--purple);
}

.shop-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1rem;
  border-top: 2px solid var(--gray-light);
}

.shop-rating {
  font-size: 0.75rem;
  font-weight: 700;
}

.rating-count {
  color: var(--gray-mid);
  font-weight: 400;
}

.rating-dim {
  color: var(--gray-mid);
  font-weight: 400;
  font-size: 0.7rem;
}

.shop-card-arrow {
  font-size: 1.2rem;
  color: var(--purple);
  font-weight: 900;
}

/* ============================================
   SHOP DETAIL PAGE
   ============================================ */

.shop-hero {
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.shop-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a0a2a 0%, #2a0a3a 50%, #0d0d1a 100%);
}

.shop-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.8) 40%);
  padding-top: 4rem;
}

.shop-hero-tags {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.hero-tag {
  padding: 0.2rem 0.6rem;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 1rem;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.05);
}

.shop-hero-name {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--white);
  -webkit-text-stroke: 1.5px var(--black);
  paint-order: stroke fill;
  line-height: 1.3;
  margin-bottom: 0.3rem;
}

.shop-hero-rating {
  font-size: 0.8rem;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.shop-hero-salary-block {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.shop-hero-salary-label {
  font-size: 0.8rem;
  color: var(--cyan);
  font-weight: 700;
}

.shop-hero-salary-number {
  font-size: 3rem;
  color: var(--white);
  text-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
}

.shop-hero-salary-yen {
  font-size: 1.2rem;
  color: var(--cyan);
}

/* Quick Actions */
.quick-actions {
  padding: 1rem;
}

.cta-primary-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem;
  border: 3px solid var(--black);
  border-radius: 1.5rem;
  background: var(--pink);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--black);
  transition: all 0.15s;
  cursor: pointer;
}

.cta-primary-btn:active {
  box-shadow: 1px 1px 0 var(--black);
  transform: translate(3px, 3px);
}

.cta-primary-btn.cta-lg {
  padding: 1.2rem;
  font-size: 1.2rem;
}

.cta-row {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.cta-secondary-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem;
  border: 2px solid var(--black);
  border-radius: 1.2rem;
  background: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--black);
  box-shadow: var(--shadow-pop-sm);
  transition: all 0.15s;
}

.cta-secondary-btn:active {
  box-shadow: 0px 0px 0 var(--black);
  transform: translate(2px, 2px);
}

/* Salary Detail */
.salary-detail-card {
  padding: 1.2rem;
}

.salary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px dashed var(--gray-light);
}

.salary-item {
  text-align: center;
}

.salary-item-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gray-mid);
  margin-bottom: 0.3rem;
}

.salary-item-value {
  line-height: 1.2;
}

.salary-item-note {
  font-size: 0.6rem;
  color: var(--gray-mid);
  margin-top: 0.2rem;
}

.salary-extra {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.salary-extra-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
}

.salary-extra-icon {
  font-size: 1.3rem;
}

/* Point Cards */
.point-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.point-card {
  padding: 1rem;
  text-align: center;
}

.point-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
}

.point-icon {
  font-size: 1.4rem;
}

.point-label {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.82rem;
  margin-bottom: 0.3rem;
}

.point-desc {
  font-size: 0.7rem;
  color: var(--gray-mid);
  line-height: 1.5;
}

/* Conditions */
.condition-group {
  margin-bottom: 1rem;
}

.condition-group-label {
  font-size: 0.8rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.condition-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cond-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 1rem;
  border: 1.5px solid var(--gray-light);
  background: var(--gray-bg);
}

.cond-tag.cond-yes {
  border-color: var(--purple);
  color: var(--purple);
  background: #f5ecff;
}

.cond-tag.cond-money {
  border-color: var(--pink);
  color: var(--pink);
  background: #fff0f3;
}

.cond-tag.cond-work {
  border-color: var(--cyan);
  color: #0099aa;
  background: #ecfeff;
}

.cond-tag.cond-ok {
  border-color: #34d399;
  color: #059669;
  background: #ecfdf5;
}

/* Staff Voice */
.staff-voice {
  padding: 1.2rem;
}

.staff-voice-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.staff-name {
  font-weight: 900;
  font-size: 0.9rem;
}

.staff-role {
  font-size: 0.7rem;
  color: var(--gray-mid);
}

.staff-message {
  font-size: 0.85rem;
  line-height: 1.7;
}

/* Info Table */
.info-table {
  padding: 0;
  overflow: hidden;
}

.info-row {
  display: flex;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--gray-light);
  font-size: 0.82rem;
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  width: 80px;
  flex-shrink: 0;
  font-weight: 700;
  color: var(--gray-mid);
}

.info-value {
  flex: 1;
}

.info-link {
  color: var(--purple);
  text-decoration: none;
  font-weight: 700;
}

.info-link:hover {
  text-decoration: underline;
}

/* Apply Section */
.apply-section {
  padding: 1.5rem 1rem;
  text-align: center;
  background: var(--gray-bg);
  border-top: 3px solid var(--black);
  margin: 0 -0.01rem;
}

.apply-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.apply-sub {
  font-size: 0.8rem;
  color: var(--gray-mid);
  margin-bottom: 1rem;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 65px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  padding: 0 1rem;
  z-index: 50;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sticky-cta-btn {
  display: block;
  width: 100%;
  padding: 0.9rem;
  background: var(--pink);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  border-radius: 1.5rem;
  border: 3px solid var(--black);
  box-shadow: 0 4px 20px rgba(255, 45, 85, 0.4), 4px 4px 0 var(--black);
  pointer-events: all;
  transition: all 0.15s;
  animation: pulse-glow-pink 2s ease-in-out infinite;
}

.sticky-cta-btn:active {
  box-shadow: 0 2px 10px rgba(255, 45, 85, 0.3), 1px 1px 0 var(--black);
  transform: translate(3px, 3px);
}

@keyframes pulse-glow-pink {

  0%,
  100% {
    box-shadow: 0 4px 15px rgba(255, 45, 85, 0.3), 4px 4px 0 var(--black);
  }

  50% {
    box-shadow: 0 4px 30px rgba(255, 45, 85, 0.5), 4px 4px 0 var(--black);
  }
}

/* Related Shops */
.related-scroll {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.related-scroll::-webkit-scrollbar {
  display: none;
}

.related-card {
  flex: 0 0 auto;
  width: 160px;
  padding: 1rem;
  text-decoration: none;
  color: var(--black);
}

.related-salary {
  margin-bottom: 0.3rem;
  color: var(--pink);
}

.related-name {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
}

.related-meta {
  font-size: 0.65rem;
  color: var(--gray-mid);
}

/* Honne Banner */
.honne-banner {
  padding: 0 1rem 1.5rem;
}

.honne-banner-inner {
  display: flex;
  align-items: center;
  padding: 1rem;
  text-decoration: none;
  color: var(--black);
  background: linear-gradient(135deg, #f5ecff, #ecfeff);
}

.honne-banner-text {
  flex: 1;
}

.honne-banner-badge {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.2rem;
}

.honne-banner-desc {
  font-size: 0.75rem;
  color: var(--gray-mid);
}

.honne-banner-arrow {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--purple);
}

/* Honne Page Hero */
.honne-page-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1rem 0;
}

.honne-intro-text {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--gray-mid);
  text-align: center;
  padding: 1rem 0.5rem;
}

.honne-poll-card {
  border-radius: 1.2rem;
}

/* FAQ */
.faq-item {
  margin-bottom: 0.7rem;
  overflow: hidden;
}

.faq-q {
  padding: 1rem;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.88rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q::before {
  content: '＋';
  margin-right: 0.6rem;
  font-size: 1rem;
  color: var(--purple);
  font-weight: 900;
  flex-shrink: 0;
}

details[open] .faq-q::before {
  content: '−';
}

.faq-a {
  padding: 0 1rem 1rem;
  font-size: 0.82rem;
  line-height: 1.7;
  color: #555;
}

/* Footer */
.site-footer {
  padding: 1.5rem 1rem;
  text-align: center;
  border-top: 2px solid var(--gray-light);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.footer-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-mid);
  text-decoration: none;
}

.footer-link.active {
  color: var(--purple);
}

.footer-link:hover {
  color: var(--pink);
}

.footer-copy {
  font-size: 0.6rem;
  color: var(--gray-light);
}

/* ============================================
   REGION PAGE (kanto.html) COMPONENTS
   ============================================ */

.popular-area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.pop-area-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.pop-area-top {
  padding: 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  color: #fff;
}

.pop-area-emoji {
  font-size: 1.8rem;
}

.pop-area-name {
  font-weight: 900;
  font-size: 0.85rem;
  text-align: center;
}

.pop-area-bottom {
  padding: 0.6rem 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
}

.pop-area-salary {
  font-weight: 700;
}

.pop-area-count {
  font-size: 0.65rem;
  color: var(--gray-mid);
}

/* Prefecture Section */
.pref-section {
  padding: 0 1rem 1.5rem;
}

.pref-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--black);
}

.pref-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
}

.pref-count {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gray-mid);
}

/* Area Link Grid */
.area-link-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.area-link-chip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.8rem;
  background: var(--gray-bg);
  border: 1.5px solid var(--gray-light);
  border-radius: 0.8rem;
  text-decoration: none;
  color: var(--black);
  transition: all 0.15s;
}

.area-link-chip:active {
  transform: scale(0.97);
  border-color: var(--purple);
  background: #f5ecff;
}

.area-link-name {
  font-size: 0.75rem;
  font-weight: 700;
}

.area-link-count {
  font-size: 0.65rem;
  color: var(--gray-mid);
  font-family: var(--font-number);
}

.chip-highlight {
  border-color: var(--pink);
  background: #fff0f3;
}

/* ============================================
   PR BANNER & INFEED AD STYLES
   ============================================ */

/* --- PR Banner (rectangle ad placeholder) --- */
.pr-banner {
  display: block;
  margin: 1.2rem 1rem;
  padding: 0;
  border: 2px dashed #ccc;
  border-radius: 0.8rem;
  background: #f9f9f9;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #999;
  transition: border-color 0.2s;
}

.pr-banner:hover {
  border-color: #aaa;
}

.pr-banner-label {
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 0.55rem;
  font-weight: 700;
  color: #aaa;
  background: rgba(255, 255, 255, 0.8);
  padding: 1px 6px;
  border-radius: 3px;
  letter-spacing: 0.05em;
}

.pr-banner-inner {
  text-align: center;
}

.pr-banner-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.3rem;
}

.pr-banner-text {
  font-size: 0.7rem;
  font-weight: 700;
  color: #bbb;
}

/* --- Infeed Banner (between content items) --- */
.infeed-banner {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0.6rem 1rem;
  padding: 0;
  border: 1.5px dashed #ddd;
  border-radius: 0.8rem;
  background: #fafafa;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: border-color 0.2s;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  justify-content: center;
  flex-direction: column;
}

.infeed-banner:hover {
  border-color: #bbb;
}

.infeed-banner-thumb {
  width: 100%;
  height: 60%;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.infeed-banner-body {
  flex: 1;
  min-width: 0;
}

.infeed-banner-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #666;
  margin-bottom: 0.15rem;
}

.infeed-banner-desc {
  font-size: 0.65rem;
  color: #999;
}

.infeed-banner-label {
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 0.5rem;
  font-weight: 700;
  color: #aaa;
  letter-spacing: 0.05em;
}

/* ============================================
   AMOEBA BLOB ANIMATIONS
   Decorative floating blobs + avatar morphing
   Cards stay rectangular, decoration is alive
   GPU-optimized: transform only
   ============================================ */

/* --- Keyframes --- */
@keyframes amoeba-slow {

  0%,
  100% {
    border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%;
  }

  33% {
    border-radius: 45% 55% 40% 60% / 55% 45% 55% 45%;
  }

  66% {
    border-radius: 50% 50% 60% 40% / 40% 60% 50% 50%;
  }
}

@keyframes amoeba-float {

  0%,
  100% {
    border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%;
    transform: translateY(0) scale(1);
  }

  50% {
    border-radius: 45% 55% 40% 60% / 55% 45% 55% 45%;
    transform: translateY(-6px) scale(1.05);
  }
}

@keyframes blob-drift {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%;
  }

  33% {
    transform: translate(8px, -12px) scale(1.1);
    border-radius: 45% 55% 40% 60% / 55% 45% 55% 45%;
  }

  66% {
    transform: translate(-5px, 6px) scale(0.95);
    border-radius: 50% 50% 60% 40% / 40% 60% 50% 50%;
  }
}

@keyframes blob-pulse {

  0%,
  100% {
    opacity: 0.08;
    transform: scale(1);
  }

  50% {
    opacity: 0.15;
    transform: scale(1.15);
  }
}

/* --- Comment Avatars: blob breathing (already blob-shaped) --- */
.comment-avatar {
  animation: amoeba-float 6s ease-in-out infinite;
  will-change: border-radius, transform;
}

.avatar-blob-2 {
  animation-delay: -2s;
}

/* --- Video side action buttons (already circular) --- */
.side-action-icon {
  animation: amoeba-float 4s ease-in-out infinite;
  will-change: border-radius, transform;
}

/* --- Section Title Pop: decorator blob --- */
.section-title-pop {
  position: relative;
}

.section-title-pop::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  opacity: 0.12;
  z-index: -1;
  animation: amoeba-slow 6s ease-in-out infinite;
}

/* --- Floating background blobs (decorative, behind content) --- */
.scroll-content {
  position: relative;
}

.scroll-content::before,
.scroll-content::after {
  content: '';
  position: fixed;
  pointer-events: none;
  z-index: 0;
  opacity: 0.07;
}

.scroll-content::before {
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  top: 15%;
  right: -40px;
  animation: blob-drift 15s ease-in-out infinite;
  border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%;
}

.scroll-content::after {
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  bottom: 20%;
  left: -30px;
  animation: blob-drift 18s ease-in-out infinite reverse;
  border-radius: 45% 55% 40% 60% / 55% 45% 55% 45%;
}

/* --- Search Blob: gentle pulse (already blob-shaped by design) --- */
.search-blob {
  position: relative;
}

.search-blob::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--pink), var(--cyan));
  opacity: 0;
  z-index: -1;
  animation: blob-pulse 4s ease-in-out infinite;
  pointer-events: none;
}

/* --- Performance: respect reduced motion --- */
@media (prefers-reduced-motion: reduce) {

  .comment-avatar,
  .side-action-icon,
  .section-title-pop::before,
  .scroll-content::before,
  .scroll-content::after,
  .search-blob::before {
    animation: none !important;
  }
}

/* --- Video Teaser Card --- */
.video-teaser-card {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #FF2D55, #1a0a2a);
  padding: 1.2rem;
  border-radius: 1.5rem;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 45, 85, 0.3);
  border: 2px solid #000;
  margin-top: -0.5rem;
  position: relative;
  overflow: hidden;
}

.video-teaser-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: blob-float 10s infinite linear;
}

.vt-play-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
}

.vt-play-icon::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}

.vt-badge {
  font-size: 0.6rem;
  font-weight: 800;
  background: #00F0FF;
  color: #111;
  padding: 0.15rem 0.5rem;
  border-radius: 0.5rem;
  width: fit-content;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}