/* 订桌四页组件：仅作用于 f09 内的 reservation-demo。 */
#f09 .reservation-demo{--reservation-black:#050505;--reservation-surface:#171717;--reservation-border:#595959;--reservation-white:#fff;--reservation-muted:#a0a0a0;--reservation-ink:#11110f;margin:0 0 32px;min-width:0;font-family:var(--sans);}
#f09 .reservation-demo,#f09 .reservation-demo *{box-sizing:border-box;}
#f09 .reservation-demo .rv-intro{font-size:13px;line-height:1.85;color:var(--gray-6);margin:0 0 16px;white-space:pre-line;}
#f09 .reservation-demo .rv-stage{display:grid;grid-template-columns:minmax(0,48%) minmax(0,1fr);align-items:center;gap:24px;margin:0;padding:28px 0;border-bottom:1px solid var(--gray-2);min-width:0;}
#f09 .reservation-demo .rv-device{min-width:0;padding-right:12px;}
#f09 .reservation-demo .rv-watch-viewport{position:relative;width:100%;max-width:336px;aspect-ratio:1120 / 1992;container-type:inline-size;margin:0 auto;}
/* 原图1120×1992；屏幕孔洞为(210,574,704,884)，圆角158，原壳与表带像素保留。 */
#f09 .reservation-demo .rv-watch-viewport::after{content:'';position:absolute;inset:0;z-index:1;background:url('shared-watch-frame.png') center / 100% 100% no-repeat;pointer-events:none;}
#f09 .reservation-demo .rv-caption{min-width:0;overflow-wrap:anywhere;}
#f09 .reservation-demo .rv-caption h3{font-size:17px;line-height:1.5;margin:6px 0 14px;}
#f09 .reservation-demo .rv-caption p{font-size:13px;line-height:1.85;margin:0 0 14px;white-space:pre-line;}
#f09 .reservation-demo .rv-stage-index{font-size:10px;letter-spacing:.08em;color:var(--gray-5);}
#f09 .reservation-demo .rv-caption b{display:block;font-size:12px;line-height:1.5;margin-bottom:4px;}
#f09 .reservation-demo .rv-toast{position:absolute;left:50%;bottom:5cqw;transform:translateX(-50%);width:max-content;max-width:90%;padding:2cqw 3cqw;background:#111;color:#fff;font-size:3.86905cqw;line-height:1.6;overflow-wrap:anywhere;z-index:2;}
#f09 .reservation-demo .rv-toast[hidden]{display:none;}
#f09 .reservation-demo .rv-watch {
    position: absolute;
    left: 18.75%;
    top: 28.8152610442%;
    width: 62.8571428571%;
    height: 44.3775100402%;
    container-type: inline-size;
    overflow: hidden;
    border-radius: 22.4431818182% / 17.8733031674%;
    background: #000;
    color: white;
  }
/* 336×384逻辑界面按孔洞宽度等比缩放，垂直居中；多余高度留黑，不拉伸内容。 */
#f09 .reservation-demo .rv-screen {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 114.2857142857cqw;
    padding: 5.95238cqw 5.35714cqw 3.57143cqw;
    overflow: hidden;
    background: var(--reservation-black);
    display: grid;
    grid-template-rows: 9.52381cqw minmax(0, 1fr);
    gap: 2.38095cqw;
  }
#f09 .reservation-demo .rv-header {
    display: grid;
    grid-template-columns: 13.69048cqw 1fr 13.69048cqw;
    align-items: center;
    height: 9.52381cqw;
  }
#f09 .reservation-demo .rv-header.rv-simple { grid-template-columns: 13.69048cqw 1fr 13.69048cqw; }
#f09 .reservation-demo .rv-back {
    width: 13.69048cqw;
    height: 9.52381cqw;
    border: 0;
    padding: 0;
    background: transparent;
    color: white;
    font-size: 7.44048cqw;
    line-height: 1;
    cursor: pointer;
  }
