:root {
    --bg: #f4f1ec;
    --bg-accent: #ebe6de;
    --surface: #ffffff;
    --ink: #14120f;
    --muted: #6b6560;
    --line: #e4dfd6;
    --accent: #0f766e;
    --accent-strong: #0b5f59;
    --danger: #b45309;
    --shadow: 0 10px 30px rgba(20, 18, 15, 0.06);
    --radius: 16px;
    --max-main: 896px;
    --side-rail: 220px;
    --side-inset: 20px;
    --side-gap: 100px;
    --page-max: 100%;
    --font: "Manrope", system-ui, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior-y: contain;
}

html::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background:
        radial-gradient(1200px 500px at 50% -120px, #fff8ef 0%, transparent 60%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-accent) 100%);
    min-height: 100vh;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

a {
    color: inherit;
}

.page-shell {
    display: block;
    min-height: 100vh;
    width: 100%;
    margin: 0;
}

.page-main {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 14px 20px 40px;
    background: transparent;
    box-shadow: none !important;
    outline: none !important;
    box-sizing: border-box;
    border: none !important;
    border-radius: 0 !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior-y: contain;
}

.page-main::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.page-main.content-outline,
body.show-content-outline .page-main {
    outline: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent;
}

.side-rail {
    display: none;
}

.side-rail-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    height: 100%;
    min-height: 100%;
    perspective: 1200px;
}

.offer-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9a938a;
    background:
        repeating-linear-gradient(
            -45deg,
            #f7f4ef,
            #f7f4ef 10px,
            #efeae2 10px,
            #efeae2 20px
        );
    border: 1px solid var(--line);
    border-radius: 14px;
    font-size: 12px;
    font-weight: 700;
    overflow: hidden;
}

.offer-slot-banner {
    display: none;
}

.offer-strip {
    display: none;
    width: 100%;
    height: 60px;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    border: none;
}

.offer-strip-track {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: max-content;
    height: 100%;
    animation: offer-strip-rtl 40s linear infinite;
    will-change: transform;
    background: transparent;
    box-shadow: none;
    filter: none;
}

.offer-strip-card {
    flex: 0 0 180px;
    width: 180px;
    height: 60px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: none;
    background: transparent;
}

.offer-strip-track-vertical .offer-strip-card {
    flex: 0 0 60px;
    width: 180px;
    height: 60px;
}

.offer-strip-card .offer-creative-compact {
    padding: 8px 10px;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 5px;
    background: #fff;
}

.offer-strip-card .offer-logo-box {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border: none;
    outline: none;
    border-radius: 7px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.offer-strip-card .offer-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border: none;
    outline: none;
    display: block;
}

.offer-strip-card .offer-copy {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2px;
    text-align: left;
}

.offer-strip-card .offer-brand {
    font-size: 0.82rem;
    margin: 0;
    line-height: 1.1;
    color: var(--ink);
    text-align: left;
    width: 100%;
}

.offer-strip-card .offer-line {
    margin: 0;
    font-size: 0.68rem;
    line-height: 1.2;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    width: 100%;
}

@keyframes offer-strip-rtl {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes offer-strip-ttb {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-50%);
    }
}

.offer-strip-vertical {
    width: 180px;
    height: 100%;
}

.offer-strip-track-vertical {
    flex-direction: column;
    height: max-content;
    width: 180px;
    animation-name: offer-strip-ttb;
}

.offer-card {
    width: 100%;
    flex: 1 1 0;
    min-height: 88px;
    border-radius: 14px;
    perspective: 1200px;
}

.offer-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 88px;
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.offer-card-inner.is-flipped {
    transform: rotateY(180deg);
}

.offer-card-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(20, 18, 15, 0.08);
    background: #ffffff;
}

.offer-card-back {
    transform: rotateY(180deg);
}

.offer-creative {
    width: 100%;
    height: 100%;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 15px;
    background: #ffffff;
    color: var(--ink);
    text-transform: none;
    letter-spacing: 0;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.offer-creative-desktop .offer-logo-box {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border: none;
    outline: none;
    border-radius: 8px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.offer-creative-desktop .offer-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border: none;
    outline: none;
    display: block;
}

.offer-creative-desktop .offer-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    width: 100%;
    text-align: center;
}

.offer-creative-desktop .offer-brand {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink);
    line-height: 1.15;
    width: 100%;
}

