.class-frame { padding-bottom: clamp(36px,5vw,72px); }
.class-hero { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; min-height: clamp(205px,18vw,273px); padding: clamp(28px,3vw,50px) clamp(25px,4vw,65px); border-radius: 20px; background: radial-gradient(ellipse at 79% 0%,#b5474c,transparent 68%),#822433; color: #fff6e7; }
.class-hero::before { content: ""; position: absolute; inset: 8px; z-index: 2; border: 1px dashed #ffe0c354; border-radius: 13px; pointer-events: none; }
.class-hero-copy { z-index: 1; max-width: 68%; }
.class-season { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #ffdbbd; }
.class-hero h1 { margin: 7px 0 11px; font-weight: 800; font-size: clamp(41px,4.9vw,75px); line-height: 1.04; letter-spacing: -.055em; }
.class-subtitle { font-size: clamp(15px,1.4vw,20px); }
.class-winter-art { position: absolute; right: 0; bottom: 0; width: 34%; height: 100%; }
.class-winter-art img { position: absolute; object-fit: contain; }
.class-girl { height: 72%; width: 41%; right: 22%; bottom: 7%; filter: drop-shadow(0 4px 3px #61303038); }
.class-sled { height: 34%; width: 26%; bottom: 5%; right: 54%; transform: rotate(-8deg); }
.class-bank { position: absolute; right: -23%; bottom: -17%; width: 114%; height: 44%; border-radius: 100% 0 0 0; transform: rotate(-5deg); background: #ead6c3; }
.class-bank-front { bottom: -23%; right: -7%; transform: rotate(4deg); height: 39%; background: #fff1d8; }
.class-filters { margin: clamp(18px,2.3vw,32px) 0; padding: clamp(16px,2vw,28px); border: 1px solid #deceba; border-radius: 16px; background: #f6eee1; }
.class-filter-top { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 22px; }
.pick-field,.class-days { min-width: 0; }
.pick-field > span,.class-days legend { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 800; color: #593d37; }
.pick-field select { display: block; width: 100%; height: 44px; border: 1px solid #cbb8a3; border-radius: 8px; background: #fffcf7; padding: 0 11px; color: #382b28; font: 600 15px Manrope,Arial,sans-serif; }
.class-filter-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 15px; }
.class-days { padding: 0; margin: 0; border: 0; }
.class-days legend { padding: 0; }
.day-buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.day-buttons button { min-height: 36px; min-width: 39px; padding: 4px 10px; background: #fffaf2; border: 1px solid #cfbdac; border-radius: 20px; font-weight: 600; font-size: 14px; }
.day-buttons button[aria-pressed="true"] { background: var(--cherry); border-color: var(--cherry); color: white; }
.day-buttons button:hover { border-color: var(--cherry); }
.class-free { display: flex; align-items: center; gap: 8px; min-height: 36px; font-size: 14px; font-weight: 600; cursor: pointer; }
.class-free input { accent-color: var(--cherry); width: 18px; height: 18px; margin: 0; }
.class-results { margin: clamp(22px,2.8vw,42px) 0 0; }
.class-results-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.class-results h2 { font-size: clamp(29px,2.8vw,44px); line-height: 1.08; letter-spacing: -.044em; }
#class-count,.class-source p { color: var(--muted); font-size: 14px; margin-top: 5px; }
#class-reset { color: var(--cherry); font-size: 14px; padding: 7px 0; text-decoration: underline; text-underline-offset: 3px; }
#class-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.class-card { position: relative; background: #fffcf7; border: 1px solid #e0d1c0; border-radius: 12px; padding: clamp(16px,1.6vw,24px); min-width: 0; display: flex; flex-direction: column; }
.class-card-meta,.class-card-bottom { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.class-subject { color: #825441; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.class-age { color: #742534; background: #f6e8dd; border-radius: 20px; padding: 2px 9px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.class-card h3 { font-size: clamp(21px,1.7vw,27px); letter-spacing: -.035em; line-height: 1.15; color: #422b28; margin: 6px 0; }
.class-parent,.class-address { font-size: 14px; color: var(--muted); }
.class-times { border-block-start: 1px solid #e6d9c9; padding: 0; margin: 14px 0; }
.class-session { display: grid; grid-template-columns: minmax(65px,.6fr) 2fr; gap: 12px; border-bottom: 1px solid #e6d9c9; padding: 7px 0; }
.class-session dt { font-weight: 800; font-size: 14px; color: #742534; }
.class-session dd { margin: 0; }
.class-room-time { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; column-gap: 8px; }
.class-room-time strong { font-size: 14px; font-variant-numeric: tabular-nums; }
.class-room-time span { font-size: 12px; color: var(--muted); }
.class-card-bottom { flex-wrap: wrap; margin-top: auto; font-size: 13px; position: relative; }
.class-price { font-weight: 800; }
.class-details { display: contents; }
.class-details summary { cursor: pointer; color: var(--cherry); text-underline-offset: 3px; }
.class-details summary:hover { text-decoration: underline; }
.class-detail-body { flex: 0 0 100%; font-size: 14px; color: var(--muted); }
.class-week-label { display: block; margin-top: 9px; color: var(--ink); }
.class-detail-body .class-times { margin: 6px 0 0; }
#class-empty { padding: clamp(24px,4vw,50px); background: #f4ecdf; border-radius: 12px; text-align: center; }
#class-empty h3 { font-size: 23px; }
#class-empty p { color: var(--muted); margin: 6px 0 16px; }
#class-more,#empty-reset { color: #fff8ed; background: var(--cherry); border-radius: 22px; padding: 10px 20px; font-size: 14px; font-weight: 800; }
#class-more:not([hidden]) { display: block; margin: 20px auto 0; }
.class-source { display: flex; gap: 18px; justify-content: space-between; align-items: center; margin-top: 30px; padding: 17px 0; border-block: 1px solid var(--line); }
.class-source > div:last-child { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.class-source a,.sheet-note a { text-decoration: underline; text-underline-offset: 4px; color: var(--cherry); font-size: 14px; }
.classes-page :is(summary,select):focus-visible { outline: 3px solid #236da4; outline-offset: 3px; }
@media(max-width:740px) {
  .class-hero { min-height: 174px; }
  .class-hero h1 { font-size: clamp(33px,6.8vw,47px); }
  .class-filter-top { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .pick-field:last-child { grid-column: 1 / -1; }
  .class-filter-bottom { align-items: start; flex-direction: column; gap: 5px; margin-top: 12px; }
  .class-free { min-height: 36px; }
  #class-list { grid-template-columns: 1fr; gap: 11px; }
  .class-source { align-items: start; flex-direction: column; }
}
@media(max-width:480px) {
  .class-hero { min-height: 173px; padding: 23px 17px; }
  .class-hero h1 span { display: block; }
  .class-hero-copy { max-width: 74%; }
  .class-season { font-size: 9px; letter-spacing: .075em; }
  .class-subtitle { font-size: 12px; max-width: 23ch; }
  .class-winter-art { width: 34%; height: 79%; }
  .class-girl { right: 9%; width: 71%; }
  .class-sled { right: 50%; width: 44%; }
  .class-hero::before { inset: 5px; }
  .class-filters { margin-top: 14px; padding: 13px; }
  .pick-field select { padding-left: 5px; font-size: 14px; }
  .day-buttons { gap: 5px; }
  .day-buttons button { min-height: 36px; min-width: 34px; padding: 3px 7px; }
  .class-results-head { align-items: start; flex-wrap: wrap; }
  .class-session { grid-template-columns: 63px minmax(0,1fr); gap: 8px; }
}

@media(max-width:480px) {
  .class-filter-top { grid-template-columns: 1fr; gap: 9px; }
  .pick-field:last-child { grid-column: auto; }
  .pick-field > span { margin-bottom: 3px; }
  .pick-field select { padding-inline: 10px; }
}
.class-ensemble-link { text-decoration: underline; text-decoration-color: #b88383; text-underline-offset: 4px; }
.class-ensemble-link:hover { color: var(--cherry); }
