:root {
    --bg: #f6e7d3;
    --glass: rgba(255, 255, 255, 0.2);
    --glass-strong: rgba(255, 255, 255, 0.3);
    --glass-soft: rgba(255, 255, 255, 0.12);
    --paper: linear-gradient(145deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.12));
    --paper-strong: linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.18));
    --ink: #231d22;
    --muted: #665f67;
    --accent: #ff7a18;
    --accent-soft: rgba(255, 122, 24, 0.14);
    --accent-deep: #9a4300;
    --line: rgba(255, 255, 255, 0.34);
    --line-soft: rgba(35, 29, 34, 0.08);
    --mint: rgba(171, 224, 216, 0.18);
    --shadow: 0 28px 90px rgba(45, 28, 14, 0.18);
    --shadow-soft: 0 18px 48px rgba(54, 32, 14, 0.12);
    --blur: blur(26px) saturate(175%);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", system-ui, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 151, 58, 0.5), transparent 28%),
        radial-gradient(circle at 82% 14%, rgba(133, 203, 226, 0.36), transparent 24%),
        radial-gradient(circle at 72% 78%, rgba(255, 255, 255, 0.2), transparent 18%),
        linear-gradient(145deg, #f4d9bb 0%, #efbe8b 24%, #f7e6d0 48%, #d6e7e9 70%, #b7d0d8 100%);
    overflow-x: clip;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: auto;
    z-index: -1;
    border-radius: 999px;
    filter: blur(40px);
    opacity: 0.75;
    pointer-events: none;
}

body::before {
    width: 320px;
    height: 320px;
    top: 72px;
    right: -68px;
    background: radial-gradient(circle, rgba(255, 122, 24, 0.34) 0%, rgba(255, 122, 24, 0) 72%);
}

body::after {
    width: 420px;
    height: 420px;
    left: -110px;
    bottom: 48px;
    background: radial-gradient(circle, rgba(120, 200, 214, 0.32) 0%, rgba(120, 200, 214, 0) 72%);
}

a {
    color: inherit;
}

.shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 24px 0 56px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 18px 22px;
    position: sticky;
    top: 18px;
    z-index: 30;
    background: var(--paper);
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 30px;
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.44);
    backdrop-filter: var(--blur);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
}

.brand-emblem {
    position: relative;
    display: inline-flex;
}

.brand-copy {
    display: grid;
    gap: 8px;
}

.brand-wordmark,
.brand-icon {
    display: block;
}

.brand-wordmark-wrap {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 12px 18px;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.16));
    border: 1px solid rgba(255, 255, 255, 0.48);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), var(--shadow-soft);
    backdrop-filter: blur(18px) saturate(170%);
}

.brand-wordmark {
    width: min(244px, 42vw);
    height: auto;
}

h1,
h2,
h3 {
    font-family: "Trebuchet MS", "Gill Sans", sans-serif;
    letter-spacing: -0.04em;
}

.brand small {
    display: block;
    color: var(--muted);
    margin-top: 0;
    padding-left: 4px;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-mark {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    padding: 8px;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.16));
    border: 1px solid rgba(255, 255, 255, 0.54);
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52), 0 18px 38px rgba(52, 29, 13, 0.18);
    backdrop-filter: blur(16px) saturate(160%);
}

.brand-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.topnav-shell {
    padding: 8px;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.36);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.44);
    backdrop-filter: blur(18px) saturate(165%);
}

.topnav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.topbar-side {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.topbar-notification-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    text-decoration: none;
    color: #6d3510;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(232, 216, 201, 0.92);
    box-shadow: 0 12px 24px rgba(63, 42, 23, 0.08);
    cursor: pointer;
}

.topbar-cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(232, 216, 201, 0.92);
    box-shadow: 0 12px 24px rgba(63, 42, 23, 0.08);
}

.topbar-radio-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #f07b21 0%, #d95f00 100%);
    box-shadow: 0 16px 30px rgba(217, 95, 0, 0.22);
    cursor: pointer;
}

.topbar-radio-icon {
    width: 24px;
    height: 24px;
}

.topbar-utility-strip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.topbar-notification-icon {
    width: 38px;
    height: 38px;
    transform: scale(1.08);
    transform-origin: center;
}

.topbar-cart-icon {
    width: 34px;
    height: 34px;
}

.topbar-notification-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #f07b21 0%, #d95f00 100%);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}

.topbar-cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #f07b21 0%, #d95f00 100%);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}

.notifications-popover {
    position: fixed;
    top: 70px;
    left: 14px;
    z-index: 91;
    width: min(360px, calc(100vw - 20px));
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 250, 244, 0.94);
    border: 1px solid rgba(238, 222, 203, 0.94);
    box-shadow: 0 22px 48px rgba(42, 26, 14, 0.18);
    backdrop-filter: blur(22px) saturate(180%);
}

.radio-popover {
    position: fixed;
    top: 74px;
    right: 14px;
    z-index: 91;
    width: min(330px, calc(100vw - 20px));
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 250, 244, 0.94);
    border: 1px solid rgba(238, 222, 203, 0.94);
    box-shadow: 0 22px 48px rgba(42, 26, 14, 0.18);
    backdrop-filter: blur(22px) saturate(180%);
}

.radio-popover[hidden] {
    display: none;
}

.radio-popover-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.radio-popover-head strong {
    display: block;
    margin-top: 2px;
}

.radio-popover-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #785134;
    font-size: 1.3rem;
    cursor: pointer;
}

.radio-popover-body {
    display: grid;
    gap: 14px;
}

.radio-popover-copy {
    margin: 0;
    color: rgba(75, 67, 61, 0.84);
    font-size: 0.9rem;
    line-height: 1.5;
}

.radio-popover-station {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.82);
}

.radio-popover-station-icon-wrap {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 122, 24, 0.16), rgba(255, 234, 214, 0.84));
    color: #ef6d11;
}

.radio-popover-station-icon {
    width: 23px;
    height: 23px;
}

.radio-popover-station-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.radio-popover-station-copy strong {
    color: #23180f;
    font-size: 1rem;
    line-height: 1.14;
}

.radio-popover-station-copy span {
    color: #7a6a5b;
    font-size: 0.82rem;
    line-height: 1.38;
}

.radio-popover-player {
    width: 100%;
    min-height: 54px;
}

.radio-popover-link {
    min-height: 42px;
}

.radio-inline-controls {
    --radio-inline-menu-reserve: 0px;
    --radio-inline-panel-gap: 4px;
    --radio-inline-sticky-head: 60px;
    position: fixed;
    top: max(8px, env(safe-area-inset-top));
    left: max(8px, env(safe-area-inset-left));
    z-index: 90;
    display: block;
    width: 44px;
    max-width: calc(100vw - 16px);
    max-height: 44px;
    overflow: hidden;
    gap: 0;
    min-height: 44px;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 252, 247, 0.98);
    border: 1px solid rgba(116, 78, 46, 0.12);
    box-shadow: 0 14px 28px rgba(45, 28, 14, 0.12);
    cursor: grab;
    touch-action: auto;
    user-select: none;
    will-change: width, max-height, border-radius;
    transition:
        width 260ms cubic-bezier(0.22, 0.61, 0.36, 1),
        max-height 260ms cubic-bezier(0.22, 0.61, 0.36, 1),
        border-radius 260ms cubic-bezier(0.22, 0.61, 0.36, 1),
        background 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.radio-inline-button {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: #9a4300;
    box-shadow: none;
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease, opacity 160ms ease;
}

.radio-inline-button:active {
    transform: scale(0.96);
}

.radio-inline-toggle {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 134;
    width: 44px;
    height: 44px;
    overflow: visible;
    border-radius: 999px;
    background: transparent;
    border: 0;
    box-shadow: none;
    cursor: grab;
    touch-action: none;
}

.radio-inline-toggle:active {
    transform: none;
}

.radio-inline-panel-open .radio-inline-toggle {
    position: fixed;
    top: max(var(--radio-inline-panel-gap), env(safe-area-inset-top));
    left: max(var(--radio-inline-panel-gap), env(safe-area-inset-left));
    width: 44px;
    height: 44px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.radio-inline-controls.radio-inline-panel-open {
    padding: 0;
    inset:
        var(--radio-inline-panel-gap)
        var(--radio-inline-panel-gap)
        calc(var(--radio-inline-menu-reserve, 0px) + env(safe-area-inset-bottom) + var(--radio-inline-panel-gap))
        var(--radio-inline-panel-gap);
    width: auto;
    max-width: none;
    height: calc(100dvh - var(--radio-inline-menu-reserve, 0px) - env(safe-area-inset-bottom) - (var(--radio-inline-panel-gap) * 2));
    max-height: calc(100dvh - var(--radio-inline-menu-reserve, 0px) - env(safe-area-inset-bottom) - (var(--radio-inline-panel-gap) * 2));
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scroll-padding-top: calc(var(--radio-inline-sticky-head) + 54px);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(116, 78, 46, 0.08);
    box-shadow: 0 10px 24px rgba(45, 28, 14, 0.08);
}

.radio-inline-toggle::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    border: 2px solid transparent;
    pointer-events: none;
}

.radio-inline-icon {
    display: block;
    grid-area: 1 / 1;
    transition: transform 160ms ease, opacity 160ms ease;
}

.radio-inline-radio-icon {
    width: 25px;
    height: 25px;
}

.radio-inline-play-icon {
    width: 22px;
    height: 22px;
    transform: translateX(1px);
}

.radio-inline-pause-icon {
    width: 15px;
    height: 15px;
    opacity: 0;
    transform: scale(0.72);
}

.radio-inline-genre-chip:nth-child(4n + 2) {
    transform: none;
}

.radio-inline-genre-chip:nth-child(5n + 3) {
    transform: none;
}

.radio-inline-genre-chip:hover {
    transform: translateY(-2px);
}

.radio-inline-text-track {
    position: relative;
    display: block;
    width: 94px;
    height: 20px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(137, 101, 72, 0.12);
}

.radio-inline-text-marquee {
    position: absolute;
    top: 50%;
    left: 0;
    display: inline-flex;
    align-items: center;
    gap: 22px;
    width: max-content;
    white-space: nowrap;
    transform: translate3d(0, -50%, 0);
    animation: radio-inline-marquee 7s linear infinite;
}

.radio-inline-text-marquee span {
    flex: 0 0 auto;
    color: rgba(91, 63, 42, 0.76);
    font-size: 0.64rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.radio-inline-audio {
    display: none;
}

.radio-inline-panel[hidden] {
    display: none;
}

.radio-inline-panel {
    position: static;
    z-index: auto;
    display: grid;
    grid-template-rows: auto;
    align-content: start;
    gap: 2px;
    width: 100%;
    height: auto;
    min-width: 0;
    min-height: 100%;
    max-height: none;
    overflow: visible;
    overscroll-behavior: auto;
    padding: max(0px, env(safe-area-inset-top)) 8px max(12px, env(safe-area-inset-bottom));
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #3b2b20;
    cursor: auto;
    touch-action: pan-y;
    user-select: text;
    animation: radio-inline-panel-in 150ms ease;
    scrollbar-color: rgba(240, 123, 33, 0.55) rgba(255, 241, 224, 0.72);
    scrollbar-width: thin;
}

.radio-inline-panel::-webkit-scrollbar {
    width: 8px;
}

.radio-inline-panel::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(255, 241, 224, 0.72);
}

.radio-inline-panel::-webkit-scrollbar-thumb {
    border: 2px solid rgba(255, 241, 224, 0.72);
    border-radius: 999px;
    background: linear-gradient(180deg, #ff9d35, #f07b21);
}

.radio-inline-panel *,
.radio-inline-panel *::before,
.radio-inline-panel *::after {
    max-width: 100%;
}

.radio-inline-panel-head {
    position: sticky;
    top: 0;
    z-index: 126;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 5px;
    min-height: 58px;
    margin-bottom: 0;
    padding: 0 3px 0 0;
    background: rgba(255, 255, 255, 0.99);
    border-radius: 18px 18px 14px 14px;
    box-shadow: none;
    isolation: isolate;
}

.radio-inline-panel-head::after {
    content: "";
    position: absolute;
    right: -8px;
    bottom: -3px;
    left: -8px;
    height: 4px;
    background: rgba(255, 255, 255, 0.99);
    pointer-events: none;
}

.radio-inline-title-group {
    display: inline-flex;
    grid-column: 2;
    align-items: center;
    align-self: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
}

.radio-inline-panel-logo {
    display: block;
    width: auto;
    max-width: min(204px, 58vw);
    height: 56px;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
    filter: none;
}

.radio-inline-panel-play {
    position: relative;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 122, 24, 0.28);
    border-radius: 999px;
    background: linear-gradient(135deg, #ff7a18, #ffa43a);
    color: #fff;
    box-shadow: 0 10px 20px rgba(255, 122, 24, 0.2);
    cursor: pointer;
}

.radio-inline-panel-play::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 2px solid transparent;
    pointer-events: none;
}

.radio-inline-panel-play-icon {
    display: block;
    grid-area: 1 / 1;
    transition: transform 160ms ease, opacity 160ms ease;
}

.radio-inline-eyebrow {
    display: block;
    margin-bottom: 2px;
    color: rgba(122, 93, 67, 0.72);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.radio-inline-heading-subtitle {
    display: block;
    margin-top: 2px;
    color: rgba(122, 93, 67, 0.68);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.1;
}

.radio-inline-panel-head strong {
    display: block;
    transform: none;
    color: #2d2016;
    font-size: 1.04rem;
    line-height: 1.05;
}

.radio-inline-section {
    display: grid;
    gap: 7px;
    margin: 0 0 10px;
}

.radio-inline-section-label {
    color: rgba(122, 93, 67, 0.72);
    font-size: 0.63rem;
    font-weight: 950;
    letter-spacing: 0.09em;
    line-height: 1;
    text-transform: uppercase;
}

.radio-inline-guarago-section {
    gap: 5px;
    min-height: 0;
    margin-top: 18px;
    margin-bottom: 0;
    padding-right: 0;
    overflow-x: hidden;
    overflow-y: visible;
    overscroll-behavior: auto;
}

.radio-inline-genre-groups {
    display: grid;
    align-content: start;
    justify-items: stretch;
    gap: 9px;
    min-height: 0;
}

.radio-inline-genre-section {
    display: grid;
    gap: 7px;
    min-inline-size: 0;
    margin: 0;
    padding: 8px 9px 10px;
    border-radius: 18px;
    border: 1px solid rgba(240, 123, 33, 0.18);
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 139, 55, 0.08), transparent 42%),
        rgba(255, 250, 244, 0.62);
}

.radio-inline-genre-section legend {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: auto;
    max-width: max-content;
    margin: 0 auto 6px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(255, 248, 239, 0.92);
    color: #8b4517;
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.radio-inline-country-flag {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    width: 17px;
    height: 12px;
    overflow: hidden;
    border-radius: 3px;
    background: #22924d;
    box-shadow: inset 0 0 0 1px rgba(30, 80, 48, 0.16);
}

.radio-inline-country-flag-br::before {
    content: "";
    position: absolute;
    inset: 2px 3px;
    background: #f2cf38;
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.radio-inline-country-flag-br::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2853a5;
    transform: translate(-50%, -50%);
}

.radio-inline-country-flag-world {
    border-radius: 3px;
    background:
        linear-gradient(32deg, transparent 0 38%, #fff 39% 45%, #c8102e 46% 53%, #fff 54% 60%, transparent 61%),
        linear-gradient(148deg, transparent 0 38%, #fff 39% 45%, #c8102e 46% 53%, #fff 54% 60%, transparent 61%),
        linear-gradient(90deg, transparent 0 38%, #fff 39% 44%, #c8102e 45% 55%, #fff 56% 61%, transparent 62%),
        linear-gradient(0deg, transparent 0 35%, #fff 36% 43%, #c8102e 44% 56%, #fff 57% 64%, transparent 65%),
        #012169;
}

.radio-inline-country-flag-world::before,
.radio-inline-country-flag-world::after {
    display: none;
}

.radio-inline-genre-group {
    min-inline-size: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.radio-inline-genre-group legend {
    width: auto;
    max-width: max-content;
    margin: 0 0 6px 4px;
    padding: 0 7px;
    border-radius: 999px;
    color: rgba(96, 68, 48, 0.68);
    background: rgba(255, 248, 239, 0.82);
    font-size: 0.58rem;
    font-weight: 950;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: none;
}

.radio-inline-frequency-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.radio-inline-frequency-chip {
    display: grid;
    grid-template-columns: 9px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 8px 10px;
    border: 1px solid rgba(116, 78, 46, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.58);
    color: #3a291e;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 9px 18px rgba(80, 45, 20, 0.05);
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.radio-inline-frequency-chip.radio-inline-frequency-featured {
    border-color: rgba(255, 122, 24, 0.34);
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 122, 24, 0.16), transparent 38%),
        rgba(255, 255, 255, 0.72);
}

.radio-inline-frequency-chip strong,
.radio-inline-frequency-chip small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.radio-inline-frequency-chip strong {
    font-size: 0.76rem;
    font-weight: 950;
    line-height: 1.08;
}

.radio-inline-frequency-chip small {
    margin-top: 2px;
    color: rgba(74, 55, 41, 0.58);
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1.1;
}

.radio-inline-frequency-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 122, 24, 0.55);
    box-shadow: 0 0 0 4px rgba(255, 122, 24, 0.1);
}

.radio-inline-frequency-chip.radio-inline-station-current {
    border-color: rgba(45, 32, 22, 0.18);
    background: #2d2016;
    color: #fff7ef;
    box-shadow: 0 12px 22px rgba(45, 32, 22, 0.14);
}

.radio-inline-frequency-chip.radio-inline-station-current small {
    color: rgba(255, 247, 239, 0.72);
}

.radio-inline-frequency-chip.radio-inline-station-current .radio-inline-frequency-dot,
.radio-inline-frequency-chip.radio-inline-station-playing .radio-inline-frequency-dot {
    background: #20b15a;
    box-shadow: 0 0 0 4px rgba(32, 177, 90, 0.18);
}

.radio-inline-frequency-chip.radio-inline-station-offline,
.radio-inline-frequency-chip:disabled {
    color: rgba(74, 55, 41, 0.52);
    cursor: not-allowed;
    opacity: 0.74;
    box-shadow: none;
}

.radio-inline-frequency-chip.radio-inline-station-offline .radio-inline-frequency-dot,
.radio-inline-frequency-chip:disabled .radio-inline-frequency-dot {
    background: rgba(137, 118, 101, 0.34);
    box-shadow: 0 0 0 4px rgba(137, 118, 101, 0.08);
}

.radio-inline-genre-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    overflow: visible;
}

.radio-inline-genre-chip {
    --genre-tint: #8a6a4f;
    --genre-bg: rgba(138, 106, 79, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 0 1 auto;
    min-width: fit-content;
    max-width: 100%;
    min-height: 30px;
    padding: 4px 8px;
    border-radius: 12px;
    background: var(--genre-bg);
    color: #7a3d16;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.08;
    text-align: left;
    cursor: pointer;
    box-shadow: none;
    transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.radio-inline-genre-emoji {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 1.2em;
    font-size: 1.08em;
    line-height: 1;
}

.radio-inline-genre-chip:hover {
    transform: translateY(-1px);
    background: color-mix(in srgb, var(--genre-tint) 18%, rgba(255, 255, 255, 0.78));
    color: #6d3510;
}

.radio-inline-genre-chip-active {
    background: color-mix(in srgb, var(--genre-tint) 28%, rgba(255, 255, 255, 0.72));
    color: #2f271f;
    box-shadow: none;
}

.radio-inline-genre-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    color: color-mix(in srgb, var(--genre-tint) 82%, #2f271f);
}

.radio-inline-genre-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.radio-inline-genre-label {
    display: block;
    overflow: visible;
    min-width: 0;
    color: inherit;
    text-overflow: clip;
    white-space: nowrap;
}

.radio-inline-genre-chip[data-radio-genre="sertanejo"],
.radio-inline-genre-chip[data-radio-genre="modao"],
.radio-inline-genre-chip[data-radio-genre="universitario"],
.radio-inline-genre-chip[data-radio-genre="vaquejada"],
.radio-inline-genre-chip[data-radio-genre="country"],
.radio-inline-station-preview[data-radio-station-preview-genre="sertanejo"],
.radio-inline-station-preview[data-radio-station-preview-genre="modao"],
.radio-inline-station-preview[data-radio-station-preview-genre="universitario"],
.radio-inline-station-preview[data-radio-station-preview-genre="vaquejada"],
.radio-inline-station-preview[data-radio-station-preview-genre="country"] {
    --genre-tint: #9a6334;
    --genre-bg: rgba(154, 99, 52, 0.13);
}

.radio-inline-genre-chip[data-radio-genre="forro"],
.radio-inline-genre-chip[data-radio-genre="pisadinha"],
.radio-inline-genre-chip[data-radio-genre="piseiro"],
.radio-inline-genre-chip[data-radio-genre="tecnobrega"],
.radio-inline-genre-chip[data-radio-genre="axe"],
.radio-inline-station-preview[data-radio-station-preview-genre="forro"],
.radio-inline-station-preview[data-radio-station-preview-genre="pisadinha"],
.radio-inline-station-preview[data-radio-station-preview-genre="piseiro"],
.radio-inline-station-preview[data-radio-station-preview-genre="tecnobrega"],
.radio-inline-station-preview[data-radio-station-preview-genre="axe"] {
    --genre-tint: #b87518;
    --genre-bg: rgba(184, 117, 24, 0.14);
}

.radio-inline-genre-chip[data-radio-genre="samba"],
.radio-inline-genre-chip[data-radio-genre="pagode"],
.radio-inline-genre-chip[data-radio-genre="sambaenredo"],
.radio-inline-genre-chip[data-radio-genre="reggae"],
.radio-inline-genre-chip[data-radio-genre="indie"],
.radio-inline-genre-chip[data-radio-genre="relax"],
.radio-inline-station-preview[data-radio-station-preview-genre="samba"],
.radio-inline-station-preview[data-radio-station-preview-genre="pagode"],
.radio-inline-station-preview[data-radio-station-preview-genre="sambaenredo"],
.radio-inline-station-preview[data-radio-station-preview-genre="reggae"],
.radio-inline-station-preview[data-radio-station-preview-genre="indie"],
.radio-inline-station-preview[data-radio-station-preview-genre="relax"] {
    --genre-tint: #3f8258;
    --genre-bg: rgba(63, 130, 88, 0.13);
}

.radio-inline-genre-chip[data-radio-genre="pop"],
.radio-inline-genre-chip[data-radio-genre="popnacional"],
.radio-inline-genre-chip[data-radio-genre="kpop"],
.radio-inline-station-preview[data-radio-station-preview-genre="pop"],
.radio-inline-station-preview[data-radio-station-preview-genre="popnacional"],
.radio-inline-station-preview[data-radio-station-preview-genre="kpop"] {
    --genre-tint: #b94f8a;
    --genre-bg: rgba(185, 79, 138, 0.13);
}

.radio-inline-genre-chip[data-radio-genre="romanticas"],
.radio-inline-genre-chip[data-radio-genre="arrocha"],
.radio-inline-genre-chip[data-radio-genre="brega"],
.radio-inline-genre-chip[data-radio-genre="sofrencia"],
.radio-inline-genre-chip[data-radio-genre="rnb"],
.radio-inline-genre-chip[data-radio-genre="soul"],
.radio-inline-genre-chip[data-radio-genre="funkmelody"],
.radio-inline-station-preview[data-radio-station-preview-genre="romanticas"],
.radio-inline-station-preview[data-radio-station-preview-genre="arrocha"],
.radio-inline-station-preview[data-radio-station-preview-genre="brega"],
.radio-inline-station-preview[data-radio-station-preview-genre="sofrencia"],
.radio-inline-station-preview[data-radio-station-preview-genre="rnb"],
.radio-inline-station-preview[data-radio-station-preview-genre="soul"],
.radio-inline-station-preview[data-radio-station-preview-genre="funkmelody"] {
    --genre-tint: #a84f65;
    --genre-bg: rgba(168, 79, 101, 0.13);
}

.radio-inline-genre-chip[data-radio-genre="rock"],
.radio-inline-genre-chip[data-radio-genre="rocknacional"],
.radio-inline-genre-chip[data-radio-genre="alternativo"],
.radio-inline-genre-chip[data-radio-genre="punk"],
.radio-inline-genre-chip[data-radio-genre="metal"],
.radio-inline-station-preview[data-radio-station-preview-genre="rock"],
.radio-inline-station-preview[data-radio-station-preview-genre="rocknacional"],
.radio-inline-station-preview[data-radio-station-preview-genre="alternativo"],
.radio-inline-station-preview[data-radio-station-preview-genre="punk"],
.radio-inline-station-preview[data-radio-station-preview-genre="metal"] {
    --genre-tint: #5f524c;
    --genre-bg: rgba(95, 82, 76, 0.13);
}

.radio-inline-genre-chip[data-radio-genre="rapbr"],
.radio-inline-genre-chip[data-radio-genre="trap"],
.radio-inline-genre-chip[data-radio-genre="hiphop"],
.radio-inline-station-preview[data-radio-station-preview-genre="rapbr"],
.radio-inline-station-preview[data-radio-station-preview-genre="trap"],
.radio-inline-station-preview[data-radio-station-preview-genre="hiphop"],
.radio-inline-station-preview[data-radio-station-preview-genre="hiphop"] {
    --genre-tint: #2f2b31;
    --genre-bg: rgba(47, 43, 49, 0.13);
}

.radio-inline-genre-chip[data-radio-genre="eletronica"],
.radio-inline-genre-chip[data-radio-genre="dance"],
.radio-inline-genre-chip[data-radio-genre="house"],
.radio-inline-genre-chip[data-radio-genre="techno"],
.radio-inline-genre-chip[data-radio-genre="trance"],
.radio-inline-station-preview[data-radio-station-preview-genre="eletronica"],
.radio-inline-station-preview[data-radio-station-preview-genre="dance"],
.radio-inline-station-preview[data-radio-station-preview-genre="house"],
.radio-inline-station-preview[data-radio-station-preview-genre="techno"],
.radio-inline-station-preview[data-radio-station-preview-genre="trance"] {
    --genre-tint: #2d8194;
    --genre-bg: rgba(45, 129, 148, 0.13);
}

.radio-inline-genre-chip[data-radio-genre="jazz"],
.radio-inline-genre-chip[data-radio-genre="blues"],
.radio-inline-genre-chip[data-radio-genre="bossa"],
.radio-inline-genre-chip[data-radio-genre="mpb"],
.radio-inline-genre-chip[data-radio-genre="lofi"],
.radio-inline-station-preview[data-radio-station-preview-genre="jazz"],
.radio-inline-station-preview[data-radio-station-preview-genre="blues"],
.radio-inline-station-preview[data-radio-station-preview-genre="bossa"],
.radio-inline-station-preview[data-radio-station-preview-genre="mpb"],
.radio-inline-station-preview[data-radio-station-preview-genre="lofi"] {
    --genre-tint: #3f7f99;
    --genre-bg: rgba(63, 127, 153, 0.13);
}

.radio-inline-genre-chip[data-radio-genre="anos80"],
.radio-inline-genre-chip[data-radio-genre="anos90"],
.radio-inline-genre-chip[data-radio-genre="anos2000"],
.radio-inline-genre-chip[data-radio-genre="anos80br"],
.radio-inline-genre-chip[data-radio-genre="anos90br"],
.radio-inline-genre-chip[data-radio-genre="jovemguarda"],
.radio-inline-genre-chip[data-radio-genre="mtv90"],
.radio-inline-genre-chip[data-radio-genre="flashbacknacional"],
.radio-inline-genre-chip[data-radio-genre="oldies"],
.radio-inline-genre-chip[data-radio-genre="disco"],
.radio-inline-station-preview[data-radio-station-preview-genre="anos80"],
.radio-inline-station-preview[data-radio-station-preview-genre="anos90"],
.radio-inline-station-preview[data-radio-station-preview-genre="anos2000"],
.radio-inline-station-preview[data-radio-station-preview-genre="anos80br"],
.radio-inline-station-preview[data-radio-station-preview-genre="anos90br"],
.radio-inline-station-preview[data-radio-station-preview-genre="jovemguarda"],
.radio-inline-station-preview[data-radio-station-preview-genre="mtv90"],
.radio-inline-station-preview[data-radio-station-preview-genre="flashbacknacional"],
.radio-inline-station-preview[data-radio-station-preview-genre="oldies"],
.radio-inline-station-preview[data-radio-station-preview-genre="disco"] {
    --genre-tint: #927038;
    --genre-bg: rgba(146, 112, 56, 0.13);
}

.radio-inline-genre-chip[data-radio-genre="latino"],
.radio-inline-genre-chip[data-radio-genre="gospel"],
.radio-inline-genre-chip[data-radio-genre="louvor"],
.radio-inline-genre-chip[data-radio-genre="catolica"],
.radio-inline-genre-chip[data-radio-genre="classica"],
.radio-inline-genre-chip[data-radio-genre="natalinas"],
.radio-inline-station-preview[data-radio-station-preview-genre="latino"],
.radio-inline-station-preview[data-radio-station-preview-genre="gospel"],
.radio-inline-station-preview[data-radio-station-preview-genre="louvor"],
.radio-inline-station-preview[data-radio-station-preview-genre="catolica"],
.radio-inline-station-preview[data-radio-station-preview-genre="classica"],
.radio-inline-station-preview[data-radio-station-preview-genre="natalinas"] {
    --genre-tint: #7466a4;
    --genre-bg: rgba(116, 102, 164, 0.13);
}

.radio-inline-genre-chip[data-radio-genre="infantil"],
.radio-inline-station-preview[data-radio-station-preview-genre="infantil"] {
    --genre-tint: #d45f96;
    --genre-bg: rgba(212, 95, 150, 0.16);
}

.radio-inline-genre-chip[data-radio-genre="funk"],
.radio-inline-genre-chip[data-radio-genre="funkconsciente"],
.radio-inline-station-preview[data-radio-station-preview-genre="funk"],
.radio-inline-station-preview[data-radio-station-preview-genre="funkconsciente"] {
    --genre-tint: #d36a19;
    --genre-bg: rgba(211, 106, 25, 0.16);
}

.radio-inline-genre-chip[data-radio-genre="reggaeton"],
.radio-inline-station-preview[data-radio-station-preview-genre="reggaeton"] {
    --genre-tint: #c85b22;
    --genre-bg: rgba(200, 91, 34, 0.15);
}

.radio-inline-now-card {
    display: contents;
}

.radio-inline-now-heading {
    display: grid;
    justify-items: center;
    gap: 4px;
    min-width: 0;
    padding: 7px 10px;
    border: 1px solid rgba(116, 78, 46, 0.05);
    border-radius: 18px;
    background: #fff8ef;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 8px 18px rgba(80, 45, 20, 0.045);
}

.radio-inline-now-heading small {
    color: rgba(116, 78, 46, 0.54);
    font-size: 0.7rem;
    font-weight: 950;
    letter-spacing: 0.05em;
    line-height: 1;
    text-transform: none;
}

.radio-inline-now-heading strong {
    display: block;
    overflow: hidden;
    max-width: 100%;
    color: #2d2016;
    font-size: 0.94rem;
    font-weight: 950;
    letter-spacing: -0.02em;
    line-height: 1.08;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.radio-inline-player-strip {
    position: sticky;
    top: calc(var(--radio-inline-sticky-head) + 4px);
    z-index: 118;
    display: grid;
    grid-template-rows: auto auto;
    align-items: stretch;
    justify-content: stretch;
    gap: 5px;
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 6px 7px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.99);
    border: 0;
    box-shadow: 0 10px 18px rgba(45, 28, 14, 0.045);
    isolation: isolate;
}

.radio-inline-player-strip::before {
    content: "";
    position: absolute;
    right: -8px;
    bottom: calc(100% - 1px);
    left: -8px;
    z-index: 0;
    height: 6px;
    background: rgba(255, 255, 255, 0.99);
    pointer-events: none;
}

.radio-inline-player-strip::after {
    content: "";
    position: absolute;
    right: -8px;
    bottom: -16px;
    left: -8px;
    height: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.radio-inline-player-strip .radio-inline-track-titlebar {
    position: relative;
    z-index: 1;
    gap: 1px;
    margin: 0;
}

.radio-inline-player-strip .radio-inline-track-titlebar small,
.radio-inline-player-strip .radio-inline-track-titlebar strong {
    max-width: 100%;
}

.radio-inline-player-strip .radio-inline-track-titlebar small {
    font-size: 0.54rem;
    letter-spacing: 0.07em;
}

.radio-inline-player-strip .radio-inline-track-titlebar strong {
    width: 100%;
    max-width: none;
    padding: 4px 9px;
    border: 0;
    background: rgba(255, 246, 236, 0.92);
    font-size: 0.76rem;
}

.radio-inline-player-actions {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    justify-content: stretch;
    gap: 1px;
    width: 100%;
    min-width: 0;
}

.radio-inline-player-actions .radio-inline-control-play {
    justify-self: center;
}

.radio-inline-player-actions .radio-inline-video-toggle {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    min-width: 0;
    padding: 0;
    border-radius: 15px;
}

.radio-inline-control-stack {
    display: grid;
    grid-template-rows: 1fr;
    gap: 0;
    align-self: stretch;
    align-items: center;
    justify-self: stretch;
    min-width: 0;
}

.radio-inline-mini-progress {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    width: 100%;
    padding: 0 7px;
}

.radio-inline-mini-progress > small {
    color: rgba(116, 50, 17, 0.68);
    font-size: 0.68rem;
    font-weight: 950;
    line-height: 1;
    white-space: nowrap;
}

.radio-inline-mini-progress > span {
    position: relative;
    display: block;
    width: 100%;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(116, 78, 46, 0.13);
}

.radio-inline-mini-progress > span > i {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(135deg, #ff7a18, #ffa43a);
    transition: width 400ms linear;
}

.radio-inline-action-icon {
    display: block;
    width: 20px;
    height: 20px;
}

.radio-inline-video-toggle .radio-inline-action-icon {
    width: 22px;
    height: 22px;
}

.radio-inline-now-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
    justify-items: start;
    text-align: left;
}

.radio-inline-now-copy small {
    color: rgba(116, 78, 46, 0.54);
    font-size: 0.56rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
}

.radio-inline-now-copy strong {
    display: block;
    overflow: hidden;
    color: #2d2016;
    font-size: 0.86rem;
    font-weight: 950;
    letter-spacing: -0.02em;
    line-height: 1.08;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.radio-inline-live-media {
    position: relative;
    overflow: hidden;
    justify-self: center;
    width: min(100%, 360px);
    height: auto;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 16 / 9;
    margin-top: -3px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(116, 78, 46, 0.06);
    opacity: 1;
    box-shadow: none;
    transition: height 180ms ease, opacity 160ms ease, border-width 160ms ease;
}

.radio-inline-track-titlebar {
    display: grid;
    justify-items: center;
    gap: 2px;
    min-width: 0;
    margin: -8px 0 -3px;
}

.radio-inline-now-card .radio-inline-track-titlebar {
    margin: 0;
}

.radio-inline-track-titlebar small,
.radio-inline-track-titlebar strong {
    display: block;
    overflow: hidden;
    max-width: min(100%, 330px);
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.radio-inline-track-titlebar small {
    color: rgba(116, 78, 46, 0.58);
    font-size: 0.56rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.radio-inline-track-titlebar strong {
    position: relative;
    padding: 7px 12px;
    border: 1px solid rgba(116, 78, 46, 0.06);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: #2d2016;
    font-size: 0.78rem;
    font-weight: 950;
    line-height: 1;
    box-shadow: none;
}

.radio-inline-track-titlebar strong.radio-inline-title-marquee {
    color: transparent;
    text-overflow: clip;
}

.radio-inline-track-titlebar strong.radio-inline-title-marquee::before {
    content: attr(data-radio-marquee-text) "   •   " attr(data-radio-marquee-text);
    position: absolute;
    top: 50%;
    left: 0;
    width: max-content;
    padding-left: 100%;
    color: #2d2016;
    white-space: nowrap;
    transform: translate3d(0, -50%, 0);
    animation: radio-inline-title-marquee var(--radio-title-marquee-duration, 14s) linear infinite;
}

.radio-inline-now-card .radio-inline-track-titlebar strong {
    width: 100%;
    max-width: none;
    padding: 5px 9px;
    background: rgba(255, 255, 255, 0.7);
}

.radio-inline-now-card .radio-inline-track-titlebar small {
    width: 100%;
    max-width: none;
}

.radio-inline-idle .radio-inline-live-media,
.radio-inline-source-live .radio-inline-live-media,
.radio-inline-video-mode .radio-inline-live-media {
    height: auto;
}

.radio-inline-video-mode .radio-inline-live-media {
    height: auto;
}

.radio-inline-live-media:not(.radio-inline-video-visible) {
    height: 0 !important;
    min-height: 0;
    aspect-ratio: auto;
    margin-top: 0;
    border-width: 0;
    opacity: 0;
    pointer-events: none;
}

.radio-inline-live-media.radio-inline-video-visible {
    height: auto;
    aspect-ratio: 16 / 9;
    margin-top: -3px;
    border-width: 1px;
    opacity: 1;
    pointer-events: auto;
}

.radio-inline-youtube-frame {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #1f130c;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
    user-select: none;
}

.radio-inline-youtube-frame > div,
.radio-inline-youtube-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
    user-select: none;
}

.radio-inline-youtube-ready.radio-inline-video-visible .radio-inline-youtube-frame {
    opacity: 1;
    pointer-events: none;
}

.radio-inline-youtube-ready.radio-inline-video-visible .radio-inline-youtube-frame iframe {
    pointer-events: none;
}

.radio-inline-touch-youtube.radio-inline-youtube-ready.radio-inline-video-visible .radio-inline-youtube-frame,
.radio-inline-touch-youtube.radio-inline-youtube-ready.radio-inline-video-visible .radio-inline-youtube-frame iframe {
    pointer-events: auto;
}

.radio-inline-touch-youtube.radio-inline-source-youtube.radio-inline-video-visible .radio-inline-youtube-frame {
    z-index: 3;
    opacity: 1;
    pointer-events: auto;
}

.radio-inline-touch-youtube.radio-inline-source-youtube.radio-inline-video-visible .radio-inline-youtube-frame iframe {
    pointer-events: auto;
}

.radio-inline-touch-youtube.radio-inline-source-youtube.radio-inline-video-visible .radio-inline-radio-poster {
    opacity: 0;
    pointer-events: none;
}

.radio-inline-mobile-youtube.radio-inline-video-visible .radio-inline-youtube-frame,
.radio-inline-mobile-youtube.radio-inline-idle.radio-inline-video-visible .radio-inline-youtube-frame {
    opacity: 1 !important;
    pointer-events: none;
}

.radio-inline-mobile-youtube.radio-inline-video-visible .radio-inline-youtube-frame iframe {
    pointer-events: none;
}

.radio-inline-touch-youtube.radio-inline-mobile-youtube.radio-inline-video-visible .radio-inline-youtube-frame,
.radio-inline-touch-youtube.radio-inline-mobile-youtube.radio-inline-video-visible .radio-inline-youtube-frame iframe {
    pointer-events: auto;
}

.radio-inline-mobile-youtube.radio-inline-video-visible .radio-inline-radio-poster,
.radio-inline-mobile-youtube.radio-inline-idle.radio-inline-video-visible .radio-inline-radio-poster {
    opacity: 0 !important;
    pointer-events: none;
}

.radio-inline-source-live .radio-inline-youtube-frame {
    opacity: 0;
}

.radio-inline-live-cover,
.radio-inline-live-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.radio-inline-live-cover {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.92;
    filter: saturate(1.06);
}

.radio-inline-source-live .radio-inline-live-cover {
    opacity: 0;
}

.radio-inline-radio-poster {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    align-content: center;
    align-items: center;
    justify-items: stretch;
    gap: 8px;
    padding: 10px;
    border: 0;
    color: #3f2619;
    text-align: left;
    background: #fff;
    transition: opacity 220ms ease, transform 220ms ease;
    cursor: default;
}

.radio-inline-lyrics-roll {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: none;
    align-items: center;
    overflow: hidden;
    opacity: 0.95;
    pointer-events: none;
    transition: opacity 180ms ease;
}

.radio-inline-lyrics-roll::before,
.radio-inline-lyrics-roll::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 3;
    width: 50px;
    pointer-events: none;
}

.radio-inline-lyrics-roll::before {
    left: 0;
    background: linear-gradient(90deg, #fff7ec, rgba(255, 247, 236, 0));
}

.radio-inline-lyrics-roll::after {
    right: 0;
    background: linear-gradient(270deg, #fff7ec, rgba(255, 247, 236, 0));
}

.radio-inline-lyrics-roll [data-radio-lyrics-track] {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    width: max-content;
    min-width: 100%;
    padding: 0 18px;
    animation: radio-inline-lyrics-scroll 22s linear infinite;
    will-change: transform;
}

.radio-inline-lyrics-roll span {
    display: inline-flex;
    align-items: center;
    max-width: 260px;
    padding: 8px 11px;
    border: 1px solid rgba(240, 123, 33, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.56);
    color: rgba(61, 41, 29, 0.84);
    font-size: 0.75rem;
    font-weight: 850;
    line-height: 1.12;
    white-space: nowrap;
    box-shadow: 0 10px 18px rgba(140, 76, 25, 0.06);
}

.radio-inline-lyrics-roll.radio-inline-has-lyrics span {
    color: #3d291d;
    font-size: 0.78rem;
    font-weight: 900;
}

.radio-inline-video-visible .radio-inline-lyrics-roll {
    opacity: 0;
}

.radio-inline-source-youtube:not(.radio-inline-idle):not(.radio-inline-video-mode) .radio-inline-player-overlay {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.96);
}

.radio-inline-source-youtube:not(.radio-inline-idle):not(.radio-inline-video-mode) .radio-inline-lyrics-roll {
    opacity: 1;
}

.radio-inline-player-overlay {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 5;
    display: none;
    justify-items: center;
    gap: 5px;
    width: min(82%, 280px);
    padding: 14px 13px;
    border: 1px solid rgba(255, 122, 24, 0.13);
    border-radius: 18px;
    background: rgba(255, 250, 244, 0.9);
    color: #2d2016;
    text-align: center;
    box-shadow: 0 14px 26px rgba(80, 45, 20, 0.1);
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
}

.radio-inline-player-overlay small {
    color: rgba(116, 78, 46, 0.58);
    font-size: 0.58rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
}

.radio-inline-player-overlay strong {
    display: -webkit-box;
    overflow: hidden;
    max-width: 100%;
    color: #2d2016;
    font-size: 0.92rem;
    font-weight: 950;
    letter-spacing: -0.02em;
    line-height: 1.08;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.radio-inline-player-overlay em {
    display: block;
    overflow: hidden;
    max-width: 100%;
    color: rgba(110, 68, 39, 0.68);
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 850;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.radio-inline-video-visible .radio-inline-player-overlay {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(29, 19, 12, 0.62);
    color: #fff8ef;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

.radio-inline-video-visible .radio-inline-player-overlay small {
    color: rgba(255, 248, 239, 0.72);
}

.radio-inline-video-visible .radio-inline-player-overlay strong {
    color: #fff8ef;
}

.radio-inline-video-transition .radio-inline-youtube-frame {
    opacity: 0 !important;
}

.radio-inline-video-transition .radio-inline-radio-poster {
    z-index: 3;
    opacity: 1 !important;
    transform: none;
    pointer-events: none;
}

.radio-inline-video-transition .radio-inline-player-overlay {
    display: grid;
    opacity: 1 !important;
    transform: translate(-50%, -50%);
}

.radio-inline-video-transition .radio-inline-lyrics-roll,
.radio-inline-video-transition .radio-inline-up-next,
.radio-inline-video-transition .radio-inline-station-overview {
    display: none !important;
}

.radio-inline-idle .radio-inline-youtube-frame {
    opacity: 0 !important;
}

.radio-inline-idle .radio-inline-tuner-card {
    display: none !important;
}

.radio-inline-idle .radio-inline-radio-poster {
    z-index: 3;
    opacity: 1 !important;
    transform: none;
    pointer-events: auto;
}

.radio-inline-idle .radio-inline-radio-poster .radio-inline-up-next {
    display: none !important;
}

.radio-inline-station-overview {
    position: relative;
    z-index: 4;
    display: none;
    grid-template-rows: minmax(0, 1fr);
    gap: 0;
    height: 100%;
    min-height: 0;
    padding: 4px 7px;
    overflow: hidden;
    border: 1px solid rgba(116, 78, 46, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: none;
}

.radio-inline-idle .radio-inline-station-overview {
    display: grid;
}

.radio-inline-station-overview[hidden],
.radio-inline-video-visible .radio-inline-station-overview {
    display: none !important;
}

.radio-inline-station-overview {
    display: none !important;
}

.radio-inline-station-preview-window {
    position: relative;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}


.radio-inline-station-preview-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 5px;
    min-height: 0;
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0, -50%, 0);
    animation: none;
}

.radio-inline-station-preview-list-running {
    animation: radio-inline-station-roll-down var(--radio-station-roll-duration, 38s) linear infinite !important;
}

.radio-inline-station-preview {
    --genre-tint: #b76b2b;
    --genre-bg: rgba(138, 106, 79, 0.1);
    position: relative;
    display: grid;
    grid-template-columns: minmax(104px, 0.4fr) minmax(0, 1fr);
    align-items: center;
    column-gap: 8px;
    row-gap: 2px;
    min-width: 0;
    min-height: 42px;
    padding: 8px 10px;
    overflow: hidden;
    border: 0;
    border-radius: 15px;
    background:
        linear-gradient(
            135deg,
            color-mix(in srgb, var(--genre-tint) 16%, rgba(255, 255, 255, 0.86)),
            rgba(255, 255, 255, 0.68)
        );
    color: #34231a;
    text-align: left;
    cursor: pointer;
    box-shadow: none;
}

.radio-inline-station-preview:hover,
.radio-inline-station-preview:focus-visible {
    background:
        linear-gradient(
            135deg,
            color-mix(in srgb, var(--genre-tint) 24%, rgba(255, 255, 255, 0.9)),
            rgba(255, 255, 255, 0.78)
        );
}

.radio-inline-station-preview strong,
.radio-inline-station-preview small,
.radio-inline-station-preview em {
    display: block;
    overflow: hidden;
    max-width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.radio-inline-station-preview strong {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2d2016;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: -0.01em;
    line-height: 1.08;
}

.radio-inline-station-preview-name {
    overflow: hidden;
    min-width: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.radio-inline-station-preview small {
    grid-column: 2;
    color: rgba(122, 93, 67, 0.72);
    font-size: 0.54rem;
    font-weight: 950;
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
}

.radio-inline-station-preview em {
    grid-column: 2;
    color: rgba(74, 55, 41, 0.7);
    font-size: 0.66rem;
    font-style: normal;
    font-weight: 800;
    line-height: 1.08;
}

@keyframes radio-inline-station-roll-down {
    from {
        transform: translate3d(0, -50%, 0);
    }

    to {
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .radio-inline-station-preview-list-running {
        animation: none;
        transform: translate3d(0, 0, 0);
    }
}

.radio-inline-idle [data-radio-idle-copy] {
    display: grid;
    height: 100%;
    align-items: center;
}

.radio-inline-idle-stations {
    display: none;
    grid-row: 1 / -1;
    gap: 8px;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    padding: 0;
}

.radio-inline-idle .radio-inline-idle-stations {
    display: grid;
}

.radio-inline-idle-stations .radio-inline-frequency-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(0, 1fr);
    gap: 8px;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.radio-inline-idle-stations .radio-inline-frequency-chip {
    --radio-card-accent: #f07b21;
    --radio-card-glow: rgba(240, 123, 33, 0.1);
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    align-items: center;
    justify-items: start;
    gap: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 10px 9px;
    overflow: hidden;
    border-color: rgba(86, 60, 42, 0.09);
    border-radius: 17px;
    background:
        radial-gradient(circle at 100% 0%, var(--radio-card-glow), transparent 45%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 248, 239, 0.64));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        0 9px 16px rgba(88, 48, 19, 0.045);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.radio-inline-idle-stations .radio-inline-frequency-chip:nth-child(3n + 2) {
    --radio-card-accent: #c05a2a;
    --radio-card-glow: rgba(192, 90, 42, 0.09);
}

.radio-inline-idle-stations .radio-inline-frequency-chip:nth-child(3n) {
    --radio-card-accent: #2b9c79;
    --radio-card-glow: rgba(43, 156, 121, 0.09);
}

.radio-inline-idle-stations .radio-inline-frequency-chip:hover,
.radio-inline-idle-stations .radio-inline-frequency-chip:focus-visible {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--radio-card-accent) 36%, transparent);
    background:
        radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--radio-card-accent) 14%, transparent), transparent 46%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 246, 236, 0.76));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 12px 20px rgba(88, 48, 19, 0.07);
}

.radio-inline-idle-stations .radio-inline-frequency-chip > span:last-child {
    width: 100%;
    min-width: 0;
    padding-right: 12px;
}

.radio-inline-idle-stations .radio-inline-frequency-chip strong,
.radio-inline-idle-stations .radio-inline-frequency-chip small {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
}

.radio-inline-idle-stations .radio-inline-frequency-chip strong {
    display: block;
    color: #36251c;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: -0.015em;
    line-height: 1.08;
}

.radio-inline-idle-stations .radio-inline-frequency-chip small {
    display: block;
    margin-top: 4px;
    color: rgba(74, 55, 41, 0.58);
    font-size: 0.58rem;
    font-weight: 850;
    line-height: 1.08;
}

.radio-inline-idle-stations .radio-inline-frequency-chip.radio-inline-frequency-featured {
    --radio-card-accent: #f07b21;
    --radio-card-glow: rgba(240, 123, 33, 0.16);
    border-color: rgba(240, 123, 33, 0.2);
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 122, 24, 0.18), transparent 44%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 238, 218, 0.78));
}

.radio-inline-idle-stations .radio-inline-frequency-chip.radio-inline-station-current {
    border-color: rgba(240, 123, 33, 0.38);
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 122, 24, 0.24), transparent 44%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 236, 214, 0.84));
}

