/* =========================================
   1. TYPOGRAPHY & DESIGN SYSTEM TOKENS 
   ========================================= */
:root {
  --ds-surface: #0a0a0a;
  --ds-elevated: #141414;
  --ds-accent: #ff7e5f;
  --ds-accent-tint: rgba(255, 126, 95, 0.15);
  --ds-confirm: #34c759;
  --ds-alert: #ffd60a;
  --ds-danger: #ff3b30;
  --ds-blue: #0a84ff;
  --ds-cyan: #64d2ff;
  
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-liquid: cubic-bezier(0.34, 1.56, 0.64, 1); 
  --ease-liquid-width: cubic-bezier(0.25, 1, 0.3, 1);
}

body {
  background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('background.png');
  background-size: cover; background-attachment: fixed; background-position: center;
  margin: 0; font-family: 'Barlow', sans-serif; color: white;
  display: flex; flex-direction: column; align-items: center;
  height: 100vh; height: 100dvh; overflow: hidden;
}

.serif { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: normal; }
.section-label { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin: 0 0 10px; }

/* =========================================
   2. LIQUID GLASS MIXINS
   ========================================= */
.lg {
  background: rgba(255,255,255,0.04);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  position: relative; overflow: hidden;
  border-radius: 20px !important;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.12), 0 4px 24px rgba(0,0,0,0.4);
}
.lg::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.2px;
  background: linear-gradient(180deg, rgba(255,255,255,0.38) 0%, rgba(255,255,255,0.12) 22%, rgba(255,255,255,0) 42%, rgba(255,255,255,0) 58%, rgba(255,255,255,0.12) 78%, rgba(255,255,255,0.38) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}

.lg-strong {
  background: rgba(255,255,255,0.07);
  -webkit-backdrop-filter: blur(40px); backdrop-filter: blur(40px);
  border-radius: 20px !important;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.18), 0 8px 32px rgba(0,0,0,0.5), 4px 4px 4px rgba(0,0,0,0.08);
}
.lg-strong::before { 
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.18) 22%, rgba(255,255,255,0) 42%, rgba(255,255,255,0) 58%, rgba(255,255,255,0.18) 78%, rgba(255,255,255,0.5) 100%);
}
.pill { border-radius: 9999px !important; }

/* =========================================
   3. LAYOUT & ACTIONS
   ========================================= */
.global-actions { display: inline-flex; gap: 15px; margin-top: 15px; align-items: center; padding: 8px 20px; box-sizing: border-box; align-self: center;}
#liveClock { font-weight: 500; color: var(--ds-alert); font-size: 0.95rem; letter-spacing: 0.5px; white-space: nowrap; flex-shrink: 0;}

.main-content { width: 95%; max-width: 1400px; margin-top: 15px; padding: 20px; border-radius: 24px; flex: 1; margin-bottom: 20px; overflow-y: auto; position: relative; box-sizing: border-box;}
.tab-content { display: none; animation: fadeIn 0.25s ease-out; }
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0.6; transform: translateY(4px); filter: blur(2px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }

.row-flex { display: flex; gap: 20px; flex-wrap: wrap;}
.col-flex { flex: 1; min-width: 320px;}

/* =========================================
   4. GLASS INPUT WRAPPERS & BUTTONS
   ========================================= */
.glass-input-wrapper {
  position: relative;
  width: 100%;
  height: 48px;
  border-radius: 99px;
  margin-bottom: 8px;
}

.glass-input-refract {
  position: absolute; inset: 0; border-radius: 99px;
  -webkit-backdrop-filter: blur(8px) saturate(1.2) brightness(1.1); 
  backdrop-filter: blur(8px) saturate(1.2) brightness(1.1);
  background: rgba(255, 255, 255, 0.03); 
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.3);
  pointer-events: none;
  transition: background 0.3s ease;
}

.glass-input-rim {
  position: absolute; inset: 0; border-radius: 99px; pointer-events: none;
  transition: all 0.3s ease;
}
.glass-input-rim::before {
  content: ""; position: absolute; inset: 0; border-radius: 99px; padding: 1.5px;
  background: conic-gradient(from 0deg, rgba(255,255,255,0.4) 0deg, rgba(160,210,255,0.2) 60deg, rgba(255,255,255,0.1) 120deg, rgba(255,140,160,0.2) 180deg, rgba(255,255,255,0.4) 240deg, rgba(160,255,210,0.2) 300deg, rgba(255,255,255,0.4) 360deg);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.glass-input-rim::after {
  content: ""; position: absolute; inset: 0; border-radius: 99px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 4px 15px rgba(0,0,0,0.2);
  transition: box-shadow 0.3s ease;
}

.glass-input-highlight {
  position: absolute; inset: 0; border-radius: 99px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 40%);
}

