:root {
  --subway-green-light: #34C759;
  --accent-purple: #6a0dad;
  --ios-green-btn: #34C759;
  --ios-green-on: #f3fff7;
  --kcal-muted: #8E8E93;
  --glass-bg: rgba(246,247,249,0.84);
  --glass-border: rgba(203,206,213,0.62);
  --glass-highlight: rgba(255,255,255,0.62);
  --glass-shadow: 0 18px 34px rgba(34,36,42,0.16);
  --glass-blur: 16px;
  --glass-sat: 135%;
}

html {
  background: #1b1f26;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, sans-serif;
  background: #F2F2F7;
  margin: 0;
  padding: 14px 20px 20px;
  color: #1C1C1E;
  line-height: 1.45;
  padding-bottom: calc(180px + env(safe-area-inset-bottom));
  -webkit-overflow-scrolling: touch;
  touch-action: manipulation;
  overscroll-behavior-y: contain;
}

body.modal-open {
  overflow: hidden;
}

.logo {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, system-ui;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  -webkit-font-smoothing: antialiased;
}

.logo .sub {
  color: #FFC20E;
  letter-spacing: -1px;
}

.logo .way {
  color: #00843D;
  letter-spacing: -1px;
}

.logo .title-sub {
  font-size: 18px;
  color: #596174;
  letter-spacing: 0;
  font-weight: 500;
  margin-left: 10px;
  transform: translateY(-1px);
}

.top-actions {
  position: fixed;
  top: calc(6px + env(safe-area-inset-top));
  right: 14px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  margin: 0;
}

.reset-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 0;
  margin-bottom: 10px;
}

.icon-symbol-btn {
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  width: auto;
  height: auto;
  padding: 0 2px;
  color: #656a73;
  font-size: 30px;
  line-height: 1;
  font-weight: 420;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.16s ease, transform 0.16s ease, opacity 0.16s ease;
}

.icon-symbol-btn:hover {
  color: #4f545f;
  transform: translateY(-1px);
  filter: none;
}

.icon-symbol-btn:active {
  transform: translateY(0);
}

.reset-btn {
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 999px;
  border: none;
  background: rgba(131,136,145,0.42);
  color: #ffffff;
  font-size: 19px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.reset-btn:hover {
  color: #ffffff;
  background: rgba(121,126,136,0.5);
}

.reset-btn:active {
  background: rgba(109,115,126,0.56);
}

.reset-btn.animating {
  animation: resetBtnSpin 0.38s cubic-bezier(.22,.61,.36,1);
}

.double-meat-label {
  font-size: 13px;
  color: #60697a;
  font-weight: 600;
  line-height: 1.1;
}

.card {
  background: var(--glass-bg);
  border-radius: 28px;
  padding: 20px 18px;
  margin-bottom: 20px;
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,0.58);
  border: none;
  position: relative;
  z-index: 0;
  transition: 0.15s ease;
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
}

.card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 28px;
  pointer-events: none;
  background: linear-gradient(180deg, var(--glass-highlight) 0%, rgba(255,255,255,0.14) 50%, rgba(255,255,255,0) 100%);
  opacity: 0.86;
}

/* Lean sections: title outside, only picker rows visible */
.option-section {
  margin-bottom: 20px;
}

.option-section-main {
  margin-bottom: 14px;
}

.section-head {
  margin-bottom: 4px;
}

.section-head-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-head-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section-head-inline {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.section-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.section-toggle-under {
  margin-top: 6px;
  justify-content: flex-end;
}

.section-picker-top {
  margin-top: 6px;
}

.section-title {
  font-size: 17px;
  font-weight: 700;
  color: rgba(47,51,60,0.92);
  line-height: 1.26;
  letter-spacing: 0.01em;
}

.section-subtitle {
  color: rgba(130,134,142,0.9);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.34;
  letter-spacing: 0.01em;
}

.section-subtitle-inline {
  white-space: nowrap;
}

label {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1c1c1e;
  display: flex;
  align-items: center;
}

select {
  width: 100%;
  margin-top: 12px;
  padding: 14px;
  border-radius: 28px;
  border: 1px solid #e5e5ea;
  background: #f9f9f9;
  color: #000;
  font-size: 17px;
  line-height: 1.4;
  min-height: 48px;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  z-index: 1;
  font-weight: 400;
  transition: all 0.15s ease;
  cursor: pointer;
  transform-origin: center;
  -webkit-tap-highlight-color: transparent;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%238e8e93' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}
select option {
  font-size: 17px;
}

select:hover {
  background-color: #fff;
  border-color: #d1d1d6;
}
select:active {
  background: #fff;
}

button:hover {
  filter: brightness(1.05);
}
button:active {
  filter: brightness(0.95);
}

button:focus-visible,
.picker-field:focus-visible {
  outline: 3px solid rgba(52,199,89,0.38);
  outline-offset: 3px;
}

.modal-search-input:focus-visible {
  outline: none;
}

select:focus {
  outline: none;
  border-color: var(--ios-green-btn);
  box-shadow: 0 0 0 2px rgba(47,168,79,0.22);
}

select:focus-visible {
  box-shadow: 0 0 0 2px rgba(47,168,79,0.22);
}

.picker-field {
  padding: 12px 12px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.44);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.26) 0%, rgba(230,236,245,0.16) 100%),
    radial-gradient(125% 125% at 8% -20%, rgba(255,255,255,0.68) 0%, rgba(255,255,255,0) 62%);
  color: rgba(40,49,63,0.92);
  font-size: 17px;
  line-height: 1.3;
  min-height: 48px;
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(22px) saturate(146%);
  -webkit-backdrop-filter: blur(22px) saturate(146%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.62);
  -webkit-tap-highlight-color: transparent;
}

