:root{
  --meb-font-display:'Yu Mincho','YuMincho','Hiragino Mincho ProN',serif;
  --meb-font-body:'Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif;
  --meb-text:#f5efe6;
  --meb-muted:#cdbfae;
  --meb-accent:#c4a35a;
  --meb-surface:#111111;
  --meb-panel:#181818;
  --meb-border:#2a241d;
  --meb-tab-align:center;
  --meb-nav-align:space-between;
  --meb-tab-bg:#ededed;
  --meb-tab-text:#7e7e7e;
  --meb-tab-active-bg:#1f1f20;
  --meb-tab-active-text:#f7f2ea;
  --meb-nav-bg:#171717;
  --meb-nav-text:#f5efe6;
  --meb-nav-hover-bg:#c4a35a;
  --meb-nav-hover-text:#111111;
}

.meb-surface,
.meb-profile-shell,
.meb-booking-form{
  background:
    radial-gradient(circle at top right, rgba(196,163,90,.12), transparent 28%),
    linear-gradient(180deg, rgba(20,20,20,.98), rgba(14,14,14,.98));
  border:1px solid var(--meb-border);
  border-radius:28px;
  color:var(--meb-text);
  padding:28px;
  box-shadow:0 16px 48px rgba(0,0,0,.24);
}

.meb-section-head{
  margin-bottom:22px;
}

.meb-section-title{
  margin:0;
  color:var(--meb-text);
  font:400 clamp(28px,4vw,42px)/1.2 var(--meb-font-display);
  letter-spacing:.08em;
}

.meb-profile-shell{
  display:grid;
  gap:28px;
}

.meb-profile-hero{
  display:grid;
  grid-template-columns:minmax(300px,420px) 1fr;
  gap:28px;
  align-items:start;
}

.meb-profile-gallery{
  display:grid;
  gap:14px;
}

.meb-profile-photo{
  position:relative;
  border-radius:24px;
  overflow:hidden;
  aspect-ratio:3/4;
  background:#222;
  border:1px solid var(--meb-border);
}

.meb-profile-photo img,
.meb-sub-photo-button img,
.meb-cast-card-image img,
.meb-shift-card-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.meb-sub-photos{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}

.meb-sub-photo-button{
  padding:0;
  border:1px solid var(--meb-border);
  border-radius:14px;
  overflow:hidden;
  background:#1a1a1a;
  aspect-ratio:1;
  cursor:pointer;
  transition:transform .2s ease, border-color .2s ease;
}

.meb-sub-photo-button.is-active,
.meb-sub-photo-button:hover{
  border-color:var(--meb-accent);
  transform:translateY(-2px);
}

.meb-profile-main{
  display:grid;
  gap:18px;
}

.meb-profile-name{
  margin:0;
  color:var(--meb-text);
  font:400 clamp(32px,5vw,48px)/1.1 var(--meb-font-display);
  letter-spacing:.08em;
}

.meb-profile-copy{
  color:var(--meb-text);
  line-height:1.9;
}

.meb-spec-grid,
.meb-detail-grid{
  display:grid;
  gap:0;
  border-top:1px solid rgba(196,163,90,.25);
}

.meb-spec-row,
.meb-detail-row{
  display:grid;
  grid-template-columns:170px 1fr;
  gap:18px;
  padding:14px 0;
  border-bottom:1px solid rgba(196,163,90,.16);
}

.meb-spec-label,
.meb-detail-label{
  color:var(--meb-accent);
  font:700 13px/1.7 var(--meb-font-body);
  letter-spacing:.14em;
}

.meb-spec-value,
.meb-detail-value{
  color:var(--meb-text);
  line-height:1.8;
}

.meb-profile-card{
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border:1px solid rgba(196,163,90,.18);
  border-radius:22px;
  padding:22px;
}

.meb-profile-card-title{
  margin:0 0 14px;
  color:var(--meb-text);
  font:400 clamp(24px,3vw,32px)/1.3 var(--meb-font-display);
  letter-spacing:.08em;
}

.meb-social-links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.meb-social-links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:110px;
  padding:11px 16px;
  color:#151515;
  text-decoration:none;
  background:linear-gradient(135deg, #e6c887, #b88c3a);
  border-radius:999px;
  font:700 13px/1 var(--meb-font-body);
}

