/* JACHAI V2 — 1:1 NATIVE ANDROID REPRODUCTION */
/* Grounded strictly in android/res/values/colors.xml, dimens.xml, styles.xml & layouts */

:root {
  /* V2 Android Palette (values/colors.xml) */
  --accent: #8CA8F9;
  --on-accent: #1A1B22;
  --bg: #F8F9FA;
  --surface: #FFFFFF;
  --nav-bg: #FFFFFF;
  --field-bg: #F1F3F7;
  --accent-soft: #E7EDFE;
  --text-primary: #1A1B22;
  --text-muted: #5B6170;
  --outline: #DDE1E8;

  --status-ok: #2E7D32;
  --status-wait: #E0A100;
  --status-bad: #C62828;

  --verdict-red: #C62828;
  --verdict-green: #2E7D32;
  --verdict-loading: #1A1B22;
  --verdict-neutral: #455A64;
  --on-verdict-secondary: #E6FFFFFF;

  --icon-bg: #FFFFFF;
  --icon-tile: #111111;
  --icon-mark: #FFFFFF;
  --brand: #1A1B22;

  --page-padding: 18px;
  --nav-clearance: 100px;
  --app-font-scale: 1;

  --font-system: 'Inter', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --font-bn: 'Hind Siliguri', 'Inter', -apple-system, sans-serif;
}

/* Dark mode (values-night/colors.xml) */
[data-theme="dark"] {
  --bg: #1A1B22;
  --surface: #2D333B;
  --nav-bg: #3A424D;
  --field-bg: #22262E;
  --accent-soft: #2F3956;
  --text-primary: #FFFFFF;
  --text-muted: #B8BFCC;
  --outline: #3D444E;

  --status-ok: #66BB6A;
  --status-wait: #FFCA28;
  --status-bad: #EF5350;

  --icon-bg: #0E0E0F;
  --icon-tile: #F5F5F4;
  --icon-mark: #111111;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-bn);
  background: #FFFFFF;
  color: #0F172A;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

/* ------------------------------------------------------------- */
/* UNIVERSAL SCROLLBAR REMOVAL (NATIVE TOUCH EXPERIENCE)         */
/* ------------------------------------------------------------- */
*, *::before, *::after {
  scrollbar-width: none !important; /* Firefox / Standard CSS */
  -ms-overflow-style: none !important; /* IE / Edge legacy */
}

::-webkit-scrollbar {
  display: none !important; /* Chrome, Safari, Edge, Opera */
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

::-webkit-scrollbar-thumb,
::-webkit-scrollbar-track,
::-webkit-scrollbar-corner {
  display: none !important;
  background: transparent !important;
}

.android-root,
.android-root *,
.phone-chassis,
.phone-chassis *,
.verdict-scroll-body,
.verdict-result-view,
.verdict-loading-view,
.verdict-activity-screen,
.settings-scroll-body,
.settings-activity-screen,
.page-scrollview,
.pages-container,
.wa-msg-list {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.android-root::-webkit-scrollbar,
.android-root *::-webkit-scrollbar,
.phone-chassis::-webkit-scrollbar,
.phone-chassis *::-webkit-scrollbar,
.verdict-scroll-body::-webkit-scrollbar,
.verdict-result-view::-webkit-scrollbar,
.verdict-loading-view::-webkit-scrollbar,
.verdict-activity-screen::-webkit-scrollbar,
.settings-scroll-body::-webkit-scrollbar,
.settings-activity-screen::-webkit-scrollbar,
.page-scrollview::-webkit-scrollbar,
.pages-container::-webkit-scrollbar,
.wa-msg-list::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

/* ------------------------------------------------------------- */
/* TOP SHOWCASE NAV (OUTSIDE PHONE)                              */
/* ------------------------------------------------------------- */
.showcase-header {
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #EAECF0;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 200;
  gap: 16px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04);
}

.brand-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-squircle-icon-mini {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.12));
}

.brand-squircle-icon-mini svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-badge {
  background: #EFF6FF;
  color: #2563EB;
  border: 1px solid #BFDBFE;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--font-system);
}