.picker-field:not(.picker-field--plus) {
  padding-right: 12px;
}

.picker-field:not(.picker-field--plus)::after {
  content: none;
}

.picker-field-with-minus::after {
  content: none !important;
}

.picker-field::before {
  content: none;
}

.picker-field-fill {
  flex: 1;
}

.picker-field--placeholder {
  color: rgba(123,131,146,0.9);
}

.picker-field--plus {
  justify-content: center;
  text-align: center;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(136,145,160,0.9);
}

.picker-zh-line {
  display: block;
  line-height: 1.28;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.picker-en-break {
  display: block;
  margin-top: 3px;
  line-height: 1.28;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(94,103,119,0.88);
  font-size: 0.9em;
}

.picker-zh-inline {
  line-height: 1.28;
  letter-spacing: 0.005em;
}

.picker-en-inline {
  color: rgba(94,103,119,0.88);
  font-size: 0.82em;
  margin-left: 10px;
  letter-spacing: 0.01em;
  line-height: 1.28;
  display: inline-block;
  transform: translateY(0.6px);
}

.picker-field.picker-field--bilingual-break {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
}

.picker-field.picker-field--plus {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.26) 0%, rgba(230,236,245,0.16) 100%),
    radial-gradient(125% 125% at 8% -20%, rgba(255,255,255,0.68) 0%, rgba(255,255,255,0) 62%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.62);
}

.modal-search-input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 6px 0 10px;
  padding: 10px 12px 10px 44px;
  border-radius: 28px;
  border: 1px solid rgba(170,174,182,0.56);
  background-color: transparent;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='11' cy='11' r='6.5' stroke='%236a6f78' stroke-width='2.8' fill='none'/><line x1='15.7' y1='15.7' x2='20.2' y2='20.2' stroke='%236a6f78' stroke-width='2.8' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: 12px center;
  background-size: 18px 18px;
  color: #232933;
  font-size: 16px;
  outline: none;
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
}

.modal-search-input:focus {
  border-color: rgba(188,192,199,0.72);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.12);
}

.modal-item-title {
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.005em;
}

.modal-item-title.modal-title-break {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.modal-zh-inline {
  color: inherit;
  line-height: 1.28;
}

.modal-panel-title {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.3;
  margin-bottom: 8px;
  color: rgba(98,104,116,0.9);
}

.modal-en-inline {
  color: inherit;
  margin-left: 4px;
  font-size: 0.88em;
  letter-spacing: 0;
  line-height: 1.3;
  display: inline-block;
  transform: translateY(0.5px);
}

.modal-en-break {
  display: block;
  color: inherit;
  font-size: 0.88em;
  line-height: 1.3;
  letter-spacing: 0.01em;
  margin-top: 2px;
}

.item-efficiency {
  font-size: 11px;
  color: var(--kcal-muted);
}

.modal-recent-hint {
  font-size: 10px;
  color: #74809a;
  padding: 6px 12px 6px;
  letter-spacing: 0.2px;
  line-height: 1;
}

.modal-recent-shortcuts {
  padding: 4px 12px 10px;
  border-bottom: 1px solid #e7e8ed;
  margin-bottom: 2px;
}

.modal-recent-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.modal-recent-row::-webkit-scrollbar {
  display: none;
}

.modal-recent-btn {
  border: 1px solid rgba(47,168,79,0.35);
  background: rgba(47,168,79,0.1);
  color: #1f8f44;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  white-space: nowrap;
  min-height: 34px;
}

.swipe-hint {
  font-size: 11px;
  color: #768198;
  margin-top: 6px;
  margin-bottom: 2px;
}

.minus-btn {
  border: 1px solid rgba(199,58,51,0.3);
  background: rgba(199,58,51,0.12);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  color: #c73a33;
  transition: all 0.15s ease;
  opacity: 0.9;
}

.picker-row-with-minus {
  position: relative;
  display: block;
}

.picker-row-with-minus .minus-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.picker-row-with-minus.swiped .minus-btn {
  opacity: 1;
  pointer-events: auto;
}

.picker-row-with-minus:hover .minus-btn,
.picker-row-with-minus:focus-within .minus-btn {
  opacity: 1;
  pointer-events: auto;
}

.picker-field-with-minus {
  padding-right: 12px;
  transition: transform 0.2s ease;
}

.picker-select-flash {
  animation: pickerSelectFlash 0.26s cubic-bezier(.22,.61,.36,1);
}

.picker-soft-appear {
  animation: pickerSoftAppear 0.24s cubic-bezier(.22,.61,.36,1);
}

.picker-row-with-minus.row-enter {
  animation: rowEnterPop 0.28s cubic-bezier(.2,.7,.2,1);
}

@keyframes pickerSelectFlash {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(95,211,125,0);
  }
  45% {
    transform: scale(0.995);
    box-shadow: 0 0 0 3px rgba(95,211,125,0.16);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(95,211,125,0);
  }
}