.offer-creative-desktop .offer-line {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.25;
    font-weight: 500;
    color: var(--muted);
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.offer-logo-box {
    border: none;
    outline: none;
    box-shadow: none;
}

.offer-logo {
    display: block;
    border: none;
    outline: none;
    box-shadow: none;
}

.offer-brand {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.offer-line {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.35;
    font-weight: 500;
    color: var(--muted);
}

.site-header {
    --header-control-size: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
    flex-wrap: nowrap;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-decoration: none;
    color: var(--ink);
    flex-shrink: 0;
    outline: none;
    border: 0;
    box-shadow: none;
    background: transparent;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
}

.brand:focus,
.brand:focus-visible,
.brand:active,
.brand:hover {
    outline: none;
    box-shadow: none;
    background: transparent;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--header-control-size, 32px);
    height: var(--header-control-size, 32px);
    border-radius: 0;
}

.brand-logo {
    width: var(--header-control-size, 32px);
    height: var(--header-control-size, 32px);
    object-fit: contain;
    border-radius: 8px;
    display: block;
    pointer-events: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-drag: none;
    user-select: none;
}

.brand-name {
    white-space: nowrap;
}

@media (max-width: 529px) {
    .brand-name {
        display: none;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: nowrap;
    min-width: 0;
}

.user-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.user-avatar-btn {
    width: var(--header-control-size, 32px);
    height: var(--header-control-size, 32px);
    border: 0;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    appearance: none;
    text-decoration: none;
}

.user-avatar-btn:focus,
.user-avatar-btn:focus-visible,
.user-avatar-btn:active {
    outline: none;
    box-shadow: none;
}

.user-avatar-letter {
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.user-menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 180px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 6px;
    display: grid;
    gap: 2px;
    z-index: 60;
}

.user-menu-panel[hidden] {
    display: none !important;
}

.user-menu-item {
    display: block;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 650;
    color: var(--ink);
}

.user-menu-item:hover {
    background: #f4f1ec;
    color: var(--accent-strong);
}

.job-icon-btn.is-loading {
    pointer-events: none;
    opacity: 0.85;
}

.job-icon-btn.is-loading i {
    animation: job-contact-spin 0.8s linear infinite;
}

@keyframes job-contact-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.text-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
}

.text-link:hover {
    color: var(--accent-strong);
}

.flash-stack {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 80;
    display: grid;
    gap: 8px;
    width: min(calc(100% - 32px), 420px);
    margin: 0;
    pointer-events: none;
}

.flash {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 10px 24px rgba(20, 18, 15, 0.12);
    opacity: 1;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.flash.is-hiding {
    opacity: 0;
    transform: translateY(8px);
}

.btn {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 10px 16px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: none;
}

.btn-primary:hover {
    background: var(--accent-strong);
}

.btn-primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-secondary {
    background: var(--ink);
    color: #fff;
}

.btn-ghost {
    background: var(--surface);
    border-color: var(--line);
    color: var(--ink);
}

.btn-ghost.is-active {
    border-color: var(--accent);
    color: var(--accent);
    background: #f0fdfa;
}

.btn-soft {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(20, 18, 15, 0.06);
    color: var(--ink);
    box-shadow: none;
    font-weight: 400;
}

.btn-soft:hover {
    background: rgba(255, 255, 255, 0.45);
    border-color: rgba(20, 18, 15, 0.12);
    color: var(--ink);
}

.btn-header,
.btn-post {
    min-width: 0;
    height: var(--header-control-size, 32px);
    padding: 0 14px;
    font-size: 0.9rem;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
    box-sizing: border-box;
}

.btn-block {
    width: 100%;
}

.search-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 12px;
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
    overflow: visible;
    position: relative;
    z-index: 6;
}

.search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #faf8f5;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0 12px;
    cursor: text;
}

.search-field i {
    color: var(--muted);
    cursor: pointer;
    flex: 0 0 auto;
}

.search-field input,
.stack-form input,
.stack-form textarea {
    width: 100%;
    border: none;
    background: transparent;
    font: inherit;
    color: var(--ink);
    outline: none;
}

.search-field input {
    height: 44px;
}

.search-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.search-tools .radius-field {
    margin-left: 10px;
}

.search-tools .search-find {
    margin-left: auto;
}

.search-tools .btn {
    padding: 6px 14px;
    font-size: 0.9rem;
    line-height: 1.2;
    min-height: 0;
    height: auto;
    box-sizing: border-box;
}

.search-tools #locationBtn {
    white-space: nowrap;
    flex-wrap: nowrap;
    max-width: 100%;
}

.search-tools #locationBtnLabel {
    white-space: nowrap;
}

.radius-field {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    font-size: 0.9rem;
    line-height: 1.2;
    color: var(--muted);
    position: relative;
    z-index: 5;
}

.radius-label {
    flex: 0 0 auto;
    font-weight: 600;
    white-space: nowrap;
}

.radius-dropdown {
    position: relative;
    display: inline-block;
}

.radius-trigger {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: auto;
    min-width: 5.5rem;
    margin: 0;
    padding: 6px 34px 6px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background-color: var(--surface);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.25L6 7.75L9.5 4.25' stroke='%236b6560' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px 12px;
    color: var(--ink);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.radius-trigger:hover {
    border-color: #d4cec4;
}

.radius-trigger:focus,
.radius-dropdown.is-open .radius-trigger {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.radius-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: auto;
    min-width: 100%;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(20, 18, 15, 0.14);
    z-index: 40;
}

.radius-menu[hidden] {
    display: none;
}

.radius-option {
    display: block;
    width: 100%;
    margin: 0;
    padding: 8px 12px;
    border-radius: 7px;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease;
}

.radius-option:hover,
.radius-option:focus {
    background: #f0fdfa;
    color: var(--accent-strong);
    outline: none;
}

.radius-option.is-selected {
    background: #f0fdfa;
    color: var(--accent);
}

.jobs-list {
    display: grid;
    gap: 12px;
}

.job-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0;
    overflow: hidden;
    box-shadow: var(--shadow);
    animation: rise 0.35s ease both;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(20, 18, 15, 0.08);
}

.job-card.is-expired {
    opacity: 1;
    filter: none;
    background: var(--surface);
}