.glass-input-wrapper input,
.glass-input-wrapper select {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  background: transparent !important;
  border: none !important;
  border-radius: 99px;
  padding: 0 20px;
  color: #fff !important;
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  z-index: 2;
  outline: none;
  box-sizing: border-box;
  -webkit-appearance: none; appearance: none;
}

.glass-input-wrapper input::placeholder { color: rgba(255,255,255,0.4); }
.glass-input-wrapper select option { background: #1a1412; color: #fff; }

.glass-input-wrapper:focus-within .glass-input-rim::after {
  box-shadow: inset 0 0 0 1.5px var(--ds-accent), 0 4px 20px rgba(255,126,95, 0.4);
}
.glass-input-wrapper:focus-within .glass-input-refract {
  background: rgba(255, 255, 255, 0.08);
}

.glass-btn { color: white; border: none; cursor: pointer; font-weight: 500; transition: all 0.2s var(--ease-out); font-family: 'Barlow', sans-serif; padding: 10px 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; flex-shrink: 0;}
.glass-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.glass-btn:active { transform: scale(0.96); }

.btn-green { color: white; border: none; cursor: pointer; font-family: 'Barlow', sans-serif; box-shadow: inset 0 0 0 1px rgba(52, 199, 89, 0.4); }
.btn-green:hover { background: rgba(52, 199, 89, 0.2); }

.accordion-header { padding: 16px 20px; border-radius: 16px; font-weight: 500; font-size: 1.1rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; margin-top: 15px; transition: all 0.3s var(--ease-out); }
.accordion-header.active { color: var(--ds-accent); box-shadow: inset 0 0 0 1px rgba(255,126,95,0.5), 0 0 12px rgba(255,126,95,0.15); background: var(--ds-accent-tint); }

.accordion-body { overflow: hidden; max-height: 0; padding: 0 5px; transition: max-height 0.3s var(--ease-out), padding 0.3s var(--ease-out); }
.accordion-body.open { max-height: 1000px; padding: 15px 5px 5px 5px; }

/* =========================================
   5. MENU CARDS
   ========================================= */
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; margin-bottom: 20px; }
.menu-item { border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 15px 10px; text-align: center; cursor: pointer; background: rgba(255,255,255,0.03); transition: all 0.2s var(--ease-out); user-select: none; display: flex; flex-direction: column; justify-content: space-between; align-items:center;}
.menu-item:hover { border-color: rgba(255,255,255,0.22); transform: translateY(-1px); filter: brightness(1.08); }
.menu-item.selected { border-color: rgba(255,126,95,0.6); background: var(--ds-accent-tint); box-shadow: 0 0 16px rgba(255,126,95,0.18); }
.menu-item.disabled { opacity: 0.45; cursor: not-allowed; border-color: rgba(255,255,255,0.1); }
.menu-item.disabled .menu-img, .menu-item.disabled i { filter: grayscale(1); }
.menu-item.disabled .item-price { text-decoration: line-through; color: rgba(255,255,255,0.4); }
.item-name { font-size: 0.95rem; font-weight: 500; line-height: 1.2; margin-bottom: 8px; color:rgba(255,255,255,0.85); margin-top: 10px;}
.item-price { color: var(--ds-accent); font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }

.qty-controls { display: flex; justify-content: center; align-items: center; gap: 14px; width:100%;}
.qty-btn { width: 42px; height: 42px; font-size: 1.3rem; border: none; background: rgba(255,255,255,0.1); color: #fff; border-radius: 50%; cursor: pointer; line-height: 1; transition: all 0.15s var(--ease-out); }
.qty-btn:active { transform: scale(0.9); }
.qty-controls .qty-btn:last-child { background: var(--ds-accent); }
.qty-value { font-weight: 700; font-size: 1.2rem; width: 28px; }

.egg-options { display: none; flex-direction: column; gap: 6px; margin-top: 10px; border-top: 1px dashed rgba(255,255,255,0.2); padding-top: 10px; width:100%;}
.egg-btn { background: rgba(255,255,255,0.05); color: #fff; border: 1px solid rgba(255,255,255,0.1); padding: 8px; border-radius: 8px; font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: all 0.2s var(--ease-out); font-family: 'Barlow', sans-serif;}
.egg-btn:active, .egg-btn:hover { background: var(--ds-accent-tint); box-shadow: inset 0 0 0 1px rgba(255,126,95,0.5); color: var(--ds-accent); }

.yield-badge { align-self: center; font-size: 0.7rem; font-weight: 600; letter-spacing: .02em; color: var(--ds-confirm); background: rgba(52,199,89,0.15); border: 1px solid rgba(52,199,89,0.3); padding: 3px 10px; border-radius: 50px; margin-bottom: 8px; }
.yield-badge.zero { color: var(--ds-danger); background: rgba(255,59,48,0.15); border-color: rgba(255,59,48,0.3); }

/* =========================================
   6. AI CHECKER UI STYLES
   ========================================= */
.image-drop-area { 
    flex: 1; border: 2px dashed rgba(255,126,95,0.4); border-radius: 20px; 
    display: flex; flex-direction: column; align-items: center; justify-content: center; 
    text-align: center; color: rgba(255,255,255,0.5); cursor: pointer; 
    background: rgba(0,0,0,0.2); transition: 0.3s; padding: 10px; box-sizing: border-box;
    min-height: 400px;
}
.image-drop-area:hover, .image-drop-area.drag-over { background: rgba(255,126,95,0.1); border-color: var(--ds-accent); color: white; }

.ai-summary-text { font-size: 15px; line-height: 1.8; }
.summary-row { display: flex; margin-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 10px; }
.summary-label { width: 100px; color: rgba(255,255,255,0.4); font-size: 11px; text-transform: uppercase; font-weight: 600; align-self: center; letter-spacing: 1px;}
.summary-val { font-weight: 600; color: white; flex: 1; }

/* =========================================
   7. PIPELINE / MISC
   ========================================= */
.tally-icons-container { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; margin: 30px 0 20px; }
.tally-app-icon { 
      position: relative; 
      display: flex; 
      flex-direction: column; 
      align-items: center; 
      justify-content: center; 
      cursor: pointer; 
      transition: transform 0.1s; 
      background: none; 
      border: none;
  }
.tally-app-icon:active { transform: scale(0.92); }
.tally-visual { width: 140px; height: 140px; display: flex; align-items: center; justify-content: center; margin-bottom: 5px; }
.tally-visual img { width: 140px; height: 140px; object-fit: contain; transform: scale(1.15); }
.tally-badge { position: absolute; top: -15px; right: -15px; min-width: 44px; height: 44px; background: #ea364a; color: #fff; font-weight: 900; font-size: 1.6rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; box-shadow: 0 4px 10px rgba(0,0,0,0.6); z-index: 5; font-family: 'Inter', sans-serif; text-shadow: 1px 1px 2px rgba(0,0,0,0.3); border: 2px solid rgba(255,255,255,0.1); }

#orders-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 20px; align-items: start; }

.item-row-tap { overflow: visible !important; background: rgba(255,255,255,0.03); padding: 16px 18px; min-height: 56px; border-radius: 12px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; border: 1px solid rgba(255,255,255,0.05); cursor: pointer; transition: all 0.15s var(--ease-out); }
.item-row-tap:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
.item-progress { font-size: 0.85rem; font-weight: 600; color: var(--ds-alert); background: rgba(255, 214, 10, 0.15); padding: 4px 10px; border-radius: 6px; border: 1px solid rgba(255, 214, 10, 0.3); pointer-events: none;}
.item-progress.done { color: var(--ds-confirm); background: rgba(52, 199, 89, 0.15); border-color: rgba(52, 199, 89, 0.3); }

@keyframes pulseNew { 0% { box-shadow: 0 0 0 0 rgba(255, 126, 95, 0.4); } 70% { box-shadow: 0 0 0 15px rgba(255, 126, 95, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 126, 95, 0); } }
.pulse-new { animation: pulseNew 2s infinite; border-color: var(--ds-accent) !important; }
.danger-border { border-left-color: var(--ds-danger) !important; }

#toast { 
    position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); 
    background: rgba(10, 10, 10, 0.55); 
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); 
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff; padding: 14px 28px; border-radius: 50px; 
    z-index: 9999; display: none; opacity: 0; transition: opacity 0.3s, transform 0.3s; 
    font-weight: 500; text-align: center; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.6), inset -2px -2px 5px rgba(0,0,0,0.3);
}

