*, *::before, *::after { box-sizing: border-box; }

body {
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: contain;
  font-family: 'Inter', sans-serif;
  background: #ffffff;
}

::-webkit-scrollbar { display: none; }

.screen {
  display: none;
  flex-direction: column;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.screen.active { display: flex; }

.shutter-ring {
  box-shadow: 0 0 0 3px #ffffff, 0 0 0 5px #000000;
}

@keyframes shutter-flash {
  0%   { opacity: 0; }
  20%  { opacity: 1; }
  100% { opacity: 0; }
}
#shutter-flash {
  pointer-events: none;
  animation: none;
}
#shutter-flash.blink {
  animation: shutter-flash 0.35s ease-out forwards;
}

#roll-name {
  min-width: 4ch;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s;
}
#roll-name:focus {
  outline: none;
  border-bottom-color: #F8AB35;
}

.filter-btn {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.70);
  background: rgba(0,0,0,0.38);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.filter-btn.active {
  color: #fff;
  background: rgba(248,171,53,0.90);
  border-color: #F8AB35;
}

.modal-filter-btn {
  color: #6b7280;
  background: transparent;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 0.6rem 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
  -webkit-tap-highlight-color: transparent;
}
.modal-filter-btn.mf-active {
  color: #1a1c1c;
  background: #F8AB35;
  border-color: #F8AB35;
}

@keyframes spin { to { transform: rotate(360deg); } }
