/* ==========================================================================
   GHANHA PORTFOLIO — INNER PAGES STYLESHEET (portfolio.css)
   Reset, Grid Background, Hero, Filters, Cards, Lightbox, Footer
   LOADED ONLY ON INNER PORTFOLIO PAGES
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.gh-inner-body {
  font-family: var(--font-ui);
  color: var(--color-black);
  background-color: var(--bg-cream);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 120px;
}

/* Framer-identical grid overlay (126px SVG at 94.5px with .06 opacity) */
body.gh-inner-body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('../images/grid-pattern.svg');
  background-repeat: repeat;
  background-position: left top;
  background-size: 94.5px auto;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Typography styles */
h1, h2, h3, h4, .gh-display-font {
  font-family: var(--font-display);
  letter-spacing: 0.015em;
  line-height: 1.1;
}

.gh-script-font {
  font-family: var(--font-script);
}

/* Universal container */
.gh-container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   1. CATEGORY SWITCHER PILLS (Top Bar)
   ========================================================================== */
.gh-category-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px auto 30px;
}

.gh-category-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1.5px solid #000000;
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 700;
  color: #000000;
  box-shadow: 2px 2px 0px #000000;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}

.gh-category-tab:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0px #000000;
  background: var(--color-yellow);
}

.gh-category-tab.active {
  background: #000000;
  color: #ffffff;
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.gh-hero {
  text-align: center;
  padding: 20px 0 30px;
  position: relative;
  overflow: visible;
}

.gh-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 13px;
  border: 1.5px solid #000000;
  box-shadow: 2.5px 2.5px 0px #000000;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gh-hero__title {
  font-size: clamp(48px, 6.5vw, 84px);
  color: #000000;
  margin: 10px auto 16px;
  line-height: 1.1;
}

.gh-hero__subtitle {
  font-family: var(--font-script);
  font-size: clamp(22px, 3vw, 30px);
  color: #222222;
  max-width: 760px;
  margin: 0 auto 32px;
  line-height: 1.35;
}

/* ==========================================================================
   3. STICKERS (Draggable, No Infinite Bobbing Loops)
   ========================================================================== */
.gh-sticker {
  position: absolute;
  z-index: 25;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
  will-change: transform;
}

.gh-sticker:active,
.gh-sticker.is-dragging {
  z-index: 9999 !important;
}

@media (pointer: coarse), (hover: none) {
  .gh-sticker {
    cursor: grab;
  }
  .gh-sticker:active,
  .gh-sticker.is-dragging {
    cursor: grabbing;
  }
}

.gh-sticker--heart {
  top: -10px;
  right: 6%;
  width: 90px;
}

.gh-sticker--camera {
  top: 15px;
  left: 4%;
  width: 82px;
}

.gh-sticker--coffee {
  bottom: 0px;
  right: 4%;
  width: 74px;
}

/* ==========================================================================
   4. SUBCATEGORY FILTER BAR
   ========================================================================== */
.gh-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 25px auto 40px;
}

.gh-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1.5px solid #000000;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  color: #000000;
  box-shadow: 2px 2px 0px #000000;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  user-select: none;
}

.gh-filter-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0px #000000;
  background: var(--color-yellow);
}

.gh-filter-btn.active {
  background: #000000;
  color: #ffffff;
}

.gh-filter-btn .gh-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  font-size: 11px;
  font-weight: 800;
}
.gh-filter-btn.active .gh-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* ==========================================================================
   5. CATEGORY CARDS GRID (portfolio.html Hub)
   ========================================================================== */
.gh-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 10px auto 50px;
}

.gh-cat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #ffffff;
  border: 2px solid #000000;
  border-radius: 20px;
  box-shadow: 4px 4px 0px #000000;
  text-decoration: none;
  color: #000000;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  cursor: pointer;
}

.gh-cat-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 6px 6px 0px #000000;
}

.gh-cat-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border: 2px solid #000000;
  flex-shrink: 0;
  box-shadow: 2px 2px 0px #000000;
}

.gh-cat-card__content {
  flex: 1;
  min-width: 0;
}