.meb-cast-list,
.meb-schedule-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:22px;
}

.meb-cast-card,
.meb-shift-card{
  background:var(--meb-panel);
  border:1px solid var(--meb-border);
  border-radius:24px;
  overflow:hidden;
}

.meb-cast-card a{
  color:inherit;
  text-decoration:none;
  display:block;
}

.meb-cast-card-image,
.meb-shift-card-image{
  position:relative;
  aspect-ratio:3/4;
  background:#222;
}

.meb-cast-card-body,
.meb-shift-card-body{
  padding:18px;
}

.meb-cast-card-name,
.meb-shift-card-name{
  margin:0 0 8px;
  color:var(--meb-text);
  font:400 24px/1.3 var(--meb-font-display);
}

.meb-cast-card-meta,
.meb-shift-card-meta,
.meb-cast-card-sub{
  color:var(--meb-muted);
  line-height:1.8;
}

.meb-weekly-schedule{
  display:grid;
  gap:22px;
}

.meb-week-tabs{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:var(--meb-tab-align);
}

.meb-week-tab{
  border:0;
  background:var(--meb-tab-bg);
  color:var(--meb-tab-text);
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  box-shadow:0 10px 24px rgba(0,0,0,.08);
}

.meb-week-tab:hover{
  transform:translateY(-2px);
}

.meb-week-tab.is-active{
  background:var(--meb-tab-active-bg);
  color:var(--meb-tab-active-text);
  box-shadow:0 18px 36px rgba(0,0,0,.26);
}

.meb-week-tab-main,
.meb-week-tab-sub{
  display:block;
  text-align:center;
}

.meb-week-tab-main{
  font:700 29px/1 var(--meb-font-display);
  letter-spacing:.04em;
}

.meb-week-tab-sub{
  font:700 13px/1.15 var(--meb-font-body);
  letter-spacing:.18em;
}

.meb-week-tab--circle,
.meb-weekly-schedule--circle .meb-week-tab{
  width:92px;
  min-width:92px;
  height:92px;
  padding:0;
  border-radius:999px;
  flex-direction:column;
}

.meb-week-tab--square,
.meb-weekly-schedule--square .meb-week-tab{
  min-width:98px;
  height:92px;
  padding:0 10px;
  border-radius:22px;
  flex-direction:column;
}

.meb-week-tab--pill,
.meb-weekly-schedule--pill .meb-week-tab{
  min-width:122px;
  padding:14px 18px;
  border-radius:999px;
  flex-direction:column;
}

.meb-weekly-schedule--pill .meb-week-tab-main{
  font-size:22px;
}

.meb-weekly-schedule--pill .meb-week-tab-sub{
  font-size:12px;
}

.meb-week-panels{
  display:grid;
}

.meb-week-panel{
  display:none;
}

.meb-week-panel.is-active{
  display:block;
}

.meb-panel-title{
  margin:0 0 14px;
  color:var(--meb-text);
  font:400 clamp(22px,2.7vw,30px)/1.3 var(--meb-font-display);
  letter-spacing:.08em;
}

.meb-week-nav{
  display:flex;
  gap:12px;
  justify-content:var(--meb-nav-align);
}

.meb-week-shift{
  border:0;
  background:var(--meb-nav-bg);
  color:var(--meb-nav-text);
  padding:12px 18px;
  border-radius:999px;
  cursor:pointer;
  font:700 13px/1 var(--meb-font-body);
  letter-spacing:.12em;
  transition:background .18s ease, color .18s ease, transform .18s ease;
}

.meb-week-shift:hover{
  background:var(--meb-nav-hover-bg);
  color:var(--meb-nav-hover-text);
  transform:translateY(-2px);
}

.meb-booking-form{
  display:grid;
  gap:16px;
}

.meb-booking-form label{
  display:block;
  margin-bottom:8px;
  color:var(--meb-accent);
  font:700 13px/1.6 var(--meb-font-body);
  letter-spacing:.12em;
}

.meb-booking-form input,
.meb-booking-form select,
.meb-booking-form textarea{
  width:100%;
  padding:13px 14px;
  border-radius:14px;
  border:1px solid var(--meb-border);
  background:#141414;
  color:var(--meb-text);
}

