:root { 
    --guide-brand: #2563eb; 
    --guide-brand-dark: #1d4ed8; 
    --guide-brand-soft: #eef3ff; 
    --guide-ink: #1c2b3a; 
    --guide-muted: #8b97a8;
    --guide-sub: #5b6878; 
    --guide-line: #e7edf4;
    --guide-line-dot: #ccd5e0; 
    --guide-surface: #f3f6fa; 
    --guide-card: #fff; 
    --guide-card-inset: #f7f8fa; 
    --guide-card-inset-line: #eceef2; 
    --guide-radius: 18px; 
    --guide-shadow: 0 2px 10px #1c2b3a0d; 
    --guide-success: #17824c; 
    --guide-success-soft: #e7f6ee; 
    --guide-warn: #c2612a; 
    --guide-warn-soft: #fff1e6; 
    --guide-info: #3d6d9c; 
    --guide-info-soft: #e8f2fb; 
    --guide-muted-soft: #f1f4f8; 
    --guide-screen-pad: 20px; 
    --guide-stage: #35404b; 
}
* { 
    box-sizing: border-box; 
}
body.guide-mobile-body { 
    min-width: 320px; 
    min-height: 100vh; 
    margin: 0; 
    background: var(--guide-stage); 
    color: var(--guide-ink); 
    font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard Variable", "Segoe UI", sans-serif; 
    -webkit-font-smoothing: antialiased; 
}
.guide-mobile-stage { 
    display: grid; 
    min-height: 100vh; 
    place-items: center; 
    padding: 20px; 
}
.demo-guide-phone { 
    position: relative; 
    width: min(430px, 92vw, calc(92vh * 388 / 800)); 
    aspect-ratio: 388 / 800; 
}
.demo-guide-phone > img { 
    position: relative; 
    z-index: 1; 
    display: block; 
    width: 100%; 
    height: 100%; 
    pointer-events: none; 
}
/* 화면은 iphone-mockup.png 유리 구멍에 맞춤. 위 여백은 Dynamic Island */
.demo-guide-screen { 
    position: absolute; 
    z-index: 0; 
    inset: 1.75% 4.12% 1.75%; 
    display: flex; 
    overflow: hidden; 
    flex-direction: column; 
    padding: 13% var(--guide-screen-pad) 0; 
    border-radius: 15.7% / 7.3%; 
    background: var(--guide-surface); 
}
.demo-guide-app-bar { 
    display: flex; 
    flex: 0 0 44px; 
    align-items: center; 
    gap: 8px; 
    margin-right: calc(var(--guide-screen-pad) * -1); 
    margin-left: calc(var(--guide-screen-pad) * -1); 
    padding: 0 var(--guide-screen-pad); 
    color: var(--guide-brand); 
    font-size: 14px; 
    font-weight: 800; 
    letter-spacing: .06em; 
}
.demo-guide-app-mark { 
    display: grid; 
    width: 30px; 
    height: 30px; 
    flex: 0 0 30px; 
    place-items: center; 
    border-radius: 9px; 
    background: var(--guide-brand); 
}
.demo-guide-app-mark .guide-icon { 
    color: #fff; 
    font-size: 21px; 
}
.demo-guide-app-menu { 
    display: grid; 
    width: 38px; 
    height: 38px; 
    flex: 0 0 38px; 
    place-items: center; 
    margin-left: auto; 
    padding: 0; 
    border: 0; 
    border-radius: 50%; 
    background: transparent; 
    color: var(--guide-brand); 
    cursor: pointer; 
}
.demo-guide-app-menu:hover { 
    background: var(--guide-brand-soft); 
    color: var(--guide-brand); 
}
.demo-guide-app-menu:focus-visible, .demo-guide-tabbar button:focus-visible, .demo-guide-more-action:focus-visible, .demo-guide-local-dialog button:focus-visible, .demo-guide-home-menu button:focus-visible, .demo-guide-home-section-heading button:focus-visible { 
    outline: 2px solid var(--guide-brand); 
    outline-offset: 2px; 
}
.guide-member summary:focus-visible, .guide-schedule-day summary:focus-visible, .guide-notice summary:focus-visible, .demo-guide-home-row:focus-visible { 
    outline: 2px solid var(--guide-brand); 
    outline-offset: -2px; 
}
.demo-guide-app-menu .guide-icon { 
    font-size: 22px; 
}
.demo-guide-trip-heading { 
    padding: 4px 0 0; 
}
.demo-guide-trip-heading > small { 
    color: var(--guide-brand); 
    font-size: 10px; 
    font-weight: 800; 
    letter-spacing: .12em; 
}
.demo-guide-trip-heading h1 { 
    overflow: hidden; 
    margin: 6px 0 14px; 
    color: var(--guide-ink); 
    font-size: 22px; 
    font-weight: 700; 
    letter-spacing: -.04em; 
    line-height: 1.3; 
    text-overflow: ellipsis; 
    white-space: nowrap; 
}
.demo-guide-trip-heading p { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 6px; 
    margin: 0; 
}
.demo-guide-trip-heading p > span { 
    display: inline-flex; 
    align-items: center; 
    gap: 5px; 
    padding: 6px 11px 6px 9px; 
    border-radius: 999px; 
    background: var(--guide-card); 
    box-shadow: var(--guide-shadow);
    color: var(--guide-sub);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -.02em;
}
.demo-guide-trip-heading p .guide-icon { 
    color: var(--guide-brand); 
    font-size: 15px; 
}
.demo-guide-pages { 
    display: flex; 
    min-height: 0; 
    flex: 1; 
    flex-direction: column; 
    margin-right: calc(var(--guide-screen-pad) * -1); 
    margin-left: calc(var(--guide-screen-pad) * -1); 
    padding: 0 var(--guide-screen-pad); 
    background: var(--guide-surface); 
}
.demo-guide-page { 
    display: flex; 
    min-width: 0; 
    min-height: 0; 
    flex: 1; 
    flex-direction: column; 
}
.demo-guide-page[hidden] { 
    display: none; 
}
.demo-guide-roster-heading, .demo-guide-page-heading { 
    display: flex; 
    flex: 0 0 auto; 
    align-items: center; 
    justify-content: space-between; 
    gap: 8px; 
    margin-bottom: 2px;
    padding: 20px 0 14px;
    border-bottom: 1px solid var(--guide-line); 
}
.demo-guide-roster-heading > div, .demo-guide-page-heading > div { 
    display: flex; 
    min-width: 0; 
    align-items: baseline; 
    gap: 8px; 
}
/* 제목 > 인원수 > 운영 상태 순으로 세기를 낮춤 */
.demo-guide-roster-heading h2, .demo-guide-page-heading h2 { 
    margin: 0; 
    color: var(--guide-ink); 
    font-size: 17px; 
    font-weight: 700; 
    letter-spacing: -.04em; 
}
.demo-guide-roster-heading > div > span, .demo-guide-page-heading > div > span { 
    color: var(--guide-brand); 
    font-size: 17px; 
    font-weight: 600; 
    letter-spacing: -.02em; 
}
.demo-guide-live { 
    display: inline-flex; 
    flex: 0 0 auto; 
    align-items: center; 
    gap: 10px; 
    color: var(--guide-success); 
    font-size: 12px; 
    font-weight: 600; 
}
.demo-guide-live i {
    position: relative;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--guide-success);
}
/* 점과 같은 크기의 원 두 개가 시차를 두고 퍼지며 사라져 실시간 신호처럼 보이게 함 */
.demo-guide-live i::before, .demo-guide-live i::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--guide-success);
    opacity: 0;
}
/* 아래 여백은 탭바 가운데 로고가 솟은 높이만큼 둠. 위는 스크롤할 때 잘린 면이 서서히 사라지게 마스크를 씌우고, 그 높이만큼 여백을 둬 맨 위에서는 흐려지지 않음 */
.demo-guide-roster, .demo-guide-page-scroll {
    min-height: 0;
    flex: 1;
    margin: 0 calc(var(--guide-screen-pad) * -1);
    padding: 16px var(--guide-screen-pad) 44px;
    overflow-y: auto;
    mask-image: linear-gradient(to bottom, transparent, #000 16px);
    overscroll-behavior: contain; 
    scroll-behavior: smooth; 
    scrollbar-width: none; 
}
.demo-guide-roster::-webkit-scrollbar, .demo-guide-page-scroll::-webkit-scrollbar { 
    display: none; 
}
.guide-group-list, .guide-schedule-day, .guide-notice, .demo-guide-more-action, .demo-guide-home-menu button, .demo-guide-home-list {
    border-radius: var(--guide-radius);
    background: var(--guide-card);
    box-shadow: var(--guide-shadow);
}
.guide-schedule-day + .guide-schedule-day, .guide-notice + .guide-notice {
    margin-top: 14px;
}
.guide-group + .guide-group {
    margin-top: 32px;
}
.guide-group-list {
    overflow: hidden;
}
/* 그룹 이름은 카드 밖 소제목. 섹션 제목보다 한 단계 약하게 둠 */
.guide-group-heading {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 10px;
    padding: 0 12px;
    color: var(--guide-sub);
}
.guide-group-heading .guide-icon {
    flex: 0 0 auto;
    color: var(--guide-muted);
    font-size: 14px;
}
.guide-group-heading b {
    overflow: hidden;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.guide-group-heading span {
    flex: 0 0 auto;
    margin-left: auto;
    color: var(--guide-muted);
    font-size: 12px;
    font-weight: 500;
}
.guide-member summary {
    display: flex;
    align-items: center;
    gap: 14px;
    list-style: none; 
    cursor: pointer; 
}
.guide-member {
    position: relative;
    padding: 18px;
}
/* 구분선은 좌우 여백 안쪽에 점선으로 그음 */
.guide-member + .guide-member::before {
    content: "";
    position: absolute;
    top: 0;
    right: 18px;
    left: 18px;
    height: 1px;
    background: radial-gradient(circle, var(--guide-line-dot) 1px, transparent 1.2px) 0 50% / 6px 2px repeat-x;
}
.guide-member summary::-webkit-details-marker, .guide-schedule-day summary::-webkit-details-marker, .guide-notice summary::-webkit-details-marker { 
    display: none; 
}
.guide-avatar { 
    display: grid; 
    width: 46px; 
    height: 46px; 
    flex: 0 0 46px; 
    place-items: center; 
    border-radius: 50%; 
    background: var(--guide-brand-soft); 
    color: var(--guide-brand-dark); 
    font-size: 17px; 
    font-weight: 700; 
}
/* 프로필 색을 순서대로 돌려 목록이 단조롭지 않게 함 */
.guide-member:nth-child(4n + 2) .guide-avatar { 
    background: var(--guide-success-soft); 
    color: var(--guide-success); 
}
.guide-member:nth-child(4n + 3) .guide-avatar { 
    background: var(--guide-warn-soft); 
    color: var(--guide-warn); 
}
.guide-member:nth-child(4n + 4) .guide-avatar { 
    background: var(--guide-info-soft); 
    color: var(--guide-info); 
}
.guide-member-copy { 
    display: grid; 
    min-width: 0; 
    flex: 1; 
    gap: 6px; 
}
.guide-member-copy > span:first-child { 
    display: flex; 
    min-width: 0;
    align-items: center; 
    gap: 6px; 
}
.guide-member-copy b { 
    min-width: 0;
    overflow: hidden; 
    color: var(--guide-ink); 
    font-size: 16px; 
    font-weight: 700; 
    letter-spacing: -.03em; 
    text-overflow: ellipsis; 
    white-space: nowrap; 
}
.guide-member-copy i { 
    flex: 0 0 auto; 
    padding: 1px 6px; 
    border-radius: 999px; 
    background: var(--guide-brand-soft); 
    color: var(--guide-brand); 
    font-size: 10px; 
    font-style: normal; 
    font-weight: 700; 
    letter-spacing: -.01em; 
    line-height: 1.5; 
}
.guide-member-copy small { 
    overflow: hidden; 
    color: var(--guide-muted); 
    font-size: 13px; 
    font-variant-numeric: tabular-nums; 
    letter-spacing: .01em; 
    text-overflow: ellipsis; 
    white-space: nowrap; 
}
.guide-member-flag {
    flex: 0 0 auto;
    padding: 1px 6px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.5;
    white-space: nowrap;
}
.guide-member-flag.allergy {
    background: var(--guide-warn-soft);
    color: var(--guide-warn);
}
.guide-member-flag.mobility {
    background: var(--guide-info-soft);
    color: var(--guide-info);
}
.guide-member-detail {
    display: grid;
    margin-top: 14px;
    padding: 0 16px;
    border-radius: 12px;
    background: var(--guide-card-inset);
}
/* 라벨 폭을 고정해 값이 항상 같은 세로선에서 시작하고, 첫 줄 기준선을 맞춤 */
.guide-detail-line {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: baseline;
    gap: 12px;
    padding: 13px 0;
    line-height: 1.45;
}
.guide-detail-line + .guide-detail-line {
    border-top: 1px solid var(--guide-card-inset-line);
}
.guide-detail-line b {
    color: var(--guide-muted);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: -.02em;
}
.guide-detail-line span {
    min-width: 0;
    color: var(--guide-ink);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -.02em;
    overflow-wrap: anywhere;
}
.guide-detail-line em {
    margin-left: 6px;
    color: var(--guide-muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
}
.guide-detail-line small {
    display: block;
    margin-top: 2px;
    color: var(--guide-sub);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    letter-spacing: .01em;
}
.guide-detail-line.allergy span {
    color: var(--guide-warn);
}
.guide-detail-line.mobility span {
    color: var(--guide-info);
}
.guide-detail-line.is-clear span, .guide-detail-line.is-empty span {
    color: var(--guide-muted);
    font-weight: 500;
}
.guide-checklist-detail { 
    display: grid; 
    gap: 6px; 
    padding-top: 8px; 
    border-top: 1px solid var(--guide-line); 
}
.guide-checklist-heading { 
    display: flex; 
    align-items: flex-start; 
    justify-content: space-between; 
    gap: 8px; 
}
.guide-checklist-heading > b { 
    color: var(--guide-ink); 
    font-size: 12px; 
    line-height: 1.4; 
    overflow-wrap: anywhere; 
}
.guide-checklist-status { 
    flex: 0 0 auto; 
    padding: 2px 7px; 
    border-radius: 999px; 
    background: var(--guide-brand-soft); 
    color: var(--guide-brand-dark); 
    font-size: 10px; 
    font-weight: 700; 
    white-space: nowrap; 
}
.guide-checklist-status.is-complete { 
    background: var(--guide-success-soft); 
    color: var(--guide-success); 
}
.guide-checklist-status.is-incomplete { 
    background: var(--guide-muted-soft); 
    color: var(--guide-muted); 
}
.guide-checklist-items { 
    display: grid; 
}
.guide-checklist-item { 
    display: grid; 
    grid-template-columns: 16px minmax(0, 1fr); 
    gap: 6px; 
    padding: 6px 0; 
}
.guide-checklist-item + .guide-checklist-item { 
    border-top: 1px solid var(--guide-line); 
}
.guide-checklist-item > span { 
    color: var(--guide-muted); 
    font-size: 12px; 
}
.guide-checklist-item.is-checked > span { 
    color: var(--guide-success); 
}
.guide-checklist-item b, .guide-checklist-item small { 
    display: block; 
}
.guide-checklist-item b { 
    color: var(--guide-ink); 
    font-size: 11px; 
    line-height: 1.45; 
}
.guide-checklist-item small { 
    margin-top: 2px; 
    color: var(--guide-muted); 
    font-size: 10px; 
    line-height: 1.4; 
}
.guide-chevron { 
    width: 7px; 
    height: 7px; 
    flex: 0 0 7px; 
    margin: 0 4px 3px 0; 
    transform: rotate(45deg); 
    border-right: 1.5px solid var(--guide-muted); 
    border-bottom: 1.5px solid var(--guide-muted); 
    transition: transform .3s cubic-bezier(.2, .8, .2, 1); 
}
.guide-member[open] .guide-chevron, .guide-schedule-day[open] .guide-chevron, .guide-notice[open] .guide-chevron { 
    transform: rotate(225deg); 
}
/* 닫히는 애니메이션 동안은 open이 남아 있어 화살표를 먼저 되돌림 */
[data-guide-accordion].is-closing .guide-chevron { 
    transform: rotate(45deg); 
}
@media (prefers-reduced-motion: no-preference) {
    .guide-fold { 
        display: grid; 
        grid-template-rows: 0fr; 
        transition: grid-template-rows .28s cubic-bezier(.2, .8, .2, 1); 
    }
    [data-guide-accordion].is-open > .guide-fold { 
        grid-template-rows: 1fr; 
    }
    /* 접히는 칸에 여백이 있으면 0까지 줄지 않고 끝에 툭 사라짐. 여백 없는 칸으로 감쌈 */
    .guide-fold > div { 
        min-height: 0; 
        overflow: hidden; 
    }
}
.guide-schedule-day, .guide-notice { 
    overflow: hidden; 
}
.guide-schedule-day summary, .guide-notice summary { 
    display: grid; 
    grid-template-columns: minmax(0, 1fr) 10px; 
    align-items: center; 
    gap: 8px 10px; 
    padding: 16px; 
    list-style: none; 
    cursor: pointer; 
}
.guide-schedule-day-top, .guide-notice-badges { 
    display: flex; 
    grid-column: 1; 
    align-items: center; 
    justify-content: space-between; 
    gap: 6px; 
}
/* 날짜를 DAY 배지 옆에 붙여 오른쪽은 화살표만 남김 */
.guide-schedule-day-top {
    justify-content: flex-start;
    gap: 8px;
    color: var(--guide-brand);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
}
.guide-schedule-day-top b { 
    padding: 4px 8px;
    border-radius: 999px; 
    background: var(--guide-brand-soft); 
    font-size: 11px;
    font-weight: 700;
}
.guide-schedule-day time {
    color: var(--guide-muted);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    letter-spacing: 0;
}
.guide-schedule-day summary > strong, .guide-notice summary > strong { 
    grid-column: 1; 
    color: var(--guide-ink); 
    font-size: 16px; 
    font-weight: 700; 
    letter-spacing: -.03em; 
    line-height: 1.4; 
}
.guide-schedule-day summary > .guide-chevron, .guide-notice summary > .guide-chevron { 
    grid-column: 2; 
    grid-row: 1 / span 2; 
    justify-self: center; 
}
.guide-schedule-detail, .guide-notice-detail { 
    padding: 0 16px 16px; 
}
.guide-schedule-detail > p, .guide-notice-detail > p { 
    margin: 0 0 10px; 
    color: var(--guide-ink); 
    font-size: 13px; 
    line-height: 1.6; 
    overflow-wrap: anywhere; 
}
.guide-schedule-detail > p {
    margin-bottom: 12px;
    color: var(--guide-sub);
}
/* 팀원 상세와 같은 안쪽 박스. 라벨 폭을 고정하고 첫 줄 기준선을 맞춤 */
.guide-schedule-metas {
    padding: 0 16px;
    border-radius: 12px;
    background: var(--guide-card-inset);
}
.guide-schedule-meta {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: baseline;
    gap: 12px;
    padding: 13px 0;
    line-height: 1.45;
}
.guide-schedule-meta + .guide-schedule-meta {
    border-top: 1px solid var(--guide-card-inset-line);
}
.guide-schedule-meta b {
    color: var(--guide-brand);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -.02em;
}
.guide-schedule-meta > span {
    display: grid;
    min-width: 0;
    gap: 4px;
    color: var(--guide-ink);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -.02em;
    overflow-wrap: anywhere;
}
.guide-schedule-meal em {
    margin-right: 6px;
    color: var(--guide-muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
}
.guide-notice-badges { 
    justify-content: flex-start; 
}
.guide-notice-badges span { 
    padding: 3px 8px; 
    border-radius: 999px; 
    background: var(--guide-brand-soft); 
    color: var(--guide-brand-dark); 
    font-size: 10px; 
    font-weight: 700; 
}
.guide-notice-badges span.is-urgent { 
    background: var(--guide-warn-soft); 
    color: var(--guide-warn); 
}
.guide-notice-detail > p { 
    padding: 14px; 
    border-radius: 14px; 
    background: var(--guide-surface); 
}
.guide-notice-detail footer { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: space-between; 
    gap: 6px 10px; 
    margin-top: 12px; 
    color: var(--guide-muted); 
    font-size: 11px; 
}
.guide-notice-detail footer span:last-child { 
    font-weight: 700; 
}
.guide-notice-detail footer span.is-read { 
    color: var(--guide-success); 
}
.guide-empty { 
    margin: 8px 0 0; 
    padding: 28px 12px; 
    border-radius: var(--guide-radius); 
    background: var(--guide-card); 
    color: var(--guide-muted); 
    text-align: center; 
    font-size: 12px; 
}
.demo-guide-more-action { 
    display: flex; 
    width: 100%; 
    align-items: center; 
    justify-content: space-between; 
    gap: 12px; 
    padding: 18px 16px; 
    border: 0; 
    color: var(--guide-ink); 
    font: inherit; 
    text-align: left; 
    cursor: pointer; 
}
.demo-guide-more-action > span:first-child { 
    display: grid; 
    gap: 3px; 
}
.demo-guide-more-action b { 
    font-size: 15px; 
    font-weight: 700; 
    letter-spacing: -.02em; 
}
.demo-guide-more-action small { 
    color: var(--guide-muted); 
    font-size: 12px; 
}
.demo-guide-more-action > span:last-child { 
    color: var(--guide-muted); 
    font-size: 22px; 
    line-height: 1; 
}
/* ---- Home ---- */
.demo-guide-home-menu {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}
.demo-guide-home-menu button {
    display: grid;
    justify-items: center;
    gap: 3px;
    padding: 18px 8px 16px;
    border: 0;
    color: var(--guide-ink);
    font: inherit;
    cursor: pointer;
}
.demo-guide-home-icon {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 7px;
    place-items: center;
    border-radius: 50%;
    background: var(--guide-brand-soft);
    color: var(--guide-brand);
    font-size: 21px;
}
.demo-guide-home-menu b {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -.02em;
}
.demo-guide-home-menu small {
    color: var(--guide-muted);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
}
.demo-guide-home-section {
    margin-top: 28px;
}
.demo-guide-home-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 0 4px;
}
.demo-guide-home-section-heading h2 {
    margin: 0;
    color: var(--guide-ink);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -.03em;
}
.demo-guide-home-section-heading button {
    padding: 4px 0;
    border: 0;
    background: transparent;
    color: var(--guide-muted);
    font: inherit;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
}
.demo-guide-home-list {
    overflow: hidden;
}
.demo-guide-home-row {
    position: relative;
    display: grid;
    width: 100%;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 15px 16px;
    border: 0;
    background: transparent;
    color: var(--guide-ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.demo-guide-home-row + .demo-guide-home-row::before {
    content: "";
    position: absolute;
    top: 0;
    right: 16px;
    left: 16px;
    height: 1px;
    background: var(--guide-line);
}
.demo-guide-home-row b {
    padding: 3px 7px;
    border-radius: 999px;
    background: var(--guide-brand-soft);
    color: var(--guide-brand);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .02em;
}
.demo-guide-home-row b.is-urgent {
    background: var(--guide-warn-soft);
    color: var(--guide-warn);
}
.demo-guide-home-row span {
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -.03em;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.demo-guide-home-row small {
    color: var(--guide-muted);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}
.demo-guide-local-modal[hidden] { 
    display: none; 
}
.demo-guide-local-modal { 
    position: absolute; 
    z-index: 10; 
    inset: 0; 
    display: grid; 
    overflow: hidden; 
    place-items: center; 
    padding: 18px; 
}
.demo-guide-local-backdrop { 
    position: absolute; 
    inset: 0; 
    background: #14202c73; 
}
.demo-guide-local-dialog { 
    position: relative; 
    z-index: 1; 
    width: min(100%, 270px); 
    padding: 24px 20px 18px; 
    border-radius: 22px; 
    background: var(--guide-card); 
    box-shadow: 0 16px 40px #14202c33; 
    text-align: center; 
}
.demo-guide-local-icon { 
    display: grid; 
    width: 32px; 
    height: 32px; 
    place-items: center; 
    margin: 0 auto 10px; 
    border-radius: 50%; 
    background: var(--guide-brand-soft); 
    color: var(--guide-brand); 
    font-size: 15px; 
    font-weight: 800; 
}
.demo-guide-local-dialog h2 { 
    margin: 0; 
    color: var(--guide-ink); 
    font-size: 15px; 
}
.demo-guide-local-dialog p { 
    margin: 8px 0 16px; 
    color: var(--guide-muted); 
    font-size: 12px; 
    line-height: 1.55; 
}
.demo-guide-local-dialog button { 
    width: 100%; 
    padding: 12px 14px; 
    border: 0; 
    border-radius: 12px; 
    background: var(--guide-brand); 
    color: #fff; 
    font: inherit; 
    font-size: 13px; 
    font-weight: 700; 
    cursor: pointer; 
}
/* 탭 전환 애니메이션 중인 화면이 위로 솟은 가운데 로고를 덮지 않게 층을 올림 */
.demo-guide-tabbar {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    margin: 0 calc(var(--guide-screen-pad) * -1);
    background: var(--guide-surface);
}
.demo-guide-tabbar-bar { 
    display: grid; 
    grid-template-columns: repeat(5, minmax(0, 1fr)); 
    align-items: center; 
    padding: 12px 14px 22px; 
    border-radius: 32px 32px 0 0;
    background: var(--guide-brand-dark);
    box-shadow: 0 -6px 20px #1c2b3a1a;
}
.demo-guide-tabbar button { 
    display: grid; 
    align-content: center; 
    justify-items: center; 
    gap: 4px; 
    padding: 4px 0; 
    border: 0; 
    border-radius: 12px; 
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: -.01em;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.demo-guide-tabbar button.is-current {
    font-weight: 500;
}
.demo-guide-tabbar button:focus-visible {
    outline-color: #fff;
}
/* 가운데 로고 버튼은 원 안에 들어 있어 제외됨 */
.demo-guide-tabbar button > i, .demo-guide-tabbar button > i + span {
    opacity: .7;
    transition: opacity .2s ease;
}
.demo-guide-tabbar button.is-current > i, .demo-guide-tabbar button.is-current > i + span {
    opacity: 1;
}
/* 가운데 로고 버튼은 바 위로 솟아 있음. 원이 칸보다 넓으면 왼쪽부터 채워져 치우쳐서 좌우 음수 여백으로 칸 안에 맞춤 */
.demo-guide-tabbar-logo { 
    display: grid; 
    width: 76px; 
    height: 76px; 
    place-content: center; 
    justify-items: center; 
    margin: -28px -16px -12px;
    border: 5px solid var(--guide-brand-dark); 
    border-radius: 50%; 
    background: var(--guide-card); 
    color: var(--guide-brand); 
}
.demo-guide-tabbar-logo .guide-icon { 
    font-size: 38px; 
}
.demo-guide-tabbar-logo span { 
    color: var(--guide-brand-dark); 
    font-size: 12px; 
    font-weight: 600; 
    line-height: 1.2; 
}
.demo-guide-tabbar button > .guide-icon { 
    font-size: 23px; 
}
/* ---- Motion ---- */
.guide-member summary, .guide-schedule-day summary, .guide-notice summary, .demo-guide-home-menu button, .demo-guide-home-row {
    -webkit-tap-highlight-color: transparent;
}
@keyframes guide-page-in { 
    from { 
        opacity: 0; 
        transform: translateY(8px); 
    }
}
@keyframes guide-live-ripple {
    0% {
        transform: scale(1);
        opacity: .35;
    }
    100% {
        transform: scale(2.8);
        opacity: 0;
    }
}
@media (prefers-reduced-motion: no-preference) {
    .demo-guide-live i::before, .demo-guide-live i::after {
        animation: guide-live-ripple 3s cubic-bezier(.25, .6, .4, 1) infinite;
    }
    .demo-guide-live i::after {
        animation-delay: 1.5s;
    }
    .demo-guide-page:not([hidden]) { 
        animation: guide-page-in .32s cubic-bezier(.2, .8, .2, 1); 
    }
    .demo-guide-tabbar button, .demo-guide-more-action, .demo-guide-local-dialog button, .guide-schedule-day, .guide-notice { 
        transition: transform .18s ease; 
    }
    .demo-guide-tabbar button:active {
        transform: scale(.92);
    }
    /* 누를 때·바뀔 때만 레이어가 생겼다 사라지면 소수점 위치 글자가 1px씩 좌우로 튐. 레이어를 미리 고정해 둠 */
    .demo-guide-tabbar button {
        will-change: transform;
    }
    .demo-guide-tabbar button > i, .demo-guide-tabbar button > i + span {
        will-change: opacity;
    }
    .demo-guide-more-action:active, .demo-guide-local-dialog button:active, .guide-schedule-day:has(> summary:active), .guide-notice:has(> summary:active) { 
        transform: scale(.98); 
    }
    .demo-guide-home-menu button {
        transition: transform .18s ease;
    }
    .demo-guide-home-menu button:active {
        transform: scale(.96);
    }
    .guide-member summary, .demo-guide-home-row {
        transition: opacity .18s ease;
    }
    .guide-member summary:active, .demo-guide-home-row:active {
        opacity: .6;
    }
    .demo-guide-local-modal:not([hidden]) .demo-guide-local-backdrop { 
        animation: guide-fade-in .2s ease; 
    }
    .demo-guide-local-modal:not([hidden]) .demo-guide-local-dialog { 
        animation: guide-dialog-in .28s cubic-bezier(.2, .8, .2, 1); 
    }
}
@keyframes guide-fade-in { 
    from { 
        opacity: 0; 
    }
}
@keyframes guide-dialog-in { 
    from { 
        opacity: 0; 
        transform: scale(.94); 
    }
}
@media (max-width: 520px) {
    body.guide-mobile-body { 
        overflow: hidden; 
    }
    .guide-mobile-stage { 
        display: flex; 
        align-items: center; 
        justify-content: center; 
        height: 100vh; 
        height: 100dvh; 
        min-height: 0; 
        padding: 0; 
        overflow: hidden; 
    }
    .demo-guide-phone { 
        width: min(100%, calc(100vh * 388 / 800)); 
        width: min(100%, calc(100dvh * 388 / 800)); 
        flex: none; 
    }
}