@keyframes pickerSoftAppear {
  0% {
    opacity: 0;
    transform: translateY(6px) scale(0.995);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes rowEnterPop {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.986);
    filter: saturate(0.96);
  }
  65% {
    opacity: 1;
    transform: translateY(-1px) scale(1.003);
    filter: saturate(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: none;
  }
}

/* Peek animation: hint at swipe-to-delete on first item */
@keyframes swipePeek {
  0%   { transform: translateX(0); }
  18%  { transform: translateX(-62px); }
  62%  { transform: translateX(-62px); }
  82%  { transform: translateX(4px); }
  100% { transform: translateX(0); }
}
.swipe-row.peek-hint .picker-field {
  animation: swipePeek 0.9s cubic-bezier(.36,.07,.19,.97) 0.55s both;
  pointer-events: none;
}
.swipe-row.peek-hint .swipe-clear-btn {
  opacity: 1 !important;
  pointer-events: none;
}

.picker-row-with-minus.removing,
.swipe-row.removing {
  pointer-events: none;
  will-change: transform, opacity;
  animation: rowDeleteOut 0.34s cubic-bezier(.20,.72,.28,1) forwards;
}

.picker-row-with-minus.removing .picker-field,
.swipe-row.removing .picker-field {
  opacity: 0.9;
  will-change: transform, opacity, filter;
  animation: deletePopField 0.34s cubic-bezier(.20,.72,.28,1) forwards;
}

.picker-row-with-minus.removing .minus-btn,
.swipe-row.removing .swipe-clear-btn {
  opacity: 0;
  transition: opacity 0.18s ease;
}

.swipe-row {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  isolation: isolate;
}

.swipe-row .picker-field {
  transition: transform 0.2s ease;
  touch-action: pan-y;
  position: relative;
  z-index: 2;
}

.swipe-row.swipe-dragging .picker-field {
  transition: none;
}

body.swipe-dragging {
  user-select: none;
  -webkit-user-select: none;
  cursor: grabbing;
}

.swipe-clear-btn {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  transform: translateX(-10px);
  width: 56px;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.44);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.28) 0%, rgba(230,236,245,0.18) 100%),
    radial-gradient(120% 120% at 8% -20%, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 62%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.62);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  backdrop-filter: blur(22px) saturate(146%);
  -webkit-backdrop-filter: blur(22px) saturate(146%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, width 0.08s ease, padding-left 0.14s ease,
              background 0.16s ease, border-radius 0.14s ease;
  z-index: 1;
  overflow: hidden;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 16px;
  --clearLabelOpacity: 0;
  color: rgba(199,58,51,var(--clearLabelOpacity));
  min-height: 44px;
}

/* Commit state: full row width, label left-aligned, intense red */
.swipe-clear-btn.swipe-commit {
  justify-content: flex-start;
  padding-left: 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, #e03428 0%, #c73a33 100%);
  border-color: rgba(255,120,100,0.4);
  box-shadow: inset 0 1px 0 rgba(255,200,190,0.3), 0 2px 12px rgba(199,58,51,0.35);
  --clearLabelOpacity: 1;
  color: #fff;
}

.swipe-row.swipe-dragging .swipe-clear-btn {
  transition: none;
}

.swipe-row.swiped .swipe-clear-btn {
  opacity: 1;
  pointer-events: auto;
}

@media (hover: hover) and (pointer: fine) {
  .swipe-hint {
    display: none !important;
  }
}

/* First sauce row clear animation (without removing DOM node) */
.picker-field.main-removing,
.picker-field.sauce-main-removing {
  animation: sauceMainClearOut 0.18s cubic-bezier(.22,.61,.36,1);
}

@keyframes sauceMainClearOut {
  0% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  100% {
    opacity: 0.56;
    transform: translateX(-10px) scale(0.992);
  }
}

@keyframes rowDeleteOut {
  0% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  35% {
    opacity: 0.92;
    transform: translateX(-16px) scale(0.998);
  }
  100% {
    opacity: 0;
    transform: translateX(-72px) scale(0.99);
  }
}