.radio-inline-idle-stations .radio-inline-frequency-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 7px;
    height: 7px;
    background: var(--radio-card-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--radio-card-accent) 14%, transparent);
}

.radio-inline-poster-brand {
    display: grid;
    justify-items: center;
    gap: 4px;
}

.radio-inline-poster-brand img {
    width: min(196px, 74%);
    max-height: 78px;
    object-fit: contain;
    filter: drop-shadow(0 14px 24px rgba(132, 70, 20, 0.18));
}

.radio-inline-poster-brand span {
    color: rgba(102, 57, 28, 0.68);
    font-size: 0.7rem;
    font-weight: 950;
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
}

.radio-inline-poster-track {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid rgba(240, 123, 33, 0.12);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: 0 12px 24px rgba(140, 76, 25, 0.08);
}

.radio-inline-cover-play {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(240, 123, 33, 0.28);
    border-radius: 16px;
    background: linear-gradient(135deg, #f07b21, #ff9d35);
    color: #fff8ef;
    box-shadow: 0 12px 24px rgba(240, 123, 33, 0.24);
    cursor: pointer;
}

.radio-inline-cover-play::after {
    content: "";
    position: absolute;
    inset: -4px;
    border: 2px solid transparent;
    border-radius: inherit;
    pointer-events: none;
}

.radio-inline-cover-play .radio-inline-play-icon {
    width: 24px;
    height: 24px;
}

.radio-inline-cover-play .radio-inline-pause-icon {
    width: 16px;
    height: 16px;
}

.radio-inline-poster-track-copy {
    display: grid;
    min-width: 0;
    gap: 4px;
    text-align: center;
}

.radio-inline-poster-track-copy small {
    color: rgba(110, 68, 39, 0.62);
    font-size: 0.62rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.radio-inline-poster-track-copy strong {
    display: -webkit-box;
    overflow: hidden;
    color: #3d291d;
    font-size: 0.82rem;
    font-weight: 950;
    line-height: 1.14;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.radio-inline-poster-track-copy em {
    overflow: hidden;
    color: rgba(110, 68, 39, 0.68);
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 850;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.radio-inline-video-visible .radio-inline-radio-poster,
.radio-inline-source-live .radio-inline-radio-poster {
    opacity: 0 !important;
    transform: scale(1.02);
    pointer-events: none;
}

.radio-inline-idle.radio-inline-video-visible .radio-inline-radio-poster,
.radio-inline-idle.radio-inline-source-live .radio-inline-radio-poster {
    z-index: 3;
    opacity: 1 !important;
    transform: none;
    pointer-events: auto;
}

.radio-inline-video-toggle,
.radio-inline-radio-view-toggle {
    --radio-video-progress: 0%;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
    height: 32px;
    min-width: 0;
    padding: 0 10px;
    border: 1px solid rgba(116, 78, 46, 0.06);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    color: #743211;
    font-size: 0.69rem;
    font-weight: 950;
    line-height: normal;
    overflow: hidden;
    isolation: isolate;
    box-shadow: none;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.radio-inline-radio-view-toggle {
    border-color: rgba(44, 94, 76, 0.16);
    background: rgba(238, 249, 243, 0.72);
    color: #215b46;
}

.radio-inline-video-toggle::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 0;
    width: var(--radio-video-progress);
    border-radius: inherit;
    background: linear-gradient(135deg, #f07b21, #ffae55);
    opacity: 0;
    transition: width 140ms linear, opacity 160ms ease;
}

.radio-inline-video-toggle span {
    position: relative;
    z-index: 1;
    display: block;
    min-width: 0;
    line-height: normal;
    white-space: nowrap;
}

.radio-inline-video-toggle-symbol {
    position: relative;
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(240, 123, 33, 0.14);
    box-shadow: inset 0 0 0 1px rgba(240, 123, 33, 0.14);
}

.radio-inline-video-toggle-symbol::before {
    content: "";
    position: absolute;
    inset: 4px 3px 4px 5px;
    background: currentColor;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.radio-inline-video-toggle[aria-pressed="true"] .radio-inline-video-toggle-symbol {
    background: rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.radio-inline-video-toggle[aria-pressed="true"] .radio-inline-video-toggle-symbol::before {
    inset: 4px;
    border-radius: 2px;
    clip-path: none;
}

.radio-inline-video-toggle:disabled,
.radio-inline-video-toggle[aria-disabled="true"] {
    opacity: 1;
    color: rgba(116, 50, 17, 0.62);
    border-color: rgba(116, 50, 17, 0.1);
    background: rgba(255, 248, 240, 0.6);
    box-shadow: none;
    cursor: not-allowed;
}

.radio-inline-video-toggle[aria-pressed="true"] {
    background: rgba(255, 241, 224, 0.86);
    border-color: rgba(240, 123, 33, 0.18);
    color: #9a4300;
}

.radio-inline-video-mode .radio-inline-radio-view-toggle {
    background: linear-gradient(135deg, #185c45, #2b8f6b);
    color: #f4fff9;
}

.radio-inline-video-toggle-icon {
    width: 13px;
    height: 13px;
    transform: translateX(1px);
}

.radio-inline-tuner-card {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: none;
    align-content: center;
    justify-items: center;
    gap: 8px;
    padding: 20px;
    color: #fff7ef;
    text-align: center;
    background:
        radial-gradient(circle at 24% 18%, rgba(255, 164, 58, 0.34), transparent 35%),
        radial-gradient(circle at 78% 72%, rgba(32, 177, 90, 0.28), transparent 34%),
        linear-gradient(145deg, #25170f 0%, #5f3217 100%);
}

.radio-inline-source-live .radio-inline-tuner-card {
    display: grid;
}

.radio-inline-tuner-card::before {
    content: "";
    width: min(72%, 210px);
    height: 7px;
    border-radius: 999px;
    background:
        linear-gradient(90deg, transparent 0 8%, rgba(255, 247, 239, 0.22) 8% 10%, transparent 10% 18%),
        linear-gradient(90deg, rgba(255, 247, 239, 0.18), rgba(255, 164, 58, 0.92), rgba(32, 177, 90, 0.9));
    box-shadow: 0 0 28px rgba(255, 122, 24, 0.34);
}

.radio-inline-tuner-card span {
    color: rgba(255, 247, 239, 0.64);
    font-size: 0.64rem;
    font-weight: 950;
    letter-spacing: 0.16em;
    line-height: 1;
    text-transform: uppercase;
}

.radio-inline-tuner-card strong {
    max-width: 100%;
    overflow: hidden;
    color: #fff7ef;
    font-size: 1.15rem;
    font-weight: 950;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.radio-inline-tuner-card small {
    color: rgba(255, 247, 239, 0.76);
    font-size: 0.76rem;
    font-weight: 850;
    line-height: 1;
}

.radio-inline-tuner-card em {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(32, 177, 90, 0.16);
    color: #dfffea;
    font-size: 0.62rem;
    font-style: normal;
    font-weight: 950;
    letter-spacing: 0.08em;
}

.radio-inline-tuner-card em::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #20b15a;
    box-shadow: 0 0 0 4px rgba(32, 177, 90, 0.18);
}

.radio-inline-progress {
    display: grid;
    gap: 0;
    min-width: 0;
    margin: 0 1px;
    padding: 5px 7px;
    border-radius: 18px 18px 12px 12px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(116, 78, 46, 0.06);
    box-shadow: none;
}

.radio-inline-timeline {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.radio-inline-progress-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
}

.radio-inline-control-play {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    box-shadow: 0 8px 18px rgba(255, 122, 24, 0.18);
}

.radio-inline-control-play .radio-inline-play-icon {
    width: 20px;
    height: 20px;
}

.radio-inline-control-play .radio-inline-pause-icon {
    width: 15px;
    height: 15px;
}

.radio-inline-timeline > span {
    position: relative;
    display: block;
    width: 100%;
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(116, 78, 46, 0.12);
}

.radio-inline-timeline > span > i {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(135deg, #ff7a18, #ffa43a);
    transition: width 400ms linear;
}

.radio-inline-timeline > small {
    color: rgba(74, 55, 41, 0.66);
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.radio-inline-up-next {
    display: grid;
    gap: 6px;
    justify-self: center;
    width: 100%;
    max-width: 300px;
    min-width: 0;
    margin: 1px 3px 3px;
    padding: 9px 10px;
    border: 1px solid rgba(116, 78, 46, 0.1);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.46);
}

.radio-inline-radio-poster .radio-inline-up-next {
    position: relative;
    z-index: 4;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 8px 9px;
    overflow: hidden;
    background: rgba(255, 252, 248, 0.86);
    box-shadow: 0 12px 24px rgba(140, 76, 25, 0.07);
}

.radio-inline-radio-poster .radio-inline-up-next ol {
    gap: 5px;
    min-height: 0;
    overflow: hidden;
    padding-right: 2px;
}

.radio-inline-radio-poster .radio-inline-up-next li {
    grid-template-columns: 20px minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 38px;
    padding: 2px 0;
    font-size: 0.72rem;
    line-height: 1.1;
}

.radio-inline-radio-poster .radio-inline-up-next li::before {
    width: 20px;
    height: 20px;
    font-size: 0.58rem;
}

.radio-inline-up-next[hidden] {
    display: none;
}

.radio-inline-video-visible .radio-inline-up-next {
    display: none !important;
}

.radio-inline-up-next > span {
    color: rgba(122, 93, 67, 0.68);
    font-size: 0.6rem;
    font-weight: 950;
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
}

.radio-inline-up-next ol {
    display: grid;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: radio-up-next;
}

.radio-inline-up-next li {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px;
    min-width: 0;
    color: rgba(45, 32, 22, 0.86);
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1.16;
    counter-increment: radio-up-next;
}

.radio-inline-up-next li::before {
    content: counter(radio-up-next);
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(240, 123, 33, 0.12);
    color: #9a4300;
    font-size: 0.58rem;
    font-weight: 950;
}

.radio-inline-up-next li span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.radio-inline-up-next-title {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.radio-inline-up-next-title strong,
.radio-inline-up-next-title small {
    display: block;
    overflow: hidden;
    max-width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.radio-inline-up-next-title strong {
    color: #2d2016;
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: -0.01em;
}

.radio-inline-up-next-title small {
    color: rgba(122, 93, 67, 0.68);
    font-size: 0.6rem;
    font-weight: 850;
}

.radio-inline-up-next-vote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 38px;
    height: 25px;
    padding: 0 8px;
    border: 1px solid rgba(116, 78, 46, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.56);
    color: rgba(116, 78, 46, 0.72);
    font-size: 0.68rem;
    font-weight: 950;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(140, 76, 25, 0.06);
    transition:
        background 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.radio-inline-up-next-vote:hover,
.radio-inline-up-next-vote:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(255, 122, 24, 0.36);
    color: #de4a18;
    box-shadow: 0 10px 20px rgba(255, 122, 24, 0.14);
}

.radio-inline-up-next-vote-selected {
    border-color: rgba(255, 122, 24, 0.38);
    background: linear-gradient(135deg, rgba(255, 122, 24, 0.18), rgba(255, 164, 58, 0.2));
    color: #df3d10;
}

.radio-inline-up-next-vote-winning {
    box-shadow: 0 10px 22px rgba(255, 122, 24, 0.18);
}

.radio-inline-up-next-vote-heart {
    color: currentColor;
    font-size: 0.78rem;
    line-height: 1;
}

.radio-inline-up-next li .radio-inline-up-next-vote span {
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
}

.radio-inline-radio-poster .radio-inline-up-next-vote {
    min-width: 46px;
    height: 30px;
    padding: 0 10px;
    font-size: 0.72rem;
}

.radio-inline-player-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.radio-inline-player-copy span {
    color: rgba(122, 93, 67, 0.72);
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.radio-inline-player-copy strong {
    overflow: hidden;
    color: #2d2016;
    font-size: 0.9rem;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.radio-inline-player-copy small {
    color: rgba(122, 93, 67, 0.72);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.1;
}

.radio-inline-player-copy small:empty {
    display: none;
}

.radio-inline-panel-close {
    display: inline-grid;
    grid-column: 3;
    align-self: center;
    justify-self: center;
    place-items: center;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0 0 2px;
    transform: none;
    border: 0;
    border-radius: 999px;
    background: rgba(84, 55, 33, 0.08);
    color: #6f472b;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.radio-inline-panel-copy,
.radio-inline-panel-note {
    margin: 0;
    color: rgba(59, 43, 32, 0.72);
    font-size: 0.78rem;
    line-height: 1.34;
}

.radio-inline-panel-note {
    margin-top: 10px;
    color: rgba(94, 72, 54, 0.58);
    font-size: 0.72rem;
}

.radio-inline-ad-banner,
.radio-inline-ad-carousel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(240, 123, 33, 0.16);
    border-radius: 22px;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 122, 24, 0.2), transparent 34%),
        linear-gradient(135deg, rgba(255, 250, 244, 0.94), rgba(255, 233, 211, 0.82));
    box-shadow: 0 14px 28px rgba(80, 45, 20, 0.08);
}

.radio-inline-ad-banner {
    display: grid;
    gap: 3px;
    margin-top: 9px;
    min-height: 78px;
    padding: 13px 15px;
}

.radio-inline-ad-banner::after,
.radio-inline-ad-carousel::after {
    content: "";
    position: absolute;
    right: -22px;
    bottom: -28px;
    width: 96px;
    height: 96px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.46);
    pointer-events: none;
}

.radio-inline-ad-banner span,
.radio-inline-ad-slide span {
    position: relative;
    z-index: 1;
    color: #a34a08;
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.radio-inline-ad-banner strong,
.radio-inline-ad-slide strong {
    position: relative;
    z-index: 1;
    color: #2f2118;
    font-size: 1.02rem;
    line-height: 1.08;
}

.radio-inline-ad-banner small,
.radio-inline-ad-slide small {
    position: relative;
    z-index: 1;
    color: rgba(74, 55, 41, 0.64);
    font-size: 0.72rem;
    line-height: 1.25;
}

.radio-inline-station-list {
    display: grid;
    gap: 7px;
    margin-top: 0;
}

.radio-inline-station {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 36px;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 58px;
    padding: 9px;
    border: 1px solid rgba(255, 122, 24, 0.14);
    border-radius: 20px;
    background: rgba(255, 248, 239, 0.86);
    color: #3a291e;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(105, 59, 24, 0.06);
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.radio-inline-station:hover,
.radio-inline-station:focus-visible {
    border-color: rgba(255, 122, 24, 0.38);
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(45, 28, 14, 0.08);
}

.radio-inline-station-current {
    border-color: rgba(255, 122, 24, 0.48);
    background: rgba(255, 246, 235, 0.94);
}

.radio-inline-station-featured {
    border-color: rgba(255, 122, 24, 0.22);
    background:
        radial-gradient(circle at 2% 0%, rgba(255, 122, 24, 0.14), transparent 30%),
        linear-gradient(135deg, rgba(255, 249, 242, 0.98), rgba(255, 255, 255, 0.82));
}

.radio-inline-station-offline,
.radio-inline-station-offline:hover,
.radio-inline-station-offline:focus-visible {
    border-color: rgba(153, 132, 112, 0.18);
    background: rgba(255, 255, 255, 0.46);
    color: rgba(58, 41, 30, 0.68);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.radio-inline-station-icon-wrap,
.radio-inline-station-action {
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
}

.radio-inline-station-icon-wrap {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #ff7a18, #ffa43a);
    color: #fff;
    box-shadow: inset 0 -10px 18px rgba(137, 57, 0, 0.14);
}

.radio-inline-station-icon {
    width: 20px;
    height: 20px;
}

.radio-inline-station-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.radio-inline-station-copy strong,
.radio-inline-station-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.radio-inline-station-copy strong {
    color: #2f2118;
    font-size: 0.92rem;
    line-height: 1.1;
}

.radio-inline-station-copy small {
    color: rgba(74, 55, 41, 0.62);
    font-size: 0.71rem;
    line-height: 1.12;
}

.radio-inline-station-action {
    width: 36px;
    height: 36px;
    background: rgba(255, 122, 24, 0.13);
    color: #c75d0d;
}

.radio-inline-live-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 54px;
    min-height: 28px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(32, 177, 90, 0.1);
    color: #168046;
    font-size: 0.63rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.radio-inline-live-pill i {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #20b15a;
    box-shadow: 0 0 0 4px rgba(32, 177, 90, 0.12);
}

.radio-inline-station-offline .radio-inline-station-icon-wrap,
.radio-inline-station-offline .radio-inline-station-action {
    background: rgba(137, 118, 101, 0.12);
    color: rgba(96, 79, 65, 0.56);
}

.radio-inline-station-unavailable {
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.radio-inline-now {
    display: grid;
    gap: 7px;
    margin-top: 9px;
    padding: 10px;
    border: 1px solid rgba(57, 39, 25, 0.08);
    border-radius: 19px;
    background: rgba(255, 255, 255, 0.76);
}

.radio-inline-now-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.radio-inline-now-head span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(122, 93, 67, 0.72);
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.radio-inline-now-head span i {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #20b15a;
    box-shadow: 0 0 0 5px rgba(32, 177, 90, 0.13);
}

.radio-inline-now-head time {
    color: rgba(91, 63, 42, 0.56);
    font-size: 0.66rem;
    font-weight: 800;
}

.radio-inline-now-body {
    display: grid;
    gap: 3px;
}

.radio-inline-now-body strong {
    color: #2f2118;
    font-size: 0.94rem;
    line-height: 1.14;
}

.radio-inline-now-body small {
    color: rgba(74, 55, 41, 0.64);
    font-size: 0.75rem;
    line-height: 1.28;
}

.radio-inline-chat {
    display: grid;
    gap: 9px;
    margin-top: 9px;
    padding: 10px;
    border: 1px solid rgba(57, 39, 25, 0.08);
    border-radius: 21px;
    background: rgba(255, 248, 240, 0.72);
}

.radio-inline-chat-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.radio-inline-chat-head div {
    display: grid;
    gap: 2px;
}

.radio-inline-chat-head strong {
    color: #2f2118;
    font-size: 0.9rem;
    line-height: 1.1;
}

.radio-inline-chat-head span {
    color: rgba(74, 55, 41, 0.62);
    font-size: 0.72rem;
    line-height: 1.25;
}

.radio-inline-chat-live {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(255, 122, 24, 0.12);
    color: #b45209 !important;
    font-size: 0.62rem !important;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.radio-inline-chat-list {
    display: grid;
    gap: 8px;
    min-height: 230px;
    max-height: min(360px, 44vh);
    overflow: auto;
    padding: 2px 3px 2px 0;
    overscroll-behavior: contain;
}

.radio-inline-chat-empty {
    margin: 0;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 246, 235, 0.7);
    color: rgba(74, 55, 41, 0.58);
    font-size: 0.74rem;
    line-height: 1.3;
    text-align: center;
}

.radio-inline-chat-message-item {
    display: grid;
    gap: 4px;
    justify-self: start;
    max-width: 88%;
    padding: 10px 11px;
    border-radius: 17px 17px 17px 7px;
    background: rgba(255, 255, 255, 0.86);
    color: #3a291e;
    box-shadow: 0 8px 18px rgba(84, 55, 33, 0.05);
}

.radio-inline-chat-message-radio {
    justify-self: end;
    border-radius: 17px 17px 7px 17px;
    background: linear-gradient(135deg, rgba(255, 122, 24, 0.95), rgba(255, 164, 58, 0.92));
    color: #fff;
}

.radio-inline-chat-message-top {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.radio-inline-chat-message-top strong {
    overflow: hidden;
    color: inherit;
    font-size: 0.72rem;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.radio-inline-chat-message-top time {
    flex: 0 0 auto;
    color: currentColor;
    font-size: 0.62rem;
    line-height: 1;
    opacity: 0.62;
}

.radio-inline-chat-message-item p {
    margin: 0;
    color: inherit;
    font-size: 0.78rem;
    line-height: 1.28;
    word-break: break-word;
}

.radio-inline-chat-form {
    display: grid;
    gap: 7px;
}

.radio-inline-chat-author {
    margin: 0;
    color: rgba(94, 72, 54, 0.62);
    font-size: 0.69rem;
    line-height: 1.2;
}

.radio-inline-chat-login {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 9px;
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(124, 85, 55, 0.1);
}

.radio-inline-chat-login span {
    color: rgba(74, 55, 41, 0.68);
    font-size: 0.72rem;
    line-height: 1.25;
}

.radio-inline-chat-login a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 13px;
    border-radius: 999px;
    background: #2f2118;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 900;
    text-decoration: none;
}

.radio-inline-chat-name,
.radio-inline-chat-input {
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(124, 85, 55, 0.13);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #2f2118;
    font: inherit;
    font-size: 0.78rem;
    outline: none;
}

.radio-inline-chat-name {
    height: 36px;
    padding: 0 11px;
}

.radio-inline-chat-send {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px;
}

.radio-inline-chat-input {
    height: 38px;
    padding: 0 11px;
}

.radio-inline-chat-send button {
    min-height: 38px;
    padding: 0 15px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff7a18, #ffa43a);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
    cursor: pointer;
}

.radio-inline-chat-send button:disabled {
    cursor: wait;
    opacity: 0.68;
}

.radio-inline-chat-status {
    min-height: 0;
    margin: 0;
    color: rgba(94, 72, 54, 0.62);
    font-size: 0.68rem;
    line-height: 1.2;
}

.radio-inline-chat-status:empty {
    display: none;
}

.radio-inline-ad-carousel {
    display: grid;
    min-height: 88px;
    margin-top: 9px;
}

.radio-inline-ad-slide {
    grid-area: 1 / 1;
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 13px 46px 17px 15px;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 260ms ease, transform 260ms ease;
    pointer-events: none;
}

.radio-inline-ad-slide-active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.radio-inline-ad-dots {
    position: absolute;
    left: 15px;
    bottom: 8px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.radio-inline-ad-dot {
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: rgba(122, 76, 42, 0.28);
    transition: width 220ms ease, background 220ms ease;
}

.radio-inline-ad-dot-active {
    width: 15px;
    background: #f07b21;
}

.radio-inline-contact-card {
    display: grid;
    gap: 7px;
    margin-top: 9px;
    padding: 9px;
    border: 0;
    border-radius: 18px;
    background: rgba(84, 55, 33, 0.04);
}

.radio-inline-contact-card > strong {
    color: #2f2118;
    font-size: 0.88rem;
    line-height: 1.1;
}

.radio-inline-contact-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
    gap: 8px;
}

.radio-inline-contact-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 10px;
    border: 1px solid rgba(124, 85, 55, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    color: #7b4b29;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.radio-inline-contact-action-primary {
    background: linear-gradient(135deg, #10a35a, #25d366);
    color: #fff;
    border-color: rgba(16, 163, 90, 0.28);
}

.radio-inline-contact-action-disabled {
    background: rgba(137, 118, 101, 0.1);
    border-color: rgba(137, 118, 101, 0.14);
    color: rgba(82, 67, 54, 0.48);
    cursor: not-allowed;
}

.radio-inline-contact-icon {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
}

.radio-inline-contact-card > small {
    color: rgba(94, 72, 54, 0.58);
    font-size: 0.7rem;
    line-height: 1.3;
}

.radio-inline-station-play,
.radio-inline-station-pause {
    grid-area: 1 / 1;
    width: 20px;
    height: 20px;
}

.radio-inline-station-pause {
    width: 14px;
    height: 14px;
    opacity: 0;
    transform: scale(0.74);
}

.radio-inline-station-playing .radio-inline-station-action {
    background: linear-gradient(135deg, #ff7a18 0%, #ffa43a 100%);
    color: #fff;
}

.radio-inline-station-playing .radio-inline-station-play {
    opacity: 0;
    transform: scale(0.74);
}

.radio-inline-station-playing .radio-inline-station-pause {
    opacity: 1;
    transform: scale(1);
}

.radio-inline-active {
    background: linear-gradient(135deg, #ff7a18 0%, #ffa43a 100%);
    border-color: rgba(255, 122, 24, 0.66);
}

.radio-inline-active .radio-inline-toggle {
    color: #fff;
}

.radio-inline-panel-open.radio-inline-active .radio-inline-toggle {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: #9a4300;
}

.radio-inline-panel-open.radio-inline-active {
    background: rgba(255, 252, 247, 0.98);
    border-color: rgba(116, 78, 46, 0.12);
}

.radio-inline-active .radio-inline-play-icon {
    opacity: 0;
    transform: translateX(1px) scale(0.72);
}

.radio-inline-active .radio-inline-pause-icon {
    opacity: 1;
    transform: scale(1);
}

.radio-inline-loading .radio-inline-toggle::after {
    border-top-color: rgba(255, 122, 24, 0.92);
    border-right-color: rgba(255, 122, 24, 0.32);
    animation: radio-inline-spin 780ms linear infinite;
}

.radio-inline-loading .radio-inline-panel-play::after {
    border-top-color: rgba(255, 255, 255, 0.92);
    border-right-color: rgba(255, 255, 255, 0.32);
    animation: radio-inline-spin 780ms linear infinite;
}

.radio-inline-loading .radio-inline-cover-play::after {
    border-top-color: rgba(255, 255, 255, 0.92);
    border-right-color: rgba(255, 255, 255, 0.32);
    animation: radio-inline-spin 780ms linear infinite;
}

.radio-inline-playing .radio-inline-text-track {
    background: rgba(255, 122, 24, 0.12);
}

.radio-inline-playing .radio-inline-text-marquee span {
    color: #9a4300;
}

.radio-inline-error .radio-inline-toggle {
    color: #9b2d1c;
    border-color: rgba(155, 45, 28, 0.34);
}

@keyframes radio-inline-marquee {
    from {
        transform: translate3d(0, -50%, 0);
    }

    to {
        transform: translate3d(calc(-50% - 11px), -50%, 0);
    }
}

@keyframes radio-inline-title-marquee {
    from {
        transform: translate3d(0, -50%, 0);
    }

    to {
        transform: translate3d(-50%, -50%, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .radio-inline-track-titlebar strong.radio-inline-title-marquee {
        color: #2d2016;
        text-overflow: ellipsis;
    }

    .radio-inline-track-titlebar strong.radio-inline-title-marquee::before {
        display: none;
    }
}

@keyframes radio-inline-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes radio-inline-panel-in {
    from {
        opacity: 0;
        transform: none;
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes radio-inline-lyrics-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

.notifications-popover[hidden] {
    display: none;
}

.notifications-popover-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.notifications-popover-head strong {
    display: block;
    margin-top: 2px;
}

.notifications-popover-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #785134;
    font-size: 1.3rem;
    cursor: pointer;
}

.notifications-popover-empty {
    padding: 8px 2px 2px;
}

.notifications-popover-empty p {
    margin: 0;
    color: rgba(79, 67, 56, 0.78);
}

.notifications-orders-panel {
    display: grid;
    gap: 12px;
}

.notifications-orders-head,
.notifications-feed-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.notifications-orders-head strong,
.notifications-feed-head strong {
    display: block;
    margin-top: 2px;
}

.notifications-orders-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    text-decoration: none;
    color: #a44500;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.9);
    font-size: 0.82rem;
    font-weight: 800;
}

.notifications-orders-list {
    display: grid;
    gap: 10px;
}

.notifications-order-card {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    text-decoration: none;
    color: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 248, 241, 0.78) 100%);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 26px rgba(56, 35, 18, 0.08);
}

.notifications-order-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.notifications-order-card-top strong {
    display: block;
    margin: 0;
}

.notifications-order-number {
    display: inline-block;
    margin-top: 4px;
    color: rgba(88, 74, 60, 0.82);
    font-size: 0.82rem;
    font-weight: 700;
}

.notifications-order-copy,
.notifications-order-hint {
    margin: 0;
}

.notifications-order-copy {
    color: #2d1f12;
    font-size: 0.96rem;
    font-weight: 700;
}

.notifications-order-hint {
    color: rgba(82, 69, 57, 0.82);
    font-size: 0.84rem;
    line-height: 1.45;
}

.notifications-order-progress {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
}

.notifications-order-step {
    display: grid;
    justify-items: center;
    gap: 5px;
    text-align: center;
}

.notifications-order-step-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(172, 156, 142, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.8);
}

.notifications-order-step-label {
    color: rgba(97, 83, 70, 0.8);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
}

.notifications-order-step-done .notifications-order-step-dot {
    background: #2f9a62;
}

.notifications-order-step-active .notifications-order-step-dot {
    background: #f07b21;
    box-shadow: 0 0 0 4px rgba(240, 123, 33, 0.18);
}

.notifications-order-step-done .notifications-order-step-label,
.notifications-order-step-active .notifications-order-step-label {
    color: #3a2a1a;
}

.notifications-order-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.notifications-popover-list {
    display: grid;
    gap: 10px;
    max-height: min(62vh, 520px);
    overflow-y: auto;
    padding-right: 2px;
}

.notifications-popover-item {
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.82);
}

.notifications-popover-item-link {
    text-decoration: none;
    color: inherit;
}

.notifications-popover-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.notifications-popover-item strong,
.notifications-popover-item p {
    margin: 0;
}

.notifications-popover-item p {
    color: rgba(75, 67, 61, 0.84);
    font-size: 0.92rem;
    line-height: 1.5;
}

.notifications-popover-date {
    color: rgba(90, 81, 74, 0.76);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.topnav a,
.topnav button,
.topnav-user {
    text-decoration: none;
    padding: 11px 16px;
    border-radius: 999px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.36);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(14px) saturate(150%);
}

.topnav form {
    margin: 0;
}

.topnav button {
    color: var(--ink);
}

.topnav-user {
    color: #5f2900;
    font-weight: 700;
}

.nav-pill {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    margin-left: 6px;
    padding: 0 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff7a18 0%, #ffa43a 100%);
    color: #fff;
    font-size: 0.8rem;
    box-shadow: 0 8px 18px rgba(255, 122, 24, 0.28);
}

.page {
    display: grid;
    gap: 24px;
    margin-top: 26px;
}

.flash {
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 22px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.36);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px) saturate(160%);
}

.flash-success {
    background: linear-gradient(145deg, rgba(232, 246, 239, 0.78), rgba(214, 242, 229, 0.46));
    color: #185a35;
}

.flash-error {
    background: linear-gradient(145deg, rgba(255, 230, 224, 0.82), rgba(255, 213, 203, 0.48));
    color: #92220f;
}

.hero,
.store-hero,
.section,
.success-card,
.empty-state {
    background: var(--paper);
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 34px;
    padding: 28px;
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.46);
    backdrop-filter: var(--blur);
}

.hero,
.store-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
    gap: 24px;
    align-items: start;
}

.hero-tight {
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--accent-deep);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 800;
}

.hero-brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.hero-brand-badge {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    padding: 10px;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.16));
    border: 1px solid rgba(255, 255, 255, 0.52);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), var(--shadow-soft);
    backdrop-filter: blur(22px) saturate(170%);
}

.hero-brand-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-brand-panel {
    display: grid;
    gap: 8px;
    padding: 16px 18px;
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.14));
    border: 1px solid rgba(255, 255, 255, 0.44);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.46), var(--shadow-soft);
    backdrop-filter: blur(22px) saturate(170%);
}

.hero-brand-wordmark {
    width: min(320px, 54vw);
    height: auto;
    display: block;
}

.hero-brand-panel small {
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero h1,
.store-hero h1,
.success-card h1 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 0.98;
    margin: 0 0 16px;
}

.hero p,
.store-hero p,
.section p,
.success-card p {
    color: var(--muted);
    line-height: 1.6;
}

.hero-card,
.summary-card {
    padding: 24px;
    border-radius: 28px;
    background: var(--paper-strong);
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.46), var(--shadow-soft);
    backdrop-filter: blur(20px) saturate(165%);
}

.hero-actions,
.chip-row,
.mode-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button,
button,
select,
input,
textarea {
    font: inherit;
}

.button,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover,
button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: linear-gradient(135deg, #dd6a00 0%, #f08c21 100%);
    color: #fff;
    box-shadow: 0 18px 28px rgba(221, 106, 0, 0.28);
}

.button-secondary {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.12));
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.text-link {
    color: var(--accent-deep);
    text-decoration: none;
    font-weight: 700;
}

.metric-grid,
.roadmap-grid,
.card-grid,
.catalog-grid {
    display: grid;
    gap: 16px;
}

.metric-grid {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.metric-grid article,
.roadmap-grid article,
.store-card,
.catalog-card {
    padding: 20px;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.14));
    border: 1px solid rgba(255, 255, 255, 0.38);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.44), var(--shadow-soft);
    backdrop-filter: blur(20px) saturate(165%);
}

.store-card,
.catalog-card {
    overflow: hidden;
}

.store-card-media,
.catalog-card-media,
.store-hero-media,
.admin-image-preview {
    width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid var(--line);
}

.store-card-media,
.catalog-card-media {
    height: 190px;
    margin-bottom: 16px;
}

.store-hero-media {
    height: 260px;
    margin-bottom: 16px;
    border-radius: 24px;
}

.admin-image-preview-wrap {
    margin-bottom: 16px;
}

.admin-image-preview {
    max-width: 260px;
    height: 180px;
}

.admin-image-preview-wide {
    max-width: 380px;
    height: 220px;
}

.metric-grid article strong {
    display: block;
    font-size: 2rem;
    margin-bottom: 6px;
}

.metric-grid article span,
.roadmap-grid article p,
.store-card p,
.catalog-card p,
.subtle,
small {
    color: var(--muted);
}

.metric-grid-compact article strong {
    font-size: 1.7rem;
}

.roadmap-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.catalog-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 18px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.14));
    border: 1px solid rgba(255, 255, 255, 0.34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(14px) saturate(150%);
}

