/* Responsive composition only. Scene visuals and brick materials live elsewhere. */

@media (max-width: 1100px) and (min-width: 701px) {
  :root { --scene-gutter: 22px; }
  .level-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .game-layout { grid-template-columns: 126px minmax(0, auto) 74px; gap: 18px; }
  .game-board { width: min(68svh, calc(100vw - 300px), 540px); }
  .target-card { width: 126px; padding: 12px; }
  .game-actions,
  .flow-test-actions { width: 74px; }
  .round-action { width: 64px; }
  .editor-layout { grid-template-columns: minmax(460px, 1fr) 300px; gap: 18px; }
  .editor-canvas-card { grid-template-columns: 64px minmax(0, 1fr); padding: 18px; gap: 14px; }
  .editor-tool { width: 64px; }
  .editor-board { width: min(58svh, calc(100vw - 470px), 490px); }
  .editor-settings { padding: 18px; }
}

/* Phone portrait: designed around 320, 360, 390, and 430 CSS pixels. */
@media (max-width: 700px) {
  :root {
    --scene-gutter: 12px;
    --tap: 48px;
    --panel-radius: 18px;
    --mobile-dock-height: 68px;
  }

  html,
  body,
  .app-shell { width: 100%; max-width: 100%; }
  body {
    min-height: var(--app-height, 100dvh);
    overflow-x: clip;
    overscroll-behavior-y: none;
    -webkit-tap-highlight-color: transparent;
  }
  .app-shell {
    min-height: var(--app-height, 100dvh);
    overflow-x: clip;
    overflow-y: visible;
  }
  button,
  input,
  textarea { touch-action: manipulation; }
  input,
  textarea { font-size: 16px; }

  .scene {
    width: 100%;
    min-height: var(--app-height, 100dvh);
    padding:
      max(10px, env(safe-area-inset-top))
      max(var(--scene-gutter), env(safe-area-inset-right))
      max(22px, env(safe-area-inset-bottom))
      max(var(--scene-gutter), env(safe-area-inset-left));
    overflow-x: clip;
  }
  .scene-header {
    position: sticky;
    z-index: 40;
    top: calc(var(--viewport-offset-top, 0px) + env(safe-area-inset-top));
    width: 100%;
    min-height: 48px;
    margin-bottom: 14px;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 8px;
    background: linear-gradient(var(--bg) 76%, transparent);
  }
  .scene-header h2 {
    overflow: hidden;
    font-size: clamp(23px, 7.4vw, 30px);
    line-height: 1.06;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .scene-header .eyebrow {
    margin-bottom: 3px;
    overflow: hidden;
    font-size: 8px;
    letter-spacing: .13em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .icon-button,
  .level-step-button,
  .text-button { min-width: 48px; min-height: 48px; }

  /* Title resolves to a single usable viewport, safe areas included. */
  #titleScene {
    min-height: var(--app-height, 100dvh);
    padding:
      max(18px, env(safe-area-inset-top))
      max(18px, env(safe-area-inset-right))
      max(18px, env(safe-area-inset-bottom))
      max(18px, env(safe-area-inset-left));
    grid-template-rows: minmax(0, 1fr) auto;
    align-content: stretch;
  }
  .title-content { width: 100%; min-height: 0; grid-row: 1; }
  #titleScene .eyebrow { margin-bottom: clamp(10px, 2.1svh, 17px); }
  #titleScene h1 {
    margin-bottom: clamp(20px, 4svh, 32px);
    font-size: clamp(62px, 22vw, 98px);
    line-height: .76;
  }
  .title-copy {
    max-width: 290px;
    margin-bottom: clamp(29px, 6svh, 48px);
    font-size: 14px;
    line-height: 1.5;
  }
  #startButton { width: min(100%, 320px); min-height: 68px; font-size: 20px; }
  .title-bricks { opacity: .38; }
  .floating-brick:nth-child(n+9) { display: none; }
  .title-footer {
    position: static;
    grid-row: 2;
    align-self: end;
    font-size: 10px;
    letter-spacing: .16em;
  }

  /* Level select: two readable columns down to 320px. */
  #levelScene .scene-header { grid-template-columns: 48px minmax(0, 1fr) 48px; }
  .progress-panel {
    position: sticky;
    z-index: 35;
    top: calc(var(--viewport-offset-top, 0px) + env(safe-area-inset-top) + 58px);
    width: 100%;
    min-height: 76px;
    margin-bottom: 14px;
    padding: 12px 14px;
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
  }
  .progress-panel > div:first-child {
    min-width: 0;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }
  .progress-panel strong { font-size: 19px; }
  .progress-track { height: 10px; }
  .level-grid {
    width: 100%;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(9px, 3vw, 13px);
  }
  .level-card { min-height: 0; border-radius: 16px; }
  .level-card::before { inset: 7px; border-radius: 11px; }
  .level-card:not(:disabled):active { transform: scale(.97); }
  .level-number { top: 11px; left: 12px; font-size: clamp(31px, 10vw, 42px); }
  .level-name { top: 49px; left: 13px; font-size: 7px; }
  .lock-badge { top: 10px; right: 9px; padding-inline: 6px; font-size: 7px; }
  .level-silhouette {
    position: absolute;
    top: 15px;
    right: 8px;
    width: 55%;
    margin: 0;
    padding: 4px;
  }
  .level-stars { bottom: 7px; height: 35px; gap: 3px; }
  .level-stars .star,
  .level-stars .star:nth-child(2) { width: 22px; font-size: 24px; transform: none; }

  /* Game: board dominates; recurring actions live in the thumb zone. */
  #gameScene {
    min-height: var(--app-height, 100dvh);
    padding-top: max(6px, env(safe-area-inset-top));
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }
  .game-header {
    width: 100%;
    min-height: 48px;
    margin-bottom: 8px;
    grid-template-columns: 48px minmax(0, 1fr) 56px;
    gap: 6px;
  }
  .icon-button--levels { width: 48px; min-width: 48px; min-height: 48px; padding: 0; }
  .icon-button--levels b,
  .game-level-heading span,
  .move-counter span { display: none; }
  .game-level-nav { min-width: 0; min-height: 48px; padding: 3px; gap: 2px; }
  .game-level-heading { min-width: 42px; gap: 3px; }
  .game-level-heading strong { font-size: 22px; }
  .level-step-button { width: 44px; min-width: 44px; min-height: 44px; }
  .move-counter { min-width: 56px; min-height: 48px; padding: 6px; justify-content: center; }
  .move-counter strong { font-size: 24px; }
  .game-layout {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .target-card { display: none !important; }
  .board-stage { width: 100%; }
  .game-board {
    width: min(
      calc(100vw - max(24px, calc(env(safe-area-inset-left) + env(safe-area-inset-right)))),
      calc(var(--app-height, 100dvh) - 154px),
      560px
    );
    max-width: 100%;
  }
  .board-shadow { bottom: -11px; height: 24px; }
  [data-mobile-dock].game-actions {
    position: sticky;
    z-index: 30;
    bottom: max(4px, calc(env(safe-area-inset-bottom) - var(--keyboard-inset, 0px)));
    display: grid;
    width: min(100%, 430px);
    min-height: var(--mobile-dock-height);
    margin: 0 auto;
    padding: 7px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(142, 197, 255, .2);
    border-radius: 20px;
    background: rgba(12, 21, 35, .92);
    box-shadow: inset 0 1px rgba(255,255,255,.1), 0 12px 30px rgba(0,0,0,.46);
    backdrop-filter: blur(18px) saturate(1.2);
  }
  .round-action {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    max-height: 54px;
    aspect-ratio: auto;
    gap: 2px;
    border-radius: 15px;
    box-shadow: inset 0 1px rgba(255,255,255,.1), inset 0 -3px rgba(0,0,0,.2), 0 3px #080e19;
  }
  .round-action span { font-size: 20px; }
  .round-action b { font-size: 7px; letter-spacing: .04em; }
  .round-action--confirm { order: 3; }
  .round-action--target { display: grid !important; }
  .gesture-guide { display: none; }

  .game-dev-tools {
    position: relative;
    z-index: 31;
    width: fit-content;
    margin: 7px auto 0;
    padding: 0;
    border: 0;
    opacity: .55;
    background: none;
    filter: saturate(.6);
    transform: none;
  }
  .game-dev-tools summary {
    min-height: 44px;
    padding: 13px 12px;
    color: #aab8ca;
    font-size: 8px;
    text-align: center;
    cursor: pointer;
  }
  .game-dev-tools > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .game-dev-tools button { min-width: 88px; min-height: 44px; }

  /* Target uses an explicit backdrop and focusable popover. */
  .target-backdrop {
    position: fixed;
    z-index: 94;
    inset: 0;
    width: 100%;
    border: 0;
    background: rgba(5,9,18,.62);
    backdrop-filter: blur(3px);
  }
  .target-close { display: grid; min-width: 44px; min-height: 44px; place-items: center; border: 0; color: #fff; background: transparent; font-size: 24px; }
  #gameScene.is-target-open .target-card {
    position: fixed;
    z-index: 95;
    top: max(66px, calc(env(safe-area-inset-top) + var(--viewport-offset-top, 0px) + 58px));
    left: 50%;
    display: grid !important;
    width: min(276px, calc(100vw - 24px));
    min-height: 196px;
    max-height: calc(var(--app-height, 100dvh) - 90px);
    margin: 0;
    padding: 13px 14px;
    grid-template-columns: minmax(0, 1fr) 80px;
    grid-template-rows: auto auto auto auto;
    gap: 7px 13px;
    overflow: auto;
    align-items: center;
    border-color: rgba(133, 199, 255, .65);
    transform: translateX(-50%);
    box-shadow: inset 0 2px rgba(255,255,255,.15), 0 18px 60px rgba(0,0,0,.75);
  }
  #gameScene.is-target-open .target-label { margin: 0; grid-column: 1/-1; grid-row: 1; }
  #gameScene.is-target-open .target-label span { flex: 1; }
  #gameScene.is-target-open .stage-progress { margin: 0; grid-column: 1; grid-row: 2; }
  #gameScene.is-target-open .target-preview-wrap { width: 80px; grid-column: 2; grid-row: 2 / 5; align-self: center; }
  #gameScene.is-target-open .mini-board { width: 80px; padding: 5px; gap: 1px; }
  #gameScene.is-target-open .stage-next { margin: 0; grid-column: 1; grid-row: 3; }
  #gameScene.is-target-open .confirm-budget { margin: 0; grid-column: 1; grid-row: 4; }
  #gameScene.is-target-open .target-stars { margin: 0; grid-column: 1/-1; grid-row: 5; }
  .line-confirm-tray { top: -43px; min-width: 198px; min-height: 38px; }
  .special-effect-status { bottom: -37px; }

  /* Result becomes a safe-area-aware bottom sheet on phones. */
  .result-overlay {
    padding:
      max(12px, env(safe-area-inset-top))
      max(12px, env(safe-area-inset-right))
      max(12px, env(safe-area-inset-bottom))
      max(12px, env(safe-area-inset-left));
    align-items: end;
  }
  .result-card {
    width: min(100%, 430px);
    max-height: calc(var(--app-height, 100dvh) - max(24px, calc(env(safe-area-inset-top) + env(safe-area-inset-bottom))));
    padding: 36px 18px 20px;
    border-radius: 25px;
    overscroll-behavior: contain;
  }
  .result-card h2 { font-size: clamp(39px, 13vw, 54px); }
  .result-stars { min-height: 66px; margin: 18px auto 8px; padding: 7px 10px 9px; gap: 6px; }
  .result-stars .star,
  .result-stars .star:nth-child(2) { width: 45px; font-size: 50px; }
  .result-summary { margin: 11px 0 17px; font-size: 13px; }
  .result-actions { gap: 9px; }
  .result-actions .brick-button { min-height: 56px; padding-inline: 9px; font-size: 12px; }

  /* Editor is one reading column with sticky palette and save dock. */
  #editorScene {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }
  #editorScene .scene-header { grid-template-columns: 48px minmax(0, 1fr) 48px; }
  .editor-layout { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .editor-canvas-card {
    display: grid;
    width: 100%;
    min-width: 0;
    padding: 13px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    gap: 11px;
  }
  .editor-card-title { grid-column: 1; grid-row: 1; }
  .editor-card-title span { display: none; }
  .editor-tools { display: grid; grid-column: 1; grid-row: 2; grid-template-columns: 1fr 1fr; gap: 8px; }
  .editor-tool { width: 100%; min-height: 48px; }
  .editor-board {
    width: min(100%, calc(100vw - 50px), 500px);
    max-width: 100%;
    grid-column: 1;
    grid-row: 3;
  }
  .palette {
    position: sticky;
    z-index: 20;
    bottom: max(6px, calc(env(safe-area-inset-bottom) - var(--keyboard-inset, 0px)));
    width: 100%;
    max-width: 100%;
    min-height: 62px;
    margin: 2px auto 0;
    padding: 7px;
    grid-column: 1;
    grid-row: 4;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 7px;
    border: 1px solid rgba(142,197,255,.18);
    border-radius: 17px;
    background: rgba(10,18,31,.92);
    box-shadow: 0 12px 28px rgba(0,0,0,.42);
    backdrop-filter: blur(16px);
    scrollbar-width: none;
  }
  .palette::-webkit-scrollbar { display: none; }
  .palette-swatch { width: clamp(44px, 12vw, 50px); min-width: 44px; min-height: 44px; }
  .editor-settings { width: 100%; max-height: none; padding: 15px; overflow: visible; gap: 14px; }
  .editor-settings input,
  .editor-settings select { min-height: 50px; }
  .editor-settings fieldset { padding: 12px 9px; gap: 7px; }
  .editor-utility-buttons { grid-template-columns: 1fr; }
  .editor-utility-buttons .text-button { min-height: 48px; font-size: 9px; }
  [data-mobile-dock].editor-buttons {
    position: fixed;
    z-index: 60;
    right: max(var(--scene-gutter), env(safe-area-inset-right));
    bottom: 0;
    left: max(var(--scene-gutter), env(safe-area-inset-left));
    width: auto;
    max-width: 430px;
    margin-inline: auto;
    padding: 12px 5px max(13px, env(safe-area-inset-bottom));
    border-radius: 17px;
    background: linear-gradient(transparent, rgba(16,23,37,.98) 18%);
  }
  .editor-buttons .brick-button { min-height: 58px; }
  .editor-output { min-height: 120px; }
  .editor-danger-zone {
    align-items: stretch;
    flex-direction: column;
  }
  .editor-danger-zone #resetProgressButton {
    width: 100%;
    min-height: 48px;
  }

  .is-keyboard-open [data-mobile-dock].game-actions,
  .is-keyboard-open .palette { position: static; }
  .is-keyboard-open [data-mobile-dock].editor-buttons { display: none; }
  .is-keyboard-open .title-footer { display: none; }
}

