@media screen {
  .rk-home :where(.rk-compare, .rk-sheet-options)[open] > summary {
    margin-bottom: 8px;
    border-bottom: 1px dashed #8296b8;
    border-radius: 5px 5px 0 0;
  }

  .rk-home :where(.field input, #words, .field select, .word-table input):focus-visible {
    border-color: #224d9b;
    box-shadow: 0 0 0 3px #d7edff;
    outline-offset: 2px;
  }

  .rk-home :where(.editor-switch button, .versions button, .mode span) { border-radius: 5px; }
  .rk-home :where(.check, .subtle, .cover-link) { border-radius: 5px; }
}

@media screen and (hover: hover) {
  .rk-home :is(a.rk-outline, .rk-lesson-wall .rk-outline, a.primary, .rk-solid, .rk-shelf-button, button.primary, .secondary, .editor-switch button, .versions button):not(:disabled):hover {
    background-color: #b8dcff;
    color: var(--rk-night);
    border-color: var(--rk-night);
    box-shadow: 4px 5px 0 var(--rk-night), 0 9px 18px #1524402c;
  }

  .rk-home .rk-poster .rk-outline:hover,
  .rk-home .rk-shelf-button:hover,
  .rk-home button[data-load-list=bridge]:hover { background-color: #ffbaaa; }
  .rk-home .rk-shelf-button:hover,
  .rk-home button[data-load-list=bridge]:hover { box-shadow: 4px 5px 0 #92b8ec, 0 9px 18px #0e1c376b; }
  .rk-home .mode:hover span { background: #d7edff; box-shadow: 4px 4px 0 var(--rk-night); }
  .rk-home .mode:hover input:checked + span { background: var(--rk-lemon); }
  .rk-home .subtle:not(:disabled):hover { background: var(--rk-sky); box-shadow: inset 0 -2px 0 #7599ce; }
  .rk-home :is(.check, .column-picks label:not(:has(:disabled))):hover { background-color: #d2eaff; box-shadow: inset 0 -2px 0 #85a8d7; }
  .rk-home .remove-row:hover { background-color: #ffb49e; box-shadow: 2px 2px 0 var(--rk-night); }
  .rk-home :is(.field input, #words, .field select, .word-table input):hover { border-color: #224d9b; box-shadow: 0 0 0 2px #c2ddff; }
  .rk-home .word-table tbody tr:hover { background: #fff4bb; }

  .rk-home :is(.rk-spec-grid article, .rk-columns-guide article, .home-editorial article, .guide-card:not(.site-accordion), .quick-steps li, #compare-results > div):hover {
    background: #fff2aa;
    border-color: #335b99;
    box-shadow: 5px 6px 0 #89aada, 0 12px 20px #15244020;
  }

  .rk-home .rk-lesson-wall article:hover { background: #ffe580; box-shadow: 7px 8px 0 var(--rk-night), 0 15px 26px #15244030; }
  .rk-home .rk-lesson-wall article:nth-child(3):hover { background: #aad9ff; }
  .rk-home :is(.form-panel, .preview-panel):hover { border-color: #244a80; box-shadow: 6px 7px 0 #284c81, 0 16px 27px #15244025; }
  .rk-home #worksheet:hover { border-color: #315b99; box-shadow: inset 0 0 0 2px #d7edff; }
  .rk-home :is(.rk-spec-sheet, .rk-columns-guide, .rk-bridge, .guide-figure, .guide-note, .guide-cover):hover { box-shadow: 7px 8px 0 #8eacd6, 0 13px 22px #15244024; }
  .rk-home .guide-table tbody tr:hover { background: #fff2aa; }
  .rk-home .chapter-index a:hover, .rk-home .home-editorial-cta:hover { background: var(--rk-lemon); box-shadow: 3px 4px 0 #8eadd6; }
  .rk-home .cover-link:hover { color: var(--rk-lemon); box-shadow: inset 0 -2px 0 currentColor; }
  .rk-home :is(.rk-workbench-caption, .rk-shelf nav, .rk-shelf-base) a:hover { text-decoration-thickness: 2px; }
  .rk-home .rk-shelf-brand .rk-logo:hover { color: var(--rk-lemon); }
  .rk-home .rk-poster-facts > span:hover strong { color: #b8dcff; }
  .rk-home .rk-poster-rack span:hover { background: #fff088; box-shadow: 4px 6px 0 var(--rk-night); }
  .rk-home .rk-bridge-board span:hover { background: #fff4bc; box-shadow: 4px 6px 0 #0b1d36; }
  .rk-home :is(.rk-spec-sheet header, .rk-lesson-wall article, .guide-card):hover :is(.rk-spine, .rk-lesson-icon, h3 > span) { background: var(--rk-rose); box-shadow: 3px 5px 0 var(--rk-night); }
  .rk-home :is(.rk-compare, .rk-sheet-options, .site-accordion) > summary:hover { background: #ecf5ff; }
  .rk-home :is(.rk-compare, .rk-sheet-options, .site-accordion) > summary:hover::before { background: var(--rk-lemon); box-shadow: 3px 3px 0 currentColor; }
}

@media screen and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .rk-home :is(.rk-solid, .rk-outline, .rk-shelf-button, .primary, .secondary, .subtle, .cover-link, .editor-switch button, .versions button, .mode span, .remove-row, .check, .column-picks label, .field input, #words, .field select, .word-table input, .rk-spec-sheet, .rk-bridge, .rk-columns-guide, .rk-spec-grid article, .rk-columns-guide article, .rk-lesson-wall article, .home-editorial article, .home-editorial-cta, .guide-cover, .guide-figure, .guide-note, .guide-card, .quick-steps li, .chapter-index a, .form-panel, .preview-panel, #worksheet, #compare-results > div, .rk-poster-rack span, .rk-bridge-board span, .rk-lesson-icon, .rk-spine, .guide-card h3 > span, .rk-shelf .rk-logo img, .rk-bridge button > span, .rk-poster-actions a > span, .mode b, .rk-poster-facts strong, summary) {
    transition: transform .24s cubic-bezier(.22, 1, .4, 1), background-color .22s ease, box-shadow .22s ease, border-color .2s ease, color .2s ease;
  }

  .rk-home :is(.rk-solid, .rk-outline, .rk-shelf-button, .primary, .secondary, .editor-switch button, .versions button, .remove-row, .chapter-index a, .home-editorial-cta):not(:disabled):hover,
  .rk-home .mode:hover span {
    translate: none;
    transform: translateY(-3px) scale(1.025);
  }

  .rk-home :is(.rk-spec-grid article, .rk-columns-guide article, .rk-lesson-wall article, .home-editorial article, .guide-card:not(.site-accordion), .quick-steps li, #compare-results > div):hover {
    translate: none;
    position: relative;
    z-index: 1;
    transform: translateY(-5px) scale(1.015);
  }

  .rk-home :is(.rk-solid, .rk-outline, .rk-shelf-button, .primary, .secondary, .editor-switch button, .versions button, .remove-row):not(:disabled):active,
  .rk-home .mode:active span {
    transform: translate(2px, 2px) scale(.99);
    box-shadow: 1px 1px 0 var(--rk-night);
  }

  .rk-home .rk-shelf .rk-logo:hover img { transform: rotate(-9deg) scale(1.16); }
  .rk-home .rk-poster-actions a:hover > span, .rk-home .rk-bridge button:hover > span { transform: translate(3px, -2px) scale(1.2); }
  .rk-home .rk-poster-facts > span:hover strong { transform: translateY(-2px) scale(1.08); }
  .rk-home .rk-poster-rack span:hover { transform: translateY(-8px) rotate(-8deg) scale(1.12); }
  .rk-home .rk-bridge-board span:hover { transform: translateY(-5px) rotate(-3deg) scale(1.05); }
  .rk-home :is(.rk-spec-sheet header, .rk-lesson-wall article, .guide-card):hover :is(.rk-spine, .rk-lesson-icon, h3 > span) { transform: rotate(-8deg) scale(1.12); }
  .rk-home :is(.rk-compare, .rk-sheet-options, .site-accordion) > summary::before { transition: background-color .2s ease, box-shadow .2s ease; }
  .rk-home :is(.rk-compare, .rk-sheet-options, .site-accordion) > summary::after { transition: transform .23s ease; }
  .rk-home details.site-accordion:hover { translate: none; }
}

@media screen and (hover: hover) and (max-width: 550px) and (prefers-reduced-motion: no-preference) {
  .rk-home :is(.rk-spec-grid article, .rk-columns-guide article, .rk-lesson-wall article, .home-editorial article, .guide-card:not(.site-accordion), .quick-steps li, #compare-results > div):hover { transform: translateY(-4px); }
}

@media screen and (prefers-reduced-motion: reduce) {
  .rk-home :is(.primary, .secondary, .versions button):active,
  .rk-home .mode:active span { transform: none; }
}
