/*
 * Tema "Clássico vibrante" das telas de antes do jogo (Início, Lobby, ...).
 * Tudo fica dentro de body.lu, para não afetar o tabuleiro (game.html), que tem o próprio CSS.
 */
body.lu {
    --lu-r: #ef4444;
    --lu-g: #22c55e;
    --lu-y: #fbbf24;
    --lu-b: #3b82f6;
    --lu-ink: #1d2b53;
    --lu-gold: #ffd23f;
    margin: 0;
    min-height: 100vh;
    font-family: 'Fredoka', 'Baloo 2', 'Trebuchet MS', system-ui, -apple-system, sans-serif;
    color: #fff;
    background: #14308f;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
    user-select: none;
}
body.lu *, body.lu *::before, body.lu *::after { box-sizing: border-box; }
body.lu button, body.lu input, body.lu select { font-family: inherit; }
body.lu button { cursor: pointer; border: 0; }
body.lu a { text-decoration: none; }
/* :where() não pesa na especificidade: qualquer classe de botão/link consegue definir a própria cor */
:where(body.lu) button, :where(body.lu) a { color: inherit; }
body.lu h1, body.lu h2, body.lu h3, body.lu h4, body.lu p { margin: 0; }

/* coluna do "celular": no computador fica centralizada */
.lu-app {
    position: relative;
    width: 100%;
    max-width: 520px;
    min-height: 100vh;
    margin: 0 auto;
    padding-bottom: 86px; /* espaço do menu de baixo */
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle at 50% 160px, #4f8bff 0%, #2a5fe0 42%, #1b3fae 100%);
    overflow: hidden;
}
/* o fundo lembra as casas do tabuleiro */
.lu-app::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 1px, transparent 1px 34px),
        repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 34px);
}
.lu-app > * { position: relative; }

body.lu .screen { display: none; }
body.lu .screen.active { display: flex; flex-direction: column; flex: 1; }