.chip-active {
    background: linear-gradient(135deg, #ff7a18 0%, #ff9f39 100%);
    color: #fff;
    border-color: rgba(255, 171, 101, 0.5);
}

.store-card-top,
.store-meta,
.summary-row,
.summary-line,
.catalog-card-head,
.form-row,
.cart-item,
.cart-item-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.store-card-top {
    align-items: center;
    margin-bottom: 12px;
}

.store-vertical,
.store-city,
.mode-pill,
.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
}

.store-vertical {
    background: var(--accent-soft);
    color: var(--accent-deep);
}

.store-city,
.mode-pill {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.14));
    border: 1px solid rgba(255, 255, 255, 0.34);
}

.mode-pill {
    text-decoration: none;
}

.mode-pill-active {
    background: var(--ink);
    color: #fff;
}

.catalog-form,
.checkout-form,
.stack {
    display: grid;
    gap: 16px;
}

.form-row {
    align-items: end;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-block {
    padding: 24px;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.36);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.44);
    backdrop-filter: blur(18px) saturate(155%);
}

label {
    display: grid;
    gap: 8px;
    font-weight: 600;
}

.wide {
    grid-column: 1 / -1;
}

input,
select,
textarea {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.36);
    padding: 12px 14px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.18));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
    color: var(--ink);
}

textarea {
    resize: vertical;
}

.option-group {
    margin: 0;
    padding: 14px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.option-group legend {
    padding: 0 6px;
    font-weight: 800;
}

.option-legend-meta {
    margin-left: 8px;
    color: var(--muted);
    font-weight: 600;
}

.option-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.85fr);
    gap: 20px;
}

.summary-card {
    position: sticky;
    top: 18px;
    height: fit-content;
}

.summary-total {
    padding-top: 14px;
    border-top: 1px solid var(--line);
    margin-top: 14px;
}

.cart-item {
    align-items: start;
    padding: 20px;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.14));
    border: 1px solid rgba(255, 255, 255, 0.38);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.cart-item-actions {
    align-items: end;
    flex-direction: column;
}

.table-wrap {
    overflow-x: auto;
}

.admin-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.admin-mini-card {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: start;
    padding: 16px 18px;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.36);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.choice-card {
    display: flex;
    gap: 12px;
    align-items: start;
    padding: 16px 18px;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.36);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

.choice-card input {
    width: auto;
    margin-top: 3px;
}

.choice-card span {
    display: grid;
    gap: 4px;
}

.option-editor-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(140px, 1fr) minmax(100px, 0.6fr) minmax(120px, 0.8fr);
    gap: 12px;
    padding: 16px 18px;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.36);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.hours-grid {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) repeat(2, minmax(140px, 1fr)) auto;
    gap: 12px;
    width: 100%;
    align-items: end;
}

.hours-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.hours-check input {
    width: auto;
}