.gh-cat-card__title {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 15px;
  color: #000000;
  line-height: 1.25;
}

.gh-cat-card__meta {
  font-family: var(--font-ui);
  font-size: 11.5px;
  color: #666666;
  margin-top: 3px;
}

/* ==========================================================================
   6. PROJECT GALLERY & CARDS (Masonry Grid: Multi-Column Layout)
   ========================================================================== */
.gh-gallery {
  display: block;
  column-count: 3;
  column-gap: 24px;
  margin: 10px auto 60px;
}

/* Live Websites 2*2 Grid (Item 4) */
.gh-gallery.is-live-websites {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
  column-count: initial !important;
}

.gh-gallery.is-live-websites .gh-card--live {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}

.gh-card {
  background: #ffffff;
  border: 2.5px solid #000000;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 5px 5px 0px #000000;
  display: inline-block;
  width: 100%;
  margin: 0 0 24px 0;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  vertical-align: top;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  cursor: pointer;
  position: relative;
  text-align: left;
  padding: 0;
  box-sizing: border-box;
}

.gh-card:hover,
.gh-card:focus-visible {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 8px 8px 0px #000000;
  outline: none;
}

.gh-card__media {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #f0ebe1;
  display: block;
}

.gh-card__img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gh-card:hover .gh-card__img {
  transform: scale(1.03);
}

