* {
    box-sizing: border-box;
}

:root {
    --primary: #ff5a3d;
    --primary-dark: #e3482b;
    --amber: #ffb21f;
    --green: #12b886;
    --ink: #172033;
    --muted: #667085;
    --soft: #f7f8fa;
    --line: #eceff3;
    --paper: #ffffff;
    --cream: #fff8ec;
    --shadow: 0 8px 28px rgba(23, 32, 51, 0.08);
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body.waimai-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #fff4dc 0%, #fff8ec 26%, #f7f8fa 58%, #f2f5f7 100%);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
    letter-spacing: 0;
}

button,
input {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

a {
    color: inherit;
}

[hidden] {
    display: none !important;
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff7a42;
}

.loader-spinner {
    width: 46px;
    height: 46px;
    border: 4px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: waimai-spin 0.8s linear infinite;
}

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

.app-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: min(100%, 500px);
    margin: 0 auto;
    min-height: 58px;
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) 64px;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(236, 239, 243, 0.9);
    backdrop-filter: blur(12px);
}

.back-link {
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--muted);
    background: #f2f4f7;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.app-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    gap: 8px;
}

.app-brand img {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    object-fit: contain;
}

.app-brand span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 17px;
    font-weight: 900;
}

.app-brand em {
    color: #98a2b3;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
}

.share-btn {
    height: 34px;
    border-radius: 8px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    font-size: 13px;
    font-weight: 800;
}

.container {
    width: min(100%, 500px);
    margin: 0 auto;
    padding: 12px 12px 80px;
}

.jufu-header {
    padding: 18px;
    margin-bottom: 14px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ff7846 0%, #ff5a3d 58%, #db3d2a 100%);
    box-shadow: 0 12px 28px rgba(255, 90, 61, 0.22);
}

.jufu-banner {
    padding: 18px 12px;
    text-align: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.jufu-banner h1 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(23px, 7vw, 31px);
    line-height: 1.15;
    font-weight: 900;
}

.jufu-banner p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 700;
}

.jufu-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-top: 12px;
}

.jufu-tips-card,
.jufu-unseal-btn {
    min-height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.96);
    color: #d34a22;
    font-weight: 900;
    box-shadow: 0 4px 14px rgba(23, 32, 51, 0.08);
}

.jufu-tips-card {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 9px;
    padding: 8px 12px;
    text-align: left;
}

.jufu-tips-avatar {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--green);
    flex: 0 0 auto;
    font-size: 14px;
}

.jufu-tips-card span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jufu-unseal-btn {
    padding: 0 14px;
    white-space: nowrap;
}

.waimai-category-card,
.main-function-card,
.code-card,
.taobao-dev-card {
    background: var(--paper);
    border: 1px solid rgba(236, 239, 243, 0.9);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.waimai-category-card {
    padding: 12px;
    margin-bottom: 14px;
}

.platform-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 10px;
}

.platform-tab {
    position: relative;
    min-width: 0;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 4px;
    border-radius: 10px;
    color: var(--ink);
    background: #fff;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.platform-tab.active {
    color: var(--primary-dark);
    background: #fff1ec;
}

.platform-tab.active::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 50%;
    width: 30px;
    height: 4px;
    transform: translateX(-50%);
    border-radius: 0 0 4px 4px;
    background: var(--primary);
}

.platform-icon,
.coupon-entry-icon,
.taobao-search-title span {
    width: 20px;
    height: 20px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    flex: 0 0 auto;
}

.platform-icon.jd {
    background: #e93b34;
}

.platform-icon.mt {
    background: #f3b51f;
}

.platform-icon.tb {
    background: #ff7a2f;
}

.coupon-entry {
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid #ffd083;
    background: #fffaf0;
    text-align: left;
}

.coupon-entry-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--amber);
    font-size: 14px;
}

.coupon-entry-info {
    min-width: 0;
    flex: 1;
    display: grid;
    gap: 3px;
}

