* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* Prevent font-related layout shifts by using system fonts */
  font-display: swap;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

.top-ads {
  width: 100%;
  height: 320px;
  display: flex;
  align-items: center;
}
.top-ads .inner {
  width: 100%;
  height: 100%;
}

.page-wrapper {
  width: 100%;
  background-color: #f5f7fb;
  padding: 16px;
}

.content-wrapper {
  width: 100%;
  margin: auto;
  padding-top: 8px;
  padding-bottom: 8px;
  max-width: 384px;
}

.heading-wrapper {
  text-align: center;
  margin-bottom: 20px;
}
.heading-wrapper .heading-text {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  margin-bottom: 20px;
  text-transform: capitalize;
}
@media (min-width: 640px) {
  .heading-wrapper .heading-text {
    font-size: 18px;
  }
}
.heading-wrapper .heading-title {
  font-size: 20px;
  font-weight: 600;
  color: #000;
  margin-bottom: 20px;
  text-transform: capitalize;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
  /* sm:grid-cols-2 (default) */
}
@media (min-width: 640px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Category card */
.category-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.category-card:hover {
  border-color: #2563eb;
}
.category-card span {
  font-size: 16px;
  line-height: 1;
}

.search-box {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgba(0, 0, 0, 0.1019607843)), 0 1px 2px -1px var(--tw-shadow-color, rgba(0, 0, 0, 0.1019607843));
  margin-bottom: 24px;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0;
  font-size: 14px;
  color: #000000;
  background: transparent;
}

.game-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.game-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgba(0, 0, 0, 0.1019607843)), 0 1px 2px -1px var(--tw-shadow-color, rgba(0, 0, 0, 0.1019607843));
  transition: box-shadow 0.2s ease;
}
.game-card:hover {
  box-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgba(0, 0, 0, 0.1019607843)), 0 2px 4px -2px var(--tw-shadow-color, rgba(0, 0, 0, 0.1019607843));
}
.game-card a {
  text-decoration: none;
}

/* Image wrapper */
.game-image {
  position: relative;
  width: 100%;
  /* Fallback for browsers that don't support aspect-ratio */
  padding-bottom: 100%;
}
@supports (aspect-ratio: 1/1) {
  .game-image {
    padding-bottom: 0;
    aspect-ratio: 1/1;
  }
}
.game-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  /* Prevent layout shift while image loads */
  background-color: #f3f4f6;
}

/* Body */
.game-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: space-between;
}

/* Info section */
.game-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Title */
.game-title {
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  color: #000000;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Meta */
.game-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #6b7280;
}

.users {
  display: flex;
  align-items: center;
}
.users svg {
  margin-right: 4px;
  color: #00c950;
}

.users-count {
  font-weight: 700;
  color: #22c55e;
}

/* Entry */
.entry {
  display: flex;
  align-items: center;
  font-weight: 700;
}
.entry svg {
  margin: 0.25rem;
}

/* Play button */
.play-btn {
  width: 100%;
  padding: 12px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #00d7d9;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.play-btn:hover {
  background-color: lab(77.8288% -44.0734 -14.1405 / 0.9);
}
.play-btn:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.loading {
  grid-column: span 2/span 2;
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #6b7280;
}

.ad-block {
  grid-column: span 2/span 2;
  width: 100%;
  margin: 16px 0;
  min-height: 250px;
}
.ad-block .ad-container {
  min-height: 250px;
  width: 100%;
}

.footer-ad-wrapper {
  width: 100%;
  max-width: 1440px;
  margin: auto;
  min-height: 100px;
}
.footer-ad-wrapper .footer-inner {
  width: 100%;
  min-height: 100px;
}

.about-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}

/* Title */
.about-title {
  font-size: 18px;
  text-align: center;
  font-weight: 700;
  color: #000000;
  margin-bottom: 12px;
}

/* Section */
.about-section {
  margin-bottom: 16px;
}

/* Section heading */
.about-heading {
  font-weight: 600;
  color: #000000;
  margin-bottom: 8px;
}

/* Paragraph */
.about-text {
  font-size: 14px;
  color: #374151;
  line-height: 1.625;
}

/* Link */
.about-link {
  display: block;
  margin-top: 8px;
  text-align: center;
  font-weight: 600;
  color: #00d7d9;
  text-decoration: none;
}

.no-data {
  grid-column: span 2/span 2;
  text-align: center;
  font-size: 16px;
  color: #6b7280;
}

