:root {
    --blue: #0758e8;
    --blue-dark: #033bb0;
    --orange: #ff5a12;
    --orange-soft: #fff0e8;
    --ink: #172033;
    --muted: #667085;
    --line: #dde4ef;
    --page: #ffffff;
    --soft: #f7faff;
    --card: #ffffff;
    --danger: #c0362c;
    --success: #087443;
    --shadow: 0 20px 55px rgba(17, 32, 64, .14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--page);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

img {
    max-width: 100%;
}

.site-shell {
    width: min(1360px, calc(100% - 32px));
    margin: 0 auto 34px;
}

.hero-section {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    padding-bottom: 42px;
}

.blue-shape {
    position: absolute;
    top: -190px;
    right: -390px;
    width: min(760px, 54vw);
    height: 740px;
    border-bottom-left-radius: 54% 50%;
    background: radial-gradient(circle at 74% 18%, #116eff 0, var(--blue) 50%, var(--blue-dark) 100%);
    z-index: 0;
}

.blue-shape::after {
    content: "";
    position: absolute;
    right: 52px;
    bottom: 54px;
    width: 170px;
    height: 170px;
    border: 2px dashed rgba(255, 255, 255, .3);
    border-radius: 50%;
}

.site-nav {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 260px 1fr 260px;
    align-items: center;
    gap: 20px;
    min-height: 74px;
}

.brand-lockup {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    text-decoration: none;
}

.brand-lockup img {
    width: 188px;
    height: auto;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(17, 32, 64, .08);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: var(--ink);
    transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 4px;
    width: fit-content;
    justify-self: center;
    border: 1px solid rgba(221, 228, 239, .9);
    border-radius: 999px;
    padding: 6px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 12px 32px rgba(17, 32, 64, .08);
    height: auto;
    overflow: visible;
}

.nav-links a,
.login-link {
    position: relative;
    color: var(--ink);
    font-size: .96rem;
    font-weight: 750;
    text-decoration: none;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 999px;
    padding: 0 16px;
    white-space: nowrap;
}

.nav-links a.active,
.nav-links a:hover {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 8px 20px rgba(7, 88, 232, .18);
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
}

.login-link {
    color: #fff;
}

.nav-cta,
.primary-button,
.restaurant-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 0;
    border-radius: 10px;
    padding: 0 26px;
    background: linear-gradient(135deg, var(--orange), #ff711f);
    color: #fff;
    cursor: pointer;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(255, 90, 18, .24);
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: clamp(18px, 2.8vw, 42px);
    padding: 34px 0 12px;
}

.hero-copy {
    position: relative;
    z-index: 3;
    min-width: 0;
    display: none;
}

.event-pill,
.section-kicker {
    margin: 0 0 16px;
    color: var(--blue);
    font-size: .85rem;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-copy h1 {
    max-width: 540px;
    margin: 0 0 18px;
    color: var(--ink);
    font-size: clamp(2.3rem, 3.85vw, 4.15rem);
    line-height: 1;
    letter-spacing: 0;
}

.hero-copy h1 span {
    display: block;
    color: var(--blue);
}

.hero-copy h1 em {
    display: block;
    color: var(--orange);
    font-style: normal;
}

.hero-intro {
    max-width: 420px;
    margin: 0 0 10px;
    color: var(--ink);
    font-size: clamp(1.65rem, 2.75vw, 2.35rem);
    font-weight: 850;
    line-height: 1.12;
}

.date-badge {
    display: inline-flex;
    max-width: 460px;
    min-height: 42px;
    align-items: center;
    border-radius: 999px;
    padding: 8px 15px;
    background: #edf4ff;
    color: var(--blue-dark);
    font-size: .92rem;
    font-weight: 850;
    line-height: 1.35;
}

.hero-message {
    position: relative;
    z-index: 5;
    width: min(1180px, calc(100% - 28px));
    margin: 34px auto 0;
    border: 2px solid #dfe5ef;
    border-radius: 18px;
    padding: clamp(34px, 6vw, 86px) clamp(28px, 7vw, 86px);
    background: rgba(255, 255, 255, .92);
}

.hero-message p {
    max-width: 960px;
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.45rem, 3vw, 3.05rem);
    font-weight: 450;
    line-height: 1.22;
    text-align: left;
}

.hero-message p + p {
    margin-top: clamp(26px, 4.4vw, 62px);
}

.hero-message p:first-child {
    color: var(--ink);
    font-size: clamp(2rem, 4.6vw, 4.9rem);
    font-weight: 950;
    line-height: 1.06;
}

.hero-message p:nth-child(2) {
    color: var(--orange);
    font-weight: 950;
}

.hero-message p:nth-child(3) {
    color: var(--ink);
    font-weight: 950;
}

.hero-visual {
    position: relative;
    z-index: 1;
    min-height: 455px;
    display: grid;
    place-items: center;
}

.hero-visual::before {
    content: "";
    position: absolute;
    width: min(500px, 92%);
    aspect-ratio: 1;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 26px 70px rgba(18, 58, 142, .12);
}

.orange-loop {
    position: absolute;
    top: 28px;
    left: 48px;
    width: 94px;
    height: 52px;
    border-top: 3px dashed #ffa21d;
    border-radius: 50%;
    transform: rotate(22deg);
}

.hero-visual img {
    position: relative;
    width: min(480px, 88%);
    aspect-ratio: 1;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    clip-path: circle(50%);
    filter: drop-shadow(0 28px 28px rgba(22, 38, 68, .16));
}

.signup-card {
    position: relative;
    z-index: 4;
    border: 1px solid rgba(221, 228, 239, .86);
    border-radius: 18px;
    padding: 22px;
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
    width: min(640px, 100%);
    margin: 28px auto 0;
}

.signup-card h2 {
    margin: 0 0 8px;
    color: var(--ink);
    font-size: clamp(1.55rem, 2vw, 2rem);
    line-height: 1.16;
    text-align: center;
}

.signup-card > p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: .93rem;
    text-align: center;
}

form {
    display: grid;
    gap: 10px;
}

label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: .88rem;
    font-weight: 800;
}