.auth-card {
    max-width: 620px;
    margin: 0 auto;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th,
.orders-table td {
    text-align: left;
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.inline-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.status-badge {
    background: rgba(29, 36, 48, 0.08);
}

.status-novo,
.status-confirmado,
.status-em_preparo,
.status-pronto,
.status-aguardando_retirada,
.status-saiu_para_entrega {
    background: #fff0cf;
    color: #8f5a00;
}

.status-entregue {
    background: #dff3e7;
    color: #135e34;
}

.status-cancelado {
    background: #ffe5de;
    color: #9f2410;
}

.success-card,
.empty-state {
    text-align: center;
}

.status-list {
    margin: 18px 0 24px;
    padding-left: 18px;
    color: var(--muted);
}

.inline-error {
    color: #ab2a11;
    font-size: 0.86rem;
}

@media (max-width: 920px) {
    .topbar {
        position: static;
        flex-direction: column;
        align-items: stretch;
    }

    .brand {
        justify-content: center;
    }

    .topnav-shell {
        width: 100%;
    }

    .topnav {
        justify-content: center;
    }

    .hero,
    .store-hero,
    .checkout-grid,
    .admin-split,
    .hours-grid,
    .option-editor-grid {
        grid-template-columns: 1fr;
    }

    .summary-card {
        position: static;
    }
}

@media (max-width: 720px) {
    .shell {
        width: min(100% - 20px, 1180px);
        padding-top: 14px;
    }

    .topbar,
    .section,
    .hero,
    .store-hero,
    .success-card,
    .empty-state {
        padding: 20px;
        border-radius: 24px;
    }

    .section-head,
    .store-meta,
    .catalog-card-head,
    .form-row,
    .cart-item,
    .cart-item-actions {
        flex-direction: column;
    }

    .hero-brand-lockup,
    .brand {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-brand-panel {
        width: 100%;
    }

    .hero-brand-wordmark {
        width: min(260px, 72vw);
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .hero h1,
    .store-hero h1,
    .success-card h1 {
        font-size: 2.5rem;
    }

    .brand-wordmark {
        width: min(220px, 68vw);
    }

    .brand-mark {
        width: 64px;
        height: 64px;
    }
}

/* Modern refresh override */

:root {
    --bg: #f6efe7;
    --glass: #fbf4ec;
    --glass-strong: #fffdfa;
    --glass-soft: #f1e6da;
    --paper: linear-gradient(180deg, #fff8f0 0%, #fffdfb 100%);
    --paper-strong: linear-gradient(180deg, #fff2e2 0%, #ffffff 100%);
    --ink: #251b15;
    --muted: #6f6258;
    --accent: #f07b21;
    --accent-soft: #fff0e0;
    --accent-deep: #a44600;
    --line: #ead8c5;
    --line-soft: rgba(37, 27, 21, 0.08);
    --shadow: 0 24px 54px rgba(79, 51, 26, 0.12);
    --shadow-soft: 0 12px 28px rgba(79, 51, 26, 0.08);
}

html {
    background: #f7f1ea;
}

body {
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(255, 197, 132, 0.3), transparent 28%),
        radial-gradient(circle at 100% 0, rgba(255, 233, 208, 0.8), transparent 24%),
        linear-gradient(180deg, #fbf7f2 0%, #f3e8db 100%);
}

body::before {
    width: 340px;
    height: 340px;
    top: 40px;
    right: -100px;
    opacity: 0.18;
    filter: blur(18px);
    background: radial-gradient(circle, rgba(240, 123, 33, 0.42) 0%, rgba(240, 123, 33, 0) 72%);
}

body::after {
    width: 420px;
    height: 420px;
    left: -140px;
    bottom: -40px;
    opacity: 0.1;
    filter: blur(18px);
    background: radial-gradient(circle, rgba(182, 147, 113, 0.46) 0%, rgba(182, 147, 113, 0) 72%);
}

h1,
h2,
h3 {
    font-family: "Arial Narrow", "Trebuchet MS", "Segoe UI", sans-serif;
    letter-spacing: -0.05em;
}

.shell {
    padding: 24px 0 64px;
}

.topbar {
    top: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(234, 216, 197, 0.95);
    border-radius: 26px;
    box-shadow: 0 22px 44px rgba(63, 42, 23, 0.1);
    backdrop-filter: none;
}

.brand {
    gap: 16px;
}

.brand-copy {
    gap: 6px;
}

.brand small {
    padding-left: 2px;
    color: #7c6f65;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.brand-wordmark-wrap {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.brand-wordmark {
    width: min(280px, 45vw);
}

.brand-mark {
    width: 84px;
    height: 84px;
    padding: 10px;
    border-radius: 26px;
    background: linear-gradient(180deg, #fffdfa 0%, #fff1e0 100%);
    border: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(79, 51, 26, 0.14);
    backdrop-filter: none;
}

.topnav-shell {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.topnav {
    gap: 10px;
}

.topnav a,
.topnav button,
.topnav-user {
    padding: 12px 15px;
    background: #fff7ef;
    border: 1px solid var(--line);
    box-shadow: none;
    backdrop-filter: none;
    transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.topnav a:hover,
.topnav button:hover {
    background: #fff0dd;
    border-color: #dfc3a5;
}

.topnav-user {
    color: #6d3510;
    background: #fff0de;
}

.nav-pill {
    background: linear-gradient(135deg, #f07b21 0%, #d95f00 100%);
    box-shadow: none;
}

.flash {
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    backdrop-filter: none;
}

.flash-success {
    background: #ebf7ee;
}

.flash-error {
    background: #fff0eb;
}

.hero,
.store-hero,
.section,
.success-card,
.empty-state {
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    backdrop-filter: none;
}

.hero {
    background: linear-gradient(135deg, #fff7ef 0%, #ffffff 60%, #fff0dc 100%);
}

.store-hero {
    background: linear-gradient(180deg, #fffdf9 0%, #ffffff 100%);
}

.section,
.success-card,
.empty-state {
    background: rgba(255, 253, 250, 0.92);
}

.eyebrow {
    color: var(--accent-deep);
}

.hero-brand-lockup {
    gap: 18px;
    margin-bottom: 22px;
    align-items: center;
}

.hero-brand-badge {
    width: 92px;
    height: 92px;
    padding: 10px;
    border-radius: 30px;
    background: linear-gradient(180deg, #ffffff 0%, #fff1de 100%);
    border: 1px solid var(--line);
    box-shadow: 0 18px 34px rgba(79, 51, 26, 0.12);
    backdrop-filter: none;
}

.hero-brand-panel {
    gap: 10px;
    padding: 18px 22px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    backdrop-filter: none;
}

.hero-brand-wordmark {
    width: min(360px, 58vw);
}

.hero-brand-panel small {
    color: #8e5a34;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.hero p,
.store-hero p,
.section p,
.success-card p {
    line-height: 1.7;
}

.hero-card,
.summary-card {
    background: linear-gradient(180deg, #fff7ec 0%, #ffffff 100%);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    backdrop-filter: none;
}

.button,
button {
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button-primary {
    background: linear-gradient(135deg, #f07b21 0%, #d95f00 100%);
    color: #fff;
    box-shadow: 0 14px 26px rgba(217, 95, 0, 0.22);
}

.button-primary:hover,
button.button-primary:hover {
    box-shadow: 0 18px 30px rgba(217, 95, 0, 0.28);
}

.button-secondary {
    background: #fffdfa;
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: none;
}

.button-secondary:hover {
    background: #fff3e6;
    border-color: #ddbfa0;
}

.metric-grid article,
.roadmap-grid article,
.store-card,
.catalog-card,
.cart-item,
.admin-mini-card,
.choice-card,
.option-editor-grid,
.form-block,
.option-group {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    backdrop-filter: none;
}

.metric-grid article,
.roadmap-grid article,
.store-card,
.catalog-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.metric-grid article:hover,
.roadmap-grid article:hover,
.store-card:hover,
.catalog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 34px rgba(79, 51, 26, 0.12);
}

.store-card-media,
.catalog-card-media,
.store-hero-media,
.admin-image-preview {
    border: 1px solid #ebdccd;
    box-shadow: 0 10px 24px rgba(79, 51, 26, 0.08);
}

.chip {
    background: #fff7ee;
    border: 1px solid var(--line);
    box-shadow: none;
    backdrop-filter: none;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.chip:hover {
    background: #fff1e1;
    border-color: #ddbfa0;
}

.chip-active {
    background: linear-gradient(135deg, #f07b21 0%, #d95f00 100%);
    border-color: rgba(217, 95, 0, 0.36);
}

.store-vertical {
    background: var(--accent-soft);
    color: var(--accent-deep);
}

.store-city,
.mode-pill {
    background: #fff8f0;
    border: 1px solid var(--line);
}

.mode-pill-active {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

input,
select,
textarea {
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: inset 0 1px 2px rgba(37, 27, 21, 0.04);
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(240, 123, 33, 0.18);
    outline-offset: 0;
    border-color: #dfae7e;
}

.option-group {
    background: #fff8f0;
}

.summary-total,
.orders-table th,
.orders-table td {
    border-color: var(--line);
}

.orders-table th {
    color: #66452a;
    font-weight: 800;
}

.status-badge {
    border: 1px solid rgba(37, 27, 21, 0.08);
}

.inline-error {
    font-weight: 700;
}

@media (max-width: 920px) {
    .topbar {
        position: static;
    }
}

@media (max-width: 720px) {
    .topbar {
        padding: 16px;
    }

    .brand {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }

    .brand-mark {
        width: 72px;
        height: 72px;
        border-radius: 24px;
    }

    .brand-wordmark {
        width: min(230px, 58vw);
    }

    .hero-brand-lockup {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-brand-badge {
        width: 82px;
        height: 82px;
    }

    .hero-brand-panel {
        width: 100%;
    }

    .topnav {
        justify-content: flex-start;
    }
}

/* Public home cleanup */

.topbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.topbar-spacer,
.topbar-leading-slot {
    min-height: 1px;
}

.brand {
    justify-self: center;
}

.brand-copy {
    display: block;
}

.brand-wordmark {
    width: min(520px, 52vw);
    max-width: 100%;
}

.topnav {
    justify-self: end;
    justify-content: flex-end;
}

.hero-home {
    grid-template-columns: 1fr;
    padding: 40px 42px;
}

.hero-home > div {
    max-width: 720px;
}

.hero-home h1 {
    max-width: 12ch;
    margin-bottom: 14px;
}

.hero-home p {
    max-width: 56ch;
    margin: 0;
}

.hero-home .hero-actions {
    margin-top: 24px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
}

.category-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 6px 12px;
    text-decoration: none;
    text-align: center;
    border-radius: 18px;
    background: #fffdfa;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: #ddbfa0;
    box-shadow: 0 18px 30px rgba(79, 51, 26, 0.12);
    background: #fff7ef;
}

.category-card strong {
    font-size: 0.8rem;
    line-height: 1.1;
}

.category-card-active {
    background: linear-gradient(180deg, #fff4e7 0%, #fffdfa 100%);
    border-color: #e6b889;
}

.category-icon-wrap {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #f07b21 0%, #d95f00 100%);
    color: #fff;
    box-shadow: 0 8px 14px rgba(217, 95, 0, 0.16);
}

.category-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.ui-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    display: inline-block;
    color: currentColor;
}

.chip {
    gap: 10px;
}

.chip-icon {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
}

.chip-count {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(37, 27, 21, 0.08);
    font-size: 0.78rem;
    font-weight: 800;
}

.chip-active .chip-count {
    background: rgba(255, 255, 255, 0.22);
}

.store-vertical {
    gap: 8px;
}

.store-badge-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.store-card-placeholder {
    background: linear-gradient(180deg, #fff8f0 0%, #fffdfb 100%);
}

.store-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
}

.placeholder-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff0de;
    color: #9b4b0e;
    font-size: 0.82rem;
    font-weight: 800;
}

.button-disabled {
    background: #f6ede2;
    color: #9a8570;
    border: 1px solid #e7d3bf;
    box-shadow: none;
    cursor: default;
    pointer-events: none;
}

@media (max-width: 920px) {
    .topbar {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .topbar-spacer {
        display: none;
    }

    .topnav {
        justify-self: center;
        justify-content: center;
    }

    .hero-home {
        padding: 28px;
    }

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

}

@media (max-width: 720px) {
    .brand {
        justify-self: center;
    }

    .brand-wordmark {
        width: min(340px, 82vw);
    }

    .hero-home {
        padding: 24px;
    }

    .hero-home h1 {
        max-width: none;
    }

    .hero-home .hero-actions {
        width: 100%;
    }

    .store-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .category-card {
        padding: 10px 6px;
    }

    .category-card strong {
        font-size: 0.76rem;
    }

    .category-icon-wrap {
        width: 34px;
        height: 34px;
    }
}

/* Storefront remake */

.storefront-page {
    display: grid;
    gap: 22px;
}

.storefront-hero-panel,
.storefront-promo-card,
.storefront-menu-shell,
.menu-sheet {
    background: rgba(255, 252, 248, 0.98);
    border: 1px solid #ead8c5;
    box-shadow: 0 18px 42px rgba(79, 51, 26, 0.08);
}

.storefront-hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.9fr);
    gap: 22px;
    padding: 30px;
    border-radius: 34px;
}

.storefront-theme-santo .storefront-hero-panel {
    background:
        radial-gradient(circle at top right, rgba(240, 123, 33, 0.14), transparent 28%),
        linear-gradient(180deg, #fffdf9 0%, #fff7ef 100%);
}

.storefront-hero-copy {
    display: grid;
    gap: 18px;
}

.storefront-cover-media {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    border-radius: 28px;
    border: 1px solid #ead8c5;
    box-shadow: 0 14px 26px rgba(79, 51, 26, 0.08);
}

.storefront-brand-lockup {
    display: grid;
    gap: 10px;
}

.storefront-kicker,
.storefront-promo-kicker,
.storefront-order-label,
.menu-sheet-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.74rem;
    font-weight: 800;
    color: #c95308;
}

.storefront-brand-title,
.storefront-standard-title {
    margin: 0;
}

.storefront-brand-title {
    display: grid;
    gap: 6px;
}

.storefront-brand-main {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.3rem, 8vw, 6rem);
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    color: #0f4a35;
    text-shadow: 1px 1px 0 #fff6eb;
}

.storefront-brand-script {
    font-family: "Brush Script MT", "Segoe Script", cursive;
    font-size: clamp(2.7rem, 6vw, 4.8rem);
    line-height: 0.8;
    color: #ef5f12;
}

.storefront-brand-tagline {
    margin: 0;
    font-size: 1.18rem;
    color: #5c5550;
    max-width: 34ch;
}

.storefront-standard-title {
    font-size: clamp(2.6rem, 5vw, 4rem);
    line-height: 0.96;
    color: #1e1713;
}

.storefront-lead {
    margin: 0;
    max-width: 58ch;
    color: #5f554d;
    font-size: 1.02rem;
    line-height: 1.75;
}

.storefront-highlight-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.storefront-highlight-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: #fff2e1;
    color: #94460c;
    font-size: 0.84rem;
    font-weight: 800;
    border: 1px solid #efcfb1;
}

.storefront-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.storefront-stat-grid article {
    padding: 16px;
    border-radius: 22px;
    background: #fffdfa;
    border: 1px solid #efe0ce;
}

.storefront-stat-grid strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.05rem;
    color: #163a2f;
}

.storefront-stat-grid span {
    color: #72655c;
    font-size: 0.84rem;
}

.storefront-order-card {
    display: grid;
    gap: 18px;
    padding: 24px;
    border-radius: 30px;
    background: linear-gradient(180deg, #fff7ec 0%, #fffdfb 100%);
    border: 1px solid #ead8c5;
    box-shadow: 0 18px 42px rgba(79, 51, 26, 0.08);
}

.storefront-order-head {
    display: grid;
    gap: 8px;
}

.storefront-order-head h2 {
    margin: 0;
    font-size: 2rem;
    color: #103d31;
}

.storefront-mode-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.storefront-mode-switch .mode-pill {
    width: 100%;
}

.storefront-order-meta,
.storefront-contact-stack {
    display: grid;
    gap: 10px;
}

.storefront-order-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e7d5c3;
}

.storefront-order-line strong {
    color: #3f3024;
    font-size: 0.92rem;
}

.storefront-order-line span {
    text-align: right;
    color: #6c5f56;
    font-size: 0.9rem;
}

.storefront-status-open {
    color: #17633a !important;
    font-weight: 800;
}

.storefront-status-closed {
    color: #b04916 !important;
    font-weight: 800;
}

.storefront-order-line-wrap {
    align-items: start;
}

.storefront-contact-stack span {
    color: #675c54;
    font-size: 0.9rem;
    line-height: 1.55;
}

.storefront-cart-button {
    width: 100%;
}

.storefront-promo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.storefront-promo-card {
    display: grid;
    gap: 10px;
    padding: 22px;
    border-radius: 28px;
}

.storefront-promo-card h2 {
    margin: 0;
    font-size: 1.65rem;
    line-height: 1.05;
    color: #134333;
}

.storefront-promo-card p {
    margin: 0;
    color: #675c54;
    line-height: 1.7;
}

.storefront-menu-shell {
    display: grid;
    gap: 22px;
    padding: 28px;
    border-radius: 34px;
}

.storefront-menu-top {
    display: grid;
    gap: 18px;
}

.storefront-menu-top h2 {
    margin: 0 0 8px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: #113f31;
}

.storefront-menu-top p {
    margin: 0;
    color: #665b53;
}

.storefront-category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.storefront-category-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    background: #fff3e5;
    border: 1px solid #efd3b6;
    color: #9b4c10;
    font-size: 0.88rem;
    font-weight: 800;
}

.storefront-sections {
    display: grid;
    gap: 18px;
}

.menu-sheet {
    display: grid;
    gap: 20px;
    padding: 24px;
    border-radius: 30px;
}

.storefront-theme-santo .menu-sheet {
    background:
        radial-gradient(circle at top right, rgba(240, 123, 33, 0.08), transparent 28%),
        linear-gradient(180deg, #fffdf9 0%, #fffaf4 100%);
}

.menu-sheet-header {
    display: flex;
    align-items: start;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eddac7;
}

.menu-sheet-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    flex: 0 0 54px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f07b21 0%, #d95f00 100%);
    color: #fff;
    box-shadow: 0 12px 20px rgba(217, 95, 0, 0.18);
}

.menu-sheet-icon-svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}

.menu-sheet-heading {
    display: grid;
    gap: 6px;
}

.menu-sheet-heading h3 {
    margin: 0;
    font-size: 2rem;
    color: #113f31;
}

.menu-sheet-heading p {
    margin: 0;
    color: #6e6158;
}

.menu-item-list {
    display: grid;
    gap: 14px;
}

.menu-item-card {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #efdfcf;
    box-shadow: 0 10px 22px rgba(79, 51, 26, 0.05);
}

.menu-item-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
}

.menu-item-head-with-media {
    grid-template-columns: 88px minmax(0, 1fr) auto;
}

.menu-item-thumb {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid #ead8c5;
}

.menu-item-copy h4 {
    margin: 0 0 6px;
    font-size: 1.22rem;
    color: #1d1713;
}

.menu-item-copy p {
    margin: 0;
    color: #6c6159;
    line-height: 1.65;
}

.menu-item-price {
    display: grid;
    justify-items: end;
    gap: 4px;
    min-width: 98px;
}

.menu-item-price small {
    color: #9e8770;
    text-decoration: line-through;
}

.menu-item-price strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 16px;
    background: #103f31;
    color: #fff;
    font-size: 1rem;
}

.storefront-theme-santo .menu-item-price strong {
    background: linear-gradient(135deg, #ef5f12 0%, #d95000 100%);
}

.menu-item-form {
    display: grid;
    gap: 14px;
}

.menu-option-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.menu-option-group {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid #efdccc;
    background: #fff8f0;
}

.menu-option-group legend {
    padding: 0 4px;
    font-weight: 800;
    color: #153f33;
}

.menu-option-choice-list {
    display: grid;
    gap: 10px;
}

.menu-option-choice {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #eee1d4;
    font-size: 0.92rem;
}

.menu-option-choice input {
    width: auto;
    margin: 0;
}

.menu-option-choice-copy {
    color: #2e241d;
    font-weight: 700;
}

.menu-option-choice small {
    color: #7d6e63;
    font-weight: 700;
}

.menu-item-actions {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
}

.menu-qty-field,
.menu-note-field {
    display: grid;
    gap: 8px;
    font-weight: 700;
}

.menu-qty-field span,
.menu-note-field span {
    color: #4a3a2d;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.menu-item-actions .button {
    min-height: 48px;
}

@media (max-width: 1080px) {
    .storefront-hero-panel,
    .storefront-promo-grid {
        grid-template-columns: 1fr;
    }

    .storefront-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .storefront-hero-panel,
    .storefront-menu-shell,
    .menu-sheet {
        padding: 20px;
        border-radius: 24px;
    }

    .storefront-brand-main {
        font-size: 2.8rem;
    }

    .storefront-brand-script {
        font-size: 2.5rem;
    }

    .storefront-stat-grid,
    .menu-item-actions,
    .menu-item-head,
    .menu-item-head-with-media,
    .menu-option-grid {
        grid-template-columns: 1fr;
    }

    .menu-item-price {
        justify-items: start;
    }

    .menu-item-thumb {
        width: 100%;
        height: 180px;
    }
}

/* City modules and bottom navigation */

.service-hub-grid,
.discovery-grid,
.listing-grid,
.transport-grid,
.classified-grid,
.profile-grid {
    display: grid;
    gap: 18px;
}

.service-hub-grid,
.discovery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.listing-grid,
.profile-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.transport-grid,
.classified-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.service-hub-card,
.discovery-card,
.search-card,
.transport-card,
.classified-card,
.profile-card,
.orders-card {
    background: rgba(255, 255, 255, 0.64);
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 28px;
    padding: 22px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px) saturate(150%);
}

.service-hub-card,
.discovery-card,
.transport-card,
.classified-card {
    display: grid;
    gap: 12px;
}

.transport-grid {
    gap: 14px;
}

.transport-section {
    padding: 18px 20px;
}

.transport-results-section {
    padding-top: 18px;
}

.transport-hub-section {
    display: grid;
    gap: 16px;
}

.transport-subsection-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
}

.transport-subsection-head h2 {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.05;
}

.transport-subsection-head p {
    margin: 6px 0 0;
    font-size: 0.84rem;
    color: var(--muted);
}

.transport-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.transport-heading {
    display: grid;
    gap: 4px;
}

.transport-heading h1 {
    margin: 0;
    font-size: 1.55rem;
    line-height: 1;
}

.transport-heading p {
    margin: 0;
    font-size: 0.86rem;
    color: var(--muted);
}

.transport-filter-form {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: min(100%, 340px);
    margin-left: auto;
}

.transport-filter-form input {
    min-height: 40px;
    padding: 9px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.76);
}

.transport-filter-button {
    min-width: 44px;
    min-height: 40px;
    padding: 9px 12px;
}

.transport-filter-button .ui-icon {
    width: 18px;
    height: 18px;
}

.transport-card {
    align-content: start;
    gap: 10px;
    padding: 14px;
    border-radius: 24px;
}

.transport-card-media {
    position: relative;
    display: grid;
    justify-items: center;
    padding-top: 2px;
}

.transport-status-dot {
    position: absolute;
    top: 2px;
    right: calc(50% - 46px);
    width: 14px;
    height: 14px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 12px rgba(34, 26, 20, 0.14);
    z-index: 2;
}

.transport-driver-photo {
    width: 92px;
    height: 92px;
    display: block;
    object-fit: cover;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 24px rgba(58, 33, 15, 0.12);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 245, 236, 0.78));
}

.transport-driver-photo-fallback {
    display: grid;
    place-items: center;
    color: #a94b07;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.transport-card-body {
    display: grid;
    gap: 4px;
    text-align: center;
}

.transport-card h3 {
    margin: 0;
    font-size: 1.04rem;
    line-height: 1.12;
}

.transport-profile-link {
    color: inherit;
    text-decoration: none;
}

.transport-profile-link:hover {
    color: #a44a06;
}

.transport-photo-link {
    display: inline-flex;
}

.transport-card-subtitle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.82rem;
    line-height: 1.3;
    color: var(--muted);
}

.transport-card-vehicle-icon,
.transport-card-location-icon {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
}

.transport-card-vehicle-icon {
    color: #ff7a18;
}

.transport-card-location {
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr);
    align-items: start;
    gap: 7px;
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.35;
    color: #4d4136;
}

.transport-card-location-icon {
    margin-top: 1px;
    color: #ff7a18;
}

.transport-status-online {
    background: #1aa85d;
}

.transport-status-offline {
    background: #8f857d;
}

.transport-status-scheduled {
    background: #ff8b2b;
}

.transport-status-unknown {
    background: #8f857d;
}

.transport-contact-row {
    justify-content: center;
}

.transport-contact-chip {
    justify-content: center;
    width: auto;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 16px;
    background: rgba(16, 120, 72, 0.1);
    border: 1px solid rgba(31, 148, 92, 0.18);
    color: #0f6a3c;
    font-size: 0.78rem;
}

.transport-contact-chip .ui-icon {
    width: 16px;
    height: 16px;
}

.transport-bus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.transport-bus-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 250, 245, 0.92);
    border: 1px solid rgba(230, 145, 84, 0.18);
    box-shadow: 0 10px 24px rgba(64, 34, 16, 0.08);
}

.transport-bus-head {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.transport-bus-head h3 {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.2;
}

.transport-bus-icon-wrap {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(255, 122, 24, 0.12);
    color: #ff7a18;
}

.transport-bus-icon {
    width: 22px;
    height: 22px;
}

.transport-bus-route {
    margin: 5px 0 0;
    font-size: 0.84rem;
    line-height: 1.35;
    color: #4d4136;
}

.transport-bus-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.transport-bus-time {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 122, 24, 0.1);
    color: #a44a06;
    font-size: 0.8rem;
    font-weight: 700;
}

.transport-bus-fare {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(26, 168, 93, 0.1);
    color: #0f6a3c;
    font-size: 0.8rem;
    font-weight: 700;
}

.transport-bus-detail {
    margin: 0;
    display: grid;
    gap: 3px;
    font-size: 0.8rem;
    line-height: 1.4;
    color: #5c4a3a;
}

.transport-bus-detail strong {
    color: #2f241d;
}

.transport-profile-hero {
    display: grid;
    grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    justify-items: center;
}

.transport-profile-hero-media {
    position: relative;
    display: grid;
    justify-items: center;
}

.transport-profile-photo {
    width: 180px;
    height: 180px;
    display: block;
    object-fit: cover;
    border-radius: 38px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 34px rgba(58, 33, 15, 0.12);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 245, 236, 0.78));
}

.transport-profile-status-dot {
    top: 10px;
    right: calc(50% - 88px);
    width: 18px;
    height: 18px;
}

.transport-profile-hero-copy {
    display: grid;
    gap: 14px;
    justify-items: center;
    text-align: center;
}

.transport-profile-hero-copy h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 0.98;
}

.transport-profile-hero-copy .hero-actions {
    justify-content: center;
}

.transport-profile-vehicle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 1rem;
    color: #4d4136;
}

.transport-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.transport-profile-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.transport-profile-card {
    text-align: center;
}

.transport-profile-card h2 {
    margin: 0 0 10px;
}

.transport-profile-card p {
    margin: 0;
}

.transport-profile-card small {
    display: block;
    margin-top: 10px;
}

.transport-request-list,
.transport-request-form {
    display: grid;
    gap: 18px;
}

.transport-request-card {
    display: grid;
    gap: 14px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.84);
    box-shadow: var(--shadow-soft);
}

.transport-request-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.transport-request-head h3,
.transport-request-copy {
    margin: 0;
}

.transport-request-copy {
    color: rgba(68, 55, 43, 0.82);
    line-height: 1.5;
}

.transport-request-route {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.transport-request-progress {
    margin-top: 4px;
}

.transport-profile-pix-key {
    word-break: break-word;
    font-weight: 700;
}

.transport-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.transport-status-inline-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    flex: 0 0 10px;
}

.service-hub-icon,
.discovery-icon,
.search-card-icon,
.classified-card-icon,
.profile-card-icon {
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, #ff7a18 0%, #ffa43a 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(255, 122, 24, 0.24);
}

.service-hub-icon .ui-icon,
.discovery-icon .ui-icon,
.search-card-icon .ui-icon,
.classified-card-icon .ui-icon,
.profile-card-icon .ui-icon,
.mobile-bottom-nav-icon {
    width: 26px;
    height: 26px;
    display: block;
    flex: 0 0 26px;
}

.mobile-bottom-nav-item[data-public-nav="transport"] .mobile-bottom-nav-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
}

.mobile-bottom-nav-item[data-public-nav="transport"] span {
    font-size: 0.69rem;
    letter-spacing: 0;
}

.service-hub-card h3,
.discovery-card h3,
.search-card h3,
.classified-card h3,
.profile-card h3,
.orders-card h3 {
    margin: 0;
    font-size: 1.28rem;
}

.service-hub-card p,
.discovery-card p,
.search-card p,
.classified-card p,
.profile-card p,
.orders-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.search-toolbar,
.orders-toolbar {
    display: grid;
    gap: 16px;
}

.search-form-inline,
.orders-search-form {
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
}

.orders-search-form {
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
}

.search-form-inline label,
.orders-search-form label {
    display: grid;
    gap: 8px;
    font-weight: 700;
}

.search-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.52);
}

.search-filter-chip-active {
    background: linear-gradient(135deg, #ff7a18 0%, #ffa43a 100%);
    color: #fff;
}

.result-meta,
.transport-meta,
.classified-meta,
.profile-meta,
.orders-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.meta-pill,
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.52);
    color: #5b4b3b;
    font-size: 0.9rem;
}

.transport-contact-row,
.classified-contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 700;
    color: #0f5132;
}

.price-tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 10px 14px;
    border-radius: 16px;
    background: #113f31;
    color: #fff;
    font-weight: 800;
}

.orders-list,
.search-results-stack {
    display: grid;
    gap: 16px;
}

.orders-card-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.orders-overview-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.tracking-overview-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.orders-form-note {
    display: inline-block;
    margin-top: 8px;
    color: #8b5f3d;
    font-weight: 700;
}

.orders-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.orders-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    color: #72553f;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.52);
}

.orders-filter-chip-active {
    background: linear-gradient(135deg, #ff7a18 0%, #ffa43a 100%);
    color: #fff;
}

.tracking-live-stack {
    display: grid;
    gap: 16px;
}

.tracking-live-card {
    gap: 14px;
}

.tracking-live-title,
.tracking-live-copy {
    margin: 0;
}

.tracking-live-title {
    color: #2c1d10;
    font-size: 1.02rem;
    font-weight: 800;
}

.tracking-live-copy {
    color: rgba(77, 64, 52, 0.84);
    line-height: 1.55;
}

.tracking-live-progress {
    margin-top: 2px;
}

.orders-sections-stack,
.orders-section-block {
    display: grid;
    gap: 16px;
}

.orders-section-head {
    margin-bottom: 0;
}

.orders-card {
    display: grid;
    gap: 14px;
}

.orders-card-footer {
    display: flex;
    justify-content: flex-end;
}

.status-pill-active {
    background: rgba(255, 244, 226, 0.92);
    border-color: rgba(243, 176, 98, 0.7);
    color: #a35111;
}

.status-pill-completed {
    background: rgba(233, 252, 241, 0.92);
    border-color: rgba(121, 199, 148, 0.72);
    color: #17673d;
}

.status-pill-canceled {
    background: rgba(255, 235, 235, 0.92);
    border-color: rgba(233, 147, 147, 0.72);
    color: #a33131;
}

.orders-empty,
.profile-empty {
    padding: 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.mobile-bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: none;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    align-items: stretch;
    width: min(590px, calc(100% - 8px));
    padding: 4px 3px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.74);
    box-shadow: 0 16px 42px rgba(33, 24, 18, 0.2);
    backdrop-filter: blur(22px) saturate(170%);
    z-index: 80;
}

.mobile-bottom-nav-item {
    position: relative;
    display: grid;
    grid-template-rows: 28px 16px;
    justify-items: center;
    align-content: center;
    gap: 2px;
    min-width: 0;
    min-height: 60px;
    padding: 5px 0 3px;
    border-radius: 16px;
    text-decoration: none;
    color: #6a5a4d;
    font-size: 0.69rem;
    font-weight: 700;
    justify-self: stretch;
    align-self: stretch;
    margin: 0;
    isolation: isolate;
    overflow: visible;
}

.mobile-bottom-nav-item::before {
    content: "";
    position: absolute;
    inset: 4px 3px;
    border-radius: 18px;
    background: transparent;
    z-index: -1;
    transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.mobile-bottom-nav-item span {
    display: block;
    width: 100%;
    text-align: center;
    line-height: 1.05;
    white-space: nowrap;
    letter-spacing: -0.02em;
}

.mobile-bottom-nav-item .mobile-bottom-nav-count {
    display: inline-grid;
    width: 16px;
    min-width: 16px;
    max-width: 16px;
    text-align: center;
    white-space: nowrap;
}

.mobile-bottom-nav-count {
    position: absolute;
    top: 6px;
    right: 10px;
    width: 16px;
    height: 16px;
    padding: 0;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #f07b21 0%, #d95f00 100%);
    color: #fff;
    font-size: 0.5rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 6px 12px rgba(217, 95, 0, 0.2);
}

.mobile-bottom-nav-item-active {
    color: #a44500;
}

.mobile-bottom-nav-item-active::before {
    background: linear-gradient(135deg, rgba(255, 122, 24, 0.16), rgba(255, 164, 58, 0.28));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.mobile-bottom-nav-item-active .mobile-bottom-nav-icon {
    color: #ff7a18;
}

.public-shell .page {
    padding-bottom: 12px;
}

.admin-city-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.admin-module-card {
    display: grid;
    gap: 14px;
    padding: 22px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 248, 240, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
    border: 1px solid rgba(231, 214, 196, 0.9);
    box-shadow: 0 16px 32px rgba(52, 30, 14, 0.08);
}

.admin-module-top {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.admin-module-icon-wrap {
    width: 52px;
    height: 52px;
    display: inline-grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255, 122, 24, 0.16), rgba(255, 205, 168, 0.34));
    color: #b54d05;
}

.admin-module-icon {
    width: 24px;
    height: 24px;
}

.admin-module-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.admin-module-copy h3,
.admin-module-card p {
    margin: 0;
}

.admin-module-copy h3 {
    font-size: 1.02rem;
    line-height: 1.18;
    color: #1f1711;
}

.admin-module-value {
    font-size: 1.9rem;
    line-height: 1;
    color: #103d31;
}

.admin-module-card p {
    color: #67574a;
    font-size: 0.9rem;
    line-height: 1.5;
}

.admin-module-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-module-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(232, 216, 201, 0.94);
    color: #645547;
    font-size: 0.78rem;
    font-weight: 700;
}

.admin-module-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.admin-city-card-list {
    display: grid;
    gap: 12px;
}

.admin-transport-request-card {
    align-items: center;
}

.admin-inline-status-form {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-inline-status-form input {
    min-width: 140px;
}

.admin-inline-status-form select {
    min-width: 180px;
}

@media (max-width: 920px) {
    .service-hub-grid,
    .discovery-grid,
    .admin-city-grid {
        grid-template-columns: 1fr;
    }

    .admin-module-top {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .admin-module-value {
        grid-column: 2;
    }

    .search-form-inline,
    .orders-search-form {
        grid-template-columns: 1fr;
    }

    .transport-toolbar {
        align-items: stretch;
    }

    .transport-subsection-head {
        align-items: start;
    }

    .transport-filter-form {
        width: 100%;
        min-width: 0;
        margin-left: 0;
    }

    .transport-profile-hero,
    .transport-profile-grid {
        grid-template-columns: 1fr;
    }

    .transport-request-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .transport-profile-hero-media {
        justify-items: start;
    }

    .transport-profile-status-dot {
        right: auto;
        left: 132px;
    }

    .admin-transport-request-card {
        align-items: start;
    }
}

@media (max-width: 780px) {
    .topbar {
        top: 10px;
        gap: 16px;
        padding: 16px 18px;
    }

    .shell {
        width: min(1240px, calc(100% - 20px));
        padding-bottom: 110px;
    }

    .brand-wordmark {
        width: min(270px, 62vw);
    }

    .mobile-bottom-nav {
        display: grid;
    }

    .has-mobile-nav .page {
        padding-bottom: 30px;
    }
}

@media (max-width: 640px) {
    .service-hub-card,
    .discovery-card,
    .search-card,
    .transport-card,
    .classified-card,
    .profile-card,
    .orders-card {
        padding: 18px;
        border-radius: 24px;
    }

    .topnav {
        justify-content: center;
    }

    .transport-grid,
    .classified-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .transport-bus-grid {
        grid-template-columns: 1fr;
    }

    .transport-card {
        padding: 14px;
        border-radius: 20px;
    }

    .transport-driver-photo {
        width: 78px;
        height: 78px;
        border-radius: 22px;
    }

    .transport-status-dot {
        right: calc(50% - 39px);
        width: 12px;
        height: 12px;
    }

    .transport-card h3 {
        font-size: 1.05rem;
    }

    .transport-contact-chip {
        min-height: 34px;
        font-size: 0.82rem;
    }

    .transport-profile-photo {
        width: 132px;
        height: 132px;
        border-radius: 28px;
    }

    .transport-profile-status-dot {
        left: 96px;
        width: 15px;
        height: 15px;
    }
}

/* Public app visual refresh */

body.public-shell:not(.admin-shell) {
    position: relative;
    isolation: isolate;
    background:
        linear-gradient(180deg, rgba(255, 246, 236, 0.08) 0%, rgba(215, 185, 154, 0.18) 100%),
        radial-gradient(circle at 14% 18%, rgba(255, 132, 46, 0.24), transparent 24%),
        radial-gradient(circle at 82% 12%, rgba(109, 193, 216, 0.2), transparent 22%),
        linear-gradient(180deg, rgba(243, 223, 198, 0.64) 0%, rgba(235, 207, 177, 0.66) 30%, rgba(216, 193, 170, 0.74) 62%, rgba(192, 171, 149, 0.9) 100%);
    background-size: 100% 100%, 118% 118%, 116% 116%, 140% 140%;
    animation: app-background-drift 22s ease-in-out infinite alternate;
}

body.public-shell:not(.admin-shell)::before {
    inset: 0;
    width: auto;
    height: auto;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(255, 248, 240, 0.08) 0%, rgba(242, 218, 191, 0.04) 36%, rgba(180, 147, 119, 0.1) 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 1;
    z-index: 0;
    animation: app-background-pan 26s ease-in-out infinite alternate;
}

body.public-shell:not(.admin-shell)::after {
    animation: app-orb-float 16s ease-in-out infinite;
    z-index: 0;
}

body.public-shell:not(.admin-shell)::after {
    width: 420px;
    height: 420px;
    left: -110px;
    bottom: 48px;
    background: radial-gradient(circle, rgba(120, 200, 214, 0.32) 0%, rgba(120, 200, 214, 0) 72%);
    filter: blur(40px);
    opacity: 0.75;
    animation-duration: 20s;
    animation-direction: alternate-reverse;
}

.public-shell .shell {
    position: relative;
    z-index: 1;
}

.public-shell .shell::before {
    content: "";
    position: fixed;
    inset: 18% auto auto 50%;
    width: 520px;
    height: 520px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(28px);
    opacity: 0.42;
    pointer-events: none;
    z-index: -1;
    animation: app-halo-float 18s ease-in-out infinite;
}

body.public-shell:not(.admin-shell) .topbar {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
    padding: 2px 6px 4px;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

body.public-shell:not(.admin-shell) .brand {
    justify-self: center;
    width: 100%;
    justify-content: center;
}

body.public-shell:not(.admin-shell) .brand-copy {
    display: flex;
    justify-content: center;
    width: 100%;
}

body.public-shell:not(.admin-shell) .brand-wordmark {
    width: min(660px, 64vw);
    max-width: 100%;
    filter: drop-shadow(0 16px 32px rgba(111, 53, 12, 0.14));
}

body.public-shell:not(.admin-shell) .topbar-utility-strip {
    justify-self: center;
    margin-top: -2px;
    margin-bottom: 2px;
}

body.public-shell:not(.admin-shell) .topnav {
    justify-self: center;
    justify-content: center;
    gap: 10px;
    max-width: min(100%, 1080px);
}

body.public-shell:not(.admin-shell) .topbar-side {
    justify-self: center;
    width: 100%;
    justify-content: center;
}

body.public-shell:not(.admin-shell) .topbar-notification-link {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.44);
    border: 1px solid rgba(255, 255, 255, 0.58);
    box-shadow: 0 14px 32px rgba(52, 30, 14, 0.1);
    backdrop-filter: blur(18px) saturate(170%);
}

body.public-shell:not(.admin-shell) .topbar-notification-icon {
    width: 40px;
    height: 40px;
}

body.public-shell:not(.admin-shell) .topbar-cart-link {
    position: fixed;
    top: 14px;
    right: 14px;
    width: 56px;
    height: 56px;
    transform: none;
    z-index: 92;
    background: rgba(255, 255, 255, 0.44);
    border: 1px solid rgba(255, 255, 255, 0.58);
    box-shadow: 0 14px 32px rgba(52, 30, 14, 0.1);
    backdrop-filter: blur(18px) saturate(170%);
}

body.public-shell:not(.admin-shell) .topbar-radio-link {
    width: 56px;
    height: 56px;
    backdrop-filter: blur(18px) saturate(170%);
}

body.public-shell:not(.admin-shell) .topbar-cart-icon {
    width: 36px;
    height: 36px;
}

body.public-shell:not(.admin-shell) .notifications-popover {
    top: auto;
    left: auto;
    right: 10px;
    bottom: 88px;
    width: min(340px, calc(100vw - 16px));
    background: rgba(255, 250, 244, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.62);
    box-shadow: 0 24px 52px rgba(30, 19, 11, 0.22);
}

body.public-shell:not(.admin-shell) .radio-popover {
    background: rgba(255, 250, 244, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.62);
    box-shadow: 0 24px 52px rgba(30, 19, 11, 0.22);
}

body.public-shell:not(.admin-shell) .topnav a,
body.public-shell:not(.admin-shell) .topnav button,
body.public-shell:not(.admin-shell) .topnav-user {
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.54);
    box-shadow: 0 14px 32px rgba(52, 30, 14, 0.1);
    backdrop-filter: blur(18px) saturate(170%);
}

body.public-shell:not(.admin-shell) .topnav-link {
    font-size: 0.92rem;
    font-weight: 700;
}

body.public-shell:not(.admin-shell) .topnav-link-active {
    background: rgba(255, 248, 239, 0.8);
    border-color: rgba(232, 160, 98, 0.84);
    color: #a44500;
    box-shadow: 0 16px 34px rgba(223, 116, 28, 0.14);
}

body.public-shell:not(.admin-shell) .topnav a:hover,
body.public-shell:not(.admin-shell) .topnav button:hover {
    transform: translateY(-2px);
}

body.public-shell:not(.admin-shell) .page {
    margin-top: 6px;
    min-width: 0;
}

body.public-shell:not(.admin-shell) .section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.2) 100%);
    border: 1px solid rgba(255, 255, 255, 0.38);
    box-shadow: 0 24px 60px rgba(58, 33, 15, 0.1);
    backdrop-filter: blur(22px) saturate(165%);
    min-width: 0;
}

body.public-shell:not(.admin-shell) #categorias {
    padding-top: 22px;
}

.category-strip-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

body.public-shell:not(.admin-shell) .category-grid {
    gap: 12px;
}

body.public-shell:not(.admin-shell) .category-card {
    padding: 14px 8px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.64) 0%, rgba(255, 252, 247, 0.52) 100%);
    border: 1px solid rgba(255, 255, 255, 0.54);
    box-shadow: 0 14px 28px rgba(63, 40, 21, 0.08);
}

body.public-shell:not(.admin-shell) .category-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 18px 34px rgba(63, 40, 21, 0.12);
}

body.public-shell:not(.admin-shell) .category-card strong {
    font-size: 0.84rem;
    letter-spacing: -0.01em;
}

body.public-shell:not(.admin-shell) .category-card-active {
    background: linear-gradient(180deg, rgba(255, 245, 236, 0.94) 0%, rgba(255, 250, 244, 0.86) 100%);
    border-color: rgba(232, 160, 98, 0.72);
    box-shadow: 0 18px 36px rgba(223, 116, 28, 0.14);
}

body.public-shell:not(.admin-shell) .category-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    box-shadow: 0 10px 18px rgba(217, 95, 0, 0.18);
}

body.public-shell:not(.admin-shell) .category-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

body.public-shell:not(.admin-shell) .mobile-bottom-nav {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.36);
    box-shadow: 0 18px 44px rgba(31, 21, 15, 0.18);
    backdrop-filter: blur(24px) saturate(175%);
}