@keyframes deletePopField {
  0% {
    opacity: 1;
    transform: scale(1);
    filter: saturate(1);
  }
  45% {
    opacity: 0.78;
    transform: translateX(-8px) scale(0.998);
    filter: saturate(0.95);
  }
  100% {
    opacity: 0.38;
    transform: translateX(-14px) scale(0.995);
    filter: saturate(0.88);
  }
}

#addonList .addon-row .picker-field {
  margin-top: 0;
  font-weight: 400;
}

.footer-detail {
  font-size: 10.5px;
  color: #6c7589;
  line-height: 1.68;
  letter-spacing: 0.15px;
  margin-top: 8px;
}

.footer-detail-static {
  margin-top: 18px;
  padding: 0 2px 4px;
}

.footer-line,
.footer-links,
.footer-subline,
.footer-version {
  margin: 0;
}

.footer-line {
  font-weight: 520;
}

.footer-line + .footer-line,
.footer-line + .footer-links,
.footer-links + .footer-subline,
.footer-subline + .footer-version {
  margin-top: 8px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  line-height: 1.3;
}

.footer-links + .footer-version {
  margin-top: 14px;
}

.footer-link-sep {
  color: #7a8498;
  font-size: 11px;
}

.footer-subline {
  font-size: 10.5px;
  color: #738098;
}

.footer-version {
  font-size: 10px;
  color: #77829a;
  letter-spacing: 0.2px;
}

.footer-inline-link {
  color: #2fa84f;
  text-decoration: none;
  font-weight: 580;
}

.result {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 9999;
  background: #1C1C1E;
  padding: 18px;
  border-radius: 24px;
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22), 0 2px 8px rgba(0,0,0,0.12);
  color: #F2F2F7;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: hidden;
  margin-bottom: 10px;
  padding-bottom: calc(18px + env(safe-area-inset-bottom));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, box-shadow 0.2s ease;
  transform: translateZ(0);
}

.result.active {
  opacity: 1;
}

.result.pop {
  animation: resultPopIn 0.34s cubic-bezier(.22,.61,.36,1);
}

@keyframes resultPopIn {
  0% {
    transform: translateY(14px) scale(0.97);
    opacity: 0.45;
  }
  65% {
    transform: translateY(-3px) scale(1.01);
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
button {
  -webkit-tap-highlight-color: transparent;
}

button:active {
  transition: none;
}
.result::before {
  /* removed decorative gradient overlay */
}

/* .result.update removed */

.result strong {
  font-size: 20px;
  color: #34C759;
}

.result-copy-btn {
  border: none;
  background: rgba(131,136,145,0.42);
  color: #ffffff;
  border-radius: 999px;
  line-height: 1;
  width: 46px;
  height: 46px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.result-copy-btn:hover {
  background: rgba(121,126,136,0.5);
}

.result-copy-btn:active {
  transform: scale(0.96);
}

.copy-icon-stack {
  position: relative;
  width: 20px;
  height: 20px;
  display: block;
  transform: translateY(0.2px);
  opacity: 1;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.copy-icon-stack svg {
  width: 100%;
  height: 100%;
  display: block;
}

.copy-icon-check {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  line-height: 1;
  font-weight: 360;
  opacity: 0;
  transform: translateY(0.2px) scale(0.76);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.result-copy-btn.copied .copy-icon-stack {
  opacity: 0;
  transform: scale(0.76);
}

.result-copy-btn.copied .copy-icon-check {
  opacity: 1;
  transform: scale(1);
}

.result-detail-btn {
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.5);
  border-radius: 0;
  min-width: 20px;
  height: 20px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
  min-width: 32px;
  min-height: 32px;
}

.result-detail-icon {
  font-size: 15px;
  line-height: 1;
  display: inline-block;
  transform: translateY(-1px) rotate(0deg);
  transition: transform 0.22s cubic-bezier(.22,.61,.36,1);
}

.result-detail-btn.expanded .result-detail-icon {
  transform: translateY(-1px) rotate(180deg);
}

.modal-checkmark {
  color: var(--ios-green-btn);
  font-size: 14px;
  font-weight: 800;
  min-width: 14px;
  text-align: center;
  flex: 0 0 14px;
}

.modal-item-meta-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 92px;
}

.modal-item-meta-wrap--efficiency {
  min-width: 108px;
}

.modal-item-kcal {
  font-size: 12px;
  color: var(--kcal-muted);
  white-space: nowrap;
  text-align: right;
  line-height: 1.2;
}

.modal-item-kcal--efficiency {
  white-space: nowrap;
}

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: calc(110px + env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(8px);
  background: rgba(28,30,36,0.92);
  color: #f7f8fb;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 11000;
}

#mainModal,
#addonModal,
#sauceModal,
#quickSearchModal {
  background: rgba(0,0,0,0.3) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#mainModal > div,
#addonModal > div,
#sauceModal > div,
#quickSearchModal > div {
  background: rgba(240,242,248,0.48) !important;
  color: #1C1C1E !important;
  border: 1px solid rgba(255,255,255,0.88) !important;
  border-bottom: none !important;
  backdrop-filter: blur(64px) saturate(220%) brightness(1.06) !important;
  -webkit-backdrop-filter: blur(64px) saturate(220%) brightness(1.06) !important;
}

#mainCategoriesWrapper,
#addonCategoriesWrapper {
  background: transparent !important;
}

#mainItems > div,
#addonItems > div,
#sauceItems > div,
#quickSearchItems > div {
  border-bottom: 1px solid rgba(0,0,0,0.07) !important;
}