input,
textarea {
    width: 100%;
    min-height: 40px;
    border: 1px solid #d8dfeb;
    border-radius: 10px;
    outline: none;
    padding: 9px 12px;
    background: #fff;
    color: var(--ink);
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(7, 88, 232, .1);
}

.html-editor-label {
    gap: 10px;
}

.html-editor-toolbar {
    display: flex;
    gap: 6px;
    padding: 6px;
    border: 1px solid #d8dfeb;
    border-radius: 10px;
    background: #f7faff;
}

.html-editor-toolbar button {
    display: inline-grid;
    place-items: center;
    min-width: 34px;
    height: 32px;
    border: 1px solid #d8dfeb;
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
}

.html-editor {
    min-height: 230px;
    border: 1px solid #d8dfeb;
    border-radius: 12px;
    outline: none;
    padding: 16px 18px;
    background: #fff;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.45;
}

.html-editor:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(7, 88, 232, .1);
}

.html-editor p {
    margin: 0 0 14px;
}

.html-editor p:last-child {
    margin-bottom: 0;
}

.check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
    font-size: .83rem;
    line-height: 1.35;
}

.check-row input {
    width: 18px;
    min-height: 18px;
    margin-top: 1px;
    flex: 0 0 18px;
}

.link-button {
    border: 0;
    padding: 0;
    background: none;
    color: var(--blue);
    cursor: pointer;
    font-weight: 900;
    text-decoration: none;
}

.notice {
    border-radius: 10px;
    padding: 11px 13px;
    font-size: .9rem;
    font-weight: 850;
    line-height: 1.4;
}

.notice.success {
    background: #e8f7ef;
    color: var(--success);
}

.notice.error {
    background: #fff0ee;
    color: var(--danger);
}

.prize-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .56fr);
    gap: 28px;
    align-items: center;
    margin-top: 26px;
    border-radius: 24px;
    padding: clamp(24px, 4vw, 46px);
    background:
        radial-gradient(circle at 90% 18%, rgba(255, 90, 18, .14), transparent 270px),
        linear-gradient(135deg, #061a49, #0758e8);
    color: #fff;
    box-shadow: 0 26px 60px rgba(7, 88, 232, .2);
}

.prize-copy h2 {
    max-width: 760px;
    margin: 0 0 14px;
    font-size: clamp(2rem, 4vw, 4.1rem);
    line-height: .98;
    letter-spacing: 0;
}

.prize-copy p {
    max-width: 680px;
    color: rgba(255, 255, 255, .82);
    line-height: 1.55;
}