.meb-booking-form button[type="submit"]{
  border:0;
  border-radius:999px;
  padding:14px 22px;
  background:linear-gradient(135deg, #e6c887, #b88c3a);
  color:#151515;
  cursor:pointer;
  font:700 14px/1 var(--meb-font-body);
}

.meb-payment-methods,
.meb-booking-summary,
.meb-option-item{
  border:1px solid rgba(196,163,90,.18);
  border-radius:18px;
  background:#151515;
  padding:16px 18px;
}

.meb-payment-methods label{
  display:flex;
  gap:8px;
  align-items:center;
  color:var(--meb-text);
  margin:6px 0;
}

.meb-payment-note,
.meb-option-item small{
  color:var(--meb-muted);
}

.meb-option-list{
  display:grid;
  gap:12px;
}

.meb-empty{
  margin:0;
  color:var(--meb-muted);
  line-height:1.8;
}

.meb-room-filter{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.meb-room-filter-button{
  border:1px solid rgba(196,163,90,.34);
  background:rgba(255,255,255,.04);
  color:var(--meb-text);
  border-radius:999px;
  padding:10px 16px;
  cursor:pointer;
  font:700 12px/1 var(--meb-font-body);
  letter-spacing:.12em;
  transition:background .2s ease, color .2s ease, transform .2s ease;
}

.meb-room-filter-button:hover,
.meb-room-filter-button.is-active{
  background:var(--meb-accent);
  color:#151515;
  transform:translateY(-1px);
}

.meb-cast-list-shell{
  display:grid;
  gap:18px;
}

.meb-cast-card-name a,
.meb-shift-card-name a{
  color:inherit;
  text-decoration:none;
}

.meb-cast-card-meta,
.meb-shift-card-meta{
  color:var(--meb-text);
  opacity:.88;
}

.meb-tag-list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}

.meb-tag-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:6px 12px;
  border:1px solid rgba(196,163,90,.75);
  border-radius:10px;
  color:#c8942f;
  background:rgba(255,255,255,.03);
  font:700 12px/1.2 var(--meb-font-body);
  letter-spacing:.04em;
}

.meb-cast-card-schedule,
.meb-shift-card-schedule{
  margin-top:16px;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(196,163,90,.2);
  background:rgba(255,255,255,.02);
}

.meb-cast-card-room,
.meb-shift-card-room{
  padding:14px 16px 6px;
  color:var(--meb-text);
  text-align:center;
  font:400 15px/1.5 var(--meb-font-display);
  letter-spacing:.06em;
}

.meb-cast-card-time,
.meb-shift-card-time{
  padding:0 16px 14px;
  color:#f4efe8;
  text-align:center;
  font:700 19px/1.3 var(--meb-font-body);
}

.meb-shift-card-sub{
  margin-top:12px;
  color:var(--meb-muted);
  line-height:1.8;
}

.meb-status-bar{
  margin-top:14px;
  padding:14px 16px;
  border-radius:16px;
  text-align:center;
  font:400 clamp(20px,2.5vw,30px)/1.2 var(--meb-font-display);
  letter-spacing:.04em;
  border:1px solid transparent;
}