.job-icon-btn:disabled,
.job-icon-btn[disabled] {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.job-card-body {
    padding: 16px 16px 14px;
}

.job-card-footer {
    border-top: 1px solid rgba(20, 18, 15, 0.06);
    background: #f7f4ef;
    padding: 10px 16px;
}

.job-card-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
}

.job-expire-btn {
    flex: 0 0 auto;
    appearance: none;
    border: 1px solid rgba(176, 52, 42, 0.28);
    background: #fff6f4;
    color: #b0342a;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.01em;
    line-height: 1;
    padding: 6px 9px;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

.job-expire-btn:hover {
    background: #ffece8;
}

.job-expire-btn:disabled,
.job-expire-btn[disabled] {
    opacity: 0.55;
    cursor: wait;
}

.job-title {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.3;
    text-transform: uppercase;
}

.job-summary {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.45;
    color: var(--ink);
    text-align: justify;
    text-justify: inter-word;
}

.job-meta {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    min-width: 0;
}

.job-meta-actions {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
}

.job-meta-chip {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 650;
    color: var(--ink);
    white-space: nowrap;
    padding: 4px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    line-height: 1.2;
}

.job-meta-price {
    color: var(--accent);
    font-weight: 800;
    margin-right: 0.25em;
}

.job-meta-chip.is-danger {
    color: var(--danger);
    border-color: rgba(180, 83, 9, 0.28);
}

.job-report-btn {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    margin: 0;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 650;
    line-height: 1.2;
    padding: 4px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: #e57373;
    white-space: nowrap;
    min-height: 0;
    height: auto;
}

.job-report-btn:hover {
    border-color: rgba(229, 115, 115, 0.45);
    color: #ef5350;
    background: #fff5f5;
}

.job-report-btn:focus,
.job-report-btn:focus-visible {
    outline: 2px solid rgba(229, 115, 115, 0.45);
    outline-offset: 1px;
}

.job-report-btn:disabled,
.job-report-btn[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.job-icon-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--accent);
    font-size: 0.92rem;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    flex: 0 0 auto;
}

.job-icon-btn:hover {
    color: var(--accent-strong);
    background: rgba(15, 118, 110, 0.08);
}

.job-icon-btn:disabled,
.job-icon-btn[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.load-status,
.empty-state {
    text-align: center;
    color: var(--muted);
    padding: 18px 8px;
}

.load-more-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 8px 24px;
}

.load-more-wrap[hidden] {
    display: none !important;
}

.load-more-btn {
    min-width: 180px;
    box-shadow: none;
}

.bare-page {
    min-height: 100vh;
}

.bare-shell {
    width: min(100%, 560px);
    margin: 0 auto;
    padding: 28px 20px 40px;
    box-sizing: border-box;
}

.bare-flash {
    margin-bottom: 0;
}

.login-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 8px 0 24px;
}

.login-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 16px;
    display: block;
    background: transparent;
}

.login-brand {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.login-box {
    width: 100%;
    max-width: 420px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 4px);
    box-shadow: var(--shadow);
    padding: 22px 18px 18px;
    text-align: center;
}

.login-lead {
    margin: 0 0 18px;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink);
    text-align: center;
}

.login-form {
    text-align: left;
}

.login-form label {
    text-align: left;
}

.login-email-code,
.login-mode-link {
    display: block;
    width: 100%;
    margin-top: 14px;
    border: 0;
    background: transparent;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.92rem;
    font-family: inherit;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    padding: 0;
}

.login-email-code:hover,
.login-mode-link:hover {
    color: var(--accent-strong);
    text-decoration: underline;
}

.login-screen[hidden] {
    display: none !important;
}

.login-code-field {
    display: grid;
    gap: 8px;
}

.login-code-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--muted);
}

.login-code-boxes {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}

.login-code-digit {
    width: 100%;
    height: 48px;
    border: 1px solid var(--line);
    background: #faf8f5;
    border-radius: 12px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: inherit;
    color: var(--ink);
    padding: 0;
}

.login-code-digit:focus {
    outline: 2px solid #9ad5cd;
    outline-offset: 1px;
    border-color: var(--accent);
}

#loginCodeSubmit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.login-contact-dialog {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(20, 18, 15, 0.35);
}

.login-contact-dialog.is-open {
    display: flex !important;
}

.login-contact-dialog[hidden] {
    display: none !important;
}

.login-contact-dialog-card {
    width: min(100%, 320px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 16px 36px rgba(20, 18, 15, 0.18);
    padding: 22px 18px 16px;
    text-align: center;
}

.login-contact-dialog-card p {
    margin: 0 0 18px;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.4;
}

.login-contact-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    text-decoration: none;
}

.login-contact-dismiss {
    display: block;
    width: 100%;
    margin-top: 12px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.login-contact-dismiss:hover {
    color: var(--ink);
}

.phone-contact-dialog-card {
    display: grid;
    justify-items: center;
    gap: 16px;
    width: min(100%, 420px);
    text-align: left;
}

.phone-contact-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 0;
    width: 100%;
    text-align: center;
}

.phone-contact-number {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--ink);
    word-break: break-all;
}

.phone-contact-country {
    font-size: 0.92rem;
    font-weight: 650;
    color: var(--muted);
    word-break: break-word;
}

.phone-contact-country[hidden] {
    display: none !important;
}

