/* ========== tokens ========== */
:root {
    --bg: #eef2f6;
    --bg-accent: #e3edf7;
    --surface: #ffffff;
    --ink: #1a2332;
    --muted: #5c6b7a;
    --faint: #8b97a5;
    --line: #e4eaf0;
    --line-2: #edf1f5;
    --accent: #2b8aed;
    --accent-deep: #1864ab;
    --accent-soft: #e7f5ff;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 4px 14px rgba(26, 35, 50, 0.06);
    --shadow-hover: 0 10px 24px rgba(26, 35, 50, 0.1);
    --max: 1000px;
    --font: "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
    --ease: 0.22s ease;
}

/* ========== base ========== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font);
    background:
        radial-gradient(1200px 480px at 50% -80px, var(--bg-accent), transparent 70%),
        var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px 28px;
    color: var(--ink);
    line-height: 1.55;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--ease);
}

a:hover {
    color: var(--accent-deep);
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border: 0;
}

/* utility */
.text-ellipsis,
.deal-info strong,
.deal-info span,
.discount-name,
.discount-tag,
.discount-desc {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========== shared page shell ========== */
.container,
.contents,
.coupon-home {
    max-width: var(--max);
    width: 100%;
}

.container {
    padding: 28px 12px 12px;
    text-align: center;
}

.page-title,
.container > h1,
.hero-section h1,
.rindex h1,
.coupon-hero h1 {
    color: var(--ink);
    margin-bottom: 10px;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.subtitle,
.container > .subtitle {
    color: var(--muted);
    margin-bottom: 36px;
    font-size: 1.05rem;
}

.hero-desc {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto;
}

/* ========== subdomain hero / CTA ========== */
.hero-section {
    text-align: center;
    padding: 8px 0 24px;
}

.hero-section img {
    width: 250px;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-2);
    background: #fff;
}

.input-section {
    margin: 4px auto 8px;
    max-width: 480px;
}

.input-section a {
    display: block;
    color: inherit;
}

.input-section button,
#checkBtn {
    width: 100%;
    padding: 14px 18px;
    background: var(--accent);
    color: #fff;
    border: 0;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
}

.input-section button:hover,
#checkBtn:hover {
    background: var(--accent-deep);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.input-section button:active,
#checkBtn:active {
    transform: none;
}

.input-section button:disabled,
#checkBtn:disabled {
    background: #c5d0db;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ========== home guide (subdomain related) ========== */
.home-guide {
    max-width: var(--max);
    width: 100%;
    margin: 28px auto 0;
    padding: 0 4px;
}

.home-guide-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 16px;
    text-align: center;
    letter-spacing: -0.02em;
}

.home-guide-title a {
    color: var(--ink);
}

.home-guide-title a:hover {
    color: var(--accent-deep);
}

.home-guide-intro {
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.75;
    text-align: center;
    margin: 0 auto 22px;
    max-width: 720px;
}

.home-guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin-bottom: 8px;
}

.home-guide-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 16px;
    box-shadow: var(--shadow);
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
    text-align: left;
}

.home-guide-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: #a5d8ff;
}

.home-guide-card h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    color: var(--ink);
}

.home-guide-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

.home-guide-card a {
    display: block;
    color: var(--ink);
}

.home-guide-card a:hover {
    color: var(--accent-deep);
}

.home-guide-card summary {
    list-style: none;
    font-size: 0.95rem;
    font-weight: 700;
    color: inherit;
    line-height: 1.45;
    cursor: pointer;
}

.home-guide-card summary::-webkit-details-marker {
    display: none;
}

/* ========== platform grid ========== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.card {
    background: var(--surface);
    padding: 28px 18px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    color: var(--ink);
    border: 1px solid var(--line);
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    color: var(--ink);
}

.icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    display: inline-block;
    line-height: 1;
}

.name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
}

.dj:hover { border-color: #ff8787; }
.rr:hover { border-color: var(--accent); }
.sr:hover { border-color: #51cf66; }
.bi:hover { border-color: #fcc419; }

/* ========== webhadeu rank ========== */
.rindex {
    text-align: center;
    margin-bottom: 32px;
    padding-top: 8px;
}

.rindex p {
    color: var(--muted);
    font-size: 1.02rem;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.7;
}

.rank-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.rbox {
    background: var(--surface);
    padding: 22px 18px 18px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rbox:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: #a5d8ff;
}