.showcase-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* shadcn-style Theme Toggle Button */
.shadcn-theme-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #0F172A;
  cursor: pointer;
  position: relative;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  flex-shrink: 0;
}

.shadcn-theme-btn:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  color: #0F172A;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(16, 24, 40, 0.06);
}

.shadcn-theme-btn:active {
  transform: scale(0.95);
}

.shadcn-theme-btn svg {
  color: #0F172A;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.shadcn-theme-btn:hover svg {
  transform: rotate(12deg);
}

.shadcn-theme-btn .shadcn-icon-sun {
  display: none;
}

.shadcn-theme-btn .shadcn-icon-moon {
  display: block;
}

/* When dark mode is active on phone, show sun and hide moon */
.shadcn-theme-btn.dark-active .shadcn-icon-sun {
  display: block !important;
}

.shadcn-theme-btn.dark-active .shadcn-icon-moon {
  display: none !important;
}

.btn-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #D0D5DD;
  background: #FFFFFF;
  color: #1E293B;
  text-decoration: none;
  font-family: var(--font-system);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.btn-header:hover {
  background: #F8FAFC;
  border-color: #98A2B3;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(16, 24, 40, 0.06);
}

.btn-apk-dl {
  background: #0E0F12;
  border-color: #0E0F12;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(14, 15, 18, 0.2);
}

.btn-apk-dl:hover {
  background: #1F2937;
  border-color: #1F2937;
  color: #FFFFFF;
}

/* Subtle Disclaimer */
.disclaimer-strip {
  width: 100%;
  background: #F8FAFC;
  border-bottom: 1px solid #EAECF0;
  padding: 9px 24px;
  text-align: center;
  font-size: 0.84rem;
  color: #475467;
  font-family: var(--font-system);
  line-height: 1.45;
}

.disclaimer-strip code {
  background: #EAECF0;
  color: #1E293B;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-family: monospace;
}

/* ------------------------------------------------------------- */
/* MAIN WORKSPACE LAYOUT                                         */
/* ------------------------------------------------------------- */
.showcase-body {
  width: 100%;
  max-width: 1400px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 44px 44px 64px 44px;
  gap: 56px;
  flex: 1;
}

/* LEFT COLUMN: YOUTUBE THUMBNAIL BRANDING & JUDGE SUITE */
.thumbnail-left-col {
  flex: 1;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* HERO POSTER BLOCK (EXACT 1:1 REPLICA OF YOUTUBE THUMBNAIL) */
.thumbnail-hero-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 8px 0 16px 0;
}

.thumbnail-brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-squircle-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.14));
}

.brand-squircle-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.thumbnail-brand-text {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.thumbnail-brand-name {
  font-size: 2.85rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #0E0F12;
  font-family: var(--font-system);
  line-height: 1;
}

.thumbnail-brand-bn {
  font-size: 1.7rem;
  font-weight: 700;
  color: #2563EB;
  font-family: var(--font-bn);
  line-height: 1;
}

.thumbnail-headline {
  font-size: clamp(48px, 5.2vw, 76px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #0E0F12;
  font-family: var(--font-system);
  margin: 6px 0 0 0;
}

.headline-red {
  color: #C62828;
}

.thumbnail-tagline {
  font-size: 1.05rem;
  color: #475467;
  line-height: 1.55;
  font-family: var(--font-system);
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0E0F12;
  color: #FFFFFF;
  padding: 13px 24px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  font-family: var(--font-system);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(14, 15, 18, 0.2);
}

.btn-hero-primary:hover {
  background: #1F2937;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 15, 18, 0.28);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F1F5F9;
  color: #0F172A;
  border: 1px solid #E2E8F0;
  padding: 13px 20px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-system);
  transition: all 0.2s;
}

.btn-hero-secondary:hover {
  background: #E2E8F0;
  transform: translateY(-1px);
}

/* Side Helper Panel for Judges */
.judge-card {
  background: #FFFFFF;
  border: 1px solid #EAECF0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 20px -2px rgba(16, 24, 40, 0.05);
  transition: box-shadow 0.2s;
}

.judge-card:hover {
  box-shadow: 0 8px 30px -4px rgba(16, 24, 40, 0.08);
}

.judge-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-family: var(--font-system);
}