.phone-contact-dialog-card .phone-contact-disclaimer {
    margin: 0;
    width: 100%;
    max-width: 100%;
    font-size: 0.72rem;
    line-height: 1.45;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--muted);
    text-align: justify;
    text-justify: inter-word;
    hyphens: none;
    -webkit-hyphens: none;
    word-break: normal;
    overflow-wrap: normal;
}

.phone-contact-disclaimer-label {
    font-weight: 750;
    color: var(--ink);
}

.phone-contact-actions {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.phone-contact-actions .btn {
    min-width: 110px;
    box-shadow: none;
}

.job-report-dialog-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: 360px;
    width: min(100%, 360px);
}

.job-report-dialog-card > p#jobReportTitle {
    margin: 0;
    text-align: center;
}

.job-report-message {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
    text-align: center;
}

.job-report-message.is-error {
    color: var(--danger);
}

.job-report-reasons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    text-align: left;
}

.job-report-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #faf8f5;
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink);
}

.job-report-option:has(input:checked) {
    border-color: var(--accent);
    background: #eef8f6;
}

.job-report-option input {
    accent-color: var(--accent);
    width: 16px;
    height: 16px;
    margin: 0;
    flex: 0 0 auto;
}

.job-report-login {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.job-report-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    text-align: left;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--muted);
}

.job-report-field input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--line);
    background: #faf8f5;
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    font-weight: 600;
    color: var(--ink);
}

.job-report-field input:focus {
    outline: 2px solid #9ad5cd;
    outline-offset: 1px;
    border-color: var(--accent);
}

#jobReportVerify:disabled,
#jobReportSubmit:disabled,
#jobReportSendCode:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.phone-copy-toast,
.float-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 2100;
    transform: translateX(-50%) translateY(0);
    background: var(--accent);
    color: #fff;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 650;
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.28);
    pointer-events: none;
    opacity: 0;
    text-align: center;
}

.phone-copy-toast.is-visible,
.float-toast.is-visible {
    animation: phone-copy-toast-rise 4s ease forwards;
}

.phone-copy-toast[hidden],
.float-toast[hidden] {
    display: none !important;
}

@keyframes phone-copy-toast-rise {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(8px);
    }
    6% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(18px);
    }
}

.login-contact-dialog.is-fading {
    animation: dialog-fade-out 1s ease forwards;
    pointer-events: none;
}

@keyframes dialog-fade-out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.auth-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 4px);
    box-shadow: var(--shadow);
    padding: 22px 18px;
    margin: 12px auto 0;
    max-width: 480px;
}

.auth-card h1,
.post-card-head h1 {
    margin: 0 0 8px;
    font-size: 1.45rem;
    letter-spacing: -0.03em;
}

.post-card {
    max-width: 560px;
}

.post-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.muted {
    color: var(--muted);
    margin: 0 0 12px;
}

.credential-hint {
    margin: 0 0 16px;
    font-size: 0.92rem;
}

.credential-hint code {
    background: #f7f4ef;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 2px 6px;
}

.stack-form {
    display: grid;
    gap: 12px;
}

.stack-form label {
    display: grid;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--muted);
}

.stack-form input,
.stack-form textarea,
.stack-form select {
    border: 1px solid var(--line);
    background: #faf8f5;
    border-radius: 12px;
    padding: 12px;
    font-weight: 500;
    font: inherit;
    color: var(--ink);
}

.stack-form select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    cursor: pointer;
    background-color: #faf8f5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.25L6 7.75L9.5 4.25' stroke='%236b6560' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px 12px;
    padding-right: 36px;
}

.stack-form textarea {
    min-height: 110px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.location-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    width: 100%;
}

.profile-card .location-buttons {
    gap: 6px;
}

.profile-card .location-buttons-locked {
    justify-content: center;
    margin-top: 6px;
}

.profile-card .location-buttons .btn {
    padding: 6px 12px;
    font-size: 0.86rem;
    line-height: 1.2;
    min-height: 0;
}

.post-card .location-buttons .btn {
    padding: 6px 12px;
    font-size: 0.86rem;
    line-height: 1.2;
    min-height: 0;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(20px);
    background: var(--ink);
    color: #fff;
    padding: 10px 14px;
    border-radius: 999px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 50;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.scroll-top-btn {
    position: fixed;
    right: 16px;
    bottom: 20px;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.25);
    cursor: pointer;
    z-index: 40;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    appearance: none;
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.15s ease;
}

.pull-refresh {
    position: fixed;
    top: 10px;
    left: 50%;
    z-index: 90;
    width: 36px;
    height: 36px;
    margin-left: -18px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transform: translateY(calc(var(--pull, 0px) - 48px));
    opacity: 0.95;
    pointer-events: none;
}

.pull-refresh[hidden] {
    display: none !important;
}

.pull-refresh-icon {
    font-size: 0.95rem;
    transition: transform 0.15s ease;
}

.pull-refresh.is-ready .pull-refresh-icon {
    transform: rotate(180deg);
}

.pull-refresh.is-refreshing .pull-refresh-icon {
    animation: job-contact-spin 0.8s linear infinite;
}

.scroll-top-btn:hover {
    background: var(--accent-strong);
    transform: translateY(-2px);
}