/* =========================================
   8. KITCHEN DISPLAY SYSTEM (KDS) TICKETS
   ========================================= */
.kds-grid { display: flex; flex-direction: column; gap: 20px; width: 100%; }
.kds-ticket { border-radius: 24px; border-top: 6px solid var(--ds-accent); padding: 20px 25px; display: flex; flex-direction: column; transition: all 0.3s var(--ease-out); width: 100%; box-sizing: border-box; animation: fadeIn 0.3s var(--ease-out); }
.kds-header-row { display: flex; align-items: center; width: 100%; margin-bottom: 15px; }
.kds-num { font-size: 4.5rem; color: var(--ds-accent); line-height: 1; margin: 0; }
.kds-note { background: rgba(255, 214, 10, 0.15); box-shadow: inset 0 0 0 1px rgba(255, 214, 10, 0.4), 0 4px 15px rgba(0,0,0,0.2); padding: 8px 20px; border-radius: 50px; color: #ffd60a; font-weight: 600; font-size: 16px; display: flex; gap: 8px; align-items: center; justify-content: center; margin: 0 20px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.kds-time { font-weight: 600; font-size: 1.1rem; background: rgba(255,255,255,0.05); padding: 8px 16px; border-radius: 50px; white-space: nowrap; margin-left: auto; }
.kds-item { position: relative; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s var(--ease-out); -webkit-tap-highlight-color: transparent; width: 170px; height: 170px; }
.kds-item:hover { transform: translateY(-1px); filter: brightness(1.08); }
.kds-item:active { transform: scale(0.92); }
.kds-ready-btn { background: var(--ds-confirm); color: #111; font-size: 1.2rem; font-weight: 800; padding: 15px; border-radius: 16px; border: none; width: 100%; margin-top: 20px; cursor: pointer; box-shadow: 0 4px 15px rgba(52, 199, 89, 0.4); transition: 0.2s; animation: fadeIn 0.3s ease; font-family: 'Barlow', sans-serif; }
.kds-ready-btn:active { transform: scale(0.98); }

@keyframes shimmer { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.ai-loading .summary-val { animation: shimmer 1.2s ease-in-out infinite; }

/* ==========================================
   9. UNIVERSAL LIQUID GLASS SLIDER
   ========================================== */
.slider-container { display: flex; align-items: center; background: rgba(255,255,255,0.05); padding: 6px; border-radius: 99px; position: relative; box-shadow: inset 0 2px 8px rgba(0,0,0,0.5); z-index: 1; overflow: hidden; }
.slider-btn { flex: 1; position: relative; padding: 12px 16px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.4); background: transparent; border: none; cursor: pointer; text-align: center; border-radius: 99px; transition: color 0.3s ease; z-index: 2; font-family: 'Barlow', sans-serif; white-space: nowrap; }
.slider-btn:hover { color: #ffffff; }
.slider-btn.active { color: #ffffff; text-shadow: 0 0 8px rgba(255,255,255,0.4); }

.slider-bg { position: absolute; top: 6px; bottom: 6px; left: 0; background: var(--ds-accent-tint); border-radius: 99px; transition: transform 0.5s var(--ease-liquid), width 0.4s var(--ease-liquid-width), background-color 0.4s; z-index: 1; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,126,95,0.5), 0 4px 15px rgba(0,0,0,0.3); }
.glass-refract { position: absolute; inset: 0; border-radius: 99px; -webkit-backdrop-filter: blur(10px) saturate(1.2) brightness(1.1); backdrop-filter: blur(10px) saturate(1.2) brightness(1.1); background: rgba(255, 255, 255, 0.05); }
.glass-rim { position: absolute; inset: 0; border-radius: 99px; pointer-events: none; }
.glass-rim::before { content: ""; position: absolute; inset: 0; border-radius: 99px; padding: 2px; background: conic-gradient(from 0deg, rgba(255,255,255,0.7) 0deg, rgba(160,210,255,0.5) 50deg, rgba(255,255,255,0.3) 100deg, rgba(255,140,160,0.5) 160deg, rgba(255,255,255,0.6) 210deg, rgba(160,255,210,0.4) 260deg, rgba(255,255,255,0.7) 320deg, rgba(255,255,255,0.7) 360deg); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; filter: blur(0.5px); }
.glass-rim::after { content: ""; position: absolute; inset: 0; border-radius: 99px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3), inset 0 -2px 5px rgba(0,0,0,0.2), 0 4px 15px rgba(0,0,0,0.3); }
.glass-highlight { position: absolute; inset: 0; border-radius: 99px; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 40%); }

/* ==========================================
   10. MAGIC ERROR GLOW VALIDATION
   ========================================== */
@keyframes pulseRedWrapper {
  0% { box-shadow: 0 0 0px rgba(255, 0, 0, 0); }
  50% { box-shadow: 0 0 15px rgba(255, 0, 0, 0.8), inset 0 0 8px rgba(255,0,0,0.3); }
  100% { box-shadow: 0 0 0px rgba(255, 0, 0, 0); }
}

.input-error {
  animation: pulseRedWrapper 0.6s ease-in-out 2 !important;
  border-radius: 99px;
}
.input-error .glass-input-rim::after {
  box-shadow: inset 0 0 0 1.5px #ff3333 !important;
}
.input-error .glass-input-refract {
  background: rgba(255, 0, 0, 0.06) !important;
}

/* ==========================================
   11. MINI LIQUID SWITCH (PAID/UNPAID)
   ========================================== */
.mini-switch-track {
  position: relative; width: 110px; height: 26px;
  background: rgba(20, 20, 25, 0.6); border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 99px; box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
  cursor: pointer; display: inline-flex; align-items: center; justify-content: space-between;
  padding: 0 12px; box-sizing: border-box; user-select: none;
  vertical-align: middle; margin-left: 10px;
}
.mini-switch-label { font-size: 10px; font-weight: 800; letter-spacing: 0.5px; z-index: 1; transition: color 0.4s ease; font-family: 'Barlow', sans-serif;}
.mini-switch-label.unpaid { color: #ffffff; text-shadow: 0 0 8px rgba(255, 255, 255, 0.4); }
.mini-switch-label.paid { color: rgba(255, 255, 255, 0.2); }

.mini-switch-track.is-paid .mini-switch-label.unpaid { color: rgba(255, 255, 255, 0.2); text-shadow: none; }
.mini-switch-track.is-paid .mini-switch-label.paid { color: var(--ds-confirm); text-shadow: 0 0 10px rgba(52, 199, 89, 0.5); }

.mini-glass-knob {
  position: absolute; top: -1px; left: -1px; width: 56px; height: 28px;
  border-radius: 99px; z-index: 5; pointer-events: none;
  transition: transform 0.5s var(--ease-liquid);
}
.mini-switch-track.is-paid .mini-glass-knob { transform: translateX(54px); }

.m-refract { 
  position: absolute; inset: 0; border-radius: 99px; 
  -webkit-backdrop-filter: blur(6px) saturate(1.2) brightness(1.15); 
  backdrop-filter: blur(6px) saturate(1.2) brightness(1.15); 
  background: rgba(255, 255, 255, 0.02); 
}
.m-rim { position: absolute; inset: 0; border-radius: 99px; pointer-events: none; }
.m-rim::before { content: ""; position: absolute; inset: 0; border-radius: 99px; padding: 1px; background: conic-gradient(from 0deg, rgba(255,255,255,0.7) 0deg, rgba(160,210,255,0.5) 50deg, rgba(255,255,255,0.2) 100deg, rgba(255,140,160,0.5) 160deg, rgba(255,255,255,0.6) 210deg, rgba(160,255,210,0.4) 260deg, rgba(255,255,255,0.7) 320deg, rgba(255,255,255,0.7) 360deg); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; filter: blur(0.5px); }
.m-rim::after { content: ""; position: absolute; inset: 0; border-radius: 99px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3), inset 0 2px 5px rgba(255,255,255,0.1), inset 0 -2px 5px rgba(0,0,0,0.4); }
.m-highlight { position: absolute; inset: 0; border-radius: 99px; background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 40%); mix-blend-mode: overlay; pointer-events: none; }