:root {
    color-scheme: light;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #172033;
    background: #f5f6fa;
    --green: #22c55e;
    --green-dark: #16a34a;
    --orange: #f97316;
    --orange-soft: #fff7ed;
    --line: #dbeee5;
    --muted: #64748b;
    --ink: #111827;
}

* {
    box-sizing: border-box;
}

body {
    background:
        radial-gradient(680px 380px at 12% -8%, rgba(120, 170, 255, 0.32) 0%, rgba(120, 170, 255, 0) 60%),
        radial-gradient(680px 420px at 92% 8%, rgba(255, 170, 200, 0.26) 0%, rgba(255, 170, 200, 0) 60%),
        linear-gradient(180deg, #f5f6fa 0%, #eceef3 100%);
    background-attachment: fixed;
    margin: 0;
}

button,
input {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
    transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, transform 0.12s ease;
}

button:active {
    transform: translateY(1px);
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
p {
    margin: 0;
}

.desktop-nav {
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(219, 234, 254, 0.82);
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.045);
    height: 56px;
    position: sticky;
    top: 0;
    z-index: 20;
}

.desktop-nav__inner {
    align-items: center;
    display: flex;
    gap: 16px;
    height: 100%;
    margin: 0 auto;
    max-width: 1180px;
    padding: 0 22px;
}

.desktop-brand {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    gap: 9px;
    min-width: 0;
}

.desktop-brand__mark {
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(249, 115, 22, 0.14);
    display: block;
    height: 34px;
    object-fit: cover;
    width: 34px;
}

.desktop-brand strong {
    color: #1f2937;
    display: block;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.1;
}

.desktop-brand em {
    color: #94a3b8;
    display: block;
    font-size: 11.5px;
    font-style: normal;
    margin-top: 2px;
}

.desktop-links {
    align-items: center;
    display: flex;
    gap: 7px;
    justify-content: flex-start;
    min-width: 0;
    overflow: visible;
    padding-top: 5px;
    white-space: nowrap;
    width: auto;
}

.desktop-links a {
    align-items: center;
    background: rgba(255, 255, 255, 0.48);
    border: 1px solid transparent;
    border-radius: 11px;
    color: #24364f;
    display: inline-flex;
    font-size: 14px;
    font-weight: 800;
    height: 34px;
    line-height: 1;
    padding: 0 14px;
    position: relative;
    transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.desktop-links a.is-active,
.desktop-links a:hover {
    background: linear-gradient(180deg, rgba(255, 247, 237, 0.98), rgba(255, 237, 213, 0.84));
    border-color: rgba(253, 186, 116, 0.62);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.08);
    color: #c2410c;
}

.desktop-links span {
    background: linear-gradient(180deg, rgba(255, 250, 245, 0.98), rgba(255, 235, 213, 0.96));
    border: 1px solid rgba(251, 146, 60, 0.34);
    border-radius: 999px;
    color: #b45309;
    font-size: 9.5px;
    font-weight: 900;
    line-height: 1;
    margin-left: 0;
    padding: 2px 5px 2.5px;
    position: absolute;
    right: 7px;
    top: 1px;
    transform: translate(38%, -28%);
    white-space: nowrap;
}

.desktop-links a.is-active span {
    background: linear-gradient(180deg, #fff7ed, #ffedd5);
    border-color: rgba(249, 115, 22, 0.42);
    color: #c2410c;
}

.page-shell {
    margin: 0 auto;
    max-width: 440px;
    min-height: calc(100vh - 57px);
    padding: 8px 12px 28px;
}

.topbar {
    display: none;
}

.hero-panel,
.submit-panel,
.promo-card,
.list-panel {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.055);
}

.hero-panel {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.94)),
        radial-gradient(circle at 100% 0%, rgba(34, 197, 94, 0.13), transparent 38%);
    padding: 16px 16px 13px;
}

.hero-head {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.title-line {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.title-line h2 {
    color: var(--ink);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.2;
}

.badge {
    background: #dcfce7;
    border-radius: 999px;
    color: #15803d;
    font-size: 11px;
    font-weight: 900;
    padding: 2px 7px;
}

.badge--soft {
    background: transparent;
    color: #64748b;
    padding-left: 0;
}

.hero-info-grid {
    align-items: stretch;
    display: grid;
    gap: 10px;
    grid-auto-rows: 1fr;
    grid-template-columns: 1fr 1fr;
    margin-top: 12px;
}

.people-stat {
    align-items: center;
    border: 1px solid transparent;
    border-right: 1px dashed #dbeee5;
    border-radius: 10px 0 0 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 54px;
    padding: 0 8px;
    text-align: center;
}

.people-stat span,
.hero-note,
.submit-tip,
.promo-card p,
.section-head p,
.code-item p,
.notice-line {
    color: var(--muted);
    font-size: 13px;
}

.people-stat strong {
    color: var(--green-dark);
    display: inline;
    font-size: 22px;
    font-weight: 900;
}

.people-stat em {
    color: #334155;
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
}

.people-stat__value {
    align-items: center;
    display: inline-flex;
    gap: 4px;
    line-height: 1;
    margin-top: 2px;
}

.notice-button {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.05);
    color: #334155;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 900;
    min-height: 36px;
    padding: 0 12px;
    position: relative;
}

.notice-button:after {
    background: #f43f5e;
    border: 2px solid #fff;
    border-radius: 999px;
    content: "";
    height: 8px;
    position: absolute;
    right: 6px;
    top: 4px;
    width: 8px;
}

.help-row {
    align-items: center;
    background: #ffffff;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #334155;
    display: flex;
    gap: 8px;
    margin-top: 0;
    min-height: 54px;
    padding: 0 8px;
    text-align: left;
    height: 100%;
    width: 100%;
}

.help-row:hover {
    border-color: #bbf7d0;
    background: #f8fffb;
}

.help-row__icon {
    align-items: center;
    color: #111827;
    display: inline-flex;
    flex-shrink: 0;
    height: 26px;
    justify-content: center;
    width: 26px;
}

.help-row__icon svg,
.announcement svg,
.list-actions svg,
.code-item svg {
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.help-row__icon svg {
    height: 21px;
    width: 21px;
}

.help-row__copy {
    flex: 1;
    min-width: 0;
}

.help-row strong {
    color: #1f2937;
    display: block;
    font-size: 13px;
}

.help-row em {
    color: #94a3b8;
    display: block;
    font-size: 12px;
    font-style: normal;
}

.help-row__chev {
    color: var(--green-dark);
    font-size: 22px;
    font-weight: 900;
}

.quick-links {
    background: linear-gradient(100deg, #fff7ed, #fff 50%, #ffedd5);
    border: 1px solid #fed7aa;
    border-radius: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 10px;
    overflow: hidden;
}

.quick-links a,
.quick-links button {
    align-items: center;
    background: transparent;
    border: 0;
    color: #9a3412;
    display: flex;
    font-size: 13px;
    font-weight: 900;
    gap: 6px;
    justify-content: center;
    padding: 10px 8px;
    text-align: center;
}

.quick-links a + a,
.quick-links button + button {
    border-left: 1px solid #fed7aa;
}

.quick-icons {
    align-items: center;
    display: inline-flex;
    flex-shrink: 0;
}

.quick-icons img {
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 1px 4px rgba(15,23,42,0.10);
    height: 16px;
    object-fit: cover;
    width: 16px;
}

.quick-icons img + img {
    margin-left: -4px;
}

.quick-chev {
    color: #c2410c;
    font-size: 15px;
    margin-left: -2px;
}

.hero-note {
    margin-top: 9px;
    text-align: center;
}

.announcement {
    align-items: center;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.96)),
        linear-gradient(90deg, rgba(220,252,231,0.72), rgba(255,247,237,0.52));
    border: 1px solid rgba(187, 247, 208, 0.88);
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.055);
    color: #334155;
    display: flex;
    font-size: 13px;
    font-weight: 800;
    gap: 9px;
    line-height: 1.4;
    margin: 10px 0;
    min-height: 38px;
    overflow: hidden;
    padding: 6px 9px 6px 8px;
    width: 100%;
}

.announcement:hover {
    border-color: rgba(134, 239, 172, 0.98);
    box-shadow: 0 10px 24px rgba(22, 163, 74, 0.09);
}

.announcement__tag {
    align-items: center;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.86);
    color: #15803d;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 12.5px;
    font-weight: 900;
    gap: 5px;
    height: 26px;
    padding: 0 8px 0 5px;
}

.announcement__tag svg {
    background: #22c55e;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(34, 197, 94, 0.22);
    color: #ffffff;
    height: 18px;
    padding: 3px;
    width: 18px;
}

.announcement__tag path {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
}

.announcement__viewport {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
}

.announcement__text {
    color: #475569;
    display: inline-block;
    font-size: 13px;
    font-weight: 850;
    max-width: 100%;
    vertical-align: middle;
}

.announcement__text.is-clipped {
    overflow: hidden;
    text-overflow: ellipsis;
}

.announcement__text.is-marquee {
    animation: announcementMarquee var(--marquee-duration, 12s) linear infinite;
    max-width: none;
    padding-left: 100%;
}

@keyframes announcementMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-100% - 24px));
    }
}

.announcement__chev {
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #94a3b8;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 17px;
    font-weight: 900;
    height: 24px;
    justify-content: center;
    line-height: 1;
    width: 24px;
}

.announcement-modal {
    display: none;
    inset: 0;
    position: fixed;
    z-index: 90;
}

.announcement-modal--open {
    display: block;
}

.announcement-modal__backdrop {
    background: rgba(15, 23, 42, 0.38);
    inset: 0;
    position: absolute;
}

.announcement-sheet {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
    left: 50%;
    max-height: min(72vh, 560px);
    max-width: 420px;
    overflow: hidden;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100vw - 32px);
}

.announcement-sheet__head {
    align-items: flex-start;
    border-bottom: 1px solid #eef2f7;
    display: flex;
    justify-content: space-between;
    padding: 16px 16px 12px;
}

.announcement-sheet__head h2 {
    color: #0f172a;
    font-size: 18px;
}

.announcement-sheet__head p {
    color: var(--muted);
    font-size: 12px;
    margin-top: 3px;
}

.announcement-sheet__head button {
    background: #f1f5f9;
    border-radius: 999px;
    color: #64748b;
    font-size: 20px;
    height: 30px;
    line-height: 1;
    width: 30px;
}

.announcement-sheet__body {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #334155;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.75;
    margin: 14px 16px 16px;
    max-height: min(46vh, 360px);
    overflow-y: auto;
    overflow-wrap: anywhere;
    padding: 13px 14px;
    white-space: pre-wrap;
    word-break: break-word;
}

.submit-panel,
.promo-card,
.list-panel {
    margin-top: 8px;
    padding: 12px;
}

.submit-panel {
    background: #ffffff;
}

.submit-tip {
    font-weight: 800;
    margin-bottom: 8px;
    text-align: center;
}

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

