/**
 * SWEET CUP - Quán Trà Sữa Cozy Café Simulation
 * Bộ Giao Diện Hoạt Hình Game Mobile Chibi Sống Động
 * Chiều rộng chuẩn 530px thoải mái, hỗ trợ Modal In-Game và Sao Lưu Tài Khoản
 * Tác giả: Huỳnh Nguyễn Thành Đạt
 */

:root {
  --boba-wood-dark: #633917;
  --boba-wood-mid: #935624;
  --boba-wood-light: #d4a373;
  --boba-wood-base: #faedcd;
  --boba-cream-bg: #fffbf2;
  --boba-pink-roof: #f472b6;
  --boba-pink-dark: #db2777;
  --boba-counter-shelf: #fefae0;
  --boba-border-wood: #8c5324;
  --boba-stainless: #cbd5e1;
  --boba-stainless-dark: #94a3b8;
}

[data-theme="dark"] {
  --boba-cream-bg: #1c1917;
  --boba-wood-base: #292524;
  --boba-counter-shelf: #262626;
  --boba-stainless: #334155;
  --boba-stainless-dark: #475569;
}

/* ================= 1. KHUNG CHÍNH GAME (WIDESCREEN RESPONSIVE CONTAINER) ================= */
.sweetcup-main-wrapper {
  max-width: 980px;
  width: 100%;
  box-sizing: border-box;
  margin: 1.25rem auto 3rem;
  background: var(--boba-cream-bg);
  border: 4px solid var(--boba-border-wood);
  border-radius: 28px;
  overflow: clip;
  box-shadow: 0 20px 60px rgba(99, 57, 23, 0.2), 0 0 0 2px rgba(255, 255, 255, 0.6) inset;
  font-family: inherit;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
  transition: max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================= 2. MÁI BẠT SỌC HỒNG & DÂY ĐÈN LUNG LINH ================= */
.sc-awning-roof {
  height: 28px;
  background: repeating-linear-gradient(
    90deg,
    #f472b6 0px,
    #f472b6 24px,
    #ffffff 24px,
    #ffffff 48px
  );
  border-bottom: 2.5px solid #db2777;
  position: relative;
  z-index: 10;
}

.sc-awning-scallops {
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background: radial-gradient(circle at 12px 0px, #f472b6 12px, transparent 13px),
              radial-gradient(circle at 36px 0px, #ffffff 12px, transparent 13px);
  background-size: 48px 8px;
  z-index: 10;
}

/* Dây đèn vàng lung linh */
.sc-fairy-lights {
  position: relative;
  height: 14px;
  background: transparent;
  display: flex;
  justify-content: space-around;
  padding: 0 2rem;
  z-index: 9;
}

.sc-light-bulb {
  width: 9px;
  height: 9px;
  background: #fef08a;
  border-radius: 50%;
  box-shadow: 0 0 8px 3px rgba(253, 224, 71, 0.7);
  animation: fairyGlow 2.5s ease-in-out infinite alternate;
}

.sc-light-bulb.b2 { animation-delay: 0.5s; }
.sc-light-bulb.b3 { animation-delay: 1.1s; }
.sc-light-bulb.b4 { animation-delay: 1.7s; }
.sc-light-bulb.b5 { animation-delay: 0.8s; }

@keyframes fairyGlow {
  0% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 5px 2px rgba(253, 224, 71, 0.4); }
  100% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 12px 5px rgba(253, 224, 71, 0.95); }
}

/* ================= 3. THANH THÔNG TIN TIỆM & TÀI KHOẢN SAO LƯU ================= */
.sc-header-bar {
  background: #ffffff;
  border-bottom: 1.5px solid #ebd9c8;
  padding: 0.4rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  z-index: 5;
  position: relative;
}

[data-theme="dark"] .sc-header-bar {
  background: #262626;
  border-color: #44403c;
}

.sc-header-left {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sc-day-badge {
  background: #fef08a;
  color: #854d0e;
  border: 1px solid #eab308;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.72rem;
  white-space: nowrap;
}

.sc-clock-badge {
  font-family: monospace;
  font-size: 0.76rem;
  font-weight: 900;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 0.12rem 0.35rem;
  border-radius: 6px;
}

.sc-shop-name-tag {
  font-size: 0.88rem;
  font-weight: 900;
  color: var(--boba-border-wood);
  cursor: pointer;
  white-space: nowrap;
}

.sc-header-right {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sc-wallet-box {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #15803d;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.sc-rating-box {
  font-size: 0.76rem;
  font-weight: 800;
  color: #ca8a04;
  white-space: nowrap;
}

.sc-btn-menu-tab {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0.18rem 0.4rem;
  font-size: 0.78rem;
  cursor: pointer;
}

/* Dải sao lưu đám mây */
.sc-cloud-sync-bar {
  background: #fdfbf7;
  border-bottom: 1px solid #ebd9c8;
  padding: 0.25rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.72rem;
  flex-wrap: wrap;
}

.sc-cloud-sync-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.sc-cloud-sync-right {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.sc-sync-code-pill {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0369a1;
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
  font-size: 0.65rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  transition: all 0.15s;
  user-select: none;
}

.sc-sync-code-pill:hover {
  background: #e0f2fe;
  border-color: #7dd3fc;
  transform: translateY(-1px);
}

.sc-sync-code-pill:active {
  transform: scale(0.95);
}

[data-theme="dark"] .sc-cloud-sync-bar {
  background: #1f1d1b;
  border-color: #383532;
}

[data-theme="dark"] .sc-sync-code-pill {
  background: #082f49;
  border-color: #0284c7;
  color: #7dd3fc;
}

.sc-cloud-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #64748b;
  font-size: 0.7rem;
}

.sc-cloud-badge.logged-in {
  color: #15803d;
}

.sc-cloud-icon {
  font-size: 0.85rem;
}

.sc-cloud-sync-btn {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #047857;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.12rem 0.45rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  transition: all 0.15s;
  white-space: nowrap;
}

.sc-cloud-sync-btn:hover {
  background: #d1fae5;
  transform: translateY(-1px);
}

.sc-cloud-sync-btn:active {
  transform: scale(0.94);
}

[data-theme="dark"] .sc-cloud-sync-btn {
  background: #064e3b;
  border-color: #059669;
  color: #a7f3d0;
}

/* ================= 4. GIAO DIỆN CHUẨN BỊ BUỔI SÁNG (PREP VIEW) ================= */
.sc-prep-container {
  padding: 0.85rem 0.85rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
}

.sc-chalkboard-menu {
  background: #1e293b;
  color: #f8fafc;
  border: 5px solid #a16207;
  border-radius: 18px;
  padding: 0.75rem 1rem;
  width: 100%;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

.sc-chalk-title {
  text-align: center;
  font-size: 1rem;
  font-weight: 900;
  color: #fef08a;
  border-bottom: 1.5px dashed rgba(254, 240, 138, 0.35);
  padding-bottom: 0.3rem;
  margin-bottom: 0.45rem;
  letter-spacing: 0.5px;
}

.sc-chalk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 0.9rem;
  font-size: 0.78rem;
}

.sc-chalk-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.35rem;
  border-bottom: 1px dotted rgba(255,255,255,0.15);
  padding-bottom: 0.18rem;
}

.sc-chalk-item strong {
  white-space: nowrap;
  flex-shrink: 0;
}

.sc-prep-card-list {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #e2d3c1;
  border-radius: 18px;
  padding: 0.85rem;
  max-height: 300px;
  overflow-y: auto;
}

[data-theme="dark"] .sc-prep-card-list {
  background: #262626;
  border-color: #44403c;
}

.sc-prep-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.sc-prep-counter-group {
  display: flex;
  gap: 0.35rem;
}

.sc-counter-btn {
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.sc-counter-btn:active {
  transform: scale(0.92);
}

.sc-btn-open-shop {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.6rem;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 90%;
  justify-content: center;
  transition: transform 0.15s;
}

.sc-btn-open-shop:active {
  transform: scale(0.96);
}

/* ================= 5. MÀN HÌNH BÁN HÀNG & BỐI CẢNH HOẠT HÌNH (SCENE) ================= */
.sc-gameplay-view {
  background: #fffcf7;
  padding-bottom: 0.75rem;
  position: relative;
}

[data-theme="dark"] .sc-gameplay-view {
  background: #1c1917;
}

/* Bối cảnh góc quán: Cửa sổ, kệ cây cảnh, khách Chibi */
.sc-customer-booth-scene {
  background: linear-gradient(180deg, #fef3c7 0%, #fffbf2 100%);
  border-bottom: 2px solid #8c5324;
  padding: 0.5rem 0.65rem 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  min-height: 92px;
  overflow: hidden;
}

[data-theme="dark"] .sc-customer-booth-scene {
  background: linear-gradient(180deg, #292524 0%, #1c1917 100%);
}

.sc-cafe-window {
  position: absolute;
  top: 8px;
  left: 12px;
  width: 50px;
  height: 42px;
  background: #93c5fd;
  border: 2px solid #8c5324;
  border-radius: 6px;
  overflow: hidden;
  opacity: 0.8;
  z-index: 1;
}

.sc-window-sun {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: #fde047;
  border-radius: 50%;
}

.sc-window-cloud {
  position: absolute;
  bottom: 6px;
  left: -10px;
  width: 26px;
  height: 11px;
  background: #ffffff;
  border-radius: 10px;
  animation: cloudDrift 8s linear infinite;
}

@keyframes cloudDrift {
  0% { transform: translateX(0); }
  100% { transform: translateX(65px); }
}

.sc-cafe-shelf-plant {
  position: absolute;
  top: 14px;
  left: 70px;
  font-size: 1.25rem;
  z-index: 1;
  opacity: 0.85;
}

/* Nhân vật Chibi Khách Hàng Anime */
.sc-chibi-customer-wrap {
  position: relative;
  width: 84px;
  min-height: 84px;
  height: auto;
  flex-shrink: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sc-chibi-customer {
  width: 72px;
  height: 76px;
}

.sc-chibi-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.sc-chibi-svg.idle-bounce {
  animation: chibiIdle 1.8s ease-in-out infinite;
}

.sc-chibi-svg.bounce-joy {
  animation: chibiJoy 0.45s ease-in-out infinite alternate;
}

@keyframes chibiIdle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes chibiJoy {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-6px) scale(1.05); }
}

.sc-chibi-eye-blink {
  transform-origin: center;
  animation: eyeBlink 3.5s infinite;
}

@keyframes eyeBlink {
  0%, 94%, 100% { transform: scaleY(1); }
  97% { transform: scaleY(0.1); }
}

.sc-queue-badge {
  position: relative;
  bottom: auto;
  left: auto;
  transform: none;
  margin-top: -6px;
  background: #f43f5e;
  color: #ffffff;
  font-size: 0.56rem;
  font-weight: 900;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  border: 1.5px solid #ffffff;
  box-shadow: 0 2px 6px rgba(244, 63, 94, 0.25);
  max-width: 100%;
  text-align: center;
  line-height: 1.15;
  white-space: normal;
  word-break: break-word;
  z-index: 3;
}

/* Bong bóng lời thoại gọi món */
.sc-order-speech-bubble {
  background: #ffffff;
  border: 2px solid #8c5324;
  border-radius: 14px;
  padding: 0.45rem 0.65rem;
  flex: 1;
  min-width: 0;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  z-index: 2;
}

.sc-order-speech-bubble::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 8px 6px 0;
  border-style: solid;
  border-color: transparent #8c5324 transparent transparent;
}

.sc-order-mini-cup-thumb {
  width: 36px;
  height: 48px;
  border: 1.5px solid #8c5324;
  border-radius: 0 0 10px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.sc-order-details {
  flex: 1;
  min-width: 0;
}

.sc-order-headline {
  font-size: 0.84rem;
  font-weight: 900;
  color: #78350f;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sc-order-badge-pill {
  font-size: 0.66rem;
  font-weight: 800;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  white-space: nowrap;
}

.sc-patience-wrapper {
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.66rem;
}

.sc-patience-track {
  flex: 1;
  height: 7px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.sc-patience-bar {
  height: 100%;
  background: #10b981;
  width: 100%;
  border-radius: 999px;
  transition: width 0.25s linear, background-color 0.3s;
}

/* ================= 6. KỆ QUẦY TRÀ (CỘT LY + 6 HŨ TRÀ + MÁY DẬP NẮP) ================= */
.sc-counter-shelf-top {
  background: #fefae0;
  border-bottom: 2.5px solid #8c5324;
  padding: 0.45rem 0.4rem 0.3rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.3rem;
  position: relative;
}

[data-theme="dark"] .sc-counter-shelf-top {
  background: #292524;
}

.sc-shelf-wood-tag {
  position: absolute;
  top: 2px;
  left: 6px;
  font-size: 0.58rem;
  font-weight: 900;
  color: #8c5324;
  opacity: 0.75;
  letter-spacing: 0.5px;
}

/* Cột ly xếp chồng M & L */
.sc-cup-stacks-group {
  display: flex;
  gap: 0.35rem;
  padding-right: 0.35rem;
  border-right: 1.5px dashed rgba(140, 83, 36, 0.35);
  flex-shrink: 0;
  align-items: flex-end;
}

.sc-cup-stack-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.1s;
}

.sc-cup-stack-item:active {
  transform: scale(0.92);
}

.sc-cup-stack-count {
  font-size: 0.6rem;
  font-weight: 900;
  background: #ffffff;
  border: 1px solid #8c5324;
  border-radius: 999px;
  padding: 0 0.25rem;
  margin-bottom: 1px;
  color: #8c5324;
}

.sc-cup-stack-label {
  font-size: 0.64rem;
  font-weight: 900;
  color: #8c5324;
  margin-top: 1px;
}

/* 9 Bình ủ trà thủy tinh có vòi */
.sc-tea-jars-row {
  display: flex;
  gap: 0.28rem;
  align-items: flex-end;
  flex: 1;
  min-width: 0;
  justify-content: safe center;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.sc-tea-jars-row::-webkit-scrollbar {
  display: none;
}

.sc-tea-jar-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  user-select: none;
  touch-action: none;
  width: 44px;
  flex-shrink: 0;
}

.sc-tea-jar-wrapper:active {
  transform: scale(0.94);
}

.sc-tea-jar-count-badge {
  font-size: 0.58rem;
  font-weight: 900;
  background: #ffffff;
  border: 1px solid #64748b;
  border-radius: 999px;
  padding: 0 0.25rem;
  margin-bottom: 1px;
  color: #475569;
}

.sc-tea-jar-svg {
  width: 42px;
  height: 64px;
  overflow: visible;
}

.sc-spigot-group.pouring .sc-spigot-lever {
  transform: rotate(35deg);
  transform-origin: 27px 66px;
  fill: #10b981;
}

/* Máy Dập Nắp Ly Tự Động */
.sc-sealer-machine-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding-left: 0.35rem;
  border-left: 1.5px dashed rgba(140, 83, 36, 0.35);
  flex-shrink: 0;
  transition: transform 0.1s;
}

.sc-sealer-machine-box:active {
  transform: scale(0.94);
}

.sc-sealer-svg {
  width: 46px;
  height: 66px;
  overflow: visible;
}

.sc-sealer-btn-tag {
  font-size: 0.64rem;
  font-weight: 900;
  color: #c2410c;
  margin-top: 1px;
}

.sc-sealer-stamp.stamping {
  animation: sealerPlunge 0.4s ease-in-out;
}

@keyframes sealerPlunge {
  0% { transform: translateY(0); }
  50% { transform: translateY(12px); }
  100% { transform: translateY(0); }
}

/* ================= 7. BÀN PHA LY (THỚT GỖ + KHAY TOPPING INOX) ================= */
.sc-prep-table {
  display: flex;
  gap: 0.5rem;
  padding: 0.55rem 0.45rem 0.35rem;
  align-items: stretch;
}

/* Thớt gỗ pha ly (Trái) */
.sc-cutting-board {
  width: 138px;
  min-width: 138px;
  background: #fdf0d5;
  border: 2.5px solid #8c5324;
  border-radius: 16px;
  padding: 0.45rem 0.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  min-height: 225px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.06);
}

.sc-board-title-badge {
  font-size: 0.65rem;
  font-weight: 900;
  color: #8c5324;
  background: rgba(140, 83, 36, 0.12);
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
}

/* Dòng nước trà rót từ vòi xuống ly */
.sc-tea-stream {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 90px;
  background: #d29a64;
  display: none;
  z-index: 10;
  border-radius: 3px;
  animation: streamFlow 0.15s infinite alternate;
}

.sc-tea-stream.active {
  display: block;
}

@keyframes streamFlow {
  0% { width: 6.5px; opacity: 0.9; }
  100% { width: 8.5px; opacity: 1; }
}

/* Vùng chứa chiếc ly Living Cup */
.sc-living-cup-holder {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 135px;
}

.sc-living-cup-svg {
  width: 92px;
  height: 132px;
  overflow: visible;
}

.sc-empty-cup-placeholder {
  font-size: 0.72rem;
  color: #a16207;
  font-weight: 800;
  text-align: center;
  padding: 3rem 0.5rem;
  border: 1.5px dashed #ca8a04;
  border-radius: 12px;
  width: 90%;
  line-height: 1.3;
}

/* Thang đo mức rót */
.sc-pour-meter-wrapper {
  width: 92%;
  margin-top: 3px;
}

.sc-pour-meter-bar {
  width: 100%;
  height: 7px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.sc-pour-sweet-spot {
  position: absolute;
  left: 58%;
  width: 20%;
  top: 0;
  bottom: 0;
  background: rgba(16, 185, 129, 0.35);
  border-left: 1px solid #10b981;
  border-right: 1px solid #10b981;
  z-index: 1;
}

.sc-pour-meter-fill {
  height: 100%;
  background: #3b82f6;
  width: 0%;
  border-radius: 999px;
  transition: width 0.08s linear;
}

.sc-pour-gauge-hints {
  display: flex;
  justify-content: space-between;
  font-size: 0.55rem;
  font-weight: 800;
  color: #64748b;
  margin-top: 2px;
}

.sc-cup-condiments-label {
  font-size: 0.62rem;
  font-weight: 900;
  color: #78350f;
  text-align: center;
  line-height: 1.2;
  margin-top: 2px;
}

/* Cột Phải: Khay Topping Inox 12 ô + Hộp gia vị + Chai siro */
.sc-prep-right-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

/* Khay Topping Inox 12 ô (4 x 3) */
.sc-topping-wells-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.28rem;
  background: #cbd5e1;
  border: 2px solid #94a3b8;
  border-radius: 12px;
  padding: 0.35rem;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.sc-topping-cell {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 9px;
  padding: 0.25rem 0.15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  min-width: 0;
  min-height: 56px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.15s ease, border-color 0.15s ease;
}

[data-theme="dark"] .sc-topping-cell {
  background: #262626;
  border-color: #404040;
}

.sc-topping-cell:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  border-color: #f59e0b;
}

.sc-topping-cell:active {
  transform: scale(0.92);
}

.sc-topping-cell.sc-well-bounce {
  animation: wellBounce 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes wellBounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.22); }
  100% { transform: scale(1); }
}