@media (max-width: 340px) {
  :root { --scene-gutter: 10px; }
  [data-mobile-dock].game-actions { gap: 5px; padding-inline: 5px; }
  .round-action b { font-size: 6px; }
  .palette { width: 100%; gap: 5px; padding-inline: 5px; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .palette::-webkit-scrollbar { display: none; }
  .palette-swatch { width: 44px; min-width: 44px; }
  .editor-settings fieldset { grid-template-columns: 1fr; }
  .editor-generator { grid-template-columns: 1fr 1fr !important; }
  .editor-advanced-rules,
  .editor-special-rules { grid-template-columns: 1fr !important; }
  .editor-special-rules label:first-of-type { grid-column: auto; }
}

/* Compact portrait and split-screen windows. */
@media (max-width: 700px) and (max-height: 700px) and (orientation: portrait) {
  #titleScene h1 { font-size: clamp(58px, 20vw, 82px); }
  .title-copy { margin-bottom: 24px; }
  #startButton { min-height: 62px; }
  .game-board { width: min(calc(100vw - 24px), calc(var(--app-height, 100dvh) - 146px), 500px); }
  .game-layout { gap: 7px; }
  [data-mobile-dock].game-actions { min-height: 62px; padding-block: 5px; }
  .round-action { min-height: 48px; }
  .game-dev-tools { margin-top: 2px; }
  .game-dev-tools summary { min-height: 44px; padding-block: 12px; }
  #gameScene.is-target-open .target-stars { display: none; }
  #gameScene.is-target-open .target-card { min-height: 166px; }
  #gameScene.is-target-open .target-preview-wrap,
  #gameScene.is-target-open .mini-board { width: 58px; }
  .result-card { padding-top: 25px; }
  .result-kicker { margin-bottom: 7px; }
  .result-stars { min-height: 54px; margin-top: 10px; }
  .result-stars .star,
  .result-stars .star:nth-child(2) { width: 38px; font-size: 43px; }
  .result-summary { margin-block: 7px 12px; }
}

/* Phone landscape, including devices whose CSS width exceeds 700px. */
@media (max-width: 950px) and (max-height: 520px) and (orientation: landscape) {
  :root { --scene-gutter: 12px; --tap: 44px; }
  body,
  .app-shell { min-height: var(--app-height, 100dvh); overflow-x: clip; }
  .scene {
    min-height: var(--app-height, 100dvh);
    padding:
      max(7px, env(safe-area-inset-top))
      max(12px, env(safe-area-inset-right))
      max(8px, env(safe-area-inset-bottom))
      max(12px, env(safe-area-inset-left));
  }
  #titleScene { min-height: var(--app-height, 100dvh); }
  .title-content { min-height: 0; max-height: calc(var(--app-height, 100dvh) - 26px); }
  #titleScene .eyebrow { margin-bottom: 7px; }
  #titleScene h1 { margin-bottom: 14px; font-size: clamp(54px, 16svh, 78px); }
  .title-copy { margin-bottom: 17px; font-size: 13px; }
  #startButton { width: min(280px, 44vw); min-height: 54px; font-size: 17px; }
  .title-footer { right: max(12px, env(safe-area-inset-right)); bottom: max(9px, env(safe-area-inset-bottom)); left: auto; }
  .scene-header,
  .game-header { min-height: 44px; margin-bottom: 6px; }
  .scene-header h2 { font-size: 24px; }
  .level-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  #gameScene { min-height: var(--app-height, 100dvh); padding-block: max(5px, env(safe-area-inset-top)) max(5px, env(safe-area-inset-bottom)); }
  .game-header { width: min(100%, 690px); grid-template-columns: 44px 1fr 54px; }
  .icon-button--levels { width: 44px; min-width: 44px; min-height: 44px; padding: 0; }
  .icon-button--levels b,
  .game-level-heading span,
  .move-counter span { display: none; }
  .game-level-nav { min-height: 44px; padding: 1px 4px; }
  .level-step-button { width: 44px; min-width: 44px; min-height: 44px; }
  .move-counter { min-width: 54px; min-height: 44px; padding: 5px; justify-content: center; }
  .game-layout {
    display: grid;
    width: min(100%, 690px);
    grid-template-columns: minmax(0, auto) 58px;
    gap: 12px;
  }
  .target-card { display: none !important; }
  .target-backdrop {
    position: fixed;
    z-index: 94;
    inset: 0;
    width: 100%;
    border: 0;
    background: rgba(5,9,18,.62);
    backdrop-filter: blur(3px);
  }
  .target-close { display: grid; min-width: 44px; min-height: 44px; place-items: center; border: 0; color: #fff; background: transparent; font-size: 24px; }
  #gameScene.is-target-open .target-card {
    position: fixed;
    z-index: 95;
    top: calc(50% + var(--viewport-offset-top, 0px));
    left: 50%;
    display: grid !important;
    width: min(260px, calc(100vw - 32px));
    max-height: calc(var(--app-height, 100dvh) - 24px);
    padding: 13px;
    grid-template-columns: minmax(0, 1fr) 82px;
    gap: 9px;
    overflow: auto;
    transform: translate(-50%, -50%);
    box-shadow: inset 0 2px rgba(255,255,255,.15), 0 18px 60px rgba(0,0,0,.75), 0 0 0 999vmax rgba(5,9,18,.58);
  }
  #gameScene.is-target-open .target-label { margin: 0; grid-column: 1/-1; }
  #gameScene.is-target-open .stage-progress { margin: 0; grid-column: 1; }
  #gameScene.is-target-open .target-preview-wrap { width: 82px; grid-column: 2; grid-row: 2/5; }
  #gameScene.is-target-open .mini-board { width: 82px; padding: 5px; gap: 1px; }
  #gameScene.is-target-open .stage-next,
  #gameScene.is-target-open .confirm-budget,
  #gameScene.is-target-open .target-stars { margin: 0; grid-column: 1; }
  .game-board { width: min(calc(var(--app-height, 100dvh) - 68px), calc(100vw - 100px), 440px); }
  [data-mobile-dock].game-actions {
    position: static;
    display: grid;
    width: 58px;
    min-height: 0;
    margin: 0;
    padding: 4px;
    grid-template-columns: 1fr;
    gap: 4px;
    border: 1px solid rgba(142,197,255,.18);
    border-radius: 16px;
    background: rgba(12,21,35,.9);
  }
  .round-action { width: 48px; min-width: 48px; min-height: 44px; max-height: 48px; aspect-ratio: auto; gap: 1px; border-radius: 12px; }
  .round-action span { font-size: 16px; }
  .round-action b { font-size: 5.5px; }
  .round-action--target { display: grid !important; }
  .game-dev-tools,
  .gesture-guide { display: none; }

  .result-overlay {
    padding:
      max(8px, env(safe-area-inset-top))
      max(12px, env(safe-area-inset-right))
      max(8px, env(safe-area-inset-bottom))
      max(12px, env(safe-area-inset-left));
    align-items: center;
  }
  .result-card { width: min(520px, calc(100vw - 24px)); padding: 18px 24px 15px; }
  .result-kicker { margin-bottom: 6px; }
  .result-card h2 { font-size: 39px; }
  .result-stars { min-height: 48px; margin: 7px auto 4px; padding-block: 3px; }
  .result-stars .star,
  .result-stars .star:nth-child(2) { width: 34px; font-size: 39px; }
  .result-summary { margin: 5px 0 9px; }
  .result-actions .brick-button { min-height: 48px; }

  #editorScene { padding-bottom: max(8px, env(safe-area-inset-bottom)); }
  .editor-layout { grid-template-columns: minmax(300px, 1.25fr) minmax(228px, 1fr); gap: 8px; }
  .editor-canvas-card { padding: 11px; grid-template-columns: 54px minmax(0,1fr); gap: 8px; }
  .editor-card-title { grid-column: 1 / -1; }
  .editor-tools { grid-column: 1; grid-row: 2; flex-direction: column; }
  .editor-tool { width: 54px; min-height: 44px; }
  .editor-board { width: min(68svh, calc(50vw - 72px), 350px); grid-column: 2; grid-row: 2; }
  .palette { position: static; grid-column: 2; grid-row: 3; flex-wrap: wrap; }
  .editor-settings { max-height: calc(var(--app-height, 100dvh) - 58px); overflow: auto; }
  #resetProgressButton { min-height: 44px; }
  [data-mobile-dock].editor-buttons {
    position: sticky;
    right: auto;
    bottom: 0;
    left: auto;
    width: auto;
    max-width: none;
  }
}

/* Hover motion is a desktop affordance, not something touch devices inherit. */
@media (hover: none), (pointer: coarse) {
  .brick-button:hover,
  .icon-button:hover,
  .text-button:hover,
  .round-action:hover,
  .palette-swatch:hover,
  .level-card:not(:disabled):hover { filter: none; transform: none; }
}
