/* Ride Carry — uses the app's tokens (--panel, --line, --accent …) so light/dark follow the app. Hidden entirely unless carry.js runs (TRIP_CARRY). */
body.cy-on #nav { display: none !important; }
body.cy-on #page .body { padding-bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }   /* clears the fixed bar (~62px) and the + button above it */
.cy-mut { color: var(--muted); font-size: 13px; }
.cy-top { display: flex; align-items: center; justify-content: space-between; margin: 0 0 12px; }
.cy-top b { font-size: 18px; font-weight: 800; letter-spacing: .01em; direction: ltr; }
.cy-nav { position: fixed; inset: auto 0 0 0; z-index: 30; display: flex; background: var(--panel); border-top: 1px solid var(--line); padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)); }
.cy-nav button { flex: 1; border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11.5px; font-weight: 600; color: var(--muted); padding: 6px 0; min-height: 48px; }
.cy-nav button.on { color: var(--text); } .cy-nav button.on .ms { background: var(--accent); color: var(--accent-ink); border-radius: 14px; padding: 3px 16px; } .cy-nav .ms { padding: 3px 16px; }
.cy-card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 14px; margin-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.cy-card.tap { cursor: pointer; }
.cy-row { display: flex; align-items: center; gap: 10px; } .cy-row .grow { flex: 1; min-width: 0; } .cy-row.sm { flex-wrap: wrap; gap: 6px; } .cy-sub { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 12.5px; }
.cy-av { width: 42px; height: 42px; border-radius: 50%; background: #0B1030; color: #fff; display: grid; place-items: center; font-weight: 800; position: relative; flex: none; }
.cy-av.lg { width: 72px; height: 72px; font-size: 24px; }
.cy-av i { position: absolute; inset-inline-end: -3px; bottom: -3px; width: 18px; height: 18px; border-radius: 50%; background: #0fa88e; display: grid; place-items: center; border: 2px solid var(--panel); }
.cy-av i .ms { font-size: 12px; color: #fff; }
.cy-bds { display: flex; gap: 6px; flex-wrap: wrap; min-height: 24px; }
.cy-bd { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: 12px; font-size: 12px; font-weight: 700; background: var(--panel-2); color: var(--muted); white-space: nowrap; }
.cy-bd .ms { font-size: 15px; } .cy-bd.ok { background: rgba(22, 163, 74, .12); color: var(--green); } .cy-bd.warn { background: var(--accent-soft); color: #a07400; } .cy-bd.no { background: rgba(220, 38, 38, .1); color: var(--red); }
body.dark .cy-bd.warn { color: #ffc400; }
.cy-stars { color: #f59e0b; display: inline-flex; align-items: center; gap: 2px; font-weight: 800; } .cy-stars .ms { font-size: 16px; } .cy-stars small { color: var(--muted); font-weight: 500; }
.cy-dir { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--blue); }
.cy-route { display: flex; align-items: center; gap: 10px; } .cy-route > div { flex: 1; min-width: 0; } .cy-route .end { text-align: end; } .cy-route b { display: block; font-size: 17px; font-weight: 800; line-height: 1.3; } .cy-route small { color: var(--muted); font-size: 12px; }
.cy-route > .ms { flex: none; color: var(--muted); transform: scaleX(-1); } [dir=ltr] .cy-route > .ms, html[lang=en] .cy-route > .ms, html[lang=ru] .cy-route > .ms { transform: none; }
.cy-lock { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12.5px; } .cy-lock .ms { font-size: 16px; }
.cy-ph { width: 78px; height: 78px; border-radius: 18px; border: 2px dashed var(--line); background: var(--panel-2); display: grid; place-items: center; color: var(--muted); flex: none; }
.cy-lockbox { border: 1.5px dashed var(--line); border-radius: 18px; background: var(--panel-2); padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; margin-top: 10px; color: var(--muted); }
.cy-kv { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; align-items: center; } .cy-kv:last-child { border: 0; } .cy-kv > span:first-child { color: var(--muted); }
.cy-kv.col { flex-direction: column; align-items: stretch; gap: 4px; } .cy-kv.tap { cursor: pointer; }
.cy-note { display: flex; gap: 10px; padding: 12px; border-radius: 16px; background: var(--accent-soft); font-size: 13px; line-height: 1.7; margin-top: 10px; } .cy-note .ms { flex: none; font-size: 20px; }
.cy-note.red { background: rgba(220, 38, 38, .1); } .cy-note.green { background: rgba(22, 163, 74, .12); }
.cy-seg { display: flex; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 4px; gap: 4px; margin-bottom: 10px; } .cy-seg.wrap { flex-wrap: wrap; }
.cy-seg button { flex: 1; min-height: 38px; border: 0; border-radius: 18px; background: none; font-weight: 700; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 8px; }
.cy-seg button.on { background: var(--accent); color: var(--accent-ink); } .cy-n { font-style: normal; background: var(--red); color: #fff; border-radius: 9px; padding: 0 6px; font-size: 11px; }
.cy-fbtn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); position: relative; display: grid; place-items: center; flex: none; }
.cy-fbtn i { position: absolute; top: -4px; inset-inline-end: -4px; background: var(--accent); color: var(--accent-ink); font-style: normal; font-size: 11px; font-weight: 800; border-radius: 9px; padding: 0 5px; }
.cy-fab { position: fixed; inset-inline: 16px; width: auto; bottom: calc(74px + env(safe-area-inset-bottom, 0px)); z-index: 29; margin: 0; box-shadow: var(--shadow); }
.cy-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cy-f { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; } .cy-f > span { font-size: 13px; font-weight: 700; } .cy-f small { color: var(--muted); font-size: 12px; } .cy-amt-h.err { color: var(--red); }
.cy-in { min-height: 48px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--panel); padding: 0 12px; display: flex; align-items: center; gap: 8px; }
.cy-in input, .cy-in select, .cy-in textarea { border: 0; background: none; outline: 0; width: 100%; min-height: 44px; color: var(--text); font: inherit; } .cy-in textarea { min-height: 84px; padding: 10px 0; resize: vertical; }
.cy-chk { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--panel); margin-top: 12px; cursor: pointer; }
.cy-chk .bx { width: 24px; height: 24px; border-radius: 8px; border: 2px solid #cbd5e1; flex: none; display: grid; place-items: center; } .cy-chk .bx .ms { font-size: 18px; display: none; }
.cy-chk.on { border-color: var(--accent); background: var(--accent-soft); } .cy-chk.on .bx { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); } .cy-chk.on .bx .ms { display: block; }
.cy-photo { border: 2px dashed var(--line); border-radius: 18px; min-height: 100px; display: grid; place-items: center; align-content: center; gap: 4px; background: none; color: var(--muted); font-size: 13px; padding: 12px; text-align: center; }
.cy-photo.ok { border-color: var(--green); color: var(--green); }
.cy-photos { display: flex; gap: 8px; overflow-x: auto; margin-top: 10px; } .cy-photos img { height: 140px; border-radius: 14px; flex: none; cursor: zoom-in; }
.cy-photos figure { margin: 0; flex: none; } .cy-photos figcaption { font-size: 12px; color: var(--muted); }
.cy-steps { display: flex; flex-direction: column; } .cy-st { display: flex; gap: 12px; position: relative; padding-bottom: 14px; }
.cy-st:not(:last-child)::before { content: ''; position: absolute; inset-inline-start: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); } .cy-st.done::before { background: var(--green) !important; }
.cy-st .n { width: 28px; height: 28px; border-radius: 50%; background: var(--panel-2); color: var(--muted); display: grid; place-items: center; font-size: 13px; font-weight: 800; flex: none; z-index: 1; }
.cy-st.done .n { background: var(--green); color: #fff; } .cy-st.cur .n { background: var(--accent); color: var(--accent-ink); } .cy-st small { display: block; color: var(--muted); font-size: 12.5px; }
.cy-code { display: flex; gap: 10px; justify-content: center; direction: ltr; } .cy-code i { width: 52px; height: 62px; border-radius: 14px; border: 2px solid var(--accent); background: var(--accent-soft); display: grid; place-items: center; font-size: 28px; font-weight: 800; font-style: normal; }
.cy-rate { display: flex; gap: 8px; justify-content: center; } .cy-rate .ms { font-size: 40px; color: #cbd5e1; cursor: pointer; } .cy-rate .ms.on { color: #f59e0b; }
.cy-stats { display: flex; gap: 8px; margin-top: 10px; } .cy-stats > div { flex: 1; text-align: center; padding: 10px 2px; border-radius: 16px; background: var(--panel-2); } .cy-stats b { display: block; font-size: 19px; } .cy-stats small { font-size: 11.5px; color: var(--muted); }
.cy-prev { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 16px; margin-top: 10px; }
/* chooser + onboarding */
.cy-choose { position: fixed; inset: 0; z-index: 90; background: var(--bg); display: flex; flex-direction: column; padding: calc(14px + env(safe-area-inset-top, 0px)) 16px calc(16px + env(safe-area-inset-bottom, 0px)); overflow: auto; }
.cy-ch-top b { font-size: 22px; font-weight: 800; direction: ltr; display: block; } .cy-ch-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 14px; max-width: 520px; width: 100%; margin: 0 auto; }
.cy-ch-body h2 { font-size: 22px; margin: 0; }
.cy-big { border: 0; border-radius: 26px; padding: 22px 20px; min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; text-align: start; box-shadow: var(--shadow); position: relative; overflow: hidden; font-family: inherit; cursor: pointer; }
.cy-big.t { background: var(--accent); color: var(--accent-ink); } .cy-big.c { background: linear-gradient(160deg, #0B1030, #121B5E); color: #fff; }
.cy-big .cy-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); } .cy-big.t .cy-ico { background: rgba(26, 20, 0, .1); } .cy-big .cy-ico .ms { font-size: 30px; }
.cy-big b { font-size: 24px; font-weight: 800; display: block; } .cy-big span { font-size: 13.5px; opacity: .85; }
.cy-big .cy-tag { position: absolute; inset-inline-end: 16px; top: 16px; display: inline-flex; align-items: center; gap: 4px; background: rgba(47, 227, 194, .18); color: #2FE3C2; border-radius: 12px; padding: 2px 10px; font-size: 12px; font-weight: 700; opacity: 1; }
.cy-rule { display: block; height: 2px; width: 36px; background: #2FE3C2; border-radius: 2px; margin: 6px 0; }
.cy-ob { position: fixed; inset: 0; z-index: 100; background: #0B1030; } .cy-ob iframe { width: 100%; height: 100%; border: 0; display: block; }
.cy-chk, .cy-seg button { font-family: inherit; }

.cy-zoom { position: fixed; inset: 0; z-index: 200; background: rgba(5, 8, 24, .94); display: flex; align-items: center; justify-content: center; padding: 56px 12px calc(12px + env(safe-area-inset-bottom)); }
.cy-zoom img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; }
.cy-zoom-x { position: absolute; top: calc(10px + env(safe-area-inset-top)); inset-inline-end: 12px; width: 44px; height: 44px; border-radius: 22px; border: 0; background: rgba(255,255,255,.14); color: #fff; display: flex; align-items: center; justify-content: center; }
.cy-route .cy-pt { display: inline-flex; color: var(--teal, #2DD4BF); margin-bottom: 2px; } .cy-route .cy-pt .ms { font-size: 20px; }
.cy-route > .cy-line { flex: 0 0 34px; align-self: center; height: 0; border-top: 2px dashed var(--line, #CBD5E1); }
.cy-row b .ms, .cy-card b > .ms { font-size: 17px; vertical-align: -3px; color: var(--teal, #2DD4BF); margin-inline: 2px; }
.cy-ctry { flex: 1; min-width: 0; text-align: start; background: none; border: 0; font: inherit; color: inherit; padding: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 44px; }
.cy-pick { position: fixed; inset: 0; z-index: 210; background: rgba(5, 8, 24, .55); display: flex; align-items: flex-end; justify-content: center; }
.cy-pick-box { background: var(--card, #fff); width: 100%; max-width: 520px; max-height: 80vh; border-radius: 20px 20px 0 0; padding: 14px 14px calc(14px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 10px; }
.cy-pick-list { overflow: auto; flex: 1; display: flex; flex-direction: column; }
.cy-pick-list button { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 46px; padding: 0 6px; border: 0; border-bottom: 1px solid var(--line, #E2E8F0); background: none; font: inherit; color: inherit; text-align: start; }
.cy-pick-list hr { border: 0; border-top: 2px solid var(--line, #CBD5E1); margin: 4px 0; width: 100%; }
html:not([lang=en]):not([lang=ru]) .cy-pt .ms, html:not([lang=en]):not([lang=ru]) .cy-card b > .ms { transform: scaleX(-1); }   /* right-to-left: the plane flies right → left */

/* Kaveh 2026-11-19: one hamburger «ورود به بخش‌های دیگر» */
.cy-top.cy-swm{flex-direction:column;align-items:flex-start;gap:8px}.cy-swl{align-self:stretch;background:var(--panel);border:1px solid var(--line);border-radius:16px;overflow:hidden}
.cy-swl button{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:0 14px;border:0;border-bottom:1px solid var(--line);background:none;font:600 14px Vazirmatn,sans-serif;color:var(--text);text-align:start}.cy-swl button:last-child{border:0}.cy-swl button span:not(.ms){flex:1}.cy-swl button .ms:last-child{color:var(--muted)}
.cy-swl>button{height:48px;padding-block:0;margin:0;border-radius:0;justify-content:flex-start}.cy-swl>button span:not(.ms){text-align:start}.cy-swl>button .ms{flex:none}

.cy-big.x { background: linear-gradient(160deg, #E8C88E, #C9965C); color: #1a1206; } .cy-big.x .cy-ico { background: rgba(26, 18, 6, .12); }

.cy-clr { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 10px; } .cy-link { border: 0; background: none; color: var(--accent-ink2, inherit); font: inherit; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; }
.cy-ck { width: 22px; height: 22px; border-radius: 7px; border: 2px solid rgba(128, 128, 150, .5); display: inline-grid; place-items: center; color: transparent; flex: none; margin-inline-end: 8px; font-style: normal; } .cy-ck.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); } .cy-ck .ms { font-size: 15px; }
.cy-sa { display: inline-flex; align-items: center; cursor: pointer; font-weight: 700; }
