/* Bollywood dialogues quiz: level tabs, cards, score pill and share. Card and tab styles match /bollywood-emoji-quiz/. */
.tabs {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px;
    margin: 22px 0 6px; padding: 6px;
    background: var(--card); border-radius: 20px; box-shadow: var(--shadow);
  }
.tab {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 10px 4px 8px; border: 0; border-radius: 14px;
    background: transparent; color: var(--muted); cursor: pointer;
    font-weight: 600; font-size: .9rem;
    transition: background .2s, color .2s, transform .15s;
  }
.tab:hover { color: var(--ink); }
.tab:active { transform: scale(.96); }
.tab[aria-selected="true"] { background: var(--marigold-soft); color: var(--ink); }
.tab-icon svg { width: 24px; height: 24px; display: block; }
.tab[aria-selected="true"] .tab-icon { animation: wiggle .5s ease; }
.tab-count { font-size: .72rem; font-weight: 700; min-height: 1.1em; color: var(--green); }
@keyframes wiggle { 0%,100% { transform: rotate(0); } 30% { transform: rotate(-12deg); } 60% { transform: rotate(8deg); } }
.panel { padding: 18px 0 0; }
.panel:not([hidden]) { animation: rise .35s ease both; }
.panel-head { margin-bottom: 14px; }
.blurb { margin: 2px 0 0; color: var(--muted); }
.round-end { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 0 8px; text-align: center; }
.round-score { margin: 0; min-height: 1.4em; font-weight: 600; }
.round-score.done { font-family: "Shrikhand", cursive; font-weight: 400; font-size: 1.4rem; color: var(--green); animation: pop .4s cubic-bezier(.2,1.4,.4,1); }
.score-pill {
    position: fixed; z-index: 20; right: 20px; bottom: 20px;
    display: flex; align-items: center; gap: 10px;
    padding: 10px 16px 10px 12px;
    background: var(--ink); color: var(--card);
    border-radius: 999px; box-shadow: 0 8px 24px rgba(42,29,23,.25);
    font-size: .95rem; white-space: nowrap;
    transform: translateY(120%); opacity: 0;
    transition: transform .35s cubic-bezier(.2,1.3,.4,1), opacity .25s;
  }
.score-pill.on { transform: none; opacity: 1; }
.star { width: 22px; height: 22px; color: var(--marigold); }
.score-pill b { font-size: 1.15rem; }
.score-pill .played { opacity: .7; }
.score-pill .reset { margin-left: 4px; padding: 3px 10px; border: 1px solid rgba(255,252,246,.3); border-radius: 999px; background: none; color: var(--card); font-size: .8rem; cursor: pointer; }
.bump { animation: bump .45s cubic-bezier(.2,1.6,.4,1); }
@keyframes bump { 40% { transform: scale(1.35) rotate(-8deg); } }
.confetti { position: fixed; z-index: 30; width: 8px; height: 12px; border-radius: 2px; pointer-events: none; }
@media (max-width: 620px) {
.tabs { margin-left: -8px; margin-right: -8px; }
.tab { font-size: .8rem; padding: 9px 2px 7px; }
.score-pill { left: 50%; right: auto; bottom: 14px; gap: 8px; padding: 8px 10px 8px 10px; font-size: .88rem; transform: translate(-50%, 120%); }
.score-pill.on { transform: translate(-50%, 0); }
}
.tabs { grid-template-columns: repeat(3, 1fr); }
.tab-emo { font-size: 1.45rem; line-height: 1.2; }
.tab[aria-selected="true"] .tab-emo { display: inline-block; animation: wiggle .5s ease; }
.start { margin-top: 2px; }
.share-wrap { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.share {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 20px; border: 0; border-radius: 999px; cursor: pointer;
    background: var(--rani); color: #fff; font-weight: 700; font-size: 1rem;
    box-shadow: 0 4px 0 #a8305c; transition: transform .15s, box-shadow .15s;
  }
.share svg { width: 18px; height: 18px; }
.share:hover { transform: translateY(-1px); }
.share:active { transform: translateY(3px); box-shadow: 0 1px 0 #a8305c; }
.copied { margin: 0; min-height: 1.3em; font-size: .9rem; color: var(--green); font-weight: 600; }
/* dialogue cards */
.tabs { grid-template-columns: repeat(3, 1fr); }
.tab-emo { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-size: 1.45rem; line-height: 1.2; }
.tab[aria-selected="true"] .tab-emo { display: inline-block; animation: wiggle .5s ease; }
.start { margin-top: 2px; }
.share-wrap { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.share { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border: 0; border-radius: 999px; cursor: pointer; background: var(--rani); color: #fff; font-weight: 700; font-size: 1rem; box-shadow: 0 4px 0 #a8305c; transition: transform .15s, box-shadow .15s; }
.share svg { width: 18px; height: 18px; }
.share:hover { transform: translateY(-1px); }
.share:active { transform: translateY(3px); box-shadow: 0 1px 0 #a8305c; }
.copied { margin: 0; min-height: 1.3em; font-size: .9rem; color: var(--green); font-weight: 600; }
.after { margin: 16px 0 0 !important; }
.site-footer { --sf-bottom-space: 100px; }
