
@media (max-width: 959.98px) {
  .kit { --kh: max(520px, calc(100svh - var(--hh))); display: block; position: relative; height: var(--kh); min-height: 0; max-height: none;
    overflow: hidden; background: #15221D; }
  
  .kit .kit-stage { position: absolute; inset: 0; width: auto; height: auto; aspect-ratio: auto; margin: 0; background: #15221D;
    overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y; cursor: grab; outline: none; }
  .kit .kit-stage::-webkit-scrollbar { display: none; }
  .kit .kit-stage.k17-drag { cursor: grabbing; }
  .kit .kit-img { inset: auto; left: 0; top: 0; height: var(--kh); width: calc(var(--kh) * 2688 / 1513); max-width: none; object-fit: contain;
    object-position: 50% 50%; user-select: none; -webkit-user-drag: none; }
  .kit .kit-stage:focus-visible { outline: 2px solid #F2EBDF; outline-offset: -4px; }

  
  .kit .tray { position: absolute; z-index: 4; left: 10px; right: 10px; bottom: 10px; margin: 0; display: block; width: auto;
    padding: 9px 10px 10px; border: 0 !important; border-radius: 16px; box-shadow: none;
    background: rgba(63, 71, 64, .34); -webkit-backdrop-filter: blur(18px) saturate(1.15); backdrop-filter: blur(18px) saturate(1.15); }
  .kit .tray::before, .kit .tray::after { display: none !important; content: none !important; }
  .kit .tray-t { margin: 0 0 7px; font-size: 15px; line-height: 1.1; letter-spacing: .01em; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
  .kit .samples { display: grid; width: 100%; margin: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; justify-content: stretch; }
  .kit .sample img { height: 44px; aspect-ratio: auto; width: 100%; }
  .kit .s-n { left: 6px; right: 4px; bottom: 5px; font-size: 10.5px; line-height: 1.08; }
  .kit .sample[aria-pressed="true"] { outline-offset: 3px; }

  
  .k17-hint { position: absolute; z-index: 5; left: 50%; top: 14px; translate: -50% 0; display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 15px; border-radius: 999px; font-size: 13px; line-height: 1; letter-spacing: .02em; color: #F2EBDF; white-space: nowrap;
    background: rgba(63, 71, 64, .34); -webkit-backdrop-filter: blur(18px) saturate(1.15); backdrop-filter: blur(18px) saturate(1.15);
    opacity: 0; transition: opacity .7s ease; pointer-events: none; }
  .k17-hint::before, .k17-hint::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 0 1.5px 1.5px; rotate: 45deg; }
  .k17-hint::after { rotate: -135deg; }
  .kit.k17-hint-on .k17-hint { opacity: 1; }
}
@media (min-width: 960px) { .k17-hint { display: none; } }