.coupon-entry-info strong,
.coupon-entry-info em {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.coupon-entry-info strong {
    color: var(--ink);
    font-size: 14px;
    line-height: 18px;
    font-weight: 900;
}

.coupon-entry-info em {
    color: var(--muted);
    font-size: 11px;
    font-style: normal;
    line-height: 15px;
}

.coupon-entry-action {
    height: 36px;
    min-width: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #fff;
    background: var(--primary);
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 5px 14px rgba(255, 90, 61, 0.22);
}

.taobao-dev-card {
    padding: 16px 14px;
    margin-bottom: 16px;
}

.taobao-dev-card h2 {
    margin: 0 0 6px;
    color: #e65a20;
    font-size: 15px;
    line-height: 21px;
    font-weight: 900;
}

.taobao-dev-card p {
    margin: 0 0 12px;
    color: #96654b;
    font-size: 12px;
    line-height: 18px;
}

.taobao-search-panel {
    padding: 10px 12px 12px;
    border: 1px solid #ffe0c4;
    border-radius: 14px;
    background: #fffaf2;
}

.taobao-search-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #d46935;
    font-size: 12px;
    line-height: 18px;
    font-weight: 900;
    margin-bottom: 8px;
}

.taobao-search-title span {
    background: #ff7a2f;
}

.taobao-search-box {
    height: 34px;
    border-radius: 17px;
    background: #fff;
    border: 2px solid #ffd8bd;
    display: grid;
    grid-template-columns: 1fr 30px;
    align-items: center;
    text-align: center;
    color: #7c4a2e;
    font-size: 13px;
    font-weight: 900;
}

.taobao-search-box i {
    width: 18px;
    height: 2px;
    justify-self: center;
    background: #f4a26d;
}

.taobao-search-box b {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #ff7a2f;
    font-size: 13px;
}

.taobao-code-grid {
    display: grid;
    grid-template-columns: minmax(0, 190px);
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-top: 10px;
}

.taobao-code-card {
    position: relative;
    min-height: 132px;
    padding: 22px 8px 10px;
    border-radius: 14px;
    border: 1px solid #ffd3b2;
    background: linear-gradient(180deg, #fffaf4 0%, #fff 100%);
    text-align: center;
}

.taobao-code-card small {
    position: absolute;
    top: -1px;
    left: -1px;
    width: 28px;
    height: 28px;
    border-radius: 14px 0 14px 0;
    background: linear-gradient(135deg, #ffb56f, #ff7a2f);
    color: #fff;
    font-size: 13px;
    line-height: 28px;
    font-weight: 900;
}

.taobao-code-card strong {
    display: block;
    color: #ff6a35;
    font-size: 30px;
    line-height: 36px;
    font-weight: 900;
}

.taobao-code-card span {
    display: block;
    color: #6f4a35;
    font-size: 13px;
    line-height: 18px;
    font-weight: 800;
    margin: 2px 0 12px;
}

.taobao-code-card em {
    width: 72px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #fff7f0;
    border: 1px solid #ffd8bd;
    color: #e56a35;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.taobao-swap {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e97a42;
    background: #fff;
    box-shadow: 0 4px 12px rgba(255, 122, 47, 0.18);
    font-size: 18px;
    font-weight: 900;
    z-index: 1;
}

.main-function-card {
    padding: 20px 16px;
    margin-bottom: 16px;
}

.main-function-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.main-function-header h2 {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--ink);
    font-size: 20px;
    line-height: 26px;
    font-weight: 900;
}

.tutorial-btn {
    height: 32px;
    padding: 0 12px;
    border-radius: 8px;
    color: #d75c2c;
    background: #fff3e9;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.publish-form-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 58px;
    gap: 10px;
}

.publish-input {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 11px 12px;
    border-radius: 10px;
    border: 1px solid #e4e7ec;
    outline: 0;
    color: var(--ink);
    background: #fbfcfd;
    font-size: 14px;
}

.publish-input:focus,
.custom-input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 90, 61, 0.1);
}

.paste-btn {
    height: 48px;
    border-radius: 10px;
    color: var(--ink);
    background: #fff;
    border: 1px solid #e4e7ec;
    font-size: 13px;
    font-weight: 900;
}

.type-section,
.count-section {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #f0f2f5;
}

