.routine-catalog {
 width:min(100%,1100px);
 margin:0 auto;
}
.routine-catalog h2 {
 margin:18px 0 12px;
 color:#51445f;
 font-size:1.45rem;
}
.routine-catalog .vocabulary-grid { margin-bottom:20px; }
.routine-catalog .vocabulary-card strong { width:100%; }
.routine-stage,.routine-finish {
 width:min(100%,530px);
 margin:0 auto;
 padding-bottom:24px;
 text-align:center;
}
.routine-stage .page-title { margin:10px auto 4px; }
.routine-progress {
 display:block;
 width:min(72%,240px);
 height:10px;
 margin:0 auto 12px;
 border:0;
 border-radius:100px;
 accent-color:#8c73ad;
}
.routine-progress::-webkit-progress-bar { background:#e6dcee;border-radius:100px; }
.routine-progress::-webkit-progress-value { background:#9275b6;border-radius:100px; }
.routine-times {
 display:flex;
 justify-content:center;
 gap:9px;
 margin:0 0 12px;
}
.routine-times button {
 min-width:70px;
 min-height:56px;
 font-size:1.08rem;
}
.routine-times button[aria-pressed="true"] {
 background:#e4d9f0;
 border-color:#9a82ba;
 color:#51406e;
}
.routine-card {
 width:100%;
 display:grid;
 justify-items:center;
 gap:8px;
 padding:10px 10px 16px;
 border:2px solid #ded5e7;
 border-radius:24px;
 background:#fffcf9;
 color:#51445f;
}
.routine-card strong {
 color:#604b83;
 font-size:clamp(1.3rem,4.5vw,1.75rem);
 line-height:1.2;
}
.routine-card > span[lang] { font-size:clamp(1rem,4vw,1.25rem); }
.routine-scene {
 position:relative;
 display:grid;
 place-items:center;
 width:100%;
 border-radius:16px;
 background:#f6e8d3;
}
.routine-afternoon .routine-scene { background:#e2eee3; }
.routine-evening .routine-scene { background:#eae0f5; }
.routine-scene .illustration {
 width:min(72%,clamp(132px,33vh,235px));
 height:auto;
 aspect-ratio:1;
}
.routine-sound {
 position:absolute;
 right:10px;
 bottom:10px;
 display:grid;
 place-items:center;
 width:44px;
 height:44px;
 border-radius:50%;
 background:#fffcf9;
 color:#604b83;
}
.routine-sound svg { width:23px;height:23px; }
.routine-stage .routine-next,.routine-finish button {
 min-height:60px;
 margin:14px auto 0;
}
.routine-finish .illustration {
 display:block;
 width:min(56%,205px);
 height:auto;
 margin:18px auto 0;
}
.routine-card:focus-visible,.routine-stage button:focus-visible {
 outline:3px solid #705498;
 outline-offset:3px;
}