.submit-row input {
    background: #ffffff;
    border: 1.5px solid #b4e4c2;
    border-radius: 11px;
    color: #1f2937;
    font-size: 17px;
    font-weight: 600;
    min-height: 46px;
    padding: 0 14px;
}

.submit-row input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.14);
    outline: none;
}

.submit-row button,
.smart-action {
    background: var(--green);
    border-radius: 11px;
    box-shadow: 0 7px 16px rgba(34, 197, 94, 0.22);
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
    white-space: nowrap;
}

.submit-row button:hover,
.smart-action:hover {
    background: var(--green-dark);
}

.smart-action.smart-action--empty,
.list-actions .smart-action.smart-action--empty {
    background: #e2e8f0;
    box-shadow: none;
    color: #64748b;
    cursor: not-allowed;
}

.smart-action.smart-action--empty:hover,
.list-actions .smart-action.smart-action--empty:hover {
    background: #e2e8f0;
}

.notice-line {
    align-items: center;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 9px;
    color: #166534;
    display: flex;
    font-size: 12.5px;
    font-weight: 800;
    gap: 7px;
    line-height: 1.25;
    margin-top: 8px;
    min-height: 28px;
    padding: 4px 9px;
}

.notice-line input {
    accent-color: var(--green);
    flex-shrink: 0;
    height: 14px;
    margin: 0;
    width: 14px;
}

.notice-line span {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.publish-limit-tip {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    margin-top: 6px;
    text-align: center;
}

.promo-head {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-right: 20px;
    position: relative;
}

.promo-close {
    align-items: center;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 251, 247, 0.92));
    border: 1px solid rgba(251, 146, 60, 0.34);
    border-radius: 999px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.98),
        0 5px 12px rgba(249, 115, 22, 0.08);
    color: #f97316;
    display: inline-flex;
    flex-shrink: 0;
    height: 20px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: -5px;
    top: -7px;
    transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease, transform 0.16s ease;
    width: 20px;
}

.promo-close:hover {
    background: #fff7ed;
    border-color: rgba(249, 115, 22, 0.54);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.98),
        0 7px 16px rgba(249, 115, 22, 0.12);
    color: #ea580c;
    transform: translateY(-1px);
}

.promo-close svg {
    fill: none;
    height: 12px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2.8;
    width: 12px;
}

.promo-card h2 {
    color: #111827;
    font-size: 14px;
    line-height: 1.25;
}

.promo-card p {
    font-size: 11.5px;
    line-height: 1.35;
    margin-top: 2px;
}

.promo-head > span {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #64748b;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 9px;
}

.promo-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.97), rgba(255,255,255,0.95)),
        linear-gradient(90deg, rgba(255, 237, 213, 0.9), rgba(240, 253, 244, 0.8));
}

.promo-actions {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 8px;
}

.promo-actions button,
.activity-row button,
.list-actions button {
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #334155;
    display: flex;
    font-weight: 800;
    gap: 4px;
    justify-content: center;
    min-height: 36px;
}

.promo-actions button {
    border-radius: 999px;
    font-size: 12px;
    min-height: 28px;
}

.promo-actions img {
    border-radius: 999px;
    height: 13px;
    object-fit: cover;
    width: 13px;
}

.promo-actions button:hover,
.activity-row button:hover,
.list-actions button:hover {
    background: #f8fafc;
    border-color: #bbf7d0;
}

.activity-row {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 8px;
}

.activity-row button {
    justify-content: flex-start;
    min-height: 42px;
    padding: 5px 7px 5px 6px;
    text-align: left;
}

.activity-row img {
    background: #f8fafc;
    border-radius: 7px;
    flex-shrink: 0;
    height: 30px;
    object-fit: contain;
    width: 30px;
}

.activity-row span {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.activity-row strong {
    color: #0f172a;
    font-size: 12px;
    line-height: 1.15;
}

.activity-row em {
    color: #94a3b8;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 2px;
}

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

.section-head h2 {
    color: var(--green-dark);
    font-size: 19px;
    font-weight: 900;
}

.section-head h2 span {
    background: #dcfce7;
    border-radius: 999px;
    display: inline-block;
    font-size: 13px;
    margin-left: 4px;
    min-width: 22px;
    padding: 2px 7px;
    text-align: center;
}

.status-pill {
    align-items: center;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid #dbeafe;
    border-radius: 999px;
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.05);
    color: #94a3b8;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 900;
    gap: 6px;
    min-height: 30px;
    padding: 0 10px;
    white-space: nowrap;
}

.auto-refresh-pill i {
    background: #86efac;
    border-radius: 999px;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
    display: block;
    height: 8px;
    width: 8px;
}

.auto-refresh-pill.is-refreshing i {
    animation: pulseDot 0.8s ease-in-out infinite;
}

@keyframes pulseDot {
    0%,
    100% {
        opacity: 0.55;
        transform: scale(0.92);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.list-actions {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr 1fr 2fr;
    margin-top: 10px;
}

.list-actions button {
    font-size: 14px;
    min-height: 38px;
}

.list-actions button:disabled,
.list-actions button.is-cooling {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    opacity: 0.86;
}

.list-actions svg {
    height: 15px;
    width: 15px;
}

.list-actions .smart-action {
    background: var(--green);
    border: 0;
    box-shadow: 0 10px 22px rgba(34, 197, 94, 0.25);
    color: #ffffff;
}

.list-actions .smart-action svg {
    opacity: 0.9;
}

.admin-shell {
    align-items: flex-start;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 36px 16px;
}

.admin-login-card,
.admin-dashboard {
    width: 100%;
}

.admin-login-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    max-width: 420px;
    padding: 24px;
    text-align: center;
}

.admin-login-logo {
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(249,115,22,0.12);
    height: 48px;
    margin-bottom: 12px;
    width: 48px;
}

.admin-login-card h1,
.admin-top h1 {
    color: #0f172a;
    font-size: 24px;
}

.admin-login-card p,
.admin-top p,
.admin-panel-head span {
    color: var(--muted);
    font-size: 13px;
    margin-top: 4px;
}

.admin-dashboard {
    align-items: start;
    display: grid;
    gap: 14px;
    grid-template-columns: 220px minmax(0, 1fr);
    max-width: 1180px;
}

.admin-top {
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.055);
    display: flex;
    grid-column: 2;
    justify-content: space-between;
    padding: 18px 20px;
    width: 100%;
}

.admin-top nav {
    display: flex;
    gap: 8px;
}

.admin-top a,
.admin-back-link {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #334155;
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    padding: 8px 12px;
}

.admin-back-link {
    margin-top: 14px;
}

.admin-stat-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, 1fr);
}

.admin-stat-grid div,
.admin-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
}

.admin-stat-grid div {
    padding: 16px;
}

.admin-stat-grid span {
    color: var(--muted);
    display: block;
    font-size: 13px;
    font-weight: 800;
}

.admin-stat-grid strong {
    color: var(--green-dark);
    display: block;
    font-size: 26px;
    line-height: 1.2;
    margin-top: 5px;
}

.admin-panel {
    max-width: 100%;
    min-width: 0;
    padding: 16px;
}

.admin-workspace {
    display: contents;
}

.admin-side {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
    display: grid;
    gap: 8px;
    grid-column: 1;
    grid-row: 1 / span 30;
    padding: 10px;
    position: sticky;
    top: 36px;
}

.admin-side button {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #475569;
    display: grid;
    gap: 3px;
    padding: 11px 12px;
    text-align: left;
}

.admin-side button strong {
    color: #0f172a;
    font-size: 14px;
    font-weight: 950;
}

.admin-side button span {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 800;
}

.admin-side button:hover,
.admin-side button.is-active {
    background: #f0fdf4;
    border-color: #bbf7d0;
    box-shadow: inset 3px 0 0 var(--green);
}

.admin-content,
.admin-section {
    max-width: 100%;
    min-width: 0;
    width: 100%;
}

.admin-content,
.admin-dashboard > .admin-message {
    grid-column: 2;
}

.admin-section {
    display: none;
}

.admin-section.is-active {
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr);
}

.admin-section-head {
    align-items: center;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.95));
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
    display: flex;
    justify-content: space-between;
    padding: 16px;
}