.rname {
    font-size: 1.05rem;
    color: var(--faint);
    text-align: left;
}

.rname strong {
    color: var(--ink);
    font-size: 1.18rem;
}

.rlogo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-sm);
    padding: 10px;
    min-height: 88px;
}

.rlogo a {
    display: block;
}

.rlogo img {
    width: 200px;
    height: 75px;
    object-fit: contain;
    display: block;
}

.rtext {
    text-align: center;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--accent-deep);
    background: var(--accent-soft);
    border-radius: 8px;
    padding: 8px 10px;
}

.rtext2 {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.55;
    flex: 1;
    text-align: left;
}

.rtext3 a {
    display: block;
    width: 100%;
}

.rtext3 span {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--accent);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 11px 14px;
    border-radius: 8px;
    transition: background var(--ease);
}

.rtext3 a:hover span,
.rbox:hover .rtext3 span {
    background: var(--accent-deep);
    color: #fff;
}

/* ========== guide content ========== */
.rank-content {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px 24px;
    margin-bottom: 12px;
    color: #445;
    line-height: 1.75;
}

.rank-content h2 {
    color: var(--ink);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 28px 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-soft);
}

.rank-content h2:first-child {
    margin-top: 0;
}

.rank-content p {
    margin-bottom: 14px;
    font-size: 0.96rem;
    color: var(--muted);
}

.rank-content strong {
    color: var(--ink);
}

.rank-content ul {
    list-style: none;
    margin: 12px 0 20px;
}

.rank-content ul li {
    position: relative;
    padding: 12px 14px 12px 28px;
    margin-bottom: 8px;
    background: #f7fafc;
    border-radius: 8px;
    border: 1px solid var(--line-2);
    font-size: 0.93rem;
    color: var(--muted);
    line-height: 1.65;
}

.rank-content ul li::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 18px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

.rank-content ul li strong {
    color: var(--accent-deep);
}

.responsive-table {
    width: 100%;
    overflow-x: auto;
    margin: 18px 0 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

.responsive-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 480px;
    background: var(--surface);
}

.responsive-table th,
.responsive-table td {
    padding: 12px 14px;
    text-align: left;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--line-2);
    vertical-align: top;
}

.responsive-table th {
    background: var(--accent-soft);
    color: var(--accent-deep);
    font-weight: 700;
    white-space: nowrap;
}

.responsive-table tbody tr:last-child td {
    border-bottom: none;
}

.responsive-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.responsive-table tbody tr:hover {
    background: #f1f8ff;
}

/* ========== coupon home ========== */
.coupon-hero {
    text-align: center;
    padding: 12px 0 32px;
}

.coupon-stats {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 26px;
}

.coupon-stats em {
    font-style: normal;
    color: var(--accent);
    font-weight: 700;
}

.coupon-search {
    display: flex;
    align-items: stretch;
    max-width: 640px;
    margin: 0 auto 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.coupon-search input {
    flex: 1;
    border: 0;
    outline: none;
    padding: 16px 18px;
    font-size: 1rem;
    color: var(--ink);
    background: transparent;
    font-family: inherit;
}

.coupon-search input::placeholder {
    color: #a0aab4;
}

.coupon-search button {
    width: 56px;
    border: 0;
    background: var(--accent);
    color: #fff;
    font-size: 1.15rem;
    cursor: pointer;
    transition: background var(--ease);
}

.coupon-search button:hover {
    background: var(--accent-deep);
}

.coupon-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.coupon-tags a {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    font-size: 0.88rem;
    box-shadow: 0 1px 2px rgba(26, 35, 50, 0.04);
    transition: color var(--ease), border-color var(--ease), background var(--ease), transform var(--ease);
}

.coupon-tags a:hover {
    color: var(--accent-deep);
    border-color: #74c0fc;
    background: var(--accent-soft);
    transform: translateY(-1px);
}

.coupon-popular {
    margin-bottom: 28px;
}

.coupon-popular h2 {
    font-size: 1.2rem;
    color: var(--ink);
    margin-bottom: 14px;
    font-weight: 700;
}

.deal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.deal-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    color: var(--ink);
    box-shadow: var(--shadow);
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.deal-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: #a5d8ff;
    color: var(--ink);
}

.deal-logo {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: #fff;
    border: 1px solid var(--line-2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 4px;
}

.deal-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.deal-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
    text-align: left;
}

.deal-info strong {
    font-size: 0.98rem;
    color: var(--ink);
}