.judge-card p {
  font-size: 0.88rem;
  color: #64748B;
  line-height: 1.5;
  margin-bottom: 16px;
  font-family: var(--font-system);
}

.preset-btn-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.preset-btn {
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  background: #F8FAFC;
  border: 1px solid #EAECF0;
  border-radius: 14px;
  color: #1E293B;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-bn);
  display: flex;
  align-items: center;
  gap: 12px;
}

.preset-btn:hover {
  background: #EFF6FF;
  border-color: #8CA8F9;
  transform: translateX(4px);
  box-shadow: 0 2px 8px rgba(140, 168, 249, 0.15);
}

.preset-btn strong {
  color: #0F172A;
  font-weight: 700;
}

.feature-pill-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
  color: #475467;
  font-family: var(--font-system);
}

.feature-pill-item {
  padding-left: 14px;
  border-left: 3px solid #8CA8F9;
  line-height: 1.5;
}

.feature-pill-item strong {
  color: #0F172A;
  font-weight: 700;
}

.feature-pill-item code {
  background: #F1F5F9;
  color: #0F172A;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-family: monospace;
}

/* Team Grid */
.team-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}

.team-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F8FAFC;
  border: 1px solid #EAECF0;
  padding: 8px 12px;
  border-radius: 12px;
  transition: all 0.15s;
}

.team-pill:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
}

.team-pill img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #8CA8F9;
}

.team-pill-name {
  font-family: 'Plus Jakarta Sans', var(--font-system);
  font-size: 0.88rem;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: 0.01em;
}

.team-pill-role {
  font-size: 0.72rem;
  color: #64748B;
  font-family: var(--font-system);
  line-height: 1.35;
}

/* ------------------------------------------------------------- */
/* SMARTPHONE STAGE & CHASSIS (FLOATING ON WHITE BACKGROUND)    */
/* ------------------------------------------------------------- */
.phone-stage {
  position: sticky;
  top: 40px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-bottom: 36px;
}

.phone-chassis {
  width: 395px;
  height: 820px;
  background: #000000;
  border-radius: 52px;
  padding: 12px;
  box-shadow: 
    0 35px 90px -15px rgba(0, 0, 0, 0.22),
    0 12px 35px -8px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.08),
    0 0 0 4px #0F172A;
  position: relative;
  flex-shrink: 0;
  user-select: none;
}

/* Hardware buttons */
.phone-chassis::before {
  content: '';
  position: absolute;
  top: 140px;
  left: -7px;
  width: 4px;
  height: 60px;
  background: #0F172A;
  border-radius: 3px;
}

.phone-chassis::after {
  content: '';
  position: absolute;
  top: 130px;
  right: -7px;
  width: 4px;
  height: 48px;
  background: #0F172A;
  border-radius: 3px;
}

/* SCREEN CONTAINER: EXACT ANDROID ROOT */
.android-root {
  width: 100%;
  height: 100%;
  background: var(--bg);
  color: var(--text-primary);
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  font-size: calc(16px * var(--app-font-scale));
}

/* ANDROID SYSTEM STATUS BAR (GLOBAL SYSTEM-LEVEL BAR) */
.android-status-bar {
  height: 36px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  flex-shrink: 0;
  z-index: 200; /* ALWAYS ON TOP OF ALL ACTIVITIES */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: none;
  font-family: var(--font-system);
  transition: color 0.15s ease;
}

.android-root.verdict-mode .android-status-bar {
  color: #FFFFFF !important;
  background: transparent;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.android-root.verdict-mode.scrolled-past-hero .android-status-bar {
  color: var(--text-primary) !important;
  background: var(--surface) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.punch-hole-camera {
  width: 12px;
  height: 12px;
  background: #000000;
  border-radius: 50%;
  margin-left: -10px;
}

.status-right-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
}

/* ANDROID SYSTEM BOTTOM GESTURE PILL */
.android-gesture-bar {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: var(--text-muted);
  border-radius: 2px;
  opacity: 0.4;
  z-index: 200; /* ALWAYS ON TOP OF ALL ACTIVITIES */
  pointer-events: none;
}

/* ------------------------------------------------------------- */
/* ACTIVITY_MAIN.XML REPRODUCTION                                */
/* ------------------------------------------------------------- */
.main-activity-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding-top: 36px; /* clears the global status bar */
}

