/* GizmoX: layout follows usable content width, including a persistent sidebar. */
.gx-site { --gx-page-gap: clamp(16px, 2.1vw, 32px); }
.gx-site *, .gx-site *::before, .gx-site *::after { box-sizing: border-box; }
.gx-site .gx-shell { width: 100%; max-width: 2040px; margin-inline: auto; padding: 0 16px !important; }
.gx-site .gx-shell-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; width: 100%; margin: 0; }
.gx-shell-main, .gx-shell-content, .gx-shell-content > main, .gx-shell-content > .row { min-width: 0; }
.gx-shell-content { container-name: gx-content; container-type: inline-size; }
.gx-shell-content > main, .gx-shell-content > .row { margin-inline: 0; }
.gx-shell-content > .row { --bs-gutter-x: 0; }
.gx-shell-content :is(h1,h2,h3,h4,h5,h6) { overflow-wrap: break-word; text-wrap: pretty; }
.gx-shell-content :is(input,textarea,select) { max-width: 100%; min-width: 0; font-size: 16px; }
.gx-shell-content :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,.btn) { min-height: 44px; }
.gx-shell-content :is(button,a,input,textarea,select,summary):focus-visible { outline: 2px solid #26d9ed; outline-offset: 3px; }
.gx-shell-content :is(img,video,iframe,canvas,svg) { max-width: 100%; }
.gx-shell-content :is(.flex-grow-1,.card-body,[class*=col-]) { min-width: 0; }

/* Drawer state and JavaScript use the same 1200px breakpoint. */
@media (max-width:1199.98px) {
  .gx-site .gx-shell-sidebar { position: static; width: 0; min-width: 0; padding: 0; }
  .gx-site .gx-shell-sidebar .off-cus { position: fixed; inset: 0 auto 0 0; z-index: 1045; width: min(320px, calc(100vw - 24px)) !important; max-width: calc(100vw - 24px); height: 100%; height: 100dvh; visibility: hidden; transform: translateX(-100%) !important; transition: transform .3s ease-in-out; }
  .gx-site .gx-shell-sidebar .off-cus.show { visibility: visible; transform: none !important; }
  .gx-site .gx-mobile-header.d-lg-none, .gx-site .gx-sidebar-mobile-head.d-lg-none { display: flex !important; }
  .gx-site .gx-mobile-header { top: 8px; margin-block: 8px 20px; padding: 10px 12px; border: 0; }
}
@media (min-width:1200px) {
  .gx-site .gx-shell { padding-left: 0 !important; padding-right: 24px !important; }
  .gx-site .gx-shell-layout { grid-template-columns: 280px minmax(0,1fr); gap: 24px; align-items: start; }
  .gx-site .gx-shell-sidebar { position: sticky; top: 0; width: 100%; }
  .gx-site .gx-shell-sidebar .off-cus { position: static; z-index: 1; width: 100% !important; max-width: none; height: 100vh; height: 100dvh; visibility: visible !important; transform: none !important; transition: none; }
  .gx-site .gx-mobile-header, .gx-site .gx-sidebar-mobile-head { display: none !important; }
}

/* A 1090px screen never creates four 170px-wide cards. */
.gx-shell-content .gx-feed-grid { --bs-gutter-x: 0; --bs-gutter-y: 0; display: grid; grid-template-columns: minmax(0,1fr); gap: 24px; margin: 0; padding: 0; }
.gx-shell-content .gx-feed-grid > .gx-feed-card { flex: none; width: 100%; max-width: 100%; min-width: 0; padding: 0; margin: 0 !important; }
.gx-shell-content .gx-feed-grid > :is(form,.gx-service,.gx-preview-note,.gx-preview-notice,.searchpage,.navigation,#dle-content,#dle-ajax-content) { grid-column:1/-1; width:100%; min-width:0; }
.gx-shell-content .gx-feed-grid > :is(.page_navigation,.pagination) { grid-column: 1/-1; width: 100%; }
.gx-feed-card > :is(.card,.glass-card,.glass-card2) { width:100%; height:100%; min-width:0; overflow:hidden; }
.gx-feed-card .btn { min-height: 44px; padding: 10px 16px !important; font-size: 14px; line-height: 1.4; white-space: normal; }
.gx-feed-card .justify-content-between { flex-wrap: wrap; gap: 12px; }
.gx-feed-card .badge { max-width: calc(100% - 16px); white-space: normal; font-size: 12px; line-height: 1.35; }
.gx-card-pcbuilds .img-pcbuild, .gx-card-pcbuilds .pc-img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.gx-card-pcbuilds .list-unstyled li { display: block; padding-left: 30px; position: relative; }
.gx-card-pcbuilds .list-unstyled li > i { position: absolute; left: 0; top: 0; width: 22px; margin: 0 !important; font-size: 20px; line-height: 1.2; }
.gx-card-news { grid-column: 1/-1; }
.gx-card-news .news-card { flex-direction: column !important; }
.gx-card-news .news-img-container, .gx-card-news .news-fix { width: 100% !important; max-width: 100%; height: auto !important; aspect-ratio: 16/9; position: relative; }
.gx-card-news .news-img-container img { width: 100%; height: 100%; object-fit: cover; }
.gx-card-news .news-card > .p-4 { flex: 1 1 0; min-width: 0; }
.gx-card-news .news-title { -webkit-line-clamp: 3; }
.gx-card-news .news-text { font-size: 15px; }
.gx-card-compare .row-cols-sm-2 { --bs-gutter-x: 12px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.gx-card-compare .row-cols-sm-2 > * { width: 100%; }
.gx-card-compare table { min-width:460px; font-size:14px; }
.gx-card-program .app-card > .d-flex { min-width:0; }
.gx-card-program .app-card > .d-flex > img { flex:0 0 48px; object-fit:cover; }
.gx-card-program .app-card > .d-flex > div { min-width:0; }
.gx-card-program .app-btn-bg { min-width:44px; min-height:44px; }
@container gx-content (min-width:580px) { .gx-shell-content .gx-feed-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@container gx-content (min-width:900px) { .gx-shell-content .gx-feed-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@container gx-content (min-width:1220px) { .gx-shell-content .gx-feed-grid { grid-template-columns: repeat(4,minmax(0,1fr)); } }
.gx-shell-content .gx-feed-grid--compare, .gx-shell-content .gx-feed-grid:has(.gx-card-compare) { grid-template-columns: minmax(0,1fr); }
@container gx-content (min-width:900px) { .gx-shell-content .gx-feed-grid--compare, .gx-shell-content .gx-feed-grid:has(.gx-card-compare) { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@container gx-content (min-width:700px) {
  .gx-card-news .news-card { flex-direction: row !important; }
  .gx-card-news .news-img-container, .gx-card-news .news-fix { flex: 0 0 32%; width: 32% !important; max-width: 32%; min-height: 250px; aspect-ratio: auto; }
}

/* Category search and real topic links share a wrapping toolbar. */
.gx-category-heading { padding-block: 24px !important; }
.gx-category-heading > .mb-5 { margin-bottom: 0 !important; }
.gx-category-heading p:empty { display: none; }
.gx-catalog-tools { display: flex; flex-wrap: wrap; gap: 20px; align-items: start; margin-bottom: 32px; }
.gx-catalog-search { flex: 1 1 320px; min-width: 0; max-width: 600px; }
.gx-catalog-search .input-group { display: flex; flex-wrap: nowrap; gap: 8px; }
.gx-catalog-search input[type=search] { flex: 1 1 0; width: 0; min-width: 0; padding: 12px 16px !important; border-radius: 10px !important; background: #141d2a; }
.gx-catalog-search button { flex: 0 0 auto; min-height: 48px; padding: 10px 18px; border: 0; border-radius: 10px !important; background: linear-gradient(110deg,#00b9d3,#713afa); color: white; font-weight: 600; white-space: nowrap; }
.gx-catalog-topics { display: flex; flex: 1 1 100%; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.gx-catalog-topics a { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 14px; border: 0; border-radius: 8px; background: #141c2a; color: #bfccdf; font-size: 14px; line-height: 1.4; text-decoration: none; }
.gx-catalog-topics a:hover, .gx-catalog-topics a[aria-current=page] { color: white; background: #25334c; }

/* Full publications keep a readable main column before adding an aside. */
.gx-shell-content .gx-article { width: 100%; max-width: 100%; padding-inline: 0; margin-inline: 0; }
.gx-shell-content .gx-article-layout { --bs-gutter-x: 0; display: grid; grid-template-columns: minmax(0,1fr); gap: 32px; margin-inline: 0; }
.gx-article-layout > .gx-article-main, .gx-article-layout > .gx-article-aside { width: 100%; max-width: 100%; padding-inline: 0 !important; margin-top: 0; min-width: 0; }
.gx-article-main { container-name: gx-article; container-type: inline-size; }
.gx-article-main > :is(article,.glass-card,.glass-card-full) { min-width: 0; }
.gx-article :is(.full-story,.gx-article-body,.share-content) { overflow-wrap:break-word; }
.gx-article .back-link { gap: 4px; min-height: 44px; font-size: 15px; }
.gx-article .full-story img, .gx-article-body img, .gx-fullstory .text img { display:block; max-width:100%; width:auto; height:auto !important; max-height:500px !important; aspect-ratio:auto !important; object-fit:contain !important; margin:0 auto; border-radius:10px; }
.gx-article :is(iframe,video) { display: block; width: 100%; max-width: 100%; height: auto !important; aspect-ratio: 16/9; border: 0; }
.gx-article :is(.table-overflow,.table-responsive) { width:100%; max-width:100%; overflow-x:auto; overscroll-behavior-inline:contain; -webkit-overflow-scrolling:touch; margin-block:0; }
/* Native newstyles.css owns table typography, cell spacing and decoration. */
.gx-article :is(td,th) { overflow-wrap: break-word; }
.gx-article :is(pre,code) { max-width: 100%; font-size: 14px; }
.gx-article pre { overflow-x: auto; white-space: pre; }
.gx-fullstory > .box_in { min-width:0; max-width:100%; }
.gx-fullstory :is(.story_icons,.meta ul) { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 0 0 18px; list-style: none; }
.gx-article-cover { position: relative; height: auto !important; max-height: none !important; border-radius: 14px !important; }
.gx-article-cover > img { display:block; width:100%; max-width:100%; height:auto !important; max-height:400px !important; aspect-ratio:auto !important; object-fit:contain !important; }
.gx-article-cover > .img-usti { position: static !important; padding: 12px 18px !important; margin: 0 !important; background: #10151e; }
.gx-article .gx-article-actions, .gx-article .tags, .gx-article .story_tools, .gx-article .meta, .gx-article .img-de { flex-wrap: wrap; gap: 12px !important; }
.gx-article-main > .d-flex, .gx-article-main > article > .d-flex, .gx-article-split > .d-flex > .mb-4 > .d-flex { flex-wrap: wrap; }
.gx-article-actions > * { min-width: 0; margin-right: 0 !important; }
.gx-article .tags a { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.gx-article .gx-article-split, .gx-article .gx-product-pair { --bs-gutter-x: 0; --bs-gutter-y: 0; display: grid; grid-template-columns: minmax(0,1fr); gap: 24px; margin-inline: 0; }
.gx-article .gx-article-split > *, .gx-article .gx-product-pair > * { width: 100%; min-width: 0; padding-inline: 0; margin-top: 0; }
.gx-pc-poster img { display:block; max-width:100%; height:auto; }
.gx-product-pair img { width: 100%; max-width: 100%; aspect-ratio: 4/3; height: auto !important; max-height: 240px; object-fit: contain !important; }
.gx-app-identity { flex-wrap: wrap; }
.gx-app-identity > img { flex: 0 0 80px; width: 80px; height: 80px; }
.gx-app-identity > .flex-grow-1 { flex: 1 1 180px; min-width: 0; }
.gx-screenshots { --bs-gutter-x: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-inline: 0; }
.gx-screenshots > * { width: 100%; padding: 0; }
.gx-screenshots img { width: 100%; height: auto; border-radius: 10px; }
.gx-article-aside > .sidebar-sticky { position: static; display: grid; grid-template-columns: minmax(0,1fr); gap: 24px; align-items:start; }
.gx-article-aside .sidebar-sticky > * { min-width:0; }
@container gx-content (min-width:1080px) {
  .gx-shell-content .gx-article-layout { grid-template-columns:minmax(0,2fr) minmax(0,1fr); gap:24px; align-items:start; }
  .gx-article-aside > .sidebar-sticky { display:block; }
}
@container gx-article (min-width:680px) { .gx-article .gx-article-split, .gx-article .gx-product-pair { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@container gx-article (max-width:450px) {
  .gx-article :is(p,li,blockquote), .gx-article :is(.full-story,.gx-article-body) { font-size: 16px; }
  .gx-article :is(.outline-gradient,.btn-gradient,.btn-neon) { padding-inline: 14px !important; max-width: 100%; white-space: normal; }
}

/* Generated DLE forms, comments and profile retain intrinsic field width. */
.gx-service, .gx-comment-form, .gx-comment { min-width: 0; max-width: 100%; }
.gx-service { margin-inline: auto; padding-block: 24px; }
.gx-service :is(.box_in,.page_form__inner) { min-width: 0; }
.gx-service :is(p,li,label,.wide), .gx-comment-form :is(p,label,.wide) { font-size: 16px; line-height: 1.65; }
.gx-service :is(.ui-form,.form-group), .gx-comment-form :is(.ui-form,.form-group) { min-width: 0; padding-left: 0; list-style: none; }
.gx-service .wide, .gx-comment-form .wide, .gx-service textarea { width:100%; min-width:0; }
.gx-service :is(.form-group,.combo_field) { margin-bottom: 16px; }
.gx-service :is(.combo,.form_submit,.c-captcha), .gx-comment-form :is(.combo,.form_submit,.c-captcha) { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.gx-service .combo_field, .gx-comment-form .combo_field { flex: 1 1 220px; min-width: 0; }
.gx-service-register > .glass-card, .gx-service-password, .gx-service-feedback > .p-5 { padding: clamp(20px,4vw,40px) !important; }
.gx-service-feedback { width: 100%; max-width: 880px; }
.gx-service-feedback .gx-captcha input { flex: 1 1 160px; width: auto !important; max-width: 260px; }
.gx-service-feedback .row { --bs-gutter-x: 16px; margin-inline: -8px; }
.gx-service .c-captcha input { flex: 1 1 150px; min-width: 0; max-width: 240px; }
.gx-service :is(.c-captcha,.gx-captcha) img { max-width: 100%; height: auto; }
.gx-service-search :is(table,tbody,tr) { max-width: 100%; }
.gx-service-search .searchtable > table { table-layout: fixed; }
.gx-service-search td.search { min-width: 0; padding: 12px; }
.gx-service-search td.search fieldset { min-width: 0; margin-bottom: 12px !important; }
.gx-service-search :is(input[type=text],input[type=search],select) { width: 100%; }
.gx-service-search :is(.bbcodes,input[type=button],input[type=reset]) { max-width: 100%; margin: 4px 8px 8px 0 !important; padding: 10px 14px; white-space: normal; }
.gx-service-search :is(#searchinput,#searchuser) { min-width: 0; }
.gx-service-pm #pm-menu { display: flex; flex-wrap: wrap; gap: 12px; }
.gx-service-pm #pm-menu > * { min-height: 44px; padding: 8px 14px; }
.gx-service-pm .pmlist { max-width: 100%; overflow-x: auto; }
.gx-service-pm :is(.pm-box,.story_tools) { display: flex; flex-wrap: wrap; gap: 16px; }
.gx-service-addnews :is(.bb-editor,.wseditor,.textarea), .gx-comment-form :is(.bb-editor,.wseditor,.textarea) { max-width: 100%; min-width: 0; }
.gx-service-stats > .row { --bs-gutter-x:0; display:grid; grid-template-columns:minmax(0,1fr); gap:20px; margin-inline:0; }
.gx-service-stats > .row > * { width:100%; padding-inline:0; min-width:0; }
.gx-service-stats :is(canvas,.card-body) { max-width:100%; min-width:0; }
.gx-service-stats .list-group-item { flex-wrap:wrap; gap:8px; }
.gx-service-static .text { overflow-wrap: break-word; }
.gx-service-static .text img { max-width: 100%; height: auto; }
.gx-service-static .text iframe { max-width: 100%; }
.gx-comment > .d-flex, .gx-comment .flex-grow-1 { min-width: 0; }
.gx-comment > .d-flex > img { flex: 0 0 40px; object-fit: cover; }
.gx-comment :is(.gx-comment-text,.gx-comment-text p) { font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
.gx-comment .gx-comment-actions { gap: 6px 12px !important; }
.gx-comment .gx-comment-actions :is(a,button,.btn) { min-height: 40px; }
.gx-comment :is(h4,.com-auth) { font-size: 15px !important; }
.gx-comment .gx-comment-text img { display: inline; max-width: 100%; height: auto; }
.gx-profile { max-width: 100%; }
.gx-profile :is(.gx-profile-information,.gx-profile-grid,.gx-profile-field-grid) { min-width: 0; }
.gx-profile input[type=file] { max-width: 100%; }
.gx-shell-main footer :is(p,li) { overflow-wrap:anywhere; }
.gx-shell-main footer .container { width: 100%; max-width: 100%; padding-inline: 0; }
.gx-shell-main footer .footer-grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
.gx-shell-content :is(.pagination,.page_navigation) { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; }
.gx-shell-content .page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
@container gx-content (min-width:680px) { .gx-shell-main footer .footer-grid { grid-template-columns: 2fr 1fr; } }
@container gx-content (min-width:700px) { .gx-service-stats > .row { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@container gx-content (min-width:1050px) { .gx-service-stats > .row:not(:has(canvas)) { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@container gx-content (max-width:680px) {
  .gx-service-search td.search { display: block; width: 100% !important; padding: 10px 0; }
  .gx-profile .gx-profile-grid { grid-template-columns: minmax(0,1fr); }
  .gx-profile .gx-profile-field-grid { grid-template-columns: minmax(0,1fr); }
  .gx-profile .gx-profile-field-wide { grid-column: 1/-1; }
}
@media (max-width:575.98px) {
  .gx-site .gx-shell { padding-inline: 12px !important; }
  .gx-mobile-header { gap: 8px; }
  .gx-mobile-brand { gap: 6px; }
  .gx-mobile-brand img:last-child { max-width: 125px; height: 21px; }
  .gx-menu-toggle { gap: 5px; padding: 8px 10px; }
  .gx-shell-content > section, .gx-shell-content > main > section { margin-bottom: 36px; }
  .gx-catalog-search button { padding-inline: 12px; }
  .gx-catalog-topics { gap: 8px; }
  .gx-catalog-topics a { padding-inline: 12px; }
  .gx-article { padding-top: 20px !important; }
  .gx-article .mb-5 { margin-bottom: 28px !important; }
  .gx-article-main > .mb-4 { margin-bottom: 24px !important; }
  .gx-service-register, .gx-service-password, .gx-service-feedback { margin-block: 20px !important; }
  .gx-service .form_submit { flex-direction: column; align-items: stretch; }
  .gx-service .form_submit > * { max-width: 100%; margin: 0; }
  .gx-comment > .d-flex > img { width: 32px; height: 32px; flex-basis: 32px; margin-right: 10px !important; }
  .gx-profile .gx-profile-information { grid-template-columns: minmax(0,1fr); row-gap: 4px; }
  .gx-profile-information dd { margin-bottom: 10px; }
}
@supports not (container-type:inline-size) {
  @media (min-width:700px) { .gx-shell-content .gx-feed-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
  @media (min-width:1000px) and (max-width:1199px) { .gx-shell-content .gx-feed-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
  @media (min-width:1500px) { .gx-shell-content .gx-feed-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } .gx-shell-content .gx-article-layout { grid-template-columns:minmax(0,2fr) minmax(0,1fr); gap:24px; } }
  @media (min-width:1800px) { .gx-shell-content .gx-feed-grid { grid-template-columns: repeat(4,minmax(0,1fr)); } }
  @media (min-width:900px) { .gx-shell-content .gx-feed-grid--compare, .gx-shell-content .gx-feed-grid:has(.gx-card-compare) { grid-template-columns: repeat(2,minmax(0,1fr)); } }
}
@media (prefers-reduced-motion:reduce) { .gx-site .gx-shell-sidebar .off-cus { transition: none; } }

/* AJAX may introduce DLE's content wrapper around the same card items. */
.gx-shell-content .gx-feed-grid > :is(#dle-content,#dle-ajax-content) { display:contents; }
.gx-shell-content .gx-feed-grid > :is(#dle-content,#dle-ajax-content) > .gx-feed-card { width:100%; max-width:100%; min-width:0; padding:0; margin:0 !important; }
.gx-shell-content .gx-feed-grid > :is(#dle-content,#dle-ajax-content) > :is(form,.gx-service,.navigation,.gx-preview-note,.gx-preview-notice,.page_navigation,.pagination) { grid-column:1/-1; width:100%; min-width:0; }

/* Generated form plugins stay inside the form without shrinking their text. */
.gx-service-addnews :is(.mce-tinymce,.tox-tinymce,.fr-box,.fr-wrapper,.fr-toolbar), .gx-comment-form :is(.mce-tinymce,.tox-tinymce,.fr-box,.fr-wrapper,.fr-toolbar) { max-width:100%; min-width:0; box-sizing:border-box; }
.gx-service-addnews :is(.mce-container,.mce-container-body,.tox-editor-container,.tox-toolbar,.tox-toolbar__primary) { max-width:100%; min-width:0; }
.gx-service-addnews :is(.mce-toolbar-grp,.bb-editor .bb-pane,.fr-toolbar .fr-btn-grp) { max-width:100%; overflow-x:auto; }
.gx-service-addnews .fr-toolbar .fr-command, .gx-comment-form .fr-toolbar .fr-command { margin-inline:1px; }
.gx-service :is(.g-recaptcha,.h-captcha) { max-width:100%; overflow-x:auto; overscroll-behavior-inline:contain; }
.gx-service :is(.gx-xfield-table,.gx-xfield-table tbody,.gx-xfield-table tr) { display:block; width:100%; min-width:0; }
.gx-service .gx-xfield-table td { display:block; width:100%; padding:6px 0; min-width:0; }
.gx-service .gx-xfield-table input:not([type=checkbox]):not([type=radio]), .gx-service .gx-xfield-table select, .gx-service .gx-xfield-table textarea { width:100%; max-width:100%; }
.gx-service-pm :is(.comment,.com_info,.com_user,.com_content) { min-width:0; max-width:100%; }
.gx-service-pm :is(.com_content,.signature,.com_user) { overflow-wrap:anywhere; }
.gx-service-pm .com_content :is(p,.text,.signature) { font-size:16px; line-height:1.75; }
.gx-service-pm .com_content img { max-width:100%; height:auto; }
.gx-service-pm .com_content :is(table,pre) { display:block; max-width:100%; overflow-x:auto; }
.gx-shell-content .navigation { max-width:100%; padding-inline:0 !important; }
.gx-shell-content .navigation .pages { min-width:0; max-width:100%; flex-wrap:wrap; gap:6px; }
.gx-shell-content .navigation :is(.pages > a,.pages > span,.page_prev .btn,.page_next .btn) { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; width:auto; height:auto; margin:0; padding:8px 10px; }
.gx-shell-content .navigation :is(.page_prev,.page_next) { flex:0 0 44px; }
.gx-shell-content .splitnewsnavigation { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-block:24px; }
.gx-shell-content .splitnewsnavigation :is(a,span) { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; padding:8px 12px; }

/* Account dialogs move to body, outside the content container. */
.gx-site.modal-open .modal-backdrop { z-index:1050 !important; }
.gx-site :is(#authModal,#userModalinfo) { overflow-wrap:break-word; }
.gx-site :is(#authModal,#userModalinfo) .modal-dialog { width:calc(100% - 24px); max-width:500px; margin-inline:auto; }
.gx-site :is(#authModal,#userModalinfo) .modal-content { min-width:0; }
.gx-site #authModal .modal-content { padding:0 !important; }
.gx-site :is(#authModal,#userModalinfo) :is(.modal-header,.modal-body,.modal-footer) { min-width:0; padding:20px; }
.gx-site #authModal .modal-header { position:relative; padding:24px 52px 4px 20px; }
.gx-site :is(#authModal,#userModalinfo) :is(input,button,.btn) { min-width:0; min-height:44px; font-size:16px; }
.gx-site :is(#authModal,#userModalinfo) input { max-width:100%; }
.gx-site :is(#authModal,#userModalinfo) .input-group { flex-wrap:nowrap; }
.gx-site :is(#authModal,#userModalinfo) .input-group input { flex:1 1 0; width:0; }
.gx-site :is(#authModal,#userModalinfo) .btn-close { flex:0 0 44px; width:44px; height:44px; min-height:44px; padding:12px; background-size:14px; }
.gx-site #authModal .eks-button { right:8px; top:8px; }
.gx-site #authModal #login_password { padding-right:48px; }
.gx-site #authModal .btn-eyes { z-index:5; width:44px; height:44px; padding:10px; }
.gx-site :is(#authModal,#userModalinfo) .modal-footer { display:flex; flex-wrap:wrap; gap:8px; }
.gx-site :is(#authModal,#userModalinfo) .modal-footer > * { margin:0; }
.gx-site #userModalinfo :is(.list-group-item a,h5) { overflow-wrap:anywhere; }
.gx-site #userModalinfo .list-group-item a { flex-wrap:wrap; gap:8px; min-height:44px; align-items:center; }
.gx-site :is(#authModal,#userModalinfo) :is(a,button,input):focus-visible { outline:2px solid #26d9ed; outline-offset:3px; }
@media (max-width:575.98px) {
  .gx-shell-content .navigation > .d-flex { grid-template-columns:44px minmax(0,1fr) 44px; gap:8px !important; }
  .gx-service-register .input-group { flex-wrap:wrap; }
  .gx-service-register .input-group input { flex:1 1 140px; min-width:0; }
  .gx-service-register .input-group button { flex:0 0 auto; }
  .gx-site :is(#authModal,#userModalinfo) :is(.modal-header,.modal-body,.modal-footer) { padding:18px; }
  .gx-site #authModal .modal-header { padding:24px 52px 0 18px; }
}

/* A message's own scroll container contains inline min-width tables. */
.gx-service-pm .gx-pm-message { width:100%; min-width:0; max-width:100%; overflow-x:auto; overscroll-behavior-inline:contain; -webkit-overflow-scrolling:touch; }
.gx-service-pm .gx-pm-message table { display:table; max-width:none; overflow:visible; }
.gx-service-pm .gx-pm-message pre { max-width:100%; overflow-x:auto; }
.gx-service-pm .gx-pm-message:focus-visible { outline:2px solid #26d9ed; outline-offset:3px; }

/* Zoom accounts for layout size as well as painting; the complete widget stays visible. */
.gx-captcha-field { width:100%; min-width:0; max-width:100%; }
.gx-site .g-recaptcha.gx-captcha-widget-zoom { width:var(--gx-captcha-width,304px) !important; max-width:none; overflow:visible; zoom:var(--gx-captcha-scale,1); }
.gx-site .g-recaptcha.gx-captcha-widget-scroll { width:100%; max-width:100%; overflow-x:auto; }

/* Keep the original desktop Features block across both grid columns. */
.gx-article-pcbuilds .gx-pc-features { grid-column:1 / -1; min-width:0; width:100%; }
.gx-pc-features .row > * { min-width:0; overflow-wrap:break-word; }
@media (max-width:575.98px) {
  .gx-shell-content h1 { font-size:clamp(24px,6vw,30px) !important; line-height:1.25; }
  .gx-article-main :is(.p-4,.p-5) { padding:18px !important; }
}

/* Keep the complete review poster inside its existing homepage card frame. */
.gx-home-reviews .gx-card-review .ratio > img { object-fit:contain !important; object-position:center; }

/* The native Bootstrap container is 1320px on wide desktop screens. */
@media (min-width:1400px) {
  .gx-shell-content .gx-article { max-width:1320px; margin-inline:auto; }
}
/* Compact phone/tablet cover frame; contain keeps the complete source image. */
@media (max-width:767.98px) {
  .gx-article-cover > img { max-height:240px !important; }
}
/* Below the two-column article breakpoint, keep the existing adaptive card grid. */
@container gx-content (max-width:1079.98px) {
  .gx-article-aside .sidebar-sticky > * { margin:0 !important; }
}

/* Proposal fragment: append after the existing responsive.css rules.
   Native DLE speedbar text, links and BreadcrumbList data remain unchanged. */
.gx-seo-breadcrumbs {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  min-inline-size: 0;
  max-inline-size: 100%;
  max-block-size: 3em;
  margin-block: 12px 8px;
  overflow: hidden;
  overflow-wrap: anywhere;
  white-space: normal;
  color: #9daec3;
  font-size: 13px;
  line-height: 1.5;
}

/* Remove only presentation wrappers, including legacy nowrap/fixed height.
   The anchor elements and their accessible names remain in the document. */
.gx-seo-breadcrumbs .speedbar,
.gx-seo-breadcrumbs .speedbar > .over {
  display: contents;
  height: auto;
  max-width: none;
  padding: 0;
  margin: 0;
  overflow: visible;
  white-space: normal;
  text-overflow: clip;
  line-height: inherit;
}

.gx-seo-breadcrumbs a {
  color: #a9c4d8;
  white-space: normal;
  overflow-wrap: anywhere;
  text-underline-offset: .18em;
}

/* Clamping is visual only; keyboard focus reveals every native link. */
.gx-seo-breadcrumbs:focus-within {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  max-block-size: none;
  overflow: visible;
}

.gx-seo-breadcrumbs a:hover,
.gx-seo-breadcrumbs a:focus-visible {
  color: #70e1ef;
}

.gx-seo-breadcrumbs a:focus-visible {
  outline: 2px solid #58d6e8;
  outline-offset: 2px;
  border-radius: 2px;
}

.gx-article .gx-article-backlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  max-inline-size: 100%;
  padding: 8px 13px;
  border: 0;
  border-radius: 10px;
  background: #102a33;
  color: #8de5ef;
  -webkit-text-fill-color: currentColor;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: background-color .15s ease, color .15s ease;
}

.gx-article .gx-article-backlink > .bi {
  flex: 0 0 auto;
  margin-inline-end: 0 !important;
  font-size: 16px;
}

.gx-article .gx-article-backlink:hover {
  background: #173d47;
  color: #d9fbff;
}

.gx-article .gx-article-backlink:focus-visible {
  outline: 2px solid #58d6e8;
  outline-offset: 3px;
  background: #173d47;
  color: #d9fbff;
}

@media (prefers-reduced-motion: reduce) {
  .gx-article .gx-article-backlink { transition: none; }
}

/* Category 46 only: universal, author-edited comparison HTML. */
.gx-comparison-body, .gx-comparison, .gx-comparison > * { min-width:0; max-width:100%; }
.gx-comparison { color:#fff; overflow-wrap:break-word; }
.gx-comparison-products { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-block:0 24px; }
.gx-comparison-products > * { min-width:0; }
.gx-comparison-products img { display:block; width:auto; max-width:100%; height:auto; max-height:180px; object-fit:contain; margin-inline:auto; }
.gx-comparison-products h2 { margin-bottom:12px; }
.gx-comparison-scroll { max-width:100%; overflow-x:auto; overscroll-behavior-inline:contain; -webkit-overflow-scrolling:touch; }
.gx-comparison-scroll:focus-visible { outline:2px solid #26d9ed; outline-offset:3px; }
.gx-comparison table { width:100%; min-width:540px; table-layout:fixed; border-collapse:collapse; margin-block:0 24px; background:transparent; }
.gx-comparison table :is(th,td) { width:auto; padding:12px 14px; vertical-align:top; text-align:left; color:#fff !important; background:transparent; border:0; border-bottom:1px solid rgb(255 255 255 / 10%); }
.gx-comparison table th:first-child { width:32%; }
.gx-comparison table :is(th,td).is-better { color:#6fe3a0 !important; background:transparent; }
.gx-comparison-table .gx-comparison-note { display:block; margin-top:6px; font-size:.875em; color:inherit; }
.gx-comparison-card-image { display:flex; align-items:center; justify-content:center; aspect-ratio:16/9; min-width:0; }
.gx-comparison-card-image img { width:100%; height:100%; max-height:220px; object-fit:contain; }
.gx-comparison-excerpt { overflow-wrap:break-word; }
.gx-comparison-excerpt > :last-child { margin-bottom:0; }
.gx-comparison-rec { min-width:0; }
.gx-comparison-rec img { width:32px; height:32px; object-fit:contain; }
.gx-comparison-rec h4 { min-width:0; overflow-wrap:break-word; }
@media(max-width:479.98px) { .gx-comparison-products { grid-template-columns:minmax(0,1fr); } }

/* Dedicated category-10 cards; shared short/review.tpl keeps its other users. */
.gx-card-review > .gx-review-card { display:flex; flex-direction:column; width:100%; height:100%; min-width:0; overflow:hidden; border:0; border-radius:14px; background:#0e131c; box-shadow:none; }
.gx-review-card__media { display:block; flex:none; width:100%; overflow:hidden; background:#0a0e15; }
.gx-review-card__media img { display:block; width:100%; max-width:100%; height:auto; max-height:220px; object-fit:contain; transform:none; border:0; }
.gx-review-card__body { display:flex; flex-direction:column; flex:1 1 auto; min-width:0; padding:14px 16px 16px; }
.gx-review-card__topline { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:8px; min-width:0; }
.gx-review-card__category { min-width:0; color:#99a9bd; font-size:12px; line-height:1.4; overflow-wrap:anywhere; }
.gx-review-card__category a { color:inherit; text-decoration:none; }
.gx-review-card__favorite { display:flex; flex:none; }
.gx-review-card__favorite a, .gx-review-card__favorite > span { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; color:#a78bfa; border-radius:8px; text-decoration:none; }
.gx-review-card__favorite a:hover { color:#d4c6ff; background:#1b2232; }
.gx-review-card__title { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; margin:0 0 10px; color:#edf3fb; font-size:16px; font-weight:600; line-height:1.4; }
.gx-review-card__title a { color:inherit; text-decoration:none; }
.gx-review-card__title a:hover { color:#7de1ee; }
.gx-review-card__excerpt { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; color:#9cabc0; font-size:13px; line-height:1.55; }
.gx-review-card__excerpt > * { margin:0; font:inherit; color:inherit; }
.gx-review-card__excerpt:empty { display:none; }
.gx-review-card__footer { margin-top:auto; padding-top:16px; }
.gx-review-card__meta { display:flex; align-items:center; flex-wrap:wrap; gap:14px; margin-bottom:12px; color:#a9b5c7; font-size:12px; line-height:1.4; }
.gx-review-card__meta span { display:inline-flex; align-items:center; gap:5px; }
.gx-review-card__meta .bi-star-fill { color:#f4bd3a; }
.gx-review-card__meta .bi-chat-dots, .gx-review-card__meta .bi-eye { color:#7193ad; }
.gx-review-card__read { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-height:44px; padding:10px 13px; border:0; border-radius:9px; background:#152733; color:#89e2ef; font-size:14px; font-weight:600; line-height:1.4; text-decoration:none; transition:background-color .15s ease, color .15s ease; }
.gx-review-card__read:hover { background:#1d3746; color:#d2f7fc; }
@media(max-width:575.98px) { .gx-review-card__favorite a, .gx-review-card__favorite > span { width:44px; height:44px; } }
@media(prefers-reduced-motion:reduce) { .gx-review-card__read { transition:none; } }

/* Optional category-46 card field compare_brief. Load after responsive.css. */
.gx-comparison-brief { width:100%; min-width:0; max-width:100%; color:#fff; }
/* More specific than legacy .gx-card-compare table { min-width:460px }. */
.gx-comparison-brief table.gx-comparison-brief-table,
.gx-comparison-brief table { width:100%; min-width:0; max-width:100%; table-layout:fixed; border-collapse:collapse; border:0; margin:0; background:transparent; font-size:14px; line-height:1.4; }
.gx-comparison-brief table :is(th,td) { min-width:0; padding:8px 6px; vertical-align:top; text-align:left; color:#fff !important; background:transparent; border:0; white-space:normal; overflow-wrap:anywhere; word-break:normal; }
.gx-comparison-brief table :is(th,td):first-child { width:36%; padding-left:0; }
.gx-comparison-brief table :is(th,td):nth-child(2),
.gx-comparison-brief table :is(th,td):nth-child(3) { width:32%; }
.gx-comparison-brief table :is(th,td):last-child { padding-right:0; }
.gx-comparison-brief table thead th { padding-top:0; font-weight:600; }
.gx-comparison-brief table tbody th { font-weight:400; }
.gx-comparison-brief table :is(th,td).is-better,
.gx-comparison-brief table :is(th,td).is-better * { color:#6fe3a0 !important; background:transparent; }
.gx-comparison-brief small { display:block; margin-top:4px; font-size:.875em; line-height:1.4; }

/* Preserve the existing image geometry after adding accessible gallery links. */
.gx-image-gallery-link { display:block; max-width:100%; cursor:zoom-in; }
.gx-image-gallery-link:focus-visible { outline:2px solid #26d9ed; outline-offset:4px; }
.gx-article-cover > .gx-image-gallery-cover > img { display:block; width:100%; max-width:100%; height:auto !important; max-height:400px !important; aspect-ratio:auto !important; object-fit:contain !important; }
.gx-app-identity > .gx-image-gallery-app { flex:0 0 80px; width:80px; }
.gx-app-identity > .gx-image-gallery-app > img { display:block; width:80px; height:80px; }
@media (max-width:767.98px) {
  .gx-article-cover > .gx-image-gallery-cover > img { max-height:240px !important; }
}