.sc-topping-cell-count {
  position: absolute;
  top: 1px;
  right: 3px;
  font-size: 0.58rem;
  font-weight: 900;
  color: #475569;
  background: rgba(241, 245, 249, 0.9);
  padding: 0.05rem 0.25rem;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

[data-theme="dark"] .sc-topping-cell-count {
  background: #333333;
  color: #cbd5e1;
}

.sc-topping-cell-count.out-of-stock {
  color: #ef4444;
  background: #fee2e2;
}

.sc-topping-cell-pan {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 1px 0;
  flex-shrink: 0;
}

.sc-topping-cell-art {
  width: 32px;
  height: 32px;
  display: block;
  margin: 1px 0;
  flex-shrink: 0;
}

.sc-art-icon {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.15));
  overflow: visible;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sc-topping-cell:hover .sc-art-icon {
  transform: scale(1.12);
}

.sc-topping-cell-label {
  font-size: 0.55rem;
  font-weight: 800;
  color: #334155;
  text-align: center;
  line-height: 1.1;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

[data-theme="dark"] .sc-topping-cell-label {
  color: #e2e8f0;
}

/* 3 Hộp Gia Vị Inox (Đá, Đường, Cheese) */
.sc-condiments-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.28rem;
}

.sc-condiment-card {
  background: #ffffff;
  border: 1.2px solid #94a3b8;
  border-radius: 9px;
  padding: 0.25rem 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.1s;
}

.sc-condiment-card:active {
  transform: scale(0.92);
}

.sc-condiment-svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.sc-condiment-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sc-condiment-title {
  font-size: 0.58rem;
  font-weight: 900;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sc-condiment-value {
  font-size: 0.54rem;
  font-weight: 800;
  color: #2563eb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Kệ Chai Siro Trái Cây Kệ Dưới (Lưới 5x2 hiển thị đủ 10 chai siro không bị che khuất) */
.sc-syrups-shelf {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.28rem 0.2rem;
  padding: 0.32rem 0.3rem;
  background: #eed7c5;
  border: 1.5px solid #8c5324;
  border-radius: 10px;
  align-items: end;
}

.sc-syrups-shelf::-webkit-scrollbar {
  display: none;
}

.sc-syrup-bottle-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  cursor: pointer;
  min-width: 0;
  width: 100%;
  position: relative;
  transition: transform 0.15s ease;
}

.sc-syrup-bottle-card:hover {
  transform: translateY(-2px);
}

.sc-syrup-bottle-card:active {
  transform: scale(0.92);
}

.sc-syrup-badge {
  font-size: 0.52rem;
  font-weight: 900;
  color: #475569;
  background: #ffffff;
  border-radius: 999px;
  padding: 0 0.25rem;
  border: 1px solid #94a3b8;
  margin-bottom: 1px;
  max-width: 100%;
  white-space: nowrap;
}

.sc-syrup-bottle-svg {
  width: 24px;
  height: 48px;
  overflow: visible;
}

.sc-syrup-label {
  font-size: 0.56rem;
  font-weight: 900;
  color: #451a03;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  text-align: center;
}

.sc-pump-head.sc-pump-press {
  transform: translateY(4px);
  transition: transform 0.1s;
}

/* ================= 8. THANH NÚT THAO TÁC (ACTION CONTROLS) ================= */
.sc-action-controls {
  display: flex;
  gap: 0.45rem;
  padding: 0.45rem 0.55rem 0;
}

.sc-btn-reset-cup {
  background: #fee2e2;
  color: #ef4444;
  border: 1.5px solid #fca5a5;
  border-radius: 12px;
  padding: 0.55rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.sc-btn-reset-cup:active {
  transform: scale(0.93);
}

.sc-btn-seal-cup {
  background: #ffedd5;
  color: #ea580c;
  border: 1.5px solid #fdba74;
  border-radius: 12px;
  padding: 0.55rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.sc-btn-seal-cup:active {
  transform: scale(0.93);
}

@keyframes scBtnPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.6);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 16px 4px rgba(234, 88, 12, 0.7);
  }
}