.deal-info span {
    font-size: 0.86rem;
    color: var(--muted);
}

.deal-info em {
    font-style: normal;
    font-size: 0.78rem;
    color: var(--faint);
}

.coupon-sublinks {
    text-align: center;
    margin: 20px 0 4px;
    font-size: 0.8rem;
}

.coupon-sublinks a {
    color: var(--faint);
    margin: 0 10px;
}

.coupon-sublinks a:hover {
    color: var(--muted);
    text-decoration: underline;
}

/* ========== discount page ========== */
.discount-page .rindex {
    margin-bottom: 28px;
}

.discount-sec {
    margin-bottom: 36px;
}

.discount-sec-head {
    margin-bottom: 14px;
    text-align: left;
}

.discount-badge {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--accent);
    margin-bottom: 4px;
}

.discount-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.discount-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.discount-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 14px;
    color: var(--ink);
    box-shadow: 0 1px 3px rgba(26, 35, 50, 0.04);
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.discount-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: #c5d8ea;
    color: var(--ink);
}

.discount-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.discount-logo {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 8px;
    border: 1px solid var(--line-2);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 3px;
}

.discount-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.discount-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.discount-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
}

.discount-tag {
    font-size: 0.78rem;
    color: var(--faint);
}

.discount-desc {
    padding-top: 10px;
    border-top: 1px solid var(--line-2);
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.4;
    text-align: left;
}

/* ========== FAQ (hs-*) ========== */
.hs-shell {
    max-width: var(--max);
    width: 100%;
}

.hs-section {
    margin: 8px 0 28px;
}

.hs-section-head {
    margin-bottom: 14px;
}

.hs-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--accent);
    margin-bottom: 4px;
}

.hs-section-head h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.hs-faq details {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(26, 35, 50, 0.04);
    overflow: hidden;
    transition: border-color var(--ease), box-shadow var(--ease);
}

.hs-faq details:last-child {
    margin-bottom: 0;
}

.hs-faq summary {
    list-style: none;
    cursor: pointer;
    padding: 14px 44px 14px 16px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
    position: relative;
    user-select: none;
    transition: color var(--ease);
}

.hs-faq summary::-webkit-details-marker {
    display: none;
}

.hs-faq summary::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--faint);
    border-bottom: 2px solid var(--faint);
    transform: translateY(-60%) rotate(45deg);
    transition: transform var(--ease), border-color var(--ease);
}

.hs-faq details[open] summary::after {
    border-color: var(--ink);
    transform: translateY(-20%) rotate(-135deg);
}

.hs-faq summary:hover {
    color: var(--accent-deep);
}

.hs-faq details p {
    margin: 0;
    padding: 12px 16px 16px;
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--muted);
    border-top: 1px solid var(--line-2);
}

.hs-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.45s ease, transform 0.45s ease;
    transition-delay: var(--hs-delay, 0ms);
}

.hs-reveal.is-in {
    opacity: 1;
    transform: none;
}

/* ========== board list / view ========== */
.board-page {
    width: 100%;
}

.board-page .rindex {
    margin-bottom: 24px;
}

.board-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.board-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 16px;
    color: var(--ink);
    box-shadow: var(--shadow);
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.board-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: #a5d8ff;
    color: var(--ink);
}

