.takisaki-showcase-marker {
  --ts-marker-bg: rgba(8, 9, 9, 0.82);
  --ts-marker-border: rgba(255, 255, 255, 0.22);
  --ts-marker-text: #f0eee7;
  --ts-marker-muted: rgba(240, 238, 231, 0.58);
  --ts-marker-accent: #879aff;
  position: fixed;
  z-index: 2147483600;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--ts-marker-text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1;
  isolation: isolate;
}

.takisaki-showcase-marker *,
.takisaki-showcase-notice * {
  box-sizing: border-box;
}

.takisaki-showcase-marker__link {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px;
  border: 1px solid var(--ts-marker-border);
  border-radius: 999px;
  background: var(--ts-marker-bg);
  color: var(--ts-marker-text);
  text-decoration: none;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.takisaki-showcase-marker__link:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(8, 9, 9, 0.92);
  transform: translateY(-2px);
}

.takisaki-showcase-marker__link:focus-visible {
  outline: 3px solid #a0f4e7;
  outline-offset: 3px;
}

.takisaki-showcase-marker__monogram {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ts-marker-accent);
  color: #080909;
  font: 600 14px/1 Georgia, serif;
}

.takisaki-showcase-marker__copy {
  width: 132px;
  max-width: 132px;
  overflow: hidden;
  display: grid;
  gap: 4px;
  white-space: nowrap;
  opacity: 1;
  transition: max-width 260ms ease, opacity 180ms ease;
}

.takisaki-showcase-marker__copy b,
.takisaki-showcase-marker__copy span {
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  font-style: normal;
  text-transform: none;
}

.takisaki-showcase-marker__copy b {
  font: 600 10px/1.1 Arial, Helvetica, sans-serif;
  letter-spacing: 0.01em;
}

.takisaki-showcase-marker__copy span {
  color: var(--ts-marker-muted);
  font: 400 9px/1.1 Arial, Helvetica, sans-serif;
}

.takisaki-showcase-marker__arrow {
  width: 22px;
  flex: 0 0 22px;
  color: var(--ts-marker-muted);
  font: 400 12px/1 Arial, Helvetica, sans-serif;
  transition: transform 180ms ease;
}

.takisaki-showcase-marker__link:hover .takisaki-showcase-marker__arrow {
  transform: rotate(45deg);
}

.takisaki-showcase-marker.is-idle:not(:focus-within) .takisaki-showcase-marker__copy,
.takisaki-showcase-marker.is-idle:not(:focus-within) .takisaki-showcase-marker__arrow {
  max-width: 0;
  width: 0;
  flex-basis: 0;
  opacity: 0;
}

.takisaki-showcase-notice {
  width: min(520px, calc(100% - 32px));
  max-width: 520px;
  margin: auto;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: #101212;
  color: #f0eee7;
  box-shadow: 0 35px 120px rgba(0, 0, 0, 0.68);
  font-family: Arial, Helvetica, sans-serif;
}

.takisaki-showcase-notice::backdrop {
  background: rgba(4, 5, 5, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.takisaki-showcase-notice__eyebrow {
  margin: 0 0 16px;
  color: #a0f4e7;
  font: 500 10px/1.4 monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.takisaki-showcase-notice h2 {
  margin: 0;
  color: #f0eee7;
  font: 400 clamp(28px, 5vw, 44px)/0.98 Georgia, serif;
  letter-spacing: -0.045em;
}

.takisaki-showcase-notice > p:not(.takisaki-showcase-notice__eyebrow) {
  margin: 20px 0 26px;
  color: rgba(240, 238, 231, 0.64);
  font: 400 14px/1.65 Arial, Helvetica, sans-serif;
}

.takisaki-showcase-notice > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.takisaki-showcase-notice button,
.takisaki-showcase-notice a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 2px;
  background: transparent;
  color: #f0eee7;
  font: 500 10px/1 monospace;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.takisaki-showcase-notice a {
  border-color: #879aff;
  background: #879aff;
  color: #080909;
}

.takisaki-showcase-notice button:focus-visible,
.takisaki-showcase-notice a:focus-visible {
  outline: 3px solid #a0f4e7;
  outline-offset: 3px;
}

@media (max-width: 520px) {
  .takisaki-showcase-marker {
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
  }

  .takisaki-showcase-marker__copy {
    width: 116px;
    max-width: 116px;
  }

  .takisaki-showcase-notice {
    padding: 24px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .takisaki-showcase-marker__link,
  .takisaki-showcase-marker__copy,
  .takisaki-showcase-marker__arrow {
    transition: none;
  }

  .takisaki-showcase-marker__link:hover {
    transform: none;
  }
}