#mainItems,
#addonItems,
#sauceItems,
#quickSearchItems {
  overflow-x: hidden !important;
}

.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

body.resetting .card {
  animation: resetCardBounce 0.34s cubic-bezier(.22,.61,.36,1);
}

body.resetting .option-section {
  animation: resetCardBounce 0.34s cubic-bezier(.22,.61,.36,1);
}

@keyframes resetCardBounce {
  0% { transform: translateY(0) scale(1); opacity: 1; }
  45% { transform: translateY(6px) scale(0.992); opacity: 0.88; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes resetBtnSpin {
  0% { transform: rotate(0deg) scale(1); }
  45% { transform: rotate(-24deg) scale(0.95); }
  100% { transform: rotate(0deg) scale(1); }
}
/* iOS style switch */
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 54px;
  height: 26px;
  background: #cfd1d7;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.18s ease;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.35);
}

input[type="checkbox"]::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 22px;
  background: #fff;
  border-radius: 999px;
  top: 1px;
  left: 1px;
  transition: transform 0.24s cubic-bezier(.22,.61,.36,1), box-shadow 0.24s ease;
  box-shadow: none;
}

input[type="checkbox"]:checked {
  background: var(--ios-green-btn);
  animation: toggleTrackPop 0.22s cubic-bezier(.22,.61,.36,1);
}

input[type="checkbox"]:checked::after {
  transform: translateX(20px);
  box-shadow: none;
}

input[type="checkbox"]:active::after {
  transform: scale(1.04);
}

input[type="checkbox"]:active {
  transform: scale(0.985);
}