/* ---------- barra de cima ---------- */
.lu-top { display: flex; align-items: center; gap: 10px; padding: 14px 14px 6px; min-height: 76px; }
.lu-avatar {
    position: relative; flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%;
    background: #fff center / cover no-repeat; display: grid; place-items: center; font-size: 27px;
    box-shadow: 0 0 0 3px var(--lu-gold), 0 0 0 7px rgba(0,0,0,.18);
}
.lu-who { flex: 1; min-width: 0; }
.lu-who b { display: block; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lu-who span { font-size: 12px; opacity: .92; }
.lu-track { display: flex; gap: 3px; margin: 4px 0 3px; }
.lu-track i { flex: 1; max-width: 16px; height: 11px; border-radius: 3px; background: rgba(0,0,0,.35); }
.lu-track i.on { background: var(--lu-gold); box-shadow: 0 0 6px rgba(255,210,63,.8); }
.lu-coins {
    display: flex; align-items: center; gap: 6px; flex-shrink: 0;
    background: rgba(0,0,0,.35); border: 2px solid var(--lu-gold); padding: 5px 12px 5px 6px;
    border-radius: 22px; font-weight: 700; font-size: 14px; white-space: nowrap;
}
.lu-coins img { width: 24px; height: 24px; }
.lu-icon-btn {
    flex-shrink: 0; width: 38px; height: 38px; border-radius: 12px; background: rgba(0,0,0,.3);
    display: grid; place-items: center; font-size: 17px;
}

/* ---------- logo ---------- */
.lu-hero { text-align: center; padding-top: 4px; }
.lu-logo { display: inline-flex; gap: 6px; }
.lu-logo span {
    width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
    font-family: 'Baloo 2', 'Fredoka', sans-serif; font-weight: 800; font-size: 34px; color: #fff;
    text-shadow: 0 2px 0 rgba(0,0,0,.3); box-shadow: inset 0 -6px 0 rgba(0,0,0,.22), 0 5px 0 rgba(0,0,0,.3);
}
.lu-logo span:nth-child(1) { background: var(--lu-r); transform: rotate(-5deg); }
.lu-logo span:nth-child(2) { background: var(--lu-g); transform: rotate(3deg); }
.lu-logo span:nth-child(3) { background: var(--lu-y); transform: rotate(-3deg); color: #7a4a00; text-shadow: none; }
.lu-logo span:nth-child(4) { background: var(--lu-b); transform: rotate(5deg); }
.lu-tag { margin-top: 8px; font-size: 14px; opacity: .92; }

/* ---------- botão JOGAR: o centro do tabuleiro ---------- */
.lu-stage { position: relative; height: 205px; margin-top: 2px; }
.lu-play {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 150px; height: 150px; border-radius: 50%; padding: 11px; display: block;
    background: conic-gradient(from 315deg, var(--lu-g) 0 90deg, var(--lu-y) 0 180deg, var(--lu-b) 0 270deg, var(--lu-r) 0);
    box-shadow: 0 0 0 6px #fff, 0 12px 0 6px rgba(0,0,0,.28), 0 18px 30px rgba(0,0,0,.4);
    transition: transform .12s ease;
}
.lu-play:active { transform: translate(-50%, -47%); }
.lu-play > i {
    display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%;
    background: #fff; color: #1b3fae; font-style: normal; text-align: center; box-shadow: inset 0 -6px 0 rgba(0,0,0,.12);
}
.lu-play em { display: block; font-style: normal; font-size: 26px; margin-bottom: -2px; }
.lu-play b { display: block; font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 31px; line-height: 1; }
.lu-play small { display: block; font-weight: 600; font-size: 12px; color: #5a6aa8; margin-top: 2px; }
.lu-stage .pw { position: absolute; }
.lu-stage .pw.tl { left: 52px; top: 6px; } .lu-stage .pw.tr { right: 52px; top: 6px; }
.lu-stage .pw.bl { left: 52px; bottom: 4px; } .lu-stage .pw.br { right: 52px; bottom: 4px; }
.lu-stage .die { position: absolute; width: 40px; height: 40px; border-radius: 9px; box-shadow: 0 4px 0 rgba(0,0,0,.3); }
.lu-stage .die.d1 { left: 14px; top: 84px; transform: rotate(-14deg); }
.lu-stage .die.d2 { right: 14px; top: 78px; transform: rotate(16deg); }

/* ---------- atalhos de modo ---------- */
.lu-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; padding: 0 14px; }
.lu-mode {
    border-radius: 18px; padding: 8px 4px 10px; text-align: center; font-weight: 700; font-size: 13px; color: #fff;
    box-shadow: inset 0 -6px 0 rgba(0,0,0,.2), 0 4px 0 rgba(0,0,0,.28);
    display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 1px; min-height: 76px;
    transition: transform .1s ease;
}
.lu-mode:active { transform: translateY(3px); }
.lu-mode.r { background: linear-gradient(#ff6b5e, #d93025); }
.lu-mode.y { background: linear-gradient(#ffd84d, #f2a900); color: #4a3200; }
.lu-mode.b { background: linear-gradient(#5aa2ff, #2563eb); }
.lu-mode .two { display: flex; }

/* ---------- títulos de seção ---------- */
.lu-h3 { padding: 12px 18px 5px; font-size: 17px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0; }
.lu-h3 button, .lu-h3 a { font-size: 13px; opacity: .9; font-weight: 600; background: none; padding: 4px 2px; }

/* ---------- mesas ---------- */
.lu-rooms { display: flex; flex-direction: column; gap: 8px; padding: 0 14px; }
.lu-room {
    background: #fff; color: var(--lu-ink); border-radius: 16px; padding: 8px 10px;
    display: flex; align-items: center; gap: 10px; box-shadow: 0 4px 0 rgba(0,0,0,.22);
}
.lu-room.full { opacity: .82; }
.lu-mini { width: 40px; height: 40px; border-radius: 9px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 2px; background: var(--lu-ink); flex-shrink: 0; }
.lu-mini i { border-radius: 4px; }
.lu-mini i.r { background: var(--lu-r); } .lu-mini i.g { background: var(--lu-g); }
.lu-mini i.y { background: var(--lu-y); } .lu-mini i.b { background: var(--lu-b); }
.lu-mini i.e { opacity: .2; }
.lu-mini i.x { background: #000; opacity: .35; } /* lugar que não existe nesta mesa (2 ou 3 jogadores) */
.lu-room .info { flex: 1; min-width: 0; }
.lu-room .info b { display: block; font-size: 15px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lu-room .info small { display: block; font-weight: 500; opacity: .7; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lu-go { background: #ff9f1c; color: #fff; padding: 8px 15px; border-radius: 12px; font-weight: 700; font-size: 14px; box-shadow: 0 3px 0 #c97800; flex-shrink: 0; }
.lu-go:active { transform: translateY(2px); box-shadow: 0 1px 0 #c97800; }
.lu-go[disabled], .lu-go.full { background: #aab; box-shadow: 0 3px 0 #889; cursor: default; }
.lu-x { width: 32px; height: 32px; border-radius: 10px; background: #fee2e2; color: #b91c1c; font-weight: 700; flex-shrink: 0; }
.lu-empty { text-align: center; padding: 22px 16px; font-size: 14px; opacity: .9; background: rgba(0,0,0,.18); border-radius: 16px; border: 2px dashed rgba(255,255,255,.35); }

/* ---------- menu de baixo ---------- */
.lu-nav {
    position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: 520px; z-index: 50;
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: #12297f; padding: 8px 6px calc(12px + env(safe-area-inset-bottom));
    border-top: 3px solid var(--lu-gold);
}
.lu-nav a, .lu-nav button { text-align: center; font-size: 11px; opacity: .75; background: none; color: #fff; padding: 0; font-weight: 500; }
.lu-nav b { display: block; font-size: 22px; font-weight: 400; line-height: 1.25; }
.lu-nav .on { opacity: 1; color: var(--lu-gold); }

/* ---------- cabeçalho de subtela ---------- */
.lu-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 6px; }
.lu-head .back, .lu-back { width: 40px; height: 40px; border-radius: 12px; background: rgba(0,0,0,.3); display: grid; place-items: center; font-size: 22px; flex-shrink: 0; color: #fff; }
.lu-head h2 { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 26px; margin: 0; flex: 1; }

/* ---------- cartões e controles ---------- */
.lu-card { background: #fff; color: var(--lu-ink); border-radius: 20px; padding: 11px 12px; margin: 7px 14px 0; box-shadow: 0 5px 0 rgba(0,0,0,.22); }
.lu-card h4 { font-size: 14px; margin: 0 0 7px; display: flex; justify-content: space-between; font-weight: 700; }
.lu-card h4 small { font-weight: 500; opacity: .6; }
.lu-seg { display: grid; gap: 8px; }
.lu-seg.c2 { grid-template-columns: 1fr 1fr; } .lu-seg.c3 { grid-template-columns: repeat(3, 1fr); } .lu-seg.c4 { grid-template-columns: repeat(4, 1fr); }
.lu-opt { border-radius: 14px; border: 3px solid #dfe5f5; background: #f5f7ff; padding: 8px 4px; text-align: center; font-weight: 700; font-size: 14px; color: var(--lu-ink); }
.lu-opt small { display: block; font-weight: 500; font-size: 11px; opacity: .65; }
.lu-opt .row { display: flex; justify-content: center; align-items: flex-end; margin-bottom: 2px; min-height: 36px; }
.lu-opt.on { border-color: var(--lu-g); background: #eafaf0; box-shadow: 0 0 0 3px rgba(34,197,94,.25); }
.lu-pick { border-radius: 16px; padding: 10px 0 6px; text-align: center; border: 3px solid transparent; font-weight: 700; font-size: 13px; color: var(--lu-ink); }
.lu-pick.r { background: #ffe5e3; } .lu-pick.g { background: #def7e7; } .lu-pick.y { background: #fff3cf; } .lu-pick.b { background: #e0ecff; }
.lu-pick.on { border-color: var(--lu-ink); box-shadow: 0 0 0 3px rgba(29,43,83,.25); }
.lu-pick:active { transform: scale(.97); }
.lu-big {
    display: block; width: calc(100% - 28px); margin: 12px 14px 6px; padding: 15px; border-radius: 20px; text-align: center;
    background: linear-gradient(#52e07a, #1fb554); font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 24px; color: #fff;
    box-shadow: 0 7px 0 #137a38, 0 12px 20px rgba(0,0,0,.3); text-shadow: 0 2px 0 rgba(0,0,0,.25);
}
.lu-big:active { transform: translateY(4px); box-shadow: 0 3px 0 #137a38; }
.lu-input {
    width: 100%; padding: 12px 14px; border-radius: 14px; border: 3px solid #dfe5f5; background: #f5f7ff;
    font-size: 15px; color: var(--lu-ink); outline: none; user-select: text;
}
.lu-input:focus { border-color: var(--lu-b); }
.lu-note { text-align: center; font-size: 13px; opacity: .9; padding: 8px 20px 0; }

/* ---------- folha (janela que sobe de baixo) ---------- */
.lu-sheet-bg { position: fixed; inset: 0; z-index: 200; background: rgba(8,16,60,.72); display: none; align-items: flex-end; justify-content: center; }
.lu-sheet-bg.active { display: flex; }
.lu-sheet {
    width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto; background: #2a5fe0; border-radius: 26px 26px 0 0;
    padding: 6px 0 calc(18px + env(safe-area-inset-bottom)); border-top: 4px solid var(--lu-gold); animation: luUp .22s ease-out;
}
@keyframes luUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.lu-sheet .lu-head h2 { font-size: 23px; }

/* ---------- carregando ---------- */
.lu-loading { flex: 1; display: grid; place-items: center; text-align: center; font-size: 18px; font-weight: 600; }
.lu-spin { width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 14px; border: 6px solid rgba(255,255,255,.3); border-top-color: var(--lu-gold); animation: luSpin .9s linear infinite; }
@keyframes luSpin { to { transform: rotate(360deg); } }

/* ---------- lobby: busca e filtros ---------- */
.lu-filters { display: flex; gap: 8px; padding: 0 14px 4px; flex-wrap: wrap; }
.lu-filters .lu-input { flex: 1 1 100%; padding: 10px 12px; border-color: transparent; background: #fff; }
.lu-filters select {
    flex: 1; min-width: 0; padding: 9px 10px; border-radius: 12px; border: 0; background: rgba(0,0,0,.3); color: #fff; font-size: 13px; font-weight: 600;
}
.lu-filters select option { color: #1d2b53; background: #fff; }
.lu-create { background: linear-gradient(#52e07a, #1fb554); color: #fff; padding: 9px 14px; border-radius: 14px; font-weight: 700; font-size: 14px; box-shadow: 0 4px 0 #137a38; opacity: 1 !important; }
.lu-create:active { transform: translateY(2px); box-shadow: 0 2px 0 #137a38; }

/* ---------- janelas antigas do lobby (criar sala, entrar, cor), no mesmo tema ---------- */
body.lu .create-room-modal, body.lu .join-room-modal { background: rgba(8,16,60,.72); align-items: flex-end; padding: 0; z-index: 200; }
body.lu .create-room-modal .modal-content, body.lu .join-room-modal .modal-content, body.lu .modal-content {
    width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto; margin: 0; border-radius: 26px 26px 0 0;
    background: #fff; color: var(--lu-ink); padding: 16px 16px calc(18px + env(safe-area-inset-bottom)); border-top: 4px solid var(--lu-gold);
}
body.lu .modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
body.lu .modal-title { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 24px; color: #1b3fae; margin: 0; }
body.lu .close-btn { width: 36px; height: 36px; border-radius: 12px; background: #eef1fb; color: var(--lu-ink); font-size: 22px; line-height: 1; }
body.lu .form-group { margin-bottom: 12px; }
body.lu .form-group label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; color: var(--lu-ink); }
body.lu .form-group input[type="text"], body.lu .form-group input[type="password"], body.lu .form-group input[type="number"], body.lu .form-group select {
    width: 100%; padding: 12px 14px; border-radius: 14px; border: 3px solid #dfe5f5; background: #f5f7ff; font-size: 15px; color: var(--lu-ink); outline: none; user-select: text;
}
body.lu .form-group input:focus, body.lu .form-group select:focus { border-color: var(--lu-b); }
body.lu .bet-amount-btn { padding: 9px 4px; border-radius: 12px; background: #eef1fb; color: var(--lu-ink); font-weight: 700; font-size: 13px; border: 0; }
body.lu .bet-amount-btn.selected { background: var(--lu-gold); color: #4a3200; }
body.lu .checkbox-group { display: flex; align-items: center; gap: 8px; }
body.lu .checkbox-group label { margin: 0; }
body.lu .checkbox-group input { width: 20px; height: 20px; }
body.lu .modal-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; margin-top: 14px; }
body.lu .btn { padding: 13px; border-radius: 16px; font-weight: 700; font-size: 16px; border: 0; }
body.lu .btn-primary { background: linear-gradient(#52e07a, #1fb554); color: #fff; box-shadow: 0 5px 0 #137a38; }
body.lu .btn-primary:disabled { background: #b9c2d6; box-shadow: 0 5px 0 #8f9ab3; }
body.lu .btn-secondary { background: #eef1fb; color: var(--lu-ink); box-shadow: 0 5px 0 #c9d0e6; }
body.lu .room-code-section { background: #f5f7ff; border: 3px dashed #c9d0e6; border-radius: 16px; padding: 12px; text-align: center; margin-bottom: 12px; color: var(--lu-ink); }
body.lu .room-code { font-family: 'Baloo 2', monospace; font-weight: 800; font-size: 26px; letter-spacing: 3px; color: #1b3fae; user-select: text; }
body.lu .copy-btn { margin-top: 6px; padding: 8px 14px; border-radius: 12px; background: var(--lu-b); color: #fff; font-weight: 700; }

/* ranking */
.lu-rank { background: #fff; color: var(--lu-ink); border-radius: 18px; margin: 4px 14px 0; padding: 4px 12px; box-shadow: 0 5px 0 rgba(0,0,0,.22); }
.lu-rank .r { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid #edf0f8; font-size: 14px; }
.lu-rank .r:last-child { border-bottom: 0; }
.lu-rank .pos { width: 30px; height: 30px; border-radius: 10px; background: #eef1fb; display: grid; place-items: center; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.lu-rank .r:nth-child(1) .pos { background: #ffd23f; } .lu-rank .r:nth-child(2) .pos { background: #d9dee8; } .lu-rank .r:nth-child(3) .pos { background: #f0b27a; }
.lu-rank .nm { flex: 1; font-weight: 600; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lu-rank .lv { font-size: 12px; opacity: .75; white-space: nowrap; }

@media (max-width: 360px) {
    .lu-logo span { width: 44px; height: 44px; font-size: 30px; }
    .lu-stage .pw.tl, .lu-stage .pw.bl { left: 38px; } .lu-stage .pw.tr, .lu-stage .pw.br { right: 38px; }
    .lu-mode { font-size: 12px; }
}


/* ---------- fichas de aposta, interruptor e estados ---------- */
.lu-chips { display: flex; flex-wrap: wrap; gap: 6px; }
body.lu .lu-chips .bet-amount-btn { padding: 8px 12px; }
.lu-switch { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; }
.lu-switch span b { display: block; font-size: 14px; }
.lu-switch span small { display: block; font-weight: 500; opacity: .6; font-size: 12px; }
.lu-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.lu-switch i { position: relative; flex-shrink: 0; width: 48px; height: 28px; border-radius: 16px; background: #c9d0e6; transition: background .15s ease; box-shadow: inset 0 2px 0 rgba(0,0,0,.12); }
.lu-switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: left .15s ease; box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.lu-switch input:checked + i { background: var(--lu-g); }
.lu-switch input:checked + i::after { left: 23px; }
.lu-pick:disabled { opacity: .35; cursor: not-allowed; filter: grayscale(.6); }
.lu-big:disabled { background: #9aa6c4; box-shadow: 0 7px 0 #6f7b9a; text-shadow: none; cursor: not-allowed; }
.lu-sheet .lu-rooms { margin-top: 2px; }


/* ---------- carteira: 🪙 coins (apostas e emojis) e 💵 dinheiro (comprar o número do dado) ---------- */
.lu-wallet { display: flex; flex-direction: column; gap: 4px; align-items: stretch; flex-shrink: 0; }
.lu-wallet .lu-coins { padding: 3px 10px 3px 5px; font-size: 13px; }
.lu-wallet .lu-coins img { width: 20px; height: 20px; }
.lu-cash {
    display: flex; align-items: center; gap: 5px; justify-content: flex-start;
    background: rgba(0,0,0,.35); border: 2px solid #4ade80; padding: 3px 10px 3px 7px;
    border-radius: 22px; font-weight: 700; font-size: 13px; white-space: nowrap; color: #fff;
}

/* ---------- check-in diário ---------- */
.lu-checkin {
    margin: 10px 14px 0; border-radius: 20px; padding: 10px 12px; color: #14532d;
    background: linear-gradient(#e8ffe9, #c9f7cf); box-shadow: 0 5px 0 rgba(0,0,0,.22); border: 3px solid #4ade80;
}
.lu-checkin .top { display: flex; align-items: center; gap: 10px; }
.lu-checkin .top b { flex: 1; font-size: 15px; line-height: 1.15; }
.lu-checkin .top b small { display: block; font-weight: 600; font-size: 12px; opacity: .75; }
.lu-claim {
    background: linear-gradient(#52e07a, #1fb554); color: #fff; padding: 9px 14px; border-radius: 14px;
    font-weight: 800; font-size: 14px; box-shadow: 0 4px 0 #137a38; white-space: nowrap;
}
.lu-claim:active { transform: translateY(2px); box-shadow: 0 2px 0 #137a38; }
.lu-claim:disabled { background: #a7c9b0; box-shadow: 0 4px 0 #7fa58a; cursor: default; }
.lu-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 8px; }
.lu-days span {
    border-radius: 10px; background: rgba(255,255,255,.75); text-align: center; padding: 4px 0 3px;
    font-size: 11px; font-weight: 700; line-height: 1.2; border: 2px solid transparent;
}
.lu-days span i { display: block; font-style: normal; font-size: 10px; opacity: .7; }
.lu-days span.done { background: #4ade80; color: #fff; }
.lu-days span.today { border-color: #16a34a; background: #fff; box-shadow: 0 0 0 2px rgba(22,163,74,.25); }


/* ---------- cartão "Instalar o Ludo" (PWA) ---------- */
#pwaInstall { padding: 10px 14px 0; }
.lu-install {
    display: flex; align-items: center; gap: 10px; background: #fff; color: var(--lu-ink);
    border-radius: 18px; padding: 9px 10px; box-shadow: 0 4px 0 rgba(0,0,0,.22);
}
.lu-install img { width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0; }
.lu-install .t { flex: 1; min-width: 0; line-height: 1.2; }
.lu-install .t b { display: block; font-size: 15px; }
.lu-install .t small { display: block; font-size: 12px; opacity: .7; }
.lu-install .go { background: linear-gradient(#52e07a, #1fb554); color: #fff; padding: 9px 13px; border-radius: 12px; font-weight: 700; font-size: 14px; box-shadow: 0 3px 0 #137a38; flex-shrink: 0; }
.lu-install .x { width: 30px; height: 30px; border-radius: 10px; background: #eef1fb; color: var(--lu-ink); font-weight: 700; flex-shrink: 0; }