/* Header: icon tile + "যাচাই" + settings button (lines 14-51) */
.activity-header {
  padding: 8px var(--page-padding) 6px var(--page-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.app-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-tile-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.app-name-text {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

/* 56dp button with bg_header_btn */
.btn-header-round {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--outline);
  background: var(--surface);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
  padding: 11px;
  flex-shrink: 0;
}

.btn-header-round:active {
  background: var(--accent-soft);
  transform: scale(0.96);
}

.btn-header-round svg {
  width: 24px;
  height: 24px;
}

/* PAGES CONTAINER (android:id="@+id/pages") */
.pages-container {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.page-scrollview {
  display: none;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding: 6px var(--page-padding) var(--nav-clearance) var(--page-padding);
  scroll-behavior: smooth;
}

.page-scrollview.active {
  display: block;
}

/* ------------------------------------------------------------- */
/* PAGE 0: PAGE_TEXT.XML REPRODUCTION                            */
/* ------------------------------------------------------------- */
/* bg_hero_card */
.hero-card {
  width: 100%;
  background: var(--accent);
  border-radius: 26px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  color: var(--on-accent);
}

.hero-watermark-shield {
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  width: 140px;
  height: 140px;
  opacity: 0.14;
  color: var(--on-accent);
  pointer-events: none;
}

.hero-greeting {
  font-size: 25px;
  font-weight: 700;
  color: var(--on-accent);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--on-accent);
  margin-top: 5px;
  margin-right: 40px;
  line-height: 1.2;
}

/* bg_on_accent_pill */
.hero-stats-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 6px 14px 6px 12px;
  background: rgba(26, 27, 34, 0.08);
  border: 1px solid rgba(26, 27, 34, 0.15);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--on-accent);
}

/* Text.Title */
.text-section-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 22px;
}

/* Big Input Frame with bg_textbox */
.textbox-frame {
  position: relative;
  width: 100%;
  margin-top: 10px;
}

.native-edit-text {
  width: 100%;
  min-height: 200px;
  background: var(--surface);
  border: 2px solid var(--outline);
  border-radius: 22px;
  padding: 16px 44px 68px 16px;
  color: var(--text-primary);
  font-size: 18px;
  font-family: var(--font-bn);
  line-height: 1.45;
  resize: none;
  outline: none;
  transition: border-color 0.15s;
}

.native-edit-text:focus {
  border-width: 2.5px;
  border-color: var(--accent);
}

.native-edit-text::placeholder {
  color: var(--text-muted);
}

/* btn_paste (bottom-left inside box) */
.btn-paste-inside {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--field-bg);
  border: 1px solid var(--outline);
  border-radius: 14px;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-bn);
  transition: all 0.15s;
}

.btn-paste-inside:hover {
  background: var(--accent-soft);
}

/* btn_clear (top-right inside box) */
.btn-clear-inside {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--field-bg);
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
}

.btn-clear-inside.visible {
  display: flex;
}

/* Button.Primary: 64dp, 20dp corners, accent background */
.btn-primary-material {
  width: 100%;
  min-height: 60px;
  background: var(--accent);
  color: var(--on-accent);
  border: none;
  border-radius: 20px;
  font-size: 19px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  cursor: pointer;
  font-family: var(--font-bn);
  box-shadow: 0 4px 14px rgba(140, 168, 249, 0.25);
  transition: all 0.15s;
}

.btn-primary-material:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-primary-material:active {
  transform: scale(0.98);
}

/* Text.Section */
.text-section-header {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 24px;
  margin-bottom: 8px;
  margin-left: 2px;
}

/* 2 Big Square Tiles (bg_tile) */
.tiles-grid {
  display: flex;
  gap: 10px;
  width: 100%;
}

.action-tile {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 22px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  flex-direction: column;
}

.action-tile:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.tile-icon-square {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--field-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

.tile-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 12px;
}

.tile-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.15;
}

/* Share sheet tip row */
.tip-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 0 2px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.25;
}