.sc-btn-highlight-pulse {
  animation: scBtnPulse 0.4s ease-in-out 3;
}

.sc-btn-serve-drink {
  flex: 1;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 0.55rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(16, 185, 129, 0.3);
}

.sc-btn-serve-drink:active {
  transform: scale(0.96);
}

/* ================= 9. HIỆU ỨNG PHẦN THƯỞNG BAY HOẠT HÌNH ================= */
.sc-floating-rewards-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 100;
  overflow: hidden;
}

.sc-floating-bubble {
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, 0);
  background: #ffffff;
  border: 2px solid #ca8a04;
  box-shadow: 0 8px 24px rgba(202, 138, 4, 0.35);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1rem;
  color: #854d0e;
  animation: floatReward 1.6s ease-out forwards;
}

@keyframes floatReward {
  0% { transform: translate(-50%, 0) scale(0.6); opacity: 0; }
  20% { transform: translate(-50%, -25px) scale(1.15); opacity: 1; }
  80% { transform: translate(-50%, -60px) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -90px) scale(0.9); opacity: 0; }
}

/* ================= 10. TOAST THÔNG BÁO HOẠT HÌNH TRONG TRÒ CHƠI ================= */
.sc-ingame-toast {
  position: absolute;
  top: 36px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: #ffffff;
  border: 2px solid #8c5324;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: #78350f;
  z-index: 150;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  white-space: nowrap;
}

.sc-ingame-toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ================= 11. HỆ THỐNG MODAL HOẠT HÌNH IN-GAME ================= */
.sc-game-modal-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: rgba(15, 23, 42, 0.72) !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99999 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: env(safe-area-inset-top, 0.75rem) 1rem env(safe-area-inset-bottom, 0.75rem);
  box-sizing: border-box;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

body.sc-modal-open {
  overflow: hidden !important;
  touch-action: none !important;
}

body.page-milktea,
body.page-milktea * {
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
}

.sc-game-modal-card {
  background: #fffcf7;
  border: 3.5px solid #8c5324;
  border-radius: 22px;
  padding: 1.15rem 1.05rem 1.05rem;
  width: 92%;
  max-width: 360px;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
  touch-action: pan-y;
  animation: modalBounceIn 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalBounceIn {
  0% { transform: scale(0.88) translateY(12px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* Modal Chấm Điểm Đơn Hàng */
.sc-result-mascot-stamp {
  font-size: 2.4rem;
  margin-bottom: 0.2rem;
  animation: stampBounce 0.5s ease;
}

@keyframes stampBounce {
  0% { transform: scale(0) rotate(-20deg); }
  60% { transform: scale(1.2) rotate(10deg); }
  100% { transform: scale(1) rotate(0); }
}

.sc-result-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: #1e293b;
  margin: 0 0 0.25rem;
}

.sc-result-stars {
  font-size: 1.4rem;
  color: #eab308;
  letter-spacing: 3px;
  margin-bottom: 0.65rem;
}

.sc-result-money-box {
  width: 100%;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 14px;
  padding: 0.6rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.sc-result-feedback-bubble {
  background: #ffffff;
  border: 1.5px dashed #cbd5e1;
  border-radius: 12px;
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  color: #475569;
  font-style: italic;
  margin-bottom: 0.75rem;
  width: 100%;
}

.sc-result-errors-list {
  background: #fef2f2;
  border: 1.5px solid #fca5a5;
  color: #991b1b;
  border-radius: 12px;
  padding: 0.6rem 0.8rem;
  font-size: 0.73rem;
  font-weight: 600;
  text-align: left;
  width: 100%;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.sc-result-title.rejected {
  color: #dc2626 !important;
  animation: shakeX 0.5s ease-in-out;
}

.sc-result-money-box.rejected {
  background: #fef2f2 !important;
  border: 1.5px solid #f87171 !important;
}

.sc-err-badge-drink {
  display: inline-block;
  background: #dc2626;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 3px rgba(220, 38, 38, 0.3);
}

.sc-err-badge-recipe {
  display: inline-block;
  background: #ea580c;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 3px rgba(234, 88, 12, 0.3);
}

.sc-err-badge-process {
  display: inline-block;
  background: #7c3aed;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 3px rgba(124, 58, 237, 0.3);
}

@keyframes shakeX {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* Modal Tổng Kết Cuối Ngày */
.sc-dayend-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  width: 100%;
  margin-bottom: 0.5rem;
}

.sc-dayend-stat-item {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.45rem 0.55rem;
  display: flex;
  flex-direction: column;
  font-size: 0.74rem;
  color: #64748b;
}

.sc-dayend-stat-item.highlight {
  grid-column: span 2;
  background: #f0fdf4;
  border-color: #86efac;
}

/* Modal Đổi Tên Tiệm */
.sc-rename-input {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 2px solid #8c5324;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 800;
  color: #1e293b;
  outline: none;
  background: #ffffff;
}

.sc-rename-input:focus {
  border-color: #f43f5e;
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.15);
}

.sc-rename-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.6rem;
  justify-content: center;
}

.sc-rename-suggestions span {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #854d0e;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.1s;
}

.sc-rename-suggestions span:hover {
  background: #fde047;
}

/* Nút bấm trong Modal */
.sc-modal-btn-confirm {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  transition: transform 0.1s;
}

.sc-modal-btn-confirm:active {
  transform: scale(0.96);
}

.sc-modal-btn-cancel {
  background: #f1f5f9;
  color: #475569;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
}

.sc-modal-btn-cancel:active {
  transform: scale(0.96);
}

/* ================= 12. THANH TIẾN ĐỘ LEVEL & EXP ================= */
.sc-level-progress-strip {
  background: #fdf6ec;
  border-bottom: 1.5px solid #ebd9c8;
  padding: 0.22rem 0.85rem 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

[data-theme="dark"] .sc-level-progress-strip {
  background: #24201d;
  border-color: #3d3835;
}

.sc-exp-label {
  font-size: 0.65rem;
  font-weight: 800;
  color: #8c5324;
  display: flex;
  justify-content: space-between;
}

.sc-exp-bar-track {
  width: 100%;
  height: 5px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.sc-exp-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #eab308);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.sc-level-badge {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #93c5fd;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.7rem;
  white-space: nowrap;
}

/* ================= 13. THANH ĐIỀU HƯỚNG TABS TRONG GAME ================= */
.sc-game-nav-tabs {
  display: flex;
  background: #ffffff;
  border-bottom: 2px solid #8c5324;
  padding: 0.35rem 0.4rem;
  gap: 0.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex-wrap: nowrap;
}

.sc-game-nav-tabs::-webkit-scrollbar {
  display: none;
}

[data-theme="dark"] .sc-game-nav-tabs {
  background: #1c1917;
}

.sc-nav-tab {
  flex: 1 0 auto;
  min-width: fit-content;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.32rem 0.38rem;
  font-size: 0.68rem;
  font-weight: 900;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  white-space: nowrap;
  transition: all 0.15s;
}

.sc-nav-tab.active {
  background: #fef08a;
  border-color: #ca8a04;
  color: #854d0e;
  box-shadow: 0 2px 6px rgba(202, 138, 4, 0.25);
}

.sc-nav-tab:active {
  transform: scale(0.95);
}

/* ================= 14. MÀN HÌNH KHO NGUYÊN LIỆU & HẠN DÙNG ================= */
.sc-inventory-screen-wrap {
  padding: 0.75rem 0.85rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sc-screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  padding: 0.6rem 0.85rem;
  border: 1.5px solid #ebd9c8;
  border-radius: 14px;
}

[data-theme="dark"] .sc-screen-header {
  background: #262626;
  border-color: #44403c;
}

.sc-inv-filter-bar {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding-bottom: 2px;
}

.sc-inv-filter-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #475569;
  cursor: pointer;
  white-space: nowrap;
}

.sc-inv-filter-btn.active {
  background: #8c5324;
  color: #ffffff;
  border-color: #78350f;
}

.sc-inv-grid-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: 420px;
  overflow-y: auto;
}

.sc-inv-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.55rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

[data-theme="dark"] .sc-inv-card {
  background: #262626;
  border-color: #383532;
}

.sc-inv-expiry-badge {
  font-size: 0.64rem;
  font-weight: 800;
  padding: 0.08rem 0.35rem;
  border-radius: 4px;
  display: inline-block;
  margin-top: 2px;
}

.sc-inv-expiry-badge.safe {
  background: #dcfce7;
  color: #15803d;
}

.sc-inv-expiry-badge.warning {
  background: #fef08a;
  color: #854d0e;
}

.sc-inv-expiry-badge.danger {
  background: #fee2e2;
  color: #b91c1c;
  animation: pulseExpire 1s infinite alternate;
}

@keyframes pulseExpire {
  0% { transform: scale(0.96); }
  100% { transform: scale(1.04); }
}

.sc-inv-btn-buy {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.25rem 0.55rem;
  font-size: 0.74rem;
  font-weight: 900;
  cursor: pointer;
  color: #1e293b;
}

.sc-inv-btn-buy:active {
  transform: scale(0.92);
}

/* ================= 15. MÀN HÌNH NÂNG CẤP & DOANH THU ================= */
.sc-upgrades-screen-wrap {
  padding: 0.75rem 0.85rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sc-finance-card {
  background: #ffffff;
  border: 2px solid #8c5324;
  border-radius: 16px;
  padding: 0.75rem 0.85rem;
}

[data-theme="dark"] .sc-finance-card {
  background: #262626;
}

.sc-finance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.sc-finance-item {
  background: #fdfbf7;
  border: 1px solid #ebd9c8;
  border-radius: 10px;
  padding: 0.45rem 0.55rem;
  display: flex;
  flex-direction: column;
  font-size: 0.74rem;
  color: #64748b;
}

[data-theme="dark"] .sc-finance-item {
  background: #1f1d1b;
  border-color: #3d3835;
}

.sc-finance-item strong {
  font-size: 1rem;
  font-weight: 900;
  color: #1e293b;
  margin-top: 1px;
}

[data-theme="dark"] .sc-finance-item strong {
  color: #f8fafc;
}

.sc-upgrade-cards-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.sc-upgrade-card {
  background: #ffffff;
  border: 1.5px solid #e2d3c1;
  border-radius: 16px;
  padding: 0.7rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

[data-theme="dark"] .sc-upgrade-card {
  background: #262626;
  border-color: #44403c;
}

.sc-upgrade-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(217, 119, 6, 0.3);
}

.sc-upgrade-btn.maxed {
  background: #94a3b8;
  cursor: default;
  box-shadow: none;
}

/* ================= 16. MÀN HÌNH THÀNH TÍCH & LUẬT CHƠI ================= */
.sc-tutorial-screen-wrap {
  padding: 0.75rem 0.85rem 1.4rem;
}

.sc-achievements-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.sc-achievement-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.55rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

[data-theme="dark"] .sc-achievement-card {
  background: #262626;
  border-color: #383532;
}

.sc-achievement-card.completed {
  border-color: #eab308;
  background: #fefce8;
}

[data-theme="dark"] .sc-achievement-card.completed {
  background: #292518;
  border-color: #ca8a04;
}

.sc-rules-card {
  background: #ffffff;
  border: 1.5px solid #e2d3c1;
  border-radius: 16px;
  padding: 0.75rem 0.85rem;
}

[data-theme="dark"] .sc-rules-card {
  background: #262626;
  border-color: #44403c;
}

/* ================= 17. BẢNG CHẤM ĐIỂM 100 ĐIỂM CHI TIẾT (MỤC 9) ================= */
.sc-score-breakdown-box {
  width: 100%;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.65rem;
}

[data-theme="dark"] .sc-score-breakdown-box {
  background: #1e1e1e;
  border-color: #383532;
}

.sc-score-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #64748b;
  border-bottom: 1px dashed rgba(0,0,0,0.06);
  padding-bottom: 1px;
}

.sc-score-row strong {
  color: #1e293b;
  font-weight: 800;
}

[data-theme="dark"] .sc-score-row strong {
  color: #f1f5f9;
}

.sc-score-row.total {
  border-bottom: none;
  border-top: 1.5px solid #cbd5e1;
  padding-top: 3px;
  margin-top: 2px;
  font-weight: 900;
  font-size: 0.8rem;
  color: #8c5324;
}

.sc-score-row.total strong {
  color: #16a34a;
  font-size: 0.95rem;
}

/* Hộp nguyên liệu hư hỏng hết hạn */
.sc-spoiled-box {
  background: #fee2e2;
  border: 1.5px solid #f87171;
  border-radius: 12px;
  padding: 0.45rem 0.65rem;
  width: 100%;
  margin-bottom: 0.65rem;
  text-align: left;
}

/* Modal Lên Cấp */
.sc-unlocked-box {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 12px;
  padding: 0.6rem 0.85rem;
  width: 100%;
}

/* ================= 18. THANH PHÍM TẮT & SỔ TAY CÔNG THỨC ================= */
.sc-quick-tools-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  background: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid #f1e5d8;
  backdrop-filter: blur(4px);
}

[data-theme="dark"] .sc-quick-tools-strip {
  background: rgba(30, 30, 30, 0.75);
  border-bottom-color: #383532;
}

.sc-quick-tool-btn {
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: 999px;
  color: #92400e;
  font-size: 0.73rem;
  font-weight: 800;
  padding: 0.28rem 0.65rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: transform 0.15s, background 0.15s;
}

.sc-quick-tool-btn:hover {
  background: #fde68a;
  transform: translateY(-1px);
}

.sc-quick-tool-btn.reset {
  background: #fee2e2;
  border-color: #f87171;
  color: #b91c1c;
}

.sc-quick-tool-btn.reset:hover {
  background: #fecaca;
}

/* Modal Sổ Tay Công Thức */
.sc-recipe-book-modal {
  max-width: 480px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 1.1rem;
}

.sc-recipe-card {
  background: #ffffff;
  border: 1.5px solid #e2d3c1;
  border-radius: 12px;
  padding: 0.5rem 0.65rem;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

[data-theme="dark"] .sc-recipe-card {
  background: #262626;
  border-color: #44403c;
}

.sc-recipe-icon {
  font-size: 1.6rem;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #fdf2f8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sc-recipe-details {
  flex: 1;
  min-width: 0;
}

.sc-recipe-name {
  font-size: 0.82rem;
  font-weight: 900;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

[data-theme="dark"] .sc-recipe-name {
  color: #f1f5f9;
}

.sc-recipe-formula {
  font-size: 0.72rem;
  color: #78350f;
  background: #fef3c7;
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  display: inline-block;
  margin-top: 0.15rem;
  font-weight: 700;
}

/* Khóa công thức trong Sổ tay */
.sc-recipe-card.is-locked {
  background: #f8fafc;
  border-style: dashed;
  border-color: #cbd5e1;
  opacity: 0.75;
}

[data-theme="dark"] .sc-recipe-card.is-locked {
  background: #1e1e1e;
  border-color: #525252;
}

.sc-recipe-card.is-locked .sc-recipe-icon {
  background: #f1f5f9;
  filter: grayscale(1);
}

.sc-recipe-formula.locked {
  background: #f1f5f9;
  color: #64748b;
  font-style: italic;
  font-weight: 600;
}

.sc-recipe-badge {
  font-size: 0.7rem;
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
  font-weight: 800;
}

.sc-recipe-badge.unlocked {
  color: #15803d;
  background: #dcfce7;
}

.sc-recipe-badge.locked {
  color: #64748b;
  background: #e2e8f0;
}

/* ========================================================================= */
/* BANNER KHÔNG KHÍ QUÁN & GIỜ CAO ĐIỂM (RUSH HOUR & VIBE BANNER) */
/* ========================================================================= */
.sc-store-vibe-banner {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.65rem;
  margin: 0.3rem 0;
  border-radius: 8px;
  background: #fef9c3;
  border: 1px solid #fde047;
  color: #854d0e;
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.sc-store-vibe-banner.rush-hour {
  background: linear-gradient(135deg, #ea580c, #dc2626);
  border-color: #f97316;
  color: #ffffff;
  animation: scPulseRush 2s infinite ease-in-out;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.4);
}

@keyframes scPulseRush {
  0% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.01); filter: brightness(1.1); }
  100% { transform: scale(1); filter: brightness(1); }
}

[data-theme="dark"] .sc-store-vibe-banner {
  background: #27272a;
  border-color: #3f3f46;
  color: #fef08a;
}

[data-theme="dark"] .sc-store-vibe-banner.rush-hour {
  background: linear-gradient(135deg, #c2410c, #991b1b);
  border-color: #ea580c;
  color: #ffffff;
}

/* ========================================================================= */
/* THANH MỤC TIÊU HÀNG NGÀY (DAILY QUESTS STRIP) */
/* ========================================================================= */
.sc-daily-quests-strip {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
  overflow-x: auto;
  padding-bottom: 2px;
  cursor: pointer;
}

.sc-quest-chip {
  flex: 1;
  min-width: 120px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.3rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.3rem;
  font-size: 0.72rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.15s ease;
}

.sc-quest-chip:hover {
  transform: translateY(-1px);
  border-color: #cbd5e1;
}

[data-theme="dark"] .sc-quest-chip {
  background: #262626;
  border-color: #404040;
  color: #f1f5f9;
}

.sc-quest-chip.completed {
  background: #f0fdf4;
  border-color: #86efac;
}

[data-theme="dark"] .sc-quest-chip.completed {
  background: #14532d;
  border-color: #22c55e;
}

.sc-quest-chip-text {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-theme="dark"] .sc-quest-chip-text {
  color: #e2e8f0;
}

.sc-quest-chip-count {
  font-weight: 900;
  color: #ea580c;
  background: #ffedd5;
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
  font-size: 0.68rem;
  flex-shrink: 0;
}

.sc-quest-chip.completed .sc-quest-chip-count {
  color: #15803d;
  background: #dcfce7;
}

/* Modal Chi Tiết Nhiệm Vụ */
.sc-quests-modal-card {
  max-width: 440px;
  width: 92%;
}

.sc-quest-detail-item {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  text-align: left;
}

[data-theme="dark"] .sc-quest-detail-item {
  background: #262626;
  border-color: #404040;
}

.sc-quest-detail-item.completed {
  background: #f0fdf4;
  border-color: #86efac;
}

/* Kho nguyên liệu bị khóa */
.sc-inv-card.is-locked {
  background: #f8fafc;
  opacity: 0.75;
}

[data-theme="dark"] .sc-inv-card.is-locked {
  background: #1e1e1e;
}

.sc-inv-badge-locked {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  color: #64748b;
  background: #e2e8f0;
  padding: 0.1rem 0.4rem;
  border-radius: 6px;
  margin-top: 0.2rem;
}

/* =========================================================================
   HOẠT ẢNH HOẠT HÌNH TOPPING (CARTOON KAWAII TOPPING ANIMATIONS & PHYSICS)
   ========================================================================= */

/* 1. Hoạt ảnh Idle trong khay Topping */
@keyframes scBobaBounce {
  0%, 100% {
    transform: translateY(0) scale(1, 1);
  }
  50% {
    transform: translateY(-2.5px) scale(1.04, 0.96);
  }
}

.sc-anim-boba-bounce {
  animation: scBobaBounce 2.5s ease-in-out infinite;
  transform-origin: center bottom;
}

@keyframes scPuddingJiggle {
  0%, 100% {
    transform: rotate(0deg) scale(1, 1);
  }
  25% {
    transform: rotate(-3.5deg) scale(1.05, 0.95);
  }
  50% {
    transform: rotate(0deg) scale(0.97, 1.03);
  }
  75% {
    transform: rotate(3.5deg) scale(1.04, 0.96);
  }
}

.sc-anim-pudding-jiggle {
  animation: scPuddingJiggle 2.8s ease-in-out infinite;
  transform-origin: center bottom;
}

@keyframes scJellyWiggle {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-2px) rotate(-3deg);
  }
  66% {
    transform: translateY(0.5px) rotate(3deg);
  }
}

.sc-anim-jelly-wiggle {
  animation: scJellyWiggle 3.2s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes scFoamFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-3px) scale(1.04, 1.02);
  }
}