#f09 .reservation-demo .rv-title {
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 4.16667cqw;
    line-height: 5.35714cqw;
    font-weight: 700;
  }
#f09 .reservation-demo .rv-time {
    text-align: right;
    font-size: 3.27381cqw;
    line-height: 4.16667cqw;
    font-weight: 600;
  }
#f09 .reservation-demo button { font-family: inherit; }
#f09 .reservation-demo .rv-reservation-list {
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: none;
    display: grid;
    align-content: start;
    gap: 2.97619cqw;
    padding-bottom: 2.97619cqw;
  }
#f09 .reservation-demo .rv-reservation-list::-webkit-scrollbar { display: none; }
#f09 .reservation-demo .rv-reservation-card {
    min-height: 32.14286cqw;
    border: 0.29762cqw solid var(--reservation-ink);
    border-radius: 0;
    padding: 2.97619cqw 3.57143cqw;
    background: white;
    color: var(--reservation-ink);
    display: grid;
    align-content: center;
    gap: 1.19048cqw;
    cursor: pointer;
  }
#f09 .reservation-demo .rv-reservation-card strong { font-size: 4.76190cqw; line-height: 5.95238cqw; }
#f09 .reservation-demo .rv-reservation-card b { font-size: 3.86905cqw; line-height: 5.05952cqw; }
#f09 .reservation-demo .rv-reservation-card span { font-size: 3.86905cqw; line-height: 5.05952cqw; font-weight: 600; }
#f09 .reservation-demo .rv-detail-content {
    min-height: 0;
    display: grid;
    align-content: start;
    gap: 4.76190cqw;
  }
#f09 .reservation-demo .rv-customer-card {
    height: 32.14286cqw;
    border: 0.29762cqw solid var(--reservation-ink);
    padding: 2.97619cqw 3.57143cqw;
    background: white;
    color: var(--reservation-ink);
    display: grid;
    align-content: center;
    gap: 1.19048cqw;
  }
#f09 .reservation-demo .rv-customer-card strong { font-size: 5.05952cqw; line-height: 6.25000cqw; }
#f09 .reservation-demo .rv-customer-card span { font-size: 3.86905cqw; line-height: 5.05952cqw; font-weight: 600; }
#f09 .reservation-demo .rv-action {
    height: 14.88095cqw;
    border-radius: 0;
    font-size: 3.86905cqw;
    line-height: 5.35714cqw;
    font-weight: 700;
    cursor: pointer;
  }
#f09 .reservation-demo .rv-action.rv-primary { border: 0; background: white; color: var(--reservation-ink); }
#f09 .reservation-demo .rv-action.rv-secondary { border: 0.59524cqw solid white; background: var(--reservation-black); color: white; }
#f09 .reservation-demo .rv-action.rv-danger { margin-top: 0.59524cqw; border: 0.59524cqw solid white; background: var(--reservation-black); color: white; }
#f09 .reservation-demo .rv-table-content {
    min-height: 0;
    display: grid;
    grid-template-rows: 9.52381cqw minmax(0, 1fr) 15.47619cqw;
    gap: 4.16667cqw;
  }
#f09 .reservation-demo .rv-current {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.38095cqw;
  }
#f09 .reservation-demo .rv-current span { color: var(--reservation-muted); font-size: 3.57143cqw; line-height: 4.76190cqw; }
#f09 .reservation-demo .rv-current strong { font-size: 5.35714cqw; line-height: 6.54762cqw; }
#f09 .reservation-demo .rv-table-scroll {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #777 transparent;
    padding: 0 0.89286cqw 3.57143cqw 0;
  }
#f09 .reservation-demo .rv-table-scroll::-webkit-scrollbar { width: 0.89286cqw; }
#f09 .reservation-demo .rv-table-scroll::-webkit-scrollbar-track { background: transparent; }
#f09 .reservation-demo .rv-table-scroll::-webkit-scrollbar-thumb { background: #777; }
#f09 .reservation-demo .rv-table-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.97619cqw 4.16667cqw;
  }