.section-label {
    margin-bottom: 9px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.type-options,
.count-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.type-tag,
.count-tag {
    min-height: 32px;
    padding: 0 13px;
    border-radius: 999px;
    border: 1px solid #e4e7ec;
    color: var(--muted);
    background: #f8fafc;
    font-size: 13px;
    font-weight: 800;
}

.type-tag.active,
.count-tag.active {
    color: #d4551e;
    border-color: #ffc27c;
    background: #fff1d6;
}

.custom-input {
    width: 100%;
    min-height: 52px;
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #e4e7ec;
    outline: 0;
    background: #fbfcfd;
    font-size: 15px;
}

.publish-btn {
    width: 100%;
    min-height: 46px;
    margin-top: 16px;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, #ff8b75, var(--primary));
    font-size: 16px;
    font-weight: 900;
}

.publish-btn:disabled,
.locked-return-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.code-card {
    padding: 18px 14px;
    margin-bottom: 16px;
}

.code-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.used-card .code-header {
    grid-template-columns: minmax(0, 1fr);
}

.green,
.gray,
.tag-group {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 7px;
}

.green strong,
.gray strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 900;
}

.green {
    color: #d55325;
}

.gray {
    color: #687083;
}

.green-dot,
.gray-dot,
.refresh-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.green-dot,
.refresh-dot {
    background: var(--primary);
}

.gray-dot {
    background: #98a2b3;
}

#unusedCount {
    font-style: normal;
    font-size: 18px;
    color: #c94522;
}

.header-refresh-btn {
    height: 30px;
    padding: 0 10px;
    border-radius: 8px;
    color: #475467;
    background: #f2f4f7;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.time {
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
}

.code-divider {
    height: 1px;
    margin-bottom: 12px;
    background: repeating-linear-gradient(90deg, #eaecf0 0, #eaecf0 6px, transparent 6px, transparent 12px);
}

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

.code-item {
    min-height: 66px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 8px;
    border: 1px solid #d9f3e6;
    background: #f4fffa;
}

.code-list .empty-tip {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 14px;
    color: var(--muted);
    text-align: center;
    line-height: 1.6;
    background: #fbfcfd;
    border-color: #eaecf0;
}

.code-list-used .code-item,
.used-card .code-item {
    border-color: #e4e7ec;
    background: #f7f8fa;
}

.code-item.self-published {
    border-color: #f6d69b;
    background: #fff9eb;
}

.code-info {
    min-width: 0;
}

.waimai-code-row {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 8px;
}

.code-num {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--ink);
    font-family: "SF Mono", Menlo, Monaco, Consolas, "Courier New", monospace;
    font-size: 16px;
    line-height: 22px;
    font-weight: 900;
}

.waimai-type-badge {
    min-width: 34px;
    max-width: 86px;
    flex: 0 0 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 3px 7px;
    border-radius: 999px;
    color: #635bff;
    background: #ede9ff;
    font-size: 11px;
    line-height: 14px;
    text-align: center;
    font-weight: 900;
}

.waimai-type-badge.used {
    color: #667085;
    background: #e9edf2;
}

.code-time {
    display: block;
    margin-top: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--muted);
    font-size: 12px;
    line-height: 16px;
}

.self-tip {
    display: inline-flex;
    margin-top: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    color: #d55325;
    background: #fff3e3;
    font-size: 11px;
    line-height: 14px;
    font-weight: 800;
}

.status-wrap {
    display: grid;
    justify-items: end;
    gap: 5px;
    flex: 0 0 auto;
}

.code-status {
    width: 54px;
    height: 32px;
    border-radius: 6px;
    color: #fff;
    background: var(--primary);
    font-size: 13px;
    font-weight: 900;
}

.status-used {
    background: #98a2b3;
}

.usage-stats {
    color: var(--muted);
    font-size: 11px;
    line-height: 14px;
    white-space: nowrap;
    font-weight: 800;
}

.usage-stats.used {
    color: #98a2b3;
}

.modal,
.wx-modal,
.unseal-modal,
.tutorial-modal,
.warm-tip-mask {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(17, 24, 39, 0.58);
}

.locked-modal-content,
.wx-modal-content,
.unseal-modal-content,
.tutorial-modal-content,
.warm-tip-box {
    width: min(100%, 340px);
    max-height: calc(100vh - 36px);
    overflow: auto;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(17, 24, 39, 0.3);
    animation: modal-pop 0.22s ease-out;
}