.sc-anim-foam-float {
  animation: scFoamFloat 3.4s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes scSparkleTwinkle {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.65) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.25) rotate(45deg);
  }
}

.sc-sparkle-star {
  animation: scSparkleTwinkle 1.8s ease-in-out infinite;
  transform-origin: center center;
}

/* 2. Hoạt ảnh Muôi múc Topping bay vào ly (Flying Scoop Overlay) */
.sc-flying-topping-scoop {
  position: fixed;
  z-index: 999999;
  pointer-events: none;
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
}

.sc-spoon-graphic {
  position: relative;
  width: 64px;
  height: 64px;
}

.sc-spoon-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.28));
}

.sc-spoon-topping-payload {
  position: absolute;
  top: 14px;
  left: 6px;
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35));
}

.sc-spoon-topping-payload .sc-art-icon {
  width: 100%;
  height: 100%;
}

.sc-spoon-sparkle-trail {
  position: absolute;
  top: -2px;
  right: -2px;
  font-size: 16px;
  animation: scTrailTwinkle 0.25s ease infinite alternate;
}

@keyframes scTrailTwinkle {
  from {
    opacity: 0.4;
    transform: scale(0.8) rotate(0deg);
  }
  to {
    opacity: 1;
    transform: scale(1.3) rotate(30deg);
  }
}

/* 3. Hiệu ứng va chạm & giọt bắn nước khi múc topping vào ly */
@keyframes scCupImpact {
  0% {
    transform: scale(1);
  }
  20% {
    transform: scale(1.06, 0.94) translateY(3px);
  }
  50% {
    transform: scale(0.96, 1.04) translateY(-3px);
  }
  75% {
    transform: scale(1.02, 0.99) translateY(0);
  }
  100% {
    transform: scale(1);
  }
}

.sc-cup-impact-bounce {
  animation: scCupImpact 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sc-splash-particle-wrap {
  position: fixed;
  z-index: 999998;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.sc-splash-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  animation: scSplashOut 0.52s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes scSplashOut {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--dx), var(--dy)) scale(0.15);
    opacity: 0;
  }
}

/* 4. Hoạt ảnh Topping sống động bên trong Ly Trà Sữa (Living Cup Toppings) */
@keyframes scCupBobaBob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

.sc-cup-boba-bob {
  animation: scCupBobaBob 2.6s ease-in-out infinite;
  transform-origin: center bottom;
}

@keyframes scCupPuddingBob {
  0%, 100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.03, 0.97) translateY(1.5px);
  }
}

.sc-cup-pudding-bob {
  animation: scCupPuddingBob 2.4s ease-in-out infinite;
  transform-origin: 50px 105px;
}