.admin-section-head p {
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 950;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.admin-section-head h2 {
    color: #0f172a;
    font-size: 20px;
    font-weight: 950;
}

.admin-section-head > span {
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
}

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

.admin-panel-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.admin-panel h2 {
    color: #0f172a;
    font-size: 18px;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 18px;
}

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

.admin-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-form span {
    color: #334155;
    font-size: 13px;
    font-weight: 900;
}

.admin-form input,
.admin-form textarea {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font: inherit;
    padding: 11px 12px;
}

.admin-form textarea {
    resize: vertical;
}

.admin-form button {
    background: var(--green);
    border-radius: 12px;
    color: #fff;
    font-weight: 900;
    min-height: 44px;
}

.admin-form--grid button,
.admin-switch {
    grid-column: 1 / -1;
}

.admin-switch {
    align-items: center;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    flex-direction: row !important;
    justify-content: space-between;
    padding: 11px 12px;
}

.admin-switch input {
    accent-color: var(--green);
    height: 18px;
    width: 18px;
}

.admin-log-list {
    border-top: 1px solid #eef2f7;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
    padding-top: 14px;
}

.admin-log-list div {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    display: grid;
    gap: 8px;
    grid-template-columns: 72px 120px 1fr 152px;
    padding: 9px 10px;
}

.admin-log-list span,
.admin-log-list time,
.admin-log-list p {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.admin-blacklist {
    border-top: 1px solid #eef2f7;
    display: grid;
    gap: 8px;
    margin-top: 16px;
    padding-top: 14px;
}

.admin-blacklist div {
    align-items: center;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    display: grid;
    gap: 8px;
    grid-template-columns: 150px minmax(0, 1fr) 152px auto;
    padding: 10px;
}

.admin-blacklist strong {
    color: #9a3412;
    font-size: 13px;
    font-weight: 950;
}

.admin-blacklist span,
.admin-blacklist time,
.admin-blacklist p {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.admin-blacklist form {
    margin: 0;
}

.admin-blacklist button {
    background: #ffffff;
    border: 1px solid #fed7aa;
    border-radius: 10px;
    color: #ea580c;
    font-size: 12px;
    font-weight: 950;
    min-height: 30px;
    padding: 0 10px;
}

.admin-message {
    border-radius: 12px;
    font-weight: 800;
    margin-top: 14px;
    padding: 10px 12px;
}

.admin-table-wrap {
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
}

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

.admin-table th,
.admin-table td {
    border-bottom: 1px solid #eef2f7;
    color: #334155;
    font-size: 13px;
    padding: 10px 8px;
    text-align: left;
    vertical-align: middle;
}

.admin-table th:last-child,
.admin-table td:last-child {
    min-width: 168px;
}

.admin-table th {
    color: #64748b;
    font-weight: 900;
}

.admin-table td strong {
    color: #065f46;
    font-size: 16px;
    letter-spacing: 1px;
}

.admin-table .admin-title-cell {
    min-width: 240px;
}

.admin-table .admin-title-cell strong {
    color: #0f172a;
    display: block;
    font-size: 13px;
    letter-spacing: 0;
    line-height: 1.35;
    max-width: 320px;
}

.admin-table .admin-title-cell small {
    color: #94a3b8;
    display: block;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    margin-top: 4px;
    max-width: 320px;
}

.admin-table--verify {
    min-width: 900px;
}

.admin-table code {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    color: #475569;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 5px;
}

.admin-mini-stat {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #64748b;
    display: inline-flex;
    font-size: 11px;
    font-weight: 900;
    margin: 2px 3px 2px 0;
    padding: 2px 6px;
    white-space: nowrap;
}

.admin-mini-stat--ok {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #15803d;
}

.admin-mini-stat--warn {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #ea580c;
}

.admin-status {
    border-radius: 999px;
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    padding: 3px 8px;
}

.admin-status--active {
    background: #dcfce7;
    color: #15803d;
}

.admin-status--hidden,
.admin-status--expired {
    background: #f1f5f9;
    color: #64748b;
}

.admin-status--full {
    background: #fff7ed;
    color: #ea580c;
}

.admin-row-actions {
    align-items: center;
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 6px;
    justify-content: flex-start;
}

.admin-row-actions form {
    align-items: center;
    display: inline-flex;
    gap: 6px;
    margin: 0;
}

.admin-delete-form {
    background: transparent;
    border: 0;
    padding: 0;
}

.admin-ban-toggle {
    align-items: center;
    border-radius: 9px;
    cursor: pointer;
    display: inline-flex;
    flex-shrink: 0;
    height: 30px;
    justify-content: center;
    width: 52px;
    position: relative;
}

.admin-ban-toggle input {
    inset: 0;
    opacity: 0;
    position: absolute;
}

.admin-ban-toggle span {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    color: #64748b;
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    height: 30px;
    justify-content: center;
    letter-spacing: 0;
    width: 52px;
    padding: 0 6px;
    white-space: nowrap;
}

.admin-ban-toggle:hover span {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #ea580c;
}

.admin-ban-toggle input:checked + span {
    background: #dc2626;
    border-color: #dc2626;
    box-shadow: 0 6px 14px rgba(220, 38, 38, 0.16);
    color: #fff;
}

.admin-row-actions button {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    color: #334155;
    font-size: 12px;
    font-weight: 900;
    height: 30px;
    min-width: 52px;
    padding: 0 10px;
}

.admin-row-actions .admin-danger {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}

.admin-message--ok {
    background: #dcfce7;
    color: #166534;
}

.admin-message--error {
    background: #fee2e2;
    color: #991b1b;
}

.code-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}

.code-item {
    align-items: center;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    min-height: 64px;
    padding: 10px 11px;
}

.code-item strong {
    color: #065f46;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: 1px;
}

.code-item p {
    color: #94a3b8;
    font-weight: 800;
    margin-top: 3px;
}

.code-item p span {
    color: #cbd5e1;
    display: inline-block;
    margin: 0 5px;
}

.code-item button {
    align-items: center;
    background: #ffffff;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    color: var(--green-dark);
    display: inline-flex;
    flex-shrink: 0;
    font-weight: 900;
    gap: 4px;
    min-height: 36px;
    padding: 0 12px;
}

.code-item button svg {
    height: 14px;
    width: 14px;
}

.used-section {
    border-top: 1px solid #e2e8f0;
    margin-top: 12px;
    padding-top: 14px;
}

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

.used-head h2 {
    color: #ef4444;
    font-size: 19px;
    font-weight: 900;
}

.used-head h2 span {
    background: #fee2e2;
    border-radius: 999px;
    color: #ef4444;
    display: inline-block;
    font-size: 13px;
    margin-left: 4px;
    min-width: 24px;
    padding: 2px 8px;
    text-align: center;
}

.used-head p {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 800;
    margin-top: 3px;
}

.used-pill {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    color: #64748b;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 900;
    padding: 5px 10px;
}

.used-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.used-item {
    align-items: center;
    background: #fbfcfe;
    border: 1px solid #e2e8f0;
    border-radius: 11px;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    min-height: 56px;
    padding: 9px 10px;
}

.used-item strong {
    color: #4b5563;
    display: block;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 1.4px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.used-item p {
    color: #9ca3af;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    margin-top: 4px;
    overflow-wrap: anywhere;
}

.used-item p span {
    color: #d4d4d8;
    display: inline-block;
    margin: 0 5px;
}

.used-item button {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    color: #64748b;
    font-size: 13px;
    font-weight: 900;
    min-height: 30px;
    padding: 0 10px;
}

.used-item em {
    color: #22c55e;
    flex-shrink: 0;
    font-size: 13px;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
}

.used-empty {
    align-items: center;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    color: #64748b;
    display: flex;
    font-weight: 800;
    justify-content: center;
    min-height: 76px;
    padding: 18px;
    text-align: center;
}

.page-shell {
    padding-top: 10px;
}

.hero-panel {
    padding: 13px 14px 11px;
}

.hero-info-grid {
    gap: 8px;
    margin-top: 9px;
}

.quick-links {
    margin-top: 8px;
}

.quick-links a {
    padding: 8px;
}

.hero-note {
    margin-top: 7px;
}

.announcement {
    margin: 7px 0;
    min-height: 36px;
    padding: 5px 8px 5px 7px;
}

.submit-panel,
.promo-card,
.list-panel {
    margin-top: 7px;
    padding: 10px;
}

.submit-row {
    gap: 8px;
}

.notice-line {
    margin-top: 6px;
}

.promo-actions {
    gap: 7px;
    margin-top: 9px;
}

.activity-row {
    gap: 7px;
    margin-bottom: 7px;
}

.list-actions {
    gap: 7px;
    margin-top: 8px;
}

.code-list {
    gap: 7px;
    margin-top: 8px;
}

.empty-state {
    min-height: 96px;
    padding: 14px;
}

.used-section {
    margin-top: 10px;
    padding-top: 11px;
}

.used-head {
    margin-bottom: 8px;
}

.used-list {
    gap: 7px;
}

.empty-state {
    align-items: center;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    gap: 2px;
    justify-content: center;
    min-height: 82px;
    padding: 10px 12px;
    text-align: center;
}

.empty-state strong {
    color: #334155;
    font-size: 14px;
    line-height: 1.25;
}

.empty-state p {
    font-size: 12px;
    line-height: 1.25;
}

.page-footer {
    color: #94a3b8;
    display: flex;
    font-size: 12px;
    gap: 8px;
    justify-content: center;
    margin-top: 18px;
}

.page-footer span + span:before {
    content: "·";
    margin-right: 8px;
}

.float-menu {
    align-items: center;
    background: #ffffff;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    bottom: 22px;
    box-shadow: 0 12px 30px rgba(249, 115, 22, 0.18);
    color: #c2410c;
    display: flex;
    height: 54px;
    justify-content: center;
    position: fixed;
    right: 22px;
    width: 54px;
    z-index: 78;
}

.float-menu svg {
    fill: none;
    height: 26px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 26px;
}

.site-nav-modal {
    display: none;
    inset: 0;
    position: fixed;
    z-index: 92;
}

.site-nav-modal--open {
    display: block;
}

.site-nav-modal__backdrop {
    background: rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(3px);
    inset: 0;
    position: absolute;
}

.site-nav-sheet {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95)),
        radial-gradient(420px 260px at 14% 0%, rgba(255, 237, 213, 0.46), transparent 66%);
    border: 1px solid rgba(255, 255, 255, 0.88);
    border-radius: 22px;
    box-shadow:
        0 0 0 1px rgba(226, 232, 240, 0.62),
        0 22px 54px rgba(15, 23, 42, 0.16);
    left: 50%;
    max-width: 640px;
    padding: 18px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100vw - 160px);
}

.site-nav-sheet__head h2 {
    color: #1f2937;
    font-size: 18px;
    font-weight: 900;
    margin: 0 44px 14px 2px;
}

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

.site-nav-grid a {
    align-items: center;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    color: #1f2937;
    display: flex;
    justify-content: space-between;
    min-height: 52px;
    padding: 0 13px 0 15px;
    position: relative;
}

.site-nav-grid a:hover,
.site-nav-grid a.is-active {
    background: rgba(255, 237, 213, 0.62);
    border-color: #fdba74;
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.10);
}

.site-nav-grid strong {
    font-size: 16px;
    font-weight: 900;
    line-height: 1.1;
    padding-right: 8px;
}

.site-nav-grid span {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.94));
    border: 1px solid rgba(203, 213, 225, 0.74);
    border-radius: 999px;
    color: #475569;
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    padding: 3px 6px;
    position: static;
    transform: none;
}

.site-nav-grid a.is-active span {
    background: linear-gradient(180deg, #fff7ed, #ffedd5);
    border-color: #fdba74;
    color: #c2410c;
}

.nav-page-shell {
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 32px 14px;
}

.nav-placeholder {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.92)),
        linear-gradient(120deg, rgba(219, 234, 254, 0.68), rgba(255, 237, 213, 0.48));
    border: 1px solid rgba(226, 232, 240, 0.86);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
    padding: 28px 24px;
    text-align: center;
    width: 100%;
}

.nav-placeholder > span {
    background: #ffedd5;
    border: 1px solid #fdba74;
    border-radius: 999px;
    color: #c2410c;
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 12px;
    padding: 4px 10px;
}

.nav-placeholder h1 {
    color: #1f2937;
    font-size: 24px;
    font-weight: 900;
}

.nav-placeholder p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 10px;
}