body.public-shell:not(.admin-shell) .mobile-bottom-nav-item {
    color: rgba(62, 45, 31, 0.82);
}

body.public-shell:not(.admin-shell) .mobile-bottom-nav-item-active {
    background: transparent;
}

body.public-shell:not(.admin-shell) .mobile-bottom-nav-item-active::before {
    background: rgba(255, 255, 255, 0.34);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.26),
        0 10px 24px rgba(44, 26, 11, 0.08);
}

@keyframes app-background-drift {
    0% {
        background-position: 0% 0%, center center, 0% 0%, 100% 0%, 100% 100%;
    }
    100% {
        background-position: 4% 6%, center center, 5% 8%, 92% 10%, 95% 94%;
    }
}

@keyframes app-background-pan {
    0% {
        transform: scale(1.02) translate3d(0, 0, 0);
    }
    100% {
        transform: scale(1.08) translate3d(10px, -14px, 0);
    }
}

@keyframes app-orb-float {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(18px, -26px, 0) scale(1.08);
    }
}

@keyframes app-halo-float {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.68;
    }
    50% {
        transform: translateX(-48%) translateY(-24px);
        opacity: 0.82;
    }
}

@media (max-width: 920px) {
    body.public-shell:not(.admin-shell) .brand-wordmark {
        width: min(560px, 78vw);
    }
}

@media (max-width: 780px) {
    body.public-shell:not(.admin-shell) .topbar {
        padding: 4px 2px 8px;
        gap: 12px;
    }

    .shell {
        width: min(1180px, calc(100% - 24px));
    }

    body.public-shell:not(.admin-shell) .brand-wordmark {
        width: min(430px, 86vw);
    }

body.public-shell:not(.admin-shell) .mobile-bottom-nav {
    bottom: 10px;
    width: min(496px, calc(100% - 6px));
    padding: 4px 3px;
}

    body.public-shell:not(.admin-shell) .topbar-side {
        justify-self: center;
        width: 100%;
        justify-content: center;
    }

    body.public-shell:not(.admin-shell) .topbar-notification-link {
        width: 52px;
        height: 52px;
    }

    body.public-shell:not(.admin-shell) .topbar-notification-icon {
        width: 38px;
        height: 38px;
    }

    body.public-shell:not(.admin-shell) .topbar-cart-link {
        top: 10px;
        right: 10px;
        width: 52px;
        height: 52px;
    }

    body.public-shell:not(.admin-shell) .topbar-radio-link {
        width: 52px;
        height: 52px;
    }

    body.public-shell:not(.admin-shell) .topbar-cart-icon {
        width: 34px;
        height: 34px;
    }

    body.public-shell:not(.admin-shell) .notifications-popover {
        right: 10px;
        bottom: 82px;
        width: min(340px, calc(100vw - 16px));
    }

    body.public-shell:not(.admin-shell) .radio-popover {
        top: 62px;
        right: 10px;
        width: min(320px, calc(100vw - 16px));
    }
}

@media (max-width: 640px) {
    body.public-shell:not(.admin-shell) .category-grid {
        gap: 9px;
    }

    body.public-shell:not(.admin-shell) .category-card {
        padding: 12px 6px;
        border-radius: 18px;
    }

    body.public-shell:not(.admin-shell) .category-icon-wrap {
        width: 38px;
        height: 38px;
    }

    body.public-shell:not(.admin-shell) .category-card strong {
        font-size: 0.76rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.public-shell:not(.admin-shell),
    body.public-shell:not(.admin-shell)::before,
    body.public-shell:not(.admin-shell)::after,
    .public-shell .shell::before {
        animation: none;
    }
}

/* Home store list */

.store-list {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.section#lojas {
    padding-top: 18px;
}

.store-filter-form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
    max-width: 100%;
    overflow: visible;
    padding: 2px 0 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.store-filter-form::-webkit-scrollbar {
    display: none;
}

.store-filter-field {
    display: block;
    flex: 0 0 auto;
    max-width: 100%;
}

.store-filter-field input,
.store-filter-field select {
    max-width: 100%;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    background: rgba(255, 255, 255, 0.7);
    color: #231d22;
    box-shadow: 0 8px 16px rgba(58, 33, 15, 0.05);
    backdrop-filter: blur(16px) saturate(160%);
    white-space: nowrap;
}

.store-filter-field-search input {
    width: min(220px, 100%);
}

.store-filter-field select {
    width: auto;
    min-width: 132px;
}

.store-filter-field input::placeholder {
    color: #7c6e63;
}

.store-filter-form .button {
    min-height: 38px;
    padding: 8px 14px;
    flex: 0 0 auto;
}

.store-filter-submit {
    min-width: 54px;
}

.store-list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.store-list-filter-label {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.64);
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: #8b4a12;
    font-size: 0.82rem;
    font-weight: 800;
}

.store-list-card {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(255, 251, 246, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 18px rgba(58, 33, 15, 0.06);
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.store-list-card-placeholder {
    background: linear-gradient(180deg, rgba(255, 249, 241, 0.94) 0%, rgba(255, 252, 247, 0.88) 100%);
}

.store-list-card-link {
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.store-list-card-link:hover {
    transform: translateY(-2px);
    border-color: rgba(230, 170, 112, 0.76);
    box-shadow: 0 14px 22px rgba(58, 33, 15, 0.1);
}

.store-list-media {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 244, 232, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.74);
    box-shadow: 0 8px 16px rgba(68, 41, 22, 0.08);
}

.store-list-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.store-list-media-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #ef6e12;
}

.store-list-media-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.store-list-body {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.store-list-body h3 {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.store-list-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.store-list-stat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.74);
    color: #5f4f42;
    font-size: 0.76rem;
    line-height: 1;
    white-space: nowrap;
}

.store-list-stat strong {
    color: #1f1711;
    font-size: 0.8rem;
}

.store-list-status {
    gap: 7px;
    font-weight: 700;
}

.store-list-status strong {
    font-size: 0.76rem;
}

.store-list-status-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 999px;
    background: currentColor;
}

.store-list-status-open {
    color: #17633a;
}

.store-list-status-closed {
    color: #b04916;
}

.store-list-hours {
    color: #6b5b4c;
}

.store-list-stat-soft {
    color: #9b4b0e;
}

.store-list-card .placeholder-badge {
    justify-self: end;
    padding: 7px 10px;
    font-size: 0.74rem;
}

@media (max-width: 900px) {
    .store-filter-field-search input {
        width: 164px;
    }

    .store-list-card .placeholder-badge {
        justify-self: start;
        grid-column: 2;
    }
}

@media (max-width: 640px) {
    .store-filter-form {
        flex-wrap: nowrap;
        gap: 8px;
        margin-bottom: 6px;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .store-filter-field-search input {
        width: 142px;
    }

    .store-filter-field select {
        min-width: 118px;
    }

    .store-filter-form .button {
        padding: 8px 12px;
    }

    .store-list-toolbar {
        margin-bottom: 8px;
    }

    .store-list-card {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 10px;
        padding: 9px 10px;
        border-radius: 16px;
    }

    .store-list-media {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
        border-radius: 14px;
    }

    .store-list-body h3 {
        font-size: 0.92rem;
    }

    .store-list-stat {
        font-size: 0.72rem;
        padding: 5px 7px;
    }

    .store-list-card .placeholder-badge {
        width: fit-content;
        grid-column: 2;
    }
}

.portal-hero-section,
.portal-actions-section,
.portal-section {
    padding-top: 18px;
}

.portal-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.85fr);
    gap: 16px;
}

.portal-side-stack,
.portal-post-grid,
.portal-promo-grid,
.portal-service-grid {
    display: grid;
    gap: 14px;
}

.portal-actions-section {
    position: relative;
    padding: 18px 0 0;
    margin-top: 4px;
    margin-inline: -8px;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.portal-actions-section::before {
    content: "";
    display: block;
    width: min(100%, 240px);
    height: 1px;
    margin: 0 auto 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 184, 134, 0.88) 50%, rgba(255, 255, 255, 0) 100%);
    box-shadow: 0 0 18px rgba(255, 145, 60, 0.12);
}

.portal-head-balance {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 10px 10px;
}

.portal-head-balance-line {
    width: min(100%, 220px);
    height: 1px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 184, 134, 0.9) 50%, rgba(255, 255, 255, 0) 100%);
    box-shadow: 0 0 18px rgba(255, 145, 60, 0.14);
}

.portal-head-balance-orb {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 166, 86, 0.84);
    box-shadow: 0 0 0 6px rgba(255, 183, 128, 0.14);
}

.portal-head-balance-orb-right {
    background: rgba(240, 123, 33, 0.92);
}

.portal-quick-launch {
    display: grid;
    gap: 10px;
    padding: 0 4px 14px;
}

.portal-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.portal-quick-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 0;
    padding: 12px 14px;
    border-radius: 22px;
    text-decoration: none;
    color: #2d2119;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 250, 244, 0.28) 100%);
    border: 1px solid rgba(255, 255, 255, 0.52);
    box-shadow: 0 16px 34px rgba(53, 32, 16, 0.08);
    backdrop-filter: blur(18px) saturate(168%);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.portal-quick-link:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 180, 132, 0.82);
    box-shadow: 0 20px 40px rgba(53, 32, 16, 0.11);
}

.portal-quick-link strong {
    min-width: 0;
    font-size: 0.9rem;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #1f1711;
}

.portal-quick-link-icon-wrap {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 122, 24, 0.16), rgba(255, 228, 202, 0.72));
    color: #ff7a18;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.portal-quick-link-icon {
    width: 18px;
    height: 18px;
}

.portal-radio-launch {
    padding: 0 4px 14px;
}

.portal-radio-link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 14px 16px;
    border-radius: 24px;
    text-decoration: none;
    color: #23180f;
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.8) 0%, rgba(255, 247, 239, 0.62) 100%);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 34px rgba(53, 32, 16, 0.08);
    backdrop-filter: blur(18px) saturate(168%);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.portal-radio-link:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 180, 132, 0.82);
    box-shadow: 0 22px 42px rgba(53, 32, 16, 0.11);
}

.portal-radio-link-icon-wrap {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 122, 24, 0.18), rgba(255, 233, 212, 0.86));
    color: #ef6d11;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.portal-radio-link-icon {
    width: 22px;
    height: 22px;
}

.portal-radio-link-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.portal-radio-link-copy strong {
    font-size: 0.98rem;
    line-height: 1.05;
    color: #23180f;
}

.portal-radio-link-copy small {
    color: #75685a;
    font-size: 0.8rem;
    line-height: 1.3;
}

.portal-radio-link-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f07b21 0%, #d95f00 100%);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    box-shadow: 0 14px 26px rgba(217, 95, 0, 0.18);
}

.portal-side-stack {
    align-content: stretch;
}

.portal-banner-card,
.portal-post-card,
.portal-service-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 249, 243, 0.82) 100%);
    border: 1px solid rgba(255, 255, 255, 0.76);
    box-shadow: 0 18px 36px rgba(62, 36, 19, 0.08);
}

.portal-banner-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
}

.portal-banner-card-large {
    min-height: 320px;
}

.portal-banner-card-side {
    min-height: 152px;
}

.portal-banner-media {
    min-height: 176px;
    background: linear-gradient(135deg, rgba(255, 122, 24, 0.16), rgba(22, 82, 58, 0.16));
}

.portal-banner-card-large .portal-banner-media {
    min-height: 208px;
}

.portal-banner-media img,
.portal-post-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.portal-banner-copy,
.portal-post-copy {
    display: grid;
    gap: 12px;
    min-width: 0;
    padding: 22px 22px 24px;
}

.portal-banner-copy h1,
.portal-banner-copy h2,
.portal-post-copy h3 {
    margin: 0;
    color: #1e1711;
    line-height: 1.06;
}

.portal-banner-copy h1 {
    font-size: clamp(1.8rem, 2.9vw, 3.05rem);
    max-width: 12ch;
}

.portal-banner-copy h2 {
    font-size: 1.24rem;
}

.portal-post-copy h3 {
    font-size: 1.12rem;
}

.portal-banner-copy p,
.portal-post-copy p,
.portal-service-card span {
    margin: 0;
    color: #66584d;
    line-height: 1.55;
}

.portal-banner-actions,
.portal-post-footer,
.portal-post-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.portal-post-kind {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.86);
    color: #9f4d06;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.portal-post-kind-icon {
    width: 15px;
    height: 15px;
    color: #ff7a18;
}

.portal-banner-date {
    color: #8e7d71;
    font-size: 0.8rem;
    white-space: nowrap;
}

.portal-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.portal-service-card {
    display: grid;
    gap: 16px;
    padding: 18px 18px 20px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.portal-service-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 180, 132, 0.88);
    box-shadow: 0 22px 38px rgba(62, 36, 19, 0.12);
}

.portal-service-card-image-only {
    display: block;
    padding: 0;
    height: auto;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.portal-service-card-featured {
    grid-column: 1 / -1;
}

.portal-service-card-image-only:hover {
    border-color: transparent;
    box-shadow: 0 18px 34px rgba(62, 36, 19, 0.14);
}

.portal-service-image-full {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 28px;
    box-shadow: 0 18px 36px rgba(62, 36, 19, 0.1);
}

.portal-service-card strong {
    color: #1f1711;
    font-size: 1.32rem;
    line-height: 1.06;
}

.portal-service-icon-wrap {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 122, 24, 0.15), rgba(255, 214, 176, 0.62));
    color: #ff7a18;
}

.portal-service-icon {
    width: 24px;
    height: 24px;
}

.portal-service-media {
    min-height: 156px;
    display: grid;
    align-content: space-between;
    gap: 18px;
    padding: 16px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(255, 176, 118, 0.34), transparent 32%),
        linear-gradient(180deg, rgba(255, 248, 240, 0.92) 0%, rgba(255, 238, 220, 0.76) 100%);
    border: 1px dashed rgba(229, 168, 119, 0.72);
}

.portal-service-placeholder {
    display: inline-flex;
    align-items: flex-end;
    color: #9a7a62;
    font-size: 0.94rem;
    line-height: 1.45;
}

.portal-service-copy {
    display: grid;
    gap: 8px;
}

.portal-service-kicker {
    color: #a04a06;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portal-service-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f07b21 0%, #d95f00 100%);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    box-shadow: 0 14px 26px rgba(217, 95, 0, 0.2);
}

.portal-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.portal-promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portal-post-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
}

.portal-post-card-promo {
    padding: 18px 18px 20px;
    gap: 10px;
}

.portal-post-card-promo h3,
.portal-post-card-promo p {
    margin: 0;
}

.portal-post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portal-post-media {
    min-height: 180px;
    background: linear-gradient(135deg, rgba(255, 122, 24, 0.12), rgba(24, 91, 64, 0.12));
}

.portal-post-card .text-link {
    width: fit-content;
}

.admin-city-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.radio-page {
    padding: 22px;
}

.radio-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.35fr);
    gap: 18px;
    align-items: start;
}

.radio-player-card,
.radio-directory {
    display: grid;
    gap: 14px;
}

.radio-player-card {
    padding: 20px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 249, 242, 0.74) 100%);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 36px rgba(62, 36, 19, 0.08);
}

.radio-player-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.radio-live-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 120, 64, 0.12);
    color: #d85c14;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.radio-player-now {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.radio-player-icon-wrap {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 122, 24, 0.18), rgba(255, 232, 207, 0.84));
    color: #ef6d11;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.radio-player-icon {
    width: 30px;
    height: 30px;
}

.radio-player-copy {
    display: grid;
    gap: 4px;
}

.radio-player-copy strong {
    font-size: 1.24rem;
    line-height: 1.08;
    color: #23180f;
}

.radio-player-copy p {
    margin: 0;
    color: #75685a;
    font-size: 0.92rem;
    line-height: 1.45;
}

.radio-audio-player {
    width: 100%;
    min-height: 54px;
}

.radio-player-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.radio-homepage-link {
    min-height: 42px;
}

.radio-codec-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(236, 222, 206, 0.88);
    color: #6d5a49;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.radio-segment-row {
    gap: 10px;
}

.radio-station-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.radio-station-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 24px;
    text-decoration: none;
    color: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(255, 249, 243, 0.78) 100%);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 36px rgba(62, 36, 19, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.radio-station-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 180, 132, 0.82);
    box-shadow: 0 22px 42px rgba(62, 36, 19, 0.11);
}

.radio-station-card-active {
    border-color: rgba(239, 109, 17, 0.34);
    box-shadow: 0 22px 42px rgba(239, 109, 17, 0.12);
}

.radio-station-card-featured {
    border-color: rgba(239, 109, 17, 0.3);
    background: linear-gradient(135deg, rgba(255, 246, 235, 0.94), rgba(255, 255, 255, 0.76));
}

.radio-station-card-unavailable {
    opacity: 0.72;
    background: rgba(255, 255, 255, 0.58);
    border-color: rgba(160, 139, 119, 0.2);
}

.radio-station-card-unavailable .radio-station-emblem {
    background: rgba(137, 118, 101, 0.12);
    color: rgba(96, 79, 65, 0.56);
}

.radio-station-card-top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.radio-station-emblem {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 122, 24, 0.16), rgba(255, 234, 214, 0.84));
    color: #ef6d11;
}

.radio-station-emblem-icon {
    width: 24px;
    height: 24px;
}

.radio-station-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.radio-station-copy strong {
    color: #23180f;
    font-size: 1rem;
    line-height: 1.14;
}

.radio-station-copy span {
    color: #7a6a5b;
    font-size: 0.82rem;
    line-height: 1.38;
}

.radio-station-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.radio-station-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(235, 221, 205, 0.86);
    color: #8a725c;
    font-size: 0.74rem;
    font-weight: 800;
}

@media (max-width: 1180px) {
    .portal-hero-grid {
        grid-template-columns: 1fr;
    }

    .portal-side-stack,
    .portal-promo-grid,
    .portal-post-grid,
    .portal-service-grid,
    .admin-city-grid,
    .radio-station-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .radio-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .portal-banner-copy,
    .portal-post-copy,
    .portal-service-card,
    .portal-post-card-promo {
        padding: 18px;
    }

    .portal-banner-card-large {
        min-height: 0;
    }

    .portal-banner-copy h1 {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .portal-head-balance {
        padding-bottom: 8px;
    }

    .portal-head-balance-line {
        width: min(100%, 180px);
    }

    .portal-quick-launch {
        padding-bottom: 10px;
    }

    .portal-radio-launch {
        padding: 0 2px 10px;
    }

    .portal-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .portal-quick-link {
        justify-content: flex-start;
        padding: 11px 12px;
        border-radius: 18px;
    }

    .portal-quick-link strong {
        font-size: 0.84rem;
    }

    .portal-quick-link-icon-wrap {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        border-radius: 12px;
    }

    .portal-quick-link-icon {
        width: 16px;
        height: 16px;
    }

    .portal-radio-link {
        grid-template-columns: auto minmax(0, 1fr);
        padding: 12px 14px;
        border-radius: 20px;
    }

    .portal-radio-link-action {
        display: none;
    }

    .radio-page {
        padding: 18px;
    }

    .radio-station-grid {
        grid-template-columns: 1fr;
    }

    .portal-hero-section,
    .portal-actions-section,
    .portal-section {
        padding-top: 14px;
    }

    .portal-actions-section {
        margin-inline: -4px;
    }

    .portal-side-stack,
    .portal-promo-grid,
    .portal-post-grid,
    .portal-service-grid,
    .admin-city-grid {
        grid-template-columns: 1fr;
    }

    .portal-banner-card,
    .portal-post-card,
    .portal-service-card {
        border-radius: 22px;
    }

    .portal-service-image-full {
        border-radius: 22px;
    }

    .portal-banner-copy,
    .portal-post-copy,
    .portal-service-card,
    .portal-post-card-promo {
        padding: 16px;
    }

    .portal-banner-card-side {
        min-height: 0;
    }

    .portal-banner-media {
        min-height: 156px;
    }

    .portal-post-media {
        min-height: 160px;
    }

    .portal-banner-actions,
    .portal-post-footer,
    .portal-post-topline,
    .portal-section-head {
        align-items: flex-start;
    }
}

.social-auth-card {
    display: grid;
    gap: 12px;
}

.auth-social-title {
    margin: 0;
    font-size: 0.96rem;
    letter-spacing: -0.02em;
    color: rgba(76, 69, 63, 0.72);
    font-weight: 600;
}

.auth-stack {
    display: grid;
    gap: 18px;
}

.auth-customer-card {
    display: grid;
    gap: 18px;
}

.social-login-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.social-login-grid-auth {
    margin-top: 0;
}

.social-login-grid::-webkit-scrollbar {
    display: none;
}

.social-login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: 0 14px 26px rgba(46, 28, 16, 0.08);
    color: #201811;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.social-login-button:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 172, 120, 0.88);
    box-shadow: 0 18px 30px rgba(46, 28, 16, 0.12);
}

.social-login-button-disabled {
    opacity: 0.62;
    pointer-events: none;
}

.social-login-button-icon-only {
    width: 60px;
    min-width: 60px;
    min-height: 60px;
    padding: 0;
    border-radius: 20px;
}

.social-login-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.profile-account-card,
.profile-login-card {
    display: grid;
    gap: 18px;
    padding: 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.56);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px) saturate(160%);
}

.profile-account-head {
    display: flex;
    align-items: center;
    gap: 18px;
}

.profile-account-copy {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.profile-account-copy h3,
.profile-login-card h3 {
    margin: 0;
    font-size: 1.4rem;
    color: #1f1711;
}

.profile-account-avatar {
    width: 84px;
    height: 84px;
    border-radius: 26px;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(255, 122, 24, 0.16), rgba(255, 196, 140, 0.64));
    box-shadow: 0 18px 28px rgba(255, 122, 24, 0.16);
}

.profile-account-avatar-fallback {
    display: grid;
    place-items: center;
    color: #8c3d04;
    font-weight: 900;
    font-size: 1.48rem;
}

.profile-account-providers,
.profile-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.provider-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.78);
    color: #4f443a;
    font-size: 0.84rem;
    font-weight: 700;
}

.provider-pill-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.topnav-account-link {
    margin-left: 4px;
}

.topnav-avatar {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    object-fit: cover;
    box-shadow: 0 8px 16px rgba(30, 18, 10, 0.12);
}

.notifications-list {
    display: grid;
    gap: 14px;
}

.notifications-card {
    display: grid;
    gap: 10px;
    padding: 18px 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.76);
    box-shadow: 0 14px 28px rgba(52, 30, 14, 0.08);
}

.notifications-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.notifications-card h2,
.notifications-card p {
    margin: 0;
}

.notifications-card-date {
    color: rgba(90, 81, 74, 0.76);
    font-size: 0.84rem;
    font-weight: 600;
}

@media (max-width: 640px) {
    .profile-account-card,
    .profile-login-card {
        padding: 18px;
        border-radius: 22px;
    }

    .profile-account-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-account-avatar {
        width: 72px;
        height: 72px;
        border-radius: 22px;
    }
}

.auth-login-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

@media (max-width: 720px) {
    .auth-login-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

.profile-form-stack {
    display: grid;
    gap: 18px;
}

.profile-block-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.profile-block-head h2 {
    margin: 0 0 6px;
    font-size: 1.14rem;
}

.profile-block-head p {
    margin: 0;
    color: var(--muted);
}

.profile-form-actions {
    display: flex;
    justify-content: flex-start;
}

.field-hint {
    display: block;
    margin-top: 6px;
    color: rgba(90, 81, 74, 0.78);
    font-size: 0.8rem;
}

.profile-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
    gap: 20px;
    align-items: start;
}

.profile-main,
.profile-sidebar {
    min-width: 0;
}

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

.profile-avatar-form,
.profile-security-form {
    display: grid;
    gap: 16px;
}

.profile-address-form {
    display: grid;
    gap: 18px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(231, 214, 196, 0.82);
}

.profile-address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.profile-address-card {
    display: grid;
    gap: 10px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 16px 32px rgba(52, 32, 16, 0.08);
}

.profile-address-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.profile-address-head h3 {
    margin: 0;
    font-size: 1rem;
    color: #1f1711;
}

.profile-address-card p {
    margin: 0;
    color: rgba(78, 69, 61, 0.88);
    line-height: 1.45;
}

.profile-address-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.profile-address-actions form {
    margin: 0;
}

.profile-address-actions .button {
    min-height: 42px;
}

.profile-avatar-fields {
    display: grid;
    gap: 14px;
}

.profile-summary-card {
    display: grid;
    gap: 16px;
    padding: 22px;
    border-radius: 28px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(250, 243, 236, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.76);
    box-shadow: var(--shadow-soft);
}

.profile-summary-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 14px;
}

.profile-summary-head h2 {
    margin: 6px 0 0;
    font-size: 1.15rem;
    line-height: 1.2;
}

.profile-summary-percent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    min-height: 62px;
    padding: 10px;
    border-radius: 22px;
    background: rgba(255, 122, 24, 0.12);
    color: #a64907;
    font-size: 1.06rem;
    font-weight: 800;
}

.profile-progress {
    position: relative;
    overflow: hidden;
    height: 12px;
    border-radius: 999px;
    background: rgba(224, 215, 207, 0.66);
}

.profile-progress-bar {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #ff7a18, #ffb45b);
}

.profile-checklist {
    display: grid;
    gap: 10px;
}

.profile-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6b6158;
    font-size: 0.92rem;
    font-weight: 600;
}

.profile-check-item-done {
    color: #2f4a34;
}

.profile-check-dot {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 999px;
    background: rgba(160, 150, 140, 0.56);
}

.profile-check-item-done .profile-check-dot {
    background: #1d9c58;
    box-shadow: 0 0 0 6px rgba(29, 156, 88, 0.14);
}

.checkout-saved-address-row {
    align-content: start;
}

.checkout-saved-address-hint {
    margin: 0;
    color: rgba(88, 78, 69, 0.82);
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.45;
}

.checkout-saved-address-hint a {
    color: #9a4300;
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 960px) {
    .profile-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .profile-summary-head {
        flex-direction: column;
    }

    .profile-avatar-fields {
        grid-template-columns: 1fr;
    }

    .profile-address-card {
        padding: 16px;
        border-radius: 20px;
    }

    .profile-address-actions {
        flex-direction: column;
    }

    .profile-address-actions .button,
    .profile-address-actions form,
    .profile-address-actions form button {
        width: 100%;
    }
}

.profile-shell {
    grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr);
    gap: 24px;
}

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

.profile-sidebar {
    gap: 20px;
    align-content: start;
}

.profile-hero-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(255, 178, 91, 0.22), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(251, 245, 238, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: 0 26px 60px rgba(55, 31, 13, 0.12);
}

.profile-hero-card::after {
    content: "";
    position: absolute;
    inset: auto -12% -42% auto;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 122, 24, 0.18), transparent 68%);
    pointer-events: none;
}

.profile-hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}

.profile-hero-media {
    display: grid;
    gap: 12px;
    justify-items: center;
    text-align: center;
}

.profile-avatar-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.profile-avatar-trigger {
    position: relative;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    text-decoration: none;
}

.profile-avatar-trigger::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(255, 122, 24, 0.16), rgba(255, 191, 123, 0.28));
    opacity: 0;
    transition: opacity 180ms ease;
}

.profile-avatar-trigger:hover::before,
.profile-avatar-trigger:focus-within::before {
    opacity: 1;
}

.profile-account-avatar-large {
    width: 148px;
    height: 148px;
    border-radius: 38px;
    position: relative;
    z-index: 1;
    box-shadow: 0 24px 46px rgba(255, 122, 24, 0.2);
}

.profile-account-avatar-fallback.profile-account-avatar-large {
    font-size: 2rem;
}

.profile-avatar-edit-badge {
    position: absolute;
    inset: auto 12px 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(22, 17, 13, 0.72);
    color: #fff8f0;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    backdrop-filter: blur(14px);
}

.profile-avatar-caption {
    color: #2d2219;
    font-size: 0.92rem;
    line-height: 1.4;
}

.profile-avatar-remove-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(233, 220, 208, 0.9);
    color: #6f6255;
    font-size: 0.86rem;
    font-weight: 700;
}

.profile-avatar-remove-toggle input {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    margin: 0;
    accent-color: #ef6e12;
}

.profile-hero-copy {
    display: grid;
    gap: 14px;
    align-content: start;
}

.profile-hero-copy h2 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 2.7rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    color: #1d150f;
}

.profile-hero-copy > p {
    margin: 0;
    max-width: 56ch;
    color: #64584e;
    font-size: 1rem;
    line-height: 1.65;
}

.profile-meta-hero {
    gap: 12px;
}

.profile-account-providers-hero {
    gap: 10px;
}

.profile-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.profile-stat-chip,
.profile-quick-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 32px rgba(55, 31, 13, 0.08);
}

.profile-stat-chip {
    display: grid;
    gap: 4px;
    padding: 16px 18px;
}

.profile-stat-chip strong {
    font-size: 1.42rem;
    line-height: 1;
    color: #9a4300;
}

.profile-stat-chip span {
    color: #6d6055;
    font-size: 0.84rem;
    font-weight: 700;
}

.profile-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 2px;
}

.profile-summary-card,
.profile-quick-card {
    padding: 22px;
}

.profile-summary-card {
    gap: 18px;
}

.profile-quick-card {
    display: grid;
    gap: 18px;
}

.profile-quick-head h2 {
    margin: 6px 0 0;
    font-size: 1.12rem;
}

.profile-quick-list {
    display: grid;
    gap: 12px;
}

.profile-quick-item {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 20px;
    background: rgba(252, 247, 241, 0.84);
    border: 1px solid rgba(239, 227, 214, 0.88);
}

.profile-quick-label {
    color: #8f7d6c;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.profile-quick-item strong {
    color: #2d2219;
    font-size: 0.98rem;
}

.profile-signout-button {
    width: 100%;
    justify-content: center;
}

.profile-block-head {
    margin-bottom: 20px;
}

.profile-address-card {
    gap: 12px;
    padding: 20px;
}

.profile-address-actions {
    gap: 12px;
    margin-top: 10px;
}

.profile-address-form {
    margin-top: 22px;
    padding-top: 22px;
}

@media (max-width: 960px) {
    .profile-shell {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        order: 2;
    }
}

@media (max-width: 720px) {
    .profile-hero-card {
        padding: 20px;
        border-radius: 26px;
    }

    .profile-hero-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .profile-hero-copy {
        text-align: center;
    }

    .profile-meta-hero,
    .profile-account-providers-hero,
    .profile-hero-actions {
        justify-content: center;
    }

    .profile-hero-stats {
        grid-template-columns: 1fr;
    }

    .profile-account-avatar-large {
        width: 120px;
        height: 120px;
        border-radius: 30px;
    }

    .profile-avatar-edit-badge {
        inset: auto 10px 10px;
        min-height: 32px;
        font-size: 0.76rem;
    }

    .profile-summary-card,
    .profile-quick-card {
        padding: 18px;
        border-radius: 22px;
    }
}

/* Storefront mobile menu remake */

.storefront-theme-default,
.storefront-theme-santo {
    --storefront-accent: #ef6e12;
    --storefront-accent-soft: #fff2e4;
    --storefront-ink: #1f1711;
    --storefront-muted: #6d5d4f;
    --storefront-line: #ebd9c7;
    --storefront-panel: rgba(255, 252, 248, 0.98);
}

.storefront-theme-santo {
    --storefront-accent: #ef5f12;
    --storefront-accent-soft: #fff0e6;
}

.storefront-page {
    gap: 16px;
    position: relative;
    padding-bottom: 74px;
    min-width: 0;
    overflow-x: clip;
    isolation: isolate;
}

.storefront-theme-santo.storefront-page::after {
    content: "";
    position: absolute;
    left: -10px;
    right: -10px;
    bottom: -18px;
    height: 240px;
    border-radius: 40px 40px 0 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(239, 95, 18, 0.18), rgba(239, 95, 18, 0) 56%),
        linear-gradient(180deg, rgba(255, 246, 237, 0) 0%, rgba(255, 241, 228, 0.8) 52%, rgba(248, 220, 194, 0.96) 100%);
    z-index: -1;
    pointer-events: none;
}