@keyframes toggleTrackPop {
  0% { transform: scale(1); }
  55% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

#sauce2Container {
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.2s ease;
}
#sauce2Container.show {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-color-scheme: dark) {
  body {
    background:
      radial-gradient(circle at 72% 42%, rgba(85,144,105,0.28) 0%, rgba(85,144,105,0.14) 18%, rgba(85,144,105,0) 38%),
      radial-gradient(circle at 78% 92%, rgba(198,181,42,0.2) 0%, rgba(198,181,42,0.1) 16%, rgba(198,181,42,0) 34%),
      linear-gradient(145deg, #070a0f 0%, #0b1119 44%, #030507 100%);
    color: #F2F2F7;
    --kcal-muted: rgba(186,191,202,0.76);
    --glass-bg: rgba(54,62,74,0.42);
    --glass-border: rgba(221,232,246,0.24);
    --glass-highlight: rgba(255,255,255,0.18);
    --glass-shadow: 0 18px 46px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.18);
    --glass-blur: 30px;
    --glass-sat: 145%;
  }

  .card {
    background:
      linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 42%, rgba(118,150,172,0.1) 100%),
      var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  }

  select {
    background: #34363d;
    color: #fff;
    border: 1px solid #4a4d56;
  }

  select:hover {
    background: #3a3d45;
  }

  .result {
    background: #1C1C1E;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 28px;
    color: #F2F2F7;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  label {
    color: #f2f2f7;
  }

  .section-title {
    color: rgba(242,242,247,0.94);
  }

  .section-subtitle {
    color: rgba(159,165,178,0.88);
  }

  .logo .title-sub {
    color: #aaa;
  }

  .reset-btn {
    background: rgba(118,120,125,0.48);
    color: #f4f4f2;
    box-shadow: none;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .reset-btn:hover {
    background: rgba(132,134,139,0.56);
    color: #f4f4f2;
  }

  .reset-btn:active {
    background: rgba(106,108,113,0.58);
    color: #f4f4f2;
  }

  .icon-symbol-btn {
    color: #c8cad1;
  }

  .icon-symbol-btn:hover {
    color: #eceef2;
  }

  .double-meat-label {
    color: #b8bbc3;
  }

  input[type="checkbox"] {
    background: #5a5d66;
    border-color: rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.06);
  }

  input[type="checkbox"]::after {
    background: #fff;
  }

  #mainModal > div,
  #addonModal > div,
  #sauceModal > div,
  #quickSearchModal > div {
    background: rgba(22,22,26,0.52) !important;
    color: #F2F2F7 !important;
    border-color: rgba(255,255,255,0.16) !important;
    backdrop-filter: blur(64px) saturate(200%) brightness(0.96) !important;
    -webkit-backdrop-filter: blur(64px) saturate(200%) brightness(0.96) !important;
  }

  #mainModal,
  #addonModal,
  #sauceModal,
  #quickSearchModal {
    background: rgba(0,0,0,0.5) !important;
  }

  #mainCategoriesWrapper,
  #addonCategoriesWrapper {
    background: transparent !important;
  }

  #mainItems > div,
  #addonItems > div,
  #sauceItems > div,
  #quickSearchItems > div {
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  }

  .picker-field {
    background:
      linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.04) 52%, rgba(144,169,188,0.08) 100%),
      rgba(57,61,70,0.36) !important;
    color: rgba(242,242,247,0.94) !important;
    border: 1px solid rgba(230,238,250,0.22) !important;
    backdrop-filter: blur(28px) saturate(145%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(145%) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 12px 30px rgba(0,0,0,0.16) !important;
  }

  .picker-field:not(.picker-field--plus)::after {
    color: rgba(167,172,181,0.86);
  }

  .picker-en-break,
  .picker-en-inline {
    color: rgba(168,174,185,0.9);
    font-size: 0.82em;
    line-height: 1.28;
  }

  .picker-field::before {
    content: none;
  }

  .picker-field--placeholder {
    color: #a2a6af !important;
  }

  .picker-field--plus {
    color: #a2a6af !important;
  }

  .picker-field.picker-field--plus {
    background:
      linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.04) 52%, rgba(144,169,188,0.08) 100%),
      rgba(57,61,70,0.34) !important;
    border-color: rgba(230,238,250,0.22) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 12px 30px rgba(0,0,0,0.16) !important;
  }

  .footer-detail {
    color: #969ead;
  }

  .footer-link-sep {
    color: #5a6170;
  }

  .footer-subline {
    color: #8d93a1;
  }

  .footer-version {
    color: #767f91;
  }

  .modal-search-input {
    background-color: transparent;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='11' cy='11' r='6.5' stroke='%23f2f2f7' stroke-width='2.8' fill='none'/><line x1='15.7' y1='15.7' x2='20.2' y2='20.2' stroke='%23f2f2f7' stroke-width='2.8' stroke-linecap='round'/></svg>");
    color: #f2f2f7;
    border-color: rgba(171,175,184,0.28);
    background-repeat: no-repeat;
    background-position: 12px center;
    background-size: 18px 18px;
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
  }

  .modal-search-input:focus {
    border-color: rgba(184,188,196,0.5);
    box-shadow: 0 0 0 2px rgba(255,255,255,0.08);
  }

  .modal-search-input::placeholder {
    color: #9aa0ad;
  }

  .modal-panel-title {
    color: rgba(170,176,186,0.9);
  }

  .modal-recent-hint {
    color: #9aa0ad;
  }

  .modal-recent-shortcuts {
    border-bottom-color: #2f3440;
  }

  .modal-recent-btn {
    color: #73d892;
    border-color: rgba(95,211,125,0.35);
    background: rgba(95,211,125,0.14);
  }

  .swipe-hint {
    color: #8f96a4;
  }

  .swipe-clear-btn {
    border: 1px solid rgba(255,255,255,0.16);
    background:
      linear-gradient(180deg, rgba(106,110,118,0.4) 0%, rgba(82,86,95,0.34) 100%),
      radial-gradient(120% 120% at 8% -20%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 62%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
    color: rgba(255,100,88,var(--clearLabelOpacity));
    --clearLabelOpacity: 0;
  }
  .swipe-clear-btn.swipe-commit {
    background: linear-gradient(135deg, #d93025 0%, #b52d22 100%);
    border-color: rgba(255,120,100,0.3);
    box-shadow: inset 0 1px 0 rgba(255,180,170,0.2), 0 2px 12px rgba(185,45,35,0.45);
    color: #fff;
  }

  .footer-inline-link {
    color: #73d892;
  }


  .result-copy-btn {
    background: rgba(118,120,125,0.48);
    color: #f4f4f2;
    box-shadow: none;
  }

  .result-copy-btn:hover {
    background: rgba(132,134,139,0.56);
  }

  .result-copy-btn:active {
    background: rgba(106,108,113,0.58);
  }

  .result-detail-btn {
    background: transparent;
    border: none;
    color: #a5afbf;
  }

  .minus-btn {
    background: rgba(255,106,97,0.16);
    border-color: rgba(255,106,97,0.34);
    color: #ff7f78;
  }

  .modal-checkmark {
    color: #5ec87a;
  }

  .copy-toast {
    background: rgba(9,10,13,0.95);
    border: 1px solid #3b404b;
    color: #f2f2f7;
  }

  #mainPicker:not(.picker-field--placeholder) {
    color: rgba(255,255,255,0.94) !important;
  }

}

/* UX refresh */
* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  padding: max(18px, env(safe-area-inset-top)) 16px calc(40px + env(safe-area-inset-bottom));
  overflow-x: hidden;
}

body.has-result {
  padding-bottom: calc(156px + env(safe-area-inset-bottom));
}

