/*
 * The guest website's motion (owner, 16 Nov 2026): the app's "star and wave" opening and its motion points, calm and
 * short, never in the guest's way. Written by hand (not built by Tailwind): used by the guest pages (layouts/guest) and
 * the start page (landing). Nothing here moves on a phone set to reduce motion. The script is public/js/motion.js.
 */

/* ---------------------------------------------------------------------------------------------------------------
 * 1. The opening: once per visit (partials/opening decides, before the page shows)
 * ------------------------------------------------------------------------------------------------------------- */
#st-opening { display: none; }
html.st-opening { background-color: #09182b; }   /* no light flash before the opening shows */
html.st-opening #st-opening {
    display: block; position: fixed; inset: 0; z-index: 2147483000; overflow: hidden;
    cursor: pointer; touch-action: none; -webkit-user-select: none; user-select: none;
    -webkit-tap-highlight-color: transparent;
    /* safety: if the script never runs, the opening still goes away */
    animation: st-op-away .4s ease-out 7s forwards;
}
#st-opening .st-op-bg { position: absolute; inset: 0; background: linear-gradient(180deg, #09182b 0%, #0f2642 55%, #06111f 100%); }
#st-opening .st-op-waves { position: absolute; inset: 0; width: 100%; height: 100%; }
#st-opening .st-op-waves path { fill: none; stroke-linecap: round; }
#st-opening .st-op-logo { position: fixed; left: 0; top: 0; opacity: 0; will-change: transform; }
#st-opening .st-op-star { position: relative; display: block; flex: none; }
#st-opening .st-op-star img { display: block; }
/* the gold light that passes over the star once */
#st-opening .st-op-shine {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .85) 50%, transparent 62%) 160% 0 / 250% 100% no-repeat;
    -webkit-mask: var(--st-op-star) center / contain no-repeat; mask: var(--st-op-star) center / contain no-repeat;
}
/* while the opening is on, the page's own logo waits under it (the opening's logo lands exactly there) */
html.st-opening [data-st-logo] { visibility: hidden; animation: st-op-show 0s linear 7.4s forwards; }
@keyframes st-op-away { to { opacity: 0; visibility: hidden; } }
@keyframes st-op-show { to { visibility: visible; } }

/* ---------------------------------------------------------------------------------------------------------------
 * 2. The page coming in: its cards fade in and rise a little, one after the other (motion.js)
 *    Until the script starts it, the page body waits hidden (at most 1.5 s, or the opening's time)
 * ------------------------------------------------------------------------------------------------------------- */
html.st-entering main { opacity: 0; animation: st-show 0s linear 1.5s forwards; }
html.st-entering.st-opening main { animation-delay: 7.4s; }
@keyframes st-show { to { opacity: 1; } }

@media (prefers-reduced-motion: no-preference) {
    /* ---------------------------------------------------------------------------------------------------------
     * 3. The hotel picture at the top of Home zooms in very slowly (20 s), once, then holds
     * ------------------------------------------------------------------------------------------------------- */
    .stella-header-wave.st-zoom::before {
        content: ''; position: absolute; inset: 0; background: inherit; transform-origin: 50% 0;
        animation: st-zoom 20s cubic-bezier(.37, 0, .63, 1) forwards;
    }
    @keyframes st-zoom { from { transform: scale(1); } to { transform: scale(1.07); } }

    /* ---------------------------------------------------------------------------------------------------------
     * 4. Smart room: the lights that are on glow and their bulb pops; the AC's snowflake turns while it cools
     * ------------------------------------------------------------------------------------------------------- */
    .st-lit svg { animation: st-pop .42s ease-out; }
    .st-spin { animation: st-spin 3.2s linear infinite; }
    @keyframes st-pop { 0% { transform: scale(1); } 40% { transform: scale(1.22); } 100% { transform: scale(1); } }
    @keyframes st-spin { to { transform: rotate(360deg); } }
}
.st-lit { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 0 22px 1px rgba(252, 211, 77, .45) !important; }
.st-flake { flex: none; transition: opacity .3s; }
.st-flake.st-off { opacity: .35; }

/* ---------------------------------------------------------------------------------------------------------------
 * 5. Where a request is: Received → In progress → Done, as a line that fills (guest/partials/request-steps)
 *    The step it is at breathes softly six times, then rests. data-step: 0, 1, 2 (done), -1 (cancelled)
 * ------------------------------------------------------------------------------------------------------------- */