.scroll-top-btn:focus,
.scroll-top-btn:focus-visible,
.scroll-top-btn:active {
    outline: none;
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.25);
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 529.98px) {
    .site-header {
        --header-control-size: 28px;
        gap: 8px;
    }

    .header-actions {
        gap: 6px;
    }

    .btn-header,
    .btn-post,
    .search-tools .btn {
        padding: 0 8px;
        font-size: 0.78rem;
        line-height: 1;
        gap: 5px;
        white-space: nowrap;
    }

    .search-tools .btn {
        height: auto;
        padding: 4px 8px;
        line-height: 1.15;
    }

    .user-avatar-letter {
        font-size: 0.7rem;
    }

    .search-field {
        padding: 0 10px;
        border-radius: 10px;
    }

    .search-field input {
        height: 36px;
        font-size: 0.9rem;
    }

    .radius-field {
        font-size: 0.8rem;
        gap: 5px;
    }

    .radius-trigger {
        padding: 4px 30px 4px 10px;
        font-size: 0.8rem;
        line-height: 1.15;
        background-position: right 8px center;
    }

    .radius-option {
        padding: 7px 10px;
        font-size: 0.8rem;
    }

    .search-tools {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 12px;
        row-gap: 10px;
        align-items: center;
    }

    .search-tools .radius-field {
        margin-left: 0;
        justify-self: end;
    }

    .search-tools #locationBtn {
        justify-self: start;
        white-space: nowrap;
        flex-wrap: nowrap;
        padding: 4px 8px;
        gap: 4px;
    }

    .search-tools #locationBtnLabel {
        white-space: nowrap;
    }

    .search-tools .search-find {
        grid-column: 1 / -1;
        justify-self: center;
        margin-left: 0;
    }
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }

    .page-main {
        padding-top: 22px;
        padding-bottom: 48px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 1079.98px) {
    html,
    body {
        background: var(--bg);
    }

    html:has(body:not(.app-page)),
    body:not(.app-page) {
        height: 100%;
        overflow: hidden;
    }

    body.app-page {
        height: auto;
        min-height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    body.app-page .app-shell {
        overflow: visible;
        padding-bottom: 48px;
    }

    .page-shell {
        height: 100%;
        overflow: hidden;
        background: var(--bg);
    }

    .offer-strip {
        display: block;
        position: fixed;
        z-index: 30;
        margin: 0;
        background: transparent !important;
        box-shadow: none !important;
        filter: none;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .offer-strip-track,
    .offer-strip-card {
        box-shadow: none !important;
        filter: none;
    }

    .offer-strip-top,
    .offer-strip-bottom {
        left: 0;
        right: 0;
    }

    .offer-strip-top {
        top: 10px;
    }

    .offer-strip-bottom {
        bottom: 10px;
    }

    .page-main {
        position: fixed;
        top: calc(10px + 60px + 10px);
        bottom: calc(10px + 60px + 10px);
        left: 20px;
        right: 20px;
        width: auto;
        max-width: none;
        margin: 0;
        padding: 12px 12px 0;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: var(--bg);
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        outline: none !important;
    }

    .load-more-wrap {
        padding: 0 8px;
        min-height: calc(12px + 46px);
        box-sizing: border-box;
        align-items: center;
    }

    .load-more-wrap .load-more-btn {
        position: relative;
        top: -5px;
    }

    .scroll-top-btn {
        bottom: calc(10px + 60px + 10px + 12px);
        right: 32px;
    }
}

@media (max-width: 1079.98px) and (orientation: landscape) and (max-height: 700px) {
    .offer-strip-top,
    .offer-strip-bottom {
        display: none !important;
    }

    .side-rail {
        display: block;
        position: fixed;
        top: 0;
        bottom: 0;
        width: 150px;
        height: 100%;
        z-index: 30;
        padding: 0;
        background: transparent;
        overflow: hidden;
    }

    .side-rail-left {
        left: 10px;
    }

    .side-rail-right {
        right: 10px;
    }

    .side-rail .offer-strip,
    .side-rail .offer-strip-vertical {
        display: block !important;
        position: relative !important;
        inset: auto !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        width: 150px;
        height: 100%;
        margin: 0;
        background: transparent !important;
        box-shadow: none !important;
    }

    .side-rail .offer-strip-track-vertical {
        width: 150px;
    }

    .side-rail .offer-strip-card {
        flex: 0 0 60px;
        width: 150px;
        height: 60px;
    }

    .page-main {
        top: 10px;
        bottom: 10px;
        left: calc(10px + 150px + 10px);
        right: calc(10px + 150px + 10px);
        background: var(--bg);
    }

    .scroll-top-btn {
        bottom: 22px;
        right: calc(10px + 150px + 22px);
    }
}

@media (min-width: 1080px) {
    :root {
        --side-gap: 50px;
    }

    .side-rail {
        display: block;
        position: fixed;
        top: var(--side-inset);
        bottom: var(--side-inset);
        width: var(--side-rail);
        height: calc(100vh - (2 * var(--side-inset)));
        z-index: 20;
        overflow: visible;
    }

    .side-rail-left {
        left: var(--side-inset);
    }

    .side-rail-right {
        right: var(--side-inset);
    }

    .side-rail .side-rail-stack {
        display: flex;
        width: 100%;
        height: 100%;
        min-height: 100%;
    }

    .offer-strip-top,
    .offer-strip-bottom {
        display: none !important;
    }

    .page-shell > .offer-strip {
        display: none !important;
    }

    .page-main {
        width: auto;
        max-width: none;
        margin-left: calc(var(--side-inset) + var(--side-rail) + var(--side-gap));
        margin-right: calc(var(--side-inset) + var(--side-rail) + var(--side-gap));
        margin-top: var(--side-inset);
        margin-bottom: var(--side-inset);
        min-height: calc(100vh - (2 * var(--side-inset)));
        padding-left: 16px;
        padding-right: 16px;
        background: transparent;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        outline: none !important;
    }
}

@media (min-width: 1500px) {
    :root {
        --side-gap: 100px;
    }
}

.app-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.app-navbar {
    --header-control-size: 32px;
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
    flex-wrap: nowrap;
}

.app-navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink);
    flex-shrink: 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    border-radius: 0;
}