.meb-status-bar--full{
  color:#f3ece3;
  background:linear-gradient(180deg, #4e413d, #3b312e);
  border-color:#6e5a4d;
}

.meb-status-bar--next{
  color:#fff7f8;
  background:linear-gradient(180deg, #b0122f, #8f0d26);
  border-color:#dd6985;
}

.meb-status-bar--now{
  color:#111;
  background:linear-gradient(180deg, #d8c38b, #c09a49);
  border-color:#f1ddab;
}

.meb-profile-main .meb-tag-list{
  margin-top:0;
}

.meb-profile-copy p:first-child{
  margin-top:0;
}

@media (max-width: 900px){
  .meb-profile-hero{
    grid-template-columns:1fr;
  }

  .meb-cast-list,
  .meb-schedule-cards{
    grid-template-columns:1fr;
  }
}

.meb-profile-shell > .meb-section-head{
  text-align:center;
}

.meb-profile-shell > .meb-section-head .meb-section-title{
  display:inline-block;
  min-width:min(100%, 320px);
}

.meb-profile-gallery{
  position:relative;
}

.meb-sub-photos{
  grid-template-columns:repeat(4, minmax(0, 1fr));
}

.meb-gallery-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:46px;
  height:46px;
  border:0;
  border-radius:999px;
  background:rgba(0,0,0,.45);
  color:#fff;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:2;
  transition:background .2s ease, transform .2s ease;
}

.meb-gallery-arrow:hover{
  background:rgba(196,163,90,.88);
  color:#111;
  transform:translateY(-50%) scale(1.04);
}

.meb-gallery-arrow--prev{
  left:14px;
}

.meb-gallery-arrow--next{
  right:14px;
}

.meb-gallery-arrow span{
  font-size:24px;
  line-height:1;
}

.meb-profile-main{
  align-content:start;
}

.meb-spec-row.is-size .meb-spec-value{
  white-space:nowrap;
}

.meb-tag-list--profile{
  margin-top:18px;
}

.meb-social-icons{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:14px;
}

.meb-social-icon{
  width:46px;
  height:46px;
  border-radius:999px;
  border:1px solid rgba(196,163,90,.45);
  color:var(--meb-accent);
  background:rgba(255,255,255,.02);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  transition:transform .2s ease, background .2s ease, color .2s ease;
}

.meb-social-icon:hover{
  transform:translateY(-2px);
  background:var(--meb-accent);
  color:#111;
}

.meb-social-icon svg{
  width:20px;
  height:20px;
  display:block;
}

.meb-breadcrumb-current{
  color:inherit;
}

@media (max-width: 640px){
  .meb-sub-photos{
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:8px;
  }

  .meb-gallery-arrow{
    width:40px;
    height:40px;
  }

  .meb-spec-row,
  .meb-detail-row{
    grid-template-columns:1fr;
    gap:6px;
  }

  .meb-spec-row.is-size .meb-spec-value{
    white-space:normal;
  }
}

.meb-option-item{
  display:flex;
  gap:10px;
  align-items:flex-start;
}

.meb-option-item input{
  width:auto;
  margin-top:3px;
}

.meb-option-item span{
  color:var(--meb-text);
  font-weight:700;
}

.meb-rank-badge{
  position:absolute;
  z-index:2;
  width:92px;
  height:92px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.meb-rank-badge img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
}

.meb-rank-badge-text{
  position:relative;
  z-index:1;
  font-weight:700;
  line-height:1.1;
  text-align:center;
}

.meb-rank-badge-top-left{top:10px;left:10px}
.meb-rank-badge-top-right{top:10px;right:10px}
.meb-rank-badge-bottom-left{bottom:10px;left:10px}
.meb-rank-badge-bottom-right{bottom:10px;right:10px}

.meb-empty{
  padding:18px;
  border-radius:18px;
  background:#161616;
  color:var(--meb-muted);
}

.is-error{
  color:#f3a4a4;
}

@media (max-width: 900px){
  .meb-profile-hero{
    grid-template-columns:1fr;
  }
}

@media (max-width: 640px){
  .meb-sub-photos,
  .meb-cast-list,
  .meb-schedule-cards{
    grid-template-columns:1fr;
  }

  .meb-spec-row,
  .meb-detail-row{
    grid-template-columns:1fr;
    gap:8px;
  }

  .meb-week-tabs{
    gap:10px;
  }

  .meb-week-tab--circle,
  .meb-weekly-schedule--circle .meb-week-tab,
  .meb-week-tab--square,
  .meb-weekly-schedule--square .meb-week-tab{
    width:84px;
    min-width:84px;
    height:84px;
  }

  .meb-week-tab-main{
    font-size:24px;
  }

  .meb-week-tab-sub{
    font-size:11px;
    letter-spacing:.14em;
  }
}

.meb-breadcrumb-current{
  color:inherit;
}

.meb-breadcrumb-current::before{
  content:'›';
  display:inline-block;
  margin:0 .6em 0 .4em;
  color:rgba(245,239,230,.6);
}

.meb-profile-main .meb-spec-grid{
  margin-top:4px;
}

.meb-spec-row.is-size .meb-spec-value{
  font-variant-numeric:tabular-nums;
}

.meb-profile-main .meb-tag-list--profile{
  margin-bottom:0;
}

.meb-profile-main .meb-social-icons{
  margin-top:2px;
}