.app-shell {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
}

.app-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin: 2px 0 18px;
  padding-right: 92px;
}

.app-header > div:first-child {
  min-width: 0;
}

.top-actions {
  min-width: max-content;
}

.logo {
  margin: 0;
  font-size: clamp(28px, 8vw, 34px);
  line-height: 1;
}

.logo .title-sub {
  margin-left: 6px;
  font-size: 16px;
}

.app-tagline {
  margin: 8px 0 0;
  color: #667085;
  font-size: 13px;
  font-weight: 560;
  letter-spacing: 0;
}

.top-actions {
  position: static;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.icon-symbol-btn,
.reset-btn,
.result-copy-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.1);
  color: rgba(43,50,64,0.82);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.icon-symbol-btn {
  font-size: 26px;
}

.reset-btn {
  font-size: 18px;
}

.builder-panel {
  display: grid;
  gap: 16px;
}

.option-section {
  margin: 0;
  padding: 16px;
  border-radius: 20px;
  background: #FFFFFF;
  border: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.05);
  overflow: hidden;
  isolation: isolate;
  position: relative;
}

.section-head {
  margin-bottom: 8px;
  position: relative;
  z-index: 3;
}

.section-head-inline {
  min-width: 0;
  flex-wrap: wrap;
  row-gap: 2px;
}

.section-title {
  font-size: 16px;
}

.section-toggle-under {
  justify-content: space-between;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #F2F2F7;
}

.double-meat-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #4d5668;
}

.double-meat-label span {
  color: #7b8497;
  font-size: 12px;
  font-weight: 520;
}

.picker-field {
  min-height: 52px;
  padding: 13px 14px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.26) 0%, rgba(230,236,245,0.16) 100%),
    radial-gradient(125% 125% at 8% -20%, rgba(255,255,255,0.68) 0%, rgba(255,255,255,0) 62%);
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.picker-field:hover {
  transform: translateY(-1px);
  border-color: rgba(47,168,79,0.36);
}

.picker-field--plus {
  font-size: 15px;
  font-weight: 680;
  color: rgba(70,79,96,0.82);
}

.picker-field--plus::before {
  content: "+";
  margin-right: 6px;
  color: var(--ios-green-btn);
  font-size: 1em;
  font-weight: 400;
  line-height: 1;
  text-shadow: 0 0 8px rgba(52,199,89,0.7), 0 0 18px rgba(52,199,89,0.35);
}

.picker-field--bilingual-break::before,
.picker-field:not(.picker-field--plus)::before {
  content: none;
}

.swipe-clear-btn {
  border-radius: 14px;
}

.footer-detail-static {
  padding: 2px 2px 0;
  overflow-wrap: anywhere;
}

.result {
  left: 16px;
  right: 16px;
  bottom: 12px;
  max-width: calc(1020px - 32px);
  margin: 0 auto;
  border-radius: 20px;
  padding: 14px 14px calc(14px + env(safe-area-inset-bottom));
  box-shadow: 0 18px 44px rgba(30,34,44,0.18), inset 0 1px 0 rgba(255,255,255,0.7);
}

.result strong {
  font-size: inherit;
}

.sheet-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 10000;
  background: rgba(29,32,38,0.34);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.sheet-panel {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 0;
  height: min(76vh, 680px);
  display: flex;
  flex-direction: column;
  padding: 10px 14px max(20px, env(safe-area-inset-bottom));
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  /* Liquid glass */
  background: rgba(240,242,248,0.48);
  color: #1C1C1E;
  border: 1px solid rgba(255,255,255,0.88);
  border-bottom: 0;
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.98),
    inset 0 0 0 1px rgba(255,255,255,0.22),
    0 -8px 48px rgba(0,0,0,0.13),
    0 -1px 12px rgba(0,0,0,0.08);
  backdrop-filter: blur(64px) saturate(220%) brightness(1.06);
  -webkit-backdrop-filter: blur(64px) saturate(220%) brightness(1.06);
  overflow: hidden;
  isolation: isolate;
}

/* Specular sheen overlay */
.sheet-panel::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.36) 0%,
    rgba(255,255,255,0.10) 18%,
    rgba(255,255,255,0) 50%
  );
  z-index: 0;
}
.sheet-panel > * { position: relative; z-index: 1; }

.sheet-grabber-wrap {
  flex-shrink: 0;
  padding: 14px 0 12px;
  display: flex;
  justify-content: center;
  cursor: grab;
  -webkit-tap-highlight-color: transparent;
  touch-action: none;
}
.sheet-grabber-wrap:active {
  cursor: grabbing;
}
.sheet-grabber {
  width: 36px;
  height: 5px;
  border-radius: 999px;
  background: rgba(100,106,120,0.3);
  pointer-events: none;
}

.modal-categories-wrapper {
  flex: 0 0 auto;
  padding-bottom: 8px;
}

