/* ==================================================
   quick.css
   タムごとDailyお試しモード
   ================================================== */

:root {
  --quick-overlay-color: rgba(10, 14, 20, 0.62);
  --quick-spotlight-color: rgba(255, 255, 255, 0.95);
  --quick-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.quick-page {
  min-height: 100dvh;
}

.quick-app {
  height: auto;
  min-height: 100dvh;
  padding-top: 0;
  overflow: visible;
}

.quick-tutorial-toggle-area {
  display: flex;
  justify-content: flex-end;
  padding: calc(12px + env(safe-area-inset-top)) 16px;
}

.quick-tutorial-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  cursor: pointer;
  user-select: none;
}

.quick-tutorial-toggle-label {
  font-size: 0.78rem;
  font-weight: 700;
}

.quick-tutorial-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.quick-tutorial-toggle-switch {
  position: relative;
  width: 38px;
  height: 22px;
  background: #b8b8b8;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.quick-tutorial-toggle-switch::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  content: "";
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.quick-tutorial-toggle input:checked + .quick-tutorial-toggle-switch {
  background: var(--color-brand, #f06d88);
}

.quick-tutorial-toggle input:checked + .quick-tutorial-toggle-switch::after {
  transform: translateX(16px);
}

/* ==================================================
   開始画面
   ================================================== */

.quick-step-screen {
  min-height: 100dvh;
  padding-top: calc(58px + env(safe-area-inset-top));
  padding-bottom: calc(32px + env(safe-area-inset-bottom));
}

.quick-step-screen.quick-start-step {
  height: auto;
  min-height: 100dvh;
  padding-top: 0;
  padding-bottom: env(safe-area-inset-bottom);
  overflow: visible;
}

.quick-start-home-header {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  padding: 24px 24px 20px;
}

.quick-start-home-header .home-logo-area {
  width: min(82vw, 360px);
}

.quick-start-home-header .home-logo-area img {
  display: block;
  width: 100%;
  height: auto;
}

.quick-start-action-area {
  padding: 1rem 24px 2.5rem;
}

.quick-start-action-area .primary-button {
  min-height: 54px;
}
.quick-start-action-area .quick-sns-in-app-guide {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 20px 18px;
  text-align: center;
}

.quick-sns-in-app-guide h2,
.quick-sns-in-app-guide h3,
.quick-sns-in-app-guide p {
  margin: 0;
}

.quick-sns-in-app-guide h2 {
  font-size: 1.2rem;
  line-height: 1.45;
}

.quick-sns-in-app-guide h3 {
  padding: 10px 12px;
  color: var(--color-brand, #f06d88);
  font-size: 0.98rem;
  line-height: 1.55;
  background: color-mix(in srgb, var(--color-brand, #f06d88) 10%, transparent);
  border-radius: 10px;
}

.quick-sns-in-app-guide-text {
  font-size: 0.92rem;
  line-height: 1.75;
}

.quick-sns-in-app-guide-body {
  font-size: 0.9rem;
  line-height: 1.75;
}

.quick-sns-in-app-guide-body img {
  display: block;
  width: min(100%, 320px);
  height: auto;
  margin: 12px auto;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.quick-sns-in-app-guide-body ol {
  display: grid;
  gap: 10px;
  margin: 12px 0;
  padding: 14px 14px 14px 34px;
  text-align: left;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 10px;
}

.quick-sns-in-app-guide-body li {
  padding-left: 2px;
}

.quick-sns-in-app-guide-body strong {
  color: var(--color-brand, #f06d88);
}

.quick-sns-in-app-guide-body .bi {
  vertical-align: -0.08em;
}
/* ==================================================
   各ステップ
   ================================================== */

.quick-spotify-scroll-area {
  max-height: none;
}

.quick-daily-task-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.quick-daily-task-title-row .task-help-button {
  flex: 0 0 auto;
}

.quick-share-card {
  display: grid;
  gap: 12px;
}

.quick-post-text-count {
  margin: 8px 0 14px;
  color: #777;
  font-size: 0.8rem;
  text-align: right;
}

.quick-post-text-count.is-warning {
  color: #d84b4b;
  font-weight: 700;
}

.quick-post-textarea {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 160px;
  padding: 12px;
  color: inherit;
  font: inherit;
  line-height: 1.65;
  resize: vertical;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 12px;
}

.quick-post-textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--color-brand, #f06d88) 60%, transparent);
  outline-offset: 2px;
}

.quick-install-guide-card {
  display: grid;
  gap: 12px;
}

/* ==================================================
   ホーム画面追加モーダル
   ================================================== */

.quick-setup-guide {
  display: grid;
  gap: 16px;
}

.quick-setup-guide p {
  margin: 0;
  line-height: 1.75;
}

.quick-setup-guide strong {
  color: var(--color-brand, #f06d88);
}

.quick-setup-guide-note {
  padding: 12px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  font-size: 0.9rem;
}

/* ==================================================
   チュートリアル
   ================================================== */

.quick-tutorial-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

.quick-tutorial-overlay.is-active {
  pointer-events: auto;
}

.quick-tutorial-spotlight {
  position: fixed;
  z-index: 1;
  display: none;
  border: 2px solid var(--quick-spotlight-color);
  border-radius: 16px;
  box-shadow: 0 0 0 100vmax var(--quick-overlay-color);
  pointer-events: none;
  transition: top 0.28s ease, left 0.28s ease, width 0.28s ease, height 0.28s ease;
}

.quick-tutorial-overlay.is-active .quick-tutorial-spotlight {
  display: block;
}

.quick-tutorial-message {
  position: fixed;
  right: 16px;
  bottom: calc(22px + env(safe-area-inset-bottom));
  left: 16px;
  z-index: 2;
  padding: 18px 18px 14px;
  color: #fff;
  background: rgba(20, 20, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 18px;
  box-shadow: var(--quick-shadow);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.quick-tutorial-overlay.is-message-hidden .quick-tutorial-message {
  opacity: 0;
  transform: translateY(10px);
}

.quick-tutorial-text {
  min-height: 3.2em;
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(0.95rem, 4vw, 1.08rem);
  font-weight: 700;
  line-height: 1.7;
  white-space: pre-wrap;
}

.quick-tutorial-hint {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  text-align: right;
}

.quick-tutorial-target {
  border-radius: 16px;
}

@media (prefers-reduced-motion: reduce) {
  .quick-tutorial-spotlight,
  .quick-tutorial-message,
  .quick-tutorial-toggle-switch,
  .quick-tutorial-toggle-switch::after {
    transition: none;
  }
}
.quick-return-guide{
   margin-top:1.5rem;
}

.quick-return-guide-section{
   padding-top: 18px;
}

.quick-return-guide-section + .quick-return-guide-section {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.quick-return-guide-section h3 {
  margin: 0 0 10px;
  color: var(--color-brand);
  font-size: 0.95rem;
  text-align: center;
}

.quick-return-guide-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 12px;
  border-radius: 2px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

p.quick-start-note-text{
   margi:0 auto;
}
.home-card {
  flex-shrink: 0;
  margin: 12px 0 3rem;
  padding: 14px 14px;
  background: var(--color-surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.home-card ul{
   margin:0;
}
.home-card strong{
   color:var(--color-brand);
}

#quickInstallGuideCard img{
   width:100%;
}
