@charset "UTF-8";

/* Curious+ (minimal overrides) */

.curious-wrap{
  max-width: 480px;
  margin: 0 auto;
  padding: 20px 16px 10px;
}

.curious-header{
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 6px 0 10px;
}

.curious-icon{
  width: 88px;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.curious-mode{
  color: #6ec6ff; /* Curious+ blue */
  font-size: 1.35rem;
}

/* Tiles area + refresh button */
.curious-tiles-wrap{
  position: relative;
  margin: 22px 0 36px; /* more breathing room before text */
}

.curious-tiles{
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* Tile (image-based) */
.curious-tile{
  width: 48px;
  height: 48px;
	padding: 4px; 
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.curious-img{
  width: 48px;
  height: 48px;
  display: block;
  object-fit: contain;
}

/* If you ever switch back to text tiles */
.curious-kanji{
  font-family: "Shippori Mincho B1", serif;
  font-size: 2.1rem;
  color: #f2f2f2;
}

/* Main question */
.curious-text{
  text-align: left;
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 18px 24px 0;
}

/* Guide line (instruction / hint) */
.curious-action{
  text-align: left;
  margin: 10px 24px 0;
  color: rgba(110,198,255,0.75); /* Curious+ blue, softer */
  font-size: 0.95rem;           /* slightly smaller */
}

.curious-error{
  text-align: left;
  margin: 14px 24px 0;
  color: rgba(255,180,180,0.9);
  font-size: 0.98rem;
}

/* Refresh (anchored to tiles, Curious+ blue) */
.curious-refresh{
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);

  width: 42px;
  height: 42px;
  border-radius: 10px;

  border: 1px solid rgba(110,198,255,0.9);
  background: rgba(110,198,255,0.35); /* ← blue background */
  color: #ffffff;

  font-size: 22px;
  line-height: 1;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
}

.curious-refresh:hover{
  background: rgba(110,198,255,0.55);
}

/* optional: make the guide line slightly calmer */
#curious-action{
  color: rgba(110,198,255,0.75);
}

.curious-sep{
  font-size: 0.6rem;        /* smaller, punctuation-sized */
  margin: 0;            /* tighter side margins */
  opacity: 0.9;

  display: inline-flex;     /* ensure visual centering */
  align-items: center;
  justify-content: center;

  line-height: 1;
  vertical-align: middle;   /* important for kanji alignment */
  user-select: none;
}

/* Loading state */
.curious-loading{
  background: rgba(255,255,255,0.06);
  border-style: dashed;
  animation: curiousPulse 1.4s ease-in-out infinite;
}

@keyframes curiousPulse{
  0%   { opacity: 0.35; }
  50%  { opacity: 0.7; }
  100% { opacity: 0.35; }
}

.curious-footer-hint {
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: #999;   /* softer than main text */
  text-align: center;
}

.curious-footer-hint .curious-refresh-icon{
  font-size: 1.4em;   /* relative = scales naturally */
  vertical-align: -0.05em;
}

/* Full-width road area (uses whole page width) */
.curious-road{
  width: 100%;
  max-width: none;          /* important */
  margin: 18px 0 0;
}

/* Viewport clips motion */
.curious-road-viewport{
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 10px 0;          /* vertical breathing room */
}

/* Track is what slides */
.curious-track{
  display: flex;
  align-items: center;
  justify-content: center;  /* centered “table” */
  gap: 10px;
  will-change: transform;
  transform: translateX(0);
  transition: transform 520ms ease;
}

/* OPTIONAL star separator (smaller + tighter) */
.curious-sep{
  font-size: 0.65rem;
  opacity: 0.55;
  margin: 0 2px;
  line-height: 1;
  user-select: none;
}

/* Opacity arrangement (non-center tiles) */
.curious-tile.is-left,
.curious-tile.is-right{
  opacity: 0.40;
  transform: scale(0.96);
  filter: saturate(0.9);
}

.curious-tile.is-center{
  opacity: 1;
  transform: scale(1.00);
}

/* ===== Curious+ controls ===== */
.curious-controls{
  display: flex;
  justify-content: center;   /* center the button */
  align-items: center;
  margin-top: 5px;
}

/* =========================
   Stop + listen button (calm style)
========================= */

.curious-stop{
  appearance: none;
  border: 1px solid rgba(255,255,255,0.22);

  background: #3b82f6;      /* active blue */
  color: #fff;

  /* smaller + lighter */
  padding: 6px 12px;
  border-radius: 10px;

  font-size: 0.92rem;
  font-weight: 500;         /* softer than bold */
  letter-spacing: 0.2px;

  cursor: pointer;

  /* softer shadow */
  box-shadow: 0 4px 10px rgba(0,0,0,0.28);

  transition:
    background-color 180ms ease,
    transform 100ms ease,
    filter 120ms ease,
    opacity 120ms ease;
}


/* hover (only when running) */
.curious-stop:not(:disabled):hover{
  filter: brightness(1.06);
}


/* press */
.curious-stop:not(:disabled):active{
  transform: translateY(1px);
}


/* =========================
   INACTIVE / PAUSED state
========================= */

.curious-stop:disabled{
  background: #0f1722;   /* much darker (clear contrast) */
  color: #94a3b8;        /* muted text */

  cursor: default;
  box-shadow: none;
  filter: none;
  opacity: 1;            /* don't wash out */
}

/* =========================
   Curious+ hint text
========================= */

.curious-hints{
  margin-top: 34px;            /* more space below button */
  margin-left: 24px;           /* match your text blocks */
  margin-right: 24px;
  text-align: left;
}

.curious-hints ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

.curious-hints li{
  margin: 14px 0;              /* more space between lines */
  font-size: 0.95rem;
  line-height: 1.85;           /* more breathing room */
  color: rgba(255,255,255,0.72); /* softer than main text */
  font-weight: 400;            /* NOT bold */
}

.curious-hints .hint-key{
  color: #58c0f1;               /* same blue family as button */
  font-weight: 400;             /* NOT bold */
}

/* Header text stack */
.curious-header-text{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Whisper-style microcopy */
.curious-whisper{
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78); /* soft near-white */
  letter-spacing: 0.2px;
  line-height: 1.2;
}

/* Curious+ header voice button */
.curious-icon{
  cursor: pointer;
  transition: transform 120ms ease, filter 120ms ease;
}

.curious-icon:hover{
  filter: brightness(1.08);
}

.curious-icon:active{
  transform: scale(0.97);
}

/* Whisper text */
.curious-whisper{
  margin-top: 2px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85); /* near-white, soft */
  letter-spacing: 0.2px;
}

.curious-garden {
  margin-top: 15px;
  font-size: 0.95rem;
	font-style: italic;
  color: antiquewhite;   /* near white */
  opacity: 0.65;    /* gentle, not loud */
  letter-spacing: 0.04em;
  text-align: center;
}