/* ------------------------------------------------------------- */
/* PAGE 1: PAGE_MEDIA.XML REPRODUCTION                           */
/* ------------------------------------------------------------- */
.media-big-tile {
  width: 100%;
  min-height: 108px;
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 22px;
  padding: 18px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.15s;
  margin-top: 12px;
  gap: 16px;
}

.media-big-tile:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.media-tile-icon-square {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--field-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  flex-shrink: 0;
}

.media-tile-texts {
  flex: 1;
}

.media-tile-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
}

.media-tile-sub {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Card containing item_info_row */
.info-rows-card {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 22px;
  padding: 8px 16px;
  display: flex;
  flex-direction: column;
}

.info-row-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  border-bottom: 1px solid var(--outline);
}

.info-row-item:last-child {
  border-bottom: none;
}

.info-row-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--field-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  flex-shrink: 0;
}

.info-row-text {
  font-size: 16px;
  color: var(--text-primary);
  line-height: 1.25;
}

/* ------------------------------------------------------------- */
/* PAGE 2: PAGE_BUBBLE.XML REPRODUCTION                          */
/* ------------------------------------------------------------- */
.big-switch-card {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 22px;
  padding: 24px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 16px;
}

/* BigToggle.java: 232dp x 112dp oversized toggle */
.big-toggle-component {
  width: 190px;
  height: 88px;
  background: var(--field-bg);
  border: 3px solid var(--outline);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 4px;
}

.big-toggle-component.checked {
  background: var(--accent);
  border-color: var(--accent);
}

.big-toggle-thumb {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-muted);
  position: absolute;
  top: 4px;
  left: 4px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.big-toggle-component.checked .big-toggle-thumb {
  transform: translateX(102px);
  color: var(--on-accent);
}

.big-toggle-status-text {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-top: 16px;
}

/* Step list (item_step.xml) */
.steps-card {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 22px;
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.step-item-row {
  display: flex;
  align-items: stretch;
  gap: 14px;
}

.step-indicator-col {
  width: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-number-bubble {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-vertical-line {
  width: 3px;
  flex: 1;
  background: var(--accent-soft);
  margin: 4px 0;
  min-height: 18px;
}

.step-content-text {
  flex: 1;
  font-size: 16px;
  color: var(--text-primary);
  padding: 4px 0 16px 0;
  line-height: 1.3;
}

/* ------------------------------------------------------------- */
/* PAGE 3: PAGE_PROFILE.XML REPRODUCTION                         */
/* ------------------------------------------------------------- */
.profile-guest-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}

.profile-avatar-frame {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--text-muted);
}

.profile-avatar-add {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  border: 2px solid var(--surface);
}

.profile-guest-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}

.profile-pill-tag {
  display: inline-block;
  margin-top: 5px;
  padding: 3px 10px;
  background: var(--field-bg);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Activity Stats 3-card row */
.activity-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.stat-box {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 16px;
  padding: 12px 8px;
  text-align: center;
}

.stat-count {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
}

/* WeekBars Activity chart */
.weekbars-card {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 22px;
  padding: 16px;
  margin-top: 12px;
}

.weekbars-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 70px;
  padding-top: 8px;
  margin-bottom: 6px;
}

.weekbar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex: 1;
}

.weekbar-fill {
  width: 12px;
  background: var(--accent);
  border-radius: 5px;
  transition: height 0.3s;
}

.weekbar-day {
  font-size: 12px;
  color: var(--text-muted);
}

/* Recent checks list */
.recent-list-card {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 22px;
  padding: 6px 14px;
  margin-top: 12px;
}

.recent-row {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 6px 0;
  border-bottom: 1px solid var(--outline);
  cursor: pointer;
  transition: all 0.15s;
}

.recent-row:last-child {
  border-bottom: none;
}

.recent-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--field-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  flex-shrink: 0;
}

.recent-info-col {
  flex: 1;
  margin-left: 12px;
}