.gh-card__video {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gh-card:hover .gh-card__video {
  transform: scale(1.03);
}

.gh-card__zoom-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #000000;
  box-shadow: 2px 2px 0px #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.gh-card:hover .gh-card__zoom-badge,
.gh-card:focus-visible .gh-card__zoom-badge {
  opacity: 1;
  transform: scale(1);
}

@media (hover: none), (max-width: 809.98px) {
  .gh-card--video .gh-card__zoom-badge {
    opacity: 0.95;
    transform: scale(1);
  }
}

.gh-card__info {
  padding: 14px 18px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
  border-top: 2px solid #000000;
  margin-top: auto;
  width: 100%;
  box-sizing: border-box;
}

.gh-card__title {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  color: #000000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.gh-card__tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 10.5px;
  font-weight: 800;
  background: #f0e797;
  color: #696212;
  border: 1.5px solid #000000;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

/* ==========================================================================
   7. LIGHTBOX MODAL (Full Keyboard & Focus Trap Support)
   ========================================================================== */
.gh-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 20px;
  box-sizing: border-box;
}

.gh-lightbox.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gh-lightbox__content {
  position: relative;
  max-width: calc(100vw - 180px);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gh-lightbox__img {
  max-width: 100%;
  max-height: calc(85vh - 70px);
  border-radius: 16px;
  border: 3px solid #000000;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 8px 8px 0px #ffffff;
  object-fit: contain;
  display: block;
}

.gh-lightbox__video {
  max-width: 100%;
  max-height: calc(85vh - 70px);
  border-radius: 16px;
  border: 3px solid #000000;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 8px 8px 0px #ffffff;
  background: #000000;
  display: none;
  outline: none;
}

.gh-lightbox__caption {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 2px solid #000000;
  border-radius: 999px;
  padding: 6px 18px;
  box-shadow: 3px 3px 0px #000000;
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 700;
  color: #000000;
}

/* FIXED CONTROLS POSITIONED ON SCREEN EDGES */
.gh-lightbox__btn {
  position: fixed !important;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid #000000;
  box-shadow: 3.5px 3.5px 0px #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui), sans-serif;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  z-index: 100000;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.gh-lightbox__btn:hover,
.gh-lightbox__btn:focus-visible {
  background: var(--color-yellow);
  box-shadow: 5px 5px 0px #000000;
  outline: none;
}

/* Fixed Close Button - Top Right of Screen */
.gh-lightbox__close {
  top: 28px !important;
  right: 28px !important;
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
}

.gh-lightbox__close:hover,
.gh-lightbox__close:focus-visible {
  transform: scale(1.1);
}

/* Fixed Previous Arrow - Center Left of Screen */
.gh-lightbox__prev {
  left: 28px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  padding-bottom: 3px;
  padding-right: 2px;
}

.gh-lightbox__prev:hover,
.gh-lightbox__prev:focus-visible {
  transform: translateY(-50%) scale(1.12) !important;
}

/* Fixed Next Arrow - Center Right of Screen */
.gh-lightbox__next {
  right: 28px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  padding-bottom: 3px;
  padding-left: 2px;
}

.gh-lightbox__next:hover,
.gh-lightbox__next:focus-visible {
  transform: translateY(-50%) scale(1.12) !important;
}

/* ==========================================================================
   8. FOOTER SECTION
   ========================================================================== */
.gh-footer {
  margin-top: 80px;
  position: relative;
  z-index: 10;
}

.gh-footer__card {
  background: #ffffff;
  border: 3px solid #000000;
  border-radius: 32px;
  padding: 48px 32px;
  text-align: center;
  box-shadow: 8px 8px 0px #000000;
  position: relative;
  overflow: visible;
  margin-bottom: 30px;
}

.gh-footer__heading {
  font-size: clamp(38px, 5vw, 64px);
  color: #000000;
  margin-bottom: 12px;
}

.gh-footer__subtitle {
  font-family: var(--font-script);
  font-size: clamp(22px, 3vw, 28px);
  color: #333333;
  margin-bottom: 28px;
}

.gh-footer__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.gh-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2.5px solid #000000;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 4px 4px 0px #000000;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gh-cta-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px #000000;
}

.gh-cta-btn--primary {
  background: #000000;
  color: #ffffff;
}

.gh-cta-btn--upwork {
  background: #14a800;
  color: #ffffff;
}

.gh-cta-btn--secondary {
  background: var(--color-yellow);
  color: #000000;
}

/* ==========================================================================
   9. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1199.98px) {
  .gh-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gh-gallery {
    column-count: 3;
    column-gap: 20px;
  }
  .gh-card {
    margin-bottom: 20px;
  }
}

@media (max-width: 899.98px) {
  .gh-gallery {
    column-count: 2;
    column-gap: 16px;
  }
  .gh-card {
    margin-bottom: 16px;
  }
}

@media (max-width: 680px) {
  .gh-category-grid {
    grid-template-columns: 1fr;
  }
  .gh-gallery {
    column-count: 1;
    column-gap: 16px;
  }
  .gh-gallery.is-live-websites {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .gh-card {
    margin-bottom: 16px;
  }
  .gh-sticker {
    display: none; /* Hide stickers on mobile to avoid overflow */
  }
  .gh-lightbox__content {
    max-width: calc(100vw - 110px);
  }
  .gh-lightbox__img {
    max-height: calc(80vh - 60px);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 4px 4px 0px #ffffff;
  }
  .gh-lightbox__video {
    max-height: calc(80vh - 60px);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 4px 4px 0px #ffffff;
  }
  .gh-lightbox__btn {
    width: 42px;
    height: 42px;
    box-shadow: 2.5px 2.5px 0px #000000;
  }
  .gh-lightbox__close {
    top: 16px !important;
    right: 16px !important;
    font-size: 15px;
  }
  .gh-lightbox__prev {
    left: 12px !important;
    font-size: 24px;
  }
  .gh-lightbox__next {
    right: 12px !important;
    font-size: 24px;
  }
  .gh-lightbox__caption {
    font-size: 11.5px;
    padding: 5px 12px;
    margin-top: 10px;
    max-width: 85vw;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }
}

/* ==========================================================================
   7. LIVE WEBSITES INTERACTIVE CARDS & BROWSER MOCKUP
   ========================================================================== */
.gh-card--live {
  background: #ffffff;
  border: 2.5px solid #000000;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 5px 5px 0px #000000;
  display: inline-block;
  width: 100%;
  margin: 0 0 24px 0;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  text-align: left;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  position: relative;
  cursor: default;
}

.gh-card--live:hover {
  transform: translateY(-4px);
  box-shadow: 7px 7px 0px #000000;
}

/* Browser Chrome Top Bar */
.gh-live-browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #f1f3f5;
  border-bottom: 2px solid #000000;
  gap: 8px;
}

