:root{
  --bg:#4c3e57;
  --bg-deep:#2f213b;
  --panel:#3b2b44;
  --panel-2:#5a405f;
  --pink:#fe85a4;
  --pink-soft:#f0c8ff;
  --ink:#fff0e8;
  --line:rgba(240,200,255,.22);
  --row:#5a405f;
  --row-dark:#3b2b44;
}
*{box-sizing:border-box}
html{background:var(--bg);scroll-behavior:smooth}
body{margin:0;min-height:100vh;background:var(--bg);color:var(--ink);font-family:"Trebuchet MS","Arial Rounded MT Bold",Arial,sans-serif}
a{color:inherit}
.schedule-page{min-height:100vh;background:#4C3E57}
.schedule-nav{position:sticky;top:0;z-index:20;background:rgba(47,33,59,.92);border-bottom:1px solid rgba(240,200,255,.16);backdrop-filter:blur(12px)}
.schedule-nav-inner{width:min(94vw,1180px);margin:0 auto;min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand-cluster{display:flex;align-items:center;gap:10px;min-width:0}
.schedule-brand-text{font-weight:900;color:#f3d8fb;white-space:nowrap}
.home-icon{width:42px;height:42px;flex:0 0 42px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(240,200,255,.24);border-radius:50%;background:rgba(47,33,59,.72);color:var(--pink);text-decoration:none;transition:transform .15s ease,background .15s ease}
.home-icon:hover{transform:translateY(-1px);background:rgba(47,33,59,.9)}
.home-icon svg{width:22px;height:22px;display:block}
.schedule-wrap{width:min(94vw,1050px);margin:0 auto;padding:44px 0 72px}
.schedule-board{border:1px solid rgba(240,200,255,.24);border-radius:30px;overflow:hidden;background:rgba(47,33,59,.55);box-shadow:0 24px 60px rgba(15,8,22,.25)}
.schedule-hero{position:relative;padding:52px 48px 36px;text-align:center;background-color:#5a405f;background-image:none;background-size:cover;background-position:center;background-repeat:no-repeat;user-select:none}
.schedule-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(47,33,59,.16),rgba(47,33,59,.34));pointer-events:none}
.schedule-hero.has-banner::after{background:linear-gradient(180deg,rgba(25,15,32,.16),rgba(25,15,32,.36))}
.schedule-hero>*{position:relative;z-index:1}
.schedule-kicker{margin:0 0 2px;font-family:Georgia,"Times New Roman",serif;font-style:italic;font-size:clamp(20px,3vw,34px);font-weight:400;color:#fff7fb;text-shadow:0 2px 12px rgba(47,33,59,.38)}
.schedule-title{margin:0;font-family:Georgia,"Times New Roman",serif;font-style:italic;font-size:clamp(44px,7vw,78px);line-height:1;color:#fff7fb;text-shadow:0 3px 16px rgba(47,33,59,.42)}
.schedule-week{margin:18px auto 0;width:max-content;max-width:100%;padding:8px 15px;border-radius:999px;background:rgba(47,33,59,.78);border:1px solid rgba(255,255,255,.18);font-size:14px;font-weight:900;letter-spacing:.04em;color:#ffe8f2}
.schedule-content{padding:30px 26px 34px;background:linear-gradient(180deg,rgba(76,62,87,.82),rgba(47,33,59,.92))}
.schedule-list{display:grid;gap:14px;padding:18px;border-radius:26px;background-color:var(--schedule-pattern,#6A516D);background-image:linear-gradient(90deg,rgba(47,33,59,.42) 2px,transparent 2px),linear-gradient(rgba(47,33,59,.42) 2px,transparent 2px),linear-gradient(90deg,rgba(240,200,255,.13) 1px,transparent 1px),linear-gradient(rgba(240,200,255,.13) 1px,transparent 1px);background-size:34px 34px,34px 34px,9px 9px,9px 9px;background-position:-1px -1px;box-shadow:inset 0 0 0 1px rgba(240,200,255,.10)}
.schedule-day{display:grid;grid-template-columns:130px 124px minmax(0,1fr) 124px 130px;align-items:center;gap:16px;min-height:74px;padding:13px 22px;border:2px solid rgba(47,33,59,.9);border-radius:999px;background:var(--schedule-row,#9F174F);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 8px 18px rgba(22,9,20,.15)}
.schedule-day.is-offline{background:var(--schedule-row-dark,#650A3D)}
.schedule-day.is-today{outline:3px solid rgba(254,133,164,.56);outline-offset:3px}
.schedule-day-name{display:flex;align-items:center;gap:10px;font-weight:900;font-size:18px;white-space:nowrap}
.schedule-activity{min-width:0;text-align:center;font-size:18px;font-weight:900;letter-spacing:.01em;color:#fff6fb;overflow-wrap:anywhere}
.schedule-time{text-align:right;font-size:17px;font-weight:900;color:#fff1f7;white-space:nowrap}
.schedule-time small{display:block;margin-top:3px;font-size:10px;letter-spacing:.07em;text-transform:uppercase;color:#f7bad0}
.schedule-zone-panel{margin-top:26px;padding:18px;border-radius:20px;border:1px solid rgba(240,200,255,.18);background:rgba(47,33,59,.54)}
.schedule-zone-title{margin:0 0 12px;text-align:center;font-size:13px;font-weight:900;color:#f7d8ff;text-transform:uppercase;letter-spacing:.08em}
.schedule-zones{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.schedule-zone{display:inline-flex;align-items:center;gap:10px;border:1px solid rgba(240,200,255,.22);background:#3b2b44;color:#f8e9ff;border-radius:999px;padding:8px 14px 8px 10px;font:inherit;font-size:13px;font-weight:900;cursor:pointer;transition:.15s ease;white-space:nowrap}
.schedule-zone:hover{transform:translateY(-1px);border-color:rgba(254,133,164,.6)}
.schedule-zone.active{background:var(--pink);color:#2f213b;border-color:var(--pink);box-shadow:0 0 0 3px rgba(254,133,164,.16)}
.schedule-zone-badge{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border-radius:50%;background:rgba(255,255,255,.10);box-shadow:inset 0 0 0 1px rgba(255,255,255,.14);font-size:21px;line-height:1;overflow:hidden}
.schedule-zone-badge.has-image{padding:0;background:transparent;box-shadow:none}
.schedule-zone-badge.has-image img{width:100%;height:100%;display:block;object-fit:contain}
.schedule-zone.active .schedule-zone-badge{background:rgba(47,33,59,.12);box-shadow:inset 0 0 0 1px rgba(47,33,59,.10)}
.schedule-zone.active .schedule-zone-badge.has-image{background:transparent;box-shadow:none}
.schedule-zone-label{display:inline-block;font-weight:900;font-size:13px;line-height:1.1}
.schedule-note{margin:18px 0 0;text-align:center;color:#d9bddf;font-size:12px;line-height:1.6}
.schedule-error{padding:28px;border:1px solid rgba(254,133,164,.45);border-radius:20px;background:rgba(254,133,164,.08);text-align:center;color:#ffd8e4;font-weight:800}
.schedule-loading{padding:34px;text-align:center;color:#f0c8ff;font-weight:900}
.schedule-footer{text-align:center;padding:26px 0 0;color:#d7bddf;font-size:12px}
@media(max-width:720px){
  .schedule-wrap{padding-top:24px}
  .schedule-board{border-radius:22px}
  .schedule-hero{padding:38px 24px 28px}
  .schedule-content{padding:22px 14px 28px}
  .schedule-day{grid-template-columns:auto 1fr auto;grid-template-areas:"day time time" "left activity right";border-radius:24px;gap:10px 12px;padding:14px 16px}
  .schedule-day-name{grid-area:day;font-size:16px}
  .schedule-activity{grid-area:activity;text-align:center;font-size:16px;padding-left:0}
  .schedule-time{grid-area:time;font-size:15px}
  .schedule-row-icon.left{grid-area:left}
  .schedule-row-icon.right{grid-area:right}
}
@media(max-width:440px){
  .schedule-nav-inner{min-height:58px}
  .schedule-brand{font-size:14px}
  .home-icon{width:38px;height:38px;flex-basis:38px}
  .home-icon svg{width:20px;height:20px}
  .schedule-wrap{width:min(96vw,1050px)}
  .schedule-zones{justify-content:stretch}
  .schedule-zone{flex:0 0 auto}
}

.schedule-row-icon{width:118px;height:44px;display:flex;align-items:center;justify-content:center;overflow:hidden;justify-self:center;background:transparent;border:none;border-radius:0;padding:0}
.schedule-row-icon img{width:100%;height:100%;object-fit:contain;display:block}
.schedule-row-icon.is-empty{background:transparent;border-color:transparent;opacity:0}

@media(max-width:700px){.schedule-row-icon{width:88px;height:34px}}

/* Single-route Schedule: same purple family as the rest of ilurux.com. */
.schedule-content{background:linear-gradient(180deg,rgba(76,62,87,.92),rgba(47,33,59,.96))}
.schedule-zone-panel{background:rgba(47,33,59,.58)}

@media(max-width:720px){.schedule-list{padding:12px;border-radius:22px}}

.schedule-page img{-webkit-user-drag:none;user-drag:none;user-select:none;-webkit-user-select:none}


/* FINAL MOBILE POLISH — Schedule */
@media (max-width: 600px){
  html,body,.schedule-page{overflow-x:hidden}
  .schedule-nav-inner{width:94vw;min-height:58px}
  .brand-cluster{min-width:0}
  .schedule-brand-text{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .schedule-wrap{width:100%;padding:18px 10px 44px}
  .schedule-board{border-radius:18px}
  .schedule-hero{padding:30px 16px 24px;min-height:190px;display:flex;flex-direction:column;justify-content:center}
  .schedule-kicker{font-size:22px}
  .schedule-title{font-size:clamp(46px,16vw,66px)}
  .schedule-week{margin-top:14px;font-size:11px;padding:7px 11px}
  .schedule-content{padding:14px 10px 20px}
  .schedule-list{gap:9px;padding:9px;border-radius:18px;background-size:28px 28px,28px 28px,8px 8px,8px 8px}
  .schedule-day{grid-template-columns:46px minmax(0,1fr) 46px;grid-template-areas:"day day time" "left activity right";gap:8px 9px;min-height:94px;padding:12px 12px;border-radius:22px}
  .schedule-day-name{grid-area:day;font-size:15px;align-self:center}
  .schedule-time{grid-area:time;font-size:14px;line-height:1.1}
  .schedule-time small{font-size:8px;margin-top:2px}
  .schedule-activity{grid-area:activity;font-size:14px;line-height:1.25;text-align:center;padding:0 2px;overflow-wrap:anywhere}
  .schedule-row-icon{width:44px;height:30px}
  .schedule-row-icon.left{grid-area:left}
  .schedule-row-icon.right{grid-area:right}
  .schedule-zone-panel{margin-top:14px;padding:14px 10px;border-radius:16px}
  .schedule-zone-title{font-size:11px}
  .schedule-zones{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .schedule-zone{width:100%;min-width:0;justify-content:flex-start;padding:6px 9px 6px 7px;gap:7px;font-size:11px}
  .schedule-zone-badge{width:30px;height:30px;flex-basis:30px}
  .schedule-zone-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
  .schedule-note{font-size:10px;margin-top:12px}
  .schedule-footer{padding-top:18px;font-size:10px}
}

@media (max-width: 360px){
  .schedule-day{grid-template-columns:40px minmax(0,1fr) 40px;padding:11px 9px}
  .schedule-row-icon{width:38px;height:27px}
  .schedule-activity{font-size:13px}
  .schedule-zones{grid-template-columns:1fr 1fr}
}