.recent-title-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.recent-meta-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.verdict-tag-pill {
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.verdict-tag-pill.red {
  background: rgba(198, 40, 40, 0.15);
  color: #C62828;
}

.verdict-tag-pill.green {
  background: rgba(46, 125, 50, 0.15);
  color: #2E7D32;
}

/* Family share card */
.family-share-card {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 22px;
  padding: 18px;
  margin-top: 14px;
}

/* ------------------------------------------------------------- */
/* FLOATINGNAVBAR.JAVA REPRODUCTION                              */
/* ------------------------------------------------------------- */
.floating-navbar {
  position: absolute;
  bottom: 12px;
  left: 14px;
  right: 14px;
  height: 60px;
  background: var(--nav-bg);
  border: 1px solid var(--outline);
  border-radius: 30px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 4px;
  z-index: 80;
}

.nav-tab-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 24px;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-bn);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  gap: 6px;
}

.nav-tab-item svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

.nav-tab-label {
  display: none;
  white-space: nowrap;
}

.nav-tab-item.active {
  background: var(--accent);
  color: var(--on-accent);
}

.nav-tab-item.active .nav-tab-label {
  display: inline-block;
}

/* ------------------------------------------------------------- */
/* VERDICTACTIVITY.XML (FULL SCREEN RESULT ACTIVITY)             */
/* ------------------------------------------------------------- */
.verdict-activity-screen {
  display: none;
  position: absolute;
  inset: 0;
  background: var(--verdict-loading);
  z-index: 100;
  overflow: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  animation: activity-enter 0.2s ease-out;
}

.verdict-activity-screen.active {
  display: block;
}

.verdict-activity-screen.closing {
  animation: activity-exit 0.2s ease-in forwards;
}

@keyframes activity-enter {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes activity-exit {
  from { transform: translateY(0); opacity: 1; }
  to { transform: translateY(30px); opacity: 0; }
}

/* Full screen loading state (lines 11-66 of activity_verdict.xml) */
.verdict-loading-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: var(--verdict-loading);
  color: #FFFFFF;
  padding: 56px 28px 40px 28px;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.verdict-loading-view::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.loading-shield-circle {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-shield 1.5s infinite;
  box-shadow: 0 8px 32px rgba(140, 168, 249, 0.35);
}

@keyframes pulse-shield {
  0% { transform: scale(0.96); }
  50% { transform: scale(1.06); }
  100% { transform: scale(0.96); }
}

.loading-title-bn {
  font-size: 28px;
  font-weight: 700;
  margin-top: 26px;
  color: #FFFFFF;
  line-height: 1.2;
}

.loading-title-en {
  font-size: 19px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 4px;
}

.material-progress-track {
  width: 180px;
  height: 6px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 24px;
  position: relative;
}

.material-progress-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  animation: progress-indeterminate 1.4s infinite cubic-bezier(0.65, 0.815, 0.735, 0.395);
}

@keyframes progress-indeterminate {
  0% { left: -40%; width: 30%; }
  60% { left: 100%; width: 100%; }
  100% { left: 100%; width: 0%; }
}

.loading-rotating-tip {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 26px;
  line-height: 1.45;
  min-height: 44px;
  max-width: 290px;
}

