/* ConvertICO 4K Wallpapers (2026-10-06) - every class is prefixed wp- */
.wp-page {
    --wp-blue: #3399cc;
    --wp-green: #339966;
    --wp-red: #e64e4e;
    --wp-text: #1f2a33;
    --wp-muted: #5b6770;
    --wp-card: #ffffff;
    --wp-soft: #f1f6f9;
    --wp-line: #dfe7ec;
    --wp-radius: 14px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 18px 16px 48px;
    color: var(--wp-text);
}
[data-theme="dark"] .wp-page {
    --wp-text: #e6edf3;
    --wp-muted: #9aa7b2;
    --wp-card: #1b232b;
    --wp-soft: #222c35;
    --wp-line: #2e3a45;
}
.wp-page *, .wp-page *::before, .wp-page *::after { box-sizing: border-box; }
.wp-page [hidden] { display: none !important; }
.wp-page a { color: var(--wp-blue); }
.wp-page :where(i[data-lucide], svg.lucide) { width: 18px; height: 18px; }

/* Breadcrumbs */
.wp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; color: var(--wp-muted); margin-bottom: 18px; }
.wp-crumbs a { display: inline-flex; align-items: center; gap: 5px; color: var(--wp-muted); text-decoration: none; }
.wp-crumbs a:hover { color: var(--wp-blue); }
.wp-crumbs :where(i, svg) { width: 14px !important; height: 14px !important; }
.wp-crumbs span[aria-current] { color: var(--wp-text); font-weight: 500; }

/* Hero */
.wp-hero { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.wp-hero-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--wp-blue); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wp-hero-ic :where(i, svg) { width: 26px !important; height: 26px !important; color: #fff; }
.wp-hero h1 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; margin: 2px 0 8px; color: var(--wp-text); font-weight: 800; letter-spacing: -.01em; }
.wp-hero > div:not(.wp-hero-ic) { flex: 1; min-width: 0; }
.wp-hero p { max-width: none; margin: 0 0 6px;   /* exception to the 800px rule (2026-10-06): the gallery is full width */ color: var(--wp-muted); font-size: 16px; line-height: 1.6; }
.wp-hero-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.wp-stat { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--wp-soft); color: var(--wp-text); font-size: 13px; font-weight: 500; }
.wp-stat :where(i, svg) { width: 15px !important; height: 15px !important; color: var(--wp-blue); }

/* Tag chips + sort bar */
.wp-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.wp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--wp-line); background: var(--wp-card); color: var(--wp-text) !important; font-size: 13.5px; font-weight: 500; text-decoration: none; transition: border-color .15s, background .15s; }
.wp-chip:hover { border-color: var(--wp-blue); color: var(--wp-blue) !important; }
.wp-chip.is-on { background: var(--wp-blue); border-color: var(--wp-blue); color: #fff !important; }
.wp-chip em { font-style: normal; font-size: 11.5px; opacity: .7; }
.wp-sort { display: inline-flex; gap: 4px; padding: 3px; border-radius: 10px; background: var(--wp-soft); }
.wp-sort button { border: 0; background: none; padding: 6px 12px; border-radius: 8px; font: inherit; font-size: 13px; color: var(--wp-muted); cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.wp-sort button :where(i, svg) { width: 14px !important; height: 14px !important; }
.wp-sort button.is-on { background: var(--wp-card); color: var(--wp-text); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.08); }

/* Grid of cards */
.wp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.wp-grid > * { min-width: 0; }
.wp-card { display: block; border-radius: var(--wp-radius); overflow: hidden; background: var(--wp-card); border: 1px solid var(--wp-line); text-decoration: none; color: var(--wp-text) !important; transition: transform .18s, border-color .18s; }
.wp-card:hover { transform: translateY(-3px); border-color: var(--wp-blue); }
.wp-card figure { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.wp-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.wp-card:hover img { transform: scale(1.04); }
.wp-badge { position: absolute; top: 10px; left: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(0,0,0,.62); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; }
.wp-badge--new { left: auto; right: 10px; background: var(--wp-green); }
.wp-card-body { padding: 12px 14px 14px; }
.wp-card-title { font-size: 15.5px; font-weight: 700; margin: 0 0 6px; line-height: 1.3; color: var(--wp-text); }
.wp-card-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; color: var(--wp-muted); }
.wp-card-meta span.wp-t { padding: 2px 8px; border-radius: 999px; background: var(--wp-soft); }
.wp-card-meta .wp-dlc { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; }
.wp-card-meta .wp-dlc :where(i, svg) { width: 13px !important; height: 13px !important; }

/* Single wallpaper */
.wp-view { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; margin-bottom: 34px; }
@media (max-width: 1000px) { .wp-view { grid-template-columns: 1fr; } }
.wp-view > * { min-width: 0; }
.wp-preview { margin: 0; border-radius: var(--wp-radius); overflow: hidden; border: 1px solid var(--wp-line); }
.wp-preview img { width: 100%; height: auto; display: block; }
.wp-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.wp-desc { max-width: 800px; margin-top: 16px; }
.wp-desc p { margin: 0 0 10px; line-height: 1.65; font-size: 15.5px; color: var(--wp-text); }

.wp-dl { background: var(--wp-card); border: 1px solid var(--wp-line); border-radius: var(--wp-radius); padding: 18px; position: sticky; top: 90px; }
.wp-dl h2 { font-size: 16px; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; color: var(--wp-text); }
.wp-dl h2 :where(i, svg) { color: var(--wp-blue); }
.wp-main-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 13px 16px; border-radius: 10px; background: #237a9f; color: #fff !important; font-weight: 700; font-size: 15.5px; text-decoration: none; transition: background .15s; }
.wp-main-btn:hover { background: #1b6183; color: #fff !important; }
.wp-main-btn small { font-weight: 500; opacity: .85; }
.wp-best { margin: 12px 0 4px; padding: 9px 12px; border-radius: 10px; background: rgba(51,153,102,.12); color: var(--wp-text); font-size: 13px; display: flex; gap: 8px; align-items: center; }
.wp-best :where(i, svg) { color: var(--wp-green); width: 16px !important; height: 16px !important; flex-shrink: 0; }
.wp-best a { font-weight: 600; color: var(--wp-green); }
.wp-group { margin-top: 14px; }
.wp-group-h { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--wp-muted); margin-bottom: 6px; }
.wp-group-h :where(i, svg) { width: 14px !important; height: 14px !important; }
.wp-size { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--wp-text) !important; border: 1px solid transparent; transition: background .12s, border-color .12s; }
.wp-size:hover { background: var(--wp-soft); border-color: var(--wp-line); color: var(--wp-text) !important; }
.wp-size.is-best { border-color: var(--wp-green); background: rgba(51,153,102,.08); }
.wp-size b { font-weight: 600; font-size: 13.5px; }
.wp-size span { font-size: 12.5px; color: var(--wp-muted); }
.wp-size .wp-sz { margin-left: auto; white-space: nowrap; }
.wp-size :where(i, svg) { width: 15px !important; height: 15px !important; color: var(--wp-blue); flex-shrink: 0; }
.wp-dl-note { font-size: 12px; color: var(--wp-muted); margin: 14px 0 0; line-height: 1.5; }

