/* Latest member app refinements. */
.home-heading{margin-bottom:16px}.home-heading>div{width:100%}.next-class{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;margin-top:17px;background:linear-gradient(110deg,#7faaff12,transparent);border-left:3px solid var(--blue);border-radius:4px 0 0 4px}.next-class-label{font:700 10px/1.4 'Noto Sans KR',sans-serif;letter-spacing:1.5px;color:var(--blue);white-space:nowrap}.next-class-detail{display:flex;align-items:center;gap:12px}.next-class-detail>strong{font:700 clamp(20px,5.5vw,28px)/1.2 'Barlow Condensed',sans-serif;font-variant-numeric:tabular-nums;letter-spacing:.6px;white-space:nowrap}.next-class-detail>strong>span{padding:0 5px;color:var(--muted)}.next-class-kind{border-radius:5px;padding:5px 9px;font-size:12px;font-weight:800;letter-spacing:.3px;background:#ffb77922;color:#ffc28b}.next-class-kind.kind-bt{background:#8ab5ff22;color:#9cc0ff}.next-class.is-current{border-color:#67cdb3}.next-class.is-current .next-class-label{color:#67cdb3}.next-class-detail .rest-caption{font-family:inherit;font-size:15px}
.home-datebar .home-date-controls{min-width:0;flex:1;flex-wrap:nowrap}.home-datebar .date-picker{height:44px;padding:0 5px;flex:1;min-width:0;flex-wrap:nowrap;gap:4px}.home-datebar .date-select-button{height:44px;min-height:44px;min-width:0;width:auto!important;flex:1;padding:0 6px;gap:5px;white-space:nowrap;font-size:clamp(10px,2.8vw,12px)}.home-datebar .date-select-button>span{min-width:0}.home-datebar .date-select-button>span:first-of-type{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-datebar .date-today{height:44px;min-height:44px;min-width:35px;flex:none;white-space:nowrap;padding:0 4px;font-size:11px}.home-datebar .home-attendance{height:44px;min-height:44px;flex:0 0 30%;min-width:86px;max-width:160px}.home-datebar .home-tomorrow-link{display:none}
.rm-card .rm-bottom{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center;gap:8px;justify-content:flex-start!important}.rm-card .rm-bottom .link{font-size:clamp(10px,2.7vw,12px);white-space:nowrap;flex:none;min-height:36px;padding:0}.rm-card .rm-bottom>button+button:before{margin-right:8px}
.daily-photos{margin:0 0 16px}.daily-photo-empty{text-align:center;padding:24px 8px;margin:0;color:var(--muted);font-size:12px}.daily-photo-label{display:flex;align-items:center;justify-content:space-between;gap:12px}.daily-photo-label button{min-height:40px}.daily-photo-class{width:min(100%,320px)}.photo-gallery{margin:8px 0}.photo-tile img{display:block}.tv-single-status{padding:18px 0 4px;font-size:14px;font-weight:600}
body[data-page=admin] .workout-row-actions .icon-btn{border:0!important;box-shadow:none!important;background:transparent!important;border-radius:0!important;width:44px;height:44px;min-height:44px;padding:11px;display:inline-flex;align-items:center;justify-content:center}body[data-page=admin] .workout-row-actions .icon-btn svg{width:22px;height:22px;stroke-width:1.8}.workout-row-actions{gap:4px}.section-editor-tabs{display:flex;gap:10px;padding:10px 0;flex-wrap:nowrap}.section-editor-tabs>button{min-width:76px;min-height:48px;padding:10px 20px;font:800 18px/1.25 'Noto Sans KR',sans-serif;letter-spacing:.5px;flex-shrink:0}.section-editor-tabs>button[aria-selected=true]{background:var(--blue);color:var(--bg);border-color:var(--blue);box-shadow:0 0 0 1px var(--blue)}
#home-header-banner .notice-text{animation:none!important;will-change:transform;backface-visibility:hidden;transform:translate3d(0,0,0)}#home-header-banner .notice-text>span{box-sizing:border-box;flex-shrink:0}
.image-viewer{inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#080f1a;color:#f3f6fb;overflow:hidden;touch-action:none;overscroll-behavior:none;z-index:100000}.image-viewer[open]{display:flex;flex-direction:column}.image-viewer::backdrop{background:#050911f5}.image-viewer-head{display:flex;align-items:center;gap:12px;flex:none;padding:calc(10px + env(safe-area-inset-top)) 12px 10px 18px;min-height:60px}.image-viewer-head>strong{margin-right:auto;font-size:15px}.image-viewer-head button{min-width:44px;min-height:44px;padding:8px;border:0;background:transparent;color:inherit;font-size:12px}.image-viewer-head button:last-child{font-size:30px;line-height:1}.image-viewer-stage{flex:1;min-height:0;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;touch-action:none;overscroll-behavior:none;user-select:none;padding:0 0 env(safe-area-inset-bottom)}.image-viewer-stage img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;transform-origin:center;will-change:transform;pointer-events:none;user-select:none;flex-shrink:0}.photo-viewing{overscroll-behavior:none}
@media(max-width:400px){.next-class{gap:8px;padding:12px 11px}.next-class-label{font-size:9px;letter-spacing:1px}.next-class-detail{gap:8px}.next-class-kind{font-size:11px;padding:4px 6px}}
@media(prefers-reduced-motion:reduce){#home-header-banner .notice-text{transform:none!important;will-change:auto}}
/* Status sits above the prominent time; the course badge spans both rows. */
.next-class{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 14px}.next-class-label{grid-column:1;grid-row:1}.next-class-detail{display:contents}.next-class-detail>strong{grid-column:1;grid-row:2}.next-class-kind{grid-column:2;grid-row:1 / span 2;align-self:center;justify-self:end}