.storefront-floating-toolbar {
    position: sticky;
    top: 12px;
    z-index: 56;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.storefront-floating-back,
.storefront-floating-cart {
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    padding: 0 16px 0 14px;
    border-radius: 999px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(232, 216, 201, 0.92);
    box-shadow: 0 12px 24px rgba(63, 42, 23, 0.08);
    color: #6d3510;
    backdrop-filter: blur(16px) saturate(165%);
}

.storefront-floating-back {
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 800;
}

.storefront-floating-back-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.storefront-floating-cart {
    position: relative;
    justify-content: center;
    width: 52px;
    min-width: 52px;
    padding: 0;
}

.storefront-floating-cart-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.storefront-floating-cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #f07b21 0%, #d95f00 100%);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}

.storefront-app-panel,
.storefront-menu-group,
.storefront-item-sheet-card {
    background: var(--storefront-panel);
    border: 1px solid var(--storefront-line);
    box-shadow: 0 18px 42px rgba(79, 51, 26, 0.08);
}

.storefront-app-panel {
    display: grid;
    gap: 14px;
    padding: 20px;
    border-radius: 28px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.storefront-app-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.storefront-app-hero {
    margin: -20px -20px 2px;
    min-width: 0;
    position: relative;
    overflow: hidden;
}

.storefront-app-hero-media {
    width: 100%;
    display: block;
    aspect-ratio: 2 / 1;
    object-fit: cover;
}

.storefront-app-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    background: linear-gradient(180deg, rgba(255, 252, 248, 0) 0%, rgba(255, 252, 248, 0.8) 68%, var(--storefront-panel) 100%);
    pointer-events: none;
}

.storefront-back-link,
.storefront-app-cart-chip,
.storefront-app-hours,
.storefront-app-meta-chip,
.storefront-app-highlight,
.storefront-menu-tabs a,
.storefront-menu-group-head span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    text-decoration: none;
}

.storefront-back-link,
.storefront-app-cart-chip,
.storefront-app-hours,
.storefront-app-meta-chip,
.storefront-menu-tabs a,
.storefront-menu-group-head span {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #f0dfcf;
    color: var(--storefront-muted);
}

.storefront-back-link {
    font-size: 0.85rem;
    font-weight: 700;
}

.storefront-app-cart-chip {
    gap: 8px;
    font-size: 0.84rem;
    font-weight: 800;
}

.storefront-app-cart-count,
.storefront-bag-count {
    display: inline-grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--storefront-accent);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 900;
}

.storefront-app-header-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.storefront-app-brand {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    align-items: start;
    min-width: 0;
}

.storefront-app-brand-copy {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.storefront-app-highlight,
.storefront-item-sheet-category {
    background: var(--storefront-accent-soft);
    color: var(--storefront-accent);
    border: 1px solid rgba(239, 110, 18, 0.16);
    font-size: 0.73rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.storefront-app-brand-copy h1 {
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    line-height: 0.96;
    color: var(--storefront-ink);
}

.storefront-app-brand-copy p,
.storefront-menu-group-head p,
.storefront-menu-row-copy p,
.storefront-item-sheet-copy p {
    margin: 0;
    color: var(--storefront-muted);
}

.storefront-app-brand-copy p {
    max-width: 40ch;
    line-height: 1.55;
}

.storefront-app-store-meta,
.storefront-app-highlights,
.storefront-app-service-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.storefront-app-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #f0dfcf;
}

.storefront-app-status-copy {
    min-height: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 0.01em;
    align-self: flex-start;
}

.storefront-app-status-dot {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 999px;
    background: currentColor;
}

.storefront-app-status-open {
    color: #17633a;
}

.storefront-app-status-closed {
    color: #b04916;
}

.storefront-app-actions {
    display: grid;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    min-width: 0;
}

.storefront-app-mode-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.storefront-app-mode-switch .mode-pill {
    width: 100%;
    min-height: 42px;
}

.storefront-app-address {
    margin: 0;
    font-size: 0.9rem;
    color: var(--storefront-muted);
}

.storefront-menu-app {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.storefront-menu-app-top {
    position: static;
    z-index: auto;
}

.storefront-menu-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
    overflow: hidden;
    padding: 2px 0 2px;
    min-width: 0;
    max-width: 100%;
    scrollbar-width: none;
}

.storefront-menu-tabs::-webkit-scrollbar {
    display: none;
}

.storefront-menu-tabs a {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
    font-size: 0.84rem;
    font-weight: 800;
}

.storefront-menu-groups {
    display: grid;
    gap: 12px;
}

.storefront-menu-group {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 24px;
    scroll-margin-top: 72px;
    min-width: 0;
}

.storefront-menu-group-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.storefront-menu-group-head h2 {
    margin: 0 0 4px;
    font-size: 1.22rem;
    color: var(--storefront-ink);
}

.storefront-menu-group-head p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.storefront-menu-group-head span {
    flex: 0 0 auto;
    font-size: 0.78rem;
    font-weight: 800;
}

.storefront-menu-group-list {
    display: grid;
    gap: 4px;
}

.storefront-menu-row + .storefront-menu-row {
    border-top: 1px solid rgba(235, 217, 199, 0.82);
}

.storefront-menu-row-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 12px;
    align-items: center;
    min-width: 0;
    padding: 2px 0;
}

.storefront-menu-row-trigger {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.storefront-menu-row-copy {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.storefront-menu-row-copy h3 {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.28;
    color: #332920;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.storefront-menu-row-copy p {
    font-size: 0.86rem;
    line-height: 1.5;
    color: #786a5d;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.storefront-menu-row-hint {
    color: var(--storefront-accent);
    font-size: 0.78rem;
    font-weight: 700;
}

.storefront-menu-row-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.storefront-menu-row-pricing {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}

.storefront-menu-row-pricing small {
    color: #9e8770;
    text-decoration: line-through;
}

.storefront-menu-row-pricing strong {
    color: #47382c;
    font-size: 0.98rem;
    font-weight: 700;
}

.storefront-menu-row-thumb,
.storefront-menu-row-thumb-fallback {
    width: 86px;
    height: 86px;
    max-width: 100%;
    border-radius: 18px;
    border: 1px solid #ead8c5;
}

.storefront-menu-row-thumb {
    object-fit: cover;
    display: block;
}

.storefront-menu-row-thumb-fallback {
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #fff4e6 0%, #fffaf4 100%);
}

.storefront-menu-row-thumb-icon {
    width: 28px;
    height: 28px;
    color: var(--storefront-accent);
}

.storefront-menu-row-add {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(239, 95, 18, 0.12);
    color: #de5d12;
    font-size: 1.32rem;
    line-height: 1;
    font-weight: 500;
    border: 0;
    padding: 0;
    align-self: center;
    justify-self: center;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(239, 95, 18, 0.12);
}

.storefront-menu-row-quick-form {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
}

.storefront-menu-row-add-submit {
    box-shadow: inset 0 0 0 1px rgba(239, 95, 18, 0.12);
}

.storefront-menu-row-trigger-text-only {
    grid-template-columns: minmax(0, 1fr);
}

.storefront-theme-santo .storefront-menu-group {
    gap: 10px;
}

.storefront-theme-santo .storefront-menu-group-head h2 {
    font-size: 1.06rem;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.storefront-theme-santo .storefront-menu-group-head p {
    font-size: 0.84rem;
}

.storefront-theme-santo .storefront-menu-row-trigger {
    padding: 10px 0;
}

.storefront-theme-santo .storefront-menu-row-copy {
    gap: 4px;
}

.storefront-theme-santo .storefront-menu-row-copy h3 {
    font-size: 0.94rem;
    color: #2f261f;
}

.storefront-theme-santo .storefront-menu-row-copy p {
    font-size: 0.81rem;
    line-height: 1.42;
    color: #7f7064;
}

.storefront-theme-santo .storefront-menu-row-pricing strong {
    font-size: 0.94rem;
    color: #4a392f;
}

.storefront-theme-santo .storefront-menu-row-hint {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 22px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 240, 230, 0.72);
    font-size: 0.68rem;
}

.storefront-theme-santo .storefront-menu-row-thumb,
.storefront-theme-santo .storefront-menu-row-thumb-fallback {
    width: 74px;
    height: 74px;
    border-radius: 16px;
}

html.menu-sheet-open,
body.menu-sheet-open {
    overflow: hidden;
}

.storefront-item-sheet {
    width: min(540px, calc(100% - 20px));
    max-width: 100%;
    max-height: calc(100dvh - 24px);
    padding: 0;
    border: 0;
    border-radius: 30px;
    background: transparent;
}

.storefront-item-sheet::backdrop {
    background: rgba(27, 20, 14, 0.5);
    backdrop-filter: blur(5px);
}

.storefront-item-sheet-card {
    position: relative;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
    border-radius: 30px;
    height: min(90dvh, 720px);
    max-height: min(90dvh, 720px);
    overflow: hidden;
}

.storefront-item-sheet-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: rgba(20, 16, 13, 0.66);
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.storefront-item-sheet-media,
.storefront-item-sheet-media-fallback {
    width: 100%;
    height: 156px;
    border-radius: 20px;
    border: 1px solid #ead8c5;
    overflow: hidden;
}

.storefront-item-sheet-media {
    display: block;
    object-fit: cover;
}

.storefront-item-sheet-media-fallback {
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #fff4e6 0%, #fffaf4 100%);
}

.storefront-item-sheet-media-icon {
    width: 30px;
    height: 30px;
    color: var(--storefront-accent);
}

.storefront-item-sheet-copy {
    display: grid;
    gap: 6px;
}

.storefront-item-sheet-copy h3 {
    margin: 0;
    font-size: 1.24rem;
    line-height: 1.1;
    color: var(--storefront-ink);
}

.storefront-item-sheet-copy p {
    font-size: 0.9rem;
    line-height: 1.45;
}

.storefront-item-sheet-base {
    color: var(--storefront-ink);
    font-size: 0.94rem;
}

.storefront-item-sheet-form {
    display: grid;
    gap: 12px;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-right: 4px;
    padding-bottom: 4px;
}

.storefront-item-sheet-groups {
    display: grid;
    gap: 12px;
}

.storefront-sheet-group {
    margin: 0;
    padding: 14px 12px 12px;
    border-radius: 18px;
    border: 1px solid #efdfcf;
    background:
        linear-gradient(180deg, rgba(255, 246, 238, 0.82) 0%, rgba(255, 253, 250, 0.96) 18%, #fffdfa 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.storefront-sheet-group-tone-extra {
    background:
        linear-gradient(180deg, rgba(255, 242, 233, 0.92) 0%, rgba(255, 253, 250, 0.98) 18%, #fffdfa 100%);
    border-color: rgba(239, 164, 111, 0.54);
}

.storefront-sheet-group-tone-sauce {
    background:
        linear-gradient(180deg, rgba(255, 247, 236, 0.92) 0%, rgba(255, 253, 249, 0.98) 18%, #fffdfa 100%);
    border-color: rgba(212, 134, 79, 0.5);
}

.storefront-sheet-group-tone-cheese {
    background:
        linear-gradient(180deg, rgba(255, 248, 221, 0.86) 0%, rgba(255, 253, 246, 0.98) 18%, #fffdfa 100%);
    border-color: rgba(225, 183, 71, 0.46);
}

.storefront-sheet-group legend {
    padding: 0 4px;
}

.storefront-sheet-group-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 10px;
}

.storefront-sheet-group-copy {
    display: grid;
    gap: 2px;
}

.storefront-sheet-group-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #a55315;
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.storefront-sheet-group legend span {
    display: block;
    font-weight: 800;
    color: var(--storefront-ink);
    font-size: 0.92rem;
}

.storefront-sheet-group-caption {
    color: #8a725f;
    font-size: 0.72rem;
    font-weight: 700;
}

.storefront-sheet-group legend small {
    color: var(--storefront-muted);
    font-weight: 600;
    font-size: 0.76rem;
}

.storefront-sheet-group-selection {
    color: #aa5a1c;
    font-size: 0.74rem;
    font-weight: 700;
}

.storefront-sheet-group-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.storefront-sheet-group-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.storefront-sheet-group-badge-required {
    background: rgba(239, 95, 18, 0.12);
    color: #d25208;
}

.storefront-sheet-group-badge-optional {
    background: rgba(23, 99, 58, 0.1);
    color: #17633a;
}

.storefront-sheet-options {
    display: grid;
    gap: 6px;
}

.storefront-sheet-option + .storefront-sheet-option {
    border-top: 0;
}

.storefront-sheet-option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px 11px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(241, 227, 214, 0.92);
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.storefront-sheet-option-selected {
    background: rgba(255, 242, 230, 0.96);
    border-color: rgba(239, 95, 18, 0.28);
    box-shadow: inset 0 0 0 1px rgba(239, 95, 18, 0.08);
}

.storefront-sheet-option-copy {
    display: grid;
    gap: 3px;
    cursor: pointer;
}

.storefront-sheet-option-copy strong {
    color: var(--storefront-ink);
    font-size: 0.9rem;
}

.storefront-sheet-option-copy small {
    color: var(--storefront-muted);
    font-size: 0.78rem;
}

.storefront-sheet-option-control {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
}

.storefront-sheet-option-input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.storefront-sheet-option-toggle {
    width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    border-radius: 999px;
    background: rgba(239, 95, 18, 0.1);
    color: #de5d12;
    box-shadow: inset 0 0 0 1px rgba(239, 95, 18, 0.12);
}

.storefront-sheet-option-toggle:hover {
    transform: none;
}

.storefront-sheet-option-toggle[data-selected="true"] {
    background: linear-gradient(135deg, rgba(239, 95, 18, 0.16) 0%, rgba(239, 95, 18, 0.24) 100%);
    color: #ba4b08;
    box-shadow: inset 0 0 0 1px rgba(239, 95, 18, 0.24);
}

.storefront-sheet-option-toggle-choice {
    width: auto;
    min-width: 74px;
    padding: 0 11px;
    font-size: 0.74rem;
    font-weight: 800;
}

.storefront-sheet-option-toggle-mark {
    font-size: 1.28rem;
    line-height: 1;
}

.storefront-sheet-note {
    display: grid;
    gap: 8px;
}

.storefront-sheet-note span {
    font-weight: 800;
    color: var(--storefront-ink);
}

.storefront-sheet-note textarea {
    width: 100%;
    min-height: 72px;
    resize: vertical;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid #ead8c5;
    background: #fff;
    color: var(--storefront-ink);
    font: inherit;
}

.storefront-sheet-footer {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding-top: 4px;
}

.storefront-sheet-stepper {
    display: grid;
    grid-template-columns: 38px 48px 38px;
    align-items: center;
    border-radius: 16px;
    border: 1px solid #ead8c5;
    background: #fff;
    overflow: hidden;
}

.storefront-sheet-stepper button,
.storefront-sheet-stepper input {
    min-height: 42px;
    border: 0;
    background: transparent;
    text-align: center;
    font: inherit;
    color: var(--storefront-ink);
}

.storefront-sheet-stepper button {
    font-size: 1.15rem;
    cursor: pointer;
}

.storefront-sheet-stepper input {
    font-size: 0.92rem;
    font-weight: 800;
}

.storefront-sheet-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 46px;
    border-radius: 16px;
}

.storefront-sheet-submit strong {
    color: inherit;
}

.storefront-end-cart {
    display: grid;
    gap: 14px;
    padding: 20px;
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(239, 95, 18, 0.14), transparent 34%),
        linear-gradient(180deg, rgba(255, 248, 241, 0.98) 0%, rgba(255, 239, 225, 0.96) 100%);
    border: 1px solid rgba(233, 184, 140, 0.66);
    box-shadow: 0 20px 42px rgba(97, 53, 22, 0.1);
}

.storefront-end-cart-copy {
    display: grid;
    gap: 6px;
}

.storefront-end-cart-kicker {
    color: #b35a11;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.storefront-end-cart-copy strong {
    color: #2f241a;
    font-size: 1.08rem;
    line-height: 1.2;
}

.storefront-end-cart-copy p {
    margin: 0;
    color: #755d49;
    font-size: 0.92rem;
    line-height: 1.55;
}

.storefront-end-cart-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
    padding: 14px 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--storefront-accent) 0%, #ff8d32 100%);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 16px 30px rgba(239, 110, 18, 0.24);
}

.storefront-end-cart-action-copy {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-size: 0.95rem;
    font-weight: 800;
}

.storefront-end-cart-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.storefront-end-cart-action strong {
    color: inherit;
    font-size: 1rem;
}

.storefront-end-cart-empty .storefront-end-cart-action {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(230, 205, 181, 0.8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48);
    color: #8b4a12;
}

@media (max-width: 960px) {
    .storefront-app-header-main {
        grid-template-columns: 1fr;
    }

    .storefront-app-actions {
        max-width: 100%;
    }
}

@media (max-width: 720px) {
    .storefront-page {
        padding-bottom: 104px;
    }

    .storefront-floating-toolbar {
        top: 10px;
    }

    .storefront-floating-back,
    .storefront-floating-cart {
        min-height: 48px;
        padding: 0 14px 0 12px;
    }

    .storefront-floating-back {
        font-size: 0.84rem;
    }

    .storefront-floating-cart {
        width: 48px;
        min-width: 48px;
        padding: 0;
    }

    .storefront-app-panel,
    .storefront-menu-group {
        padding: 16px;
        border-radius: 22px;
    }

    .storefront-app-hero {
        margin: -16px -16px 0;
    }

    .storefront-menu-row-trigger {
        grid-template-columns: minmax(0, 1fr) 74px;
        gap: 10px;
    }

    .storefront-menu-row-shell {
        grid-template-columns: minmax(0, 1fr) 38px;
        gap: 10px;
    }

    .storefront-menu-row-thumb,
    .storefront-menu-row-thumb-fallback {
        width: 74px;
        height: 74px;
        border-radius: 16px;
    }

    .storefront-menu-row-copy h3 {
        font-size: 0.95rem;
    }

    .storefront-menu-row-copy p {
        font-size: 0.84rem;
    }

    .storefront-menu-row-add {
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
    }

    .storefront-sheet-group-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .storefront-item-sheet {
        width: calc(100% - 16px);
    }

    .storefront-item-sheet-card {
        padding: 16px;
        border-radius: 24px;
    }

    .storefront-item-sheet-media,
    .storefront-item-sheet-media-fallback {
        height: 132px;
        border-radius: 18px;
    }

    .storefront-sheet-footer {
        grid-template-columns: 1fr;
    }

    .storefront-end-cart {
        padding: 18px;
        border-radius: 24px;
    }

    .storefront-end-cart-action {
        min-height: 52px;
        padding: 13px 14px;
        border-radius: 18px;
    }

    .storefront-menu-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .storefront-menu-tabs a {
        min-height: 32px;
        padding: 6px 10px;
        font-size: 0.77rem;
    }
}

@media (max-width: 420px) {
    .storefront-floating-back,
    .storefront-floating-cart {
        min-height: 44px;
        padding: 0 12px;
    }

    .storefront-floating-back span {
        font-size: 0.8rem;
    }

    .storefront-floating-cart {
        width: 44px;
        min-width: 44px;
        padding: 0;
    }

    .storefront-floating-cart-icon {
        width: 25px;
        height: 25px;
        flex-basis: 25px;
    }

    .storefront-app-panel,
    .storefront-menu-group {
        padding: 14px;
    }

    .storefront-app-hero {
        margin: -14px -14px 0;
    }

    .storefront-app-brand-copy h1 {
        font-size: 1.62rem;
    }

    .storefront-menu-row-trigger {
        grid-template-columns: minmax(0, 1fr) 66px;
    }

    .storefront-menu-row-trigger-text-only {
        grid-template-columns: minmax(0, 1fr);
    }

    .storefront-menu-row-shell {
        grid-template-columns: minmax(0, 1fr) 34px;
        gap: 8px;
    }

    .storefront-menu-row-thumb,
    .storefront-menu-row-thumb-fallback {
        width: 66px;
        height: 66px;
        border-radius: 14px;
    }

    .storefront-menu-row-add {
        width: 34px;
        height: 34px;
        font-size: 1.15rem;
    }

    .storefront-item-sheet-card {
        padding: 14px;
        gap: 10px;
        border-radius: 22px;
    }

    .storefront-item-sheet-media,
    .storefront-item-sheet-media-fallback {
        height: 112px;
        border-radius: 16px;
    }

    .storefront-item-sheet-copy h3 {
        font-size: 1.1rem;
    }

    .storefront-item-sheet-copy p {
        font-size: 0.84rem;
    }

    .storefront-menu-group-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .storefront-menu-tabs a {
        font-size: 0.74rem;
        padding: 5px 9px;
    }

    .storefront-menu-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .storefront-end-cart {
        padding: 16px;
        gap: 12px;
    }

    .storefront-end-cart-copy strong {
        font-size: 1rem;
    }

    .storefront-end-cart-action {
        padding: 12px 13px;
    }

.storefront-end-cart-action-copy {
    font-size: 0.9rem;
}
}

/* Home visual redesign */

body.public-shell:not(.admin-shell) {
    background:
        linear-gradient(180deg, rgba(255, 246, 236, 0.05) 0%, rgba(226, 194, 164, 0.12) 100%),
        radial-gradient(circle at 16% 18%, rgba(255, 132, 46, 0.2), transparent 24%),
        radial-gradient(circle at 82% 12%, rgba(109, 193, 216, 0.18), transparent 22%),
        linear-gradient(180deg, rgba(243, 223, 198, 0.54) 0%, rgba(235, 207, 177, 0.56) 30%, rgba(216, 193, 170, 0.66) 62%, rgba(192, 171, 149, 0.82) 100%);
}

body.public-shell:not(.admin-shell)::before {
    background: linear-gradient(180deg, rgba(255, 249, 242, 0.04) 0%, rgba(242, 218, 191, 0.02) 38%, rgba(180, 147, 119, 0.08) 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.public-shell .shell::before {
    inset: 14% auto auto 50%;
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(255, 206, 163, 0.18) 0%, rgba(255, 206, 163, 0.04) 42%, rgba(255, 255, 255, 0) 72%);
    filter: blur(24px);
    opacity: 0.58;
}

.public-shell .shell::after {
    content: "";
    position: fixed;
    inset: auto auto 16% 6%;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(100, 194, 222, 0.18) 0%, rgba(100, 194, 222, 0.02) 48%, rgba(100, 194, 222, 0) 72%);
    filter: blur(22px);
    opacity: 0.85;
    pointer-events: none;
    z-index: -1;
    animation: app-orb-float 18s ease-in-out infinite alternate;
}

body.public-shell:not(.admin-shell) .topbar {
    gap: 4px;
    padding: 0 4px 2px;
}

body.public-shell:not(.admin-shell) .brand-wordmark {
    width: min(700px, 68vw);
    filter: drop-shadow(0 14px 24px rgba(111, 53, 12, 0.12));
}

body.public-shell:not(.admin-shell) .page {
    margin-top: 2px;
}

.portal-home-stage {
    position: relative;
    display: grid;
    gap: 14px;
    padding-top: 2px;
    width: min(100%, 980px);
    margin: 0 auto;
}

.portal-home-stage-compact {
    gap: 10px;
    margin-bottom: -4px;
}

.portal-home-stage-glow {
    position: absolute;
    z-index: 0;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(16px);
    opacity: 0.74;
}

.portal-home-stage-glow-left {
    top: 18px;
    left: -16px;
    background: radial-gradient(circle, rgba(255, 146, 66, 0.22) 0%, rgba(255, 146, 66, 0) 72%);
}

.portal-home-stage-glow-right {
    top: 54px;
    right: -20px;
    background: radial-gradient(circle, rgba(112, 191, 214, 0.2) 0%, rgba(112, 191, 214, 0) 72%);
}

.portal-quick-launch,
.portal-actions-section {
    position: relative;
    z-index: 1;
    width: 100%;
}

.portal-quick-launch {
    padding: 0;
}

.portal-quick-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.portal-quick-link {
    display: grid;
    grid-template-rows: auto auto;
    justify-items: center;
    align-content: center;
    justify-content: center;
    place-items: center;
    gap: 7px;
    min-height: 84px;
    padding: 11px 8px 10px;
    border-radius: 999px;
    color: #2f2318;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 12px 24px rgba(46, 27, 13, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.16);
    backdrop-filter: none;
}

.portal-quick-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(46, 27, 13, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.portal-quick-link-active {
    border-color: rgba(240, 123, 33, 0.34);
    background: linear-gradient(180deg, rgba(255, 244, 231, 0.94) 0%, rgba(255, 232, 204, 0.76) 100%);
    color: #9a4300;
}

.portal-quick-link strong {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #261a12;
}

.portal-quick-link-icon-wrap {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    justify-self: center;
    align-self: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 0;
    box-shadow: none;
    color: #f07b21;
}

.portal-quick-link-icon {
    width: 19px;
    height: 19px;
}

.portal-actions-section {
    padding: 10px 0 0;
    margin-top: 0;
    margin-inline: 0;
}

.portal-actions-section::before {
    width: min(100%, 320px);
    margin: 0 auto 16px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 184, 134, 0.76) 50%, rgba(255, 255, 255, 0) 100%);
    box-shadow: 0 0 18px rgba(255, 145, 60, 0.08);
}

.portal-service-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.portal-service-secondary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.portal-service-card {
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.34);
    box-shadow: 0 18px 34px rgba(62, 36, 19, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: none;
}

.portal-service-card:hover {
    box-shadow: 0 22px 38px rgba(62, 36, 19, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.portal-service-card-image-only {
    display: block;
    padding: 0;
    background: rgba(255, 255, 255, 0.08);
}

.portal-service-card-image-only:hover {
    box-shadow: 0 22px 40px rgba(62, 36, 19, 0.14);
}

.portal-service-card-featured {
    grid-column: auto;
    border-radius: 36px;
    box-shadow: 0 28px 50px rgba(62, 36, 19, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.portal-service-card-featured:hover {
    box-shadow: 0 32px 56px rgba(62, 36, 19, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.portal-service-image-full {
    width: 100%;
    height: auto;
    display: block;
    border-radius: inherit;
    box-shadow: none;
}

.portal-service-card-activity {
    display: grid;
    gap: 16px;
    min-height: 100%;
    padding: 20px 18px;
    align-content: start;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.12) 100%);
}

.portal-service-activity-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.32);
    color: rgba(84, 61, 41, 0.88);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.portal-service-copy {
    display: grid;
    gap: 8px;
}

.portal-service-copy strong {
    font-size: 1.26rem;
    line-height: 1.02;
}

.portal-service-copy span {
    color: #5d5145;
    font-size: 0.92rem;
    line-height: 1.5;
}

.portal-service-activity-preview {
    display: grid;
    gap: 10px;
    margin-top: auto;
}

.portal-service-activity-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.34);
    color: #2f2318;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.portal-service-activity-chip small {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.portal-service-activity-icon {
    width: 16px;
    height: 16px;
    color: #f07b21;
}

.portal-service-activity-line {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(240, 123, 33, 0.18), rgba(255, 255, 255, 0.08));
}

.portal-service-activity-line-short {
    width: 68%;
}

@media (max-width: 980px) {
    body.public-shell:not(.admin-shell) .brand-wordmark {
        width: min(620px, 76vw);
    }

    .portal-service-secondary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portal-service-card-activity {
        grid-column: 1 / -1;
    }
}

@media (max-width: 780px) {
    body.public-shell:not(.admin-shell) .topbar {
        padding: 0 2px 2px;
        gap: 2px;
    }

    body.public-shell:not(.admin-shell) .brand-wordmark {
        width: min(470px, 86vw);
    }

    .portal-home-stage {
        gap: 12px;
    }

    .portal-quick-grid {
        gap: 9px;
    }

    .portal-quick-link {
        min-height: 78px;
        padding: 10px 6px 9px;
    }

    .portal-quick-link-icon-wrap {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .portal-quick-link strong {
        font-size: 0.71rem;
        line-height: 1.08;
    }

    .portal-actions-section::before {
        margin-bottom: 14px;
    }
}

@media (max-width: 640px) {
    .public-shell .shell::after {
        width: 190px;
        height: 190px;
        left: -24px;
        bottom: 18%;
    }

    .portal-home-stage-glow {
        width: 120px;
        height: 120px;
        filter: blur(12px);
    }

    .portal-quick-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .portal-quick-link {
        min-height: 74px;
        padding: 9px 4px 8px;
    }

    .portal-quick-link-icon-wrap {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .portal-quick-link-icon {
        width: 16px;
        height: 16px;
    }

    .portal-quick-link strong {
        font-size: 0.66rem;
    }

    .portal-service-secondary-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .portal-service-card,
    .portal-service-card-featured,
    .portal-service-image-full {
        border-radius: 24px;
    }

    .portal-service-card-activity {
        padding: 18px 16px;
    }

    .portal-service-copy strong {
        font-size: 1.14rem;
    }

    .portal-service-copy span {
        font-size: 0.88rem;
    }
}

/* Public wallpaper rebuild */

body.public-shell:not(.admin-shell) {
    background:
        radial-gradient(circle at 16% 18%, rgba(255, 132, 46, 0.22) 0%, rgba(255, 132, 46, 0.05) 18%, rgba(255, 132, 46, 0) 38%),
        radial-gradient(circle at 82% 14%, rgba(97, 186, 214, 0.22) 0%, rgba(97, 186, 214, 0.05) 16%, rgba(97, 186, 214, 0) 36%),
        radial-gradient(circle at 68% 74%, rgba(255, 196, 132, 0.18) 0%, rgba(255, 196, 132, 0.03) 16%, rgba(255, 196, 132, 0) 32%),
        radial-gradient(circle at 22% 78%, rgba(255, 154, 86, 0.14) 0%, rgba(255, 154, 86, 0.02) 14%, rgba(255, 154, 86, 0) 30%),
        linear-gradient(145deg, #f6e7d2 0%, #efd0b0 28%, #f7ead8 52%, #ddeff0 76%, #c4dde4 100%);
    background-size: 112% 112%, 112% 112%, 118% 118%, 120% 120%, 100% 100%;
    animation: app-background-drift 26s ease-in-out infinite alternate;
}

body.public-shell:not(.admin-shell)::before {
    inset: 0;
    width: auto;
    height: auto;
    border-radius: 0;
    background:
        linear-gradient(180deg, rgba(255, 249, 242, 0.14) 0%, rgba(255, 244, 235, 0.08) 34%, rgba(216, 191, 165, 0.08) 70%, rgba(184, 170, 154, 0.12) 100%),
        radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 42%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 1;
    animation: app-background-pan 30s ease-in-out infinite alternate;
}

body.public-shell:not(.admin-shell)::after {
    width: 460px;
    height: 460px;
    left: -120px;
    bottom: 40px;
    background: radial-gradient(circle, rgba(106, 191, 214, 0.22) 0%, rgba(106, 191, 214, 0.06) 30%, rgba(106, 191, 214, 0) 64%);
    filter: none;
    opacity: 0.82;
    animation: app-orb-float 20s ease-in-out infinite alternate-reverse;
}

.public-shell .shell::before {
    inset: 12% auto auto 50%;
    width: 660px;
    height: 660px;
    background:
        radial-gradient(circle, rgba(255, 228, 202, 0.24) 0%, rgba(255, 228, 202, 0.12) 22%, rgba(255, 228, 202, 0.02) 42%, rgba(255, 255, 255, 0) 68%);
    filter: none;
    opacity: 0.7;
    animation: app-halo-float 20s ease-in-out infinite;
}

.public-shell .shell::after {
    content: "";
    position: fixed;
    inset: auto 4% 14% auto;
    width: 220px;
    height: 220px;
    border-radius: 38% 62% 56% 44% / 42% 44% 56% 58%;
    background: linear-gradient(145deg, rgba(255, 146, 66, 0.12), rgba(255, 208, 163, 0.04));
    opacity: 0.9;
    pointer-events: none;
    z-index: -1;
    animation: app-blob-float 18s ease-in-out infinite alternate;
}

@keyframes app-blob-float {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }

    100% {
        transform: translate3d(-10px, -18px, 0) rotate(10deg);
    }
}

/* Public background final remake */

body.public-shell:not(.admin-shell) {
    background:
        radial-gradient(circle at 12% 14%, rgba(255, 133, 54, 0.34) 0%, rgba(255, 133, 54, 0.12) 16%, rgba(255, 133, 54, 0) 38%),
        radial-gradient(circle at 86% 12%, rgba(83, 184, 214, 0.3) 0%, rgba(83, 184, 214, 0.1) 14%, rgba(83, 184, 214, 0) 34%),
        radial-gradient(circle at 76% 72%, rgba(255, 202, 132, 0.2) 0%, rgba(255, 202, 132, 0.06) 12%, rgba(255, 202, 132, 0) 28%),
        radial-gradient(circle at 18% 82%, rgba(240, 122, 61, 0.16) 0%, rgba(240, 122, 61, 0.04) 12%, rgba(240, 122, 61, 0) 28%),
        conic-gradient(from 220deg at 50% 50%, #f8ecdc 0deg, #f0d3b0 78deg, #f7ead9 150deg, #d8edf0 218deg, #c7dfe7 286deg, #f7e7d4 360deg);
    background-size: 120% 120%, 118% 118%, 122% 122%, 118% 118%, 100% 100%;
    animation: app-background-drift 32s ease-in-out infinite alternate;
}

body.public-shell:not(.admin-shell)::before {
    background:
        radial-gradient(circle at 14% 24%, rgba(255, 255, 255, 0.52) 0 2px, transparent 2.6px) 0 0 / 150px 150px,
        radial-gradient(circle at 72% 32%, rgba(255, 255, 255, 0.34) 0 1.8px, transparent 2.4px) 0 0 / 190px 190px,
        radial-gradient(circle at 58% 72%, rgba(255, 239, 225, 0.34) 0 1.6px, transparent 2.2px) 0 0 / 170px 170px,
        linear-gradient(180deg, rgba(255, 252, 248, 0.12) 0%, rgba(255, 247, 240, 0.06) 36%, rgba(214, 191, 169, 0.06) 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 0.78;
    animation: app-particle-drift 36s linear infinite;
}

body.public-shell:not(.admin-shell)::after {
    width: 460px;
    height: 460px;
    left: -140px;
    bottom: 36px;
    border-radius: 44% 56% 58% 42% / 42% 42% 58% 58%;
    background: linear-gradient(145deg, rgba(86, 186, 214, 0.2), rgba(86, 186, 214, 0.04));
    filter: none;
    opacity: 0.68;
    animation: app-blob-float 22s ease-in-out infinite alternate;
}

.public-shell .shell::before {
    inset: 10% auto auto 50%;
    width: 700px;
    height: 700px;
    background:
        radial-gradient(circle, rgba(255, 228, 201, 0.2) 0%, rgba(255, 228, 201, 0.08) 24%, rgba(255, 228, 201, 0.02) 42%, rgba(255, 255, 255, 0) 70%);
    filter: none;
    opacity: 0.62;
    animation: app-halo-float 24s ease-in-out infinite;
}

.public-shell .shell::after {
    inset: auto 3% 12% auto;
    width: 240px;
    height: 240px;
    border-radius: 56% 44% 38% 62% / 52% 42% 58% 48%;
    background: linear-gradient(145deg, rgba(255, 149, 73, 0.14), rgba(255, 218, 181, 0.05));
    opacity: 0.78;
}

.portal-home-stage-glow {
    filter: none;
    opacity: 0.46;
}

body.public-shell:not(.admin-shell) .section,
body.public-shell:not(.admin-shell) .category-card,
body.public-shell:not(.admin-shell) .notifications-popover,
body.public-shell:not(.admin-shell) .topnav a,
body.public-shell:not(.admin-shell) .topnav button,
body.public-shell:not(.admin-shell) .topnav-user,
body.public-shell:not(.admin-shell) .topbar-cart-link,
.portal-quick-link,
.portal-service-card,
.portal-service-card-activity {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.public-shell:not(.admin-shell) .section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.14) 100%);
    border-color: rgba(255, 255, 255, 0.28);
}

body.public-shell:not(.admin-shell) .mobile-bottom-nav {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.36);
    box-shadow: 0 18px 44px rgba(31, 21, 15, 0.18);
    backdrop-filter: blur(24px) saturate(175%);
    -webkit-backdrop-filter: blur(24px) saturate(175%);
}

body.public-shell:not(.admin-shell) .mobile-bottom-nav-item-active::before {
    background: rgba(255, 255, 255, 0.34);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.26),
        0 10px 24px rgba(44, 26, 11, 0.08);
}