.gh-browser-dots {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.gh-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.25);
  display: inline-block;
}
.gh-dot--red { background: #ff5f56; }
.gh-dot--yellow { background: #ffbd2e; }
.gh-dot--green { background: #27c93f; }

.gh-browser-url {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #ffffff;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-family: var(--font-ui);
  color: #4b5563;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gh-browser-extlink {
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  border-radius: 4px;
  transition: background 0.15s ease, transform 0.15s ease;
  text-decoration: none;
}
.gh-browser-extlink:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: scale(1.15);
}

/* Viewport Area (Increased height by 50% for 2-column mockup presentation) */
.gh-live-viewport {
  position: relative;
  width: 100%;
  height: 375px;
  background: #0f1115;
  overflow: hidden;
  transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gh-card--live.is-running .gh-live-viewport {
  height: 540px;
}

@media (max-width: 600px) {
  .gh-live-viewport {
    height: 270px;
  }
  .gh-card--live.is-running .gh-live-viewport {
    height: 420px;
  }
}

.gh-live-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.3s ease;
}

.gh-card--live:hover .gh-live-thumb {
  transform: scale(1.02);
}

/* Overlay & Run Button */
.gh-live-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.92;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.gh-card--live:hover .gh-live-overlay {
  opacity: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
}

.gh-btn-run-site {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: #ffffff;
  color: #000000;
  border: 2px solid #000000;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 800;
  box-shadow: 3px 3px 0px #000000;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.gh-btn-run-site:hover {
  transform: translate(-2px, -2px) scale(1.03);
  box-shadow: 4px 4px 0px #000000;
  background: var(--color-yellow);
}

.gh-btn-run-site .gh-play-icon {
  font-size: 11px;
  color: #e52427;
}

/* Interactive Frame wrapper */
.gh-live-frame-wrapper {
  position: absolute;
  inset: 0;
  background: #ffffff;
  z-index: 10;
  display: flex;
  flex-direction: column;
}

.gh-live-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #ffffff;
}

.gh-live-top-ctrls {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 20;
}

.gh-live-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: rgba(0, 0, 0, 0.85);
  color: #22c55e;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.gh-live-pulse-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: gh-pulse 1.5s infinite;
}
@keyframes gh-pulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

.gh-live-ctrl-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
.gh-live-ctrl-btn:hover {
  background: #000000;
  transform: scale(1.05);
}

/* Embed restricted fallback banner */
.gh-live-restricted-banner {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.95);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  gap: 12px;
  z-index: 15;
}
.gh-live-restricted-title {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}
.gh-live-restricted-desc {
  font-size: 12px;
  color: #cbd5e1;
  max-width: 280px;
  line-height: 1.4;
}

/* Card Info */
.gh-live-info {
  padding: 14px 16px 16px;
  border-top: 2px solid #000000;
}

.gh-live-info-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.gh-live-title {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 800;
  color: #000000;
  line-height: 1.25;
}

.gh-live-desc {
  font-family: var(--font-ui);
  font-size: 12px;
  color: #555555;
  margin: 4px 0 12px;
  line-height: 1.35;
  min-height: 32px;
}

/* Platform Tag Pills */
.gh-platform-tag {
  display: inline-flex;
  align-items: center;
  padding: 2.5px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  border: 1.5px solid #000000;
  box-shadow: 1.5px 1.5px 0px #000000;
  flex-shrink: 0;
}
.gh-platform--custom { background: #e0f2fe; color: #0369a1; }
.gh-platform--shopify { background: #dcfce7; color: #15803d; }
.gh-platform--wordpress { background: #e0e7ff; color: #4338ca; }
.gh-platform--wix { background: #fef3c7; color: #b45309; }

/* Card Action Buttons */
.gh-live-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gh-live-action-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 10px;
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 1.5px solid #000000;
  box-shadow: 2px 2px 0px #000000;
}

.gh-live-action--run {
  background: #ffffff;
  color: #000000;
}
.gh-live-action--run:hover {
  background: var(--color-yellow);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px #000000;
}

.gh-live-action--open {
  background: #000000;
  color: #ffffff;
}
.gh-live-action--open:hover {
  background: #222222;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px #000000;
}
