:root{--pd-bg:#071218;--pd-panel:#0d1d24;--pd-panel2:#102730;--pd-line:rgba(255,255,255,.10);--pd-text:#f5f8f8;--pd-muted:#8ca1a8;--pd-green:#22c55e;--pd-gold:#f8c24e;--pd-red:#ef4444;--pd-card:#f8fafc;--pd-ink:#111827}.plc-donkey-page .site-main,.plc-donkey-page .entry-content{max-width:none!important;margin:0!important;padding:0!important}.plc-donkey-page .entry-header,.plc-donkey-page .site-footer{display:none!important}.plc-donkey-app{min-height:100dvh;color:var(--pd-text);background:radial-gradient(circle at 50% 14%,rgba(34,197,94,.10),transparent 30%),linear-gradient(180deg,#071218,#08171d 45%,#061116);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.plc-donkey-app *{box-sizing:border-box}.plc-donkey-app button,.plc-donkey-app input{font:inherit}.plc-donkey-app button{cursor:pointer}.plc-donkey-topbar{position:sticky;top:0;z-index:70;display:flex;align-items:center;gap:12px;min-height:64px;padding:10px clamp(12px,3vw,28px);border-bottom:1px solid var(--pd-line);background:rgba(7,18,24,.94);backdrop-filter:blur(14px)}.plc-donkey-back,.plc-donkey-icon-btn{width:40px;height:40px;display:grid;place-items:center;flex:0 0 auto;border:1px solid var(--pd-line);border-radius:12px;color:var(--pd-text);background:#0d2028;text-decoration:none;font-size:25px}.plc-donkey-icon-btn{font-size:17px}.plc-donkey-brand{display:flex;flex-direction:column;line-height:1}.plc-donkey-brand span{font-size:9px;letter-spacing:.18em;color:var(--pd-green);font-weight:800}.plc-donkey-brand strong{margin-top:4px;font-size:17px;letter-spacing:.08em}.plc-donkey-top-actions{margin-left:auto;display:flex;align-items:center;gap:7px}.plc-donkey-wallet{min-width:116px;padding:7px 10px;border:1px solid rgba(34,197,94,.22);border-radius:11px;background:rgba(34,197,94,.08);text-align:right}.plc-donkey-wallet small{display:block;color:var(--pd-muted);font-size:9px}.plc-donkey-wallet b{display:block;margin-top:1px;color:#d9ffe6;font-size:12px}.plc-donkey-shell{width:min(1180px,100%);margin:0 auto;padding:20px clamp(12px,3vw,28px) 40px}.plc-donkey-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:160px;padding:24px clamp(18px,4vw,38px);border:1px solid var(--pd-line);border-radius:22px;background:linear-gradient(120deg,rgba(34,197,94,.14),rgba(255,255,255,.02)),var(--pd-panel);overflow:hidden}.plc-donkey-kicker{font-size:10px;color:var(--pd-green);font-weight:850;letter-spacing:.13em}.plc-donkey-hero h1{margin:7px 0 5px;font-size:clamp(30px,6vw,56px);line-height:.95}.plc-donkey-hero p{max-width:620px;margin:0;color:var(--pd-muted);font-size:14px}.plc-donkey-d-badge{width:104px;height:104px;display:grid;place-items:center;flex:0 0 auto;border:1px solid rgba(248,194,78,.35);border-radius:28px;color:#091218;background:linear-gradient(145deg,#ffd86e,#e8a92a);box-shadow:0 18px 55px rgba(0,0,0,.28);font-size:54px;font-weight:950;transform:rotate(7deg)}.plc-donkey-mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.plc-donkey-mode-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:16px;border:1px solid var(--pd-line);border-radius:16px;background:var(--pd-panel)}.plc-donkey-mode-card.is-selected{border-color:rgba(34,197,94,.6);box-shadow:0 0 0 1px rgba(34,197,94,.12) inset}.plc-donkey-mode-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:#15313b;color:var(--pd-green);font-weight:900}.plc-donkey-mode-card h2{margin:0;font-size:15px}.plc-donkey-mode-card p{margin:3px 0 0;color:var(--pd-muted);font-size:11px}.plc-donkey-select-kind,.plc-donkey-refresh,.plc-donkey-small-btn{border:1px solid var(--pd-line);border-radius:9px;color:var(--pd-text);background:#132932;padding:8px 11px;font-size:11px;font-weight:750}.plc-donkey-setup{margin-top:12px;padding:18px;border:1px solid var(--pd-line);border-radius:18px;background:var(--pd-panel)}.plc-donkey-segment{display:inline-flex;padding:3px;border:1px solid var(--pd-line);border-radius:11px;background:#08161c}.plc-donkey-segment button{min-width:90px;padding:8px 13px;border:0;border-radius:8px;color:var(--pd-muted);background:transparent;font-weight:800;font-size:11px}.plc-donkey-segment button.is-active{color:#071218;background:var(--pd-green)}.plc-donkey-bet-block{margin-top:16px}.plc-donkey-bet-block>label{display:block;margin-bottom:7px;color:var(--pd-muted);font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.plc-donkey-bets{display:flex;gap:7px;flex-wrap:wrap}.plc-donkey-bets button{min-width:58px;padding:9px 12px;border:1px solid var(--pd-line);border-radius:9px;color:var(--pd-text);background:#112832;font-weight:800}.plc-donkey-bets button.is-active{border-color:var(--pd-green);color:#071218;background:var(--pd-green)}.plc-donkey-prize-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:10px}.plc-donkey-prize-preview span{padding:8px;border-radius:9px;background:#09191f;color:var(--pd-muted);font-size:9px;text-align:center}.plc-donkey-prize-preview b{display:block;margin-top:2px;color:var(--pd-text);font-size:11px}.plc-donkey-nova-actions,.plc-donkey-real-actions{display:flex;gap:8px;margin-top:16px}.plc-donkey-primary,.plc-donkey-secondary{min-height:42px;padding:0 18px;border-radius:10px;font-weight:850;border:1px solid transparent}.plc-donkey-primary{color:#06120b;background:linear-gradient(180deg,#31db70,#1eb957);box-shadow:0 8px 24px rgba(34,197,94,.13)}.plc-donkey-primary:disabled{opacity:.45;cursor:not-allowed}.plc-donkey-secondary{color:var(--pd-text);border-color:var(--pd-line);background:#11242c}.plc-donkey-real-setup{margin-top:4px}.plc-donkey-create-panel{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px;padding:12px;border:1px solid var(--pd-line);border-radius:12px;background:#09191f}.plc-donkey-create-panel input{min-width:220px;min-height:40px;padding:0 11px;border:1px solid var(--pd-line);border-radius:9px;color:var(--pd-text);background:#071218;outline:0}.plc-donkey-lobby-head{display:flex;align-items:end;justify-content:space-between;margin-top:18px}.plc-donkey-lobby-head span{display:block;color:var(--pd-muted);font-size:9px;letter-spacing:.12em;font-weight:800}.plc-donkey-lobby-head strong{font-size:14px}.plc-donkey-room-list{display:grid;gap:8px;margin-top:8px}.plc-donkey-room{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:12px;padding:12px;border:1px solid var(--pd-line);border-radius:12px;background:#0a1a21}.plc-donkey-room h3{margin:0;font-size:13px}.plc-donkey-room p{margin:3px 0 0;color:var(--pd-muted);font-size:10px}.plc-donkey-room .plc-donkey-room-players{color:#dfffea;font-size:11px;font-weight:800}.plc-donkey-room button{padding:8px 13px;border:0;border-radius:8px;color:#06120b;background:var(--pd-green);font-weight:850;font-size:10px}.plc-donkey-empty{padding:24px;border:1px dashed var(--pd-line);border-radius:12px;color:var(--pd-muted);text-align:center;font-size:12px}.plc-donkey-rules{margin-top:12px;border:1px solid var(--pd-line);border-radius:14px;background:var(--pd-panel)}.plc-donkey-rules summary{padding:14px 16px;cursor:pointer;font-weight:800;font-size:12px}.plc-donkey-rules div{padding:0 16px 14px;color:var(--pd-muted);font-size:11px}.plc-donkey-rules p{margin:7px 0}.plc-donkey-game-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.plc-donkey-game-meta>div:nth-child(2){text-align:center}.plc-donkey-game-meta span{display:block;color:var(--pd-muted);font-size:9px;font-weight:800;letter-spacing:.08em}.plc-donkey-game-meta strong{font-size:12px}.plc-donkey-leave{border:0;color:var(--pd-muted);background:transparent;font-weight:800;font-size:11px}.plc-donkey-room-code{padding:6px 9px;border:1px solid var(--pd-line);border-radius:8px;background:#0d2028;font-size:10px;font-weight:800}.plc-donkey-table{position:relative;height:min(58vh,520px);min-height:390px;overflow:hidden;border:1px solid rgba(34,197,94,.16);border-radius:26px;background:radial-gradient(ellipse at center,#155a43 0,#104834 37%,#0c3528 62%,#09271f 100%);box-shadow:inset 0 0 70px rgba(0,0,0,.24),0 18px 60px rgba(0,0,0,.20)}.plc-donkey-table:after{content:"";position:absolute;inset:14px;border:1px solid rgba(255,255,255,.07);border-radius:20px;pointer-events:none}.plc-donkey-seat{position:absolute;z-index:10;display:flex;align-items:center;flex-direction:column;min-width:100px;padding:8px 10px;border:1px solid rgba(255,255,255,.09);border-radius:13px;background:rgba(5,24,20,.78);box-shadow:0 8px 24px rgba(0,0,0,.18);transition:.2s ease}.plc-donkey-seat.is-turn{border-color:var(--pd-gold);box-shadow:0 0 0 2px rgba(248,194,78,.12),0 8px 25px rgba(0,0,0,.22)}.plc-donkey-seat.is-safe{opacity:.68}.plc-donkey-seat.is-donkey{border-color:rgba(239,68,68,.7)}.plc-donkey-seat-avatar{width:30px;height:30px;display:grid;place-items:center;margin-bottom:4px;border-radius:50%;background:#183c31;color:#baf5ce;font-size:9px;font-weight:950}.plc-donkey-seat strong{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.plc-donkey-seat span{margin-top:2px;color:var(--pd-muted);font-size:9px}.plc-donkey-seat em{min-height:12px;margin-top:2px;color:var(--pd-gold);font-size:8px;font-style:normal;font-weight:800}.seat-top{top:18px;left:50%;transform:translateX(-50%)}.seat-left{left:18px;top:50%;transform:translateY(-50%)}.seat-right{right:18px;top:50%;transform:translateY(-50%)}.seat-you{bottom:16px;left:50%;transform:translateX(-50%)}.plc-donkey-center{position:absolute;z-index:5;left:50%;top:49%;transform:translate(-50%,-50%);display:flex;align-items:center;flex-direction:column;width:48%;max-width:420px}.plc-donkey-turn-pill{padding:5px 10px;border-radius:999px;background:rgba(3,18,14,.6);color:#c5e7d0;font-size:9px;font-weight:850}.plc-donkey-suit{text-align:center;margin-top:7px}.plc-donkey-suit small{display:block;color:#94b6a0;font-size:7px;letter-spacing:.12em;font-weight:800}.plc-donkey-suit strong{display:block;margin-top:1px;font-size:25px}.plc-donkey-pile{position:relative;width:100%;height:105px;margin-top:3px}.plc-donkey-pile-card{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);transition:.25s ease}.plc-donkey-pile-card:nth-child(2){transform:translate(-45%,-48%) rotate(4deg)}.plc-donkey-pile-card:nth-child(3){transform:translate(-55%,-45%) rotate(-5deg)}.plc-donkey-pile-card:nth-child(4){transform:translate(-49%,-51%) rotate(7deg)}.plc-donkey-vettu{position:absolute;z-index:30;top:50%;left:50%;transform:translate(-50%,-50%) scale(.8);padding:11px 19px;border:2px solid #fff;border-radius:12px;color:#fff;background:var(--pd-red);box-shadow:0 18px 50px rgba(0,0,0,.3);font-size:22px;font-weight:950;letter-spacing:.08em;animation:pdVettu .7s ease both}@keyframes pdVettu{0%{opacity:0;transform:translate(-50%,-50%) scale(.5)}35%{opacity:1;transform:translate(-50%,-50%) scale(1.13)}100%{opacity:1;transform:translate(-50%,-50%) scale(1)}}.plc-donkey-round-note{min-height:16px;margin-top:2px;color:#d4eadb;font-size:9px;text-align:center}.plc-donkey-hand-panel{position:relative;z-index:20;margin-top:10px;padding:12px;border:1px solid var(--pd-line);border-radius:16px;background:var(--pd-panel)}.plc-donkey-hand-head{display:flex;align-items:center;justify-content:space-between}.plc-donkey-hand-head span{display:block;color:var(--pd-muted);font-size:8px;font-weight:850;letter-spacing:.12em}.plc-donkey-hand-head strong{display:block;margin-top:2px;font-size:11px}.plc-donkey-hand{display:flex;align-items:flex-end;min-height:104px;padding:9px 8px 3px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}.plc-donkey-card{position:relative;flex:0 0 64px;width:64px;height:92px;margin-left:-17px;padding:6px;border:1px solid rgba(17,24,39,.22);border-radius:8px;color:var(--pd-ink);background:var(--pd-card);box-shadow:0 6px 18px rgba(0,0,0,.22);user-select:none;transition:.16s ease}.plc-donkey-hand .plc-donkey-card:first-child{margin-left:0}.plc-donkey-card.is-red{color:#dc2626}.plc-donkey-card.is-legal{cursor:pointer}.plc-donkey-card:not(.is-legal){filter:brightness(.65);opacity:.65}.plc-donkey-card.is-selected{transform:translateY(-12px);box-shadow:0 12px 26px rgba(0,0,0,.34),0 0 0 2px var(--pd-gold)}.plc-donkey-card-rank{font-size:15px;font-weight:950;line-height:1}.plc-donkey-card-suit{font-size:16px;line-height:1}.plc-donkey-card-center{position:absolute;inset:0;display:grid;place-items:center;font-size:29px}.plc-donkey-pile .plc-donkey-card{width:58px;height:84px;flex-basis:58px;margin:0}.plc-donkey-playbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:7px}.plc-donkey-timer{display:flex;align-items:center;gap:8px}.plc-donkey-timer span{color:var(--pd-muted);font-size:9px}.plc-donkey-timer strong{width:32px;height:32px;display:grid;place-items:center;border:1px solid var(--pd-line);border-radius:50%;font-size:12px}.plc-donkey-timer.is-low strong{border-color:var(--pd-red);color:#fff;background:rgba(239,68,68,.15)}.plc-donkey-toast{position:fixed;z-index:999999;left:50%;bottom:24px;transform:translateX(-50%);max-width:min(92vw,440px);padding:10px 14px;border:1px solid var(--pd-line);border-radius:10px;color:#fff;background:#10252d;box-shadow:0 18px 50px rgba(0,0,0,.35);font-size:11px;font-weight:750;text-align:center}.plc-donkey-toast.is-error{border-color:rgba(239,68,68,.4);background:#3a1519}.plc-donkey-modal[hidden],.plc-donkey-app [hidden]{display:none!important}.plc-donkey-modal{position:fixed;z-index:999998;inset:0;display:grid;place-items:center;padding:18px}.plc-donkey-modal-bg{position:absolute;inset:0;background:rgba(0,0,0,.68);backdrop-filter:blur(5px)}.plc-donkey-modal-card{position:relative;z-index:1;width:min(100%,390px);padding:22px;border:1px solid var(--pd-line);border-radius:17px;background:#0c2028;box-shadow:0 28px 90px rgba(0,0,0,.42)}.plc-donkey-modal-card h2{margin:0;font-size:20px}.plc-donkey-modal-card p{margin:7px 0 14px;color:var(--pd-muted);font-size:11px}.plc-donkey-modal-card input{width:100%;height:42px;margin-bottom:10px;padding:0 11px;border:1px solid var(--pd-line);border-radius:9px;color:#fff;background:#071218}.plc-donkey-modal-x{position:absolute;right:10px;top:10px;width:30px;height:30px;border:0;border-radius:50%;color:#fff;background:#173039;font-size:19px}.plc-donkey-result-card{text-align:center}.plc-donkey-result-icon{font-size:46px}.plc-donkey-result-card h2{margin-top:7px}.plc-donkey-result-prize{margin:12px 0;padding:11px;border-radius:10px;background:#08191f;color:#e5fff0;font-weight:900}.plc-donkey-result-card .plc-donkey-primary,.plc-donkey-result-card .plc-donkey-secondary{width:100%;margin-top:7px}@media(max-width:760px){.plc-donkey-topbar{min-height:56px;padding:8px 10px}.plc-donkey-wallet{min-width:96px;padding:6px 8px}.plc-donkey-top-actions .plc-donkey-icon-btn:nth-child(2){display:none}.plc-donkey-shell{padding:12px 9px 28px}.plc-donkey-hero{min-height:128px;padding:18px}.plc-donkey-d-badge{width:74px;height:74px;border-radius:20px;font-size:39px}.plc-donkey-mode-grid{grid-template-columns:1fr}.plc-donkey-mode-card{grid-template-columns:auto 1fr auto;padding:12px}.plc-donkey-prize-preview{grid-template-columns:repeat(2,1fr)}.plc-donkey-table{height:54vh;min-height:390px;border-radius:18px}.plc-donkey-seat{min-width:82px;padding:6px 7px}.plc-donkey-seat-avatar{width:26px;height:26px}.seat-left{left:7px}.seat-right{right:7px}.seat-top{top:8px}.seat-you{bottom:8px}.plc-donkey-center{width:54%}.plc-donkey-card{flex-basis:57px;width:57px;height:84px;margin-left:-15px}.plc-donkey-card-center{font-size:25px}}@media(max-width:520px) and (orientation:portrait){.plc-donkey-table{height:50vh;min-height:370px}.plc-donkey-seat{min-width:72px;max-width:92px}.plc-donkey-seat strong{max-width:80px;font-size:9px}.plc-donkey-center{width:48%}.plc-donkey-hand{min-height:95px}}@media(orientation:landscape) and (max-height:650px){.plc-donkey-topbar{position:relative}.plc-donkey-shell{padding-top:7px}.plc-donkey-game-meta{margin-bottom:5px}.plc-donkey-table{height:58vh;min-height:300px}.plc-donkey-hand-panel{margin-top:6px;padding:8px}.plc-donkey-hand{min-height:82px;padding-top:4px}.plc-donkey-card{width:52px;height:76px;flex-basis:52px}}
.plc-donkey-private-join{display:grid;grid-template-columns:minmax(130px,1fr) minmax(130px,1fr) auto;gap:8px;margin-top:12px;padding:12px;border:1px dashed var(--pd-line);border-radius:12px}.plc-donkey-private-join input{min-width:0;height:40px;padding:0 10px;border:1px solid var(--pd-line);border-radius:9px;color:var(--pd-text);background:#071218;outline:0}@media(max-width:650px){.plc-donkey-private-join{grid-template-columns:1fr 1fr}.plc-donkey-private-join button{grid-column:1/-1;width:100%}}

/* v1.1.0: PLC-only + user's supplied card artwork */
.plc-donkey-plc-only-badge{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;padding:11px 13px;border:1px solid rgba(34,197,94,.28);border-radius:12px;background:rgba(34,197,94,.08)}
.plc-donkey-plc-only-badge span{color:var(--pd-green);font-size:9px;font-weight:900;letter-spacing:.12em}
.plc-donkey-plc-only-badge strong{color:var(--pd-text);font-size:11px}
.plc-donkey-card{padding:0;overflow:hidden;background:transparent;border-color:rgba(255,255,255,.20)}
.plc-donkey-card-image{display:block;width:100%;height:100%;object-fit:cover;border-radius:7px;pointer-events:none;user-select:none}
.plc-donkey-card-fallback{position:absolute;inset:0;display:flex;flex-direction:column;align-items:flex-start;padding:7px;border-radius:7px;background:#fff;color:#111827}
.plc-donkey-card.is-red .plc-donkey-card-fallback{color:#dc2626}
.plc-donkey-card-fallback b{font-size:16px;line-height:1}
.plc-donkey-card-fallback i{margin-top:2px;font-size:18px;font-style:normal}
.plc-donkey-card-rank,.plc-donkey-card-suit,.plc-donkey-card-center{display:none!important}


/* ============================================================
   Donkey v1.2.0 gameplay clarity update
   ============================================================ */

.plc-donkey-center{
    width:min(62%,520px);
}

.plc-donkey-active-bar{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-width:170px;
    margin-top:7px;
    padding:6px 10px;
    border:1px solid rgba(255,255,255,.13);
    border-radius:10px;
    background:rgba(4,25,18,.72);
    box-shadow:0 7px 18px rgba(0,0,0,.16);
}

.plc-donkey-active-bar span{
    color:#9cc6aa;
    font-size:7px;
    font-weight:900;
    letter-spacing:.12em;
}

.plc-donkey-active-bar strong{
    color:#fff;
    font-size:24px;
    line-height:1;
}

.plc-donkey-active-bar b{
    min-width:55px;
    color:#fff;
    font-size:10px;
    font-weight:900;
    letter-spacing:.05em;
}

.plc-donkey-active-bar.is-red-suit strong,
.plc-donkey-active-bar.is-red-suit b{
    color:#ff9b9b;
}

.plc-donkey-thinking{
    display:flex;
    align-items:center;
    gap:7px;
    min-height:25px;
    margin-top:5px;
    padding:4px 9px;
    border:1px solid rgba(248,194,78,.19);
    border-radius:999px;
    color:#ffe4a4;
    background:rgba(248,194,78,.07);
    font-size:8px;
    font-weight:800;
}

.plc-donkey-thinking-dot{
    width:6px;
    height:6px;
    border-radius:50%;
    background:var(--pd-gold);
    animation:plcDonkeyThinking 1s ease-in-out infinite;
}

@keyframes plcDonkeyThinking{
    0%,100%{opacity:.35;transform:scale(.8)}
    50%{opacity:1;transform:scale(1.25)}
}

.plc-donkey-pile-title{
    margin-top:5px;
    color:#a8c8b1;
    font-size:7px;
    font-weight:900;
    letter-spacing:.12em;
}

.plc-donkey-pile{
    position:relative;
    display:flex;
    align-items:flex-end;
    justify-content:center;
    gap:5px;
    width:100%;
    height:126px;
    margin-top:1px;
    overflow:visible;
}

.plc-donkey-played-item{
    display:flex;
    flex-direction:column;
    align-items:center;
    min-width:49px;
}

.plc-donkey-played-name{
    width:62px;
    margin-bottom:3px;
    overflow:hidden;
    color:#f2fff6;
    font-size:7px;
    font-weight:900;
    line-height:1.1;
    text-align:center;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.plc-donkey-played-item small{
    margin-top:2px;
    color:#8bb69a;
    font-size:7px;
    font-weight:800;
}

.plc-donkey-pile-empty{
    align-self:center;
    padding:9px 11px;
    border:1px dashed rgba(255,255,255,.14);
    border-radius:9px;
    color:#a7c0af;
    background:rgba(3,19,14,.42);
    font-size:8px;
    font-weight:750;
    text-align:center;
}

.plc-donkey-pile .plc-donkey-card{
    position:relative;
    left:auto;
    top:auto;
    width:48px;
    height:70px;
    flex:0 0 48px;
    margin:0;
    transform:none!important;
    border-radius:6px;
    box-shadow:0 5px 13px rgba(0,0,0,.24);
}

.plc-donkey-card-image{
    object-fit:contain!important;
    background:#fff;
}

.plc-donkey-round-note{
    max-width:360px;
    min-height:22px;
    margin-top:4px;
    color:#d4eadb;
    font-size:8px;
    line-height:1.35;
    text-align:center;
}

@media(max-width:760px){
    .plc-donkey-center{
        width:58%;
    }

    .plc-donkey-pile{
        gap:3px;
        height:112px;
    }

    .plc-donkey-pile .plc-donkey-card{
        width:42px;
        height:61px;
        flex-basis:42px;
    }

    .plc-donkey-played-name{
        width:50px;
        font-size:6.5px;
    }

    .plc-donkey-active-bar{
        min-width:145px;
        padding:5px 8px;
    }

    .plc-donkey-active-bar strong{
        font-size:20px;
    }

    .plc-donkey-active-bar b{
        font-size:9px;
    }
}

@media(max-width:520px) and (orientation:portrait){
    .plc-donkey-center{
        width:56%;
    }

    .plc-donkey-pile{
        height:103px;
        gap:2px;
    }

    .plc-donkey-pile .plc-donkey-card{
        width:37px;
        height:54px;
        flex-basis:37px;
    }

    .plc-donkey-played-name{
        width:43px;
        font-size:6px;
    }
}


/* ============================================================
   Donkey v1.3.0 — gameplay clarity + animations + spectator
   ============================================================ */
.plc-donkey-action-strip{
    display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:8px
}
.plc-donkey-action-strip>div{
    min-width:0;padding:8px 9px;border:1px solid var(--pd-line);border-radius:10px;background:#0b1b22
}
.plc-donkey-action-strip span{
    display:block;color:var(--pd-muted);font-size:7px;font-weight:900;letter-spacing:.09em
}
.plc-donkey-action-strip strong{
    display:block;margin-top:3px;overflow:hidden;color:#f4fff7;font-size:10px;font-weight:900;text-overflow:ellipsis;white-space:nowrap
}
.plc-donkey-seat.is-thinking{animation:plcDonkeySeatThink 1.1s ease-in-out infinite}
@keyframes plcDonkeySeatThink{0%,100%{box-shadow:0 8px 24px rgba(0,0,0,.18)}50%{box-shadow:0 0 0 2px rgba(248,194,78,.22),0 8px 28px rgba(248,194,78,.18)}}
.plc-donkey-played-item.is-vettu-card{padding:3px;border:1px solid rgba(239,68,68,.65);border-radius:8px;background:rgba(239,68,68,.10)}
.plc-donkey-played-item.is-vettu-card small{color:#ffb1b1;font-weight:950}
.plc-donkey-selected-readout{min-width:86px;text-align:center}
.plc-donkey-selected-readout span{display:block;color:var(--pd-muted);font-size:7px;font-weight:900;letter-spacing:.1em}
.plc-donkey-selected-readout strong{display:block;margin-top:2px;color:var(--pd-gold);font-size:11px}
.plc-donkey-spectator-hand{
    width:100%;min-height:86px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;padding:14px;border:1px dashed rgba(34,197,94,.30);border-radius:12px;background:rgba(34,197,94,.06);text-align:center
}
.plc-donkey-spectator-hand strong{color:#d9ffe6;font-size:12px}
.plc-donkey-spectator-hand span{max-width:520px;color:var(--pd-muted);font-size:9px;line-height:1.4}
.plc-donkey-flying-card{position:fixed;z-index:1000000;width:48px;height:70px;pointer-events:none;filter:drop-shadow(0 12px 18px rgba(0,0,0,.45))}
.plc-donkey-flying-card .plc-donkey-card{width:48px;height:70px;min-width:48px;margin:0;opacity:1!important;filter:none!important}
.plc-donkey-card-bundle{position:fixed;z-index:1000001;min-width:76px;padding:7px 9px;border:2px solid #fff;border-radius:10px;color:#fff;background:#ef4444;box-shadow:0 12px 32px rgba(0,0,0,.4);font-size:9px;font-weight:950;text-align:center;pointer-events:none}
.plc-donkey-card.is-selected{transform:translateY(-15px) scale(1.04)!important;box-shadow:0 14px 30px rgba(0,0,0,.42),0 0 0 3px var(--pd-gold)!important;z-index:30}
@media(max-width:760px){
    .plc-donkey-action-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
    .plc-donkey-action-strip strong{font-size:9px}
    .plc-donkey-selected-readout{min-width:66px}
}


/* ============================================================
   Donkey v1.4.0 — compact table / 4-10 seats / bigger played cards
   ============================================================ */
/* Explicitly remove the four sections marked in the supplied screenshots. */
.plc-donkey-prize-preview,
.plc-donkey-action-strip,
.plc-donkey-pile-title,
.plc-donkey-round-note{display:none!important}

.plc-donkey-player-limit{display:flex;align-items:center;gap:8px;min-height:40px;padding:4px 8px;border:1px solid var(--pd-line);border-radius:9px;background:#071218}
.plc-donkey-player-limit span{color:var(--pd-muted);font-size:8px;font-weight:900;letter-spacing:.1em}
.plc-donkey-player-limit select{height:30px;border:0;outline:0;color:#fff;background:#0d242c;font-size:10px;font-weight:850;border-radius:7px;padding:0 8px}

.plc-donkey-seat-layer{position:absolute;z-index:12;inset:0;pointer-events:none}
.plc-donkey-seat-dynamic{transform:translate(-50%,-50%) scale(var(--seat-scale,1));transform-origin:center;pointer-events:auto;min-width:82px;padding:6px 7px}
.plc-donkey-seat-dynamic strong{max-width:86px;font-size:9px}
.plc-donkey-seat-dynamic span{font-size:8px}
.plc-donkey-seat-dynamic em{font-size:7px}
.plc-donkey-seat-dynamic .plc-donkey-seat-avatar{width:25px;height:25px;font-size:8px}

/* Center information stays compact: move + active suit + thinking + cards. */
.plc-donkey-center{width:min(72%,680px);top:51%}
.plc-donkey-turn-pill{font-size:10px;padding:6px 12px;background:rgba(3,18,14,.82);border:1px solid rgba(255,255,255,.08)}
.plc-donkey-active-bar{min-width:142px;margin-top:5px;padding:4px 8px;background:rgba(3,18,14,.78)}
.plc-donkey-active-bar span{font-size:6.5px}.plc-donkey-active-bar strong{font-size:22px}.plc-donkey-active-bar b{font-size:9px}

/* Played cards are intentionally larger than v1.3. */
.plc-donkey-pile{height:154px;gap:8px;align-items:center;flex-wrap:nowrap;overflow:visible}
.plc-donkey-played-item{min-width:66px}
.plc-donkey-played-name{width:76px;margin-bottom:4px;font-size:8px}
.plc-donkey-played-item small{font-size:7.5px}
.plc-donkey-pile .plc-donkey-card{width:62px;height:90px;flex:0 0 62px;border-radius:7px}
.plc-donkey-inline-resolution{position:absolute;left:50%;bottom:-16px;transform:translateX(-50%);max-width:92%;padding:5px 9px;border:1px solid rgba(248,194,78,.28);border-radius:999px;color:#ffe8ab;background:rgba(10,29,23,.92);font-size:8px;font-weight:900;white-space:nowrap;box-shadow:0 6px 18px rgba(0,0,0,.18)}

.plc-donkey-seat.is-turn{animation:plcDonkeyCurrentSeat 1s ease-in-out infinite}
@keyframes plcDonkeyCurrentSeat{0%,100%{box-shadow:0 0 0 1px rgba(248,194,78,.16),0 8px 24px rgba(0,0,0,.2)}50%{box-shadow:0 0 0 3px rgba(248,194,78,.30),0 8px 30px rgba(248,194,78,.12)}}

@media(max-width:760px){
    .plc-donkey-table{min-height:430px}
    .plc-donkey-center{width:74%;top:53%}
    .plc-donkey-pile{height:138px;gap:5px}
    .plc-donkey-pile .plc-donkey-card{width:54px;height:79px;flex-basis:54px}
    .plc-donkey-played-item{min-width:57px}
    .plc-donkey-played-name{width:58px;font-size:7px}
    .plc-donkey-seat-dynamic{min-width:72px;padding:5px 5px}
}
@media(max-width:520px) and (orientation:portrait){
    .plc-donkey-table{min-height:450px;height:56vh}
    .plc-donkey-center{width:78%;top:55%}
    .plc-donkey-pile{height:128px;gap:3px;max-width:100%;overflow-x:auto;justify-content:flex-start;padding:0 6px}
    .plc-donkey-pile .plc-donkey-card{width:49px;height:71px;flex-basis:49px}
    .plc-donkey-played-item{min-width:51px}
    .plc-donkey-played-name{width:51px;font-size:6.5px}
    .plc-donkey-seat-dynamic{min-width:62px;max-width:68px;padding:4px;}
    .plc-donkey-seat-dynamic strong{max-width:58px;font-size:7.5px}.plc-donkey-seat-dynamic span{font-size:7px}.plc-donkey-seat-dynamic em{font-size:6px}
    .plc-donkey-seat-dynamic .plc-donkey-seat-avatar{width:21px;height:21px;font-size:7px}
    .plc-donkey-inline-resolution{font-size:7px;max-width:86%;overflow:hidden;text-overflow:ellipsis}
}


/* ============================================================
   Donkey v1.4.1 — larger gameplay text and played cards
   ============================================================ */

.plc-donkey-game-meta .plc-donkey-leave{font-size:14px!important}
.plc-donkey-game-meta span{font-size:11px!important}
.plc-donkey-game-meta strong{font-size:15px!important}

.plc-donkey-turn-pill{
    padding:8px 16px!important;
    font-size:13px!important;
    letter-spacing:.03em
}

.plc-donkey-active-bar{
    min-width:190px!important;
    padding:7px 12px!important;
    gap:9px!important
}
.plc-donkey-active-bar span{font-size:8px!important}
.plc-donkey-active-bar strong{font-size:29px!important}
.plc-donkey-active-bar b{
    min-width:68px!important;
    font-size:12px!important
}
.plc-donkey-thinking{
    padding:6px 11px!important;
    font-size:10px!important
}

.plc-donkey-seat strong,
.plc-donkey-seat-dynamic strong{
    max-width:112px!important;
    font-size:11px!important
}
.plc-donkey-seat span,
.plc-donkey-seat-dynamic span{font-size:9px!important}
.plc-donkey-seat em,
.plc-donkey-seat-dynamic em{font-size:8.5px!important}
.plc-donkey-seat-avatar,
.plc-donkey-seat-dynamic .plc-donkey-seat-avatar{
    width:29px!important;
    height:29px!important;
    font-size:9px!important
}

.plc-donkey-center{width:min(72%,620px)!important}

.plc-donkey-pile{
    min-height:144px!important;
    height:144px!important;
    gap:7px!important;
    overflow-x:auto!important;
    overflow-y:visible!important;
    padding:4px 5px 8px!important;
    scrollbar-width:thin
}

.plc-donkey-played-item{
    min-width:84px!important;
    flex:0 0 84px!important
}
.plc-donkey-played-name{
    width:84px!important;
    margin-bottom:5px!important;
    font-size:10px!important
}
.plc-donkey-played-item small{
    margin-top:3px!important;
    font-size:9px!important
}
.plc-donkey-pile .plc-donkey-card{
    width:76px!important;
    height:110px!important;
    flex:0 0 76px!important;
    border-radius:8px!important
}
.plc-donkey-inline-resolution{
    bottom:-20px!important;
    padding:7px 12px!important;
    font-size:9px!important
}

.plc-donkey-hand-head span{font-size:9px!important}
.plc-donkey-hand-head strong{font-size:15px!important}
.plc-donkey-small-btn{font-size:13px!important}
.plc-donkey-timer span{font-size:10px!important}
.plc-donkey-timer strong{
    width:38px!important;
    height:38px!important;
    font-size:14px!important
}
.plc-donkey-selected-readout span{font-size:8px!important}
.plc-donkey-selected-readout strong{font-size:14px!important}
.plc-donkey-playbar .plc-donkey-primary{
    min-height:46px!important;
    padding:0 22px!important;
    font-size:15px!important
}

.plc-donkey-spectator-hand strong{font-size:15px!important}
.plc-donkey-spectator-hand span{font-size:11px!important}
.plc-donkey-finished-hand{
    border-color:rgba(248,194,78,.25)!important;
    background:rgba(248,194,78,.06)!important
}

/* 7-10 player tables remain adaptive. */
.plc-donkey-app.is-many-players .plc-donkey-seat-dynamic strong{
    max-width:80px!important;
    font-size:9px!important
}
.plc-donkey-app.is-many-players .plc-donkey-seat-dynamic span{
    font-size:7.5px!important
}
.plc-donkey-app.is-many-players .plc-donkey-seat-dynamic em{
    font-size:7px!important
}
.plc-donkey-app.is-many-players .plc-donkey-seat-dynamic .plc-donkey-seat-avatar{
    width:24px!important;
    height:24px!important;
    font-size:7.5px!important
}
.plc-donkey-app.is-many-players .plc-donkey-played-item{
    min-width:66px!important;
    flex-basis:66px!important
}
.plc-donkey-app.is-many-players .plc-donkey-played-name{
    width:66px!important;
    font-size:8px!important
}
.plc-donkey-app.is-many-players .plc-donkey-pile .plc-donkey-card{
    width:58px!important;
    height:84px!important;
    flex-basis:58px!important
}
.plc-donkey-app.is-very-many-players .plc-donkey-played-item{
    min-width:60px!important;
    flex-basis:60px!important
}
.plc-donkey-app.is-very-many-players .plc-donkey-pile .plc-donkey-card{
    width:53px!important;
    height:77px!important;
    flex-basis:53px!important
}

@media(max-width:760px){
    .plc-donkey-turn-pill{font-size:12px!important}
    .plc-donkey-active-bar{min-width:178px!important}
    .plc-donkey-active-bar strong{font-size:27px!important}
    .plc-donkey-active-bar b{font-size:11px!important}
    .plc-donkey-center{width:70%!important}

    .plc-donkey-pile{
        min-height:132px!important;
        height:132px!important;
        gap:5px!important
    }
    .plc-donkey-played-item{
        min-width:76px!important;
        flex-basis:76px!important
    }
    .plc-donkey-played-name{
        width:76px!important;
        font-size:9px!important
    }
    .plc-donkey-played-item small{font-size:8.5px!important}
    .plc-donkey-pile .plc-donkey-card{
        width:68px!important;
        height:99px!important;
        flex-basis:68px!important
    }

    .plc-donkey-seat strong{font-size:10.5px!important}
    .plc-donkey-seat span{font-size:8.5px!important}
    .plc-donkey-seat em{font-size:8px!important}
    .plc-donkey-hand-head strong{font-size:14px!important}
    .plc-donkey-selected-readout strong{font-size:13px!important}
}

@media(max-width:520px) and (orientation:portrait){
    .plc-donkey-center{width:72%!important}
    .plc-donkey-pile{
        min-height:126px!important;
        height:126px!important
    }
    .plc-donkey-played-item{
        min-width:71px!important;
        flex-basis:71px!important
    }
    .plc-donkey-played-name{
        width:71px!important;
        font-size:8.5px!important
    }
    .plc-donkey-pile .plc-donkey-card{
        width:64px!important;
        height:93px!important;
        flex-basis:64px!important
    }
    .plc-donkey-turn-pill{font-size:11.5px!important}
    .plc-donkey-active-bar span{font-size:7.5px!important}
    .plc-donkey-active-bar b{font-size:10.5px!important}
}
