/*
 * T67 desktop-only visual refresh.
 * The original SPA bundle and component structure remain untouched.
 */
@media (min-width: 901px) {
  .site {
    --bg: #0f1015;
    --panel: #181a20;
    --panel-2: #1f222a;
    --header: rgba(15, 16, 21, .88);
    --text: #f3f4f6;
    --muted: #9ca3af;
    --line: rgba(255, 255, 255, .07);
    --shadow: 0 14px 34px rgba(0, 0, 0, .2);
    --pink: #6366f1;
    background:
      radial-gradient(circle at 7% 36%, rgba(79, 70, 229, .08), transparent 27%),
      radial-gradient(circle at 88% 16%, rgba(56, 189, 248, .07), transparent 23%),
      #0f1015;
  }

  .site-header {
    background: rgba(15, 16, 21, .85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-image: none;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }

  .header-inner,
  .page-shell,
  .footer-inner {
    width: calc(100% - 48px);
    max-width: 1440px;
  }

  .nav-button {
    color: #9ca3af;
    font-size: 15px;
    position: relative;
  }

  .nav-button::after {
    content: "";
    position: absolute;
    right: 9px;
    bottom: 0;
    left: 9px;
    height: 2px;
    border-radius: 2px;
    background: #6366f1;
    transform: scaleX(0);
    transition: transform .18s ease;
  }

  .nav-entry:hover .nav-button,
  .nav-button:focus-visible {
    color: #fff;
  }

  .nav-entry:hover .nav-button::after,
  .nav-button:focus-visible::after {
    transform: scaleX(1);
  }

  .page-shell {
    padding-top: 18px;
  }

  .hero {
    height: 220px;
    display: block;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 16px;
    background: linear-gradient(135deg, #253642, #087e9e 46%, #5fc6cf 70%, #d8ad75);
  }

  .hero-2 {
    background: linear-gradient(135deg, #261a33, #6e316b 44%, #c5526d 72%, #f3ad65);
  }

  .hero-3 {
    background: linear-gradient(135deg, #172c32, #2d6b62 45%, #77b790 75%, #e5c984);
  }

  .hero-4 {
    background: linear-gradient(135deg, #222641, #3e4d9a 48%, #6574da 76%, #91a7ff);
  }

  .hero-copy {
    position: absolute;
    top: 50%;
    left: 54px;
    width: calc(65% - 92px);
    transform: translateY(-50%);
    text-align: left;
  }

  .hero-copy strong {
    font-size: 32px;
    line-height: 1.25;
  }

  .hero-copy p {
    margin-top: 10px;
  }

  .hero-arrow.prev {
    left: 14px;
  }

  .hero-arrow.next {
    right: 36%;
  }

  .hero-dots {
    right: 40%;
    bottom: 17px;
    left: auto;
  }

  .qdm-utility-promo {
    position: absolute;
    top: 28px;
    right: 28px;
    bottom: 28px;
    width: calc(35% - 42px);
    min-width: 330px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px;
    border: 1px solid rgba(129, 140, 248, .4);
    border-radius: 14px;
    background: linear-gradient(120deg, rgba(20, 25, 43, .92), rgba(30, 34, 51, .84));
    box-shadow: 0 16px 38px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .06);
    z-index: 2;
  }

  .qdm-utility-promo:hover {
    border-color: rgba(103, 232, 249, .55);
    transform: translateY(-1px);
  }

  .qdm-utility-promo img {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    object-fit: contain;
  }

  .qdm-utility-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
  }

  .qdm-utility-copy small {
    color: #a5b4fc;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2em;
  }

  .qdm-utility-copy strong {
    margin-top: 7px;
    color: #f3f4f6;
    font-size: 18px;
  }

  .qdm-utility-copy span {
    margin-top: 6px;
    color: #9ca3af;
    font-size: 12px;
  }

  .qdm-utility-action {
    margin-left: auto;
    color: #c7d2fe;
    font-size: 12px;
    white-space: nowrap;
  }

  .notice-strip,
  .floating-left {
    display: none;
  }

  .content-layout {
    grid-template-columns: minmax(0, 1fr) 336px;
    gap: 24px;
    margin-top: 22px;
  }

  .articles-grid {
    gap: 14px;
  }

  .article-card {
    min-height: 268px;
    padding: 0 10px 14px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 12px;
    background: #181a20;
    cursor: pointer;
  }

  .article-card:hover {
    background: #1f222a;
    border-color: rgba(129, 140, 248, .32);
    transform: translateY(-2px);
  }

  .window-dots {
    display: none;
  }

  .media-placeholder {
    width: calc(100% + 20px);
    height: auto;
    aspect-ratio: 16 / 9;
    margin-left: -10px;
    border: 0;
    border-radius: 11px 11px 0 0;
    background: linear-gradient(135deg, #1f2937, #151922);
  }

  .media-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .article-card h3 {
    margin-top: 12px;
  }

  .article-card .tag-row span {
    padding: 2px 8px;
    border: 1px solid rgba(99, 102, 241, .3);
    border-radius: 4px;
    color: #818cf8;
    background: rgba(99, 102, 241, .15);
    font-size: 12px;
  }

  .article-link {
    display: none;
  }

  .side-card,
  .ranking {
    border: 1px solid rgba(255, 255, 255, .07);
    background: #181a20;
  }

  .ranking {
    padding-top: 18px;
  }

  .ranking h3 {
    width: auto;
    margin: 0 0 18px;
    padding: 2px 0 2px 12px;
    border-left: 3px solid #6366f1;
    border-radius: 0;
    color: #f3f4f6;
    background: transparent;
    text-align: left;
  }

  .ranking li > b,
  .ranking-entry > b {
    background: #4f46e5;
  }

  .ranking-status {
    color: #6b7280;
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, .06);
  }

  .side-card > h2 {
    border-left: 3px solid #6366f1;
    padding-left: 10px;
  }

  .rankings {
    margin-inline: 0;
    gap: 16px;
  }

  .qdm-empty-card {
    min-height: 238px;
    pointer-events: none;
  }

  .qdm-empty-card .media-placeholder {
    height: auto;
  }

  .qdm-empty-lines {
    padding-top: 14px;
  }

  .qdm-empty-lines i {
    display: block;
    width: 78%;
    height: 8px;
    margin-bottom: 9px;
    border-radius: 8px;
    background: #293142;
  }

  .qdm-empty-lines i:last-child {
    width: 48%;
  }

  .article-hero {
    height: 170px;
    background: radial-gradient(ellipse at 50% 0%, rgba(79, 70, 229, .28) 0%, rgba(15, 16, 21, 1) 80%);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
  }

  .article-hero::after {
    display: none;
  }

  .article-hero-copy {
    margin-top: 0;
  }

  .article-hero-copy h1 {
    margin: 12px 0 8px;
    font-size: 28px;
  }

  .article-layout {
    width: calc(100% - 48px);
    max-width: 1200px;
    grid-template-columns: minmax(0, 840px) 336px;
    gap: 24px;
    padding-top: 24px;
  }

  .article-body,
  .related-section,
  .comments {
    border-color: rgba(255, 255, 255, .08);
    background: #181a20;
  }

  .download-box-free,
  .resource-card {
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    background: #181a20;
  }

  .freshness-notice time {
    padding: 2px 6px;
    border-radius: 4px;
    color: #fbbf24;
    background: rgba(245, 158, 11, .15);
  }

  .comments {
    display: none;
  }

  .site-footer a {
    color: #6b7280;
    background: transparent;
  }

  .site-footer a:hover {
    color: #fff;
  }

  .qdm-search-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(5, 7, 12, .72);
    backdrop-filter: blur(8px);
  }

  .qdm-search-dialog {
    width: min(560px, calc(100vw - 48px));
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    background: #181a20;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
  }

  .qdm-search-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
  }

  .qdm-search-head strong {
    font-size: 18px;
  }

  .qdm-search-close {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    color: #9ca3af;
    background: transparent;
    cursor: pointer;
  }

  .qdm-search-form {
    display: flex;
    gap: 10px;
  }

  .qdm-search-form input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 9px;
    outline: none;
    color: #f3f4f6;
    background: #0f1015;
  }

  .qdm-search-form input:focus {
    border-color: rgba(129, 140, 248, .7);
  }

  .qdm-search-form button {
    padding: 0 20px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    cursor: pointer;
  }

  .qdm-search-message {
    min-height: 18px;
    margin: 12px 0 0;
    color: #9ca3af;
    font-size: 12px;
  }
}
