/* דף הטיול — עיצוב. טוקנים בראש הקובץ; מצב כהה אוטומטי לפי המכשיר. */
@font-face{font-family:"Heebo";font-weight:400;font-display:swap;src:url(fonts/heebo-hebrew-400.woff2) format("woff2");unicode-range:U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:"Heebo";font-weight:500;font-display:swap;src:url(fonts/heebo-hebrew-500.woff2) format("woff2");unicode-range:U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:"Heebo";font-weight:700;font-display:swap;src:url(fonts/heebo-hebrew-700.woff2) format("woff2");unicode-range:U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:"Heebo";font-weight:400;font-display:swap;src:url(fonts/heebo-latin-400.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Heebo";font-weight:500;font-display:swap;src:url(fonts/heebo-latin-500.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Heebo";font-weight:700;font-display:swap;src:url(fonts/heebo-latin-700.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Secular One";font-weight:400;font-display:swap;src:url(fonts/secular-one-hebrew-400.woff2) format("woff2");unicode-range:U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:"Secular One";font-weight:400;font-display:swap;src:url(fonts/secular-one-latin-400.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{
  --bg:#EAF0F4; --surface:#FFFFFF; --ink:#0F1D29; --muted:#566878; --line:#D3DDE4; --tint:#DDE8F0;
  --bar:#123A55; --bar-ink:#FFFFFF;
  --accent:#D63B2A; --accent-ink:#FFFFFF; --glacier:#1D5F8A; --ok:#1F8A5B; --warn:#B86E00; --bad:#C62828;
  --display:"Secular One","Heebo",system-ui,sans-serif; --body:"Heebo",system-ui,-apple-system,"Segoe UI",sans-serif;
  color-scheme:light;
}
@media (prefers-color-scheme: dark){:root{
  --bg:#0A1218; --surface:#121E28; --ink:#E6EDF2; --muted:#8FA2B1; --line:#22333F; --tint:#1A2A36;
  --bar:#0D1A24; --accent:#FF6B58; --accent-ink:#1A0A07; --glacier:#6DB3DC; --ok:#3FBF88; --warn:#E6A23C; --bad:#FF7A7A; color-scheme:dark}}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%}
body{background:var(--bg);color:var(--ink);font-family:var(--body);font-size:15px;line-height:1.45;-webkit-tap-highlight-color:transparent;overscroll-behavior:none;-webkit-text-size-adjust:100%}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:2px solid var(--glacier);outline-offset:2px}
.app{max-width:520px;margin:0 auto;min-height:100vh;min-height:100dvh;background:var(--bg)}
.top{position:sticky;top:0;z-index:5;background:var(--bar);color:var(--bar-ink);padding:calc(env(safe-area-inset-top,0px) + 10px) 16px 10px;display:flex;align-items:center;gap:10px;min-height:calc(env(safe-area-inset-top,0px) + 58px)}
.top h1{font-family:var(--display);font-weight:400;font-size:22px;margin:0;line-height:1.1;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.top small{opacity:.8;font-size:12px;white-space:nowrap}
.sync{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;opacity:.9;white-space:nowrap}
.sync i{width:8px;height:8px;border-radius:50%;background:#8FA2B1}
.sync.ok i{background:#4FD69A} .sync.off i{background:#F2B35C} .sync.bad i{background:#FF7A7A}
.back{flex:0 0 auto;width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.12);color:var(--bar-ink);display:grid;place-items:center;padding:0}
.back svg{width:20px;height:20px}
main{padding:16px 16px calc(96px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:14px;min-width:0}
.card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:14px;min-width:0}
.card h2{font-family:var(--display);font-weight:400;font-size:17px;margin:0 0 8px}
.row{display:flex;gap:10px;align-items:center;justify-content:space-between;min-width:0}
.row>*{min-width:0}
.muted{color:var(--muted)}
.small{font-size:12.5px}
.eyebrow{font-size:11.5px;letter-spacing:.06em;color:var(--muted);font-weight:700}
.pill{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:999px;font-size:12.5px;font-weight:700;background:var(--tint);color:var(--ink);white-space:nowrap}
.pill i{width:8px;height:8px;border-radius:50%;background:var(--muted)}
.pill.on i{background:var(--ok)} .pill.delay i,.pill.changed i{background:var(--warn)} .pill.cancel i{background:var(--bad)}
.btn{border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:8px 12px;font-weight:500;display:inline-flex;align-items:center;gap:6px;text-decoration:none;color:var(--ink);font-size:14px}
.btn svg{width:16px;height:16px}
.btn.primary{background:var(--accent);color:var(--accent-ink);border-color:transparent;font-weight:700}
.btn.ghost{background:none}
.btn.sm{padding:5px 9px;font-size:13px}
.btns{display:flex;gap:8px;flex-wrap:wrap}
.notice{background:var(--tint);border-radius:10px;padding:8px 12px;font-size:12.5px}
/* home */
.hero{background:var(--glacier);color:#fff;border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:4px;position:relative}
@media (prefers-color-scheme: dark){.hero{color:#06141D}}
.hero .name{font-family:var(--display);font-size:25px;line-height:1.15}
.hero .where{font-size:13px;opacity:.92}
.hero .count{font-family:var(--display);font-size:52px;line-height:1;margin-top:8px}
.hero .count small{font-family:var(--body);font-size:15px;margin-inline-start:6px}
.hero .elev{position:absolute;inset-inline-end:14px;top:14px;font-size:11.5px;font-weight:700;letter-spacing:.04em;opacity:.92}
.tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.tile{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:13px;min-height:108px;text-align:start;display:flex;flex-direction:column;justify-content:space-between;gap:8px;min-width:0}
.tile .k{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px;font-weight:700;letter-spacing:.04em}
.tile .k svg{width:20px;height:20px;color:var(--glacier)}
.tile .v{font-family:var(--display);font-size:23px;line-height:1.12;overflow-wrap:anywhere}
.tile .s{font-size:12.5px;color:var(--muted)}
.tile.wide{grid-column:1/-1;min-height:0}
.tile.empty .v{color:var(--muted)}
.tile .mini{display:flex;align-items:center;justify-content:space-between;gap:10px;direction:ltr}
.tile .mini .code{font-family:var(--display);font-size:30px;line-height:1}
.tile .mini .arrow{flex:1;display:flex;align-items:center;justify-content:center;color:var(--muted)}
.tile .mini .arrow svg{width:22px;height:22px;transform:rotate(90deg)}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.stat{background:var(--tint);border-radius:10px;padding:8px 10px;min-width:0}
.stat b{display:block;font-family:var(--display);font-weight:400;font-size:22px;line-height:1.1;font-variant-numeric:tabular-nums}
.stat span{font-size:11.5px;color:var(--muted)}
/* boarding pass */
.pass{background:var(--surface);border:1px solid var(--line);border-radius:14px;position:relative}
.pass .a{padding:14px 14px 12px}
.pass .b{padding:12px 14px 14px;border-top:2px dashed var(--line);position:relative}
.pass .b::before,.pass .b::after{content:"";position:absolute;top:-9px;width:16px;height:16px;border-radius:50%;background:var(--bg);border:1px solid var(--line)}
.pass .b::before{inset-inline-start:-9px;clip-path:inset(0 0 0 50%)} .pass .b::after{inset-inline-end:-9px;clip-path:inset(0 50% 0 0)}
.route{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center;margin:10px 0 4px;direction:ltr}
.route .code{font-family:var(--display);font-size:34px;line-height:1}
.route .t{font-variant-numeric:tabular-nums;font-weight:700;font-size:15px}
.route .c{font-size:12px;color:var(--muted)}
.route .mid{display:flex;flex-direction:column;align-items:center;gap:2px;color:var(--muted)}
.route .mid svg{width:22px;height:22px;transform:rotate(90deg)}
.route>div:last-child{text-align:right}
.kv{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}
.kv div span{display:block;font-size:11.5px;color:var(--muted)}
.kv div b{font-weight:500;overflow-wrap:anywhere}
.kv .wide{grid-column:1/-1}
.ltr{direction:ltr;unicode-bidi:isolate;display:inline-block}
/* day strip */
.strip{display:flex;gap:6px;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}
.strip::-webkit-scrollbar{display:none}
.day{flex:0 0 auto;width:52px;border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:8px 0 7px;display:flex;flex-direction:column;align-items:center;gap:1px}
.day small{font-size:11px;color:var(--muted)}
.day b{font-family:var(--display);font-weight:400;font-size:20px;line-height:1.1}
.day em{display:flex;gap:2px;height:6px;margin-top:2px}
.day em i{width:5px;height:5px;border-radius:50%;background:var(--accent)}
.day[aria-pressed="true"]{background:var(--ink);color:var(--surface);border-color:var(--ink)}
.day[aria-pressed="true"] small{color:var(--surface);opacity:.75}
.ev{display:grid;grid-template-columns:54px 1fr auto;gap:10px;align-items:start;padding:10px 0;border-top:1px solid var(--line)}
.ev:first-child{border-top:0}
.ev .tm{font-variant-numeric:tabular-nums;font-weight:700;direction:ltr;text-align:start}
.ev .tt{font-weight:700;overflow-wrap:anywhere}
.ev .cat{display:inline-block;font-size:11px;font-weight:700;padding:1px 8px;border-radius:999px;margin-inline-end:6px;background:var(--tint)}
.cat.ski{background:var(--accent);color:var(--accent-ink)} .cat.food{background:var(--glacier);color:var(--surface)}
.cat.move{background:var(--ink);color:var(--surface)} .cat.rest{background:var(--ok);color:var(--surface)}
.ev.sys .tt{font-weight:500}
/* snow */
.bars text{fill:var(--muted);font-size:10px;font-family:var(--body)}
.bars .v{fill:var(--ink);font-weight:700}
.bars rect{fill:var(--glacier)}
.bars line{stroke:var(--line)}
.links{display:flex;flex-direction:column}
.links a{display:flex;justify-content:space-between;align-items:center;padding:11px 0;border-top:1px solid var(--line);color:var(--ink);text-decoration:none;font-weight:500}
.links a:first-child{border-top:0}
.links svg{width:16px;height:16px;color:var(--muted)}
/* photos */
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
.grid button{border:0;padding:0;background:var(--tint);aspect-ratio:1;border-radius:6px;overflow:hidden}
.grid img{width:100%;height:100%;object-fit:cover;display:block}
.viewer{position:fixed;inset:0;z-index:20;background:rgba(5,10,14,.95);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:calc(16px + env(safe-area-inset-top,0px)) 8px calc(16px + env(safe-area-inset-bottom,0px))}
.viewer img{max-width:100%;max-height:78%;object-fit:contain}
.viewer p{color:#cfd9e0;font-size:13px;margin:10px 0}
.viewer .x{position:absolute;top:calc(12px + env(safe-area-inset-top,0px));inset-inline-end:12px;background:#1b2833;color:#fff;border:0;border-radius:50%;width:38px;height:38px;display:grid;place-items:center}
.viewer .x svg{width:18px;height:18px}
.empty{border:1.5px dashed var(--line);border-radius:14px;padding:22px 16px;text-align:center;color:var(--muted)}
.li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-top:1px solid var(--line)}
.li:first-child{border-top:0}
.li b{font-weight:500;overflow-wrap:anywhere}
.chk{display:flex;gap:10px;align-items:center;padding:9px 0;border-top:1px solid var(--line)}
.chk:first-child{border-top:0}
.chk input{width:20px;height:20px;accent-color:var(--accent)}
.chk.done span{text-decoration:line-through;color:var(--muted)}
.amt{font-variant-numeric:tabular-nums;font-weight:700;direction:ltr}
.tips{margin:0;padding-inline-start:18px;display:flex;flex-direction:column;gap:6px}
/* sheet */
.scrim{position:fixed;inset:0;z-index:30;background:rgba(5,10,14,.5);display:flex;align-items:flex-end;justify-content:center}
.sheet{background:var(--surface);width:100%;max-width:520px;max-height:90%;overflow:auto;border-radius:18px 18px 0 0;padding:16px 16px calc(16px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:12px}
.sheet h3{font-family:var(--display);font-weight:400;font-size:19px;margin:0}
.form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.fld{display:flex;flex-direction:column;gap:3px;min-width:0}
.fld.wide{grid-column:1/-1}
.fld span{font-size:12px;color:var(--muted);font-weight:500}
.fld input,.fld select,.fld textarea{width:100%;background:var(--bg);border:1px solid var(--line);border-radius:9px;padding:9px 10px;min-width:0;font-size:16px}
.toast{position:fixed;inset-inline:16px;bottom:calc(84px + env(safe-area-inset-bottom,0px));z-index:40;max-width:488px;margin:0 auto;background:var(--ink);color:var(--surface);border-radius:10px;padding:10px 14px;font-size:13.5px}
/* app feel */
.tile,.tab,.btn,.day,.back,.menu button{-webkit-user-select:none;user-select:none;touch-action:manipulation}
.tile,.menu button,.btn{transition:transform .12s ease}
.tile:active,.menu button:active,.btn:active{transform:scale(.97)}
@keyframes enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
main.enter{animation:enter .22s ease-out}
@media (prefers-reduced-motion:reduce){main.enter{animation:none}.tile,.menu button,.btn{transition:none}}
.tabs{position:fixed;bottom:0;inset-inline:0;z-index:6;background:var(--surface);border-top:1px solid var(--line);display:flex;justify-content:center;padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px))}
.tabs>div{display:flex;width:100%;max-width:520px}
.tab{flex:1;background:none;border:0;display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 2px;color:var(--muted);font-size:11px;font-weight:700;min-width:0}
.tab svg{width:24px;height:24px}
.tab[aria-current="true"]{color:var(--accent)}
.menu{background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden}
.menu button{width:100%;display:flex;align-items:center;gap:12px;padding:14px;background:none;border:0;border-top:1px solid var(--line);text-align:start;font-weight:500;font-size:16px}
.menu button:first-child{border-top:0}
.menu .ico{width:36px;height:36px;border-radius:10px;background:var(--tint);display:grid;place-items:center;color:var(--glacier)}
.menu .ico svg{width:20px;height:20px}
.menu .chev{margin-inline-start:auto;color:var(--muted)}
.menu .chev svg{width:18px;height:18px;transform:scaleX(-1)}
/* לוגואים ודגלים */
.logo{display:inline-block;height:30px;width:auto;max-width:88px;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:8px;padding:3px 6px;vertical-align:middle}
.logo.sq{width:38px;height:38px;max-width:38px;padding:3px}
.logo.fb{display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:30px;font-size:11.5px;font-weight:700;color:var(--ink);background:var(--tint);white-space:nowrap}
.logo.sq.fb{width:38px;font-size:10px;overflow:hidden}
.flag{display:inline-block;width:30px;height:20px;object-fit:cover;border-radius:3px;box-shadow:0 0 0 1px rgba(0,0,0,.2);vertical-align:middle}
.flagem{font-size:20px;line-height:1;vertical-align:middle}
.hero .brand{display:flex;align-items:center;gap:8px;margin-bottom:6px;min-height:38px}
.tile .k .logo{height:24px;max-width:64px;padding:2px 5px}
.al{display:flex;align-items:center;gap:10px;min-width:0}
.al b{overflow-wrap:anywhere}
.pass .airline{align-items:flex-start;gap:8px}
.pass .airline .eyebrow{text-align:end}
/* סטטוס טיסה חי */
.live{background:var(--tint);border-radius:12px;padding:10px 12px}
.leg{display:grid;grid-template-columns:96px 1fr auto;gap:8px;align-items:baseline;padding:4px 0;font-size:13.5px}
.leg .lab{color:var(--muted);font-size:12px;font-weight:700}
.leg .tm2{direction:ltr;text-align:start;font-variant-numeric:tabular-nums;font-size:15px}
.leg .tm2 s{color:var(--muted);font-size:13px}
.leg .ex{font-size:12px;color:var(--muted);text-align:end}
.late{color:var(--bad)} .early{color:var(--ok)} .ontime{color:var(--ok)}
.pill.unknown i{background:var(--muted)}
/* נוסעים ומושבים */
.paxes{margin-top:12px}
.pax{display:grid;grid-template-columns:36px 1fr auto auto;gap:10px;align-items:center;padding:9px 0;border-top:1px solid var(--line)}
.pax:first-of-type{border-top:0}
.pax .who{min-width:0}
.pax .who b{font-weight:600;overflow-wrap:anywhere}
.pax .who small{display:block;color:var(--muted);font-size:12px;direction:rtl}
.pax.none{grid-template-columns:36px 1fr auto}
.pax .pbtn{display:flex;gap:2px}
.av{width:34px;height:34px;border-radius:50%;background:var(--tint);color:var(--glacier);display:inline-grid;place-items:center;font-weight:700;flex:0 0 auto}
.seat{font-family:var(--display);font-size:19px;line-height:1;background:var(--ink);color:var(--surface);border-radius:8px;padding:5px 10px;direction:ltr;min-width:48px;text-align:center}
/* התחברות וטיולים */
.auth{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:28px 4px}
.auth h2{font-family:var(--display);font-weight:400;font-size:30px;margin:0}
.auth .appicon{border-radius:20px;box-shadow:0 2px 10px rgba(0,0,0,.18)}
.btn.big{padding:13px 18px;font-size:16px;justify-content:center;width:100%}
.trips{display:flex;flex-direction:column;gap:10px}
.trip{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:13px;text-align:start;width:100%;user-select:none;touch-action:manipulation}
.trip:active{transform:scale(.98)}
.trip .fb{width:44px;height:44px;border-radius:12px;background:var(--tint);display:grid;place-items:center;flex:0 0 auto;overflow:hidden}
.trip .fb .flag{width:32px;height:22px}
.trip .tinfo{min-width:0;flex:1;display:flex;flex-direction:column}
.trip .tinfo b{font-family:var(--display);font-weight:400;font-size:18px;overflow-wrap:anywhere}
.trip .tinfo small{color:var(--muted);font-size:12.5px}
.trip .chev{color:var(--muted)} .trip .chev svg{width:18px;height:18px;transform:scaleX(-1)}
.choices{display:flex;flex-direction:column;gap:8px}
.choice{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:start;background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:11px 12px}
.choice small{color:var(--muted)}
.code-box{font-family:var(--display);font-size:28px;letter-spacing:.08em;background:var(--tint);border-radius:12px;padding:12px;text-align:center}
body[data-mode="login"] .tabs,body[data-mode="trips"] .tabs,body[data-mode="boot"] .tabs{display:none}
body[data-mode="login"] main,body[data-mode="trips"] main,body[data-mode="boot"] main{padding-bottom:calc(32px + env(safe-area-inset-bottom,0px))}
/* מיתוג: Ni'Slope Ha?! */
.mark{flex:0 0 auto;width:30px;height:30px;border-radius:8px;box-shadow:0 0 0 1px rgba(255,255,255,.25)}
.top .mark{margin-inline-end:-2px}
.wordmark{font-family:var(--display);font-weight:400;white-space:nowrap;unicode-bidi:isolate}
.wordmark em{font-style:normal;color:var(--accent);display:inline-block;transform:rotate(-6deg) translateY(-1px);margin-inline-start:2px}
.top .wordmark em{color:#FF8A7A}
.auth h2 .wordmark{font-size:34px}
.page-h{font-family:var(--display);font-weight:400;font-size:22px;margin:2px 0 0}
/* מחיקת הוצאה וביטול */
.btn.del{color:var(--bad)}
.toast{display:flex;align-items:center;justify-content:space-between;gap:12px}
.toast button{flex:0 0 auto;background:none;border:0;color:#FF9A8C;font-weight:700;padding:2px 4px;font-size:13.5px}
@media (prefers-color-scheme: dark){.toast button{color:#B3241A}}

/* מראה חורפי לטיול סקי. עדין בכוונה: שלג, הרים וגוונים קרים, בלי לפגוע בקריאוּת. */
body[data-ski="1"]{
  --bg:#EDF3F8; --tint:#DCE9F3; --line:#D0DDE7;
  background-color:var(--bg);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cg fill='%2390B4CF' fill-opacity='.14'%3E%3Ccircle cx='20' cy='30' r='2'/%3E%3Ccircle cx='96' cy='12' r='1.5'/%3E%3Ccircle cx='150' cy='60' r='2.4'/%3E%3Ccircle cx='60' cy='92' r='1.4'/%3E%3Ccircle cx='128' cy='126' r='1.8'/%3E%3Ccircle cx='32' cy='150' r='2.2'/%3E%3Ccircle cx='170' cy='168' r='1.3'/%3E%3C/g%3E%3C/svg%3E");
}
body[data-ski="1"] .app{background:transparent}
body[data-ski="1"] .top{
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60 L70 30 L120 46 L190 12 L250 40 L300 26 L370 50 L430 18 L520 44 V60Z' fill='%23FFFFFF' fill-opacity='.08'/%3E%3C/svg%3E") bottom/100% 60% no-repeat,
    linear-gradient(180deg,#0B2236,#173F5D);
}
body[data-ski="1"] .hero{
  overflow:hidden;padding-bottom:58px;
  background:linear-gradient(170deg,#163F5D 0%,#1D5F8A 55%,#3683B5 100%);
  color:#fff;
}
body[data-ski="1"] .hero::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='110'%3E%3Cg fill='%23FFFFFF'%3E%3Ccircle cx='14' cy='18' r='2' fill-opacity='.7'/%3E%3Ccircle cx='70' cy='8' r='1.4' fill-opacity='.5'/%3E%3Ccircle cx='118' cy='30' r='2.2' fill-opacity='.6'/%3E%3Ccircle cx='44' cy='58' r='1.3' fill-opacity='.45'/%3E%3Ccircle cx='96' cy='76' r='1.7' fill-opacity='.55'/%3E%3C/g%3E%3C/svg%3E");
}
body[data-ski="1"] .hero::after{
  content:"";position:absolute;inset-inline:0;bottom:-1px;height:64px;pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 64' preserveAspectRatio='none'%3E%3Cpath d='M0 64 L0 40 L60 12 L104 34 L150 6 L214 40 L262 22 L320 44 L362 26 L400 38 V64Z' fill='%23FFFFFF' fill-opacity='.22'/%3E%3Cpath d='M0 64 L0 52 C60 40 110 58 170 48 C240 36 300 56 400 46 V64Z' fill='%23FFFFFF'/%3E%3C/svg%3E") bottom/100% 100% no-repeat;
}
body[data-ski="1"] .hero>*:not(.elev){position:relative;z-index:1}
body[data-ski="1"] .hero>.elev{z-index:1}
body[data-ski="1"] .tile{background:linear-gradient(180deg,#FFFFFF 0%,#FAFCFE 100%)}
body[data-ski="1"] .tabs{border-top-color:#C9DAE7}
@media (prefers-color-scheme: dark){
  body[data-ski="1"]{
    --bg:#0A1520; --tint:#172838; --line:#20354A;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cg fill='%23FFFFFF' fill-opacity='.06'%3E%3Ccircle cx='20' cy='30' r='2'/%3E%3Ccircle cx='96' cy='12' r='1.5'/%3E%3Ccircle cx='150' cy='60' r='2.4'/%3E%3Ccircle cx='60' cy='92' r='1.4'/%3E%3Ccircle cx='128' cy='126' r='1.8'/%3E%3Ccircle cx='32' cy='150' r='2.2'/%3E%3Ccircle cx='170' cy='168' r='1.3'/%3E%3C/g%3E%3C/svg%3E");
  }
  body[data-ski="1"] .hero{background:linear-gradient(170deg,#0F2B42 0%,#164A6E 60%,#1E5C86 100%);color:#fff}
  body[data-ski="1"] .hero::after{opacity:.9;filter:brightness(.82)}
  body[data-ski="1"] .tile{background:var(--surface)}
}
/* מזג אוויר */
.wxi{flex:0 0 auto;display:block}
.wxnows{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}
.wxnow{background:var(--tint);border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;gap:2px;min-width:0}
.wxt{font-family:var(--display);font-weight:400;font-size:34px;line-height:1;direction:ltr}
.cond{font-weight:700;font-size:13px;padding:4px 10px;border-radius:999px;white-space:nowrap;background:var(--tint)}
.cond.great{background:#D9F2E5;color:#136B43} .cond.good{background:#E3F1DA;color:#3B6B14}
.cond.ok{background:#FBEFD6;color:#8A5300} .cond.poor,.cond.bad{background:#FBE1DE;color:#A3271B}
@media (prefers-color-scheme: dark){.cond.great{background:#123A28;color:#7FE0B0}.cond.good{background:#24361A;color:#B6E08F}.cond.ok{background:#3A2C10;color:#F2C46B}.cond.poor,.cond.bad{background:#3D1A17;color:#FF9C90}}
.nextsnow{margin-top:10px;padding:10px 12px;border-radius:12px;background:var(--tint);font-size:14px}
.wxdays{display:flex;flex-direction:column}
.wxday{display:grid;grid-template-columns:52px 36px 1fr auto;gap:10px;align-items:center;padding:8px 0;border-top:1px solid var(--line)}
.wxday:first-child{border-top:0}
.wxday .dname{display:flex;flex-direction:column;line-height:1.15}
.wxday .dname small{color:var(--muted);font-size:11.5px}
.wxday .dtxt{display:flex;flex-direction:column;min-width:0;line-height:1.25}
.wxday .dtxt small{font-size:12px}
.wxday .dsnow{font-weight:700;color:var(--muted);white-space:nowrap;font-size:14px}
.wxday .dsnow.on{color:#2E7DB8}
@media (prefers-color-scheme: dark){.wxday .dsnow.on{color:#7CC2F0}}
.wxday.trip{background:linear-gradient(90deg,transparent,var(--tint));border-radius:8px;padding-inline:6px}
.tile .v .wxi{width:30px;height:30px}
/* תמונת הרכב */
.carimg{margin:10px 0 0;border-radius:12px;overflow:hidden;background:var(--tint)}
.carimg img{display:block;width:100%;max-height:220px;object-fit:contain;background:#fff}
.carimg figcaption{font-size:11.5px;color:var(--muted);padding:6px 10px}
.carimg a{color:inherit}
/* ניווט ומפה */
.navrow{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.navbtn img{width:18px;height:18px;border-radius:4px}
.mapbox{margin-top:10px;border-radius:12px;overflow:hidden;border:1px solid var(--line)}
.mapbox iframe{display:block;width:100%;height:240px;border:0}
/* הוצאות */
.seg{display:flex;background:var(--tint);border-radius:10px;padding:3px;gap:3px}
.seg button{flex:1;border:0;background:none;border-radius:8px;padding:7px 4px;font-weight:600;color:var(--muted)}
.seg button[aria-checked="true"]{background:var(--surface);color:var(--ink);box-shadow:0 1px 2px rgba(0,0,0,.12)}
.splits{display:flex;flex-direction:column}
.splitrow{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 0;border-top:1px solid var(--line)}
.splitrow:first-child{border-top:0}
.splitrow input{width:88px;background:var(--bg);border:1px solid var(--line);border-radius:9px;padding:7px 8px}
.splitsum{min-height:18px}
.splitsum.ok{color:var(--ok)} .splitsum.bad{color:var(--bad)}
.amtwrap{display:flex;flex-direction:column;align-items:flex-end;line-height:1.15}
.amtwrap small{font-size:11.5px}
/* ציוד סקי */
.gearlist{margin-top:10px;background:var(--tint);border-radius:12px;padding:4px 12px}
.gearwho{display:flex;flex-direction:column;padding:7px 0;border-top:1px solid var(--line)}
.gearwho:first-child{border-top:0}
.gearwho span{font-size:13.5px}
