/* TempMail — black + gold ROYAL 3D theme.
   Depth comes from layered shadows, gold gradients and a little
   perspective — CSS only, so it stays fast on phones. */
:root {
  --bg: #07070a;
  --bg2: #0d0d12;
  --card: #111116;
  --card2: #17171f;
  --gold: #ffd700;
  --gold2: #c9a227;
  --gold-deep: #8a6d00;
  --gold-soft: rgba(255, 215, 0, 0.16);
  --gold-line: rgba(255, 215, 0, 0.35);
  --text: #f5f0dc;
  --muted: #b8b09a;
  --muted2: #8a8371;
  --green: #3ddc84;
  --red: #ff6b6b;
  --radius: 14px;
  --shadow-3d: 0 1px 0 rgba(255, 215, 0, 0.12), 0 10px 24px rgba(0, 0, 0, 0.6), 0 24px 48px rgba(0, 0, 0, 0.45), 0 0 32px rgba(255, 215, 0, 0.07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(ellipse 80% 340px at 50% -60px, rgba(255, 215, 0, 0.13), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: rgba(7, 7, 10, 0.94);
  border-bottom: 1px solid var(--gold-line);
  backdrop-filter: blur(6px);
}
header.site .wrap { display: flex; align-items: center; gap: 16px; min-height: 56px; }
.logo {
  font-size: 22px; font-weight: 800; letter-spacing: 0.5px; color: var(--gold);
  white-space: nowrap; text-shadow: 0 2px 10px rgba(255, 215, 0, 0.35);
}
.logo span { color: var(--text); font-weight: 600; }
nav.main { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
nav.main a { color: var(--muted); font-size: 14px; padding: 8px 10px; border-radius: 8px; }
nav.main a:hover, nav.main a.active { color: var(--gold); background: var(--gold-soft); text-decoration: none; }

/* Hero */
.hero { text-align: center; padding: 26px 0 8px; }
.hero h1 {
  margin: 6px 0 8px; font-size: clamp(26px, 6vw, 40px); line-height: 1.15;
  background: linear-gradient(90deg, #fff3b0, var(--gold) 45%, var(--gold2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 12px rgba(255, 215, 0, 0.25));
}
.hero p.sub { margin: 0 auto; max-width: 640px; color: var(--muted); font-size: 16px; }
.hero p.sub b { color: var(--text); }
.hero .trust { margin-top: 10px; color: var(--gold); font-size: 14px; font-weight: 700; letter-spacing: 0.3px; }

/* 3D golden envelope (pure CSS) */
.mail-3d { width: 150px; height: 104px; margin: 0 auto; perspective: 600px; animation: floaty 3.4s ease-in-out infinite; }
.mail-3d .env {
  position: relative; width: 150px; height: 104px;
  transform: rotateX(8deg);
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 22px rgba(255, 215, 0, 0.28));
}
.mail-3d .env .body {
  position: absolute; inset: 0; border-radius: 10px;
  background: linear-gradient(160deg, #ffe977 0%, var(--gold) 42%, var(--gold2) 100%);
  border: 1px solid #fff3b0;
}
.mail-3d .env .flap {
  position: absolute; left: 0; right: 0; top: 0; height: 56px;
  background: linear-gradient(180deg, #fff3b0, #f3cd3a);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  border-radius: 10px 10px 0 0;
}
.mail-3d .env .letter {
  position: absolute; left: 18px; right: 18px; top: 14px; height: 62px;
  background: #fffdf4; border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  padding: 8px 10px;
}
.mail-3d .env .letter i { display: block; height: 6px; border-radius: 3px; background: #d9c25a; margin-bottom: 6px; }
.mail-3d .env .letter i:last-child { width: 55%; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Tool card — 3D */
.tool-card {
  margin: 22px 0 8px;
  background: linear-gradient(180deg, var(--card2), var(--card));
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-3d);
  padding: 20px;
  transform: perspective(1100px) rotateX(1.5deg);
}
.tool-card h2 { margin: 0 0 4px; font-size: 18px; color: var(--gold); text-shadow: 0 2px 8px rgba(255, 215, 0, 0.3); }
.tool-card p.hint { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.addr-row { display: flex; gap: 8px; }
.addr-row input {
  flex: 1; min-width: 0;
  background: #000; color: var(--gold);
  border: 1px solid var(--gold-line); border-radius: 10px;
  box-shadow: inset 0 3px 10px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 215, 0, 0.08);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 16px; font-weight: 600; padding: 12px;
  overflow: hidden; text-overflow: ellipsis;
}
.btn {
  appearance: none; border: none; cursor: pointer;
  background: linear-gradient(180deg, #ffe977, var(--gold) 45%, var(--gold2));
  color: #111; font-weight: 800; font-size: 15px;
  padding: 12px 18px; border-radius: 10px; min-height: 46px;
  white-space: nowrap;
  box-shadow: 0 4px 0 var(--gold-deep), 0 10px 18px rgba(0, 0, 0, 0.55), 0 0 16px rgba(255, 215, 0, 0.18);
  transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.15s ease;
}
.btn:hover { filter: brightness(1.07); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--gold-deep), 0 4px 8px rgba(0, 0, 0, 0.5); }
.btn:disabled { opacity: 0.55; cursor: wait; }
.btn-ghost {
  background: linear-gradient(180deg, #1d1d26, #14141b); color: var(--gold);
  border: 1px solid var(--gold-line);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.6), 0 8px 14px rgba(0, 0, 0, 0.45);
}
.btn-ghost:hover { background: linear-gradient(180deg, #262633, #1a1a23); }
.btn-ghost:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.6); }
.btn-danger {
  background: linear-gradient(180deg, #2a1214, #1c0d0e); color: var(--red);
  border: 1px solid rgba(255, 107, 107, 0.45);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.6), 0 8px 14px rgba(0, 0, 0, 0.45);
}
.btn-danger:hover { background: linear-gradient(180deg, #3a171a, #241011); }
.btn-danger:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.6); }
.btn-sm { padding: 9px 13px; min-height: 40px; font-size: 14px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.change-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; align-items: center; }
.provider-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; align-items: center; }
.provider-row label { color: var(--muted); font-size: 14px; }
.provider-row select {
  flex: 1; min-width: 200px;
  background: #000; color: var(--text);
  border: 1px solid var(--gold-line); border-radius: 10px;
  box-shadow: inset 0 3px 10px rgba(0, 0, 0, 0.8);
  font-size: 15px; padding: 11px 12px;
}
.provider-note { margin-top: 6px; font-size: 13px; color: var(--muted); min-height: 18px; }
.change-row input {
  flex: 1; min-width: 140px;
  background: #000; color: var(--text);
  border: 1px solid var(--gold-line); border-radius: 10px;
  box-shadow: inset 0 3px 10px rgba(0, 0, 0, 0.8);
  font-size: 15px; padding: 11px 12px;
}
.domain-label { color: var(--gold); font-weight: 700; font-family: ui-monospace, Menlo, Consolas, monospace; }
.status { margin-top: 12px; font-size: 14px; color: var(--muted); min-height: 20px; }
.status.err { color: var(--red); }
.status.ok { color: var(--green); }

/* QR popup */
.qr-popup {
  margin-top: 12px; text-align: center;
  background: #fff; border-radius: 12px; padding: 16px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6);
}
.qr-popup img { display: block; margin: 0 auto; }
.qr-addr { color: #111; font-weight: 700; font-family: ui-monospace, Menlo, Consolas, monospace; word-break: break-all; margin-top: 8px; }
.qr-note { color: #555; font-size: 13px; margin-top: 4px; }

/* Inbox */
.inbox { margin-top: 18px; border-top: 1px solid rgba(255, 215, 0, 0.18); padding-top: 16px; }
.inbox-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.inbox-head h3 { margin: 0; font-size: 17px; color: var(--gold); }
.inbox-head .count {
  background: var(--gold-soft); color: var(--gold);
  border: 1px solid var(--gold-line); border-radius: 999px;
  font-size: 13px; font-weight: 700; padding: 2px 10px;
}
.inbox-head .last { margin-left: auto; color: var(--muted2); font-size: 13px; }
.msg-list { list-style: none; margin: 12px 0 0; padding: 0; }
.msg-list li {
  border: 1px solid rgba(255, 215, 0, 0.18); border-radius: 10px;
  padding: 12px 14px; margin-bottom: 8px; cursor: pointer;
  background: linear-gradient(180deg, var(--card2), var(--bg2));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.msg-list li:hover { border-color: var(--gold-line); }
.msg-list li.unread { border-left: 3px solid var(--gold); }
.msg-list .from { font-weight: 700; font-size: 14px; word-break: break-all; }
.msg-list .subject { color: var(--text); font-size: 15px; }
.msg-list .meta { color: var(--muted2); font-size: 13px; }
.empty {
  border: 1px dashed var(--gold-line); border-radius: 10px;
  padding: 22px 14px; text-align: center; color: var(--muted);
  margin-top: 12px; font-size: 15px;
}
.empty b { color: var(--gold); }

/* Message detail */
.msg-view { margin-top: 14px; border: 1px solid var(--gold-line); border-radius: 10px; padding: 16px; background: var(--bg2); box-shadow: var(--shadow-3d); }
.msg-view h4 { margin: 0 0 4px; font-size: 17px; word-break: break-word; }
.msg-view .mmeta { color: var(--muted); font-size: 14px; word-break: break-all; margin-bottom: 12px; }
.msg-body {
  background: #000; border: 1px solid rgba(255, 215, 0, 0.18);
  border-radius: 10px; padding: 14px; white-space: pre-wrap;
  word-break: break-word; font-size: 15px; max-height: 420px; overflow: auto;
}
.msg-body iframe { width: 100%; height: 420px; border: none; background: #fff; border-radius: 8px; }
.attach { margin-top: 12px; }
.attach a { display: inline-block; margin: 4px 8px 0 0; font-size: 14px; }
.msg-view .row { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }

/* Content sections */
section.block { padding: 26px 0 6px; }
section.block h2 { color: var(--gold); font-size: 22px; margin: 0 0 10px; text-shadow: 0 2px 10px rgba(255, 215, 0, 0.25); }
section.block p { color: var(--muted); }
section.block p b, section.block li b { color: var(--text); }
.divider { text-align: center; color: var(--gold2); letter-spacing: 10px; font-size: 13px; margin: 26px 0 0; opacity: 0.8; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 14px; }
.step, .feat {
  background: linear-gradient(180deg, var(--card2), var(--card));
  border: 1px solid rgba(255, 215, 0, 0.18);
  border-top: 2px solid var(--gold2);
  border-radius: var(--radius); padding: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 2px 0 rgba(255, 215, 0, 0.08);
  transform: perspective(800px) rotateX(1deg);
}
.step .n {
  display: inline-block; width: 30px; height: 30px; line-height: 30px; text-align: center;
  border-radius: 50%; background: linear-gradient(180deg, var(--gold), var(--gold2));
  color: #111; font-weight: 800; margin-bottom: 8px;
  box-shadow: 0 3px 0 var(--gold-deep), 0 6px 12px rgba(0, 0, 0, 0.5);
}
.step h3, .feat h3 { margin: 0 0 6px; font-size: 16px; color: var(--gold); }
.step p, .feat p { margin: 0; font-size: 14px; color: var(--muted); }
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 14px; }
details.faq {
  background: linear-gradient(180deg, var(--card2), var(--card));
  border: 1px solid rgba(255, 215, 0, 0.18);
  border-radius: 10px; padding: 12px 14px; margin-bottom: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
details.faq summary { cursor: pointer; font-weight: 700; color: var(--text); }
details.faq p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.use-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.use-tags span {
  border: 1px solid var(--gold-line); background: var(--gold-soft); color: var(--gold);
  border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700;
}

/* Footer */
footer.site { border-top: 1px solid var(--gold-line); margin-top: 34px; padding: 22px 0 30px; color: var(--muted2); font-size: 14px; }
footer.site nav { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
footer.site nav a { color: var(--muted); }
footer.site nav a:hover { color: var(--gold); }

/* Simple pages */
.page h1 { color: var(--gold); font-size: 26px; margin: 26px 0 10px; text-shadow: 0 2px 10px rgba(255, 215, 0, 0.25); }
.page h2 { color: var(--gold); font-size: 19px; margin: 22px 0 8px; }
.page p, .page li { color: var(--muted); }
.page p b, .page li b { color: var(--text); }
.page ul, .page ol { padding-left: 20px; }
.page .lead { font-size: 17px; color: var(--text); }

@media (max-width: 560px) {
  header.site .wrap { flex-direction: column; align-items: flex-start; gap: 2px; padding-top: 8px; padding-bottom: 8px; min-height: 0; }
  nav.main { margin-left: 0; }
  .addr-row { flex-direction: column; }
  .addr-row .btn { width: 100%; }
  .actions .btn { flex: 1 1 45%; }
  .change-row input { flex: 1 1 100%; }
  .inbox-head .last { margin-left: 0; }
  .tool-card { transform: none; }
  .step, .feat { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mail-3d { animation: none; }
  html { scroll-behavior: auto; }
}

/* Our Websites cross-links */
footer.site .our-sites { margin: 4px 0 12px; }
footer.site .our-sites h3 { color: var(--gold); font-size: 15px; margin: 0 0 8px; }
footer.site .our-sites ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
footer.site .our-sites a { color: var(--muted); }
footer.site .our-sites a:hover { color: var(--gold); }

/* Cookie consent banner — black + gold, fixed at the bottom. */
#cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; background: #0b0b0f; border-top: 2px solid #C9A227; color: #f5f0dc; padding: 14px 18px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; box-shadow: 0 -4px 24px rgba(0, 0, 0, .6); }
#cookie-banner[hidden] { display: none !important; }
#cookie-banner p { margin: 0; flex: 1 1 320px; font-size: 14px; line-height: 1.5; }
#cookie-banner a { color: #FFD700; }
#cookie-banner .cookie-actions { display: flex; gap: 10px; }

/* Comparison table (Guide page: temp mail vs 10 minute mail) */
table.compare { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
table.compare th, table.compare td { border: 1px solid var(--gold-line); padding: 9px 10px; text-align: left; vertical-align: top; }
table.compare th { background: var(--gold-soft); color: var(--gold); }
table.compare td { color: var(--muted); }
table.compare td b { color: var(--text); }
@media (max-width: 640px) {
  table.compare { display: block; overflow-x: auto; }
}

/* PDFTools — tool UI (appended to TempMail base theme) */
.dropzone { border: 2px dashed var(--gold-line); border-radius: var(--radius); padding: 28px 18px; text-align: center; background: var(--bg2); cursor: pointer; transition: border-color .2s, background .2s; }
.dropzone:hover, .dropzone.over { border-color: var(--gold); background: #14141c; }
.dropzone .dz-big { font-size: 20px; font-weight: 700; color: var(--gold); }
.dropzone .dz-sub { color: var(--muted); font-size: 14px; margin-top: 6px; }
.file-list { list-style: none; margin: 14px 0 0; padding: 0; }
.file-list li { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid #23232e; border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; font-size: 14px; }
.file-list .fname { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list .fmeta { color: var(--muted); font-size: 12px; white-space: nowrap; }
.file-list .mini { background: none; border: 1px solid var(--gold-line); color: var(--gold); border-radius: 8px; padding: 4px 9px; cursor: pointer; font-size: 13px; }
.file-list .mini:hover { background: var(--gold-soft); }
.file-list .mini.danger { color: var(--red); border-color: rgba(255,107,107,.4); }
.opt-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin: 16px 0 4px; }
.opt-row label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.opt-row input[type="number"], .opt-row input[type="text"], .opt-row select { background: var(--bg2); color: var(--text); border: 1px solid #2a2a35; border-radius: 8px; padding: 9px 11px; font-size: 15px; min-width: 110px; }
.tool-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.status { min-height: 24px; margin: 10px 0; font-size: 14px; }
.status.ok { color: var(--green); }
.status.err { color: var(--red); }
.progress { height: 8px; background: #1c1c26; border-radius: 4px; overflow: hidden; margin: 8px 0; display: none; }
.progress > div { height: 100%; background: linear-gradient(90deg, var(--gold2), var(--gold)); width: 0%; transition: width .2s; }
.result { display: none; margin-top: 14px; background: #0e2417; border: 1px solid rgba(61,220,132,.35); border-radius: 10px; padding: 14px; }
.result.show { display: block; }
.result a.dl { display: inline-block; margin: 6px 8px 0 0; }
.page-grid { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.page-grid label { display: inline-flex; align-items: center; gap: 6px; background: var(--card); border: 1px solid #2a2a35; border-radius: 8px; padding: 7px 11px; font-size: 13px; cursor: pointer; }
.page-grid label.sel { border-color: var(--gold); background: var(--gold-soft); }
.page-grid input { accent-color: var(--gold); }
textarea.out { width: 100%; min-height: 220px; background: var(--bg2); color: var(--text); border: 1px solid #2a2a35; border-radius: 10px; padding: 12px; font-size: 14px; line-height: 1.6; font-family: ui-monospace, Menlo, Consolas, monospace; }
.thumbs { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0; }
.thumbs figure { margin: 0; background: var(--card); border: 1px solid #2a2a35; border-radius: 10px; padding: 8px; text-align: center; }
.thumbs canvas { max-width: 170px; height: auto; display: block; background: #fff; }
.thumbs figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; }
.badge-free { display: inline-block; background: linear-gradient(180deg, #1d7a44, #145c33); color: #d6ffe6; border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin: 20px 0; }
.tool-grid .card { background: var(--card); border: 1px solid #23232e; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-3d); }
.tool-grid .card h3 { margin: 0 0 6px; }
.tool-grid .card h3 a { color: var(--gold); text-decoration: none; }
.tool-grid .card p { margin: 0 0 10px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.note { background: var(--gold-soft); border: 1px solid var(--gold-line); border-radius: 10px; padding: 12px 14px; font-size: 14px; line-height: 1.6; }

/* PDFTools — 3D royal layer (black + gold, ToolKamai / AI Creator Studio standard) */
.hero h1 {
  background: linear-gradient(180deg, #fff6c9 0%, #FFD700 38%, #C9A227 62%, #8a6d00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 2px 18px rgba(255, 215, 0, 0.18);
}
.hero .sub b { color: var(--gold); }
/* 3D PDF document stack in the hero */
.pdf-3d { perspective: 900px; display: flex; justify-content: center; margin: 6px auto 18px; }
.pdf-3d .stack { position: relative; width: 150px; height: 190px; transform-style: preserve-3d; transform: rotateX(8deg) rotateY(-14deg); animation: pdffloat 5s ease-in-out infinite; }
@keyframes pdffloat { 0%, 100% { transform: rotateX(8deg) rotateY(-14deg) translateY(0); } 50% { transform: rotateX(8deg) rotateY(-14deg) translateY(-10px); } }
.pdf-3d .page { position: absolute; inset: 0; background: linear-gradient(160deg, #ffffff, #e8e2cf); border-radius: 6px; box-shadow: 0 18px 34px rgba(0,0,0,.65), 0 0 0 1px rgba(255,215,0,.35); }
.pdf-3d .page::before { content: "PDF"; position: absolute; top: 12px; left: 14px; font-weight: 800; font-size: 15px; color: #b91c1c; letter-spacing: 1px; }
.pdf-3d .page::after { content: ""; position: absolute; top: 42px; left: 14px; right: 14px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #C9A227, #FFD700); box-shadow: 0 22px 0 -2px #d8d2bd, 0 44px 0 -2px #d8d2bd, 0 66px 0 -2px #d8d2bd, 0 88px 0 -2px #d8d2bd; }
.pdf-3d .page.p1 { transform: translateZ(0); }
.pdf-3d .page.p2 { transform: translateZ(-16px) translate(8px, 6px); opacity: .92; }
.pdf-3d .page.p3 { transform: translateZ(-32px) translate(16px, 12px); opacity: .85; }
.pdf-3d .shadow { position: absolute; left: -14px; right: -14px; bottom: -26px; height: 22px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(255,215,0,.28), transparent 70%); filter: blur(2px); }
/* tool cards: depth, lift on hover */
.tool-card { transform: translateZ(0); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.tool-card:hover { transform: translateY(-4px); box-shadow: 0 2px 0 rgba(255,215,0,.16), 0 16px 32px rgba(0,0,0,.65), 0 32px 64px rgba(0,0,0,.5), 0 0 44px rgba(255,215,0,.1); border-color: rgba(255,215,0,.55); }
.tool-grid .card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.tool-grid .card:hover { transform: translateY(-6px) scale(1.015); box-shadow: 0 2px 0 rgba(255,215,0,.16), 0 16px 32px rgba(0,0,0,.65), 0 0 40px rgba(255,215,0,.12); border-color: rgba(255,215,0,.55); }
.tool-grid .card .ticon { font-size: 34px; display: block; margin-bottom: 8px; filter: drop-shadow(0 4px 8px rgba(0,0,0,.6)); }
section.block h2, main.page h1 {
  background: linear-gradient(180deg, #fff6c9 0%, #FFD700 45%, #C9A227 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
main.page h1 { display: inline-block; }
.divider { color: var(--gold); letter-spacing: 10px; text-shadow: 0 0 14px rgba(255,215,0,.5); }
.feat, .step { transition: transform .25s ease, box-shadow .25s ease; }
.feat:hover, .step:hover { transform: translateY(-4px); box-shadow: var(--shadow-3d); }
.logo { text-shadow: 0 2px 10px rgba(255,215,0,.35); }

/* PDF Editor workspace */
.editor { margin-top: 16px; }
.editor-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin-bottom: 10px; }
.editor-toolbar label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.editor-toolbar input[type="number"], .editor-toolbar select { background: var(--bg2); color: var(--text); border: 1px solid #2a2a35; border-radius: 8px; padding: 9px 11px; font-size: 15px; min-width: 90px; }
.tool-btn { background: var(--card); border: 1px solid var(--gold-line); color: var(--text); border-radius: 8px; padding: 9px 12px; cursor: pointer; font-size: 14px; min-height: 42px; }
.tool-btn:hover { background: var(--gold-soft); }
.tool-btn.active { background: var(--gold-soft); border-color: var(--gold); color: var(--gold); font-weight: 700; }
.sig-row, .img-row { margin: 10px 0; display: flex; flex-direction: column; gap: 8px; }
#sig-pad { background: #fff; border: 1px solid var(--gold-line); border-radius: 8px; touch-action: none; cursor: crosshair; max-width: 100%; }
.note-inline { font-size: 13px; color: var(--muted); }
.editor-nav { display: flex; gap: 10px; align-items: center; margin: 10px 0; }
.editor-nav span { font-size: 14px; color: var(--muted); }
.editor-stage { position: relative; background: #fff; border: 1px solid var(--gold-line); border-radius: 8px; overflow: auto; display: inline-block; max-width: 100%; line-height: 0; }
.editor-stage canvas { display: block; }
#editor-overlay { position: absolute; left: 0; top: 0; pointer-events: none; }
#anno-input { position: absolute; z-index: 5; font-size: 16px; padding: 4px 6px; border: 2px solid var(--gold); border-radius: 4px; min-width: 140px; background: #fffdf4; color: #111; line-height: 1.4; }

/* Reorder thumbnails */
.reorder-list { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0; }
.reorder-item { background: var(--card); border: 1px solid #2a2a35; border-radius: 10px; padding: 8px; text-align: center; width: 152px; cursor: grab; }
.reorder-item.dragging { opacity: 0.45; border-color: var(--gold); }
.reorder-item.dragover { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold-soft); }
.reorder-item canvas { width: 134px; height: auto; background: #fff; display: block; margin: 0 auto 6px; border-radius: 4px; }
.reorder-item .ord { font-size: 13px; color: var(--muted); display: block; margin-bottom: 6px; }
.reorder-item .mini { background: none; border: 1px solid var(--gold-line); color: var(--gold); border-radius: 8px; padding: 4px 10px; cursor: pointer; font-size: 14px; margin: 0 2px; }
.reorder-item .mini:hover { background: var(--gold-soft); }
.reorder-item .mini:disabled { opacity: 0.35; cursor: default; }

/* Fill-form fields */
.form-fields { display: grid; gap: 10px; margin: 12px 0; }
.form-fields label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.form-fields input[type="text"], .form-fields select { background: var(--bg2); color: var(--text); border: 1px solid #2a2a35; border-radius: 8px; padding: 9px 11px; font-size: 15px; }
.form-fields .check-row { flex-direction: row; align-items: center; gap: 8px; font-size: 15px; color: var(--text); }
.form-fields .check-row input { accent-color: var(--gold); width: 18px; height: 18px; }

/* VirtualPhone — the phone simulator. Black + gold, 3D royal. */
[hidden] { display: none !important; }
/* The phone is the whole point of this site: let the site header scroll
   away instead of sticking, so the phone gets the full viewport height
   on small screens and its status bar is never covered. */
header.site { position: static; }
.phone-stage { display: flex; flex-direction: column; align-items: center; gap: 16px; margin: 28px 0 10px; }
.phone {
  position: relative;
  width: min(92vw, 400px);
  aspect-ratio: 400 / 830;
  border-radius: 52px;
  background: linear-gradient(145deg, #3a3a42, #0c0c10 35%, #2a2a30 70%, #101014);
  padding: 11px;
  box-shadow: 0 30px 60px rgba(0,0,0,.75), 0 0 0 2px #C9A227, 0 0 42px rgba(255,215,0,.28), inset 0 2px 3px rgba(255,255,255,.22);
}
.phone-btn { position: absolute; background: #2c2c33; border-radius: 4px; box-shadow: inset 0 1px 1px rgba(255,255,255,.25); cursor: pointer; }
.btn-power { right: -3px; top: 190px; width: 4px; height: 92px; }
.btn-vol-up { left: -3px; top: 160px; width: 4px; height: 56px; }
.btn-vol-down { left: -3px; top: 224px; width: 4px; height: 56px; }
.screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 42px; overflow: hidden; background: #000; color: #f5f0dc;
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  transition: filter .2s ease;
}
.wallpaper { position: absolute; inset: 0; z-index: 0; transition: opacity .3s; }
.wp-1 { background: radial-gradient(120% 90% at 50% 0%, #3d2f00 0%, #141005 45%, #07070a 100%); }
.wp-2 { background: radial-gradient(120% 90% at 50% 0%, #00334d 0%, #02141f 50%, #05070a 100%); }
.wp-3 { background: radial-gradient(120% 90% at 50% 0%, #5a1e00 0%, #2b0f14 50%, #0a0507 100%); }
.wp-4 { background: radial-gradient(120% 90% at 50% 0%, #0d3d1e 0%, #07180d 50%, #050a07 100%); }
.statusbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 26px 0; font-size: 14px; font-weight: 700; color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.7); pointer-events: none;
}
.sb-icons { display: flex; gap: 7px; align-items: center; font-size: 13px; }
.island {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%); z-index: 41;
  width: 108px; height: 27px; border-radius: 16px; background: #000;
  border: 1px solid rgba(255,255,255,.08);
}
.lockscreen, .homescreen, .appview { position: absolute; inset: 0; z-index: 10; }
.lockscreen { display: flex; flex-direction: column; align-items: center; padding-top: 88px; cursor: pointer; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.lock-date { font-size: 17px; font-weight: 600; opacity: .92; }
.lock-clock { font-size: 74px; font-weight: 200; letter-spacing: -2px; line-height: 1.05; margin-top: 4px; }
.lock-sub { margin-top: 14px; font-size: 12px; opacity: .75; background: rgba(0,0,0,.35); padding: 6px 12px; border-radius: 20px; }
.lock-hint { position: absolute; bottom: 64px; font-size: 14px; font-weight: 600; animation: bob 2.2s ease-in-out infinite; }
.lock-swipe { position: absolute; bottom: 36px; font-size: 18px; opacity: .8; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); opacity: .55; } 50% { transform: translateY(-6px); opacity: 1; } }
.homescreen { display: flex; flex-direction: column; padding: 58px 16px 0; overflow-y: auto; }
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 8px; }
.app-icon { display: flex; flex-direction: column; align-items: center; gap: 5px; background: none; border: none; cursor: pointer; padding: 0; }
.app-icon .ic {
  width: 56px; height: 56px; border-radius: 15px; display: flex; align-items: center; justify-content: center;
  font-size: 27px; background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.04));
  border: 1px solid rgba(255,215,0,.35); box-shadow: 0 6px 14px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.18);
}
.app-icon span.nm { font-size: 11px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.8); }
.app-icon:active .ic { transform: scale(.92); }
.home-widget { margin: 18px 10px 0; text-align: center; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.7); }
.hw-time { font-size: 46px; font-weight: 200; letter-spacing: -1px; line-height: 1.1; }
.hw-date { font-size: 14px; font-weight: 600; opacity: .92; margin-top: 2px; }
.hw-loc { font-size: 12px; opacity: .75; margin-top: 6px; }
.dock {
  margin-top: auto; margin-bottom: 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.12); border-radius: 24px; padding: 10px 6px;
  backdrop-filter: blur(6px);
}
.appview { background: rgba(7,7,10,.96); display: flex; flex-direction: column; padding: 54px 14px 34px; overflow-y: auto; }
.screen.light .appview { background: rgba(245,242,230,.97); color: #1c1a12; }
.screen.light .app-head span, .screen.light .app-note, .screen.light .big-clock, .screen.light .cal-nav span { color: #1c1a12; }
.app-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex: 0 0 auto; }
.app-head span { font-size: 19px; font-weight: 700; color: #FFD700; }
.app-back { background: rgba(255,215,0,.14); color: #FFD700; border: 1px solid rgba(255,215,0,.5); border-radius: 18px; padding: 5px 11px; font-size: 13px; cursor: pointer; }
.app-note { font-size: 12.5px; line-height: 1.5; opacity: .78; margin: 10px 2px; }
.homebar {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); z-index: 45;
  width: 128px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.85); cursor: pointer;
}
.screen.light .homebar { background: rgba(0,0,0,.55); }
.mini-btn {
  background: linear-gradient(180deg, #FFD700, #C9A227); color: #111; border: none; border-radius: 20px;
  padding: 9px 16px; font-size: 14px; font-weight: 700; cursor: pointer; box-shadow: 0 3px 8px rgba(0,0,0,.4);
}
.mini-btn.ghost { background: rgba(255,255,255,.12); color: #f5f0dc; border: 1px solid rgba(255,215,0,.45); box-shadow: none; }
.mini-btn.danger { background: linear-gradient(180deg, #ff6b5e, #c22e22); color: #fff; }
.mini-btn.wide { width: 100%; margin-top: 10px; }
.mini-btn:disabled { opacity: .45; cursor: default; }
.row-btns { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.phone-controls { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
/* Calculator */
.calc-display {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,215,0,.35); border-radius: 14px;
  font-size: 38px; font-weight: 300; text-align: right; padding: 14px 16px; margin-bottom: 12px;
  overflow: hidden; white-space: nowrap; color: #fff; min-height: 66px;
}
.calc-keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.calc-keys button {
  height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); font-size: 21px;
  background: rgba(255,255,255,.1); color: #fff; cursor: pointer;
}
.calc-keys button.k-op { background: rgba(255,215,0,.85); color: #111; font-weight: 700; }
.calc-keys button.k-fn { background: rgba(255,255,255,.2); }
.calc-keys button.k-eq { background: linear-gradient(180deg, #FFD700, #C9A227); color: #111; font-weight: 700; }
.calc-keys button:active { transform: scale(.93); }
/* Notes */
.notes-list { display: flex; flex-direction: column; gap: 8px; }
.note-item { background: rgba(255,255,255,.07); border: 1px solid rgba(255,215,0,.3); border-radius: 12px; padding: 10px 12px; cursor: pointer; text-align: left; color: inherit; }
.note-item b { display: block; font-size: 14.5px; color: #FFD700; }
.note-item span { font-size: 12.5px; opacity: .8; display: block; margin-top: 3px; }
.notes-empty { font-size: 13px; opacity: .7; padding: 8px 2px; }
#note-title, #note-body, #chat-input, #br-url {
  width: 100%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,215,0,.4); color: inherit;
  border-radius: 10px; padding: 10px 12px; font-size: 14px; font-family: inherit; margin-bottom: 8px;
}
#note-body { resize: vertical; min-height: 150px; }
/* Clock */
.clock-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.clock-tabs button { flex: 1; padding: 8px 0; border-radius: 18px; border: 1px solid rgba(255,215,0,.4); background: transparent; color: #f5f0dc; font-size: 13px; cursor: pointer; }
.clock-tabs button.active { background: linear-gradient(180deg, #FFD700, #C9A227); color: #111; font-weight: 700; }
.big-clock { font-size: 44px; font-weight: 200; text-align: center; margin: 26px 0 6px; letter-spacing: -1px; }
.big-date { text-align: center; font-size: 14px; opacity: .85; }
.timer-set { display: flex; gap: 14px; justify-content: center; margin: 18px 0 4px; }
.timer-set label { font-size: 13px; display: flex; flex-direction: column; gap: 5px; align-items: center; }
.timer-set input { width: 74px; text-align: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,215,0,.4); color: inherit; border-radius: 10px; padding: 9px; font-size: 17px; }
/* Calendar */
.cal-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cal-nav span { font-size: 16px; font-weight: 700; }
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-week span { font-size: 11px; opacity: .6; padding: 4px 0; }
.cal-grid button { aspect-ratio: 1; border: none; border-radius: 50%; background: transparent; color: inherit; font-size: 14px; cursor: pointer; }
.cal-grid button.today { background: linear-gradient(180deg, #FFD700, #C9A227); color: #111; font-weight: 700; }
.cal-grid button.sel { box-shadow: 0 0 0 2px #FFD700 inset; }
.cal-grid button.dim { opacity: .3; }
/* Weather */
.wx-city { display: flex; gap: 8px; margin: 10px 0; }
.wx-city select { flex: 1; background: #17171c; color: #f5f0dc; border: 1px solid rgba(255,215,0,.4); border-radius: 10px; padding: 9px; font-size: 14px; }
.wx-result { text-align: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,215,0,.35); border-radius: 14px; padding: 16px; margin-top: 6px; }
.wx-temp { font-size: 46px; font-weight: 200; }
.wx-cond { font-size: 16px; font-weight: 600; color: #FFD700; margin-top: 2px; }
.wx-place { font-size: 13px; opacity: .85; margin-top: 4px; }
.wx-meta { font-size: 12.5px; opacity: .8; margin-top: 8px; }
/* Browser */
.br-bar { display: flex; gap: 8px; }
.br-bar input { flex: 1; margin-bottom: 0; }
.br-chips { display: flex; gap: 6px; margin: 10px 0; flex-wrap: wrap; }
.br-chips button, .br-chips a { background: rgba(255,255,255,.1); color: #f5f0dc; border: 1px solid rgba(255,215,0,.35); border-radius: 16px; padding: 6px 11px; font-size: 12.5px; cursor: pointer; text-decoration: none; }
#br-frame { width: 100%; flex: 1; min-height: 300px; border: 1px solid rgba(255,215,0,.35); border-radius: 12px; background: #fff; }
/* Camera */
.cam-box { position: relative; border-radius: 14px; overflow: hidden; background: #000; border: 1px solid rgba(255,215,0,.35); min-height: 260px; display: flex; align-items: center; justify-content: center; }
#cam-video { width: 100%; display: block; }
.cam-off { text-align: center; font-size: 40px; color: #888; }
.cam-off p { font-size: 13px; color: #f5f0dc; opacity: .8; margin: 6px 0 0; }
/* Photos */
.photos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.photos-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; cursor: pointer; border: 1px solid rgba(255,215,0,.3); }
.photo-viewer { text-align: center; }
.photo-viewer img { width: 100%; border-radius: 12px; border: 1px solid rgba(255,215,0,.35); }
/* Settings */
.set-group { margin-bottom: 18px; }
.set-group h3 { font-size: 15px; margin: 0 0 8px; color: #FFD700; }
.wp-pick { display: flex; gap: 10px; }
.wp-sw { width: 58px; height: 58px; border-radius: 14px; border: 2px solid transparent; cursor: pointer; }
.wp-sw.active { border-color: #FFD700; box-shadow: 0 0 12px rgba(255,215,0,.6); }
#set-bright { width: 100%; accent-color: #FFD700; }
/* Messages */
.chat-log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 4px 2px; min-height: 220px; }
.chat-msg { max-width: 82%; padding: 9px 12px; border-radius: 16px; font-size: 13.5px; line-height: 1.45; }
.chat-msg.me { align-self: flex-end; background: linear-gradient(180deg, #FFD700, #C9A227); color: #111; border-bottom-right-radius: 4px; }
.chat-msg.them { align-self: flex-start; background: rgba(255,255,255,.12); border-bottom-left-radius: 4px; }
.chat-msg .t { display: block; font-size: 10.5px; opacity: .65; margin-top: 3px; }
.chat-input { display: flex; gap: 8px; margin-top: 10px; }
.chat-input input { flex: 1; margin-bottom: 0; }
/* Music */
.music-list { display: flex; flex-direction: column; gap: 8px; }
.music-track { display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,215,0,.3); border-radius: 12px; padding: 11px 12px; cursor: pointer; color: inherit; font-size: 14px; text-align: left; }
.music-track.active { border-color: #FFD700; background: rgba(255,215,0,.14); }
.music-track .dur { opacity: .7; font-size: 12.5px; }
.mu-now { margin-top: 16px; text-align: center; }
.mu-track { font-size: 17px; font-weight: 700; color: #FFD700; }
.mu-progress { height: 6px; border-radius: 3px; background: rgba(255,255,255,.15); margin: 12px 0 6px; overflow: hidden; }
.mu-progress div { height: 100%; width: 0; background: linear-gradient(90deg, #FFD700, #C9A227); }
.mu-time { font-size: 12.5px; opacity: .8; }
/* Files */
.files-h { font-size: 15px; margin: 12px 0 8px; color: #FFD700; }
.files-h span { color: inherit; opacity: .7; font-weight: 400; font-size: 13px; }
.files-list { display: flex; flex-direction: column; gap: 6px; }
.file-item { display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,215,0,.25); border-radius: 10px; padding: 9px 11px; font-size: 13.5px; cursor: pointer; color: inherit; text-align: left; }
.file-item img { width: 34px; height: 34px; object-fit: cover; border-radius: 6px; }
.file-item .fi-ic { font-size: 20px; }
/* Phone on small screens */
@media (max-width: 480px) {
  .phone { width: min(94vw, 380px); }
  .lock-clock { font-size: 62px; }
  .calc-keys button { height: 48px; font-size: 19px; }
}

/* ---------- Brand tiles + demo badges ---------- */
.app-icon .ic .brand-tile { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 15px; font-style: normal; }
.brand-tile.wa { background: #25D366; color: #fff; font-size: 28px; font-weight: 800; }
.brand-tile.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); font-size: 26px; }
.brand-tile.tt { background: #000; color: #fff; font-size: 28px; text-shadow: 2px 0 #25F4EE, -2px 0 #FE2C55; }
.brand-tile.fb { background: #1877F2; color: #fff; font-size: 30px; font-weight: 800; }
.brand-tile.chrome { background: conic-gradient(#EA4335 0deg 90deg, #FBBC05 90deg 180deg, #34A853 180deg 270deg, #4285F4 270deg 360deg); }
.brand-tile.chrome .chrome-dot { width: 22px; height: 22px; border-radius: 50%; background: #4285F4; border: 3px solid #fff; display: block; }
.demo-tag { font-size: 8px; background: #FFD700; color: #111; border-radius: 6px; padding: 1px 5px; font-weight: 800; letter-spacing: .4px; }
.demo-badge { font-size: 10px; background: #FFD700; color: #111; border-radius: 8px; padding: 2px 7px; font-weight: 800; letter-spacing: .5px; }
/* ---------- VPN (simulated) ---------- */
.vpn-status { font-size: 20px; font-weight: 700; text-align: center; padding: 14px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,215,0,.35); margin: 6px 0 12px; }
.vpn-status.on { background: rgba(37, 211, 102, .16); border-color: #25D366; color: #7be495; }
.vpn-row { display: flex; gap: 8px; }
.vpn-row select { flex: 1; background: #17171c; color: #f5f0dc; border: 1px solid rgba(255,215,0,.4); border-radius: 10px; padding: 9px; font-size: 14px; min-width: 0; }
.vpn-row select option { background: #17171c; color: #f5f0dc; }
/* ---------- WhatsApp demo ---------- */
.wa-list { display: flex; flex-direction: column; gap: 6px; }
.wa-item { display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,215,0,.25); border-radius: 12px; padding: 10px; cursor: pointer; color: inherit; text-align: left; width: 100%; }
.wa-av { width: 44px; height: 44px; border-radius: 50%; background: #25D366; color: #fff; font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.wa-meta { flex: 1; min-width: 0; }
.wa-meta b { display: block; font-size: 14.5px; }
.wa-last { font-size: 12.5px; opacity: .75; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-time { font-size: 11px; opacity: .6; flex: 0 0 auto; }
.wa-chat-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.wa-chat-head span { font-size: 16px; font-weight: 700; color: #25D366; }
.wa-chat { display: flex; flex-direction: column; flex: 1; min-height: 0; }
#wa-log { flex: 1; }
/* ---------- Instagram demo ---------- */
.ig-stories { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 10px; }
.ig-story { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 0 0 auto; }
.ig-story img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid #E1306C; padding: 2px; }
.ig-story span { font-size: 10.5px; opacity: .85; }
.ig-post { background: rgba(255,255,255,.06); border: 1px solid rgba(255,215,0,.25); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.ig-head { display: flex; gap: 8px; align-items: center; padding: 10px 12px; }
.ig-av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.ig-head b { font-size: 13.5px; }
.ig-post > img { width: 100%; display: block; aspect-ratio: 1; object-fit: cover; }
.ig-actions { display: flex; gap: 8px; align-items: center; padding: 10px 12px 4px; }
.ig-actions button { background: rgba(255,255,255,.1); color: inherit; border: 1px solid rgba(255,215,0,.35); border-radius: 16px; padding: 6px 12px; font-size: 13px; cursor: pointer; }
.ig-count { font-size: 12.5px; opacity: .8; }
.ig-cap { font-size: 13px; line-height: 1.5; padding: 0 12px 12px; margin: 0; }
/* ---------- TikTok demo ---------- */
.tt-feed { flex: 1; min-height: 0; overflow-y: auto; scroll-snap-type: y mandatory; border-radius: 12px; }
.tt-card { position: relative; height: 100%; min-height: 420px; scroll-snap-align: start; border-radius: 12px; overflow: hidden; margin-bottom: 10px; }
.tt-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tt-info { position: absolute; left: 12px; right: 64px; bottom: 14px; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.tt-info b { font-size: 14.5px; display: block; }
.tt-info p { font-size: 13px; margin: 4px 0 0; line-height: 1.4; }
.tt-side { position: absolute; right: 10px; bottom: 14px; display: flex; flex-direction: column; align-items: center; gap: 2px; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.tt-side button { background: none; border: none; font-size: 26px; cursor: pointer; padding: 4px; }
.tt-side .tt-count { font-size: 11.5px; margin-bottom: 8px; }
.tt-side .tt-cmt { font-size: 22px; }
/* ---------- Facebook demo ---------- */
.fb-post { background: rgba(255,255,255,.06); border: 1px solid rgba(255,215,0,.25); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.fb-head { display: flex; gap: 8px; align-items: center; padding: 10px 12px; }
.fb-av { width: 34px; height: 34px; border-radius: 50%; background: #1877F2; color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.fb-head b { font-size: 13.5px; }
.fb-time { font-size: 11.5px; opacity: .65; margin-left: auto; }
.fb-text { font-size: 13.5px; line-height: 1.5; padding: 0 12px 10px; margin: 0; }
.fb-post > img { width: 100%; display: block; aspect-ratio: 16/10; object-fit: cover; }
.fb-actions { display: flex; gap: 8px; align-items: center; padding: 10px 12px; }
.fb-actions button { background: rgba(255,255,255,.1); color: inherit; border: 1px solid rgba(255,215,0,.35); border-radius: 16px; padding: 6px 12px; font-size: 13px; cursor: pointer; }
.fb-count { font-size: 12.5px; opacity: .8; }

/* ---------- Dashboard: up to 5 phones ---------- */
.vp-dash { max-width: 760px; margin: 26px auto 0; padding: 0 16px; }
.vp-dash h2 { color: #FFD700; font-size: 22px; margin: 0 0 6px; text-align: center; }
.vp-dash h2 span { color: #f5f0dc; font-size: 15px; font-weight: 400; }
.dash-note { color: #b8b2a0; font-size: 14px; text-align: center; margin: 0 0 16px; line-height: 1.55; }
.vp-phone-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-bottom: 14px; }
.vp-phone-card {
  background: linear-gradient(180deg, #17171f, #111116); border: 1px solid #2a2a35;
  border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 6px;
}
.vp-phone-card.active { border-color: #FFD700; box-shadow: 0 0 18px rgba(255,215,0,.25); }
.vp-phone-card .vp-name { font-size: 16px; color: #FFD700; display: block; }
.vp-phone-card .vp-meta { font-size: 12.5px; color: #b8b2a0; line-height: 1.5; display: block; }
.vp-card-btns { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.vp-card-btns .mini-btn { padding: 7px 11px; font-size: 12.5px; }
.vp-add-form { background: #111116; border: 1px solid rgba(255,215,0,.4); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.vp-add-form input, .vp-add-form select, .vp-rename-input {
  width: 100%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,215,0,.4); color: #f5f0dc;
  border-radius: 10px; padding: 10px 12px; font-size: 14px; font-family: inherit;
}
.vp-add-form select option, #set-location option { background: #17171c; color: #f5f0dc; }
.vp-rename-input { padding: 6px 8px; font-size: 15px; }
.phone-caption { text-align: center; font-size: 13px; color: #b8b2a0; line-height: 1.5; max-width: 400px; }
/* ---------- Frame variants ---------- */
.frame-hole .island { width: 20px; height: 20px; border-radius: 50%; top: 13px; }
.frame-notch .island { width: 170px; height: 28px; border-radius: 0 0 16px 16px; top: 0; border-top: none; }
/* Settings location select inside the phone */
#set-location { width: 100%; background: #17171c; color: #f5f0dc; border: 1px solid rgba(255,215,0,.4); border-radius: 10px; padding: 9px; font-size: 14px; margin-bottom: 6px; }
