/* Reference component styles must win over retained legacy anchor defaults. */
body.alt5 a.tools-card{font-family:var(--body-font)!important;font-weight:400!important;color:var(--ink)!important}
body.alt5 a.tools-card:not(.is-current){background-color:var(--surface)!important}
body.alt5 .news-article-content .review-table-wrap{background-color:#edf1ef;color:#50616b}

/* Match the supplied prose palette; preserve semantic table headers. */
body.alt5 .news-article-content p{color:#50616b!important}
@media(max-width:480px){body.alt5 .top-sites-heading h2{font-size:10px}}

body.alt5 .news-article-content table.alt5-plain-table{color:#50616b}
body.alt5 [data-pdh-newsletter-consent]{display:flex!important;align-items:flex-start;gap:8px;width:100%;flex-basis:100%;font:400 13px/1.6 var(--body-font);color:#c1d4e0;text-align:left;margin:12px 0}
body.alt5 [data-pdh-newsletter-consent] input{flex:0 0 18px!important;width:18px!important;height:18px!important;margin:2px 0!important;accent-color:#238099}
body.alt5 [data-pdh-newsletter-consent] a{color:#9ed6e5;text-decoration:underline}

/* Reference author panel styles remain available after critical-CSS pruning. */
body.alt5 .news-author-box{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:start;gap:23px;margin:18px 0 0;padding:27px;border:1px solid #cbd6d7;border-radius:14px;background:linear-gradient(135deg,#f7f8f6,#edf1ef)}
body.alt5 .news-author-box>*{min-width:0}
body.alt5 .news-author-box>a:has(img){display:block;width:76px;height:76px;overflow:hidden;border:1px solid #cbd6d7;border-radius:50%;background:#f7f8f6}
body.alt5 .news-author-box a>img{display:block;width:100%;height:100%;object-fit:contain}
body.alt5 .news-author-box h2{margin:1px 0 10px;color:#1d2931;font-size:18px;font-weight:600;line-height:1.4;letter-spacing:-.25px;text-wrap:initial}
body.alt5 .news-author-box h2 a{color:inherit}
body.alt5 .news-author-box h2 a:hover{color:#1c6a7f}
body.alt5 .news-author-box p{margin:0;color:#50616b;font-size:14px;line-height:1.85}
@media(max-width:1180px){body.alt5 .news-author-box{gap:20px;padding:25px}}
@media(max-width:760px){body.alt5 .news-author-box{grid-template-columns:65px minmax(0,1fr);gap:20px;padding:24px}body.alt5 .news-author-box>a:has(img){width:65px;height:65px}body.alt5 .news-author-box h2{font-size:17px}body.alt5 .news-author-box p{font-size:13px}}
@media(max-width:480px){body.alt5 .news-author-box{grid-template-columns:55px minmax(0,1fr);gap:16px;padding:23px 21px}body.alt5 .news-author-box>a:has(img){width:55px;height:55px}body.alt5 .news-author-box h2{margin-bottom:8px;font-size:17px}body.alt5 .news-author-box p{font-size:13px;line-height:1.8}}

body.alt5 .article-faq-item{margin:12px 0;border:1px solid #c5d3d5;border-radius:10px;background:#f6f8f6;overflow:hidden}
body.alt5 .article-faq-item summary{padding:16px 18px;font-weight:600;color:#1c6a7f;cursor:pointer;line-height:1.5}
body.alt5 .article-faq-item summary:hover,body.alt5 .article-faq-item summary:focus-visible{background:#d6e9eb}
body.alt5 .article-faq-answer{padding:0 18px 18px;color:#42545e;font-size:15px;line-height:1.8}

body.alt5 .category-guide .alt5-guide-content{max-width:860px}
body.alt5 .category-guide .alt5-guide-content>.guide-section:first-child>h2:first-child{margin-top:0}

body.alt5 .alt5-search-page{max-width:1180px;margin:auto;padding:48px 24px;min-height:50vh;color:#1d2931;overflow-wrap:anywhere}
body.alt5 .alt5-search-page h1{font-size:clamp(28px,4vw,44px);line-height:1.2;color:#1d2931}
body.alt5 .alt5-search-page form{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}
body.alt5 .alt5-search-page input{min-width:0;flex:1 1 190px;padding:12px;border:1px solid #8098a4;border-radius:8px;background:#fff;color:#1d2931}
body.alt5 .alt5-search-page article{padding:24px 0;border-bottom:1px solid #bacccd}
body.alt5 .alt5-search-page article h2{font-size:22px;line-height:1.4;margin:0 0 8px}
body.alt5 .alt5-search-page a{color:#16586b}
body.alt5 .alt5-search-page p{color:#50616b;line-height:1.7}
body.alt5 .alt5-search-page article p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
/* 14 November itemized review, scoped to the corresponding reference components. */
body.alt5 :is(.poker-room-availability,.category-room-availability)>span,body.alt5 .promo-country,body.alt5 .review-availability{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;line-height:1.5}
body.alt5 .alt5-country-flag{display:inline-block!important;flex:0 0 22px!important;width:22px!important;height:22px!important;object-fit:contain!important;vertical-align:middle}
body.alt5 .alt5-status-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}
body.alt5 .poker-room-features li>span svg{width:14px;height:14px;stroke:currentColor;stroke-width:1.7;vertical-align:middle}
body.alt5 .country-control .select-wrap,body.alt5 .category-country-control .select-wrap{display:flex;align-items:center;flex-wrap:nowrap!important;min-height:40px;gap:8px}
body.alt5 .select-wrap select{min-width:0;flex:1;width:auto}
body.alt5 .alt5-ranking-note{display:block;flex-basis:100%;font:400 11px/1.5 var(--body-font);color:#50616b;margin-top:8px;max-width:38em}
body.alt5 .country-control{flex-wrap:wrap}
body.alt5 button.selected-chip{display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:4px 9px;border:1px solid #8eb7bd;border-radius:5px;background:#23809914;color:#1c6a7f;font:400 11px/1.5 var(--body-font)}
body.alt5 .review-sidebar .top-sites-heading h2 .sidebar-country-name{display:block;font-size:17px;font-weight:600;line-height:1.6}
body.alt5 .category-faq .faq-item>summary{padding:22px 23px;color:#1d2931;font-size:15px;font-weight:500;line-height:1.7}
body.alt5 .category-faq .faq-answer{padding:0 23px 23px;color:#50616b}
body.alt5 .news-tags{display:flex;align-items:baseline;flex-wrap:wrap;gap:10px;margin-top:30px;padding-block:20px;border-top:1px solid #cbd6d7}
body.alt5 .news-tags h2{margin:0;color:#50616b;font-size:13px;font-weight:500;line-height:1.6}
body.alt5 .news-tags>a{padding:4px 8px;border:1px solid #8eb7bd;border-radius:5px;color:#1c6a7f;background:#edf1ef;font-size:11px;line-height:1.5}
body.alt5 .pdh-tool-content .wrap{width:calc(100% - 64px);max-width:1240px}
body.alt5 .tools-collection-heading h2{font-size:42px!important;font-weight:650!important;line-height:1.15!important}
body.alt5 .pdh-tool-content label{line-height:1.55!important}
body.alt5 .promotion-sidebar [data-alt5-related-promotions]{margin-top:30px}
body.alt5 .promotion-sidebar .news-telegram{margin-top:30px}
@media(max-width:760px){body.alt5 .pdh-tool-content .wrap{width:calc(100% - 40px)}body.alt5 .tools-collection-heading h2{font-size:28px!important}body.alt5 .category-faq .faq-item>summary{padding:19px 20px;font-size:14px}body.alt5 .category-faq .faq-answer{padding:0 20px 20px}body.alt5 .review-sidebar .top-sites-heading h2 .sidebar-country-name{font-size:14px}}
body.alt5 .category-guide .article-faq-item{margin:12px 0;border:1px solid #cbd6d7;border-radius:12px;background:#f7f8f6;overflow:hidden}
body.alt5 .category-guide .article-faq-item[open]{border-color:#8eb7bd;background:#f7f8f6}
body.alt5 .category-guide .article-faq-item>summary{display:flex;align-items:center;justify-content:space-between;gap:23px;padding:22px 23px;color:#1d2931;font-size:15px;font-weight:500;line-height:1.7;list-style:none;cursor:pointer}
body.alt5 .category-guide .article-faq-item>summary::-webkit-details-marker{display:none}
body.alt5 .category-guide .article-faq-item>summary::after{display:block;content:"";width:8px;height:8px;flex:0 0 8px;margin-right:3px;border-right:1.5px solid #8eb7bd;border-bottom:1.5px solid #8eb7bd;transform:rotate(45deg) translateY(-2px);transition:transform .2s}
body.alt5 .category-guide .article-faq-item[open]>summary::after{transform:rotate(225deg) translate(-2px,-2px)}
body.alt5 .category-guide .article-faq-answer{padding:0 23px 23px;color:#50616b;font-size:15px;line-height:1.85}
@media(max-width:760px){body.alt5 .category-guide .article-faq-item>summary{gap:18px;padding:19px 20px;font-size:14px}body.alt5 .category-guide .article-faq-answer{padding:0 20px 20px;font-size:14px}}

/* Customer 760/761: normal page flow for long sidebars and distinct active/focus states. */
.review-sidebar-inner,.news-sidebar-inner{max-height:none!important;overflow:visible!important;position:static!important}.review-sidebar,.news-sidebar{align-self:start;position:static!important}.news-category-links a[aria-current="page"]{background:#238099;color:#fff;border-color:#238099}.news-category-links a:focus-visible{outline:3px solid #000e23;outline-offset:3px}.news-story-card .news-story-excerpt,.promo-card .promo-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}

.tools-group{margin-block:28px}.tools-group>h3{font-size:22px;color:#0a1b31;margin-block:0 14px}.tools-card h4{font-size:21px;line-height:1.25;margin:0;font-weight:650}@media(max-width:600px){.tools-group .tools-card-grid{display:block}.tools-group .tools-card{display:flex!important;flex-direction:row!important;align-items:center;gap:10px;padding:14px!important;margin-bottom:8px;min-height:0!important}.tools-group .tools-card h4{font-size:15px;flex:1}.tools-group .tools-card p,.tools-group .tools-card-number,.tools-group .tools-card-link svg{display:none}.tools-group .tools-card-link{font-size:12px!important;margin:0!important}}

.pdh-language-status{margin:0;padding:8px 20px;background:#0a1b31;color:white;text-align:center;font-size:14px}.pdh-language-status:empty{display:none}.pdh-language-status[data-error=true]{background:#7e301f}

.guide-section h2[id],.pdhq-cat-content h2[id]{scroll-margin-top:115px}

@media(max-width:480px){.comparison-toolbar{flex-wrap:wrap}.comparison-toolbar>.country-control{min-width:0;max-width:100%}.comparison-toolbar>.comparison-actions{min-width:0;max-width:100%}}

/* Lewis review, 18 November. Compact offers with visible significant conditions. */
body.alt5 .advanced-filters{grid-template-columns:repeat(5,minmax(0,1fr));align-items:start;gap:20px;padding:22px}
body.alt5 .advanced-filters fieldset{min-width:0;margin:0;padding:0;border:0}
body.alt5 .advanced-filters legend{float:none;width:100%;padding:0 0 10px;font-size:13px;line-height:1.5;font-weight:600;text-transform:capitalize}
body.alt5 .advanced-filters label{display:flex;align-items:flex-start;gap:8px;margin:0;padding:7px 0;font-size:13px;line-height:1.5;cursor:pointer;overflow-wrap:anywhere}
body.alt5 .advanced-filters input{flex:0 0 16px;width:16px;height:16px;margin:2px 0 0;accent-color:#238099}
body.alt5 .portrait-room-rail{align-items:stretch}
body.alt5 .poker-room-body{flex:1;padding:24px 21px 20px}
body.alt5 .poker-room-offers{display:grid;grid-template-rows:minmax(45px,auto) minmax(56px,auto);gap:8px;padding:0;border-bottom:0}
body.alt5 .poker-room-offers>div{gap:12px;align-items:baseline}
body.alt5 .poker-room-offers dt{font-size:12px;line-height:1.5}
body.alt5 .poker-room-offers dd{font-size:16px;line-height:1.4;max-width:75%;text-wrap:pretty}
body.alt5 .poker-room-offers>div:last-child dd{font-size:20px}
body.alt5 .poker-room-terms,body.alt5 .category-room-info .poker-room-terms,body.alt5 .review-bonus-terms{margin:14px 0 0;padding:12px 0 0;border-top:1px solid #23809940;font-size:12px;line-height:1.6;color:#50616b;overflow-wrap:break-word}
body.alt5 .poker-room-terms a{color:#155b6d;text-decoration:underline;text-underline-offset:2px}
body.alt5 .poker-room-features{gap:8px;padding:16px 0;margin:0}
body.alt5 .poker-room-features li{font-size:12px;line-height:1.6}
body.alt5 .poker-room-availability{margin-top:auto;padding:12px 0;font-size:11px;gap:6px}
body.alt5 .top-sites-panel{container-type:inline-size}
body.alt5 .top-sites-panel .top-site{grid-template-columns:18px 44px minmax(0,1fr);column-gap:10px;row-gap:8px;padding:16px 20px}
body.alt5 .top-sites-panel .top-offer{grid-column:3;min-width:0;text-align:left;max-width:none}
body.alt5 .top-sites-panel .top-offer-line{justify-content:flex-start;align-items:flex-start}
body.alt5 .top-sites-panel .top-offer-line strong{white-space:normal;font-size:13px;line-height:1.5}
body.alt5 .top-sites-panel .top-rakeback{font-size:11px;line-height:1.5}
body.alt5 .top-site-terms{grid-column:2/-1;font-size:12px;line-height:1.5;color:#bdd3df;overflow-wrap:break-word}
@container(min-width:430px){body.alt5 .top-sites-panel .top-site{grid-template-columns:18px 44px minmax(0,1fr) minmax(110px,auto)}body.alt5 .top-sites-panel .top-offer{grid-column:4;max-width:190px;text-align:right}body.alt5 .top-sites-panel .top-offer-line{justify-content:flex-end;align-items:center}}
body.alt5 .review-quick-info>div{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;padding:12px 0}
body.alt5 .review-quick-info dd{text-align:left;min-width:0;font-size:12px}
body.alt5 .review-country-notes{margin-top:14px;padding-top:14px;border-top:1px solid #23809940}
body.alt5 .review-country-notes h3{margin:0 0 8px;font-size:13px;line-height:1.5;font-weight:600;color:inherit}
body.alt5 .review-country-notes p,body.alt5 .review-empty{font-size:12px;line-height:1.65;margin:0 0 8px;color:inherit}
body.alt5 .review-no-code{display:inline-block;font-size:13px;line-height:1.5;color:#50616b}
body.alt5 .review-toc summary{display:flex;align-items:center;gap:10px;cursor:pointer}
body.alt5 .review-toc-count{margin-left:auto;font-size:12px;color:#50616b}
body.alt5 .review-toc summary .chevron{flex-shrink:0}
@media(max-width:960px){body.alt5 .advanced-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){body.alt5 .advanced-filters{grid-template-columns:1fr;gap:18px;padding:18px}body.alt5 .advanced-filters fieldset{padding-bottom:14px;border-bottom:1px solid #23809930}body.alt5 .advanced-filters fieldset:last-child{border:0;padding:0}body.alt5 .advanced-filters label{min-height:36px}body.alt5 .poker-room-head{padding:22px 20px}body.alt5 .poker-room-logo{height:48px;margin-bottom:10px}body.alt5 .poker-room-logo img{height:46px}body.alt5 .poker-room-network{font-size:10px;max-width:calc(100% - 32px)}body.alt5 .top-sites-panel .top-site{padding:14px 16px}}
@media(max-width:360px){body.alt5 .poker-room-actions .button{min-height:58px}}

body.alt5 .advanced-filters .filter-options{max-height:250px;overflow:auto;padding-right:6px;scrollbar-width:thin;scrollbar-color:#23809966 transparent}

body.alt5 .review-offer-panel .review-bonus-terms{color:#bdd3df}
body.alt5 .top-site:hover .top-info h3,body.alt5 .top-site:focus-visible .top-info h3,body.alt5 .poker-room-head h3 a:hover,body.alt5 .poker-room-head h3 a:focus-visible{color:#79c9d9!important}
body.alt5 .category-room-info h3 a:hover,body.alt5 .category-room-info h3 a:focus-visible{color:#175e71!important}

body.alt5 .promotion-sidebar .pdh-sidebar-section{margin-top:26px}
body.alt5 .promotion-sidebar .alt5-location-note{font-size:12px;line-height:1.6;margin:14px 0 0;color:#50616b}
body.alt5 .promotion-sidebar .news-telegram{margin-top:26px;padding:22px;border:1px solid #2e5264;border-radius:14px;background:linear-gradient(140deg,#133344,#0a2031)}
body.alt5 .promotion-sidebar .news-telegram h2{font-size:19px;line-height:1.4;margin:0 0 10px;color:#e7f4fa}
body.alt5 .promotion-sidebar .news-telegram p{font-size:13px;line-height:1.7;margin:0 0 18px;color:#bad0de}

body.alt5 .advanced-filters .home-filter-group{min-width:0;border-bottom:1px solid #23809930}
body.alt5 .advanced-filters .home-filter-group>summary{padding:10px 2px;min-height:44px;font-size:13px;line-height:1.5;font-weight:600;cursor:pointer;list-style-position:inside}
body.alt5 .advanced-filters .home-filter-group fieldset{padding:0 0 10px;border:0}
body.alt5 .advanced-filters .filter-options{display:block}
@media(max-width:640px){body.alt5 .advanced-filters{gap:4px}body.alt5 .advanced-filters .home-filter-group:last-child{border:0}}

body.alt5 [data-replica-copy-code]{max-width:100%;white-space:normal;overflow-wrap:anywhere;height:auto;line-height:1.5}
body.alt5 .review-code-note{display:block;margin-top:8px;font-size:12px;line-height:1.6;color:#50616b}
body.alt5 .advanced-filters .home-filter-group>summary{display:flex;align-items:center;justify-content:space-between;gap:10px}
body.alt5 .advanced-filters .home-filter-group>summary::after{content:'+';font-size:18px;font-weight:400;color:#1b7187}
body.alt5 .advanced-filters .home-filter-group[open]>summary::after{content:'−'}

/* Compact country widget: full offer conditions remain on the linked review. */
body.alt5 .top-sites-panel .top-rakeback{display:flex;align-items:center;gap:7px;min-width:0;margin-top:5px}
body.alt5 .top-sites-panel .offer-rewards{flex:0 0 18px;width:18px;height:18px;stroke:currentColor;stroke-width:1.7}
body.alt5 .top-sites-panel .top-rakeback b{font-weight:500;overflow-wrap:anywhere}
@container(min-width:430px){body.alt5 .top-sites-panel .top-rakeback{justify-content:flex-end}}
/* Lewis's compact reference: room identity left, both offer lines right at every width. */
body.alt5 .top-sites-panel :is(#top-sites,#news-top-sites,.top-sites-list){display:block}
body.alt5 .top-sites-panel .top-site,body.alt5 .top-sites-panel #top-sites .top-site{grid-template-columns:12px 32px minmax(0,1fr) minmax(106px,1.05fr);grid-template-rows:auto;gap:6px;padding:14px 10px;border-right:0;border-bottom:1px solid var(--line)}
body.alt5 .top-sites-panel .top-rank{font-size:10px}
body.alt5 .top-sites-panel .top-logo{width:32px;height:32px}
body.alt5 .top-sites-panel .top-info h3{font-size:12px;line-height:1.4;overflow-wrap:break-word}
body.alt5 .top-sites-panel .top-info>div{display:flex;flex-wrap:wrap;column-gap:5px;row-gap:0;align-items:center}
body.alt5 .top-sites-panel .top-info .stars{font-size:9px;letter-spacing:0}
body.alt5 .top-sites-panel .top-rating{font-size:10px;white-space:nowrap}
body.alt5 .top-sites-panel .top-offer,body.alt5 .top-sites-panel #top-sites .top-offer{grid-column:4;grid-row:1;width:auto;max-width:none;padding-top:0;text-align:right}
body.alt5 .top-sites-panel .top-offer-line,body.alt5 .top-sites-panel #top-sites .top-offer-line{justify-content:flex-end;align-items:flex-start;gap:5px;min-height:0}
body.alt5 .top-sites-panel .top-offer-line strong{font-size:12px;line-height:1.5;overflow-wrap:break-word}
body.alt5 .top-sites-panel :is(.offer-gift,.offer-rewards){width:14px;height:14px;flex:0 0 14px;margin-top:2px}
body.alt5 .top-sites-panel .top-rakeback,body.alt5 .top-sites-panel #top-sites .top-rakeback{justify-content:flex-end;align-items:flex-start;gap:5px;min-height:0;font-size:11px}
@container(min-width:430px){
 body.alt5 .top-sites-panel .top-site,body.alt5 .top-sites-panel #top-sites .top-site{grid-template-columns:18px 44px minmax(0,1fr) minmax(150px,1.1fr);gap:10px;padding:16px 20px}
 body.alt5 .top-sites-panel .top-logo{width:44px;height:44px}
 body.alt5 .top-sites-panel .top-info h3{font-size:14px}
 body.alt5 .top-sites-panel .top-info .stars{font-size:11px}
 body.alt5 .top-sites-panel .top-offer-line strong{font-size:13px}
}

/* Lewis mobile offer-spacing feedback, 19 November. Keep facts and card actions intact. */
@media(max-width:640px){body.alt5 .poker-room-offers{grid-template-rows:auto auto;align-content:start;gap:10px}}

/* Task 796: translated copy must fit, controls must remain visible, single results centre. */
body.alt5 .hero-grid>*{min-width:0}
body.alt5 .hero h1,body.alt5 .hero h1 *{white-space:normal;text-wrap:wrap;overflow-wrap:anywhere}
body.alt5 .hero-actions .button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
body.alt5 .top-sites-panel .top-offer-line strong,body.alt5 .top-sites-panel .top-rakeback b{overflow-wrap:anywhere}
body.alt5 .rooms-carousel-footer .icon-button{display:inline-flex;align-items:center;justify-content:center;padding:0;flex-shrink:0}
body.alt5 .rooms-carousel-footer .icon-button svg{display:block;width:20px;min-width:20px;height:20px;flex:0 0 20px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body.alt5 .portrait-room-rail.is-single{justify-content:center}
body.alt5 .rooms-carousel-footer[hidden]{display:none}
body.alt5 .pdh-age-actions{grid-auto-rows:1fr}