#games-container {
  min-height: 400px;
}

/* ===== Shared list (Gadgets / Finance Tips) ===== */
.list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

/* ===== Viral Gadgets ===== */
.gadget-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 1px 2px -1px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: row;
  padding: 12px;
  gap: 12px;
  transition: box-shadow 0.2s ease;
}
.gadget-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
}

.gadget-image {
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, #e0f7fa, #f3e5f5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}
.gadget-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background-color: #f3f4f6;
}

.gadget-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gadget-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.gadget-title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-height: 2.5em;
}

.gadget-price {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  color: #00b894;
  white-space: nowrap;
}

.gadget-tagline {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.gadget-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #6b7280;
  margin-top: 2px;
}
.gadget-meta .rating {
  color: #f59e0b;
  font-weight: 600;
}
.gadget-meta .sold {
  color: #ef4444;
  font-weight: 600;
}

.view-btn {
  margin-top: 4px;
  align-self: stretch;
  padding: 8px 12px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #00d7d9;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.view-btn:hover {
  background-color: #00b8ba;
}

/* ===== Finance Tips ===== */
.tip-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 1px 2px -1px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s ease;
}
.tip-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
}

.tip-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tip-avatar {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.tip-author {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.tip-author .name {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}
.tip-author .role {
  font-size: 11px;
  color: #6b7280;
  margin-top: 2px;
}

.tip-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.tip-body {
  font-size: 13px;
  color: #374151;
  line-height: 1.55;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.tip-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
}

.tip-tag {
  display: inline-block;
  padding: 4px 10px;
  background-color: #eef2ff;
  color: #4f46e5;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
}

.read-btn {
  padding: 8px 16px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #00d7d9;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.read-btn:hover {
  background-color: #00b8ba;
}

/* ===== Back / Home navigation ===== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #4f46e5;
  text-decoration: none;
  margin-bottom: 12px;
}
.back-link:hover {
  text-decoration: underline;
}

/* ===== Filter chips / category tabs ===== */
.filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 16px;
  padding: 4px 2px 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.filter-row::-webkit-scrollbar { display: none; }

.filter-chip {
  flex-shrink: 0;
  padding: 8px 14px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.filter-chip:hover { border-color: #4f46e5; }
.filter-chip.active {
  background: #4f46e5;
  border-color: #4f46e5;
  color: #ffffff;
}

/* ===== Stats row on cards ===== */
.card-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: #6b7280;
  margin-top: 4px;
}
.card-stats .stat {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.card-stats .stat.views { color: #6366f1; font-weight: 600; }
.card-stats .stat.likes { color: #ec4899; font-weight: 600; }
.card-stats .stat.comments { color: #14b8a6; font-weight: 600; }

/* ===== Save / heart button ===== */
.save-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease;
  font-size: 14px;
  color: #9ca3af;
  line-height: 1;
}
.save-btn:hover { transform: scale(1.08); }
.save-btn.saved { color: #ef4444; }

/* ===== Gadget card updates ===== */
.gadget-card {
  position: relative;
}
.gadget-image {
  position: relative;
  overflow: hidden;
}
.gadget-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background-color: #f3f4f6;
}
.badge-corner {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #ef4444;
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  z-index: 1;
}
.discount-pct {
  display: inline-block;
  padding: 1px 5px;
  background: #fee2e2;
  color: #dc2626;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  margin-left: 4px;
}
.old-price {
  font-size: 11px;
  color: #9ca3af;
  text-decoration: line-through;
  font-weight: 500;
  margin-right: 4px;
}

/* ===== Tip card updates ===== */
.tip-card { position: relative; }
.tip-cover {
  width: 100%;
  height: 140px;
  border-radius: 8px;
  overflow: hidden;
  margin: -4px 0 6px;
  background: linear-gradient(135deg, #e0e7ff, #fce7f3);
}
.tip-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tip-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #6b7280;
  margin-top: 2px;
}
.tip-meta-row .read-time { color: #4f46e5; font-weight: 600; }

/* ===== Detail page common ===== */
.detail-hero {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Image gallery */
.gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  background: #f3f4f6;
}
.gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
}
.gallery-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.gallery-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.2s;
}
.gallery-dot.active { background: #ffffff; }

/* Detail header */
.detail-head {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.detail-brand {
  font-size: 11px;
  font-weight: 700;
  color: #4f46e5;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.detail-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}
.detail-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #6b7280;
}
.detail-rating .stars { color: #f59e0b; font-weight: 700; }
.detail-rating .sold { color: #ef4444; font-weight: 600; }

.detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}
.detail-price {
  font-size: 26px;
  font-weight: 800;
  color: #00b894;
}
.detail-price-old {
  font-size: 14px;
  color: #9ca3af;
  text-decoration: line-through;
}

.stock-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #dcfce7;
  color: #15803d;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  width: fit-content;
  margin-top: 4px;
}
.stock-indicator::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
}

.detail-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
  background: #f9fafb;
  border-radius: 10px;
  margin: 0 16px 16px;
}
.detail-stats .stat-block {
  text-align: center;
}
.detail-stats .stat-num {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
}
.detail-stats .stat-label {
  font-size: 10px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-top: 2px;
}

/* Tabs */
.tab-bar {
  display: flex;
  background: #ffffff;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.tab-btn {
  flex: 1;
  padding: 10px 8px;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tab-btn.active {
  background: #4f46e5;
  color: #ffffff;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Section cards */
.section-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.section-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #374151;
  line-height: 1.45;
}
.feature-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: #dcfce7;
  color: #15803d;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

/* Pros / cons */
.proscons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.proscons-block { padding: 12px; border-radius: 10px; }
.proscons-block.pros { background: #f0fdf4; }
.proscons-block.cons { background: #fef2f2; }
.proscons-block h4 {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.proscons-block.pros h4 { color: #15803d; }
.proscons-block.cons h4 { color: #b91c1c; }
.proscons-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.proscons-block li {
  font-size: 12px;
  color: #374151;
  line-height: 1.4;
  padding-left: 16px;
  position: relative;
}
.proscons-block.pros li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: #15803d;
  font-weight: 700;
}
.proscons-block.cons li::before {
  content: '−';
  position: absolute;
  left: 0;
  color: #b91c1c;
  font-weight: 700;
}

/* Specs table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.spec-table tr { border-bottom: 1px solid #f3f4f6; }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td {
  padding: 8px 0;
  color: #374151;
  vertical-align: top;
}
.spec-table td:first-child {
  color: #6b7280;
  font-weight: 600;
  width: 40%;
}

/* Customer reviews */
.review-item {
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
}
.review-item:last-child { border-bottom: none; }
.review-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.review-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #6366f1;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-name {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
}
.review-meta {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 1px;
}
.review-stars { color: #f59e0b; font-size: 12px; }
.review-text {
  font-size: 13px;
  color: #374151;
  line-height: 1.5;
  margin: 0;
}

/* Related items */
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.related-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease;
}
.related-card:hover { transform: translateY(-2px); }
.related-card .img {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #f3f4f6;
}
.related-card .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.related-card .info { padding: 8px; }
.related-card .title {
  font-size: 12px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 31px;
}
.related-card .price {
  font-size: 12px;
  color: #00b894;
  font-weight: 700;
  margin-top: 4px;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  gap: 8px;
  align-items: center;
  z-index: 50;
}
.sticky-cta-info { flex: 1; min-width: 0; }
.sticky-cta-info .label {
  font-size: 10px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.sticky-cta-info .price {
  font-size: 18px;
  font-weight: 800;
  color: #00b894;
}
.sticky-cta-btn {
  padding: 12px 24px;
  background: #00d7d9;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}
.sticky-cta-btn:hover { background: #00b8ba; }
.sticky-cta-icon {
  width: 44px;
  height: 44px;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  cursor: pointer;
  color: #6b7280;
}
.sticky-cta-icon.saved { color: #ef4444; border-color: #fecaca; background: #fee2e2; }

body.has-sticky-cta { padding-bottom: 80px; }

/* Reading progress (tip detail) */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  z-index: 100;
}
.reading-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #4f46e5, #ec4899);
  transition: width 0.1s ease;
}

/* Author profile card */
.author-card {
  background: linear-gradient(135deg, #eef2ff, #fce7f3);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.author-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar-lg {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #6366f1;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.author-info { flex: 1; min-width: 0; }
.author-info .name {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}
.author-info .role {
  font-size: 11px;
  color: #6b7280;
  margin-top: 1px;
}
.author-info .followers {
  font-size: 11px;
  color: #4f46e5;
  font-weight: 600;
  margin-top: 4px;
}
.author-bio {
  font-size: 13px;
  color: #374151;
  line-height: 1.55;
}
.follow-btn {
  padding: 6px 14px;
  background: #4f46e5;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.follow-btn.following { background: #ffffff; color: #4f46e5; border: 1px solid #4f46e5; }

/* Article hero */
.article-hero {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #eef2ff, #fce7f3);
}
.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-tag-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 11px;
}
.article-tag-row .pub-date { color: #9ca3af; }
.article-tag-row .read-time { color: #4f46e5; font-weight: 600; }

.article-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 14px;
}

.article-body { font-size: 14px; line-height: 1.65; color: #374151; }
.article-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 20px 0 8px;
}
.article-body p { margin: 0 0 14px; }

.callout {
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
  padding: 12px 14px;
  border-radius: 0 10px 10px 0;
  margin: 14px 0;
}
.callout-title {
  font-size: 11px;
  font-weight: 700;
  color: #b45309;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.callout ul, .callout ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.callout li {
  font-size: 13px;
  color: #78350f;
  padding-left: 18px;
  position: relative;
  line-height: 1.45;
}
.callout ul li::before {
  content: '★';
  position: absolute;
  left: 0;
  color: #f59e0b;
}
.callout.action { background: #ecfdf5; border-left-color: #10b981; }
.callout.action .callout-title { color: #047857; }
.callout.action li { color: #064e3b; counter-increment: step; }
.callout.action ol { counter-reset: step; }
.callout.action ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  background: #10b981;
  color: #ffffff;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Engagement bar */
.engage-bar {
  display: flex;
  gap: 8px;
  justify-content: space-around;
  background: #ffffff;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.engage-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #6b7280;
  border-radius: 8px;
  transition: background 0.15s;
}
.engage-btn:hover { background: #f9fafb; }
.engage-btn .icon { font-size: 18px; line-height: 1; }
.engage-btn .count { font-size: 11px; font-weight: 600; }
.engage-btn.active { color: #ec4899; }
.engage-btn.active.bookmark { color: #4f46e5; }

/* Comments */
.comment-item {
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  gap: 10px;
}
.comment-item:last-child { border-bottom: none; }
.comment-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #14b8a6;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.comment-body { flex: 1; min-width: 0; }
.comment-name { font-size: 12px; font-weight: 700; color: #111827; }
.comment-time { font-size: 10px; color: #9ca3af; margin-left: 6px; }
.comment-text { font-size: 13px; color: #374151; line-height: 1.5; margin-top: 2px; }

.comment-input {
  display: flex;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
  margin-top: 4px;
}
.comment-input input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  font-size: 13px;
  outline: none;
}
.comment-input input:focus { border-color: #4f46e5; }
.comment-input button {
  padding: 0 16px;
  background: #4f46e5;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* Newsletter card */
.newsletter-card {
  background: linear-gradient(135deg, #4f46e5, #ec4899);
  color: #ffffff;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 16px;
  text-align: center;
}
.newsletter-card h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
}
.newsletter-card p {
  font-size: 12px;
  opacity: 0.92;
  margin: 0 0 12px;
  line-height: 1.5;
}
.newsletter-input {
  display: flex;
  gap: 6px;
  background: #ffffff;
  padding: 4px;
  border-radius: 9999px;
}
.newsletter-input input {
  flex: 1;
  border: none;
  outline: none;
  padding: 6px 12px;
  font-size: 13px;
  background: transparent;
  color: #111827;
  min-width: 0;
}
.newsletter-input button {
  background: #111827;
  color: #ffffff;
  border: none;
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

/* ===== Games carousel ===== */
.games-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.games-section-head .section-title {
  margin-bottom: 0;
}
.games-section-head .see-all {
  font-size: 11px;
  font-weight: 600;
  color: #4f46e5;
  text-decoration: none;
  white-space: nowrap;
}

.games-carousel {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 -4px;
}
.games-carousel::-webkit-scrollbar { display: none; }

.mini-game-card {
  flex: 0 0 128px;
  scroll-snap-align: start;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}
.mini-game-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.mini-game-img {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #f3f4f6;
}
.mini-game-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mini-game-info { padding: 8px 8px 10px; }

.mini-game-title {
  font-size: 12px;
  font-weight: 700;
  color: #111827;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 4px;
}

.mini-game-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: #6b7280;
}
.mini-game-meta .users { color: #22c55e; font-weight: 700; }
.mini-game-meta .entry { color: #f59e0b; font-weight: 700; }

.mini-play-pill {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(0, 215, 217, 0.96);
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 9999px;
  letter-spacing: 0.6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.mini-skeleton {
  flex: 0 0 128px;
  height: 178px;
  background: linear-gradient(90deg, #f3f4f6 0%, #e5e7eb 50%, #f3f4f6 100%);
  background-size: 200% 100%;
  animation: skeleton-pulse 1.4s infinite linear;
  border-radius: 10px;
  scroll-snap-align: start;
}
@keyframes skeleton-pulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.games-fallback {
  padding: 12px;
  background: #f9fafb;
  border-radius: 10px;
  text-align: center;
  font-size: 12px;
  color: #6b7280;
}
.games-fallback a {
  color: #4f46e5;
  font-weight: 600;
  text-decoration: none;
}

/* ===== TL;DR card ===== */
.tldr-card {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
  border-left: 4px solid #f59e0b;
}
.tldr-card .label {
  font-size: 10px;
  font-weight: 800;
  color: #92400e;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}
.tldr-card .text {
  font-size: 14px;
  font-weight: 600;
  color: #78350f;
  line-height: 1.5;
  margin: 0;
}

/* ===== Common Mistakes ===== */
.mistake-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mistake-item {
  display: flex;
  gap: 10px;
  padding: 10px;
  background: #fef2f2;
  border-left: 3px solid #ef4444;
  border-radius: 0 8px 8px 0;
}
.mistake-item .icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: #ef4444;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.mistake-item .title {
  font-size: 13px;
  font-weight: 700;
  color: #991b1b;
  margin-bottom: 2px;
}
.mistake-item .text {
  font-size: 12px;
  color: #7f1d1d;
  line-height: 1.5;
  margin: 0;
}

/* ===== FAQ accordion ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: #f9fafb;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  line-height: 1.4;
}
.faq-q::after {
  content: '+';
  flex-shrink: 0;
  font-size: 18px;
  color: #4f46e5;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq-item.open .faq-q::after {
  content: '−';
  transform: rotate(180deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 14px;
  font-size: 13px;
  color: #374151;
  line-height: 1.55;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 14px 12px;
}

/* ===== What's in the box ===== */
.in-box-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.in-box-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #f0fdfa;
  border-radius: 8px;
  font-size: 13px;
  color: #134e4a;
}
.in-box-item::before {
  content: '📦';
  font-size: 14px;
}

/* ===== Who-is-it-for ===== */
.who-card {
  background: linear-gradient(135deg, #ede9fe, #fce7f3);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: #374151;
  line-height: 1.55;
  border-left: 3px solid #8b5cf6;
}

.warranty-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  color: #047857;
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  margin-top: 6px;
}
.warranty-badge::before { content: '🛡️'; }

/* ===== News / Lifestyle / Travel card extras ===== */
.breaking-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  background: #dc2626;
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  animation: blink-pulse 1.8s ease-in-out infinite;
}
@keyframes blink-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

.source-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #6366f1;
}
.source-label::before { content: '📰'; font-size: 11px; }

.location-pin {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #0891b2;
}
.location-pin::before { content: '📍'; }

.budget-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: #fef3c7;
  color: #b45309;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 700;
}

.info-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.info-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: #f1f5f9;
  color: #475569;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
}

/* Travel must-do list */
.must-do-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.must-do-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: #ecfeff;
  border-left: 3px solid #06b6d4;
  border-radius: 0 8px 8px 0;
}
.must-do-item .num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: #06b6d4;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.must-do-item .text {
  font-size: 13px;
  color: #164e63;
  line-height: 1.45;
}

/* Lifestyle checklist */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 12px;
  background: #fdf4ff;
  border-radius: 8px;
  font-size: 13px;
  color: #581c87;
}
.checklist-item::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: #a855f7;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

/* Travel small gallery */
.travel-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 8px;
}
.travel-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  background: #e5e7eb;
  display: block;
}

/* Quick-stat grid (travel: best time / budget / language) */
.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: #f9fafb;
  border-radius: 10px;
  padding: 12px;
  margin: 10px 0;
}
.quick-stat {
  text-align: center;
}
.quick-stat .icon { font-size: 18px; line-height: 1; }
.quick-stat .label {
  font-size: 10px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-top: 4px;
}
.quick-stat .value {
  font-size: 12px;
  font-weight: 700;
  color: #111827;
  margin-top: 2px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #111827;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  z-index: 200;
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
/*# sourceMappingURL=style.css.map */