.st-steps { --st-track: rgb(var(--st-sand, 237 226 200)); --st-fill: rgb(var(--st-gold, 157 130 68)); --st-dot-bg: #fff; margin-top: 10px; }
.st-steps-slim { margin-top: 8px; }
.st-steps[data-step="2"] { --st-fill: #059669; }
.st-steps[data-step="-1"] { opacity: .45; }
.st-steps-line { position: relative; height: 14px; }
.st-steps-line::before, .st-steps-fill { content: ''; position: absolute; top: 6px; height: 2px; inset-inline-start: 7px; }
.st-steps-line::before { inset-inline-end: 7px; background: var(--st-track); }
.st-steps-fill { width: 0; max-width: calc(100% - 14px); background: var(--st-fill); transition: width .65s cubic-bezier(.65, 0, .35, 1), background-color .3s; }
.st-steps[data-step="1"] .st-steps-fill { width: calc(50% - 7px); }
.st-steps[data-step="2"] .st-steps-fill { width: calc(100% - 14px); }
.st-steps-dot {
    position: absolute; top: 0; width: 14px; height: 14px; border-radius: 50%; box-sizing: border-box;
    background: var(--st-dot-bg); border: 2px solid var(--st-track); display: flex; align-items: center; justify-content: center;
    transition: background-color .3s, border-color .3s;
}
.st-steps-dot[data-i="0"] { inset-inline-start: 0; }
.st-steps-dot[data-i="1"] { inset-inline-start: calc(50% - 7px); }
.st-steps-dot[data-i="2"] { inset-inline-end: 0; }
.st-steps-dot svg { width: 10px; height: 10px; color: #fff; opacity: 0; transform: scale(.4); transition: opacity .25s, transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.st-steps[data-step="0"] [data-i="0"],
.st-steps[data-step="1"] [data-i="0"], .st-steps[data-step="1"] [data-i="1"],
.st-steps[data-step="2"] .st-steps-dot { background: var(--st-fill); border-color: var(--st-fill); }
.st-steps[data-step="2"] [data-i="2"] svg { opacity: 1; transform: none; }
.st-steps-names { display: grid; grid-template-columns: 1fr 1fr 1fr; margin-top: 4px; font-size: 11px; line-height: 1.3; color: rgba(71, 85, 105, .6); font-weight: 500; }
.st-steps-names span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-steps-names span:nth-child(2) { text-align: center; }
.st-steps-names span:nth-child(3) { text-align: end; }
.st-steps[data-step="0"] .st-steps-names span:nth-child(1),
.st-steps[data-step="1"] .st-steps-names span:nth-child(2),
.st-steps[data-step="2"] .st-steps-names span:nth-child(3) { color: #475569; font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
    /* six breaths of 1.1 s (about 7 s), ending where it started: no glow */
    .st-steps[data-step="0"] [data-i="0"], .st-steps[data-step="1"] [data-i="1"] { animation: st-breathe 1.1s ease-in-out 0s 6 alternate; }
    @keyframes st-breathe {
        from { box-shadow: 0 0 0 0 rgba(157, 130, 68, 0); }
        to { box-shadow: 0 0 10px 3px rgba(157, 130, 68, .55); }
    }
}
@media (prefers-reduced-motion: reduce) {
    .st-steps-fill, .st-steps-dot, .st-steps-dot svg { transition: none; }
}

/* ---------------------------------------------------------------------------------------------------------------
 * 6. "Done: Extra towels": the hotel just finished a request (motion.js, from the bell's updates)
 * ------------------------------------------------------------------------------------------------------------- */
.st-toast {
    position: fixed; z-index: 90; top: calc(env(safe-area-inset-top, 0px) + 12px); left: 16px; right: 16px; margin: 0 auto;
    width: -webkit-fit-content; width: -moz-fit-content; width: fit-content; max-width: 352px;
    display: flex; align-items: center; gap: 8px; padding: 6px 16px 6px 8px;
    border-radius: 99px; background: rgb(var(--st-navy, 13 55 92)); border: 1px solid rgba(52, 211, 153, .7); color: #fff;
    font-size: 13px; font-weight: 600; line-height: 1.35; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .25), 0 8px 10px -6px rgba(0, 0, 0, .2);
    cursor: pointer; -webkit-tap-highlight-color: transparent;
}
[dir="rtl"] .st-toast { padding: 6px 8px 6px 16px; }
.st-toast-check { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #059669; display: flex; align-items: center; justify-content: center; }
.st-toast-check svg { width: 16px; height: 16px; }
.st-toast-text { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* ---------------------------------------------------------------------------------------------------------------
 * 7. Header buttons (owner's choice "C", 21 Nov 2026, same as the app): brand gold ring and gold content on a dark
 *    see-through navy; the language is a capsule with a globe; the bell shows how many are New as a gold number.
 * ------------------------------------------------------------------------------------------------------------- */
.st-hbtn {
    height: 40px; min-width: 40px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; gap: 5px;
    background: rgba(10, 34, 56, .35); border: 1.5px solid rgba(207, 188, 141, .75); color: #cfbc8d;
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1); transition: background-color .15s, transform .1s;
}
.st-hbtn:hover { background: rgba(10, 34, 56, .5); }
.st-hbtn:active { transform: scale(.95); }
.st-hbtn-cap { padding: 0 12px; }
.st-hbtn-count {
    position: absolute; top: -4px; inset-inline-end: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px;
    display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; line-height: 1;
    color: #041a2f; background: linear-gradient(180deg, #cfbc8d, #9d8244); border: 2px solid #0d375c;
}

/* ---------------------------------------------------------------------------------------------------------------
 * 8. No connection (owner's choice "A", 21 Nov 2026, same as the app): a small navy pill with a gold ring and a turning
 *    circle, "Reconnecting…", centred on the first card's top edge under the logo, over the page; shown after 3 s offline (motion.js).
 * ------------------------------------------------------------------------------------------------------------- */
.st-offline {
    position: fixed; z-index: 2147482000; left: 50%; top: calc(env(safe-area-inset-top, 0px) + 103px); transform: translate(-50%, -6px); /* centred on the first card's top edge */
    display: flex; align-items: center; gap: 7px; height: 28px; padding: 0 13px; border-radius: 99px; white-space: nowrap;
    background: #041a2f; border: 1px solid rgba(207, 188, 141, .55); color: #cfbc8d; font-size: 12px; font-weight: 700;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .3); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.st-offline.st-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; cursor: pointer; }
.st-offline i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(207, 188, 141, .3); border-top-color: #cfbc8d; animation: st-spin .9s linear infinite; }

/* ---------------------------------------------------------------------------------------------------------------
 * 9. The long card (guest/partials/row-card; owner's rule 21 Nov 2026, same sizes as the app's RowCard)
 * ------------------------------------------------------------------------------------------------------------- */
.st-row {
    display: flex; align-items: center; gap: 13px; width: 100%; height: 78px; padding: 0 14px; border-radius: 16px;
    background: linear-gradient(90deg, #0e3f6c, #092c4e, #061e37); border: 1px solid rgba(207, 188, 141, .35);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1); text-align: start; cursor: pointer;
    color: inherit; text-decoration: none; transition: box-shadow .2s, transform .1s;
}
[dir="rtl"] .st-row { background: linear-gradient(90deg, #061e37, #092c4e, #0e3f6c); }
.st-row:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .15), 0 4px 6px -4px rgba(0, 0, 0, .1); }
.st-row:active { transform: scale(.99); }
.st-row-icon { flex: none; width: 46px; height: 46px; border-radius: 14px; background: #faf6ec; color: #9d8244; display: flex; align-items: center; justify-content: center; }
.st-row-icon svg { width: 24px; height: 24px; }
.st-row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.st-row-title { display: flex; align-items: center; min-width: 0; }
.st-row-name { font-size: 15px; font-weight: 700; color: #cfbc8d; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-row-chip { flex: none; margin-inline-start: 8px; padding: 1px 8px; border-radius: 99px; border: 1px solid rgba(207, 188, 141, .6); font-size: 12px; font-weight: 600; color: #cfbc8d; }
.st-row-live { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #cfbc8d; margin-inline-start: 8px; }
.st-row-sub { margin-top: 3px; font-size: 12px; line-height: 1.35; color: #cbd5e1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* one width on every card (owner, 21 Nov 2026): short words, never a wider badge */
.st-row-badge { flex: none; width: 72px; box-sizing: border-box; overflow: hidden; padding: 5px 8px; border-radius: 12px; border: 1px solid rgba(207, 188, 141, .6); display: flex; flex-direction: column; align-items: center; }
.st-row-badge-top { max-width: 100%; overflow: hidden; font-size: 10px; font-weight: 700; color: #cfbc8d; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; white-space: nowrap; }
[dir="rtl"] .st-row-badge-top { letter-spacing: 0; text-transform: none; }
.st-row-badge-main { font-size: 13px; font-weight: 800; color: #fff; line-height: 1.3; white-space: nowrap; font-variant-numeric: tabular-nums; }
.st-row-go { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(207, 188, 141, .6); color: #cfbc8d; display: flex; align-items: center; justify-content: center; }
.st-row-go svg { width: 14px; height: 14px; }

/* ---------------------------------------------------------------------------------------------------------------
 * 10. Request status pills, everywhere (owner, 21 Nov 2026): gold while on its way, green when done, red when cancelled
 *     (the app's statusColors). Later rules win over the Tailwind colours still on the same element.
 * ------------------------------------------------------------------------------------------------------------- */
.st-pill-on { background-color: #f3ead6 !important; color: #6b5524 !important; }
.st-pill-done { background-color: #e6efe9 !important; color: #2f6b4f !important; } /* brand-toned, not mint (23 Nov 2026) */
.st-pill-cancel { background-color: #ffe4e6 !important; color: #9f1239 !important; }

/* ---------------------------------------------------------------------------------------------------------------
 * 11. The bell list: "New" / "Earlier" headings, a gold dot on what is new, a gold count (owner, 21 Nov 2026)
 * ------------------------------------------------------------------------------------------------------------- */
.st-bell-head { padding: 10px 12px 2px; font-size: 11px; font-weight: 800; color: #9d8244; letter-spacing: .08em; text-transform: uppercase; }
[dir="rtl"] .st-bell-head { letter-spacing: 0; text-transform: none; }
.st-bell-new { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #9d8244; }
.st-bell-count { padding: 2px 8px; border-radius: 99px; font-size: 12px; font-weight: 800; color: #041a2f; background: linear-gradient(90deg, #cfbc8d, #9d8244); }

/* ---------------------------------------------------------------------------------------------------------------
 * 12. The Green Stay switch on the long card (same as the app's EcoSwitch)
 * ------------------------------------------------------------------------------------------------------------- */
/* the on/off switch (Green Stay): gold when on; in Arabic the knob starts on the right (review 24 Nov 2026) */
.st-switch { flex: none; position: relative; display: inline-block; width: 48px; height: 26px; padding: 0; border-radius: 99px; background: #1e293b; border: 1px solid #475569; transition: background-color .3s, border-color .3s, box-shadow .3s; }
.st-switch i { position: absolute; top: 2px; inset-inline-start: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1); transition: inset-inline-start .3s; }
.st-switch.st-on { background: #9d8244; border-color: #c9ab5f; box-shadow: 0 0 10px rgba(157, 130, 68, .55); }
.st-switch.st-on i { inset-inline-start: 24px; }
.st-switch:focus-visible { outline: 2px solid #c9ab5f; outline-offset: 2px; }
.st-switch-light, html.st-light .st-switch { background: #e9e1cf; border-color: #cdbf9d; }
.st-switch-light.st-on, html.st-light .st-switch.st-on { background: #9d8244; border-color: #9d8244; }

/* ---------------------------------------------------------------------------------------------------------------
 * 13. Inner pages (owner, 21 Nov 2026; the app's StellaPage with a title): Room requests, Lost & found and Reviews are
 *     pages under the site's header — the navy strip "‹ name", then the content in a white card — not windows.
 * ------------------------------------------------------------------------------------------------------------- */
.st-page { position: fixed; left: 0; right: 0; bottom: 0; top: calc(env(safe-area-inset-top, 0px) + 108px); z-index: 60; overflow-y: auto; background: #faf6ec; -webkit-overflow-scrolling: touch; }
.st-page-box { max-width: 36rem; margin: 0 auto; padding: 12px 12px calc(env(safe-area-inset-bottom, 0px) + 110px); display: flex; flex-direction: column; gap: 10px; }
.st-strip { display: flex; align-items: center; gap: 8px; width: 100%; padding: 12px 14px; border-radius: 16px; background: #041a2f; border: 1px solid rgba(109, 97, 75, .4); color: #cfbc8d; font-size: 14px; font-weight: 700; letter-spacing: .02em; text-align: start; cursor: pointer; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1); }
.st-strip svg { width: 16px; height: 16px; flex: none; }
.st-page-card { background: #fff; border: 1px solid #ede2c8; border-radius: 20px; padding: 16px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }

/* ---------------------------------------------------------------------------------------------------------------
 * 14. The Account page's rows in the one long card (owner's rule, 21 Nov 2026; same sizes as .st-row and the app):
 *     78 high, the navy gradient, the light icon square with the gold icon, the name in gold, a gold-ringed › .
 * ------------------------------------------------------------------------------------------------------------- */
.st-acc-row { height: 78px !important; padding: 0 14px !important; border-radius: 16px !important; border-color: rgba(207, 188, 141, .35) !important; background: linear-gradient(90deg, #0e3f6c, #092c4e, #061e37) !important; }
[dir="rtl"] .st-acc-row { background: linear-gradient(90deg, #061e37, #092c4e, #0e3f6c) !important; }
.st-acc-row > div:first-child { gap: 13px !important; }
.st-acc-row > div:first-child > div:first-child { width: 46px !important; height: 46px !important; border-radius: 14px; background: #faf6ec; color: #9d8244 !important; }
.st-acc-row > div:first-child > div:first-child svg { width: 24px !important; height: 24px !important; stroke-width: 1.6; }
.st-acc-row h3 { font-size: 15px !important; color: #cfbc8d !important; }
.st-acc-row p { color: #cbd5e1 !important; }
.st-acc-row [class*="px-3 py-1.5 rounded-xl"] { width: 34px; height: 34px; padding: 0 !important; border-radius: 50% !important; justify-content: center; background: transparent !important; border-color: rgba(207, 188, 141, .6) !important; color: #cfbc8d !important; }
.st-acc-row [class*="px-3 py-1.5 rounded-xl"] span { display: none !important; }

/* ---------------------------------------------------------------------------------------------------------------
 * The header card at the top of every page (owner, 21 Nov 2026: "one fixed rectangle, with words or without"),
 * the same as the app's HeaderCard: a fixed top part (one-line title that shrinks to fit — layout script — the navy
 * pill, the pills on the right), the gold line, and a fixed bottom part with two facts (partials/header-facts) or the
 * visitor's two buttons. The words never change the card's height.
 * ------------------------------------------------------------------------------------------------------------- */
.st-head { min-height: 0 !important; justify-content: flex-start !important; }
.st-head-top { height: 62px; flex: none; overflow: hidden; }
.st-head-top > div:first-child { padding-top: 0 !important; }
.st-head h1, .st-head h2 { height: 30px; line-height: 30px !important; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.st-head-top > div:first-child > div { padding-top: 6px !important; display: flex; align-items: flex-start; }
.st-head-top > div:last-child { max-width: 140px; }
.st-head-info { height: 46px; flex: none; overflow: hidden; margin-top: 0 !important; }

/* ---------------------------------------------------------------------------------------------------------------
 * The Light look (owner, 21 Nov 2026: "Classic" or "Light" in the language menu, kept in this browser):
 * html.st-light — the navy header behind the logo and its glass card stay as in Classic; every other navy surface
 * (long cards, tiles, strips, bottom menu, start page) becomes white / cream, its words navy, its icons and rings gold.
 * The same as the app's light colours (ui/tokens.dart).
 * ------------------------------------------------------------------------------------------------------------- */
html.st-light { --st-card-from: var(--stl-card-from, 255 255 255); --st-card-via: var(--stl-card-via, 253 250 244); --st-card-to: var(--stl-card-to, 247 241 228);
    --st-panel: var(--stl-panel, 255 255 255); --st-nav-bg: var(--stl-nav-bg, 255 255 255); --st-nav-icon: var(--stl-nav-icon, 157 130 68);
    --st-nav-text: var(--stl-nav-text, 13 55 92); --st-nav-border: var(--stl-nav-border, 230 217 184); }
/* the start page's header, on the light backdrop: navy logo words, white buttons (the pages' navy header stays) */
html.st-light .st-landing-head [data-st-logo] div img { filter: brightness(0) saturate(100%) invert(17%) sepia(41%) saturate(2030%) hue-rotate(184deg) brightness(93%) contrast(95%); }
html.st-light .st-landing-head [data-st-logo] .text-st-gold-light { color: rgb(var(--st-gold)) !important; }
html.st-light .st-landing-head .st-hbtn { background: rgba(255, 255, 255, .85) !important; color: rgb(var(--st-gold)) !important; border-color: rgba(157, 130, 68, .75) !important; }
/* long cards */
html.st-light .st-row, html.st-light .st-acc-row { background: linear-gradient(90deg, rgb(var(--stl-card-from, 255 255 255)), rgb(var(--stl-card-via, 251 247 238))) !important; border-color: rgb(var(--stl-line, 230 217 184)) !important; box-shadow: 0 2px 8px rgba(13, 55, 92, .08) !important; }
html.st-light .st-row-name, html.st-light .st-acc-row h3 { color: rgb(var(--st-navy)) !important; }
html.st-light .st-row-sub, html.st-light .st-acc-row p { color: #64748b !important; }
/* the icon square: cream with the gold icon (back to the first Light look, owner 21 Nov 2026: "NOW" kept as it is) */
html.st-light .st-row-icon, html.st-light .st-acc-row > div:first-child > div:first-child { background: #f3ecdc !important; }
html.st-light .st-row-badge, html.st-light .st-row-go { border-color: rgba(157, 130, 68, .7) !important; }
html.st-light .st-row-badge-top, html.st-light .st-row-go, html.st-light .st-row-chip, html.st-light .st-acc-row svg { color: rgb(var(--st-gold)) !important; }
html.st-light .st-row-badge-main { color: rgb(var(--st-navy)) !important; }
html.st-light .st-acc-row [class*="px-3 py-1.5 rounded-xl"] { border-color: rgba(157, 130, 68, .7) !important; color: rgb(var(--st-gold)) !important; }
/* department tiles, offer cards on Home */
html.st-light a[href*="dept="] { border-color: rgb(var(--stl-line, 230 217 184)) !important; box-shadow: 0 2px 8px rgba(13, 55, 92, .08) !important; }
html.st-light a[href*="dept="] *, html.st-light .bg-st-panel * { color: rgb(var(--st-navy)) !important; }
html.st-light a[href*="dept="] svg, html.st-light .bg-st-panel svg, html.st-light .bg-st-panel .text-st-gold-light { color: rgb(var(--st-gold)) !important; }
/* the lines inside those icons too (they draw in their own colour, which the navy words rule above set) */
html.st-light a[href*="dept="] svg *, html.st-light .bg-st-panel svg * { color: rgb(var(--st-gold)) !important; }
/* strips, the bottom menu, small pills */
html.st-light .st-strip { background: rgb(var(--stl-panel, 255 255 255)) !important; border-color: rgb(var(--stl-line, 230 217 184)) !important; color: rgb(var(--st-navy)) !important; }
html.st-light .st-strip svg { color: rgb(var(--st-gold)) !important; }
html.st-light .st-offline { background: rgb(var(--stl-panel, 255 255 255)) !important; color: rgb(var(--st-gold)) !important; }
/* the start page (landing): cream and sand waves instead of the navy night */
html.st-light body { background-color: rgb(var(--stl-page, 250 246 236)) !important; }
html.st-light .st-landing-bg > div:first-child { background: linear-gradient(180deg, #f3ead6, #faf6ec 55%, #f1e8d6) !important; }
html.st-light .st-landing-bg svg path { fill: #eadfc5 !important; }
html.st-light [data-st-foot] .text-slate-200 { color: #64748b !important; }
html.st-light [data-st-foot] .text-white { color: rgb(var(--st-navy)) !important; }
html.st-light [data-st-foot] .text-st-gold-light { color: rgb(var(--st-gold)) !important; }
/* the Offers page's cards: a white panel instead of the navy glass beside the picture */
html.st-light .bg-st-navy-deep\/80 { background: rgba(255, 255, 255, .94) !important; border-color: rgb(var(--stl-line, 230 217 184)) !important; }
html.st-light .bg-st-navy-deep\/80 h3 { color: rgb(var(--st-navy)) !important; }
html.st-light .bg-st-navy-deep\/80 .text-st-gold-light { color: rgb(var(--st-gold)) !important; }
html.st-light .bg-st-navy-deep\/80 .text-slate-300 { color: #64748b !important; }
html.st-light .bg-st-navy-deep\/80 .mix-blend-overlay { display: none; }

/* behind an open header menu (language, bell): the page dims a little so the menu stands out (owner, 21 Nov 2026) */
.st-dim { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .28); }
/* the small gold words of the header card: a darker gold, readable where the glass turns from navy to cream */
.st-head-info .text-st-gold { color: #806937 !important; }

/* ---------------------------------------------------------------------------------------------------------------
 * Readability (design review, 23 Nov 2026). Small gold words on light surfaces use a darker shade of the hotel's gold
 * (the icons, lines and the Light look's cream squares stay as they are); grey words on the light service cards are
 * darker; Arabic body text is 1px bigger with more room between lines.
 * ------------------------------------------------------------------------------------------------------------- */
.text-st-gold:not(.bg-st-navy *):not(.bg-st-panel *):not(.bg-st-navy-deep *) { color: #806937 !important; color: color-mix(in srgb, rgb(var(--st-gold)) 78%, #000) !important; }
.svc-card .text-slate-400 { color: #64748b !important; }
.svc-card .text-slate-500 { color: #526075 !important; }
html.st-light nav .text-st-nav-text\/60 { color: #52667a !important; }
html[lang="ar"] .svc-card p.text-xs { font-size: 13px !important; line-height: 1.55 !important; }
html[lang="ar"] .st-row-sub { font-size: 13px !important; line-height: 1.45 !important; }

/* a smaller long card (beach shuttle, EV charging under the departments; design review, 23 Nov 2026) */
.st-row.st-row-compact { height: 62px; gap: 11px; }
.st-row-compact .st-row-icon { width: 38px; height: 38px; border-radius: 12px; }
.st-row-compact .st-row-icon svg { width: 20px; height: 20px; }
.st-row-compact .st-row-name { font-size: 14px; }
.st-row-compact .st-row-badge { padding: 3px 8px; }

/* Light look: offer cards keep a light gold edge like the other cards (review 24 Nov 2026) */
html.st-light [data-offer-id] { border-color: rgba(157, 130, 68, .35) !important; }

/* ---------------------------------------------------------------------------------------------------------------
 * Owner's design choices, 29 Nov 2026 (picture page "اختيارات شكل Stella")
 * C3: the classic font (Cinzel) only for the guest's name, the page titles and the Home section titles. Arabic keeps
 *     the hotel's Arabic font, Russian its own serif (Cinzel has neither; loaded only for Russian) — as the app. Doubled class: wins over the layout's .font-serif rule.
 * C4: calmer cards: one flat navy (Classic) or plain white (Light), a thin edge, no gloss and no shadow.
 * ------------------------------------------------------------------------------------------------------------- */
.st-display.st-display, .st-head .st-head-top h1.font-serif, .st-head .st-head-top h2.font-serif { font-family: 'Cinzel', var(--st-font-en), serif !important; letter-spacing: .03em; }
/* Arabic keeps the hotel's Arabic font (as the app); Russian its own serif */
[dir="rtl"] .st-display.st-display, [dir="rtl"] .st-head .st-head-top h1.font-serif, [dir="rtl"] .st-head .st-head-top h2.font-serif { font-family: var(--st-font-ar), sans-serif !important; letter-spacing: 0; }
html[lang="ru"] .st-display.st-display, html[lang="ru"] .st-head .st-head-top h1.font-serif, html[lang="ru"] .st-head .st-head-top h2.font-serif { font-family: 'Cormorant Garamond', serif !important; letter-spacing: 0; }
h3.st-display.st-display { font-size: 14px; letter-spacing: .06em; }
[dir="rtl"] h3.st-display.st-display, html[lang="ru"] h3.st-display.st-display { letter-spacing: 0; }

.st-row, [dir="rtl"] .st-row { background: rgb(var(--st-navy)); border-color: rgba(207, 188, 141, .28); box-shadow: none; }
.st-row:hover { box-shadow: none; border-color: rgba(207, 188, 141, .5); }
.grid > a[href*="dept="] { background: rgb(var(--st-navy)) !important; border-color: rgba(207, 188, 141, .28) !important; box-shadow: none !important; }
html.st-light .st-row, html.st-light .st-acc-row, html.st-light .grid > a[href*="dept="] {
    background: rgb(var(--stl-card-from, 255 255 255)) !important; border-color: rgb(var(--stl-line, 230 217 184)) !important; box-shadow: none !important; }
/* C5: the sign-in page's hotel photo in the Light look: a cream veil instead of the navy one */
html.st-light .st-landing-photo > div { background: linear-gradient(180deg, rgba(250,246,236,.6) 0%, rgba(250,246,236,.1) 28%, rgba(250,246,236,.35) 52%, rgba(250,246,236,.96) 80%) !important; }