/* Sections */
.wp-sec { margin: 0 0 34px; }
.wp-sec > h2 { font-size: 21px; margin: 0 0 14px; display: flex; align-items: center; gap: 9px; color: var(--wp-text); }
.wp-sec > h2 :where(i, svg) { width: 21px !important; height: 21px !important; color: var(--wp-blue); }
.wp-sec > p { max-width: 800px; color: var(--wp-muted); line-height: 1.6; margin: -6px 0 14px; }
.wp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.wp-cards > * { min-width: 0; }
.wp-info { background: var(--wp-card); border: 1px solid var(--wp-line); border-radius: 12px; padding: 16px; }
.wp-info h3 { font-size: 15px; margin: 0 0 8px; display: flex; align-items: center; gap: 8px; color: var(--wp-text); }
.wp-info h3 :where(i, svg) { color: var(--wp-blue); width: 17px !important; height: 17px !important; }
.wp-info p, .wp-info ol { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--wp-muted); }
.wp-info ol { padding-left: 18px; }
.wp-tools { display: flex; flex-wrap: wrap; gap: 10px; }
.wp-tool { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: var(--wp-card); border: 1px solid var(--wp-line); color: var(--wp-text) !important; text-decoration: none; font-weight: 500; font-size: 14px; }
.wp-tool:hover { border-color: var(--wp-blue); color: var(--wp-blue) !important; }
.wp-tool :where(i, svg) { width: 16px !important; height: 16px !important; color: var(--wp-blue); }
.wp-faq details { background: var(--wp-card); border: 1px solid var(--wp-line); border-radius: 10px; margin-bottom: 8px; }
.wp-faq summary { cursor: pointer; padding: 13px 16px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; color: var(--wp-text); }
.wp-faq summary::-webkit-details-marker { display: none; }
.wp-faq summary::after { content: "+"; color: var(--wp-muted); font-weight: 400; font-size: 20px; line-height: 1; }
.wp-faq details[open] summary::after { content: "\2212"; }
.wp-faq details p { margin: 0; padding: 0 16px 14px; color: var(--wp-muted); line-height: 1.6; font-size: 14.5px; max-width: 800px; }
.wp-license { background: var(--wp-soft); border-radius: 12px; padding: 16px 18px; }
.wp-license p { margin: 0 0 8px; max-width: 800px; line-height: 1.6; font-size: 14.5px; }
.wp-license p:last-child { margin: 0; }
.wp-empty { padding: 40px 20px; text-align: center; color: var(--wp-muted); border: 2px dashed var(--wp-line); border-radius: var(--wp-radius); }
.wp-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.wp-nav a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }

@media (max-width: 600px) {
    .wp-hero-ic { display: none; }
    .wp-grid { grid-template-columns: 1fr; }
    .wp-dl { position: static; }
}
@media (prefers-reduced-motion: reduce) {
    .wp-card, .wp-card img { transition: none; }
    .wp-card:hover { transform: none; }
    .wp-card:hover img { transform: none; }
}

/* Lost Icon Rush promo (2026-10-06) */
.wp-game { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 0; align-items: stretch; margin: 34px 0; border-radius: var(--wp-radius); overflow: hidden; background: var(--wp-card); border: 1px solid var(--wp-line); }
.wp-game-img { display: block; background: #0b1530; }
.wp-game-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wp-game-body { padding: 20px 22px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.wp-game-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--wp-green); }
.wp-game-kicker :where(i, svg) { width: 15px !important; height: 15px !important; }
.wp-game h2 { margin: 0; font-size: 20px; color: var(--wp-text); }
.wp-game p { margin: 0; color: var(--wp-muted); line-height: 1.55; font-size: 14.5px; max-width: 560px; }
.wp-game-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; padding: 9px 18px; border-radius: 999px; background: var(--wp-green); color: #fff !important; font-weight: 700; font-size: 14px; text-decoration: none; transition: background .15s; }
.wp-game-btn:hover { background: #2b8457; color: #fff !important; }
.wp-game-btn :where(i, svg) { width: 15px !important; height: 15px !important; }
@media (max-width: 700px) { .wp-game { grid-template-columns: 1fr; } .wp-game-img { aspect-ratio: 760 / 320; } }