.nav-placeholder a {
    background: linear-gradient(135deg, #f97316, #fb923c);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 14px;
    font-weight: 900;
    margin-top: 20px;
    padding: 10px 18px;
}

.pin-body {
    background:
        radial-gradient(680px 380px at 12% -8%, rgba(120, 170, 255, 0.32), transparent 60%) fixed,
        radial-gradient(680px 420px at 92% 8%, rgba(255, 170, 200, 0.26), transparent 60%) fixed,
        linear-gradient(180deg, #f5f6fa 0%, #eceef3 100%) fixed;
}

.pin-shell {
    margin: 0 auto;
    max-width: 440px;
    min-height: 100vh;
    padding: 10px 12px 28px;
}

.pin-mobile-top {
    display: none;
}

.pin-hero-panel {
    margin-bottom: 6px;
}

.pin-team-stat {
    border-right-color: #dbeee5;
}

.pin-hero-panel .hero-info-grid {
    align-items: center;
    grid-auto-rows: 56px;
}

.pin-hero-panel .people-stat,
.pin-hero-panel .help-row {
    min-height: 56px;
}

.pin-hero-panel .people-stat {
    align-items: center;
    flex-direction: column;
    gap: 2px;
    justify-content: center;
    padding: 0 10px;
}

.pin-hero-panel .people-stat span {
    line-height: 1.15;
}

.pin-hero-panel .people-stat__value {
    margin-top: 0;
}

.pin-hero-panel .people-stat strong {
    font-size: 21px;
    line-height: 1;
}

.pin-hero-panel .people-stat em {
    transform: translateY(1px);
}

.pin-quick-links {
    background: linear-gradient(100deg, #f0fdf4, #fff 50%, #dcfce7);
    border-color: #bbf7d0;
    grid-template-columns: repeat(3, 1fr);
}

.pin-quick-links button {
    color: #166534;
}

.pin-quick-links button + button {
    border-left-color: #bbf7d0;
}

.pin-quick-links .quick-chev {
    color: #16a34a;
}

.pin-related-links {
    background:
        linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(255, 240, 219, 0.78)),
        radial-gradient(circle at 12% 0%, rgba(251, 146, 60, 0.12), transparent 38%);
    border: 1px solid rgba(251, 146, 60, 0.44);
    border-radius: 16px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 4px 12px rgba(251, 146, 60, 0.07);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 7px;
    overflow: hidden;
}

.pin-related-links a {
    align-items: center;
    color: #9a3412;
    display: flex;
    gap: 7px;
    justify-content: flex-start;
    min-height: 40px;
    padding: 0 11px;
}

.pin-related-links a + a {
    border-left: 1px solid rgba(251, 146, 60, 0.34);
}

.pin-related-copy {
    display: flex;
    flex-direction: column;
    gap: 0;
    justify-content: center;
    min-width: 0;
}

.pin-related-copy strong {
    color: #9a3412;
    font-size: 13.5px;
    font-weight: 950;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pin-related-copy small {
    color: #c56c34;
    font-size: 10px;
    font-weight: 850;
    line-height: 1;
}

.pin-related-links em {
    color: #c2410c;
    font-size: 18px;
    font-style: normal;
    font-weight: 950;
    line-height: 1;
}

.pin-related-icon {
    align-items: center;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.96);
    border-radius: 12px;
    display: inline-flex;
    flex-shrink: 0;
    height: 26px;
    justify-content: center;
    overflow: hidden;
    padding: 2px;
    width: 26px;
}

.pin-related-icon img {
    border-radius: 9px;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.pin-related-icon--stack {
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
    padding: 0;
    position: relative;
    width: 34px;
}

.pin-related-icon--stack img {
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    box-shadow: 0 4px 8px rgba(154, 52, 18, 0.10);
    height: 24px;
    padding: 1px;
    width: 24px;
}

.pin-related-icon--stack img + img {
    margin-left: -11px;
}

.pin-related-icon--takeaway {
    box-shadow: 0 6px 12px rgba(239, 68, 68, 0.14);
}

.pin-related-icon--coin {
    box-shadow: 0 6px 12px rgba(245, 158, 11, 0.14);
}

.pin-tool-note {
    color: #64748b;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.25;
    margin-top: 6px;
    text-align: center;
}

.pin-top-card,
.pin-submit-card,
.pin-toolbar,
.pin-list-wrap {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.055);
    margin-bottom: 6px;
}

.pin-top-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.94)),
        radial-gradient(circle at 100% 0%, rgba(34, 197, 94, 0.13), transparent 38%);
    padding: 16px 16px 13px;
}

.pin-topbar__row {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.pin-topbar__row h1 {
    color: var(--ink);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.2;
}

.pin-top-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: flex-end;
}

.pin-top-actions button,
.pin-tabs button,
.pin-refresh,
.pin-deal__quiet button,
.pin-deal__publisher button {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 999px;
    color: #475569;
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    min-height: 28px;
    padding: 0 9px;
}

.pin-top-actions button:hover,
.pin-tabs button:hover,
.pin-refresh:hover {
    background: #f8fffb;
    border-color: #bbf7d0;
}

.pin-notice {
    align-items: center;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.96)),
        linear-gradient(90deg, rgba(220,252,231,0.72), rgba(255,247,237,0.52));
    border: 1px solid rgba(187, 247, 208, 0.88);
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.055);
    color: #334155;
    display: flex;
    font-size: 13px;
    font-weight: 800;
    gap: 9px;
    line-height: 1.4;
    margin: 6px 0;
    min-height: 38px;
    overflow: hidden;
    padding: 6px 9px 6px 8px;
    width: 100%;
}

.pin-notice strong {
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    color: #16a34a;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 950;
    padding: 4px 10px;
}