.prize-section .section-kicker {
    color: #ffb48f;
    font-size: clamp(1.25rem, 2vw, 1.8rem);
    margin-bottom: 10px;
}

.follow-list {
    display: grid;
    gap: 10px;
    max-width: 540px;
    margin-top: 26px;
}

.follow-list strong {
    color: #fff;
}

.follow-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    border-radius: 12px;
    padding: 9px 12px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}

.follow-list a:hover {
    background: rgba(255, 255, 255, .18);
}

.ig-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 9px;
    object-fit: contain;
}

.prize-slider,
.prize-placeholder {
    min-width: 0;
}

.slider-track {
    width: 100%;
    overflow: hidden;
    border: 7px solid rgba(255, 255, 255, .18);
    border-radius: 22px;
    background: rgba(255, 255, 255, .16);
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}

.slider-track.dragging {
    cursor: grabbing;
}

.slider-slide {
    margin: 0;
    display: none;
    opacity: 0;
    transition: opacity .4s ease;
}

.slider-slide.active {
    display: block;
    opacity: 1;
}

.slider-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.slider-slide figcaption {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border-radius: 12px;
    padding: 10px 12px;
    background: rgba(10, 24, 58, .78);
    color: #fff;
    font-weight: 850;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 12px;
}

.slider-dots button {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: rgba(255, 255, 255, .42);
    cursor: pointer;
}

.slider-dots button.active {
    width: 24px;
    border-radius: 999px;
    background: #fff;
}

.prize-placeholder {
    display: grid;
    place-items: center;
    gap: 14px;
    min-height: 330px;
    border: 2px dashed rgba(255, 255, 255, .25);
    border-radius: 22px;
    text-align: center;
}

.prize-placeholder img {
    width: 160px;
}

.directory-section {
    margin-top: 38px;
    border-radius: 26px;
    padding: clamp(24px, 4vw, 42px);
    background:
        radial-gradient(circle at 10% 14%, rgba(255, 90, 18, .18), transparent 280px),
        linear-gradient(135deg, #061733, #082b73 58%, #061733);
    box-shadow: 0 24px 60px rgba(6, 23, 51, .18);
}

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

.section-heading h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
}

.directory-section .section-kicker {
    color: #ffb48f;
}

.filter-pills {
    display: none;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.filter-pills button {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 10px;
    padding: 0 16px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
    color: var(--ink);
    color: #fff;
    cursor: pointer;
    font-size: .9rem;
    font-weight: 760;
}

.filter-pills button.active,
.filter-pills button:hover {
    border-color: #fff;
    background: #fff;
    color: var(--blue);
}

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

.company-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--card);
    box-shadow: 0 16px 34px rgba(17, 32, 64, .08);
}

.company-cover {
    position: relative;
    height: 112px;
    overflow: hidden;
    background: linear-gradient(135deg, #eaf1ff, #fff);
}

.company-cover::before,
.company-cover::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    opacity: .32;
    pointer-events: none;
    z-index: 0;
}

.company-cover::before {
    width: 160px;
    height: 160px;
    left: -42px;
    top: -58px;
    background: rgba(255, 255, 255, .8);
}

.company-cover::after {
    width: 210px;
    height: 210px;
    right: -76px;
    bottom: -118px;
    background: rgba(255, 255, 255, .55);
}