.app-navbar-brand:focus,
.app-navbar-brand:focus-visible,
.app-navbar-brand:active {
    outline: none;
    box-shadow: none;
    background: transparent;
}

.app-navbar-logo {
    width: var(--header-control-size, 32px);
    height: var(--header-control-size, 32px);
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.app-navbar-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 6px 10px;
    min-width: 0;
}

.app-nav-link {
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 650;
    color: var(--muted);
    padding: 8px 10px;
    border-radius: 10px;
    white-space: nowrap;
}

.app-nav-link:hover,
.app-nav-link.is-active {
    color: var(--accent-strong);
    background: #eef8f6;
}

.app-settings {
    position: relative;
}

.app-settings-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #faf8f5;
    color: var(--ink);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.app-settings-btn:hover,
.app-settings-btn[aria-expanded="true"] {
    border-color: #c9e7e2;
    background: #eef8f6;
    color: var(--accent-strong);
}

.app-settings-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 180px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 6px;
    display: grid;
    gap: 2px;
}

.app-settings-menu[hidden] {
    display: none;
}

.app-settings-item {
    display: block;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 650;
    color: var(--ink);
}

.app-settings-item:hover {
    background: #f4f1ec;
    color: var(--accent-strong);
}

.app-shell {
    width: min(100%, 896px);
    margin: 0 auto;
    padding: 18px 16px 40px;
    box-sizing: border-box;
    flex: 1;
}

.dashboard-panel {
    padding: 12px 0 8px;
}

.dashboard-title {
    margin: 0 0 22px;
    font-size: clamp(1.7rem, 4vw, 2.2rem);
    letter-spacing: -0.04em;
    color: var(--ink);
    text-align: center;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.dashboard-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 140px;
    padding: 22px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    text-align: center;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    border-color: #c9e7e2;
    box-shadow: 0 14px 30px rgba(15, 118, 110, 0.1);
}

.dashboard-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef8f6;
    color: var(--accent);
    font-size: 1.25rem;
}

.dashboard-card-title {
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
}

@media (min-width: 720px) {
    .dashboard-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

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

@media (min-width: 980px) {
    .contact-cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.contact-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 8px 0 24px;
}

.contact-page-title {
    margin: 0 0 16px;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    letter-spacing: -0.04em;
    color: var(--ink);
    text-align: center;
}

.contact-page-body {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px 18px;
}

.contact-page-body p {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.55;
    text-align: justify;
    text-justify: inter-word;
}

.contact-page-body p:last-child {
    margin-bottom: 0;
}

.contact-page-list {
    margin: 0 0 12px;
    padding: 0 0 0 1.15em;
    color: var(--ink);
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.55;
    text-align: justify;
    text-justify: inter-word;
}

.contact-page-list li {
    margin: 0 0 10px;
}

.contact-page-list li:last-child {
    margin-bottom: 0;
}

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

.contact-email:hover {
    color: var(--accent-strong);
    text-decoration: underline;
}

.app-page-head {
    margin: 0 0 14px;
}

.app-page-head h1 {
    margin: 0;
    font-size: 1.45rem;
    letter-spacing: -0.03em;
}

.profile-card {
    max-width: 560px;
}

.profile-card .post-card-head {
    justify-content: center;
    text-align: center;
}

.profile-card .post-card-head h1 {
    text-align: center;
    width: 100%;
}

.stack-form input.is-readonly,
.stack-form select.is-readonly {
    background: #eeeae3;
    color: var(--muted);
    cursor: not-allowed;
}

.field-required {
    color: #dc2626;
    font-weight: 700;
}

.profile-save-confirm-card {
    width: min(100%, 380px);
    text-align: left;
}

.profile-save-confirm-card #saveConfirmTitle {
    text-align: center;
}

.profile-save-confirm-list {
    margin: 0 0 18px;
    display: grid;
    gap: 10px;
}

.profile-save-confirm-list > div {
    display: grid;
    gap: 2px;
}

.profile-save-confirm-list dt {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.profile-save-confirm-list dd {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--ink);
    word-break: break-word;
}

.profile-save-confirm-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.profile-save-confirm-actions .btn {
    min-width: 110px;
}

.profile-location-confirm-card {
    width: min(100%, 380px);
}

.profile-location-confirm-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.profile-location-confirm-actions .btn {
    min-width: 110px;
}

.profile-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(20, 18, 15, 0.4);
}

.profile-modal.is-open {
    display: flex !important;
}

