/* Shared public discovery: warm paper, clear controls and the LaughParty cast. */
.lp-public .legal-content { overflow-wrap: anywhere; }
.lp-public .share-section { flex-wrap: wrap; min-width: 0; max-width: 100%; }
.lp-public .content-card .popart-wrap { flex: 0 0 140px; min-height: 140px; }
.lp-public .content-card .popart-image { height: 140px; object-fit: contain; margin-inline: auto; }
.lp-games-hub .games-layout { grid-template-columns: minmax(0, 1fr) 290px; }
.lp-games-hub .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.lp-games-hub .game-card { border: 1px solid #c4cfd9; box-shadow: none; border-radius: 12px; padding: 0; text-align: left; }
.lp-games-hub .game-card::before { display: none; }
.lp-games-hub .game-card-body { padding: 24px; align-items: start; }
.lp-games-hub .game-card-title { font-size: 28px; letter-spacing: -.03em; }
.lp-games-hub .game-card-desc { max-width: none; font-size: 14px; line-height: 1.6; }
.lp-games-hub .game-card-difficulty { justify-content: start; gap: 6px; }
.lp-games-hub .difficulty-label { display: none; }
.lp-games-hub .btn-play-game { border-radius: 8px; background: #203653; color: #fff; min-height: 44px; box-shadow: 0 3px 0 #14213d25; }
.lp-games-hub .filter-tab { border-radius: 7px; font-size: 14px; min-height: 44px; }
.lp-games-hub .filter-tab.active { background: #ce4036; border-color: #ce4036; }
.lp-games-hub .leaderboard-card { border: 1px solid #c4cfd9; box-shadow: none; border-radius: 12px; }
.lp-games-hub .leaderboard-header { background: #203653; }
.game-hub-art { position: relative; width: 100%; min-height: 190px; display: flex; align-items: center; padding: 16px 24px; }
.game-hub-art img:first-child { width: 62%; height: 150px; object-fit: contain; transform: rotate(-5deg); }
.game-hub-art img:last-child { position: absolute; right: 8px; bottom: 0; width: 45%; height: 180px; object-fit: contain; transform: rotate(5deg); }
@media (max-width: 960px) { .lp-games-hub .games-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 620px) { .lp-games-hub .games-grid { grid-template-columns: minmax(0, 1fr); } }
.game-feed-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid #9faec0; border-radius: 11px; background: #203653; color: #fff9f0; overflow: hidden; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.game-feed-card .game-feed-art { position: relative; min-height: 190px; background: var(--game-card-tint); padding: 24px; overflow: hidden; }
.game-feed-card .game-feed-scene { width: 60%; height: 160px; object-fit: contain; transform: rotate(-6deg); }
.game-feed-card .game-feed-mascot { position: absolute; width: 46%; height: 175px; object-fit: contain; right: 2%; bottom: -4px; transform: rotate(5deg); }
.game-feed-copy { padding: 24px; display: flex; flex-direction: column; flex: 1; align-items: start; }
.game-feed-label { font: 650 11px 'Inter', sans-serif; color: #c8ddee; margin-bottom: 10px; }
.game-feed-card h3 { font: 800 30px/1.1 'Outfit', sans-serif; letter-spacing: -.03em; margin: 0 0 10px; color: #fff9f0; }
.game-feed-card p { font: 15px/1.6 'Inter', sans-serif; color: #deebf7; margin: 0 0 22px; }
.game-feed-cta { display: inline-flex; align-items: center; gap: 12px; background: #ffda64; color: #14213d; border-radius: 7px; padding: 11px 15px; margin-top: auto; font: 750 14px 'Inter', sans-serif; min-height: 44px; }
.game-feed-card:hover { color: #fff; transform: translateY(-2px); box-shadow: 3px 4px 0 #14213d30; }
.game-feed-card:focus-visible { outline: 3px solid #2479b8; outline-offset: 4px; }
.lp-public :is(.about-page, .contact-page, .profile-page, .favorites-page, .submit-content-page) h1 { font-family: 'Outfit', sans-serif; font-size: clamp(34px, 4vw, 54px); line-height: 1.1; letter-spacing: -.04em; color: #14213d; }
.lp-public :is(.contact-form-wrapper, .info-card, .profile-card, .submit-form, .search-suggestions) { border: 1px solid #d9dfe4; border-radius: 12px; box-shadow: 0 4px 0 #14213d08; background: #fffdf9; }
.lp-public :is(.form-group input:not([type=checkbox]):not([type=radio]), .form-group select, .form-group textarea) { border: 1px solid #aebccb; border-radius: 8px; font-family: 'Inter', sans-serif; color: #14213d; min-height: 44px; }
.lp-public :is(.form-group input, .form-group select, .form-group textarea):focus-visible { outline: 3px solid #2479b8; outline-offset: 2px; }
.discovery-page .main-content > .container { max-width: 1380px; padding-inline: clamp(18px, 4vw, 58px); }
.discovery-page :is(.browse-page, .category-page, .search-page, .discover-categories-page) { max-width: none; margin-inline: auto; padding: 8px 0 30px; }
.lp-public .discover-hero { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; min-height: 210px; }
.lp-public .discover-hero > div { min-width: 0; }
.lp-public .discover-hero h1 { font: 850 clamp(34px, 4.3vw, 60px)/1.06 'Outfit', sans-serif; letter-spacing: -.04em; color: #14213d; margin: 0 0 15px; max-width: 900px; }
.lp-public .discover-hero p { font-size: 17px; line-height: 1.6; color: #40516b; margin: 0; max-width: 750px; }
.discover-hero > img { width: 190px; height: 190px; object-fit: contain; flex: 0 0 190px; }
.discover-types { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.discover-types a { display: block; padding: 11px 22px; min-height: 44px; background: #eaece9; border: 1px solid transparent; border-radius: 7px; color: #233452; font: 700 14px 'Inter', sans-serif; }
.discover-types a[aria-current] { color: #fff; background: #ce4036; border-color: #ce4036; }
.discover-types a:hover { border-color: #14213d; }
.discovery-page :is(.browse-filters, .category-filters) { display: flex; gap: 18px; align-items: end; background: #fffdf9; border: 1px solid #d6dce2; padding: 20px; border-radius: 10px; margin: 0 0 28px; }
.discovery-page .filter-group { flex: 1 1 180px; min-width: 0; }
.discovery-page .filter-group select { min-height: 44px; font-size: 14px; background: #fff; border-color: #aebccc; }
.discovery-page .filter-group label { font-size: 13px; }
.discovery-page .browse-filters .btn, .discovery-page .category-filters .btn { min-height: 44px; background: #ce4036; }
.discover-reset { color: #40516b; text-decoration: underline; font-size: 13px; padding: 13px 0; white-space: nowrap; }
.discover-results-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0 0 18px; }
.discover-results-heading h2 { font: 800 clamp(23px, 2.4vw, 32px)/1.15 'Outfit', sans-serif; letter-spacing: -.03em; margin: 0; }
.discover-results-heading > span { color: #506079; font-size: 14px; white-space: nowrap; }
.discovery-page .content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.discovery-page .content-card { border-color: #d5dce2; background: #fffdf9; border-radius: 11px; box-shadow: none; }
.discovery-page .content-card .content-card-image { height: 220px; }
.discovery-page .content-card .content-card-image img { width: 100%; height: 220px; object-fit: cover; }
.discovery-page .content-card--meme .content-card-image { height: auto; max-height: none; }
.discovery-page .content-card--meme .content-card-image img { height: auto; object-fit: contain; }
.discovery-page .content-card .content-card-body { padding: 22px; }
.discovery-page .content-card .content-title { font-size: 23px; line-height: 1.18; letter-spacing: -.025em; }
.discovery-page .content-card .content-excerpt { font-size: 14px; line-height: 1.65; color: #40516b; }
.discovery-page .content-card .content-footer { border-color: #e5e6e0; font-size: 12px; }
.discovery-page .content-card .popart-wrap { margin: 8px 0 12px; height: 140px; }
.discovery-page .content-card .popart-image { width: 100%; height: 140px; object-fit: contain; }
.lp-public .discover-game-promo { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 240px; padding: 30px; gap: 20px; color: #fff9f0; background: #203653; border: 1px solid #14213d; border-radius: 12px; overflow: hidden; }
.lp-public .discover-game-promo h2 { font: 800 clamp(27px, 2.7vw, 38px)/1.08 'Outfit', sans-serif; letter-spacing: -.035em; margin: 0 0 12px; max-width: 360px; color: #fff9f0; }
.discover-game-promo p { font-size: 15px; line-height: 1.5; max-width: 280px; margin: 0 0 20px; }
.discover-game-promo a { display: inline-flex; gap: 8px; align-items: center; color: #ffda64; font-weight: 750; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; min-height: 44px; }
.discover-game-promo > img { width: 160px; height: 170px; object-fit: contain; }
.discover-categories-page > .discover-game-promo :is(h2, p) { max-width: none; }
.content-grid .discover-game-promo { min-height: 350px; display: block; padding: 28px; }
.content-grid .discover-game-promo h2 { max-width: 230px; }
.content-grid .discover-game-promo img { display: block; margin: 14px 0 -20px auto; }
.lp-public .discover-trail { display: flex; align-items: center; justify-content: space-between; gap: 30px; background: #ffe38b; border: 1px solid #e8c358; border-radius: 12px; padding: 28px 32px; margin: 24px 0 36px; }
.discover-trail h2 { font: 800 27px/1.15 'Outfit', sans-serif; letter-spacing: -.03em; color: #14213d; margin: 0 0 6px; }
.discover-trail p { font-size: 14px; color: #40516b; margin: 0; }
.discover-trail nav { display: flex; flex-wrap: wrap; gap: 10px; }
.discover-trail a { display: inline-flex; align-items: center; gap: 10px; background: #fffdf9; border: 1px solid #647083; border-radius: 7px; padding: 11px 14px; min-height: 44px; color: #14213d; font-size: 13px; font-weight: 750; white-space: nowrap; }
.discover-trail a:hover { box-shadow: 0 3px 0 #14213d; transform: translateY(-2px); }
.discover-category-search { display: flex; align-items: end; gap: 14px; margin: 4px 0 24px; }
.discover-category-search[hidden] { display: none; }
.discover-category-search > div { width: min(440px, 70%); }
.discover-category-search label { display: block; font-size: 13px; font-weight: 750; margin-bottom: 7px; }
.discover-category-search input { width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid #aab9c8; border-radius: 8px; background: #fff; font: 15px 'Inter', sans-serif; }
.discover-category-search button { min-height: 48px; padding: 10px 18px; color: #14213d; background: #fff; border: 1px solid #aab9c8; border-radius: 8px; cursor: pointer; font: 650 14px 'Inter', sans-serif; }
.discover-category-search > span { margin-left: auto; padding: 12px 0; color: #506079; font-size: 14px; }
.discover-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-bottom: 30px; }
.discover-category { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 26px 28px; min-height: 185px; background: var(--category-tint); border: 1px solid #14213d25; border-radius: 12px; color: #14213d; transition: box-shadow .15s, transform .15s; }
.discover-category[hidden] { display: none; }
.discover-category h2 { font: 800 29px/1.15 'Outfit', sans-serif; letter-spacing: -.025em; margin: 0 0 9px; }
.discover-category p { color: #40516b; font-size: 14px; line-height: 1.5; margin: 0 0 12px; }
.discover-category span { display: inline-flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 700; }
.discover-category img { width: 140px; height: 140px; object-fit: contain; flex-shrink: 0; }
.discover-category:hover { color: #14213d; box-shadow: 3px 4px 0 #14213d30; transform: translateY(-2px); }
.discover-no-match { padding: 24px; border: 1px dashed #8797a7; border-radius: 10px; }
.lp-public :is(.discover-types, .discover-trail, .discover-game-promo, .discover-category-search, .discover-category-grid) :is(a, input, button):focus-visible, .discover-category:focus-visible { outline: 3px solid #2479b8; outline-offset: 4px; }
.discovery-page .category-header .discover-hero { padding-block: 0; }
.discovery-page .search-input-wrapper { border: 1px solid #9daec0; border-radius: 10px; padding: 8px 8px 8px 18px; }
.discovery-page .search-input-wrapper input { min-width: 0; width: 100%; font-size: 16px; }
.discovery-page .pagination { align-items: center; gap: 12px; }
@media (max-width: 1050px) {
    .discovery-page .content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-public .discover-trail { flex-direction: column; align-items: start; gap: 20px; }
    .discover-category img { width: 105px; height: 125px; }
    .discover-category { padding: 24px; }
}
@media (max-width: 700px) {
    .lp-public .discover-hero { gap: 10px; min-height: 0; padding: 24px 0; }
    .lp-public .discover-hero h1 { font-size: 37px; }
    .lp-public .discover-hero p { font-size: 15px; }
    .discover-hero > img { width: 95px; height: 120px; flex-basis: 95px; }
    .discover-types { gap: 7px; }
    .discover-types a { padding: 11px 15px; font-size: 13px; }
    .discovery-page :is(.browse-filters, .category-filters) { gap: 12px; padding: 16px; }
    .discovery-page .filter-group { flex-basis: calc(50% - 12px); }
    .discovery-page .filter-group:first-child { flex-basis: 100%; }
    .discovery-page .browse-filters .btn { width: auto; flex: 1; }
    .discover-results-heading { align-items: end; }
    .discover-results-heading h2 { font-size: 24px; }
    .discover-category-grid { grid-template-columns: 1fr; gap: 15px; }
    .discover-category { min-height: 160px; padding: 22px; }
    .discover-category h2 { font-size: 26px; }
    .discover-category-search { flex-wrap: wrap; }
    .discover-category-search > div { flex: 1; width: auto; }
    .discover-category-search > span { flex-basis: 100%; padding: 0; }
    .lp-public .discover-game-promo { padding: 24px; }
    .discover-game-promo > img { width: 110px; height: 150px; }
    .lp-public .discover-trail { padding: 24px; }
    .discover-trail nav { width: 100%; }
    .discover-trail a { flex: 1 1 130px; justify-content: space-between; }
}
@media (max-width: 500px) {
    .discovery-page .content-grid { grid-template-columns: minmax(0, 1fr); }
    .discovery-page .content-card:not(.content-card--joke):not(.content-card--meme) { flex-direction: column; }
    .discovery-page .content-card:not(.content-card--joke):not(.content-card--meme) .content-card-image { width: 100%; height: 220px; }
    .discovery-page .content-card:not(.content-card--joke):not(.content-card--meme) .content-card-image img { height: 220px; }
    .discovery-page .content-card:not(.content-card--joke):not(.content-card--meme) .content-card-body { padding: 22px; }
    .discovery-page .content-card:not(.content-card--joke):not(.content-card--meme) .content-title { font-size: 23px; }
    .lp-public .discover-hero { position: relative; padding-top: 90px; }
    .discovery-page .category-header .discover-hero { padding-top: 90px; }
    .discover-hero > img { position: absolute; right: 0; top: 0; height: 94px; }
    .discovery-page .discover-hero h1 { font-size: 39px; }
    .lp-public .discover-game-promo { align-items: start; }
    .discover-game-promo > img { width: 85px; height: 130px; }
    .discover-category img { width: 90px; height: 115px; }
    .discover-category { gap: 10px; padding: 20px 18px; }
    .discover-results-heading > span { font-size: 12px; }
    .lp-public .discover-trail { margin-block: 12px 26px; }
}
@media (prefers-reduced-motion: reduce) {
    .discover-category, .discover-trail a { transition: none; transform: none; }
}
