/* いっち！: テーマ上書き（黄色系）＋ゲーム画面スタイル */

:root {
  --party-accent: #f5b301;
  --party-accent-dark: #c98e00;
  --party-bg: #fffbe6;
  --party-card: #ffffff;
  --ic-ink: #4a3800;
}

#ic-root {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.ic-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
  text-align: center;
}

.ic-screen h2 {
  font-size: 1.3rem;
  margin: 0;
}

.ic-progress {
  font-size: 0.9rem;
  opacity: 0.7;
  margin: 0;
}

.ic-question {
  font-size: 1.4rem;
  margin: 0;
  color: var(--ic-ink);
}

.ic-msg {
  font-size: 1.1rem;
  margin: 0;
}

.ic-msg-sub {
  font-size: 0.95rem;
  opacity: 0.75;
  margin: 0;
}

.ic-timer-bar {
  width: min(320px, 90vw);
  height: 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.ic-timer-bar-fill {
  height: 100%;
  width: 100%;
  background: var(--party-accent);
  transition: width 0.2s linear;
}

.ic-choice-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(320px, 90vw);
}

.ic-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.ic-btn {
  min-height: 56px;
  padding: 0 20px;
  border-radius: 16px;
  border: none;
  background: #fff;
  color: var(--party-accent-dark);
  font-size: 1.05rem;
  font-weight: bold;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.15);
}

.ic-btn-primary {
  background: var(--party-accent);
  color: #fff;
  box-shadow: 0 3px 0 var(--party-accent-dark);
}

.ic-choice-btn {
  width: 100%;
}

.ic-btn-selected {
  outline: 3px solid var(--party-accent-dark);
}

.ic-gain-pop {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--party-accent-dark);
  margin: 0;
}

.ic-reveal-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(340px, 92vw);
}

.ic-reveal-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff8e1;
  border-radius: 14px;
  padding: 10px 14px;
  text-align: left;
}

.ic-reveal-label {
  font-weight: bold;
  color: var(--ic-ink);
  min-width: 5.5em;
}

.ic-reveal-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 1.2rem;
}

.ic-final-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(340px, 92vw);
}

.ic-final-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff8e1;
  border-radius: 14px;
  padding: 10px 14px;
}

.ic-final-medal {
  font-size: 1.3rem;
  min-width: 2em;
}

.ic-final-icon {
  font-size: 1.3rem;
}

.ic-final-name {
  flex: 1;
  text-align: left;
  font-weight: bold;
  color: var(--ic-ink);
}

.ic-final-pt {
  font-weight: bold;
  color: var(--party-accent-dark);
}