.profile-modal-card {
    width: min(100%, 420px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 16px 36px rgba(20, 18, 15, 0.18);
    padding: 22px 18px 16px;
}

.profile-modal-title {
    margin: 0 0 14px;
    color: var(--ink);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-align: center;
    line-height: 1.45;
}

.profile-modal-body:empty {
    display: none;
}

.profile-modal-actions {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    width: 100%;
}

.profile-modal-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    padding: 8px 10px;
    font-size: 0.82rem;
    white-space: nowrap;
}

.profile-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    width: 100%;
}

.profile-actions .btn {
    min-width: 110px;
    text-align: center;
    text-decoration: none;
}

@media (max-width: 720px) {
    .app-navbar {
        gap: 8px;
        padding: 10px 12px;
    }

    .app-navbar-links {
        gap: 4px 6px;
    }

    .app-nav-link {
        font-size: 0.86rem;
        padding: 7px 8px;
        white-space: nowrap;
    }

    .app-settings {
        margin-left: auto;
    }
}

@media (max-width: 529px) {
    .app-navbar {
        --header-control-size: 28px;
        gap: 6px;
        padding: 8px 10px;
    }

    .app-navbar-links {
        gap: 2px 4px;
    }

    .app-nav-link {
        font-size: 0.78rem;
        padding: 6px 6px;
    }
}

.secret-gate-page {
    margin: 0;
    min-height: 100vh;
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    background: #0f1115;
    color: #e8eaed;
    font-family: Manrope, system-ui, sans-serif;
}

html:has(body.secret-gate-page) {
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

.secret-gate-form {
    max-width: 280px;
    margin: 24vh auto 0;
    display: grid;
    gap: 10px;
    padding: 0 16px;
}

.secret-gate-form input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #3a3f4b;
    border-radius: 6px;
    padding: 10px 12px;
    font: inherit;
    font-size: 0.95rem;
    background: #1a1d24;
    color: #e8eaed;
}

.secret-gate-form input:focus {
    outline: 1px solid #6b8cff;
    border-color: #6b8cff;
}

.secret-gate-form button {
    border: 1px solid #6b8cff;
    background: #6b8cff;
    color: #0f1115;
    border-radius: 6px;
    padding: 10px 12px;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
}

.secret-gate-form button:disabled {
    opacity: 0.7;
    cursor: wait;
}

.secret-gate-status {
    margin: 0;
    text-align: center;
    font-size: 0.82rem;
    color: #9aa0a6;
}

.secret-gate-shell {
    width: min(100%, 430px);
    margin: 0 auto;
    padding: 14px 12px 28px;
    box-sizing: border-box;
}

.secret-gate-top {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.secret-gate-logout-form {
    margin: 0;
}

.secret-gate-logout {
    appearance: none;
    border: 1px solid #3a3f4b;
    background: #1a1d24;
    color: #e8eaed;
    border-radius: 8px;
    padding: 8px 12px;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

.secret-gate-logout:hover {
    border-color: #6b8cff;
    color: #6b8cff;
}

.secret-gate-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}

.secret-gate-tab {
    flex: 1 1 0;
    text-align: center;
    text-decoration: none;
    color: #9aa0a6;
    border: 1px solid #2a2f3a;
    background: #161a22;
    border-radius: 10px;
    padding: 9px 6px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
}

.secret-gate-tab.is-active {
    color: #0f1115;
    background: #6b8cff;
    border-color: #6b8cff;
}

.secret-gate-panel {
    margin-bottom: 16px;
    background: #161a22;
    border: 1px solid #2a2f3a;
    border-radius: 12px;
    padding: 12px 10px;
}

.secret-gate-heading {
    margin: 0 0 10px;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #e8eaed;
}

.secret-metrics-scroll {
    width: 100%;
    overflow-x: visible;
}

.secret-metrics-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 0.68rem;
    line-height: 1.3;
}

.secret-metrics-table th,
.secret-metrics-table td {
    padding: 6px 2px;
    border-bottom: 1px solid #2a2f3a;
    text-align: right;
    white-space: nowrap;
}

.secret-metrics-table thead th {
    color: #9aa0a6;
    font-weight: 700;
    position: sticky;
    top: 0;
    background: #161a22;
}

.secret-metrics-table thead th:first-child,
.secret-metrics-table tbody th {
    width: 42%;
    text-align: left;
    padding-left: 0;
    padding-right: 4px;
}

.secret-metrics-table thead th:not(:first-child),
.secret-metrics-table td {
    width: 14.5%;
    padding-left: 2px;
    padding-right: 2px;
}

.secret-metrics-table tbody th {
    font-weight: 650;
    color: #c5c9d0;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
}

.secret-metrics-table td {
    color: #e8eaed;
    font-variant-numeric: tabular-nums;
}

.secret-gate-empty {
    margin: 0;
    color: #9aa0a6;
    font-size: 0.88rem;
    text-align: center;
    padding: 18px 8px;
}

.secret-reg-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.secret-reg-card {
    background: #1a1d24;
    border: 1px solid #2a2f3a;
    border-radius: 10px;
    padding: 10px;
}

.secret-reg-email {
    font-size: 0.82rem;
    font-weight: 750;
    color: #6b8cff;
    word-break: break-all;
    margin-bottom: 8px;
}

.secret-reg-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: baseline;
    font-size: 0.78rem;
    padding: 4px 0;
    border-top: 1px solid #2a2f3a;
}