.pin-notice span {
    font-size: 13px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pin-notice em {
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #94a3b8;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 17px;
    font-style: normal;
    font-weight: 900;
    height: 24px;
    justify-content: center;
    line-height: 1;
    width: 24px;
}

.pin-submit-card {
    background: transparent;
    border: 0;
    box-shadow: none;
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.pin-submit-card form,
.pin-form-main {
    display: grid;
    gap: 8px;
}

.pin-submit-card input,
.pin-submit-card select,
.pin-submit-card textarea,
.pin-search input {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: #172033;
    font-size: 14px;
    font-weight: 800;
    min-height: 44px;
    outline: none;
    padding: 0 12px;
    width: 100%;
}

.pin-submit-card textarea {
    background:
        linear-gradient(180deg, #ffffff, #fbfefd);
    border-color: rgba(187, 247, 208, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.55;
    min-height: 132px;
    padding: 13px 14px;
    resize: none;
}

.pin-submit-card input:focus,
.pin-submit-card select:focus,
.pin-submit-card textarea:focus,
.pin-search input:focus {
    border-color: #4ade80;
    box-shadow:
        0 0 0 3px rgba(34, 197, 94, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.pin-form-grid {
    display: grid;
    gap: 0;
    grid-template-columns: 1fr;
}

.pin-form-grid button {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border: 0;
    border-radius: 14px;
    box-shadow:
        0 10px 22px rgba(34, 197, 94, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 15px;
    font-weight: 950;
    grid-column: 1 / -1;
    min-height: 46px;
    white-space: nowrap;
}

.pin-toolbar {
    padding: 10px;
}

.pin-tabs-row {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    margin-top: 6px;
}

.pin-tabs {
    display: flex;
    gap: 6px;
}

.pin-tabs button.is-active {
    background: #dcfce7;
    border-color: #bbf7d0;
    color: #15803d;
}

.pin-refresh {
    cursor: pointer;
    gap: 4px;
    min-width: 94px;
    padding: 0 10px;
    white-space: nowrap;
}

.pin-refresh:disabled {
    cursor: default;
    opacity: 1;
}

.pin-refresh span {
    color: #64748b;
    font-variant-numeric: tabular-nums;
    font-weight: 950;
    letter-spacing: 0;
}

.pin-refresh em {
    color: #94a3b8;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
}

.pin-refresh--ready {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #16a34a;
}

.pin-refresh--ready span {
    color: #16a34a;
}

.pin-refresh--ready em {
    color: #16a34a;
}

.pin-list-wrap {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 253, 250, 0.95));
    border-color: rgba(226, 232, 240, 0.88);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.045);
    padding: 12px;
}

.pin-list-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 9px;
}

.pin-list-head h2 {
    color: #0f172a;
    font-size: 18px;
    font-weight: 950;
    letter-spacing: 0;
}

.pin-list-head h2 span {
    background: #dcfce7;
    border-radius: 999px;
    color: #16a34a;
    display: inline-flex;
    font-size: 11px;
    justify-content: center;
    margin-left: 4px;
    min-width: 20px;
    padding: 2px 7px;
}

.pin-list-head p {
    color: #7c8da5;
    font-size: 12px;
    font-weight: 750;
    margin-top: 2px;
}

.pin-list-head > span {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #64748b;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 900;
    padding: 5px 9px;
}

.pin-list {
    display: grid;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.pin-deal {
    background:
        linear-gradient(180deg, #ffffff, #fbfefd);
    border: 1px solid rgba(187, 247, 208, 0.76);
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    display: grid;
    gap: 10px;
    grid-template-columns: 76px minmax(0, 1fr);
    padding: 9px;
}

.pin-deal--closed {
    opacity: 0.68;
}

.pin-deal__thumb {
    align-items: center;
    background:
        linear-gradient(180deg, rgba(220, 252, 231, 0.94), rgba(240, 253, 244, 0.86));
    border: 1px solid rgba(187, 247, 208, 0.82);
    border-radius: 13px;
    color: #16a34a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 112px;
}

.pin-deal__thumb span {
    font-size: 28px;
    font-weight: 950;
    line-height: 1;
}

.pin-deal__thumb em {
    color: #64748b;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
    margin-top: 4px;
}

.pin-deal__info {
    min-width: 0;
}

.pin-deal__top,
.pin-deal__publisher,
.pin-deal__quiet {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pin-deal__top {
    justify-content: space-between;
}

.pin-deal__top span {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    color: #15803d;
    font-size: 11px;
    font-weight: 950;
    padding: 2px 7px;
}

.pin-deal__top em,
.pin-deal__publisher span,
.pin-deal__quiet span {
    color: #94a3b8;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
}

.pin-deal__publisher {
    margin-top: 5px;
}

.pin-deal__publisher strong {
    color: #334155;
    font-size: 12px;
    font-weight: 950;
}

.pin-deal h3 {
    color: #172033;
    font-size: 15px;
    font-weight: 950;
    line-height: 1.32;
    margin-top: 7px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pin-deal__cta {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    margin-top: 9px;
}

.pin-deal__cta span {
    color: #16a34a;
    display: block;
    font-size: 11px;
    font-weight: 900;
}

.pin-deal__cta strong {
    color: #15803d;
    font-size: 19px;
    font-weight: 950;
}

.pin-deal__cta button {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    border: 0;
    border-radius: 999px;
    color: #fff;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 950;
    min-height: 34px;
    padding: 0 16px;
}

.pin-deal__cta button:disabled,
.pin-deal__quiet button:disabled {
    cursor: default;
    opacity: 0.48;
}

.pin-deal__quiet {
    gap: 6px;
    margin-top: 9px;
}

.pin-deal__quiet button {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #64748b;
    min-height: 28px;
    padding: 0 9px;
}

.pin-empty {
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 900;
    padding: 28px 12px;
    text-align: center;
}

.pin-deal {
    align-items: center;
    background:
        linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 12px 13px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    width: 100%;
}

.pin-deal:hover {
    border-color: rgba(34, 197, 94, 0.28);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.055);
    transform: translateY(-1px);
}

.pin-deal__thumb {
    display: none;
}

.pin-deal__line {
    align-items: center;
    display: grid;
    gap: 9px;
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.pin-deal__group {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    color: #16a34a;
    font-size: 11px;
    font-weight: 950;
    padding: 4px 8px;
    white-space: nowrap;
}

.pin-deal h3 {
    color: #172033;
    font-size: 15.5px;
    font-weight: 950;
    line-height: 1.25;
    margin: 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pin-deal__price {
    color: #db2777;
    font-size: 14px;
    font-weight: 950;
    white-space: nowrap;
}

.pin-deal__meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 9px;
    margin-top: 6px;
}

.pin-deal__meta span {
    color: #8da0b8;
    font-size: 11.5px;
    font-weight: 800;
}

.pin-deal__meta span:first-child {
    color: #16a34a;
}

.pin-deal__meta .pin-status--maybe {
    color: #f97316;
}

.pin-deal__join {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    min-height: 36px;
    padding: 0 17px;
    white-space: nowrap;
}

.pin-deal__join:disabled {
    cursor: default;
    opacity: 0.48;
}

.pin-deal__quiet {
    gap: 6px;
    margin-top: 9px;
}

.pin-deal__quiet button {
    background: #f8fafc;
    border-color: #e2e8f0;
    border-radius: 999px;
    color: #64748b;
    font-size: 12px;
    min-height: 28px;
    padding: 0 10px;
}

.pin-deal__owner {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 7px;
}

.pin-deal__owner span {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(187, 247, 208, 0.88);
    border-radius: 999px;
    color: #16a34a;
    font-size: 11px;
    font-weight: 950;
    padding: 3px 8px;
}

.pin-deal__owner button {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.96);
    border-radius: 999px;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    min-height: 28px;
    padding: 0 10px;
}

.pin-deal__owner button[data-reset-full] {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #ea580c;
}

.pin-deal__owner button[data-delete-team] {
    color: #ef4444;
}

.pin-modal {
    display: none;
    inset: 0;
    position: fixed;
    z-index: 96;
}

.pin-modal--open {
    display: block;
}

.pin-modal__backdrop {
    background: rgba(15, 23, 42, 0.26);
    backdrop-filter: blur(3px);
    inset: 0;
    position: absolute;
}

.pin-info-sheet {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 255, 255, 0.96)),
        radial-gradient(circle at 100% 0%, rgba(34, 197, 94, 0.10), transparent 40%);
    border: 1px solid rgba(187, 247, 208, 0.88);
    border-radius: 20px;
    box-shadow:
        0 24px 56px rgba(15, 23, 42, 0.16),
        0 0 0 1px rgba(255, 255, 255, 0.72) inset;
    left: 50%;
    max-width: 408px;
    padding: 18px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100vw - 32px);
}

.pin-submit-sheet {
    max-width: 408px;
}

.pin-join-sheet {
    background:
        linear-gradient(180deg, rgba(239, 249, 255, 0.98), rgba(219, 239, 255, 0.96)),
        radial-gradient(circle at 100% 0%, rgba(14, 165, 233, 0.14), transparent 42%);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow:
        0 26px 72px rgba(15, 23, 42, 0.22),
        0 0 0 2px rgba(59, 130, 246, 0.72);
    max-width: 456px;
    padding: 18px;
}

.pin-join-close {
    align-items: center;
    background: transparent;
    color: #7aa0c8;
    display: inline-flex;
    font-size: 28px;
    font-weight: 400;
    height: 34px;
    justify-content: center;
    position: absolute;
    right: 12px;
    top: 10px;
    width: 34px;
}

.pin-join-head {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin: 2px 34px 14px 0;
}

.pin-join-kicker {
    color: #0f3b66;
    display: block;
    font-size: 15px;
    font-weight: 950;
    margin-bottom: 8px;
}

.pin-join-head h2 {
    color: #0f2947;
    font-size: 20px;
    font-weight: 950;
    line-height: 1.28;
    margin: 0;
}

.pin-join-group {
    background: #fce7f3;
    border: 1px solid #fbcfe8;
    border-radius: 8px;
    color: #db2777;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 950;
    padding: 5px 8px;
}

.pin-join-price-row {
    align-items: baseline;
    border-bottom: 1px solid rgba(125, 166, 209, 0.34);
    display: grid;
    gap: 10px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 4px 0 14px;
}

.pin-join-price-row span {
    color: #587da4;
    font-size: 13px;
    font-weight: 950;
}

.pin-join-price-row strong {
    color: #db2777;
    font-size: 30px;
    font-weight: 950;
    line-height: 1;
}

.pin-join-price-row em {
    color: #587da4;
    font-size: 13px;
    font-style: normal;
    font-weight: 900;
}

.pin-command-box {
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(125, 166, 209, 0.3);
    border-radius: 13px;
    margin-top: 12px;
    padding: 12px;
}

.pin-command-box span {
    color: #6d91b6;
    display: block;
    font-size: 12px;
    font-weight: 950;
    margin-bottom: 8px;
}

.pin-command-box p {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(125, 166, 209, 0.2);
    border-radius: 10px;
    color: #6a8db0;
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.45;
    max-height: 88px;
    overflow: auto;
    padding: 10px;
    user-select: text;
    -webkit-user-select: text;
}

.pin-join-primary {
    background: linear-gradient(135deg, #ec4899, #db2777);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 14px 28px rgba(219, 39, 119, 0.22);
    color: #fff;
    font-size: 16px;
    font-weight: 950;
    margin-top: 16px;
    min-height: 52px;
    width: 100%;
}

.pin-join-count {
    background: rgba(255, 255, 255, 0.38);
    border: 1px solid rgba(125, 166, 209, 0.28);
    border-radius: 10px;
    color: #6a8db0;
    font-size: 12px;
    font-weight: 900;
    margin-top: 12px;
    padding: 9px;
    text-align: center;
}

.pin-join-publish {
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(219, 39, 119, 0.4);
    border-radius: 999px;
    color: #db2777;
    font-size: 15px;
    font-weight: 950;
    margin-top: 14px;
    min-height: 44px;
    width: 100%;
}

.pin-similar {
    margin-top: 16px;
}

.pin-similar h3 {
    color: #365f8b;
    font-size: 13px;
    font-weight: 950;
    margin-bottom: 8px;
}

.pin-similar-list {
    display: grid;
    gap: 7px;
}

.pin-similar-list button {
    align-items: center;
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(125, 166, 209, 0.24);
    border-radius: 10px;
    display: grid;
    gap: 8px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 38px;
    padding: 0 9px;
    text-align: left;
}

.pin-similar-list span {
    background: #fce7f3;
    border-radius: 6px;
    color: #db2777;
    font-size: 11px;
    font-weight: 950;
    padding: 3px 6px;
}

.pin-similar-list strong {
    color: #274d75;
    font-size: 12px;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pin-similar-list em {
    color: #db2777;
    font-size: 12px;
    font-style: normal;
    font-weight: 950;
}

.pin-similar-empty {
    color: #7c9abd;
    font-size: 12px;
    font-weight: 850;
}

.pin-publish-fab {
    align-items: center;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 46%),
        linear-gradient(135deg, #22c55e, #16a34a 58%, #15803d);
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 999px;
    bottom: max(18px, env(safe-area-inset-bottom));
    box-shadow:
        0 14px 28px rgba(22, 163, 74, 0.22),
        0 5px 12px rgba(21, 128, 61, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);
    color: #fff;
    display: inline-flex;
    font-size: 14px;
    font-weight: 950;
    gap: 8px;
    height: 44px;
    justify-content: center;
    left: 50%;
    min-width: 118px;
    overflow: hidden;
    padding: 0 18px 0 15px;
    position: fixed;
    text-shadow: 0 1px 0 rgba(15, 23, 42, 0.12);
    transform: translateX(-50%);
    transition: box-shadow 0.18s ease, transform 0.18s ease, filter 0.18s ease;
    z-index: 30;
}

.pin-publish-fab::before,
.pin-publish-fab::after {
    content: "";
    pointer-events: none;
    position: absolute;
}

.pin-publish-fab::before {
    background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.38) 42%, transparent 70%);
    height: 100%;
    left: -46%;
    top: 0;
    transform: skewX(-18deg);
    width: 38%;
}

.pin-publish-fab::after {
    background: rgba(255, 255, 255, 0.18);
    border-radius: inherit;
    inset: 0;
    opacity: 0;
    transform: scale(0.84);
}

.pin-publish-fab > span,
.pin-publish-fab {
    -webkit-tap-highlight-color: transparent;
}

.pin-publish-fab > span {
    position: relative;
    z-index: 1;
}

.pin-publish-fab .pin-publish-plus {
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    box-shadow: inset 0 -1px 0 rgba(22, 163, 74, 0.12);
    color: #16a34a;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 17px;
    font-weight: 950;
    height: 22px;
    justify-content: center;
    line-height: 1;
    width: 22px;
}

.pin-publish-fab .pin-publish-plus::before {
    content: "+";
}

.pin-publish-fab:hover {
    box-shadow:
        0 18px 36px rgba(22, 163, 74, 0.28),
        0 7px 16px rgba(21, 128, 61, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);
    filter: saturate(1.04);
    transform: translateX(-50%) translateY(-1px);
}

.pin-publish-fab:hover::before {
    animation: publishShine 1.4s ease;
}

.pin-publish-fab:active {
    box-shadow:
        0 9px 18px rgba(22, 163, 74, 0.18),
        0 3px 8px rgba(21, 128, 61, 0.12),
        inset 0 2px 4px rgba(15, 23, 42, 0.08);
    transform: translateX(-50%) translateY(1px) scale(0.975);
}

.pin-publish-fab:active::after {
    animation: publishRipple 0.42s ease-out;
}

@keyframes publishShine {
    from {
        left: -46%;
    }

    to {
        left: 118%;
    }
}

@keyframes publishRipple {
    0% {
        opacity: 0.28;
        transform: scale(0.78);
    }

    100% {
        opacity: 0;
        transform: scale(1.12);
    }
}

@media (min-width: 761px) {
    .pin-publish-fab {
        height: 40px;
        min-width: 108px;
        padding: 0 15px 0 13px;
    }

    .pin-publish-fab .pin-publish-plus {
        font-size: 15px;
        height: 20px;
        width: 20px;
    }
}

.pin-info-sheet header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
}

.pin-info-sheet h2 {
    color: var(--ink);
    font-size: 21px;
    font-weight: 900;
    letter-spacing: 0;
}

.pin-info-sheet header button {
    align-items: center;
    background:
        linear-gradient(180deg, #ffffff, #f8fafc);
    border: 1px solid rgba(203, 213, 225, 0.76);
    border-radius: 999px;
    color: #64748b;
    display: inline-flex;
    font-size: 18px;
    font-weight: 800;
    height: 32px;
    justify-content: center;
    line-height: 1;
    width: 32px;
}

.pin-submit-sheet .pin-form-grid button {
    align-items: center;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    border: 0;
    border-radius: 14px;
    box-shadow:
        0 10px 22px rgba(34, 197, 94, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    color: #fff;
    display: inline-flex;
    font-size: 15px;
    font-weight: 950;
    grid-column: 1 / -1;
    justify-content: center;
    min-height: 46px;
    width: 100%;
    white-space: nowrap;
}

.pin-info-sheet p {
    color: #64748b;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.7;
}

.pin-footer {
    margin-top: 14px;
}

.site-nav-empty {
    color: #64748b;
    font-size: 14px;
    font-weight: 800;
    grid-column: 1 / -1;
    padding: 18px 0;
    text-align: center;
}

.site-nav-close {
    align-items: center;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 999px;
    bottom: auto;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    color: #475569;
    display: flex;
    font-size: 24px;
    font-weight: 300;
    height: 34px;
    justify-content: center;
    left: auto;
    line-height: 1;
    position: absolute;
    right: 14px;
    top: 12px;
    transform: none;
    width: 34px;
}

.help-modal {
    display: none;
    inset: 0;
    position: fixed;
    z-index: 88;
}

.help-modal--open {
    display: block;
}

.help-modal__backdrop {
    background: rgba(15, 23, 42, 0.42);
    inset: 0;
    position: absolute;
}

.help-sheet {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    box-shadow: 0 26px 68px rgba(15, 23, 42, 0.24);
    left: 50%;
    max-width: 360px;
    overflow: hidden;
    padding-bottom: 18px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100vw - 36px);
}

.help-sheet__head {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    padding: 18px 18px 12px;
}

.help-sheet__head h2 {
    color: #0f172a;
    font-size: 19px;
}

.help-sheet__head p,
.help-sheet__tip {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.help-sheet__head p {
    margin-top: 4px;
}

.help-sheet__head button {
    background: #f1f5f9;
    border-radius: 999px;
    color: #64748b;
    font-size: 20px;
    height: 30px;
    line-height: 1;
    width: 30px;
}

.help-qr {
    background:
        linear-gradient(180deg, rgba(240,253,244,0.88), rgba(255,255,255,0.96));
    border: 1px solid #bbf7d0;
    border-radius: 16px;
    margin: 0 18px;
    padding: 14px;
    text-align: center;
}

.help-qr img {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: block;
    height: auto;
    margin: 0 auto;
    max-height: 260px;
    max-width: 100%;
    object-fit: contain;
    width: 240px;
}

.help-sheet__tip {
    line-height: 1.55;
    margin: 12px 22px 0;
    text-align: center;
}

.captcha-modal {
    display: none;
    inset: 0;
    position: fixed;
    z-index: 95;
}

.captcha-modal--open {
    display: block;
}

.captcha-modal__backdrop {
    background: rgba(15, 23, 42, 0.46);
    inset: 0;
    position: absolute;
}

.captcha-sheet {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.24);
    left: 50%;
    max-width: 386px;
    padding: 28px 24px 22px;
    position: absolute;
    text-align: center;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100vw - 34px);
}

.captcha-sheet__close {
    align-items: center;
    background: #f1f5f9;
    border-radius: 999px;
    color: #64748b;
    display: flex;
    font-size: 20px;
    height: 30px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: 14px;
    top: 14px;
    width: 30px;
}

.captcha-shield {
    align-items: center;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    border-radius: 18px;
    color: #16a34a;
    display: inline-flex;
    height: 58px;
    justify-content: center;
    margin-bottom: 14px;
    width: 58px;
}

.captcha-shield svg {
    height: 38px;
    width: 38px;
}

.captcha-shield path {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
}

.captcha-sheet h2 {
    color: #0f172a;
    font-size: 21px;
    line-height: 1.25;
}

.captcha-sheet p {
    color: #64748b;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.65;
    margin: 8px auto 0;
    max-width: 300px;
}

.captcha-note {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    color: #15803d;
    font-size: 13px;
    font-weight: 900;
    margin: 16px 0 14px;
    padding: 10px 12px;
}

.captcha-primary,
.captcha-secondary {
    border-radius: 12px;
    font-size: 15px;
    font-weight: 900;
    min-height: 44px;
    width: 100%;
}

.captcha-primary {
    background: var(--green);
    box-shadow: 0 12px 26px rgba(34, 197, 94, 0.24);
    color: #fff;
}

.captcha-secondary {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    margin-top: 8px;
}

.captcha-sheet .captcha-foot {
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.4;
    margin-top: 12px;
}

.record-modal {
    display: none;
    inset: 0;
    position: fixed;
    z-index: 80;
}

.record-modal--open {
    display: block;
}

.record-modal__backdrop {
    background: rgba(15, 23, 42, 0.38);
    inset: 0;
    position: absolute;
}

.record-sheet {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
    left: 50%;
    max-height: min(74vh, 620px);
    max-width: 420px;
    overflow: hidden;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100vw - 32px);
}

.record-sheet__head {
    align-items: flex-start;
    border-bottom: 1px solid #eef2f7;
    display: flex;
    justify-content: space-between;
    padding: 16px 16px 12px;
}

.record-sheet__head h2 {
    color: #0f172a;
    font-size: 18px;
}

.record-sheet__head p {
    color: var(--muted);
    font-size: 12px;
    margin-top: 3px;
}

.record-sheet__head button {
    background: #f1f5f9;
    border-radius: 999px;
    color: #64748b;
    font-size: 20px;
    height: 30px;
    line-height: 1;
    width: 30px;
}

.record-stats {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr 1fr;
    padding: 12px 16px;
}

.record-stats div {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 12px;
}

.record-stats span {
    color: var(--muted);
    display: block;
    font-size: 12px;
    font-weight: 800;
}

.record-stats strong {
    color: var(--green-dark);
    display: block;
    font-size: 24px;
    line-height: 1.2;
    margin-top: 2px;
}

.record-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    margin: 0;
    max-height: 360px;
    overflow-y: auto;
    padding: 0 16px 16px;
}