/* Full screen result state (lines 69-318 of activity_verdict.xml) */
.verdict-result-view {
  display: none;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: var(--bg);
  animation: result-fade-in 0.25s ease-out;
  overflow: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.verdict-result-view::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

@keyframes result-fade-in {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

/* Scrollable Result Body */
.verdict-scroll-body {
  flex: 1;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  display: flex;
  flex-direction: column;
  position: relative;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  -webkit-overflow-scrolling: touch;
}

.verdict-scroll-body::-webkit-scrollbar {
  display: none !important;
  width: 0px !important;
  height: 0px !important;
  background: transparent !important;
}

/* Result Hero Banner: extends to the top under the transparent status bar */
.verdict-hero-banner {
  width: 100%;
  background: var(--verdict-red);
  border-radius: 0 0 36px 36px;
  padding: 56px 20px 48px 20px; /* clears the 36px global status bar + breathing room */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #FFFFFF;
  flex-shrink: 0;
  transition: background-color 0.2s;
  box-sizing: border-box;
}

.verdict-hero-banner.green {
  background: var(--verdict-green);
}

.verdict-hero-banner.neutral {
  background: var(--verdict-neutral);
}

.verdict-icon-circle {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  animation: hero-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes hero-pop {
  0% { transform: scale(0.4); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.verdict-title-bn {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #FFFFFF;
}

.verdict-title-en {
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 4px;
}

/* Overlapping Certainty Card */
.certainty-overlap-card {
  position: relative;
  z-index: 10;
  margin: -32px 18px 0 18px;
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 22px;
  padding: 16px 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
  box-sizing: border-box;
}

.certainty-header-text {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

.certainty-word-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.certainty-word-text {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
}

.certainty-percent-label {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-muted);
}

.confidence-progress-track {
  width: 100%;
  height: 12px;
  background: var(--field-bg);
  border-radius: 6px;
  margin-top: 12px;
  overflow: hidden;
}

.confidence-progress-fill {
  height: 100%;
  background: var(--verdict-red);
  border-radius: 6px;
  transition: width 0.6s ease-out;
}

.confidence-progress-fill.green {
  background: var(--verdict-green);
}

/* Advice Card */
.verdict-advice-card {
  margin: 14px 18px 0 18px;
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 22px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.advice-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.advice-body {
  font-size: 15px;
  color: var(--text-primary);
  margin-top: 4px;
  line-height: 1.38;
}

/* Why Card */
.verdict-why-card {
  margin: 14px 18px 0 18px;
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 22px;
  padding: 16px 18px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.why-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.explanation-bn {
  font-size: 15px;
  color: var(--text-primary);
  margin-top: 6px;
  line-height: 1.45;
}

.explanation-en {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.4;
}

.verdict-claim-detail {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--field-bg);
  border-radius: 14px;
  border-left: 3px solid var(--accent);
  font-size: 13.5px;
  color: var(--text-primary);
  line-height: 1.35;
}

/* Share result secondary button (matching btn_share in Android) */
.btn-verdict-share {
  margin: 14px 18px 0 18px;
  min-height: 52px;
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 18px;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-family: var(--font-bn);
  transition: all 0.15s;
  flex-shrink: 0;
  box-sizing: border-box;
}

.btn-verdict-share:active {
  background: var(--accent-soft);
  transform: scale(0.98);
}

/* Pinned Bottom Action Bar (matching Android button_bar) */
.verdict-bottom-bar {
  padding: 10px 18px 22px 18px;
  background: var(--bg);
  border-top: 1px solid var(--outline);
  flex-shrink: 0;
  z-index: 50;
  box-sizing: border-box;
}

.verdict-bottom-bar .btn-primary-material {
  margin-top: 0;
  min-height: 54px;
  font-size: 19px;
}

/* ------------------------------------------------------------- */
/* ACTIVITY_SETTINGS.XML REPRODUCTION                            */
/* ------------------------------------------------------------- */
.settings-activity-screen {
  display: none;
  position: absolute;
  inset: 0;
  background: var(--bg);
  z-index: 100;
  flex-direction: column;
  padding-top: 36px; /* clears the global status bar */
  overflow: hidden;
  animation: activity-enter 0.2s ease-out;
}

.settings-activity-screen.active {
  display: flex;
}

.settings-top-header {
  padding: 8px var(--page-padding) 12px var(--page-padding);
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--outline);
  flex-shrink: 0;
}

.btn-settings-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 14px;
  background: var(--field-bg);
  border: 1px solid var(--outline);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-bn);
  flex-shrink: 0;
}

.settings-header-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}

.settings-scroll-body {
  flex: 1;
  overflow-y: auto;
  padding: 0 var(--page-padding) 24px var(--page-padding);
}

/* Segmented button toggle groups (Material 3 style) */
.segmented-toggle-group {
  display: flex;
  background: var(--field-bg);
  border: 1.5px solid var(--outline);
  border-radius: 18px;
  padding: 4px;
  gap: 6px;
  margin-top: 8px;
  width: 100%;
  box-sizing: border-box;
}

.segment-item-btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 52px;
  height: auto;
  padding: 10px 8px;
  border: none;
  border-radius: 14px;
  background: transparent;
  color: var(--text-primary);
  font-size: 15px !important;
  font-weight: 700;
  font-family: var(--font-bn), var(--font-system);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: normal;
  word-break: keep-all;
  overflow: visible !important;
  text-overflow: clip !important;
  transition: all 0.15s ease;
  user-select: none;
  box-sizing: border-box;
  text-align: center;
  line-height: 1.25;
}

.segment-item-btn span {
  display: inline-block;
  white-space: nowrap;
  overflow: visible;
}

.segment-item-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.segment-item-btn.active {
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 800;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.size-preview-box {
  background: var(--field-bg);
  border: 1px solid var(--outline);
  border-radius: 16px;
  padding: 14px 16px;
  margin-top: 10px;
  font-size: calc(16px * var(--app-font-scale));
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.35;
  transition: font-size 0.2s ease;
}

/* Material Switch Toggle (switch_vibrate) */
.switch-toggle-wrap {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 30px;
  flex-shrink: 0;
}

.switch-toggle-wrap input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--field-bg);
  border: 1.5px solid var(--outline);
  border-radius: 30px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.switch-slider::before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-muted);
  border-radius: 50%;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.switch-toggle-wrap input:checked + .switch-slider {
  background-color: var(--accent);
  border-color: var(--accent);
}

