

.proc { background: var(--paper-2); }
.proc-head { max-width: 760px; }

.proc-flow { display: grid; gap: 28px; margin-top: 48px; }
@media (min-width: 768px) { .proc-flow { gap: 40px; margin-top: 64px; } }
@media (min-width: 1100px) { .proc-flow { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 72px; margin-top: 80px; align-items: center; } }


.proc-stage {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius);
  background: #fff radial-gradient(rgba(21, 19, 18, .07) 1px, transparent 1.2px) 0 0 / 22px 22px;
}
.proc-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }


.proc-svg :is(.pl-ink, .pl-thin, .pl-pink, .sl-o, .sl-line, .fg, .fg-nail) {
  vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round;
}
.proc-svg .pl-ink { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.proc-svg .pl-soft { stroke: rgba(21, 19, 18, .38); }
.proc-svg .pl-thin { fill: none; stroke: var(--ink); stroke-width: 1; }
.proc-svg .pl-pink { fill: none; stroke: var(--pink); stroke-width: 2; }
.proc-svg .sl-o { fill: #fff; stroke: var(--ink); stroke-width: 1.6; }
.proc-svg .sl-line { fill: none; stroke: var(--ink); stroke-width: 1.6; }   
.proc-svg .seal-body { fill: #d9d9dd; }                                      
.proc-svg .knock { fill: #fff; stroke: none; }
.proc-svg .seal-back { stroke: rgba(21, 19, 18, .5); }
.proc-svg .seal-lip { stroke: rgba(21, 19, 18, .4); }
.proc-svg .seal-mark { stroke-width: 4.5; }
.proc-svg .fg { fill: #fff; stroke: var(--ink); stroke-width: 1.6; }
.proc-svg .fg-nail { fill: none; stroke: rgba(21, 19, 18, .45); stroke-width: 1.2; }
.proc-svg text {
  font-family: var(--font); font-size: 14px; font-weight: 700; letter-spacing: .03em; fill: var(--ink);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 600px) {
  .proc-svg text { font-size: 11px; }
  .proc-svg .pl-ink, .proc-svg .sl-o, .proc-svg .sl-line, .proc-svg .fg { stroke-width: 2; }
  .proc-svg .pl-pink { stroke-width: 2.5; }
  .proc-svg .seal-mark { stroke-width: 5.5; }
}


.proc-view { min-width: 0; }
.proc-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; margin-top: 12px; }
.proc-chip, .proc-replay {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-size: 13px; font-weight: 700; line-height: 1; white-space: nowrap;
}
.proc-chip { color: var(--ink); }
.proc-chip .proc-star { display: none; }
.proc-chip.is-star .proc-star { display: block; }
.proc-replay { padding-left: 12px; color: var(--sub); font-weight: 600; transition: color .2s, border-color .2s; }
.proc-replay:hover { color: var(--ink); border-color: rgba(21, 19, 18, .4); }

.proc-star { flex: none; fill: var(--pink); }


.proc-steps { border-bottom: 1px solid var(--line); }
.proc-step { border-top: 1px solid var(--line); }
.proc-step > button {
  display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; align-items: baseline;
  width: 100%; padding: 18px 0; border: 0; border-radius: 6px; background: none; text-align: left;
  transition: opacity .35s;
}
@media (min-width: 768px) { .proc-step > button { grid-template-columns: 104px minmax(0, 1fr); padding: 22px 0; } }
.proc-step-name { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.proc-step-gain { display: block; font-size: clamp(22px, 2.3vw, 30px); font-weight: 800; letter-spacing: -.025em; line-height: 1.3; color: var(--pink); }
.proc-step-desc { display: block; color: var(--sub); }
.proc-step-gain + .proc-step-desc { margin-top: 6px; }

.proc.is-live .proc-step:not(.is-on) > button { opacity: .38; }
.proc.is-live .proc-step:not(.is-on) > button:hover, .proc.is-live .proc-step:not(.is-on) > button:focus-visible { opacity: .8; }


.proc-steps { display: none; }                       
.proc-flow { grid-template-columns: none !important; justify-items: center; }
.proc-view { position: relative; width: 100%; max-width: 860px; }
.proc-replay { display: none !important; }           
.proc-bar { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0; justify-content: center; pointer-events: none; }
.proc-chip {
  flex-direction: row; flex-wrap: wrap; justify-content: center; column-gap: 10px; row-gap: 2px; max-width: calc(100% - 24px);
  min-height: 0; padding: 10px 18px; border: 0; border-radius: 14px; background: rgba(21, 19, 18, .84); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); white-space: normal; text-align: center; line-height: 1.35;
}
.proc-chip .proc-star, .proc-chip.is-star .proc-star { display: none; }   
.proc-chip-name { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; column-gap: 8px; row-gap: 3px; }
.proc-chip .sub-name { font-size: 15px; font-weight: 800; }
.proc-chip .sub-outro { font-size: 15px; font-weight: 700; }
.proc-chip .sub-gain { font-size: 15px; font-weight: 800; color: #ff7aa2; }
.proc-chip .sub-desc { flex-basis: 100%; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .82); }
@media (max-width: 767px) {   
  .proc-bar { position: static; margin-top: 12px; }
  .proc-chip { width: 100%; max-width: none; }
}
@media (min-width: 768px) {
  .proc-bar { bottom: 22px; }
  .proc-chip { padding: 12px 24px; }
  .proc-chip .sub-name, .proc-chip .sub-gain, .proc-chip .sub-outro { font-size: 18px; }
  .proc-chip .sub-desc { font-size: 15px; }
}