#f09 .reservation-demo .rv-table-card {
    height: 20.23810cqw;
    border: 0.29762cqw solid var(--reservation-border);
    border-radius: 0;
    background: var(--reservation-surface);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.48810cqw;
    cursor: pointer;
  }
#f09 .reservation-demo .rv-table-card.rv-selected { border-color: white; background: white; color: var(--reservation-ink); }
#f09 .reservation-demo .rv-table-number { font-size: 5.35714cqw; line-height: 6.54762cqw; font-weight: 700; }
#f09 .reservation-demo .rv-table-meta { color: var(--reservation-muted); font-size: 3.27381cqw; line-height: 4.46429cqw; font-weight: 500; }
#f09 .reservation-demo .rv-table-card.rv-selected .rv-table-meta { color: #555; }
#f09 .reservation-demo .rv-confirm {
    height: 15.47619cqw;
    border: 0;
    border-radius: 0;
    background: white;
    color: var(--reservation-ink);
    font-size: 3.86905cqw;
    line-height: 5.35714cqw;
    font-weight: 700;
    cursor: pointer;
  }
#f09 .reservation-demo .rv-success-content {
    min-height: 0;
    padding: 8.33333cqw 0 6.54762cqw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }
#f09 .reservation-demo .rv-success-state {
    width: 100%;
    height: 37.50000cqw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.97619cqw;
  }
#f09 .reservation-demo .rv-success-icon {
    width: 8.33333cqw;
    height: 8.33333cqw;
    background: white;
    color: var(--reservation-ink);
    display: grid;
    place-items: center;
    font-size: 5.35714cqw;
    font-weight: 800;
  }
#f09 .reservation-demo .rv-success-state strong { font-size: 6.54762cqw; line-height: 8.33333cqw; }
#f09 .reservation-demo .rv-success-state span { color: var(--reservation-muted); font-size: 3.86905cqw; line-height: 5.35714cqw; }
#f09 .reservation-demo .rv-success-actions {
    width: 100%;
    display: grid;
    justify-items: center;
    gap: 2.97619cqw;
  }
#f09 .reservation-demo .rv-countdown { color: var(--reservation-muted); font-size: 3.57143cqw; line-height: 4.76190cqw; }
#f09 .reservation-demo .rv-return {
    width: 100%;
    height: 15.47619cqw;
    border: 0;
    border-radius: 0;
    background: white;
    color: var(--reservation-ink);
    font-size: 3.86905cqw;
    line-height: 5.35714cqw;
    font-weight: 700;
    cursor: pointer;
  }


#f09 .reservation-demo .rv-watch strong{color:inherit;}
#f09 .reservation-demo .rv-watch button{font-family:inherit;letter-spacing:normal;text-align:center;-webkit-appearance:none;appearance:none;}
#f09 .reservation-demo .rv-watch .rv-reservation-card{text-align:left;flex-shrink:0;}
#f09 .reservation-demo .rv-watch .rv-detail-content{gap:4.16667cqw;}
#f09 .reservation-demo .rv-watch .rv-reservation-list{overscroll-behavior:contain;}
#f09 .reservation-demo .rv-watch button:focus-visible{outline:2px solid #999;outline-offset:-3px;}
#f09 .reservation-demo .rv-watch .rv-screen{line-height:normal;overflow-wrap:normal;}
@media(max-width:560px){
 #f09 .reservation-demo .rv-stage{grid-template-columns:minmax(0,48%) minmax(0,1fr);gap:12px;padding:20px 0;}
 #f09 .reservation-demo .rv-device{padding-right:6px;}
 #f09 .reservation-demo .rv-caption h3{font-size:15px;}
 #f09 .reservation-demo .rv-caption p{font-size:12px;line-height:1.75;}
}
@media(max-width:380px){
 #f09 .reservation-demo .rv-stage{gap:8px;}
 #f09 .reservation-demo .rv-caption h3{font-size:13px;}
 #f09 .reservation-demo .rv-caption p{font-size:11px;}
}