body.public-shell:not(.admin-shell) .notifications-popover {
    background: rgba(255, 250, 244, 0.92);
}

@keyframes app-particle-drift {
    0% {
        background-position: 0 0, 0 0, 0 0, 0 0;
    }

    100% {
        background-position: 18px 14px, -14px 24px, 10px -18px, 0 0;
    }
}

/* Public pages surface focus */

body.public-shell:not(.admin-shell) {
    background:
        radial-gradient(circle at 10% 12%, rgba(255, 129, 48, 0.42) 0%, rgba(255, 129, 48, 0.18) 12%, rgba(255, 129, 48, 0) 34%),
        radial-gradient(circle at 88% 10%, rgba(75, 181, 214, 0.38) 0%, rgba(75, 181, 214, 0.16) 12%, rgba(75, 181, 214, 0) 32%),
        radial-gradient(circle at 82% 72%, rgba(255, 209, 140, 0.24) 0%, rgba(255, 209, 140, 0.08) 10%, rgba(255, 209, 140, 0) 26%),
        radial-gradient(circle at 18% 84%, rgba(236, 111, 58, 0.18) 0%, rgba(236, 111, 58, 0.06) 10%, rgba(236, 111, 58, 0) 24%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 36px),
        linear-gradient(150deg, #efc497 0%, #f6ead8 34%, #deeff3 70%, #c6dfe7 100%);
    background-size: 122% 122%, 122% 122%, 120% 120%, 118% 118%, 180px 180px, 100% 100%;
    animation: app-background-drift 36s ease-in-out infinite alternate;
}

body.public-shell:not(.admin-shell)::before {
    background:
        radial-gradient(circle at 16% 22%, rgba(255, 255, 255, 0.54) 0 1.8px, transparent 2.5px) 0 0 / 150px 150px,
        radial-gradient(circle at 76% 30%, rgba(255, 249, 240, 0.42) 0 1.6px, transparent 2.2px) 0 0 / 180px 180px,
        radial-gradient(circle at 52% 74%, rgba(255, 240, 220, 0.34) 0 1.5px, transparent 2px) 0 0 / 170px 170px,
        linear-gradient(180deg, rgba(255, 252, 248, 0.08) 0%, rgba(255, 246, 238, 0.04) 36%, rgba(214, 191, 169, 0.04) 100%);
    opacity: 0.72;
}

body.public-shell:not(.admin-shell)::after {
    width: 520px;
    height: 520px;
    left: -170px;
    bottom: 24px;
    border-radius: 36% 64% 60% 40% / 40% 42% 58% 60%;
    background: linear-gradient(145deg, rgba(77, 182, 214, 0.22), rgba(77, 182, 214, 0.04));
    opacity: 0.6;
}

.public-shell .shell::before {
    inset: 8% auto auto 50%;
    width: 760px;
    height: 760px;
    background:
        radial-gradient(circle, rgba(255, 229, 202, 0.24) 0%, rgba(255, 229, 202, 0.1) 22%, rgba(255, 229, 202, 0.03) 42%, rgba(255, 255, 255, 0) 70%);
    opacity: 0.56;
}

.public-shell .shell::after {
    inset: auto 2% 10% auto;
    width: 280px;
    height: 280px;
    border-radius: 62% 38% 42% 58% / 48% 38% 62% 52%;
    background: linear-gradient(145deg, rgba(255, 147, 70, 0.16), rgba(255, 218, 181, 0.04));
    opacity: 0.72;
}

body.public-shell:not(.admin-shell) .hero,
body.public-shell:not(.admin-shell) .store-hero,
body.public-shell:not(.admin-shell) .section,
body.public-shell:not(.admin-shell) .success-card,
body.public-shell:not(.admin-shell) .empty-state,
body.public-shell:not(.admin-shell) .flash,
body.public-shell:not(.admin-shell) .hero-card,
body.public-shell:not(.admin-shell) .summary-card,
body.public-shell:not(.admin-shell) .storefront-menu-shell,
body.public-shell:not(.admin-shell) .menu-sheet,
body.public-shell:not(.admin-shell) .storefront-end-cart,
body.public-shell:not(.admin-shell) .notifications-popover,
body.public-shell:not(.admin-shell) .topnav a,
body.public-shell:not(.admin-shell) .topnav button,
body.public-shell:not(.admin-shell) .topnav-user,
body.public-shell:not(.admin-shell) .topbar-cart-link {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.public-shell:not(.admin-shell) .hero,
body.public-shell:not(.admin-shell) .store-hero,
body.public-shell:not(.admin-shell) .section,
body.public-shell:not(.admin-shell) .success-card,
body.public-shell:not(.admin-shell) .empty-state {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.16) 100%);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow:
        0 18px 40px rgba(58, 33, 15, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

body.public-shell:not(.admin-shell) .hero-card,
body.public-shell:not(.admin-shell) .summary-card,
body.public-shell:not(.admin-shell) .storefront-menu-shell,
body.public-shell:not(.admin-shell) .menu-sheet,
body.public-shell:not(.admin-shell) .storefront-end-cart {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.14) 100%);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow:
        0 16px 32px rgba(58, 33, 15, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

body.public-shell:not(.admin-shell) .topnav a,
body.public-shell:not(.admin-shell) .topnav button,
body.public-shell:not(.admin-shell) .topnav-user {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 12px 24px rgba(52, 30, 14, 0.08);
}

/* Public background v2 */

body.public-shell:not(.admin-shell) {
    background:
        radial-gradient(circle at 12% 16%, rgba(241, 133, 63, 0.28) 0%, rgba(241, 133, 63, 0.12) 12%, rgba(241, 133, 63, 0) 34%),
        radial-gradient(circle at 86% 14%, rgba(138, 174, 162, 0.24) 0%, rgba(138, 174, 162, 0.1) 12%, rgba(138, 174, 162, 0) 34%),
        radial-gradient(circle at 74% 76%, rgba(255, 205, 130, 0.2) 0%, rgba(255, 205, 130, 0.08) 12%, rgba(255, 205, 130, 0) 28%),
        radial-gradient(circle at 22% 82%, rgba(223, 154, 103, 0.14) 0%, rgba(223, 154, 103, 0.05) 10%, rgba(223, 154, 103, 0) 24%),
        conic-gradient(from 210deg at 50% 50%, #f7ecdf 0deg, #f1d6b7 82deg, #fbf5ee 148deg, #eef3ed 228deg, #dde7e1 300deg, #f6e8d5 360deg);
    background-size: 126% 126%, 126% 126%, 120% 120%, 118% 118%, 100% 100%;
    animation: public-bg-pan 30s ease-in-out infinite alternate;
}

body.public-shell:not(.admin-shell)::before {
    background:
        radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.64) 0 1.8px, transparent 2.4px) 0 0 / 150px 150px,
        radial-gradient(circle at 72% 34%, rgba(255, 255, 255, 0.48) 0 1.6px, transparent 2.2px) 0 0 / 190px 190px,
        radial-gradient(circle at 46% 72%, rgba(255, 243, 227, 0.4) 0 1.5px, transparent 2px) 0 0 / 170px 170px,
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 36%, rgba(196, 220, 226, 0.04) 100%);
    opacity: 0.9;
    animation: public-particles 24s linear infinite;
}

body.public-shell:not(.admin-shell)::after {
    width: 560px;
    height: 560px;
    left: -180px;
    bottom: 48px;
    border-radius: 58% 42% 36% 64% / 44% 52% 48% 56%;
    background:
        linear-gradient(145deg, rgba(146, 179, 166, 0.18), rgba(146, 179, 166, 0.03)),
        linear-gradient(215deg, rgba(246, 150, 95, 0.08), rgba(246, 150, 95, 0));
    opacity: 0.72;
    animation: public-blob-left 20s ease-in-out infinite alternate;
}

.public-shell .shell::before {
    inset: 6% auto auto 50%;
    width: 820px;
    height: 820px;
    background:
        radial-gradient(circle, rgba(255, 235, 211, 0.2) 0%, rgba(255, 235, 211, 0.08) 24%, rgba(255, 235, 211, 0.02) 44%, rgba(255, 255, 255, 0) 72%);
    opacity: 0.56;
    animation: public-blob-center 26s ease-in-out infinite alternate;
}

.public-shell .shell::after {
    inset: auto 2% 18% auto;
    width: 320px;
    height: 320px;
    border-radius: 34% 66% 64% 36% / 44% 42% 58% 56%;
    background:
        linear-gradient(145deg, rgba(236, 144, 74, 0.18), rgba(236, 144, 74, 0.04)),
        linear-gradient(215deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
    opacity: 0.86;
    animation: public-blob-right 18s ease-in-out infinite alternate;
}

body.public-shell:not(.admin-shell) .hero,
body.public-shell:not(.admin-shell) .store-hero,
body.public-shell:not(.admin-shell) .section,
body.public-shell:not(.admin-shell) .success-card,
body.public-shell:not(.admin-shell) .empty-state,
body.public-shell:not(.admin-shell) .flash,
body.public-shell:not(.admin-shell) .hero-card,
body.public-shell:not(.admin-shell) .summary-card,
body.public-shell:not(.admin-shell) .storefront-menu-shell,
body.public-shell:not(.admin-shell) .menu-sheet,
body.public-shell:not(.admin-shell) .storefront-end-cart,
body.public-shell:not(.admin-shell) .notifications-popover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow:
        0 18px 36px rgba(48, 29, 16, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

@keyframes public-bg-pan {
    0% {
        background-position: 0% 0%, 100% 0%, 100% 100%, 0% 100%, 50% 50%;
    }

    100% {
        background-position: 8% 6%, 92% 8%, 94% 92%, 6% 94%, 52% 48%;
    }
}

@keyframes public-particles {
    0% {
        background-position: 0 0, 0 0, 0 0, 0 0;
    }

    100% {
        background-position: 26px 18px, -18px 24px, 14px -20px, 0 0;
    }
}

@keyframes public-blob-left {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }

    100% {
        transform: translate3d(22px, -18px, 0) rotate(10deg);
    }
}

@keyframes public-blob-center {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.48;
    }

    100% {
        transform: translateX(-48%) translateY(18px);
        opacity: 0.64;
    }
}

@keyframes public-blob-right {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }

    100% {
        transform: translate3d(-16px, -22px, 0) rotate(-9deg);
    }
}

/* Public navigation system */

body.public-shell:not(.admin-shell) {
    --public-nav-surface: rgba(251, 246, 239, 0.82);
    --public-nav-surface-strong: rgba(248, 239, 230, 0.92);
    --public-nav-border: rgba(171, 135, 103, 0.2);
    --public-nav-border-strong: rgba(240, 123, 33, 0.24);
    --public-nav-shadow: 0 12px 24px rgba(48, 29, 16, 0.08);
    --public-nav-shadow-soft: 0 10px 20px rgba(48, 29, 16, 0.06);
    --public-nav-text: #5f4732;
    --public-nav-text-active: #9a4300;
    --public-nav-active: rgba(240, 123, 33, 0.14);
}

body.public-shell:not(.admin-shell) .topnav {
    gap: 10px;
}

body.public-shell:not(.admin-shell) .topnav a,
body.public-shell:not(.admin-shell) .topnav button,
body.public-shell:not(.admin-shell) .topnav-user {
    min-height: 42px;
    padding: 10px 15px;
    border-radius: 16px;
    background: var(--public-nav-surface);
    border: 1px solid var(--public-nav-border);
    color: var(--public-nav-text);
    box-shadow: var(--public-nav-shadow-soft);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.public-shell:not(.admin-shell) .topnav a:hover,
body.public-shell:not(.admin-shell) .topnav button:hover {
    background: var(--public-nav-surface-strong);
    border-color: var(--public-nav-border-strong);
    transform: translateY(-1px);
}

body.public-shell:not(.admin-shell) .topnav-link-active,
body.public-shell:not(.admin-shell) .topnav-user {
    background: var(--public-nav-surface-strong);
    border-color: var(--public-nav-border-strong);
    color: var(--public-nav-text-active);
    box-shadow: var(--public-nav-shadow);
}

body.public-shell:not(.admin-shell) .mobile-bottom-nav {
    background: rgba(251, 246, 239, 0.9);
    border: 1px solid var(--public-nav-border);
    box-shadow: 0 16px 30px rgba(31, 21, 15, 0.12);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.public-shell:not(.admin-shell) .mobile-bottom-nav-item {
    color: var(--public-nav-text);
}

body.public-shell:not(.admin-shell) .mobile-bottom-nav-item-active {
    color: var(--public-nav-text-active);
}

body.public-shell:not(.admin-shell) .mobile-bottom-nav-item-active::before {
    background: var(--public-nav-active);
    box-shadow: none;
}

body.public-shell:not(.admin-shell) .mobile-bottom-nav-item-active .mobile-bottom-nav-icon {
    color: #f07b21;
}

body.public-shell:not(.admin-shell) .notifications-popover {
    background: rgba(251, 246, 239, 0.96);
    border: 1px solid var(--public-nav-border);
    box-shadow: 0 18px 36px rgba(48, 29, 16, 0.1);
}

body.public-shell:not(.admin-shell) .storefront-floating-back,
body.public-shell:not(.admin-shell) .storefront-floating-cart,
body.public-shell:not(.admin-shell) .topbar-cart-link {
    background: var(--public-nav-surface-strong);
    border: 1px solid var(--public-nav-border);
    color: var(--public-nav-text-active);
    box-shadow: var(--public-nav-shadow);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.public-shell:not(.admin-shell) .storefront-floating-back:hover,
body.public-shell:not(.admin-shell) .storefront-floating-cart:hover,
body.public-shell:not(.admin-shell) .topbar-cart-link:hover {
    border-color: var(--public-nav-border-strong);
}

/* Profile remake v2 */

.profile-page {
    display: grid;
    gap: 20px;
}

.profile-page-shell {
    display: grid;
    gap: 18px;
}

.profile-header-card,
.profile-pane-card,
.profile-login-card-clean {
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(249, 244, 237, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 38px rgba(54, 32, 15, 0.08);
}

.profile-header-card {
    overflow: hidden;
}

.profile-header-form {
    display: block;
}

.profile-header-main {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 24px;
}

.profile-header-avatar-block {
    display: grid;
    gap: 10px;
    justify-items: start;
}

.profile-avatar-trigger-compact {
    width: max-content;
}

.profile-account-avatar-flat {
    width: 132px;
    height: 132px;
    border-radius: 34px;
    box-shadow: 0 18px 36px rgba(255, 122, 24, 0.16);
}

.profile-avatar-trigger-compact .profile-avatar-edit-badge {
    inset: auto 10px 10px;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    background: rgba(248, 245, 240, 0.94);
    color: #8a4100;
    border: 1px solid rgba(240, 123, 33, 0.16);
    box-shadow: 0 10px 18px rgba(48, 29, 16, 0.1);
}

.profile-avatar-remove-toggle-compact {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(248, 241, 233, 0.76);
    border: 1px solid rgba(201, 169, 141, 0.22);
    color: #6f5743;
    font-size: 0.8rem;
}

.profile-header-copy {
    min-width: 0;
    display: grid;
    gap: 12px;
    align-content: center;
}

.profile-header-copy h1 {
    margin: 0;
    font-size: clamp(1.65rem, 3vw, 2.1rem);
    line-height: 1.04;
    color: #201710;
}

.profile-status-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.profile-status-chip-ready {
    background: rgba(92, 152, 97, 0.14);
    color: #2f6a34;
}

.profile-status-chip-pending {
    background: rgba(240, 123, 33, 0.14);
    color: #9a4300;
}

.profile-header-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.profile-header-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.profile-header-summary-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(247, 241, 235, 0.88);
    border: 1px solid rgba(214, 191, 169, 0.24);
    color: #6a5442;
    font-size: 0.84rem;
    font-weight: 600;
}

.profile-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.profile-header-actions .button {
    white-space: nowrap;
}

.profile-panel-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.profile-panel-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 40px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(251, 245, 238, 0.76);
    border: 1px solid rgba(201, 169, 141, 0.18);
    color: #6b5441;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.profile-panel-link:hover {
    background: rgba(248, 239, 230, 0.94);
    border-color: rgba(240, 123, 33, 0.2);
    color: #9a4300;
    transform: translateY(-1px);
}

.profile-panel-link-active {
    background: rgba(240, 123, 33, 0.12);
    border-color: rgba(240, 123, 33, 0.22);
    color: #9a4300;
    box-shadow: 0 10px 24px rgba(240, 123, 33, 0.1);
}

.profile-panel-stack {
    display: grid;
    gap: 18px;
}

.profile-pane-card {
    padding: 22px;
}

.profile-pane-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.profile-pane-head h2 {
    margin: 0;
    font-size: 1.18rem;
    color: #201710;
}

.profile-pane-head p {
    margin: 6px 0 0;
    color: #6e5845;
    line-height: 1.5;
}

.profile-pane-summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(247, 241, 235, 0.92);
    border: 1px solid rgba(214, 191, 169, 0.24);
    color: #785e49;
    font-size: 0.84rem;
    font-weight: 600;
    white-space: nowrap;
}

.profile-field-group {
    display: grid;
    gap: 14px;
}

.profile-field-group + .profile-field-group {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(214, 191, 169, 0.22);
}

.profile-field-group h3,
.profile-subhead h3 {
    margin: 0;
    font-size: 0.96rem;
    color: #5e4937;
}

.profile-address-form {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.profile-page .profile-address-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.profile-page .profile-address-card {
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(248, 243, 236, 0.92);
    border: 1px solid rgba(214, 191, 169, 0.22);
    box-shadow: none;
}

.profile-page .profile-address-card-primary {
    background: rgba(255, 247, 238, 0.94);
    border-color: rgba(240, 123, 33, 0.22);
}

.profile-address-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: flex-start;
}

.profile-address-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(214, 191, 169, 0.24);
    color: #a84d04;
    flex: 0 0 auto;
}

.profile-address-icon-svg {
    width: 22px;
    height: 22px;
}

.profile-address-content {
    min-width: 0;
}

.profile-address-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}

.profile-address-title-row h3 {
    margin: 0;
    font-size: 1rem;
    color: #2d2118;
}

.profile-page .profile-address-card p {
    margin: 0;
    color: #674f3d;
    font-size: 0.92rem;
    line-height: 1.5;
}

.profile-page .profile-address-card p + p {
    margin-top: 4px;
}

.profile-page .profile-address-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0;
    padding-left: 54px;
}

.profile-page .profile-address-actions form {
    margin: 0;
}

.profile-page .profile-address-actions .button {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.82rem;
}

.cep-lookup-status {
    display: block;
    min-height: 18px;
    margin-top: 6px;
    color: #7d634d;
    font-size: 0.78rem;
    line-height: 1.35;
}

.cep-lookup-status:empty {
    display: none;
}

.cep-lookup-status[data-state="loading"] {
    color: #8c5a22;
}

.cep-lookup-status[data-state="success"] {
    color: #2f6a34;
}

.cep-lookup-status[data-state="error"] {
    color: #9a2f1f;
}

.profile-access-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.profile-access-item {
    display: grid;
    gap: 6px;
    min-width: 0;
    padding: 14px 16px;
    border-radius: 20px;
    background: rgba(248, 243, 236, 0.92);
    border: 1px solid rgba(214, 191, 169, 0.22);
}

.profile-access-label {
    color: #8a6b56;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-access-item strong {
    color: #3c2b1d;
    font-size: 0.95rem;
    line-height: 1.42;
}

.profile-linked-providers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.profile-email-form,
.profile-security-form {
    display: grid;
    gap: 16px;
}

.profile-email-form {
    padding: 16px;
    border-radius: 20px;
    background: rgba(248, 243, 236, 0.82);
    border: 1px solid rgba(214, 191, 169, 0.2);
}

.profile-email-form + .profile-security-form {
    margin-top: 16px;
    padding-top: 18px;
    border-top: 1px solid rgba(214, 191, 169, 0.22);
}

.profile-privacy-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(248, 243, 236, 0.82);
    border: 1px solid rgba(214, 191, 169, 0.2);
}

.profile-privacy-card h3 {
    margin: 0;
    color: #2f2118;
    font-size: 1rem;
}

.profile-privacy-card p {
    margin: 5px 0 0;
    color: #725947;
    font-size: 0.9rem;
    line-height: 1.42;
}

.profile-privacy-card .button {
    flex: 0 0 auto;
}

.profile-signout-row {
    margin-top: 16px;
}

.profile-signout-row .button {
    width: 100%;
}

.profile-danger-card {
    display: grid;
    gap: 14px;
    margin-top: 16px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(88, 31, 20, 0.08);
    border: 1px solid rgba(164, 54, 31, 0.22);
}

.profile-danger-head h3 {
    margin: 0;
    color: #622113;
    font-size: 1rem;
}

.profile-danger-head p {
    max-width: 620px;
    margin: 6px 0 0;
    color: #7b4f42;
    font-size: 0.9rem;
    line-height: 1.5;
}

.profile-danger-actions {
    display: flex;
    justify-content: flex-end;
}

.profile-danger-button {
    background: rgba(153, 42, 24, 0.92);
    color: #fff7ef;
    border: 1px solid rgba(116, 23, 10, 0.12);
}

.profile-danger-button:hover {
    background: #7f2416;
}

.profile-login-card-clean {
    display: grid;
    gap: 16px;
    padding: 24px;
}

.profile-login-card-copy h1 {
    margin: 0;
    color: #201710;
    font-size: 1.48rem;
}

.profile-login-card-copy p {
    margin: 8px 0 0;
    color: #6c5644;
    line-height: 1.55;
}

.profile-page .profile-empty {
    padding: 18px;
    border-radius: 20px;
    background: rgba(248, 243, 236, 0.72);
    border: 1px dashed rgba(214, 191, 169, 0.32);
}

.profile-page .profile-empty p {
    margin: 0;
    color: #6b5441;
}

.profile-page .orders-list {
    gap: 12px;
}

.profile-page .orders-card {
    border-radius: 22px;
    background: rgba(248, 243, 236, 0.92);
    border: 1px solid rgba(214, 191, 169, 0.22);
    box-shadow: none;
}

@media (max-width: 920px) {
    .profile-header-main {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .profile-header-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .profile-page {
        gap: 16px;
    }

    .profile-header-card,
    .profile-pane-card,
    .profile-login-card-clean {
        border-radius: 24px;
    }

    .profile-header-main {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px;
    }

    .profile-header-avatar-block {
        justify-items: center;
    }

    .profile-account-avatar-flat {
        width: 116px;
        height: 116px;
        border-radius: 28px;
    }

    .profile-panel-nav {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }

    .profile-panel-link {
        min-height: 38px;
        padding: 0 6px;
        font-size: 0.78rem;
    }

    .profile-pane-card,
    .profile-login-card-clean {
        padding: 18px;
    }

    .profile-pane-head {
        flex-direction: column;
    }

    .profile-access-grid {
        grid-template-columns: 1fr;
    }

    .profile-privacy-card {
        align-items: stretch;
        flex-direction: column;
    }
}

/* Visual polish pass */

body.public-shell:not(.admin-shell) {
    --surface-solid: rgba(255, 249, 241, 0.82);
    --surface-solid-strong: rgba(255, 251, 246, 0.92);
    --surface-warm: rgba(255, 242, 226, 0.78);
    --surface-line: rgba(162, 125, 91, 0.18);
    --surface-line-strong: rgba(240, 123, 33, 0.26);
    --surface-shadow: 0 18px 38px rgba(55, 33, 18, 0.1);
    --surface-shadow-soft: 0 10px 24px rgba(55, 33, 18, 0.07);
    background:
        radial-gradient(circle at 12% 13%, rgba(240, 123, 33, 0.32) 0%, rgba(240, 123, 33, 0.12) 13%, transparent 34%),
        radial-gradient(circle at 88% 11%, rgba(132, 176, 149, 0.32) 0%, rgba(132, 176, 149, 0.12) 14%, transparent 34%),
        radial-gradient(circle at 76% 74%, rgba(255, 195, 111, 0.24) 0%, rgba(255, 195, 111, 0.08) 12%, transparent 28%),
        radial-gradient(circle at 18% 86%, rgba(223, 132, 78, 0.18) 0%, rgba(223, 132, 78, 0.06) 12%, transparent 26%),
        conic-gradient(from 215deg at 50% 52%, #f8ecde 0deg, #efd3b5 76deg, #fbf5ec 148deg, #eef0e7 224deg, #dce7dd 302deg, #f7e7d2 360deg);
    background-size: 128% 128%, 124% 124%, 122% 122%, 120% 120%, 100% 100%;
    animation: public-bg-pan 34s ease-in-out infinite alternate;
}

body.public-shell:not(.admin-shell)::before {
    background:
        radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.58) 0 1.6px, transparent 2.2px) 0 0 / 150px 150px,
        radial-gradient(circle at 72% 34%, rgba(255, 249, 239, 0.46) 0 1.4px, transparent 2px) 0 0 / 190px 190px,
        radial-gradient(circle at 46% 72%, rgba(255, 238, 216, 0.36) 0 1.3px, transparent 1.9px) 0 0 / 170px 170px,
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    opacity: 0.82;
    animation: public-particles 28s linear infinite;
}

body.public-shell:not(.admin-shell)::after {
    width: 540px;
    height: 540px;
    left: -170px;
    bottom: 54px;
    border-radius: 56% 44% 38% 62% / 42% 52% 48% 58%;
    background:
        linear-gradient(145deg, rgba(134, 174, 150, 0.22), rgba(134, 174, 150, 0.04)),
        linear-gradient(215deg, rgba(240, 123, 33, 0.1), rgba(240, 123, 33, 0));
    opacity: 0.72;
    animation: public-blob-left 21s ease-in-out infinite alternate;
}

.public-shell .shell::before {
    inset: 4% auto auto 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 232, 205, 0.24) 0%, rgba(255, 232, 205, 0.08) 26%, rgba(255, 255, 255, 0) 72%);
    opacity: 0.6;
}