.modal-categories {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.modal-categories::-webkit-scrollbar {
  display: none;
}

.modal-items {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: 6px;
}

#mainItems > div,
#addonItems > div,
#sauceItems > div,
#quickSearchItems > div {
  border-radius: 12px;
}

.modal-search-input {
  min-height: 44px;
  border-radius: 14px;
}

@media (min-width: 940px) {
  body {
    padding: 28px 24px 54px;
  }

  body.has-result {
    padding-bottom: 180px;
  }

  .app-shell {
    display: block;
    max-width: 720px;
    margin: 0 auto;
  }

  .app-header {
    margin-bottom: 4px;
    padding-right: 0;
  }

  .logo {
    font-size: 42px;
  }

  .logo .title-sub {
    font-size: 18px;
    margin-left: 8px;
  }

  .icon-symbol-btn,
  .reset-btn,
  .result-copy-btn {
    width: 44px;
    height: 44px;
  }

  .builder-panel {
    gap: 18px;
  }

  .result {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 24px;
    width: min(680px, calc(100vw - 48px));
    margin: 0 auto;
    padding: 18px 22px;
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2), 0 2px 8px rgba(0,0,0,0.1);
  }

  .sheet-panel {
    left: 50%;
    right: auto;
    width: min(560px, calc(100vw - 48px));
    transform: translateX(-50%);
    border-radius: 24px 24px 0 0;
  }
}

@media (max-width: 380px) {
  body {
    padding-left: 12px;
    padding-right: 12px;
  }

  .app-shell {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  .option-section {
    padding: 14px;
  }

  .logo {
    font-size: 28px;
  }

  .logo .title-sub {
    font-size: 14px;
  }

  .section-title {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 939px) {
  .app-shell {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .app-header {
    flex-direction: column;
    padding-right: 0;
    gap: 12px;
  }

  .app-header .top-actions {
    position: static;
    align-self: stretch;
    justify-content: flex-end;
  }
}

@media (prefers-color-scheme: dark) {
  .app-tagline {
    color: #a6adbb;
  }

  .icon-symbol-btn,
  .reset-btn,
  .result-copy-btn {
    background: rgba(74,78,88,0.44);
    border-color: rgba(230,238,250,0.22);
    color: #F2F2F7;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 12px 28px rgba(0,0,0,0.28);
    backdrop-filter: blur(24px) saturate(145%);
    -webkit-backdrop-filter: blur(24px) saturate(145%);
  }

  .option-section {
    background:
      linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 48%, rgba(98,134,154,0.1) 100%),
      rgba(46,50,59,0.46);
    border: 1px solid rgba(230,238,250,0.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 18px 46px rgba(0,0,0,0.34);
    backdrop-filter: blur(30px) saturate(145%);
    -webkit-backdrop-filter: blur(30px) saturate(145%);
  }

  .section-toggle-under {
    background: rgba(57,61,70,0.34);
    border: 1px solid rgba(230,238,250,0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  }

  .double-meat-label {
    color: #d5d9e1;
  }

  .double-meat-label span {
    color: #9ba3b2;
  }

  .picker-field--plus::before {
    color: #5eda80;
    text-shadow: 0 0 8px rgba(94,218,128,0.75), 0 0 20px rgba(94,218,128,0.38);
  }

  .sheet-modal {
    background: rgba(14,16,20,0.48);
  }

  .sheet-panel {
    background: rgba(22,22,26,0.52);
    color: #F2F2F7;
    border-color: rgba(255,255,255,0.16);
    box-shadow:
      inset 0 1.5px 0 rgba(255,255,255,0.18),
      inset 0 0 0 1px rgba(255,255,255,0.06),
      0 -8px 48px rgba(0,0,0,0.5),
      0 -1px 12px rgba(0,0,0,0.3);
    backdrop-filter: blur(64px) saturate(200%) brightness(0.96);
    -webkit-backdrop-filter: blur(64px) saturate(200%) brightness(0.96);
  }
  .sheet-panel::after {
    background: linear-gradient(
      180deg,
      rgba(255,255,255,0.12) 0%,
      rgba(255,255,255,0.04) 16%,
      rgba(255,255,255,0) 46%
    );
  }

  .result {
    background:
      linear-gradient(135deg, rgba(255,255,255,0.13) 0%, rgba(255,255,255,0.04) 48%, rgba(136,151,110,0.12) 100%),
      rgba(42,47,56,0.56);
    border: 1px solid rgba(230,238,250,0.24);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 18px 52px rgba(0,0,0,0.4);
    backdrop-filter: blur(32px) saturate(150%);
    -webkit-backdrop-filter: blur(32px) saturate(150%);
  }

  .picker-field:hover,
  .icon-symbol-btn:hover,
  .reset-btn:hover,
  .result-copy-btn:hover {
    border-color: rgba(238,245,255,0.34);
    background-color: rgba(78,84,96,0.5);
  }

  .sheet-grabber {
    background: rgba(220,224,232,0.28);
  }
}