@keyframes modal-pop {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.locked-modal-content {
    padding: 24px 18px 18px;
    text-align: center;
}

.locked-modal-content h3 {
    margin: 0;
    color: #111827;
    font-size: 20px;
    line-height: 28px;
    font-weight: 900;
}

.locked-app-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 11px;
    color: #111827;
    font-size: 15px;
}

.locked-app-row span {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #17c964;
    font-size: 12px;
}

.locked-warning {
    margin: 8px 0 0;
    color: #c2410c;
    font-size: 12px;
    line-height: 18px;
    font-weight: 900;
}

.locked-code-box {
    margin-top: 16px;
    padding: 12px;
    border: 1px solid #edf0f5;
    border-radius: 8px;
    background: #fff;
    text-align: left;
}

.locked-code-box span {
    display: block;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.locked-code-box pre {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-all;
    color: #111827;
    font: 900 14px/20px -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

.locked-primary-btn,
.locked-return-btn {
    width: 100%;
    height: 42px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 900;
}

.locked-primary-btn {
    margin-top: 16px;
    color: #fff;
    background: var(--green);
}

.locked-return-btn {
    margin-top: 10px;
    color: #c45a12;
    background: #fff8ef;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    color: #667085;
    background: #f2f4f7;
    font-size: 18px;
    line-height: 30px;
}

.wx-modal-content,
.unseal-modal-content,
.tutorial-modal-content {
    position: relative;
    padding: 24px 20px 20px;
}

.wx-modal-content h3,
.unseal-modal-content h3,
.tutorial-modal-content h3 {
    margin: 0 34px 16px;
    color: var(--ink);
    text-align: center;
    font-size: 18px;
    line-height: 24px;
    font-weight: 900;
}

.wx-modal-content img {
    display: block;
    width: min(100%, 230px);
    height: auto;
    margin: 0 auto 16px;
    border-radius: 12px;
}

.wx-confirm-btn,
.close-btn,
.tutorial-confirm-btn,
.warm-tip-box button {
    width: 100%;
    min-height: 42px;
    border-radius: 10px;
    color: #fff;
    background: var(--primary);
    font-size: 15px;
    font-weight: 900;
}

.unseal-modal-body {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
    color: #475467;
    font-size: 13px;
    line-height: 1.7;
}

.unseal-modal-body p {
    margin: 0;
}

.tips-red,
.tips-green {
    padding: 10px 12px;
    border-radius: 8px;
}

.tips-red {
    color: #c2410c;
    background: #fff3e9;
}

.tips-green {
    color: #107c52;
    background: #eafaf2;
}

.tutorial-item {
    padding: 13px 0;
    border-top: 1px solid #f0f2f5;
}

.tutorial-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 900;
}

.tutorial-item p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.tutorial-confirm-btn {
    margin-top: 16px;
}

.warm-tip-box {
    padding: 22px 18px 18px;
    text-align: center;
}

.warm-tip-box h3 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 18px;
    line-height: 24px;
    font-weight: 900;
}

.warm-tip-box p {
    margin: 0 0 16px;
    padding: 12px;
    border-radius: 10px;
    color: #475467;
    background: #f8fafc;
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
    white-space: pre-wrap;
    word-break: break-word;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 26px;
    z-index: 110000;
    max-width: min(84vw, 320px);
    padding: 10px 14px;
    border-radius: 999px;
    color: #fff;
    background: rgba(17, 24, 39, 0.9);
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

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

@media (max-width: 380px) {
    .container {
        padding-left: 8px;
        padding-right: 8px;
    }

    .app-header {
        grid-template-columns: 62px minmax(0, 1fr) 54px;
        gap: 6px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .back-link,
    .share-btn {
        font-size: 12px;
    }

    .platform-tab {
        font-size: 12px;
        gap: 3px;
    }

    .platform-icon {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }

    .coupon-entry-action {
        min-width: 66px;
        padding: 0 8px;
        font-size: 12px;
    }

    .code-header {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .tag-group {
        grid-column: 1 / -1;
        justify-self: end;
    }

    .code-item {
        grid-template-columns: minmax(0, 1fr) 58px;
        gap: 8px;
        padding: 10px;
    }

    .waimai-type-badge {
        max-width: 66px;
    }
}