.public-shell .shell::after {
    inset: auto 2% 15% auto;
    width: 310px;
    height: 310px;
    border-radius: 34% 66% 64% 36% / 44% 42% 58% 56%;
    background:
        linear-gradient(145deg, rgba(236, 144, 74, 0.18), rgba(236, 144, 74, 0.04)),
        linear-gradient(215deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
    opacity: 0.8;
}

body.public-shell:not(.admin-shell) .topbar {
    background: transparent;
    border: 0;
    box-shadow: none;
}

body.public-shell:not(.admin-shell) .brand-wordmark {
    filter: drop-shadow(0 16px 24px rgba(93, 49, 17, 0.14));
}

body.public-shell:not(.admin-shell) .section,
body.public-shell:not(.admin-shell) .hero,
body.public-shell:not(.admin-shell) .store-hero,
body.public-shell:not(.admin-shell) .success-card,
body.public-shell:not(.admin-shell) .empty-state,
body.public-shell:not(.admin-shell) .service-hub-card,
body.public-shell:not(.admin-shell) .discovery-card,
body.public-shell:not(.admin-shell) .search-card,
body.public-shell:not(.admin-shell) .transport-card,
body.public-shell:not(.admin-shell) .classified-card,
body.public-shell:not(.admin-shell) .orders-card,
body.public-shell:not(.admin-shell) .profile-card,
body.public-shell:not(.admin-shell) .profile-header-card,
body.public-shell:not(.admin-shell) .profile-pane-card,
body.public-shell:not(.admin-shell) .profile-login-card-clean {
    background: linear-gradient(180deg, var(--surface-solid-strong) 0%, var(--surface-solid) 100%);
    border: 1px solid var(--surface-line);
    box-shadow: var(--surface-shadow);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.public-shell:not(.admin-shell) .section,
body.public-shell:not(.admin-shell) .profile-pane-card {
    border-radius: 30px;
}

body.public-shell:not(.admin-shell) .portal-quick-grid {
    width: min(100%, 760px);
    margin: 0 auto;
    gap: 10px;
}

body.public-shell:not(.admin-shell) .portal-quick-link {
    display: grid;
    grid-template-rows: 30px auto;
    place-items: center;
    min-height: 76px;
    padding: 10px 8px 11px;
    border-radius: 28px;
    background: rgba(255, 248, 239, 0.7);
    border: 1px solid var(--surface-line);
    box-shadow: var(--surface-shadow-soft);
    color: #37271b;
}

body.public-shell:not(.admin-shell) .portal-quick-link:hover {
    background: rgba(255, 250, 244, 0.9);
    border-color: var(--surface-line-strong);
    transform: translateY(-2px);
}

body.public-shell:not(.admin-shell) .portal-quick-link-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #a84b08;
}

body.public-shell:not(.admin-shell) .portal-quick-link-icon {
    width: 22px;
    height: 22px;
}

body.public-shell:not(.admin-shell) .portal-quick-link strong {
    font-size: 0.78rem;
    color: #312217;
}

body.public-shell:not(.admin-shell) .portal-actions-section::before {
    width: min(100%, 360px);
    height: 2px;
    margin-bottom: 18px;
    background: linear-gradient(90deg, transparent 0%, rgba(240, 123, 33, 0.36) 45%, rgba(132, 176, 149, 0.34) 60%, transparent 100%);
    box-shadow: none;
}

body.public-shell:not(.admin-shell) .portal-service-card-image-only {
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
}

body.public-shell:not(.admin-shell) .portal-service-image-full {
    border-radius: 32px;
    filter: drop-shadow(0 18px 32px rgba(52, 30, 14, 0.13));
}

body.public-shell:not(.admin-shell) .portal-service-card-activity,
body.public-shell:not(.admin-shell) .profile-email-form,
body.public-shell:not(.admin-shell) .profile-privacy-card,
body.public-shell:not(.admin-shell) .profile-access-item,
body.public-shell:not(.admin-shell) .profile-address-card {
    background: var(--surface-warm);
    border: 1px solid var(--surface-line);
    box-shadow: none;
}

body.public-shell:not(.admin-shell) .topnav a,
body.public-shell:not(.admin-shell) .topnav button,
body.public-shell:not(.admin-shell) .topnav-user,
body.public-shell:not(.admin-shell) .storefront-floating-back,
body.public-shell:not(.admin-shell) .storefront-floating-cart,
body.public-shell:not(.admin-shell) .topbar-cart-link {
    background: var(--surface-solid-strong);
    border: 1px solid var(--surface-line);
    box-shadow: var(--surface-shadow-soft);
}

body.public-shell:not(.admin-shell) .topnav-link-active,
body.public-shell:not(.admin-shell) .topnav-user {
    background: linear-gradient(180deg, #fff8ef 0%, #ffeddb 100%);
    border-color: var(--surface-line-strong);
}

body.public-shell:not(.admin-shell) .mobile-bottom-nav {
    width: min(570px, calc(100vw - 16px));
    grid-template-columns: repeat(6, minmax(0, 1fr));
    justify-items: stretch;
    gap: 2px;
    padding: 6px 5px;
    border-radius: 28px;
    background: linear-gradient(180deg, #fffaf4 0%, #fff0df 100%);
    border: 1px solid rgba(222, 184, 143, 0.72);
    box-shadow: 0 16px 30px rgba(32, 22, 15, 0.18);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.public-shell:not(.admin-shell) .mobile-bottom-nav-item {
    place-items: center;
    grid-template-rows: 32px 18px;
    width: 100%;
    min-height: 64px;
    padding-inline: 0;
    border-radius: 20px;
    color: #5b412f;
    text-align: center;
}

body.public-shell:not(.admin-shell) .mobile-bottom-nav-item span {
    max-width: 100%;
    overflow: hidden;
    font-size: clamp(0.66rem, 2.75vw, 0.78rem);
    font-weight: 750;
    letter-spacing: -0.02em;
    text-overflow: ellipsis;
}

body.public-shell:not(.admin-shell) .mobile-bottom-nav-item .mobile-bottom-nav-icon {
    margin-inline: auto;
}

body.public-shell:not(.admin-shell) .mobile-bottom-nav-item-active {
    color: #9a4300;
}

body.public-shell:not(.admin-shell) .mobile-bottom-nav-item-active::before {
    inset: 3px;
    border-radius: 19px;
    background: linear-gradient(180deg, #ffe8cd 0%, #ffd8ae 100%);
}

body.public-shell:not(.admin-shell) .mobile-bottom-nav-icon {
    width: 29px;
    height: 29px;
}

body.public-shell:not(.admin-shell) .mobile-bottom-nav-count {
    top: 5px;
    right: 9px;
    width: 15px;
    min-width: 15px;
    max-width: 15px;
    height: 15px;
    font-size: 0.48rem;
}

@media (max-width: 720px) {
    body.public-shell:not(.admin-shell) .brand-wordmark {
        width: min(390px, 88vw);
    }

    body.public-shell:not(.admin-shell) .portal-quick-grid {
        gap: 8px;
    }

    body.public-shell:not(.admin-shell) .portal-quick-link {
        min-height: 66px;
        border-radius: 23px;
    }

    body.public-shell:not(.admin-shell) .portal-service-image-full {
        border-radius: 26px;
    }
}

/* App-feel mobile polish */

html {
    scroll-padding-top: 18px;
}

body {
    -webkit-tap-highlight-color: transparent;
}

a,
button,
input,
select,
textarea {
    touch-action: manipulation;
}

:where(a, button, input, select, textarea):focus-visible {
    outline: 3px solid rgba(240, 123, 33, 0.38);
    outline-offset: 3px;
}

body.public-shell:not(.admin-shell) .mobile-bottom-nav {
    display: grid;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 96;
}

body.public-shell:not(.admin-shell).has-mobile-nav .page {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
}

body.public-shell:not(.admin-shell) .topnav a,
body.public-shell:not(.admin-shell) .topnav button,
body.public-shell:not(.admin-shell) .portal-quick-link,
body.public-shell:not(.admin-shell) .portal-service-card,
body.public-shell:not(.admin-shell) .category-card,
body.public-shell:not(.admin-shell) .store-list-card-link,
body.public-shell:not(.admin-shell) .transport-card,
body.public-shell:not(.admin-shell) .classified-card,
body.public-shell:not(.admin-shell) .profile-panel-link,
body.public-shell:not(.admin-shell) .button,
body.public-shell:not(.admin-shell) .mobile-bottom-nav-item {
    will-change: transform;
}

body.public-shell:not(.admin-shell) .topnav a:active,
body.public-shell:not(.admin-shell) .topnav button:active,
body.public-shell:not(.admin-shell) .portal-quick-link:active,
body.public-shell:not(.admin-shell) .portal-service-card:active,
body.public-shell:not(.admin-shell) .category-card:active,
body.public-shell:not(.admin-shell) .store-list-card-link:active,
body.public-shell:not(.admin-shell) .transport-card:active,
body.public-shell:not(.admin-shell) .classified-card:active,
body.public-shell:not(.admin-shell) .profile-panel-link:active,
body.public-shell:not(.admin-shell) .button:active,
body.public-shell:not(.admin-shell) .mobile-bottom-nav-item:active {
    transform: translateY(1px) scale(0.99);
}

body.public-shell:not(.admin-shell) .mobile-bottom-nav-item:active {
    transform: scale(0.96);
}

body.public-shell:not(.admin-shell) .section,
body.public-shell:not(.admin-shell) .portal-quick-link,
body.public-shell:not(.admin-shell) .portal-service-card,
body.public-shell:not(.admin-shell) .store-list-card,
body.public-shell:not(.admin-shell) .transport-card,
body.public-shell:not(.admin-shell) .classified-card,
body.public-shell:not(.admin-shell) .profile-header-card,
body.public-shell:not(.admin-shell) .profile-pane-card {
    animation: guarago-surface-in 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

body.public-shell:not(.admin-shell) .portal-quick-link:nth-child(2),
body.public-shell:not(.admin-shell) .portal-service-card:nth-child(2),
body.public-shell:not(.admin-shell) .store-list-card:nth-child(2),
body.public-shell:not(.admin-shell) .transport-card:nth-child(2),
body.public-shell:not(.admin-shell) .classified-card:nth-child(2),
body.public-shell:not(.admin-shell) .profile-pane-card:nth-child(2) {
    animation-delay: 45ms;
}

body.public-shell:not(.admin-shell) .portal-quick-link:nth-child(3),
body.public-shell:not(.admin-shell) .portal-service-card:nth-child(3),
body.public-shell:not(.admin-shell) .store-list-card:nth-child(3),
body.public-shell:not(.admin-shell) .transport-card:nth-child(3),
body.public-shell:not(.admin-shell) .classified-card:nth-child(3),
body.public-shell:not(.admin-shell) .profile-pane-card:nth-child(3) {
    animation-delay: 90ms;
}

body.public-shell:not(.admin-shell) .portal-quick-link:nth-child(4),
body.public-shell:not(.admin-shell) .portal-service-card:nth-child(4),
body.public-shell:not(.admin-shell) .store-list-card:nth-child(4),
body.public-shell:not(.admin-shell) .transport-card:nth-child(4),
body.public-shell:not(.admin-shell) .classified-card:nth-child(4),
body.public-shell:not(.admin-shell) .profile-pane-card:nth-child(4) {
    animation-delay: 135ms;
}

@keyframes guarago-surface-in {
    0% {
        opacity: 0;
        transform: translate3d(0, 10px, 0) scale(0.985);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}

/* Bazar total remake */

.bazar-page {
    display: grid;
    gap: 16px;
    width: min(100%, 1080px);
    margin: 0 auto;
}

.bazar-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    gap: 18px;
    align-items: stretch;
    overflow: hidden;
    padding: 28px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 12% 18%, rgba(240, 123, 33, 0.16), transparent 34%),
        linear-gradient(145deg, rgba(255, 251, 246, 0.96), rgba(255, 239, 222, 0.82));
    border: 1px solid rgba(162, 125, 91, 0.18);
    box-shadow: 0 22px 44px rgba(55, 33, 18, 0.12);
}

.bazar-hero::after {
    content: "";
    position: absolute;
    right: -84px;
    top: -98px;
    width: 260px;
    height: 260px;
    border-radius: 44% 56% 58% 42% / 42% 38% 62% 58%;
    background: linear-gradient(145deg, rgba(132, 176, 149, 0.2), rgba(240, 123, 33, 0.08));
    pointer-events: none;
}

.bazar-hero-copy,
.bazar-hero-panel {
    position: relative;
    z-index: 1;
}

.bazar-hero-copy {
    display: grid;
    align-content: center;
    gap: 12px;
}

.bazar-hero h1 {
    max-width: 11ch;
    margin: 0;
    color: #21170f;
    font-size: clamp(2.2rem, 6vw, 4.4rem);
    line-height: 0.92;
}

.bazar-hero p {
    max-width: 58ch;
    margin: 0;
    color: #6d5846;
    font-size: 1rem;
    line-height: 1.58;
}

.bazar-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.bazar-hero-panel {
    display: grid;
    gap: 12px;
}

.bazar-hero-stat {
    display: grid;
    gap: 5px;
    min-width: 0;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 248, 239, 0.78);
    border: 1px solid rgba(162, 125, 91, 0.16);
}

.bazar-hero-stat-main {
    align-content: center;
    min-height: 150px;
    background: linear-gradient(145deg, rgba(42, 72, 55, 0.96), rgba(20, 54, 42, 0.94));
    color: #fff7ef;
}

.bazar-hero-stat strong {
    display: block;
    color: inherit;
    font-size: 1rem;
    line-height: 1.1;
}

.bazar-hero-stat-main strong {
    font-size: clamp(2.8rem, 8vw, 5rem);
    letter-spacing: -0.08em;
}

.bazar-hero-stat span {
    color: rgba(107, 82, 61, 0.84);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bazar-hero-stat-main span {
    color: rgba(255, 247, 239, 0.82);
}

.bazar-hero-stat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.bazar-toolbar,
.bazar-results-section {
    display: grid;
    gap: 16px;
    padding: 20px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 251, 246, 0.9), rgba(255, 243, 230, 0.78));
    border: 1px solid rgba(162, 125, 91, 0.16);
    box-shadow: 0 18px 36px rgba(55, 33, 18, 0.09);
}

.bazar-filter-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) minmax(150px, 0.8fr) minmax(142px, 0.75fr) minmax(100px, 0.55fr) minmax(100px, 0.55fr) auto;
    gap: 12px;
    align-items: end;
}

.bazar-filter-panel label {
    display: grid;
    gap: 7px;
    min-width: 0;
    color: #6b523e;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.bazar-filter-panel input,
.bazar-filter-panel select {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border-radius: 16px;
    color: #2d2118;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(162, 125, 91, 0.18);
    box-shadow: none;
}

.bazar-filter-panel input::placeholder {
    color: rgba(96, 75, 58, 0.5);
}

.bazar-filter-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.bazar-filter-actions .button {
    min-height: 46px;
    padding-inline: 15px;
    white-space: nowrap;
}

.bazar-category-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 2px 6px;
    scrollbar-width: none;
}

.bazar-category-strip::-webkit-scrollbar {
    display: none;
}

.bazar-category-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 42px;
    padding: 8px 10px 8px 12px;
    border-radius: 999px;
    color: #5f4732;
    text-decoration: none;
    background: rgba(255, 248, 239, 0.68);
    border: 1px solid rgba(162, 125, 91, 0.16);
}

.bazar-category-chip-active {
    color: #944100;
    background: linear-gradient(180deg, #fff7ed, #ffe9d5);
    border-color: rgba(240, 123, 33, 0.28);
}

.bazar-category-icon {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
}

.bazar-category-chip span {
    font-size: 0.82rem;
    font-weight: 800;
}

.bazar-category-chip small {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.56);
    font-size: 0.72rem;
    font-weight: 900;
}

.bazar-results-head {
    display: flex;
    align-items: end;
    justify-content: flex-end;
    gap: 16px;
}

.bazar-results-head h2,
.bazar-results-head p {
    margin: 0;
}

.bazar-results-head h2 {
    color: #241910;
    font-size: clamp(1.6rem, 4vw, 2.35rem);
    line-height: 1;
}

.bazar-results-head p {
    margin-top: 7px;
    color: #6d5846;
}

.bazar-view-toggle {
    display: inline-flex;
    gap: 6px;
    flex: 0 0 auto;
    padding: 5px;
    border-radius: 999px;
    background: rgba(255, 248, 239, 0.72);
    border: 1px solid rgba(162, 125, 91, 0.16);
}

.bazar-view-toggle-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 7px 11px;
    border-radius: 999px;
    color: #69513c;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 800;
}

.bazar-view-toggle-link-active {
    color: #944100;
    background: #fff7ed;
    box-shadow: 0 8px 16px rgba(55, 33, 18, 0.08);
}

.bazar-view-toggle-icon {
    width: 16px;
    height: 16px;
}

.bazar-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bazar-active-filters span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #6d4b30;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(162, 125, 91, 0.14);
    font-size: 0.78rem;
    font-weight: 800;
}

.bazar-results {
    display: grid;
    gap: 16px;
}

.bazar-results-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
}

.bazar-results-list {
    grid-template-columns: 1fr;
}

.bazar-card {
    display: grid;
    min-width: 0;
    overflow: hidden;
    border-radius: 28px;
    background: rgba(255, 250, 244, 0.84);
    border: 1px solid rgba(162, 125, 91, 0.16);
    box-shadow: 0 14px 28px rgba(55, 33, 18, 0.08);
}

.bazar-results-list .bazar-card {
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: stretch;
}

.bazar-card-media {
    position: relative;
    min-height: 188px;
    background: linear-gradient(145deg, rgba(255, 229, 203, 0.78), rgba(228, 236, 225, 0.74));
}

.bazar-results-list .bazar-card-media {
    min-height: 100%;
}

.bazar-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 188px;
    object-fit: cover;
}

.bazar-card-media-fallback {
    display: grid;
    place-items: center;
}

.bazar-card-media-icon {
    width: 58px;
    height: 58px;
    color: rgba(154, 67, 0, 0.78);
}

.bazar-card-category {
    position: absolute;
    left: 12px;
    top: 12px;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #4f341f;
    background: rgba(255, 249, 241, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.56);
    font-size: 0.72rem;
    font-weight: 900;
}

.bazar-card-body {
    display: grid;
    gap: 12px;
    padding: 16px;
    align-content: start;
}

.bazar-card-title-row {
    display: grid;
    gap: 8px;
}

.bazar-card h3 {
    margin: 0;
    color: #21170f;
    font-size: 1.18rem;
    line-height: 1.12;
}

.bazar-card-price {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: #173f31;
    font-size: 1.22rem;
    line-height: 1;
    letter-spacing: -0.04em;
}

.bazar-card p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #6b5441;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.bazar-card-meta,
.bazar-card-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.bazar-card-meta span,
.bazar-seller,
.bazar-phone {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 9px;
    border-radius: 999px;
    color: #614936;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(162, 125, 91, 0.13);
    font-size: 0.78rem;
    font-weight: 800;
}

.bazar-seller {
    color: #2f2118;
}

.bazar-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 4px;
}

.bazar-buy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    margin-left: auto;
    padding: 8px 14px;
    border-radius: 999px;
    color: #fff7ef;
    text-decoration: none;
    background: linear-gradient(135deg, #f07b21 0%, #d95f00 100%);
    box-shadow: 0 10px 18px rgba(217, 95, 0, 0.16);
    font-size: 0.84rem;
    font-weight: 900;
}

.bazar-buy-button:hover {
    transform: translateY(-1px);
}

.bazar-contact-icon {
    width: 17px;
    height: 17px;
}

.bazar-detail-page {
    display: grid;
    gap: 16px;
    width: min(100%, 1080px);
    margin: 0 auto;
}

.bazar-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    min-height: 40px;
    padding: 8px 13px;
    border-radius: 999px;
    color: #694c34;
    text-decoration: none;
    background: rgba(255, 249, 241, 0.78);
    border: 1px solid rgba(162, 125, 91, 0.16);
    font-weight: 800;
}

.bazar-detail-back-icon {
    width: 18px;
    height: 18px;
}

.bazar-detail-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    gap: 18px;
    align-items: stretch;
}

.bazar-detail-media,
.bazar-detail-panel {
    overflow: hidden;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255, 251, 246, 0.92), rgba(255, 243, 230, 0.82));
    border: 1px solid rgba(162, 125, 91, 0.16);
    box-shadow: 0 20px 42px rgba(55, 33, 18, 0.1);
}

.bazar-detail-media {
    min-height: 520px;
    background:
        radial-gradient(circle at 18% 18%, rgba(240, 123, 33, 0.14), transparent 34%),
        linear-gradient(145deg, rgba(255, 229, 203, 0.86), rgba(228, 236, 225, 0.82));
}

.bazar-detail-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.bazar-detail-media-fallback {
    display: grid;
    place-items: center;
}

.bazar-detail-media-icon {
    width: 96px;
    height: 96px;
    color: rgba(154, 67, 0, 0.76);
}

.bazar-detail-panel {
    display: grid;
    gap: 18px;
    align-content: start;
    padding: 24px;
}

.bazar-detail-head {
    display: grid;
    gap: 12px;
}

.bazar-detail-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    min-height: 34px;
    padding: 7px 11px;
    border-radius: 999px;
    color: #8d3d00;
    background: rgba(255, 234, 211, 0.74);
    border: 1px solid rgba(240, 123, 33, 0.18);
    font-size: 0.78rem;
    font-weight: 900;
}

.bazar-detail-category-icon {
    width: 17px;
    height: 17px;
}

.bazar-detail-head h1 {
    margin: 0;
    color: #21170f;
    font-size: clamp(2rem, 5vw, 3.35rem);
    line-height: 0.98;
}

.bazar-detail-price {
    color: #143d30;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1;
    letter-spacing: -0.08em;
}

.bazar-detail-section {
    display: grid;
    gap: 8px;
    padding-top: 4px;
}

.bazar-detail-section h2 {
    margin: 0;
    color: #2b1d13;
    font-size: 1.1rem;
}

.bazar-detail-section p {
    margin: 0;
    color: #604936;
    line-height: 1.65;
}

.bazar-detail-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.bazar-detail-info-card {
    display: grid;
    gap: 5px;
    min-width: 0;
    padding: 13px;
    border-radius: 18px;
    background: rgba(255, 248, 239, 0.72);
    border: 1px solid rgba(162, 125, 91, 0.14);
}

.bazar-detail-info-card span,
.bazar-detail-seller span {
    color: #8b6b52;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bazar-detail-info-card strong {
    color: #2c1f16;
    font-size: 0.9rem;
    line-height: 1.25;
}

.bazar-detail-seller {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 4px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 248, 239, 0.82);
    border: 1px solid rgba(162, 125, 91, 0.16);
}

.bazar-detail-seller div {
    display: grid;
    gap: 4px;
}

.bazar-detail-seller strong {
    color: #21170f;
    font-size: 1.08rem;
}

.bazar-detail-seller small {
    color: #715943;
    font-weight: 800;
}

.bazar-detail-buy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 11px 16px;
    border-radius: 999px;
    color: #fff7ef;
    text-decoration: none;
    background: linear-gradient(135deg, #1e9d56, #14733d);
    box-shadow: 0 12px 22px rgba(20, 115, 61, 0.18);
    font-weight: 900;
    white-space: nowrap;
}

.bazar-detail-buy-icon {
    width: 19px;
    height: 19px;
}

.bazar-empty {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 36px 20px;
    border-radius: 28px;
    text-align: center;
    background: rgba(255, 248, 239, 0.64);
    border: 1px dashed rgba(162, 125, 91, 0.22);
}

.bazar-empty-icon {
    display: inline-grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 22px;
    color: #a84b08;
    background: rgba(255, 235, 211, 0.76);
}

.bazar-empty h3,
.bazar-empty p {
    margin: 0;
}

.bazar-empty p {
    color: #6d5846;
}

@media (max-width: 980px) {
    .bazar-hero {
        grid-template-columns: 1fr;
    }

    .bazar-hero h1 {
        max-width: 14ch;
    }

    .bazar-hero-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bazar-filter-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bazar-filter-search,
    .bazar-filter-actions {
        grid-column: 1 / -1;
    }

    .bazar-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .bazar-page {
        gap: 16px;
    }

    .bazar-hero,
    .bazar-toolbar,
    .bazar-results-section {
        border-radius: 26px;
        padding: 18px;
    }

    .bazar-hero-stat-main {
        min-height: 118px;
    }

    .bazar-hero-stat-grid,
    .bazar-filter-panel,
    .bazar-results-list .bazar-card {
        grid-template-columns: 1fr;
    }

    .bazar-results-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .bazar-view-toggle {
        width: 100%;
    }

    .bazar-view-toggle-link {
        flex: 1;
    }

    .bazar-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .bazar-results-list .bazar-card-media {
        min-height: 176px;
    }

    .bazar-results-grid .bazar-card {
        border-radius: 22px;
    }

    .bazar-results-grid .bazar-card-media {
        min-height: 128px;
    }

    .bazar-results-grid .bazar-card-media img {
        min-height: 128px;
    }

    .bazar-results-grid .bazar-card-category {
        left: 8px;
        top: 8px;
        min-height: 24px;
        padding: 5px 8px;
        font-size: 0.66rem;
    }

    .bazar-results-grid .bazar-card-body {
        gap: 9px;
        padding: 11px;
    }

    .bazar-results-grid .bazar-card h3 {
        font-size: 0.96rem;
        line-height: 1.14;
    }

    .bazar-results-grid .bazar-card-price {
        font-size: 0.98rem;
    }

    .bazar-results-grid .bazar-card p {
        font-size: 0.82rem;
        -webkit-line-clamp: 2;
    }

    .bazar-results-grid .bazar-card-meta span,
    .bazar-results-grid .bazar-seller,
    .bazar-results-grid .bazar-phone {
        min-height: 26px;
        padding: 5px 7px;
        font-size: 0.68rem;
    }

    .bazar-card-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .bazar-buy-button {
        width: 100%;
        margin-left: 0;
    }

    .bazar-detail-shell,
    .bazar-detail-info-grid {
        grid-template-columns: 1fr;
    }

    .bazar-detail-media,
    .bazar-detail-media img {
        min-height: 340px;
    }

    .bazar-detail-panel {
        padding: 18px;
        border-radius: 26px;
    }

    .bazar-detail-media {
        border-radius: 26px;
    }

    .bazar-detail-seller {
        align-items: stretch;
        flex-direction: column;
    }
}

#categorias,
#lojas,
#bazar-filtros,
#bazar-anuncios,
#delivery-pedidos,
#delivery-pedidos-resultado,
#transporte-carros,
#transporte-motos,
#transporte-onibus,
#motorista-perfil,
#motorista-acompanhamento,
#motorista-solicitar,
#motorista-pix,
#motorista-contato,
#perfil-conta,
#perfil-enderecos,
#perfil-seguranca,
#perfil-pedidos {
    scroll-margin-top: 132px;
}

@media (max-width: 720px) {
    #categorias,
    #lojas,
    #bazar-filtros,
    #bazar-anuncios,
    #delivery-pedidos,
    #delivery-pedidos-resultado,
    #transporte-carros,
    #transporte-motos,
    #transporte-onibus,
    #motorista-perfil,
    #motorista-acompanhamento,
    #motorista-solicitar,
    #motorista-pix,
    #motorista-contato,
    #perfil-conta,
    #perfil-enderecos,
    #perfil-seguranca,
    #perfil-pedidos {
        scroll-margin-top: 112px;
    }
}

body.public-shell:not(.admin-shell) .radio-inline-controls {
    --radio-inline-menu-reserve: 0px;
    --radio-inline-panel-gap: 4px;
    position: fixed !important;
    top: max(8px, env(safe-area-inset-top)) !important;
    left: max(8px, env(safe-area-inset-left)) !important;
    z-index: 90;
}

body.public-shell:not(.admin-shell).has-mobile-nav .radio-inline-controls {
    --radio-inline-menu-reserve: 82px;
}

body.public-shell:not(.admin-shell) .radio-inline-controls,
body.public-shell:not(.admin-shell) .radio-inline-toggle,
body.public-shell:not(.admin-shell) .radio-inline-text-track,
body.public-shell:not(.admin-shell) .radio-inline-text-marquee,
body.public-shell:not(.admin-shell) .radio-inline-icon {
    transition:
        width 260ms cubic-bezier(0.22, 0.61, 0.36, 1),
        height 260ms cubic-bezier(0.22, 0.61, 0.36, 1),
        min-height 260ms cubic-bezier(0.22, 0.61, 0.36, 1),
        padding 260ms cubic-bezier(0.22, 0.61, 0.36, 1),
        gap 260ms cubic-bezier(0.22, 0.61, 0.36, 1),
        margin 260ms cubic-bezier(0.22, 0.61, 0.36, 1),
        background 260ms cubic-bezier(0.22, 0.61, 0.36, 1),
        border-color 260ms cubic-bezier(0.22, 0.61, 0.36, 1),
        box-shadow 260ms cubic-bezier(0.22, 0.61, 0.36, 1),
        transform 260ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

body.public-shell:not(.admin-shell) .radio-inline-controls.radio-inline-scrolled {
    min-height: 44px;
    gap: 0;
    padding: 0;
    opacity: 1;
    background: rgba(255, 249, 241, 0.62);
    border-color: rgba(240, 123, 33, 0.12);
    box-shadow: 0 12px 24px rgba(45, 28, 14, 0.1);
}

body.public-shell:not(.admin-shell) .radio-inline-controls.radio-inline-scrolled:hover,
body.public-shell:not(.admin-shell) .radio-inline-controls.radio-inline-scrolled:focus-within,
body.public-shell:not(.admin-shell) .radio-inline-controls.radio-inline-dragging {
    opacity: 1;
    background: rgba(255, 249, 241, 0.82);
    border-color: rgba(240, 123, 33, 0.16);
}

body.public-shell:not(.admin-shell) .radio-inline-controls.radio-inline-panel-open {
    padding: 0;
    opacity: 1;
    inset:
        var(--radio-inline-panel-gap)
        var(--radio-inline-panel-gap)
        calc(var(--radio-inline-menu-reserve, 0px) + env(safe-area-inset-bottom) + var(--radio-inline-panel-gap))
        var(--radio-inline-panel-gap);
    width: auto;
    max-width: none;
    height: calc(100dvh - var(--radio-inline-menu-reserve, 0px) - env(safe-area-inset-bottom) - (var(--radio-inline-panel-gap) * 2));
    max-height: calc(100dvh - var(--radio-inline-menu-reserve, 0px) - env(safe-area-inset-bottom) - (var(--radio-inline-panel-gap) * 2));
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(116, 78, 46, 0.08);
    box-shadow: 0 10px 24px rgba(45, 28, 14, 0.08);
    transition:
        width 260ms cubic-bezier(0.22, 0.61, 0.36, 1),
        max-height 260ms cubic-bezier(0.22, 0.61, 0.36, 1),
        border-radius 260ms cubic-bezier(0.22, 0.61, 0.36, 1),
        background 150ms ease,
        border-color 150ms ease,
        box-shadow 150ms ease;
}

body.public-shell:not(.admin-shell) .radio-inline-controls.radio-inline-panel-open .radio-inline-toggle {
    position: fixed;
    top: max(var(--radio-inline-panel-gap), env(safe-area-inset-top));
    left: max(var(--radio-inline-panel-gap), env(safe-area-inset-left));
    width: 44px;
    height: 44px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: #9a4300;
    transition:
        background 150ms ease,
        border-color 150ms ease,
        box-shadow 150ms ease,
        color 150ms ease;
}

body.public-shell:not(.admin-shell) .radio-inline-controls.radio-inline-dragging {
    cursor: grabbing;
    box-shadow: 0 10px 24px rgba(45, 28, 14, 0.1);
}

body.public-shell:not(.admin-shell) .radio-inline-dragging .radio-inline-button {
    cursor: grabbing;
}

body.public-shell:not(.admin-shell) .radio-inline-scrolled .radio-inline-toggle {
    width: 44px;
    height: 44px;
    background: transparent;
    border-color: transparent;
}

body.public-shell:not(.admin-shell) .radio-inline-scrolled.radio-inline-active {
    background: rgba(255, 122, 24, 0.72);
    border-color: rgba(255, 122, 24, 0.28);
}

body.public-shell:not(.admin-shell) .radio-inline-controls.radio-inline-panel-open.radio-inline-active,
body.public-shell:not(.admin-shell) .radio-inline-controls.radio-inline-panel-open.radio-inline-scrolled.radio-inline-active {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(116, 78, 46, 0.08);
}

body.public-shell:not(.admin-shell) .radio-inline-scrolled .radio-inline-play-icon {
    width: 22px;
    height: 22px;
}

body.public-shell:not(.admin-shell) .radio-inline-scrolled .radio-inline-pause-icon {
    width: 15px;
    height: 15px;
}

body.public-shell:not(.admin-shell) .radio-inline-scrolled .radio-inline-text-track {
    width: 0;
    margin-left: -6px;
    opacity: 0;
    transform: scaleX(0.72);
    transform-origin: left center;
    pointer-events: none;
}

body.public-shell:not(.admin-shell) .radio-inline-scrolled .radio-inline-text-marquee {
    animation-play-state: paused;
}

body.public-shell:not(.admin-shell) .radio-inline-controls.radio-inline-panel-open.radio-inline-scrolled .radio-inline-toggle {
    position: fixed;
    top: max(var(--radio-inline-panel-gap), env(safe-area-inset-top));
    left: max(var(--radio-inline-panel-gap), env(safe-area-inset-left));
    width: 44px;
    height: 44px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: #9a4300;
}

/* Performance pass: keep the visual language, but reduce paint/layout pressure on phones. */
html.guarago-performance-mode body.public-shell:not(.admin-shell) {
    background-size: 108% 108%, 108% 108%, 106% 106%, 106% 106%, 100% 100%;
    animation-duration: 90s;
}

html.guarago-performance-mode body.public-shell:not(.admin-shell)::before {
    opacity: 0.46;
    animation: none;
}

html.guarago-performance-mode body.public-shell:not(.admin-shell)::after,
html.guarago-performance-mode .public-shell .shell::before,
html.guarago-performance-mode .public-shell .shell::after,
html.guarago-performance-mode .portal-home-stage-glow {
    animation: none;
    opacity: 0.46;
}

html.guarago-performance-mode body.public-shell:not(.admin-shell) .mobile-bottom-nav {
    background: linear-gradient(180deg, #fffaf4 0%, #fff0df 100%);
    box-shadow: 0 16px 30px rgba(32, 22, 15, 0.18);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

html.guarago-performance-mode body.public-shell:not(.admin-shell) .section,
html.guarago-performance-mode body.public-shell:not(.admin-shell) .hero-card,
html.guarago-performance-mode body.public-shell:not(.admin-shell) .summary-card,
html.guarago-performance-mode body.public-shell:not(.admin-shell) .storefront-menu-shell,
html.guarago-performance-mode body.public-shell:not(.admin-shell) .store-card,
html.guarago-performance-mode body.public-shell:not(.admin-shell) .bazar-card,
html.guarago-performance-mode body.public-shell:not(.admin-shell) .profile-pane-card {
    content-visibility: auto;
    contain-intrinsic-size: 260px;
}

html.guarago-performance-mode .radio-inline-controls,
html.guarago-performance-mode .radio-inline-toggle,
html.guarago-performance-mode .radio-inline-text-track,
html.guarago-performance-mode .radio-inline-text-marquee,
html.guarago-performance-mode .radio-inline-icon,
html.guarago-performance-mode body.public-shell:not(.admin-shell) .radio-inline-controls,
html.guarago-performance-mode body.public-shell:not(.admin-shell) .radio-inline-controls.radio-inline-panel-open {
    transition-duration: 120ms;
    will-change: auto;
}

html.guarago-performance-mode .radio-inline-panel,
html.guarago-performance-mode .radio-inline-live-media,
html.guarago-performance-mode .radio-inline-genre-group,
html.guarago-performance-mode .radio-inline-station-overview {
    contain: layout paint;
}

html.guarago-performance-mode .radio-inline-station-preview-list {
    will-change: transform;
}

html.guarago-performance-mode .radio-inline-text-marquee {
    animation-duration: 14s;
}

html.guarago-performance-mode .radio-inline-lyrics-roll [data-radio-lyrics-track] {
    animation-duration: 36s;
    will-change: auto;
}

html.guarago-performance-mode .radio-inline-frequency-chip,
html.guarago-performance-mode .radio-inline-panel-play,
html.guarago-performance-mode .radio-inline-up-next-vote-winning {
    box-shadow: none;
}

/* Keep the station carousel moving even in the app performance mode. */
html.guarago-performance-mode .radio-inline-station-preview-list-running,
.radio-inline-station-preview-list-running {
    animation: radio-inline-station-roll-down var(--radio-station-roll-duration, 38s) linear infinite !important;
}

html.guarago-performance-mode .radio-inline-station-preview {
    background:
        linear-gradient(
            135deg,
            color-mix(in srgb, var(--genre-tint) 14%, rgba(255, 255, 255, 0.86)),
            rgba(255, 255, 255, 0.7)
        );
}