.company-cover.gradient-1 {
    background: linear-gradient(135deg, #0758e8, #033bb0);
}

.company-cover.gradient-2 {
    background: linear-gradient(135deg, #ff5a12, #ff9a2e);
}

.company-cover.gradient-3 {
    background: linear-gradient(135deg, #061733, #0758e8);
}

.company-cover.gradient-4 {
    background: linear-gradient(135deg, #ff7a1a, #0758e8);
}

.company-cover.gradient-5 {
    background: linear-gradient(135deg, #082b73, #eaf1ff);
}

.company-cover.gradient-6 {
    background: linear-gradient(135deg, #fff0e8, #ff5a12);
}

.company-cover button {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--ink);
    cursor: pointer;
    font-size: 1.1rem;
    isolation: isolate;
}

.company-cover button.liked {
    border-color: rgba(255, 90, 18, .35);
    background: var(--orange);
    color: #fff;
}

.company-cover button.like-attention {
    animation: like-pop 1.15s ease both;
}

.company-cover button.like-attention::after {
    content: "";
    position: absolute;
    inset: -8px;
    z-index: -1;
    border: 2px solid rgba(255, 90, 18, .72);
    border-radius: 50%;
    animation: like-ring 1.15s ease-out both;
}

@keyframes like-pop {
    0% {
        transform: scale(.6);
        box-shadow: 0 0 0 0 rgba(255, 90, 18, .42);
    }
    38% {
        transform: scale(1.28) rotate(-8deg);
        background: #fff;
        color: var(--orange);
        box-shadow: 0 12px 28px rgba(255, 90, 18, .34);
    }
    62% {
        transform: scale(.96) rotate(5deg);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 8px 18px rgba(17, 32, 64, .12);
    }
}

@keyframes like-ring {
    0% {
        transform: scale(.55);
        opacity: .9;
    }
    100% {
        transform: scale(1.9);
        opacity: 0;
    }
}

.company-logo-wrap {
    height: 0;
    padding-left: 18px;
}

.company-logo {
    position: relative;
    z-index: 1;
    width: 152px;
    height: 152px;
    transform: translateY(-76px);
    border: 7px solid #fff;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
    box-shadow: 0 16px 34px rgba(17, 32, 64, .18);
}

.company-body {
    display: grid;
    gap: 8px;
    padding: 86px 18px 18px;
}

.company-title-row {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 10px;
}

.company-card h3 {
    margin: 0;
    color: var(--ink);
    font-size: 1.18rem;
    line-height: 1.18;
}

.company-title-row .like-count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--orange);
    white-space: nowrap;
    font-size: .9rem;
    font-weight: 900;
}

.subtitle {
    margin: 0;
    color: var(--muted);
    font-size: .92rem;
    font-weight: 800;
}

.company-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.company-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border-radius: 999px;
    padding: 0 9px;
    background: #edf4ff;
    color: var(--blue);
    font-size: .74rem;
    font-weight: 850;
}

.company-card p {
    margin: 0;
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.5;
}

.read-more-button {
    width: fit-content;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--blue);
    cursor: pointer;
    font-size: .88rem;
    font-weight: 900;
}

.info-list {
    display: grid;
    gap: 8px;
    margin-top: 6px;
}

.info-list > span,
.info-list > a {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    align-items: start;
    gap: 7px;
    min-height: 42px;
    border: 1px solid #e7edf8;
    border-radius: 12px;
    padding: 9px 11px;
    background: linear-gradient(180deg, #f8fbff, #f2f6ff);
    color: var(--muted);
    font-size: .84rem;
    font-weight: 900;
    line-height: 1.28;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(17, 32, 64, .04);
}

.info-list > a:hover {
    border-color: rgba(7, 88, 232, .28);
    color: var(--blue);
    transform: translateY(-1px);
}

.info-icon {
    display: inline-grid;
    place-items: center;
    width: 24px;
    min-width: 24px;
    height: 24px;
    border-radius: 8px;
    background: #fff;
    text-align: center;
    line-height: 1;
    box-shadow: inset 0 0 0 1px #edf1f8;
}

.info-list small {
    display: block;
    color: var(--blue);
    font-size: .76rem;
    font-weight: 950;
    line-height: 1.18;
    margin-bottom: 2px;
}

.video-button,
.instagram-button {
    display: inline-flex;
    width: fit-content;
    min-height: 34px;
    align-items: center;
    gap: 7px;
    justify-content: center;
    border-radius: 9px;
    padding: 0 13px;
    background: var(--orange-soft);
    color: var(--orange);
    font-size: .88rem;
    font-weight: 900;
    text-decoration: none;
}

.instagram-button {
    border: 1px solid #e7edf8;
    background: linear-gradient(180deg, #f8fbff, #f2f6ff);
    color: var(--blue);
    box-shadow: 0 6px 16px rgba(17, 32, 64, .04);
}

.instagram-button img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.empty-state {
    border: 1px dashed var(--line);
    border-radius: 14px;
    padding: 22px;
    background: var(--soft);
    color: var(--muted);
}

.restaurant-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 24px;
    border-radius: 12px;
    padding: 16px 18px;
    background: linear-gradient(135deg, var(--blue), #0046c9);
    color: #fff;
}

.restaurant-cta div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.restaurant-cta strong {
    font-size: 1.12rem;
}

.restaurant-cta span {
    color: rgba(255, 255, 255, .84);
}

.restaurant-cta a {
    min-height: 38px;
    padding: 0 18px;
    background: #fff;
    color: var(--blue);
    box-shadow: none;
}

.site-footer {
    display: flex;
    justify-content: center;
    padding: 34px 0 10px;
}

.site-footer img {
    width: min(190px, 52vw);
    height: auto;
}

.modal[hidden] {
    display: none;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: grid;
    place-items: center;
    padding: 18px;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 18, 42, .62);
}

.modal-card {
    position: relative;
    width: min(680px, 100%);
    max-height: min(82vh, 760px);
    overflow: auto;
    border-radius: 18px;
    padding: 30px;
    background: #fff;
    box-shadow: var(--shadow);
}

.modal-card h2 {
    margin: 0 0 12px;
}

.modal-card p {
    color: var(--muted);
    line-height: 1.7;
}

.close-button {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    font-size: 1.35rem;
}

.admin-body {
    padding: 18px;
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 255, 255, .38), transparent 280px),
        linear-gradient(135deg, #ff7a1a, var(--orange));
}

.login-card,
.admin-sidebar,
.admin-main {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(17, 32, 64, .07);
}

.login-card {
    width: min(420px, 100%);
    margin: 8vh auto;
    padding: 30px;
}

.login-card img {
    width: 150px;
}

.login-card h1,
.admin-main h1 {
    color: var(--ink);
}

.count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    border-radius: 999px;
    padding: 0 12px;
    background: var(--blue);
    color: #fff;
    font-size: 1rem;
    font-weight: 950;
    vertical-align: middle;
}