.board-card-num {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
    color: var(--accent-deep);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.board-card-num img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.board-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.board-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.board-card-meta {
    font-size: 0.8rem;
    color: var(--faint);
}

.board-card-excerpt {
    font-size: 0.86rem;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.board-card-arrow {
    color: var(--faint);
    flex-shrink: 0;
}

.board-article {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px 24px;
    margin-bottom: 16px;
    text-align: left;
}

.board-crumb {
    font-size: 0.85rem;
    color: var(--faint);
    margin-bottom: 16px;
}

.board-crumb a {
    color: var(--muted);
}

.board-crumb span {
    margin: 0 6px;
}

.board-article-head h1 {
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 6px 0 10px;
    color: var(--ink);
}

.board-article-meta {
    font-size: 0.86rem;
    color: var(--faint);
    margin-bottom: 18px;
}

.board-cover {
    text-align: center;
    margin: 8px 0 18px;
}

.board-cover img {
    width: 400px;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-2);
}

.board-cta {
    text-align: center;
    margin-bottom: 20px;
}

.board-cta-btn {
    display: inline-block;
    background: var(--accent);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 12px 22px;
    border-radius: 8px;
    transition: background var(--ease);
}

.board-cta-btn:hover {
    background: var(--accent-deep);
    color: #fff !important;
}

.board-article-body {
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.75;
    margin-bottom: 24px;
}

.board-article-body h2,
.board-article-body h3 {
    color: var(--ink);
    margin: 22px 0 10px;
}

.board-article-body p {
    margin-bottom: 12px;
}

.board-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.board-action-btn {
    display: inline-block;
    min-width: 72px;
    text-align: center;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 700;
}

.board-action-btn:hover {
    border-color: #74c0fc;
    background: var(--accent-soft);
    color: var(--accent-deep);
}

.board-action-btn.is-disabled {
    color: var(--faint);
    pointer-events: none;
    opacity: 0.6;
}

.board-related {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px 20px;
    text-align: left;
}

.board-related h2 {
    font-size: 1.1rem;
    color: var(--ink);
    margin-bottom: 12px;
}

.board-related ul {
    list-style: none;
}

.board-related li {
    border-top: 1px solid var(--line-2);
}

.board-related li:first-child {
    border-top: 0;
}

.board-related a {
    display: block;
    padding: 12px 2px;
    color: var(--ink);
    font-size: 0.94rem;
}

.board-related a:hover {
    color: var(--accent-deep);
}

.sec.pager,
.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 8px 0 4px;
}

.pager-btn {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 700;
}

.pager-btn:hover {
    border-color: #74c0fc;
    background: var(--accent-soft);
    color: var(--accent-deep);
}

.pager-btn.is-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.pager-info {
    font-size: 0.86rem;
    color: var(--muted);
}

/* ========== footer ========== */
.bottom {
    text-align: center;
    padding: 28px 8px 4px;
    font-size: 0.78rem;
    color: var(--faint);
    line-height: 1.8;
    max-width: var(--max);
    width: 100%;
}

.bottom a {
    margin-left: 6px;
    color: var(--muted);
}

.bottom a:hover {
    color: var(--accent-deep);
}

/* ========== mobile ========== */
@media screen and (max-width: 660px) {
    body {
        padding: 24px 14px 20px;
    }

    .page-title,
    .container > h1,
    .hero-section h1,
    .rindex h1,
    .coupon-hero h1 {
        font-size: 1.5rem;
    }

    .coupon-stats,
    .subtitle,
    .hero-desc {
        font-size: 0.92rem;
    }

    .hero-section {
        padding: 4px 0 16px;
    }

    .input-section button,
    #checkBtn {
        padding: 12px 14px;
        font-size: 0.95rem;
    }

    .home-guide {
        margin-top: 20px;
    }

    .home-guide-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .home-guide-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .home-guide-card {
        padding: 14px 12px;
    }

    .home-guide-card summary {
        font-size: 0.9rem;
    }

    .coupon-search input {
        padding: 14px;
        font-size: 0.95rem;
    }

    .deal-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .discount-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .discount-title,
    .hs-section-head h2 {
        font-size: 1.1rem;
    }

    .hs-faq summary {
        padding: 13px 40px 13px 14px;
        font-size: 0.9rem;
    }

    .hs-faq details p {
        padding: 10px 14px 14px;
        font-size: 0.84rem;
    }

    .coupon-popular h2 {
        font-size: 1.08rem;
    }

    .rindex p {
        font-size: 0.94rem;
    }

    .rank-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .rlogo {
        min-height: 72px;
        padding: 8px;
    }

    .rlogo img {
        width: 100%;
        max-width: 160px;
        height: auto;
        aspect-ratio: 200 / 75;
    }

    .rbox {
        padding: 14px 12px 12px;
        gap: 10px;
    }

    .rname strong {
        font-size: 1rem;
    }

    .rtext,
    .rtext2,
    .rtext3 span {
        font-size: 0.8rem;
    }

    .rank-content {
        padding: 20px 16px;
    }

    .rank-content h2 {
        font-size: 1.08rem;
    }

    .rank-content p,
    .rank-content ul li {
        font-size: 0.9rem;
    }

    .board-article {
        padding: 20px 16px;
    }

    .board-article-head h1 {
        font-size: 1.28rem;
    }

    .board-card {
        padding: 12px;
        gap: 10px;
    }

    .board-card-num {
        width: 42px;
        height: 42px;
    }

    .board-card-excerpt {
        display: none;
    }
}