@keyframes scCupJellyBob {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-2.2px) rotate(1.5deg);
  }
}

.sc-cup-jelly-bob {
  animation: scCupJellyBob 3s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes scCupFoamWave {
  0%, 100% {
    transform: translateY(0) scaleY(1);
  }
  50% {
    transform: translateY(-1.5px) scaleY(1.05);
  }
}

.sc-cup-foam-cheese {
  animation: scCupFoamWave 3.5s ease-in-out infinite;
  transform-origin: center top;
}

/* ================= 15. MÀN HÌNH ĐÁNH GIÁ CỦA KHÁCH HÀNG (REVIEWS & RATINGS) ================= */
.sc-tab-badge {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 999px;
  margin-left: 3px;
  display: inline-block;
}

.sc-reviews-screen-wrap {
  padding: 0.75rem 0.85rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sc-reviews-overview-card {
  background: #ffffff;
  border: 2px solid #fed7aa;
  border-radius: 18px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.08);
}

[data-theme="dark"] .sc-reviews-overview-card {
  background: #262320;
  border-color: #57371c;
}

.sc-rating-score-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0.9;
  border-right: 1.5px solid #fed7aa;
  padding-right: 0.75rem;
}

[data-theme="dark"] .sc-rating-score-box {
  border-color: #57371c;
}

.sc-score-big-num {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  color: #1e293b;
  letter-spacing: -0.5px;
}

[data-theme="dark"] .sc-score-big-num {
  color: #f8fafc;
}

.sc-score-stars-row {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
  margin: 0.25rem 0 0.2rem;
}

