.kgt-widget-mount {
  margin: 12px 0 0;
  width: 100%;
}

.kgt-widget {
  --kgt-accent: #ff7800;
  --kgt-accent-soft: #ffb15c;
  --kgt-gold: #ffd27a;
  --kgt-gradient: linear-gradient(135deg, #ff7800 0%, #ff9b33 48%, #ffd27a 100%);
  --kgt-surface: linear-gradient(180deg, rgba(255, 120, 0, 0.08), rgba(255, 255, 255, 0.02));
  --kgt-panel: #0d1118;
  --kgt-text: #ffffff;
  --kgt-muted: rgba(255, 255, 255, 0.72);
  --kgt-border: rgba(255, 120, 0, 0.28);
  --kgt-card-pad: 14px;
  --kgt-quote-lines: 3;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--kgt-border);
  border-radius: 2px;
  background: var(--kgt-surface), var(--kgt-panel);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  color: var(--kgt-text);
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
}

.kgt-widget::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(12px, 3vw, 20px);
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 210, 122, 0.88), rgba(255, 120, 0, 0));
}

.kgt-widget--lp,
.kgt-widget--checkout {
  max-width: 420px;
}

.kgt-widget--checkout {
  --kgt-panel: #ffffff;
  --kgt-text: #1b1b1b;
  --kgt-muted: rgba(27, 27, 27, 0.68);
  --kgt-surface: linear-gradient(180deg, rgba(255, 120, 0, 0.06), rgba(255, 255, 255, 0.92));
  --kgt-border: rgba(255, 120, 0, 0.22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.kgt-widget--board {
  margin-top: 0;
}

.kgt-widget__head {
  align-items: center;
  display: flex;
  gap: 8px;
  padding: 10px 14px 0;
  color: var(--kgt-accent-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.kgt-widget__live {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--kgt-accent);
  box-shadow: 0 0 0 0 rgba(255, 120, 0, 0.45);
  animation: kgt-live-pulse 2.4s ease-in-out infinite;
}

.kgt-widget__viewport {
  overflow: hidden;
  position: relative;
}

.kgt-widget__track {
  display: flex;
  transition: transform 0.35s ease;
}

.kgt-widget__card {
  box-sizing: border-box;
  flex: 0 0 100%;
  min-width: 100%;
  padding: var(--kgt-card-pad);
}

.kgt-widget__stars {
  align-items: center;
  color: var(--kgt-accent);
  display: flex;
  gap: 3px;
  line-height: 1;
  margin: 0 0 8px;
}

.kgt-widget__star-icon {
  display: block;
  height: 16px;
  width: 16px;
}

.kgt-widget__star-icon path {
  fill: currentColor;
  stroke: currentColor;
}

.kgt-widget__star-icon.is-empty path {
  fill: none;
  stroke: var(--kgt-accent-soft);
  stroke-width: 1.6;
}

.kgt-widget__quote-wrap {
  margin: 0 0 8px;
  position: relative;
}

.kgt-widget__quote-mark {
  color: var(--kgt-accent-soft);
  font-size: 28px;
  font-weight: 700;
  line-height: 0.8;
  opacity: 0.55;
}

.kgt-widget__quote {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--kgt-quote-lines);
  display: -webkit-box;
  font-size: 13px;
  line-height: 1.55;
  margin: 4px 0 0;
  min-height: calc(1.55em * var(--kgt-quote-lines));
  overflow: hidden;
}

.kgt-widget__card.is-expanded .kgt-widget__quote {
  -webkit-line-clamp: unset;
  display: block;
  min-height: 0;
  overflow: visible;
}

.kgt-widget__more {
  background: transparent;
  border: 0;
  color: var(--kgt-accent);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  margin: 0 0 10px;
  padding: 0;
}

.kgt-widget__more[hidden] {
  display: none;
}

.kgt-widget__media {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(255, 120, 0, 0.22), rgba(255, 210, 122, 0.08));
  border: 1px solid rgba(255, 120, 0, 0.18);
  border-radius: 2px;
  margin: 0 0 10px;
  overflow: hidden;
  position: relative;
}

.kgt-widget--checkout .kgt-widget__media {
  background: linear-gradient(135deg, rgba(255, 120, 0, 0.12), rgba(255, 210, 122, 0.16));
}

.kgt-widget__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.kgt-widget__media-fallback {
  align-items: center;
  color: var(--kgt-accent-soft);
  display: flex;
  font-size: 42px;
  height: 100%;
  justify-content: center;
  opacity: 0.45;
}

.kgt-widget__footer {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.kgt-widget__chip {
  border: 1px solid rgba(255, 120, 0, 0.35);
  border-radius: 2px;
  color: var(--kgt-accent-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 2px 6px;
}

.kgt-widget__name {
  color: inherit;
  font-size: 12px;
  opacity: 0.72;
}

.kgt-widget__dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 0 12px 10px;
}

.kgt-widget__dot {
  background: rgba(255, 255, 255, 0.28);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  height: 6px;
  padding: 0;
  width: 6px;
}

.kgt-widget--checkout .kgt-widget__dot {
  background: rgba(0, 0, 0, 0.18);
}

.kgt-widget__dot.is-active {
  background: var(--kgt-accent);
}

.kgt-widget__timer {
  background: rgba(255, 120, 0, 0.16);
  height: 2px;
  overflow: hidden;
  width: 100%;
}

.kgt-widget__timer-bar {
  background: var(--kgt-gradient);
  height: 100%;
  transform-origin: left center;
  width: 100%;
}

.kgt-widget__timer-bar.is-running {
  animation: kgt-timer 5s linear forwards;
}

.kgt-widget__timer-bar.is-paused {
  animation-play-state: paused;
}

@keyframes kgt-timer {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes kgt-live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 120, 0, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(255, 120, 0, 0); }
}

.pga-guide-lp__hero-mid-cta-actions .kgt-widget-mount,
.pga-guide-lp__hero-cta-actions .kgt-widget-mount,
.pga-guide-lp__hero-split-cta-action .kgt-widget-mount {
  margin-top: 10px;
}
