/* Platform presentation for the teacher's existing cup game. */
.tabbar {
  gap: 6px;
  padding-inline: 10px;
}

.tabbar .tab {
  min-width: 0;
  min-height: 54px;
  justify-content: center;
  padding: 6px 4px;
  gap: 3px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #c8bdae;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .04em;
}

.tabbar .tab.on {
  background: #221a0e;
  border-color: #846639;
  color: #f2d591;
}

.tabbar .tab:focus-visible {
  outline: 2px solid #f2d591;
  outline-offset: -2px;
}

.altar-tip {
  padding-inline: 14px;
}

.altar-tip .l1 {
  color: #f2e8d6;
  font-size: 19px;
  letter-spacing: .1em;
}

.altar-tip .l2 {
  margin-top: 8px;
  color: #dfc796;
  font: 14px/1.65 var(--sans);
  letter-spacing: .04em;
}

.page-scroll {
  min-height: 0;
  padding: 8px 16px calc(20px + env(safe-area-inset-bottom, 0px));
}

.page-title {
  font-size: 22px;
  letter-spacing: .08em;
}

.page-sub,
.step-item p,
.note-item p {
  color: #e2d8c7;
  font-size: 16px;
  line-height: 1.75;
}

.step-item {
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  border-bottom-color: rgba(201, 162, 39, .22);
}

.step-item .n,
.note-item h3 i {
  color: #d5b573;
  font-size: 17px;
}

.step-item h3,
.note-item h3 {
  flex-wrap: wrap;
  color: #f2d591;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: .04em;
}

.step-item h3 em {
  display: inline-block;
  color: #cabfae;
  font: 14px/1.5 var(--sans);
  letter-spacing: 0;
}

.form-demo figcaption {
  color: #c8bdae;
  font: 14px/1.65 var(--sans);
  letter-spacing: 0;
}

.form-demo figcaption b {
  font-size: 17px;
}