.sc-score-count-pill {
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748b;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

[data-theme="dark"] .sc-score-count-pill {
  background: #332d29;
  color: #cbd5e1;
}

.sc-rating-chart-box {
  flex: 1.4;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sc-star-bar-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #475569;
}

[data-theme="dark"] .sc-star-bar-row {
  color: #cbd5e1;
}

.sc-star-bar-track {
  flex: 1;
  height: 8px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
}

[data-theme="dark"] .sc-star-bar-track {
  background: #332d29;
}

.sc-star-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.sc-star-bar-count {
  width: 24px;
  text-align: right;
  font-size: 0.68rem;
  color: #64748b;
}

/* Thẻ hướng dẫn chấm sao (Khớp hình ảnh mẫu bên trái) */
.sc-rating-guide-card {
  background: #fffbeb;
  border: 2px dashed #f59e0b;
  border-radius: 16px;
  padding: 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

[data-theme="dark"] .sc-rating-guide-card {
  background: #272218;
  border-color: #a16207;
}

.sc-guide-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.sc-guide-icon {
  font-size: 1.3rem;
}

.sc-guide-title {
  font-size: 0.88rem;
  font-weight: 900;
  color: #854d0e;
}

[data-theme="dark"] .sc-guide-title {
  color: #fef08a;
}

.sc-guide-sub {
  font-size: 0.72rem;
  color: #92400e;
  font-weight: 700;
}

[data-theme="dark"] .sc-guide-sub {
  color: #fde68a;
}

.sc-guide-demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.sc-guide-demo-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 0.5rem 0.6rem;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  border: 1px solid #fde68a;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

[data-theme="dark"] .sc-guide-demo-card {
  background: #1f1b17;
  border-color: #45341f;
}

.sc-guide-stars {
  color: #f59e0b;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.sc-guide-stars.bad {
  color: #ef4444;
}

.sc-guide-quote {
  font-size: 0.74rem;
  font-weight: 800;
  color: #1e293b;
  margin: 1px 0;
}

[data-theme="dark"] .sc-guide-quote {
  color: #f1f5f9;
}

.sc-guide-tag {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.25;
}

.sc-guide-tag.good {
  color: #16a34a;
}

.sc-guide-tag.bad {
  color: #dc2626;
}

.sc-traffic-status-banner {
  background: #ffffff;
  border-radius: 10px;
  padding: 0.35rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #fed7aa;
}

[data-theme="dark"] .sc-traffic-status-banner {
  background: #1a1816;
  color: #e2e8f0;
  border-color: #45341f;
}

/* Thanh lọc đánh giá */
.sc-reviews-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  overflow-x: auto;
  padding-bottom: 2px;
}

.sc-rev-filter-btn {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  font-size: 0.74rem;
  font-weight: 800;
  color: #475569;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}

[data-theme="dark"] .sc-rev-filter-btn {
  background: #292524;
  border-color: #44403c;
  color: #cbd5e1;
}

.sc-rev-filter-btn.active {
  background: #f43f5e;
  border-color: #e11d48;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.3);
}

.sc-rev-filter-btn.star {
  padding: 0.28rem 0.5rem;
}

.sc-reviews-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* Thẻ đánh giá từng khách (Review card) */
.sc-review-card {
  background: #ffffff;
  border: 1.5px solid #fed7aa;
  border-radius: 16px;
  padding: 0.75rem 0.85rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: transform 0.15s;
}

[data-theme="dark"] .sc-review-card {
  background: #24201d;
  border-color: #4c3321;
}

.sc-rev-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sc-rev-user-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sc-rev-avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fef08a;
  border: 2px solid #ca8a04;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sc-rev-name-group {
  display: flex;
  flex-direction: column;
}

.sc-rev-name {
  font-size: 0.84rem;
  font-weight: 900;
  color: #1e293b;
}

[data-theme="dark"] .sc-rev-name {
  color: #f1f5f9;
}

.sc-rev-stars {
  color: #f59e0b;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  margin-top: 1px;
}

.sc-rev-meta-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sc-rev-day-badge {
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 700;
}

.sc-rev-drink-thumb {
  width: 30px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sc-rev-comment {
  font-size: 0.8rem;
  color: #334155;
  line-height: 1.45;
  margin: 0.2rem 0;
}

[data-theme="dark"] .sc-rev-comment {
  color: #cbd5e1;
}

.sc-rev-action-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 0.2rem;
}

.sc-rev-reply-btn {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.24rem 0.75rem;
  font-size: 0.74rem;
  font-weight: 800;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s;
}

[data-theme="dark"] .sc-rev-reply-btn {
  background: #332d29;
  border-color: #574d47;
  color: #cbd5e1;
}

.sc-rev-reply-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.sc-rev-owner-reply-box {
  background: #fdf2f8;
  border-left: 3px solid #f43f5e;
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  font-size: 0.75rem;
  color: #831843;
  line-height: 1.45;
  width: 100%;
}

[data-theme="dark"] .sc-rev-owner-reply-box {
  background: #341a27;
  border-color: #f43f5e;
  color: #fbcfe8;
}

.sc-pagination-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.sc-page-btn {
  min-width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

[data-theme="dark"] .sc-page-btn {
  background: #292524;
  border-color: #44403c;
  color: #cbd5e1;
}

.sc-page-btn.active {
  background: #f43f5e;
  border-color: #e11d48;
  color: #ffffff;
}

.sc-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.sc-bottom-action-btn {
  width: 100%;
  background: linear-gradient(135deg, #f43f5e, #fb7185);
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  font-weight: 900;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.4);
  cursor: pointer;
  transition: transform 0.15s;
}

.sc-bottom-action-btn:active {
  transform: scale(0.97);
}

/* Modal Trả Lời Đánh Giá */
.sc-reply-preset-chips {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sc-reply-chip {
  text-align: left;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s;
  line-height: 1.4;
}

[data-theme="dark"] .sc-reply-chip {
  background: #2a2522;
  border-color: #4c423c;
  color: #e2e8f0;
}

.sc-reply-chip:hover, .sc-reply-chip.selected {
  background: #fdf2f8;
  border-color: #f43f5e;
  color: #be123c;
}

.sc-reply-textarea {
  width: 100%;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 0.5rem 0.65rem;
  font-size: 0.78rem;
  font-family: inherit;
  margin-top: 0.45rem;
  outline: none;
  resize: vertical;
  box-sizing: border-box;
}

[data-theme="dark"] .sc-reply-textarea {
  background: #262320;
  border-color: #4c423c;
  color: #f8fafc;
}

.sc-reply-reward-notice {
  background: #fef3c7;
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  font-size: 0.72rem;
  color: #92400e;
  margin-top: 0.45rem;
}

/* Ẩn các button hỗ trợ / floating social trên giao diện game trà sữa */
.portal-floating-social {
  display: none !important;
}

/* =============================================================================
   EXPANDED TYCOON FEATURES: BRANCHES, STAFF, R&D, MARKETING, DELIVERY & WHEEL
   Tác giả: Huỳnh Nguyễn Thành Đạt
   ============================================================================= */

/* 1. SCREEN HEADERS */
.sc-screen-headline {
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1.5px dashed #e2e8f0;
}
.sc-screen-title {
  font-size: 1.05rem;
  font-weight: 900;
  color: #8c5324;
  margin: 0 0 0.2rem 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.sc-screen-desc {
  font-size: 0.74rem;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}

/* 2. CHUỖI CHI NHÁNH & MẶT BẰNG */
.sc-branch-screen-wrap {
  padding: 0.75rem;
}
.sc-branches-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.sc-branch-card {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.sc-branch-card.active {
  border-color: #10b981;
  background: #f0fdf4;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.15);
}
.sc-branch-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sc-branch-card-title {
  font-size: 0.95rem;
  font-weight: 900;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.sc-branch-card-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #475569;
}
.sc-branch-card.active .sc-branch-card-badge {
  background: #10b981;
  color: #ffffff;
}
.sc-branch-perks-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.2rem 0;
}
.sc-branch-perk-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: #f1f5f9;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.sc-branch-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.4rem;
  border-top: 1px dashed #e2e8f0;
  margin-top: 0.2rem;
}
.sc-branch-rent-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: #b45309;
}

/* 3. ĐỘI NGŨ NHÂN VIÊN */
.sc-staff-screen-wrap {
  padding: 0.75rem;
}
.sc-staff-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.sc-staff-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.85rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.sc-staff-avatar-box {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbcfe8, #fed7aa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0,0,0,0.06);
}
.sc-staff-info-col {
  flex: 1;
}
.sc-staff-name {
  font-size: 0.88rem;
  font-weight: 900;
  color: #1e293b;
  margin-bottom: 2px;
}
.sc-staff-level-stars {
  color: #f59e0b;
  font-size: 0.75rem;
  margin-bottom: 4px;
}
.sc-staff-perk-desc {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.35;
  margin-bottom: 4px;
}
.sc-staff-wage-pill {
  font-size: 0.65rem;
  font-weight: 800;
  color: #dc2626;
  background: #fee2e2;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  display: inline-block;
}

/* 4. PHÒNG R&D SÁNG TẠO MÓN SIGNATURE */
.sc-rnd-screen-wrap {
  padding: 0.75rem;
}
.sc-rnd-workbench {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.sc-rnd-section-box {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.75rem;
}
.sc-rnd-section-title {
  font-size: 0.82rem;
  font-weight: 900;
  color: #8c5324;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.sc-rnd-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.sc-rnd-chip {
  padding: 0.32rem 0.6rem;
  border-radius: 8px;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.sc-rnd-chip.active {
  background: #8c5324;
  color: #ffffff;
  border-color: #8c5324;
  box-shadow: 0 2px 6px rgba(140, 83, 36, 0.25);
}
.sc-rnd-input-name {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1.5px solid #cbd5e1;
  font-size: 0.88rem;
  font-weight: 800;
  color: #1e293b;
  box-sizing: border-box;
}
.sc-rnd-preview-card {
  background: linear-gradient(135deg, #fef3c7, #fed7aa);
  border: 2px dashed #f59e0b;
  border-radius: 14px;
  padding: 0.85rem;
  text-align: center;
}

/* 5. MARKETING & XU HƯỚNG */
.sc-marketing-screen-wrap {
  padding: 0.75rem;
}
.sc-trend-banner-box {
  background: linear-gradient(135deg, #fff1f2, #ffe4e6);
  border: 1.5px solid #fda4af;
  border-radius: 12px;
  padding: 0.75rem;
  margin-bottom: 0.85rem;
}
.sc-trend-title {
  font-size: 0.85rem;
  font-weight: 900;
  color: #e11d48;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.sc-trend-desc {
  font-size: 0.74rem;
  color: #881337;
  margin: 0;
  line-height: 1.4;
}
.sc-marketing-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.sc-marketing-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.sc-marketing-card.active {
  border-color: #3b82f6;
  background: #eff6ff;
}

/* 6. ĐƠN HÀNG GIAO TẬN NƠI ONLINE (APP DELIVERY TICKET) */
.sc-delivery-ticket-container {
  margin: 0.4rem 0.6rem;
  background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
  border: 2px solid #f97316;
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
  animation: pulseDelivery 2s infinite ease-in-out;
}
@keyframes pulseDelivery {
  0% { transform: scale(1); }
  50% { transform: scale(1.015); box-shadow: 0 6px 16px rgba(249, 115, 22, 0.35); }
  100% { transform: scale(1); }
}
.sc-delivery-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}
.sc-delivery-app-badge {
  font-size: 0.72rem;
  font-weight: 900;
  color: #ffffff;
  background: #ea580c;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.sc-delivery-timer-tag {
  font-size: 0.72rem;
  font-weight: 900;
  color: #9a3412;
}
.sc-delivery-details {
  font-size: 0.76rem;
  color: #7c2d12;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.45rem;
}
.sc-delivery-actions-row {
  display: flex;
  gap: 0.45rem;
}
.sc-delivery-pack-btn {
  flex: 1;
  background: #ffffff;
  color: #c2410c;
  border: 1.5px solid #ea580c;
  border-radius: 8px;
  padding: 0.38rem;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}
.sc-delivery-deliver-btn {
  flex: 1.2;
  background: linear-gradient(135deg, #ea580c, #c2410c);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.38rem;
  font-size: 0.72rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.35);
}

/* 7. VÒNG QUAY MAY MẮN BOBA */
.sc-wheel-modal-card {
  max-width: 360px;
  text-align: center;
}
.sc-wheel-canvas-wrap {
  position: relative;
  display: inline-block;
  margin: 0.5rem auto;
}
.sc-wheel-pointer {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.8rem;
  color: #ef4444;
  z-index: 10;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.sc-wheel-spin-btn {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 0.65rem 1.5rem;
  font-size: 0.92rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.35);
  transition: all 0.2s ease;
}
.sc-wheel-spin-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(244, 63, 94, 0.45);
}
.sc-wheel-spin-btn:disabled {
  background: #cbd5e1;
  color: #94a3b8;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.sc-mini-sparkle-pill {
  font-size: 0.6rem;
  font-weight: 900;
  color: #ffffff;
  background: #f43f5e;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  margin-left: 2px;
}

/* ========================================================================= */
/* 24. RESPONSIVE TOÀN DIỆN CHO ĐIỆN THOẠI & THIẾT BỊ DI ĐỘNG (<= 580PX)     */
/* Chuẩn công thái học (Ergonomic Touch Targets): Ô bấm to, chữ rõ, mượt mà  */
/* ========================================================================= */
@media (max-width: 580px) {
  .sweetcup-main-wrapper {
    max-width: 100%;
    width: 100%;
    margin: 0 auto 1.25rem;
    border-radius: 16px;
    border-width: 3px;
    box-sizing: border-box;
    overflow: clip;
  }

  /* 1. Mái che: Nhỏ gọn tinh tế */
  .sc-awning-roof {
    height: 14px;
  }
  .sc-awning-scallops {
    display: none;
  }
  .sc-fairy-lights {
    display: none;
  }

  /* 2. Thanh thông tin tiệm (Top Bar) */
  .sc-header-bar {
    padding: 0.35rem 0.55rem;
    font-size: 0.74rem;
    gap: 0.3rem;
  }
  .sc-header-left {
    gap: 0.25rem;
    min-width: 0;
    flex: 1;
    overflow: hidden;
  }
  .sc-day-badge,
  .sc-clock-badge {
    font-size: 0.65rem;
    padding: 0.1rem 0.35rem;
  }
  .sc-level-badge {
    font-size: 0.62rem;
    padding: 0.1rem 0.35rem;
  }
  .sc-shop-name-tag {
    font-size: 0.78rem;
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .sc-header-right {
    gap: 0.3rem;
    flex-shrink: 0;
  }
  .sc-wallet-box {
    font-size: 0.75rem;
    padding: 0.12rem 0.45rem;
  }
  .sc-rating-box {
    font-size: 0.7rem;
    padding: 0.1rem 0.35rem;
  }

  /* 3. Thanh EXP & Cloud sync */
  .sc-level-progress-strip {
    padding: 0.15rem 0.55rem;
    gap: 0.3rem;
  }
  .sc-exp-label {
    font-size: 0.62rem;
  }
  .sc-exp-bar-track {
    height: 4.5px;
  }
  .sc-cloud-sync-bar {
    padding: 0.18rem 0.55rem;
    font-size: 0.65rem;
  }
  .sc-cloud-badge {
    font-size: 0.65rem;
  }
  .sc-cloud-sync-btn {
    padding: 0.1rem 0.4rem;
    font-size: 0.62rem;
  }
  .sc-sync-code-pill {
    padding: 0.08rem 0.35rem;
    font-size: 0.6rem;
  }

  /* 4. Thanh phím tắt (Quick Tools) */
  .sc-quick-tools-strip {
    padding: 0.3rem 0.45rem;
    gap: 0.3rem;
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
  }
  .sc-quick-tools-strip::-webkit-scrollbar {
    display: none;
  }
  .sc-quick-tool-btn {
    font-size: 0.68rem;
    padding: 0.25rem 0.5rem;
    gap: 0.2rem;
    white-space: nowrap;
  }

  /* 5. Tabs điều hướng trong game */
  .sc-game-nav-tabs {
    padding: 0.3rem 0.4rem;
    gap: 0.25rem;
    overflow-x: visible;
    flex-wrap: wrap;
    justify-content: center;
  }
  .sc-game-nav-tabs::-webkit-scrollbar {
    display: none;
  }
  .sc-nav-tab {
    padding: 0.28rem 0.48rem;
    font-size: 0.65rem;
    gap: 0.2rem;
    border-radius: 8px;
    flex: 0 1 auto;
    min-width: fit-content;
    white-space: nowrap;
  }

  .sc-store-vibe-banner {
    display: none !important;
  }

  .sc-daily-quests-strip {
    flex-direction: column;
    gap: 0.25rem;
    overflow-x: visible;
    padding: 0 0.4rem 0.25rem;
  }
  .sc-quest-chip {
    min-width: 0;
    width: 100%;
    padding: 0.24rem 0.45rem;
    font-size: 0.68rem;
  }

  /* 6. Bối cảnh khách hàng Chibi & Bong bóng gọi món */
  .sc-customer-booth-scene {
    padding: 0.4rem 0.45rem 0.3rem;
    min-height: 76px;
    gap: 0.4rem;
  }
  .sc-cafe-window,
  .sc-cafe-shelf-plant {
    display: none;
  }
  .sc-chibi-customer-wrap {
    width: 72px;
    min-height: 72px;
    height: auto;
    flex-shrink: 0;
  }
  .sc-chibi-customer {
    width: 52px;
    height: 58px;
  }
  .sc-queue-badge {
    font-size: 0.5rem;
    padding: 0.08rem 0.28rem;
    margin-top: -4px;
  }
  .sc-order-speech-bubble {
    padding: 0.35rem 0.45rem;
    gap: 0.38rem;
    border-radius: 12px;
    min-width: 0;
    overflow: hidden;
  }
  .sc-order-mini-cup-thumb {
    width: 26px;
    height: 36px;
    font-size: 0.95rem;
    border-radius: 0 0 8px 8px;
  }
  .sc-order-headline {
    font-size: 0.74rem;
    line-height: 1.25;
    white-space: normal;
    overflow: visible;
    word-break: break-word;
  }
  .sc-order-badge-pill {
    font-size: 0.58rem;
    padding: 0.08rem 0.25rem;
  }
  .sc-patience-wrapper {
    margin-top: 0.15rem;
    font-size: 0.58rem;
  }
  .sc-patience-track {
    height: 6px;
  }

  /* 7. Kệ Quầy Trà (Cột Ly + 6 Bình Trà + Máy Dập Nắp) */
  .sc-counter-shelf-top {
    padding: 0.3rem 0.35rem 0.2rem;
    gap: 0.25rem;
  }
  .sc-shelf-wood-tag {
    display: none;
  }
  .sc-cup-stacks-group {
    gap: 0.25rem;
    padding-right: 0.25rem;
  }
  .sc-cup-stack-count {
    font-size: 0.52rem;
    padding: 0 0.2rem;
  }
  .sc-cup-stack-label {
    font-size: 0.56rem;
  }
  .sc-cup-stack-item svg {
    width: 22px;
    height: 32px;
  }
  .sc-tea-jars-row {
    gap: 0.2rem;
    flex: 1;
    justify-content: flex-start;
  }
  .sc-tea-jar-wrapper {
    width: 38px;
  }
  .sc-tea-jar-svg {
    width: 36px;
    height: 52px;
  }
  .sc-tea-jar-count-badge {
    font-size: 0.52rem;
    padding: 0 0.15rem;
  }
  .sc-sealer-machine-box {
    padding-left: 0.25rem;
  }
  .sc-sealer-svg {
    width: 38px;
    height: 52px;
  }
  .sc-sealer-btn-tag {
    font-size: 0.56rem;
  }

  /* 8. Bàn Pha Chế (Thớt Gỗ + Khay Topping Inox) */
  .sc-prep-table {
    padding: 0.35rem 0.35rem 0.25rem;
    gap: 0.32rem;
  }
  .sc-cutting-board {
    width: 112px;
    min-width: 108px;
    min-height: 195px;
    padding: 0.35rem 0.25rem;
    border-radius: 14px;
  }
  .sc-board-title-badge {
    font-size: 0.58rem;
    padding: 0.05rem 0.35rem;
  }
  .sc-living-cup-holder {
    min-height: 105px;
  }
  .sc-living-cup-svg {
    width: 72px;
    height: 105px;
  }
  .sc-empty-cup-placeholder {
    font-size: 0.62rem;
    padding: 1.5rem 0.35rem;
  }
  .sc-pour-meter-bar {
    height: 6px;
  }
  .sc-pour-gauge-hints {
    font-size: 0.5rem;
  }
  .sc-cup-condiments-label {
    font-size: 0.54rem;
    line-height: 1.15;
  }

  /* Cột Khay Topping & Gia Vị Inox */
  .sc-prep-right-col {
    gap: 0.3rem;
    min-width: 0;
    flex: 1;
    overflow: hidden;
  }
  .sc-topping-wells-grid {
    gap: 0.18rem;
    padding: 0.22rem;
    border-radius: 8px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .sc-topping-cell {
    min-width: 0;
    min-height: 48px;
    padding: 0.18rem 0.08rem;
    border-radius: 8px;
    overflow: hidden;
  }
  .sc-topping-cell-count {
    font-size: 0.48rem;
    padding: 0 0.18rem;
    top: 1px;
    right: 2px;
  }
  .sc-topping-cell-pan {
    width: 24px;
    height: 24px;
    margin: 1px 0;
  }
  .sc-topping-cell-art {
    width: 24px;
    height: 24px;
    margin: 1px 0;
  }
  .sc-topping-cell-label {
    font-size: 0.48rem;
    line-height: 1.1;
    margin-top: 1px;
  }
  .sc-condiments-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.2rem;
  }
  .sc-condiment-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.24rem 0.12rem;
    gap: 0.12rem;
    border-radius: 8px;
  }
  .sc-condiment-info {
    width: 100%;
    align-items: center;
  }
  .sc-condiment-svg {
    width: 18px;
    height: 18px;
  }
  .sc-condiment-title {
    font-size: 0.48rem;
    max-width: 100%;
  }
  .sc-condiment-value {
    font-size: 0.46rem;
    max-width: 100%;
  }
  .sc-syrups-shelf {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 0.26rem 0.22rem;
    gap: 0.2rem 0.14rem;
    border-radius: 8px;
    overflow: visible;
  }
  .sc-syrups-shelf::-webkit-scrollbar {
    display: none;
  }
  .sc-syrup-bottle-svg {
    width: 18px;
    height: 36px;
  }
  .sc-syrup-badge {
    font-size: 0.44rem;
    padding: 0 0.18rem;
  }
  .sc-syrup-label {
    font-size: 0.46rem;
  }

  /* 9. Nút thao tác dưới cùng (Làm lại, Dập nắp, Giao khách) */
  .sc-action-controls {
    padding: 0.35rem 0.35rem 0;
    gap: 0.35rem;
  }
  .sc-btn-reset-cup {
    padding: 0.52rem 0.55rem;
    font-size: 0.74rem;
    border-radius: 9px;
  }
  .sc-btn-seal-cup {
    padding: 0.52rem 0.65rem;
    font-size: 0.74rem;
    border-radius: 9px;
  }
  .sc-btn-serve-drink {
    padding: 0.55rem 0.85rem;
    font-size: 0.84rem;
    border-radius: 9px;
    gap: 0.2rem;
    font-weight: 900;
  }

  /* 11. Các màn hình khác: Kho, Nâng cấp, Đánh giá, Hướng dẫn */
  .sc-inventory-screen-wrap,
  .sc-upgrades-screen-wrap,
  .sc-reviews-screen-wrap,
  .sc-tutorial-screen-wrap {
    padding: 0.65rem 0.55rem 1rem;
    gap: 0.55rem;
  }
  .sc-screen-header {
    padding: 0.5rem 0.65rem;
  }
  .sc-inv-filter-btn {
    padding: 0.2rem 0.55rem;
    font-size: 0.7rem;
  }
  .sc-inv-card {
    padding: 0.45rem 0.6rem;
    gap: 0.4rem;
  }
  .sc-prep-container {
    padding: 0.65rem 0.55rem 1rem;
    gap: 0.65rem;
  }
  .sc-chalkboard-menu {
    padding: 0.55rem 0.65rem;
    border-width: 3.5px;
    border-radius: 14px;
  }
  .sc-chalk-title {
    font-size: 0.9rem;
  }
  .sc-chalk-grid {
    gap: 0.3rem 0.6rem;
    font-size: 0.72rem;
  }
  .sc-prep-card-list {
    padding: 0.65rem;
    max-height: 280px;
  }
  .sc-btn-open-shop {
    padding: 0.75rem 1.25rem;
    font-size: 0.92rem;
  }
  .sc-reviews-overview-card {
    padding: 0.65rem 0.75rem;
    gap: 0.6rem;
  }
  .sc-score-big-num {
    font-size: 2.1rem;
  }

  /* 12. Modals in-game */
  .sc-game-modal-card {
    width: 95%;
    max-width: 360px;
    padding: 0.95rem 0.85rem;
    border-radius: 18px;
    max-height: 88vh;
    max-height: 88dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .sc-result-mascot-stamp {
    font-size: 1.85rem;
    margin-bottom: 0.1rem;
  }
  .sc-result-title {
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
  }
  .sc-result-stars {
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 0.4rem;
  }
  .sc-score-breakdown-box {
    padding: 0.35rem 0.6rem;
    gap: 0.15rem;
    margin-bottom: 0.45rem;
  }
  .sc-score-row {
    font-size: 0.74rem;
    padding: 0.1rem 0;
  }
  .sc-score-row.total {
    font-size: 0.84rem;
    margin-top: 0.25rem;
    padding-top: 0.25rem;
  }
  .sc-result-money-box {
    padding: 0.4rem 0.65rem;
    margin-bottom: 0.45rem;
  }
  .sc-result-feedback-bubble {
    font-size: 0.74rem;
    padding: 0.35rem 0.6rem;
    margin-bottom: 0.55rem;
  }
  .sc-modal-btn-confirm {
    padding: 0.62rem 1.2rem;
    font-size: 0.92rem;
    touch-action: manipulation;
  }
  .sc-recipe-book-modal {
    width: 95%;
    max-width: 420px;
    padding: 0.85rem;
    max-height: 85vh;
  }
  .sc-recipe-card {
    padding: 0.4rem 0.55rem;
    gap: 0.45rem;
  }
  .sc-recipe-icon {
    width: 32px;
    height: 32px;
    font-size: 1.25rem;
  }
  .sc-recipe-name {
    font-size: 0.78rem;
  }
  .sc-recipe-formula {
    font-size: 0.68rem;
  }
}

/* ========================================================================= */
/* 25. RESPONSIVE CHO PHABLET & TABLET ĐỨNG (581PX - 767PX)                   */
/* ========================================================================= */
@media (min-width: 581px) and (max-width: 767px) {
  .sweetcup-main-wrapper {
    max-width: 96%;
    margin: 1rem auto 2rem;
    border-radius: 20px;
  }
  .sc-game-nav-tabs {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
  }
  .sc-nav-tab {
    flex: 0 1 auto;
  }
  .sc-tea-jars-row {
    min-width: 0;
    justify-content: safe center;
    overflow-x: auto;
  }
  .sc-topping-wells-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
  }
  .sc-condiments-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .sc-syrups-shelf {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.35rem;
    overflow: visible;
  }
  .sc-cutting-board {
    width: 175px;
    min-width: 165px;
    min-height: 240px;
  }
  .sc-living-cup-holder {
    min-height: 135px;
  }
  .sc-living-cup-svg {
    width: 92px;
    height: 130px;
  }
  #scInventoryCardsList,
  .sc-inv-grid-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }
  #scUpgradesList,
  .sc-upgrade-cards-list,
  #scBranchesList,
  .sc-branches-list,
  #scStaffList,
  .sc-staff-list,
  #scMarketingList,
  .sc-marketing-list,
  #scReviewsCardsList,
  .sc-reviews-list-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

/* ========================================================================= */
/* 26. GIAO DIỆN WIDESCREEN RỘNG RÃI, THOÁNG ĐÃNG CHO MÁY TÍNH & TABLET (>= 768PX) */
/* Quầy pha chế chuẩn chuyên nghiệp, lưới đa cột, thao tác cực kỳ dễ dàng      */
/* ========================================================================= */
@media (min-width: 768px) {
  .sweetcup-main-wrapper {
    max-width: 980px;
    border-width: 4px;
    border-radius: 28px;
    margin: 1.5rem auto 3.5rem;
  }

  /* 1. Mái che & Dây đèn lung linh */
  .sc-awning-roof {
    height: 32px;
  }
  .sc-fairy-lights {
    height: 18px;
    padding: 0 4rem;
  }
  .sc-light-bulb {
    width: 11px;
    height: 11px;
  }

  /* 2. Top Header Bar */
  .sc-header-bar {
    padding: 0.6rem 1.25rem;
    font-size: 0.88rem;
  }
  .sc-day-badge,
  .sc-clock-badge {
    font-size: 0.78rem;
    padding: 0.2rem 0.6rem;
  }
  .sc-level-badge {
    font-size: 0.75rem;
    padding: 0.18rem 0.55rem;
  }
  .sc-shop-name-tag {
    font-size: 1.05rem;
  }
  .sc-wallet-box {
    font-size: 0.95rem;
    padding: 0.25rem 0.85rem;
  }
  .sc-rating-box {
    font-size: 0.88rem;
  }

  /* 3. Thanh EXP & Cloud Bar */
  .sc-level-progress-strip {
    padding: 0.25rem 1.25rem;
  }
  .sc-exp-label {
    font-size: 0.76rem;
  }
  .sc-exp-bar-track {
    height: 7px;
  }
  .sc-cloud-sync-bar {
    padding: 0.35rem 1.25rem;
    font-size: 0.76rem;
  }
  .sc-sync-code-pill {
    padding: 0.15rem 0.65rem;
    font-size: 0.72rem;
  }

  /* 4. Quick Tools & Navigation Tabs */
  .sc-quick-tools-strip {
    padding: 0.45rem 1.25rem;
    gap: 0.65rem;
  }
  .sc-quick-tool-btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.85rem;
    border-radius: 12px;
    gap: 0.35rem;
  }
  .sc-game-nav-tabs {
    padding: 0.45rem 1rem;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
  }
  .sc-nav-tab {
    flex: 0 1 auto;
    padding: 0.42rem 0.68rem;
    font-size: 0.78rem;
    border-radius: 11px;
    gap: 0.3rem;
  }

  /* 5. Khách Hàng Chibi & Bong Bóng Gọi Món */
  .sc-customer-booth-scene {
    padding: 0.75rem 1.25rem 0.55rem;
    min-height: 120px;
    gap: 1.15rem;
  }
  .sc-chibi-customer-wrap {
    width: 108px;
    min-height: 106px;
    height: auto;
  }
  .sc-chibi-customer {
    width: 92px;
    height: 98px;
  }
  .sc-queue-badge {
    font-size: 0.58rem;
    padding: 0.12rem 0.45rem;
  }
  .sc-order-speech-bubble {
    padding: 0.75rem 1.25rem;
    border-radius: 18px;
    gap: 1rem;
  }
  .sc-order-mini-cup-thumb {
    width: 44px;
    height: 58px;
    font-size: 1.5rem;
    border-radius: 0 0 12px 12px;
  }
  .sc-order-headline {
    font-size: 0.98rem;
  }
  .sc-patience-wrapper {
    margin-top: 0.45rem;
    font-size: 0.78rem;
  }
  .sc-patience-track {
    height: 10px;
  }

  /* 6. Kệ Quầy Trà (Top Shelf) */
  .sc-counter-shelf-top {
    padding: 0.75rem 1.25rem 0.5rem;
    gap: 1rem;
  }
  .sc-cup-stacks-group {
    gap: 0.75rem;
    padding-right: 1rem;
  }
  .sc-cup-stack-item svg {
    width: 32px;
    height: 48px;
  }
  .sc-cup-stack-count {
    font-size: 0.7rem;
    padding: 0.08rem 0.4rem;
  }
  .sc-cup-stack-label {
    font-size: 0.75rem;
  }
  .sc-tea-jars-row {
    gap: 0.65rem;
    min-width: 0;
    justify-content: safe center;
    overflow-x: auto;
  }
  .sc-tea-jar-wrapper {
    width: 58px;
    transition: transform 0.15s ease;
  }
  .sc-tea-jar-wrapper:hover {
    transform: translateY(-3px) scale(1.06);
  }
  .sc-tea-jar-svg {
    width: 54px;
    height: 80px;
  }
  .sc-tea-jar-count-badge {
    font-size: 0.68rem;
    padding: 0.1rem 0.4rem;
  }
  .sc-sealer-machine-box {
    padding-left: 1rem;
    transition: transform 0.15s ease;
  }
  .sc-sealer-machine-box:hover {
    transform: translateY(-3px) scale(1.06);
  }
  .sc-sealer-svg {
    width: 58px;
    height: 80px;
  }
  .sc-sealer-btn-tag {
    font-size: 0.76rem;
  }

  /* 7. Bàn Pha Chế (Thớt Gỗ + Khay Topping Inox) */
  .sc-prep-table {
    padding: 1rem 1.25rem 0.65rem;
    gap: 1.25rem;
  }
  .sc-cutting-board {
    width: 260px;
    min-width: 250px;
    min-height: 310px;
    padding: 0.85rem 0.75rem;
    border-radius: 22px;
  }
  .sc-board-title-badge {
    font-size: 0.75rem;
    padding: 0.15rem 0.6rem;
  }
  .sc-tea-stream {
    width: 9px;
    height: 120px;
    top: -30px;
  }
  .sc-living-cup-holder {
    min-height: 180px;
  }
  .sc-living-cup-svg {
    width: 120px;
    height: 170px;
  }
  .sc-empty-cup-placeholder {
    font-size: 0.85rem;
    padding: 3rem 1rem;
    border-radius: 16px;
  }
  .sc-pour-meter-bar {
    height: 11px;
    border-radius: 999px;
  }
  .sc-pour-gauge-hints {
    font-size: 0.68rem;
  }
  .sc-cup-condiments-label {
    font-size: 0.76rem;
  }

  /* Cột Phải Khay Topping & Gia Vị */
  .sc-prep-right-col {
    gap: 0.75rem;
    min-width: 0;
  }
  .sc-topping-wells-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.65rem;
    border-radius: 16px;
  }
  .sc-topping-cell {
    min-width: 0;
    min-height: 74px;
    padding: 0.45rem 0.3rem;
    border-radius: 12px;
  }
  .sc-topping-cell-count {
    font-size: 0.68rem;
    padding: 0.1rem 0.4rem;
    top: 2px;
    right: 3px;
  }
  .sc-topping-cell-pan {
    width: 38px;
    height: 38px;
  }
  .sc-topping-cell-art {
    width: 38px;
    height: 38px;
  }
  .sc-topping-cell-label {
    font-size: 0.7rem;
    font-weight: 800;
  }
  .sc-condiments-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
  }
  .sc-condiment-card {
    padding: 0.55rem 0.75rem;
    border-radius: 14px;
    gap: 0.65rem;
  }
  .sc-condiment-svg {
    width: 36px;
    height: 36px;
  }
  .sc-condiment-title {
    font-size: 0.72rem;
  }
  .sc-condiment-value {
    font-size: 0.68rem;
  }
  .sc-syrups-shelf {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 0.55rem 0.75rem;
    gap: 0.45rem 0.65rem;
    border-radius: 14px;
    overflow: visible;
  }
  .sc-syrup-bottle-svg {
    width: 30px;
    height: 54px;
  }
  .sc-syrup-badge {
    font-size: 0.6rem;
    padding: 0.06rem 0.35rem;
  }
  .sc-syrup-label {
    font-size: 0.68rem;
    font-weight: 800;
  }

  /* 8. Nút Thao Tác Dưới Quầy */
  .sc-action-controls {
    padding: 0.85rem 1.25rem 0.45rem;
    gap: 1rem;
  }
  .sc-btn-reset-cup {
    padding: 0.75rem 1.45rem;
    font-size: 0.92rem;
    border-radius: 14px;
    font-weight: 800;
  }
  .sc-btn-seal-cup {
    padding: 0.75rem 1.65rem;
    font-size: 0.92rem;
    border-radius: 14px;
    font-weight: 800;
  }
  .sc-btn-serve-drink {
    padding: 0.8rem 2.2rem;
    font-size: 1.05rem;
    border-radius: 14px;
    font-weight: 900;
    box-shadow: 0 6px 22px rgba(16, 185, 129, 0.4);
  }

  /* 9. Màn hình Chuẩn Bị Sáng */
  .sc-prep-container {
    padding: 1.25rem;
    gap: 1.25rem;
  }
  .sc-prep-card-list {
    max-height: none;
    padding: 1rem;
  }
  #prepQuickRows {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.75rem;
  }
  .sc-prep-row {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.65rem 0.85rem;
  }
  .sc-chalkboard-menu {
    padding: 1rem 1.25rem;
    border-radius: 20px;
  }
  .sc-chalk-title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
  }
  .sc-chalk-grid {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 0.5rem 1.25rem;
    font-size: 0.84rem;
  }
  .sc-btn-open-shop {
    padding: 0.95rem 2rem;
    font-size: 1.1rem;
    border-radius: 16px;
  }

  /* 10. Lưới Đa Cột Cho Kho, Nâng Cấp, Chi Nhánh, Nhân Viên & Tiếp Thị */
  .sc-inventory-screen-wrap,
  .sc-upgrades-screen-wrap,
  .sc-branch-screen-wrap,
  .sc-staff-screen-wrap,
  .sc-marketing-screen-wrap,
  .sc-rnd-screen-wrap,
  .sc-reviews-screen-wrap {
    padding: 1.25rem;
    gap: 1rem;
  }

  #scInventoryCardsList,
  .sc-inv-grid-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.85rem;
    max-height: 580px;
  }

  #scUpgradesList,
  .sc-upgrade-cards-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  #scBranchesList,
  .sc-branches-list,
  #scStaffList,
  .sc-staff-list,
  #scMarketingList,
  .sc-marketing-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  #scRndWorkbench,
  .sc-rnd-workbench {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 1.25rem;
    align-items: start;
  }
  .sc-rnd-preview-card {
    position: sticky;
    top: 1rem;
  }

  #scReviewsCardsList,
  .sc-reviews-list-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    max-height: 580px;
    overflow-y: auto;
  }

  /* 11. Modal Rộng Rãi, Sang Trọng Trên Màn Hình Lớn */
  .sc-game-modal-card {
    max-width: 480px;
    width: 90%;
    padding: 1.35rem 1.25rem;
  }
  .sc-recipe-book-modal {
    max-width: 680px;
    width: 92%;
    max-height: 85vh;
    max-height: 85dvh;
  }
  #scRecipeBookList,
  .sc-recipe-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
    width: 100%;
    max-height: 500px;
    overflow-y: auto;
  }
  .sc-quests-modal-card {
    max-width: 560px;
    width: 92%;
  }
  .sc-game-modal-card.dayend-card {
    max-width: 520px;
    width: 92%;
  }
  .sc-game-modal-card.result-card {
    max-width: 460px;
    width: 92%;
  }
  .sc-wheel-modal-card {
    max-width: 420px;
  }
}