.admin-note {
    color: var(--muted);
    line-height: 1.5;
}

.admin-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 18px;
    width: min(1280px, 100%);
    margin: 0 auto;
}

.admin-sidebar,
.admin-main {
    padding: 20px;
}

.admin-sidebar {
    position: sticky;
    top: 18px;
    height: calc(100vh - 36px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.admin-sidebar img {
    width: 150px;
}

.admin-sidebar nav {
    display: grid;
    gap: 6px;
}

.admin-sidebar a {
    border-radius: 10px;
    padding: 11px 12px;
    color: var(--muted);
    text-decoration: none;
    font-weight: 850;
}

.admin-sidebar a.active,
.admin-sidebar a:hover {
    background: #eaf1ff;
    color: var(--blue);
}

.admin-main {
    min-height: calc(100vh - 36px);
}

.ghost-button,
.as-link,
.mini-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0 15px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    font-weight: 900;
    text-decoration: none;
}

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

.stats-grid article {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px;
    background: #fbfdff;
}

.stats-grid strong {
    display: block;
    color: var(--blue);
    font-size: 2.25rem;
}

.stats-grid span {
    color: var(--muted);
    font-weight: 850;
}

.admin-form {
    max-width: 860px;
}

.admin-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.admin-inline-setting {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin: 16px 0 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    background: #fbfdff;
}

.admin-table-wrap {
    overflow-x: auto;
    border-radius: 14px;
    -webkit-overflow-scrolling: touch;
}

.admin-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    border-bottom: 1px solid var(--line);
    padding: 13px 12px;
    text-align: left;
    color: var(--muted);
    vertical-align: middle;
}

.admin-table th {
    color: var(--ink);
    background: #f7faff;
}

.admin-table button,
.admin-table a {
    border: 0;
    background: transparent;
    color: var(--blue);
    cursor: pointer;
    font-weight: 850;
}

.admin-table .icon-action {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--blue);
}

.table-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.repeat-group {
    display: grid;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    background: #fbfdff;
}

[data-address-list],
[data-phone-list] {
    display: grid;
    gap: 10px;
}

.phone-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .65fr);
    gap: 10px;
}

.current-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--muted);
}

.current-logo img {
    width: 80px;
    height: 80px;
    border: 1px solid var(--line);
    border-radius: 12px;
    object-fit: contain;
    background: #fff;
    padding: 8px;
}

.slider-admin-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.slider-admin-card {
    display: grid;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    background: #fbfdff;
}

.slider-admin-card > img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    background: #eef3fb;
}

