/* Foodie Bangladesh — কার্ড প্রিভিউ, থিম পিকার, শেয়ার বাটন */
.themes { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.sw {
  width: 36px; height: 36px; border-radius: 50%; border: 3px solid #fff; cursor: pointer; padding: 0; position: relative; overflow: hidden;
  background: radial-gradient(circle at 70% 30%, var(--b) 0 22%, transparent 23%), repeating-linear-gradient(0deg, var(--a) 0 5px, var(--c) 5px 6px, var(--a) 6px 9px);
  box-shadow: 0 0 0 1.5px var(--line, #EADFCF), 0 2px 6px rgba(0, 0, 0, .15);
}
.sw img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sw i { position: absolute; right: -2px; bottom: -4px; font-style: normal; font-size: 13px; color: #FFC94A; text-shadow: 0 0 2px #000; }
.sw.on { box-shadow: 0 0 0 3px var(--red, #D7263D), 0 2px 8px rgba(0, 0, 0, .2); transform: scale(1.08); }
.th-name { font-size: 14.5px; color: var(--muted); margin-left: 4px; }

.card-frame { display: flex; justify-content: center; }
#card {
  display: block; width: 100%; max-width: 460px; height: auto; border-radius: 14px; box-shadow: 0 14px 40px rgba(60, 20, 5, .25);
  background: #A8231B; aspect-ratio: 4 / 5;
}
#card.story { aspect-ratio: 9 / 16; max-width: 360px; }
@media (max-width: 899px) {
  #card { max-height: 58vh; width: auto; max-width: 100%; }
  #card.story { max-height: 62vh; }
}
#card.drag { touch-action: none; cursor: grab; }

.size-toggle { display: flex; justify-content: center; gap: 0; margin: 12px auto 0; background: #fff; border: 1.5px solid var(--line); border-radius: 99px; width: max-content; padding: 3px; }
.size-toggle button { border: 0; background: none; padding: 7px 16px; border-radius: 99px; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--muted); }
.size-toggle button.on { background: var(--ink); color: #fff; }

.share-box { margin-top: 14px; }
.share-main { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.share-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.btn.story { background: linear-gradient(135deg, #D7263D, #F2994A); }
.btn.post { background: #1877F2; }
.share-box:not(.ready) .share-main, .share-box:not(.ready) .share-sub { opacity: .55; }

.thanks { margin-top: 14px; background: #fff; border: 2px dashed var(--gold); border-radius: 16px; padding: 14px; font-size: 16px; }
.tagline { display: flex; gap: 8px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.tagline code { background: var(--cream); padding: 6px 10px; border-radius: 8px; font-family: inherit; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.share-sub .btn { font-size: 15.5px; padding: 10px 8px; white-space: nowrap; }