/* ========================================================================= */
/* 26b. TỐI ƯU KHUNG TABLET & LAPTOP KÈM SIDEBAR (768PX - 1199PX)            */
/* Đảm bảo đầy đủ 9 hũ trà + máy dập nắp + khay 4x3 + siro 5x2 không bị cắt */
/* ========================================================================= */
@media (min-width: 768px) and (max-width: 1199px) {
  .sc-counter-shelf-top {
    padding: 0.55rem 0.75rem 0.45rem;
    gap: 0.45rem;
  }
  .sc-cup-stacks-group {
    gap: 0.4rem;
    padding-right: 0.45rem;
  }
  .sc-cup-stack-item svg {
    width: 26px;
    height: 40px;
  }
  .sc-tea-jars-row {
    gap: 0.3rem;
    justify-content: safe center;
    overflow-x: auto;
  }
  .sc-tea-jar-wrapper {
    width: 44px;
  }
  .sc-tea-jar-svg {
    width: 40px;
    height: 60px;
  }
  .sc-tea-jar-count-badge {
    font-size: 0.6rem;
    padding: 0.05rem 0.28rem;
  }
  .sc-sealer-machine-box {
    padding-left: 0.45rem;
  }
  .sc-sealer-svg {
    width: 44px;
    height: 60px;
  }
  .sc-sealer-btn-tag {
    font-size: 0.66rem;
  }
  .sc-prep-table {
    padding: 0.75rem 0.85rem 0.55rem;
    gap: 0.85rem;
  }
  .sc-cutting-board {
    width: 205px;
    min-width: 195px;
    padding: 0.65rem 0.55rem;
  }
  .sc-topping-wells-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.4rem;
    padding: 0.5rem;
  }
  .sc-topping-cell {
    min-height: 66px;
    padding: 0.35rem 0.2rem;
  }
  .sc-topping-cell-pan,
  .sc-topping-cell-art {
    width: 32px;
    height: 32px;
  }
  .sc-topping-cell-label {
    font-size: 0.64rem;
  }
  .sc-condiments-row {
    gap: 0.45rem;
  }
  .sc-condiment-card {
    padding: 0.45rem 0.5rem;
    gap: 0.45rem;
  }
  .sc-condiment-svg {
    width: 28px;
    height: 28px;
  }
  .sc-condiment-title {
    font-size: 0.64rem;
  }
  .sc-condiment-value {
    font-size: 0.6rem;
  }
  .sc-syrups-shelf {
    padding: 0.45rem 0.5rem;
    gap: 0.35rem;
  }
  .sc-syrup-bottle-svg {
    width: 26px;
    height: 48px;
  }
  .sc-syrup-label {
    font-size: 0.6rem;
  }
}