@media (max-width: 1180px) {
    .site-nav {
        grid-template-columns: 220px 1fr;
    }

    .nav-actions {
        display: none;
    }

    .hero-visual {
        order: 2;
    }

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

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

@media (max-width: 860px) {
    .site-shell,
    .admin-body {
        width: 100%;
        margin: 0;
        padding: 12px;
    }

    .blue-shape {
        top: -260px;
        right: -350px;
        width: 680px;
        opacity: .22;
    }

    .site-nav,
    .hero-layout,
    .prize-section,
    .admin-layout {
        grid-template-columns: 1fr;
    }

    .site-nav {
        position: relative;
        grid-template-columns: 1fr auto;
        gap: 14px;
        justify-items: stretch;
    }

    .brand-lockup {
        justify-self: start;
    }

    .menu-toggle {
        display: block;
        justify-self: end;
        margin-right: 10px;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        z-index: 10;
        display: none;
        width: 100%;
        justify-content: stretch;
        flex-direction: column;
        gap: 4px;
        overflow-x: hidden;
        overflow-y: hidden;
        padding: 8px;
        border-radius: 14px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        justify-content: flex-start;
        min-height: 42px;
        padding: 0 14px;
    }

    .hero-copy h1 {
        font-size: clamp(2.25rem, 10vw, 3.35rem);
    }

    .hero-message {
        margin-top: 18px;
        width: 100%;
        border-radius: 14px;
        padding: 26px 20px;
    }

    .hero-message p {
        text-align: left;
    }

    .hero-visual {
        min-height: 300px;
    }

    .section-heading,
    .restaurant-cta,
    .admin-header-row,
    .current-logo,
    .table-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .filter-pills {
        justify-content: flex-start;
    }

    .company-grid,
    .slider-admin-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        height: auto;
        gap: 14px;
        padding: 16px;
    }

    .admin-sidebar img {
        width: 118px;
    }

    .admin-sidebar nav {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .admin-sidebar a {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 10px 12px;
        background: #fff7f0;
    }

    .admin-sidebar form {
        display: block;
    }

    .admin-sidebar .ghost-button {
        width: 100%;
    }

    .admin-main {
        min-height: auto;
        padding: 16px;
        overflow: hidden;
    }

    .admin-main h1 {
        margin-top: 0;
        font-size: clamp(1.65rem, 8vw, 2.15rem);
        line-height: 1.08;
    }

    .login-card {
        margin: 5vh auto;
        padding: 22px;
    }

    .login-card img {
        width: 120px;
    }

    .count-badge {
        min-width: 32px;
        min-height: 32px;
        font-size: .9rem;
    }

    .admin-inline-setting {
        display: grid;
        gap: 12px;
    }

    .admin-inline-setting .primary-button {
        width: 100%;
    }

    .admin-form {
        max-width: none;
    }

    .admin-form .primary-button,
    .admin-form .ghost-button,
    .admin-form .mini-button,
    .as-link {
        width: 100%;
    }

    .repeat-group {
        padding: 12px;
    }

    .current-logo {
        width: 100%;
    }

    .current-logo img {
        width: 68px;
        height: 68px;
    }

    .phone-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .admin-body {
        padding: 8px;
    }

    .admin-layout {
        gap: 10px;
    }

    .admin-sidebar,
    .admin-main,
    .login-card {
        border-radius: 14px;
    }

    .stats-grid {
        gap: 10px;
    }

    .stats-grid article {
        padding: 14px;
    }

    .stats-grid strong {
        font-size: 1.9rem;
    }

    .admin-table {
        min-width: 0;
    }

    .admin-table thead {
        display: none;
    }

    .admin-table,
    .admin-table tbody,
    .admin-table tr,
    .admin-table td {
        display: block;
        width: 100%;
    }

    .admin-table tr {
        border: 1px solid var(--line);
        border-radius: 14px;
        margin-bottom: 12px;
        overflow: hidden;
        background: #fff;
    }

    .admin-table td {
        border-bottom: 1px solid var(--line);
        padding: 11px 12px;
    }

    .admin-table td:last-child {
        border-bottom: 0;
    }

    .table-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 8px;
    }

    .table-actions a,
    .table-actions button,
    .table-actions form {
        width: 100%;
    }

    .admin-table .icon-action {
        width: 100%;
        height: 36px;
    }

    .slider-admin-grid {
        gap: 12px;
    }
}