.record-list li {
    align-items: flex-start;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    padding: 10px 12px;
}

.record-item--submit {
    background: #fff7ed !important;
    border-color: #fed7aa !important;
}

.record-item--claim {
    background: #f0fdf4 !important;
    border-color: #bbf7d0 !important;
}

.record-item__main {
    min-width: 0;
}

.record-type {
    align-items: center;
    border-radius: 999px;
    display: inline-flex !important;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 5px;
    padding: 4px 8px;
}

.record-item--submit .record-type {
    background: #ffedd5;
    color: #c2410c;
}

.record-item--claim .record-type {
    background: #dcfce7;
    color: #15803d;
}

.record-list strong {
    color: #065f46;
    display: block;
    font-size: 16px;
    letter-spacing: 1px;
    overflow-wrap: anywhere;
}

.record-list span,
.record-list time {
    color: #64748b;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.record-list time {
    flex-shrink: 0;
    max-width: 128px;
    text-align: right;
}

.record-empty {
    color: #64748b;
    justify-content: center !important;
    min-height: 68px;
    text-align: center;
}

.toast {
    background: rgba(15, 23, 42, 0.92);
    border-radius: 999px;
    bottom: 22px;
    color: #ffffff;
    left: 50%;
    max-width: calc(100vw - 32px);
    opacity: 0;
    padding: 10px 16px;
    pointer-events: none;
    position: fixed;
    text-align: center;
    transform: translate(-50%, 12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    white-space: normal;
    z-index: 140;
}

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

@media (max-width: 760px) {
    .admin-shell {
        padding: 14px 10px;
    }

    .admin-dashboard {
        display: grid;
        gap: 12px;
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .admin-top {
        align-items: flex-start;
        border-radius: 14px;
        flex-direction: column;
        gap: 12px;
        grid-column: 1;
        padding: 14px;
    }

    .admin-top nav {
        width: 100%;
    }

    .admin-top a {
        flex: 1;
        justify-content: center;
    }

    .admin-workspace {
        display: contents;
    }

    .admin-side {
        display: flex;
        gap: 8px;
        grid-column: 1;
        grid-row: auto;
        overflow-x: auto;
        padding: 8px;
        position: static;
    }

    .admin-content,
    .admin-dashboard > .admin-message {
        grid-column: 1;
    }

    .admin-side button {
        flex: 0 0 136px;
        padding: 10px;
    }

    .admin-side button.is-active {
        box-shadow: inset 0 -3px 0 var(--green);
    }

    .admin-section-head {
        align-items: flex-start;
        border-radius: 14px;
        flex-direction: column;
        gap: 8px;
        padding: 14px;
    }

    .admin-panel-grid,
    .admin-stat-grid,
    .admin-form--grid {
        grid-template-columns: 1fr;
    }

    .admin-log-list div {
        grid-template-columns: 1fr;
    }

    .admin-blacklist div {
        grid-template-columns: 1fr;
    }

    .desktop-nav {
        display: none;
    }

    .page-shell {
        max-width: 390px;
        min-height: 100vh;
        padding: 8px 10px 20px;
    }

    .hero-panel,
    .submit-panel,
    .promo-card,
    .list-panel {
        border-radius: 13px;
        box-shadow: 0 6px 16px rgba(15, 23, 42, 0.045);
    }

    .hero-panel {
        padding: 11px 12px 10px;
    }

    .topbar {
        align-items: center;
        background: rgba(255, 255, 255, 0.94);
        border-bottom: 1px solid rgba(229, 231, 235, 0.78);
        box-shadow: 0 3px 12px rgba(15, 23, 42, 0.026);
        display: flex;
        height: 56px;
        justify-content: space-between;
        margin: -8px -10px 10px;
        padding: 0 12px;
        position: sticky;
        top: 0;
        z-index: 25;
    }

    .site-nav-modal {
        z-index: 100;
    }

    .site-nav-modal__backdrop {
        background: rgba(15, 23, 42, 0.08);
        backdrop-filter: blur(2px);
    }

    .site-nav-sheet {
        background:
            linear-gradient(180deg, #ffffff 0%, rgba(255, 247, 237, 0.95) 56%, #f8fafc 100%);
        border: 1px solid rgba(255, 255, 255, 0.92);
        border-radius: 28px;
        box-shadow:
            0 0 0 2px rgba(255, 255, 255, 0.80),
            0 20px 50px -12px rgba(15, 23, 42, 0.18);
        left: 50%;
        max-height: calc(100vh - 82px);
        max-width: 406px;
        overflow-y: auto;
        padding: 12px;
        top: 64px;
        transform: translateX(-50%);
        width: calc(100vw - 24px);
    }

    .site-nav-sheet__head h2 {
        color: #334155;
        font-size: 16px;
        margin: 3px 44px 12px 2px;
    }

    .site-nav-grid {
        gap: 8px 10px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-nav-grid a {
        align-items: center;
        background: rgba(255, 255, 255, 0.76);
        border: 1px solid rgba(226, 232, 240, 0.95);
        border-radius: 16px;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
        display: flex;
        justify-content: space-between;
        min-height: 46px;
        padding: 0 11px 0 13px;
    }

    .site-nav-grid a.is-active {
        background: rgba(255, 237, 213, 0.68);
        border-color: #fdba74;
        box-shadow: 0 6px 16px rgba(249, 115, 22, 0.12);
    }

    .site-nav-grid strong {
        font-size: 14px;
        line-height: 1.1;
        padding-right: 6px;
    }

    .site-nav-grid span {
        font-size: 10px;
        padding: 3px 6px;
        position: static;
        transform: none;
    }

    .site-nav-close {
        background: rgba(255, 255, 255, 0.96);
        bottom: auto;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
        font-size: 24px;
        height: 34px;
        left: auto;
        position: absolute;
        right: 12px;
        top: 10px;
        transform: none;
        width: 34px;
    }

    .brand-lockup {
        align-items: center;
        display: grid;
        gap: 8px;
        grid-template-columns: 38px minmax(0, 1fr) 38px;
        width: 100%;
    }

    .brand-mark {
        align-items: center;
        background: transparent;
        border-radius: 10px;
        box-shadow: 0 8px 18px rgba(249, 115, 22, 0.12);
        display: flex;
        height: 38px;
        justify-content: center;
        overflow: hidden;
        width: 38px;
    }

    .brand-mark img {
        display: block;
        height: 100%;
        object-fit: cover;
        width: 100%;
    }

    .eyebrow {
        color: #94a3b8;
        font-size: 12px;
        font-weight: 800;
        margin-top: 3px;
        text-align: center;
    }

    .brand-lockup h1 {
        color: #101828;
        font-size: 20px;
        font-weight: 950;
        line-height: 1;
        text-align: center;
    }

    .title-line {
        gap: 4px;
    }

    .title-line h2 {
        font-size: 19px;
    }

    .badge {
        font-size: 10px;
        padding: 1px 6px;
    }

    .hero-info-grid {
        gap: 6px;
        margin-top: 7px;
    }

    .people-stat,
    .help-row {
        min-height: 46px;
    }

    .pin-hero-panel .hero-info-grid {
        grid-auto-rows: 48px;
    }

    .pin-hero-panel .people-stat,
    .pin-hero-panel .help-row {
        min-height: 48px;
    }

    .pin-hero-panel .people-stat {
        gap: 2px;
        padding: 0 7px;
    }

    .people-stat {
        border-radius: 9px 0 0 9px;
        padding: 0 7px;
    }

    .people-stat span,
    .help-row em,
    .promo-card p,
    .section-head p,
    .used-head p {
        font-size: 11px;
    }

    .people-stat strong {
        font-size: 21px;
    }

    .help-row {
        border-radius: 9px;
        gap: 6px;
        padding: 0 7px;
    }

    .help-row__icon {
        height: 22px;
        width: 22px;
    }

    .help-row__icon svg {
        height: 18px;
        width: 18px;
    }

    .help-row strong {
        font-size: 12px;
    }

    .quick-links {
        border-radius: 12px;
        margin-top: 7px;
    }

    .quick-links a {
        font-size: 12px;
        min-height: 34px;
        padding: 7px 6px;
    }

    .hero-note {
        font-size: 11px;
        margin-top: 6px;
    }

    .announcement {
        gap: 7px;
        margin: 6px 0;
        min-height: 34px;
        padding: 4px 7px 4px 6px;
    }

    .announcement__tag {
        font-size: 11.5px;
        height: 24px;
        padding-right: 7px;
    }

    .announcement__text {
        font-size: 12px;
    }

    .announcement__chev {
        height: 22px;
        width: 22px;
    }

    .submit-panel,
    .promo-card,
    .list-panel {
        margin-top: 6px;
        padding: 9px;
    }

    .submit-row {
        gap: 7px;
        grid-template-columns: minmax(0, 1fr) 92px;
    }

    .submit-row input {
        border-radius: 10px;
        font-size: 15px;
        min-height: 40px;
        padding: 0 11px;
    }

    .submit-row button,
    .smart-action {
        border-radius: 10px;
        font-size: 14px;
        min-height: 40px;
    }

    .notice-line {
        font-size: 11.5px;
        min-height: 25px;
        padding: 3px 8px;
    }

    .section-head h2,
    .used-head h2 {
        font-size: 16px;
    }

    .promo-card h2 {
        font-size: 13px;
    }

    .promo-card p {
        font-size: 11px;
    }

    .promo-actions {
        gap: 6px;
        margin-top: 8px;
    }

    .promo-actions button,
    .list-actions button {
        border-radius: 9px;
        font-size: 12.5px;
        min-height: 32px;
    }

    .promo-actions button {
        border-radius: 999px;
        font-size: 11.5px;
        min-height: 27px;
    }

    .section-head {
        gap: 8px;
    }

    .section-head h2 span,
    .used-head h2 span {
        font-size: 11px;
        min-width: 20px;
        padding: 1px 6px;
    }

    .status-pill,
    .used-pill {
        font-size: 11px;
        padding: 4px 8px;
    }

    .list-actions {
        gap: 6px;
        margin-top: 7px;
    }

    .list-actions button {
        min-height: 34px;
    }

    .code-list {
        gap: 6px;
        margin-top: 7px;
    }

    .code-item {
        border-radius: 9px;
        min-height: 54px;
        padding: 8px 9px;
    }

    .code-item strong {
        font-size: 18px;
    }

    .code-item p {
        font-size: 11px;
        margin-top: 2px;
    }

    .code-item button {
        border-radius: 9px;
        font-size: 13px;
        min-height: 32px;
        padding: 0 10px;
    }

    .empty-state {
        min-height: 72px;
        padding: 8px 10px;
    }

    .used-section {
        margin-top: 8px;
        padding-top: 9px;
    }

    .used-head {
        margin-bottom: 7px;
    }

    .used-list {
        gap: 6px;
    }

    .used-item {
        border-radius: 9px;
        gap: 6px;
        grid-template-columns: minmax(0, 1fr) auto auto;
        min-height: 50px;
        padding: 7px 8px;
    }

    .used-item strong {
        font-size: 15px;
        letter-spacing: 1px;
    }

    .used-item p {
        font-size: 11px;
        margin-top: 2px;
    }

    .used-item button {
        border-radius: 8px;
        font-size: 12px;
        min-height: 28px;
        padding: 0 8px;
    }

    .used-item em {
        font-size: 12px;
    }

    .icon-button {
        background: #ffffff;
        border: 1px solid var(--line);
        border-radius: 13px;
        box-shadow: 0 8px 22px rgba(34, 197, 94, 0.10);
        color: #334155;
        font-size: 18px;
        height: 38px;
        position: absolute;
        right: 12px;
        top: 9px;
        width: 38px;
    }

    .icon-button--open {
        background: #fff7ed;
        border-color: #fdba74;
        color: #c2410c;
        box-shadow: 0 8px 18px rgba(249, 115, 22, 0.12);
    }

    .float-menu {
        display: none;
    }

    .admin-shell {
        padding: 14px 10px 24px;
    }

    .admin-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

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

    .admin-form--grid,
    .admin-log-list div {
        grid-template-columns: 1fr;
    }

    .pin-body {
        background:
            radial-gradient(680px 380px at 12% -8%, rgba(120, 170, 255, 0.32), transparent 60%) fixed,
            radial-gradient(680px 420px at 92% 8%, rgba(255, 170, 200, 0.26), transparent 60%) fixed,
            linear-gradient(180deg, #f5f6fa 0%, #eceef3 100%) fixed;
    }

    .pin-shell {
        max-width: 430px;
        padding: 8px 10px 88px;
    }

    .pin-mobile-top {
        display: flex;
    }

    .pin-top-card,
    .pin-submit-card,
    .pin-toolbar,
    .pin-list-wrap {
        border-radius: 13px;
        box-shadow: 0 6px 16px rgba(15, 23, 42, 0.045);
        margin-bottom: 6px;
    }

    .pin-hero-panel {
        border-radius: 13px;
        margin-bottom: 6px;
        padding: 11px 12px 10px;
    }

    .pin-quick-links {
        gap: 0;
    }

    .pin-quick-links button {
        font-size: 12px;
        padding: 9px 5px;
    }

    .pin-related-links {
        border-radius: 14px;
        margin-top: 6px;
    }

    .pin-related-links a {
        gap: 6px;
        min-height: 38px;
        padding: 0 8px;
    }

    .pin-related-copy strong {
        font-size: 12.5px;
    }

    .pin-related-copy small {
        font-size: 9.5px;
    }

    .pin-related-icon {
        border-radius: 10px;
        height: 23px;
        padding: 2px;
        width: 23px;
    }

    .pin-related-icon--stack {
        width: 31px;
    }

    .pin-related-icon--stack img {
        height: 22px;
        width: 22px;
    }

    .pin-related-icon--stack img + img {
        margin-left: -10px;
    }

    .pin-tool-note {
        font-size: 12px;
        margin-top: 5px;
    }

    .pin-top-card,
    .pin-list-wrap {
        padding: 10px;
    }

    .pin-topbar__row {
        align-items: flex-start;
    }

    .pin-topbar__row h1 {
        font-size: 19px;
    }

    .pin-top-actions {
        max-width: 154px;
    }

    .pin-top-actions button {
        font-size: 11px;
        min-height: 25px;
        padding: 0 8px;
    }

    .pin-notice {
        border-radius: 999px;
        min-height: 36px;
        padding: 5px 8px;
    }

    .pin-notice span {
        font-size: 12px;
    }

    .pin-notice strong {
        font-size: 13px;
        padding: 3px 9px;
    }

    .pin-submit-card input,
    .pin-submit-card select,
    .pin-submit-card textarea,
    .pin-search input {
        border-radius: 12px;
        font-size: 13px;
        min-height: 40px;
        padding: 0 10px;
    }

    .pin-submit-card textarea {
        min-height: 124px;
        padding: 12px;
    }

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

    .pin-form-grid button {
        border-radius: 13px;
        font-size: 14px;
        min-height: 44px;
        grid-column: 1 / -1;
    }

    .pin-submit-sheet {
        border-radius: 18px;
        padding: 16px;
        width: calc(100vw - 36px);
    }

    .pin-join-sheet {
        max-height: calc(100vh - 48px);
        overflow: auto;
        padding: 16px;
        width: calc(100vw - 32px);
    }

    .pin-join-head h2 {
        font-size: 18px;
    }

    .pin-join-price-row {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .pin-join-price-row em {
        grid-column: 1 / -1;
    }

    .pin-join-price-row strong {
        font-size: 26px;
    }

    .pin-join-primary {
        font-size: 15px;
        min-height: 48px;
    }

    .pin-toolbar {
        padding: 9px;
    }

    .pin-tabs-row {
        gap: 6px;
    }

    .pin-tabs {
        gap: 4px;
    }

    .pin-tabs button,
    .pin-refresh,
    .pin-deal__quiet button,
    .pin-deal__publisher button {
        font-size: 11px;
        min-height: 26px;
        padding: 0 8px;
    }

    .pin-list-head {
        margin-bottom: 8px;
    }

    .pin-list-head h2 {
        font-size: 17px;
    }

    .pin-list {
        gap: 6px;
    }

    .pin-deal {
        border-radius: 13px;
        gap: 6px;
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .pin-deal__line {
        gap: 6px;
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .pin-deal__join {
        justify-content: center;
        min-height: 33px;
        width: 100%;
    }

    .pin-deal__thumb {
        display: none;
    }

    .pin-deal__thumb span {
        font-size: 24px;
    }

    .pin-deal h3 {
        font-size: 14px;
        margin-top: 0;
    }

    .pin-deal__cta strong {
        font-size: 17px;
    }

    .pin-deal__cta button {
        font-size: 12px;
        min-height: 32px;
        padding: 0 11px;
    }

    .pin-float-menu {
        display: none;
    }
}

@media (max-width: 380px) {
    .submit-row {
        grid-template-columns: 1fr;
    }

    .promo-actions,
    .list-actions {
        grid-template-columns: 1fr;
    }

    .admin-stat-grid {
        grid-template-columns: 1fr;
    }
}

.home-body {
    background:
        radial-gradient(320px 210px at 84% 20%, rgba(34, 197, 94, 0.08), transparent 66%),
        radial-gradient(440px 260px at 6% 100%, rgba(17, 24, 39, 0.045), transparent 64%),
        linear-gradient(180deg, #ffffff 0%, #fbfcfd 56%, #f4f7f6 100%);
}

.home-shell {
    margin: 0 auto;
    max-width: 430px;
    min-height: 100vh;
    overflow: hidden;
    padding: 22px 16px 28px;
}

.home-hero-top {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.home-brand {
    align-items: center;
    display: inline-flex;
    gap: 12px;
}

.home-brand img {
    border-radius: 18px;
    box-shadow: 0 16px 32px rgba(249, 115, 22, 0.15);
    height: 72px;
    width: 72px;
}

.home-brand strong {
    color: #101828;
    display: block;
    font-size: 29px;
    font-weight: 950;
    line-height: 1;
}

.home-brand em {
    color: #667085;
    display: block;
    font-size: 15px;
    font-style: normal;
    font-weight: 850;
    margin-top: 9px;
}

.home-menu-btn {
    align-items: center;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.085);
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    height: 58px;
    justify-content: center;
    width: 58px;
}

.home-menu-btn span {
    background: #101828;
    border-radius: 999px;
    height: 3px;
    width: 25px;
}

.home-nav-modal {
    display: none;
    inset: 0;
    position: fixed;
    z-index: 120;
}

.home-nav-modal--open {
    display: block;
}

.home-nav-modal__backdrop {
    background: rgba(15, 23, 42, 0.34);
    inset: 0;
    position: absolute;
}

.home-nav-sheet {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96)),
        radial-gradient(360px 180px at 88% 10%, rgba(34, 197, 94, 0.10), transparent 70%);
    border: 1px solid rgba(226, 232, 240, 0.88);
    border-radius: 26px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.22);
    left: 50%;
    max-width: 390px;
    padding: 18px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100vw - 34px);
}

.home-nav-sheet header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
}

.home-nav-sheet header p {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 850;
}

.home-nav-sheet header h2 {
    color: #101828;
    font-size: 22px;
    font-weight: 950;
    margin-top: 2px;
}

.home-nav-sheet header button {
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    color: #64748b;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.home-nav-sheet header svg {
    fill: none;
    height: 16px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2.7;
    width: 16px;
}

.home-nav-sheet nav {
    display: grid;
    gap: 10px;
}

.home-nav-sheet nav a {
    align-items: center;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    display: grid;
    gap: 12px;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    min-height: 66px;
    padding: 10px 12px;
}

.home-nav-sheet__icon {
    align-items: center;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.07);
    color: #fff;
    display: inline-flex;
    font-size: 20px;
    font-weight: 950;
    height: 44px;
    justify-content: center;
    overflow: hidden;
    width: 44px;
}

.home-nav-sheet__icon--feature {
    background: linear-gradient(145deg, #fff1f2, #fff);
}

.home-nav-sheet__icon--sign {
    background: linear-gradient(145deg, #38bdf8, #86efac);
}

.home-nav-sheet__icon::before,
.home-nav-sheet__icon::after {
    display: none;
}

.home-nav-sheet__icon img {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.home-nav-sheet nav strong {
    color: #101828;
    display: block;
    font-size: 15px;
    font-weight: 950;
}

.home-nav-sheet nav em {
    color: #667085;
    display: block;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    margin-top: 3px;
}

.home-nav-sheet nav b {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #64748b;
    font-size: 12px;
    font-weight: 950;
    padding: 4px 8px;
}

.home-nav-sheet nav a:first-child b {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #fb6b3a;
}

.home-hero {
    margin-top: 32px;
    min-height: 112px;
    position: relative;
}

.home-hero__copy {
    position: relative;
    z-index: 2;
}

.home-hero h1 {
    color: #101828;
    font-size: 34px;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1.18;
}

.home-hero h1 span {
    color: #18a869;
}

.home-hero p {
    color: #667085;
    font-size: 18px;
    font-weight: 900;
    margin-top: 12px;
}

.home-hero__art {
    bottom: 0;
    height: 92px;
    opacity: 0.28;
    position: absolute;
    right: -5px;
    width: 118px;
}

.home-puzzle {
    background: linear-gradient(145deg, rgba(236, 253, 245, 0.88), rgba(255, 255, 255, 0.50));
    border: 1px solid rgba(187, 247, 208, 0.78);
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(34, 197, 94, 0.10);
    position: absolute;
}

.home-puzzle--one {
    height: 54px;
    right: 26px;
    top: 6px;
    width: 60px;
}

.home-puzzle--two {
    bottom: 7px;
    height: 48px;
    right: 0;
    width: 64px;
}

.home-stats {
    display: grid;
    gap: 11px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 4px;
}

.home-stats > div {
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #e5e7eb;
    border-radius: 25px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.052);
    display: flex;
    gap: 12px;
    min-height: 58px;
    padding: 10px 13px;
}

.home-stat-icon {
    align-items: center;
    background: #e9f8ef;
    border-radius: 999px;
    color: #16a34a;
    display: inline-flex;
    flex-shrink: 0;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.home-stat-icon--hot {
    background: #edf9f0;
}

.home-stat-icon svg {
    fill: none;
    height: 22px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
    width: 22px;
}

.home-stat-icon--hot svg {
    fill: currentColor;
    stroke: none;
}

.home-stats em {
    color: #667085;
    display: block;
    font-size: 14px;
    font-style: normal;
    font-weight: 900;
}

.home-stats strong {
    color: #18a869;
    display: block;
    font-size: 24px;
    font-weight: 950;
    line-height: 1.05;
    margin-top: 2px;
}

.home-entry-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.home-entry {
    align-items: center;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #e7ebf0;
    border-radius: 23px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.055);
    display: grid;
    gap: 14px;
    grid-template-columns: 56px minmax(0, 1fr) auto 16px;
    min-height: 78px;
    padding: 13px 16px;
    position: relative;
}

.home-entry--feature {
    gap: 14px;
    grid-template-columns: 70px minmax(0, 1fr) 16px;
    min-height: 98px;
    padding: 15px 16px;
}

.home-entry__icon {
    align-items: center;
    background: #fff;
    border-radius: 18px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 12px 24px rgba(15, 23, 42, 0.08);
    color: #f97316;
    display: inline-flex;
    font-size: 27px;
    font-weight: 950;
    height: 56px;
    justify-content: center;
    overflow: hidden;
    width: 56px;
}

.home-entry--feature .home-entry__icon {
    background:
        radial-gradient(circle at 26% 22%, rgba(255, 255, 255, 0.58), transparent 34%),
        linear-gradient(145deg, #fff1f2 0%, #fff7ed 54%, #ffffff 100%);
    border-radius: 20px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 18px 34px rgba(239, 68, 68, 0.13);
    height: 64px;
    padding: 9px;
    position: relative;
    width: 64px;
}

.home-entry--feature .home-entry__icon::before,
.home-entry--feature .home-entry__icon::after {
    background: #fff;
    border-radius: 999px;
    content: "";
    height: 5px;
    opacity: 0.86;
    position: absolute;
    top: 17px;
    width: 5px;
}

.home-entry--feature .home-entry__icon::before {
    left: 15px;
}

.home-entry--feature .home-entry__icon::after {
    right: 15px;
}

.home-entry--takeaway .home-entry__icon {
    background: linear-gradient(145deg, #fff8ed, #fff);
}

.home-entry--coin .home-entry__icon {
    background: linear-gradient(145deg, #fff7d6, #fff);
}

.home-entry--sign .home-entry__icon {
    background:
        radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.55), transparent 32%),
        linear-gradient(145deg, #38bdf8, #86efac);
    color: #fff;
}

.home-entry__icon img {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.home-entry__main {
    min-width: 0;
}

.home-entry__title-row {
    align-items: center;
    display: flex;
    gap: 9px;
    min-width: 0;
}

.home-entry__main strong {
    color: #101828;
    display: block;
    font-size: 19px;
    font-weight: 950;
    line-height: 1.15;
}

.home-entry--feature .home-entry__main strong {
    font-size: 20px;
    max-width: none;
    padding-right: 0;
    white-space: nowrap;
}

.home-entry__main em {
    color: #667085;
    display: block;
    font-size: 14px;
    font-style: normal;
    font-weight: 850;
    line-height: 1.35;
    margin-top: 6px;
}

.home-entry--feature .home-entry__main em {
    font-size: 13px;
    max-width: 230px;
}

.home-entry__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
}

.home-entry__chips b {
    background: #fff1f2;
    border-radius: 999px;
    color: #ef4444;
    font-size: 10.5px;
    font-weight: 950;
    padding: 4px 7px;
}

.home-entry__tag {
    align-items: center;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    color: #fb6b3a;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 950;
    gap: 3px;
    line-height: 1;
    padding: 5px 9px;
}

.home-entry__tag i {
    font-style: normal;
}

.home-entry__count {
    color: #667085;
    font-size: 15px;
    font-weight: 950;
}

.home-entry__chev {
    color: #98a2b3;
    font-size: 42px;
    font-weight: 300;
    line-height: 1;
}

.home-entry--feature .home-entry__chev {
    align-self: center;
    grid-column: 3;
}

@media (max-width: 380px) {
    .home-shell {
        padding-left: 14px;
        padding-right: 14px;
    }

    .home-brand strong {
        font-size: 25px;
    }

    .home-hero h1 {
        font-size: 31px;
    }

.home-entry--feature {
        gap: 12px;
        grid-template-columns: 64px minmax(0, 1fr) 15px;
    }

    .home-entry--feature .home-entry__icon {
        height: 60px;
        padding: 8px;
        width: 60px;
    }

    .home-entry--feature .home-entry__main strong {
        font-size: 19px;
    }

    .home-entry__tag {
        font-size: 12px;
        padding: 5px 8px;
    }
}