.secret-reg-row span {
    color: #9aa0a6;
    flex: 0 0 auto;
}

.secret-reg-row strong {
    color: #e8eaed;
    font-weight: 650;
    text-align: right;
    word-break: break-word;
}

.secret-report-desc {
    margin: 0 0 8px;
    font-size: 0.78rem;
    line-height: 1.4;
    color: #c5c9d0;
    text-align: justify;
    overflow-wrap: break-word;
    word-break: normal;
}

.secret-report-actions {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
}

.secret-report-status {
    font-size: 0.78rem;
    font-weight: 700;
    color: #f0a8a0;
}

.secret-gate-action-btn {
    appearance: none;
    border: 1px solid #b0342a;
    background: #b0342a;
    color: #fff;
    border-radius: 8px;
    padding: 8px 12px;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

.secret-gate-action-btn.is-unblock {
    border-color: #3d9a6a;
    background: #3d9a6a;
}

.secret-block-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-bottom: 12px;
}

.secret-block-search input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #3a3f4b;
    border-radius: 8px;
    padding: 10px 12px;
    font: inherit;
    font-size: 0.88rem;
    background: #1a1d24;
    color: #e8eaed;
}

.secret-block-card {
    margin-top: 4px;
}

.secret-db-actions {
    display: grid;
    gap: 14px;
}

.secret-db-import {
    display: grid;
    gap: 10px;
}

.secret-db-import input[type="file"] {
    width: 100%;
    box-sizing: border-box;
    color: #c5c9d0;
    font-size: 0.82rem;
}

.secret-db-note {
    margin: 12px 0 0;
    font-size: 0.82rem;
    color: #9aa0a6;
    text-align: center;
}

.secret-log-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.secret-log-option {
    text-align: center;
    text-decoration: none;
    color: #9aa0a6;
    border: 1px solid #2a2f3a;
    background: #1a1d24;
    border-radius: 8px;
    padding: 8px 6px;
    font-size: 0.76rem;
    font-weight: 700;
}

.secret-log-option.is-active {
    color: #0f1115;
    background: #6b8cff;
    border-color: #6b8cff;
}

.secret-log-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.secret-log-meta {
    font-size: 0.76rem;
    color: #9aa0a6;
}

.secret-log-console {
    margin: 0;
    max-height: 55vh;
    overflow: auto;
    background: #0c0e12;
    border: 1px solid #2a2f3a;
    border-radius: 10px;
    padding: 10px;
    color: #c5c9d0;
    font-size: 0.68rem;
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-word;
}

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

.secret-ad-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #e8eaed;
    background: #1a1d24;
    border: 1px solid #2a2f3a;
    border-radius: 10px;
    padding: 38px 8px 12px;
}

.secret-ad-tile:hover {
    border-color: #6b8cff;
}

.secret-ad-tile img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
}

.secret-ad-tile-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.25;
    word-break: break-word;
}

.secret-ad-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.secret-ad-back {
    display: inline-block;
    margin: 0;
    color: #6b8cff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
}

.secret-ad-meta {
    position: absolute;
    top: 6px;
    right: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    max-width: calc(100% - 16px);
}

.secret-ad-folder {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #9aa0a6;
    font-variant-numeric: tabular-nums;
}

.secret-ad-live {
    font-size: 0.58rem;
    font-weight: 600;
    line-height: 1.25;
    color: #9aa0a6;
    text-align: right;
}

.secret-ad-toolbar .secret-ad-folder {
    position: static;
}

.secret-ad-error {
    margin: 0 0 12px;
    color: #f0a8a0;
    font-size: 0.82rem;
}

.secret-ad-form {
    display: grid;
    gap: 12px;
}

.secret-ad-form label {
    display: grid;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #c5c9d0;
}

.secret-ad-form input[type="text"],
.secret-ad-form input[type="url"] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #3a3f4b;
    border-radius: 8px;
    padding: 10px 12px;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 500;
    background: #1a1d24;
    color: #e8eaed;
}

.secret-ad-form input[type="file"] {
    width: 100%;
    box-sizing: border-box;
    color: #c5c9d0;
    font-size: 0.82rem;
    font-weight: 500;
}

.secret-ad-hint {
    font-size: 0.72rem;
    font-weight: 500;
    color: #9aa0a6;
    line-height: 1.35;
}

.secret-ad-form-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
}

.secret-ad-preview-stage {
    background: #f4f1ec;
    border-radius: 12px;
    padding: 16px 12px;
    margin-bottom: 14px;
    display: grid;
    gap: 14px;
    justify-items: center;
}

.secret-ad-preview-desktop {
    width: 140px;
}

.secret-ad-preview-desktop .offer-card,
.secret-ad-preview-desktop .offer-card-inner {
    min-height: 120px;
}

.secret-ad-preview-strip {
    width: 100%;
}

.secret-ad-preview-strip .offer-strip-card {
    width: 100%;
    min-height: 52px;
    border: 1px solid #e4dfd6;
    border-radius: 10px;
    padding: 6px 8px;
    box-sizing: border-box;
}

.secret-ad-preview-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    align-items: center;
}

.secret-ad-preview-actions form {
    margin: 0;
}

.secret-gate-action-btn.is-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-color: #6b8cff;
    background: #6b8cff;
    color: #0f1115;
    box-sizing: border-box;
}