/* ========================================================================= */
/* 27. TỐI ƯU CHO MÀN HÌNH NARROW (<= 375PX NHƯ IPHONE SE / GALAXY NHỎ)      */
/* ========================================================================= */
@media (max-width: 375px) {
  .sweetcup-main-wrapper {
    border-radius: 12px;
    border-width: 2.5px;
  }
  .sc-header-bar {
    padding: 0.25rem 0.35rem;
  }
  .sc-shop-name-tag {
    max-width: 85px;
    font-size: 0.72rem;
  }
  .sc-tea-jar-wrapper {
    width: 34px;
  }
  .sc-tea-jar-svg {
    width: 32px;
    height: 46px;
  }
  .sc-sealer-svg {
    width: 34px;
    height: 46px;
  }
  .sc-cutting-board {
    width: 108px;
    min-width: 102px;
  }
  .sc-nav-tab {
    padding: 0.25rem 0.35rem;
    font-size: 0.62rem;
  }
  .sc-living-cup-svg {
    width: 68px;
    height: 98px;
  }
  .sc-topping-cell {
    min-height: 46px;
  }
  .sc-topping-cell-pan,
  .sc-topping-cell-art {
    width: 22px;
    height: 22px;
  }
  .sc-topping-cell-label {
    font-size: 0.45rem;
  }
  .sc-syrups-shelf {
    gap: 0.14rem 0.1rem;
    padding: 0.22rem 0.18rem;
  }
  .sc-syrup-bottle-svg {
    width: 16px;
    height: 32px;
  }
  .sc-syrup-label {
    font-size: 0.42rem;
  }
  .sc-condiment-title {
    font-size: 0.5rem;
  }
  .sc-condiment-value {
    font-size: 0.46rem;
  }
  .sc-btn-serve-drink {
    font-size: 0.76rem;
    padding: 0.48rem 0.55rem;
  }
  .sc-btn-seal-cup,
  .sc-btn-reset-cup {
    font-size: 0.7rem;
    padding: 0.48rem 0.4rem;
  }
}