.switch-toggle-wrap input:checked + .switch-slider::before {
  transform: translateX(22px);
  background-color: var(--on-accent);
}

/* Android Native Floating Toast Pill */
.android-toast {
  position: absolute;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(30, 41, 59, 0.95);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-bn), var(--font-system);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 250;
  white-space: nowrap;
}

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

/* ------------------------------------------------------------- */
/* REAL FLOATING BUBBLE & WHATSAPP INTERCEPTION                  */
/* ------------------------------------------------------------- */
.real-bubble-widget {
  display: none;
  position: absolute;
  top: 180px;
  right: 12px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--icon-bg);
  border: 1.5px solid var(--outline);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  padding: 7px;
  cursor: pointer;
  z-index: 150;
  animation: pulse-bubble-app 2s infinite;
}

@keyframes pulse-bubble-app {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* Simulated WhatsApp overlay frame inside phone */
.whatsapp-chat-app {
  display: none;
  position: absolute;
  inset: 0;
  background: #0B141A;
  z-index: 120;
  flex-direction: column;
}

.wa-top-bar {
  background: #202C33;
  color: #FFFFFF;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-back-btn {
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.2rem;
  cursor: pointer;
}

.wa-msg-list {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}

.wa-chat-bubble {
  max-width: 85%;
  background: #202C33;
  color: #E9EDEF;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 15px;
  line-height: 1.35;
}

/* Radar scan */
.screen-radar-line {
  display: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(140, 168, 249, 0.4), transparent);
  animation: radar-sweep-anim 0.8s ease-in-out infinite;
  z-index: 160;
  pointer-events: none;
}

@keyframes radar-sweep-anim {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* Media Dialog Modal */
.native-media-dialog {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 130;
  align-items: flex-end;
}

.native-media-sheet {
  width: 100%;
  background: var(--surface);
  border-radius: 28px 28px 0 0;
  padding: 24px 20px;
  animation: slide-up-media 0.25s ease-out;
}

@keyframes slide-up-media {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* Haptic shake */
.shake-device {
  animation: shake-device-anim 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shake-device-anim {
  10%, 90% { transform: translate3d(-2px, 0, 0); }
  20%, 80% { transform: translate3d(3px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-5px, 0, 0); }
  40%, 60% { transform: translate3d(5px, 0, 0); }
}

/* Responsive adjustments */
@media (max-width: 1080px) {
  .showcase-body {
    flex-direction: column;
    align-items: center;
    gap: 48px;
    padding: 32px 20px;
  }
  .thumbnail-left-col {
    max-width: 100%;
    width: 100%;
  }
  .phone-stage {
    position: static;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .showcase-header {
    padding: 10px 16px;
  }
  .brand-badge {
    display: none;
  }
  .phone-chassis {
    width: 100%;
    height: 100vh;
    border-radius: 0;
    padding: 0;
    border: none;
    box-shadow: none;
  }
  .android-root {
    border-radius: 0;
  }
  .showcase-header, .disclaimer-strip, .thumbnail-left-col {
    display: none;
  }
}
