/* The Christmas Elf Game (variant inside Lobster Pots). Uses the Lobster Pots styles, with a winter theme on top. */
#lp-game .lp-gameswitch{display:flex;gap:6px;background:#eef5fb;border-radius:999px;padding:5px;margin:0 0 12px;width:max-content;max-width:100%;flex-wrap:wrap}
#lp-game .lp-gameswitch button{background:transparent;color:var(--ink);padding:8px 16px;border-radius:999px;font-size:16px;font-weight:600}
#lp-game .lp-gameswitch button.lp-on{background:#fff;box-shadow:0 2px 6px rgba(11,79,124,.18)}
#lp-game .lp-gameswitch button:not(.lp-on):hover{background:#dcebf6}

#lp-game.le-on{--sea1:#1f5f3f;--sea2:#2a7a52;--sea3:#5fae84;--lob:#c8322a;--sand:#fff7ea}
#lp-game .le-wrap{position:relative}
#lp-game .le-banner{position:relative;overflow:hidden;border-radius:var(--radius);height:200px;margin-bottom:16px;box-shadow:0 6px 18px rgba(20,37,79,.3);background:#14254f}
#lp-game .le-scene{position:absolute;inset:0;width:100%;height:100%}
#lp-game .le-title{position:absolute;left:24px;top:18px;z-index:3}
#lp-game .le-title h2{font-size:40px;color:#fff;font-weight:700;text-shadow:0 3px 0 #c8322a,0 6px 14px rgba(0,0,0,.35)}
#lp-game .le-title p{color:#14254f;font-weight:500;margin-top:4px;font-size:17px;background:rgba(255,255,255,.8);display:inline-block;padding:2px 10px;border-radius:20px}
#lp-game .le-snow{position:absolute;inset:0;pointer-events:none;z-index:2}
#lp-game .le-snow i{position:absolute;top:-10px;width:6px;height:6px;border-radius:50%;background:#fff;opacity:.85;animation:le-fall 8s linear infinite}
@keyframes le-fall{to{transform:translate(30px,215px)}}
#lp-game .le-elf{animation:le-hop 1.6s ease-in-out infinite}
@keyframes le-hop{0%,100%{transform:translate(330px,172px)}50%{transform:translate(336px,164px)}}
@media (max-width:640px){#lp-game .le-title h2{font-size:28px}#lp-game .le-title p{font-size:14px}#lp-game .le-banner{height:170px}}

#lp-game .le-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px;font-size:18px}
#lp-game .le-cal{display:grid;grid-template-columns:repeat(12,1fr);gap:4px;margin-bottom:14px}
#lp-game .le-d{background:#fff;border:2px solid #dfe9e2;border-radius:10px;text-align:center;padding:3px 0;line-height:1.1}
#lp-game .le-d small{display:block;font-size:11px;color:var(--muted)}
#lp-game .le-d b{font-size:15px;font-weight:600}
#lp-game .le-d.le-now{border-color:#c8322a;background:#fff3f1;box-shadow:0 0 0 2px rgba(200,50,42,.2)}
#lp-game .le-d.le-done{background:#eaf5ee;border-color:#cfe6d7}
@media (max-width:640px){#lp-game .le-cal{grid-template-columns:repeat(8,1fr)}}

#lp-game .le-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:14px;align-items:start}
@media (max-width:860px){#lp-game .le-grid{grid-template-columns:minmax(0,1fr)}}
#lp-game .le-ev{display:flex;gap:14px;align-items:flex-start;border-left:6px solid #c8322a}
#lp-game .le-ev-ico{font-size:44px;line-height:1}
#lp-game .le-ev h3{margin-bottom:6px}

#lp-game .le-places{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:8px}
@media (max-width:560px){#lp-game .le-places{grid-template-columns:minmax(0,1fr)}}
#lp-game .le-place{border-radius:14px;padding:10px;background:#f3f8f4;border:2px solid transparent;display:flex;flex-direction:column;gap:4px}
#lp-game .le-place b{font-size:16px}
#lp-game .le-place small{color:var(--muted);font-size:13px}
#lp-game .le-p-m{background:#eef2fa}
#lp-game .le-place.le-shut{opacity:.55}
#lp-game .le-place.le-hit{border-color:#2fa866;background:#e2f6e9}
#lp-game .le-place.le-miss{border-color:#7f97ad;background:#eef1f5}
#lp-game .le-p-m.le-miss{border-color:#6b3fa0;background:#f1ebfa}
#lp-game .le-pico{font-size:26px;line-height:1}
#lp-game .le-price{font-weight:600;color:#1f5f3f}
#lp-game .le-faces{display:flex;gap:3px}
#lp-game .le-faces i{font-style:normal;width:24px;height:24px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;color:#fff}
#lp-game .le-faces i.le-g{background:#2fa866}
#lp-game .le-faces i.le-b{background:#9aaabb}
#lp-game .le-faces i.le-av{background:#6b3fa0}
#lp-game .le-faces i.le-roll{outline:3px solid #f5b700;transform:scale(1.15)}
#lp-game .le-out{font-weight:600;margin-top:2px}

#lp-game .le-roll{text-align:center}
#lp-game .le-dice{display:flex;justify-content:center;align-items:center;gap:10px;margin:10px 0;flex-wrap:wrap}
#lp-game .le-die{width:58px;height:58px}
#lp-game .le-die rect{fill:#fff;stroke:#c8322a;stroke-width:5}
#lp-game .le-die circle{fill:#1f2a3a}
#lp-game .le-die text{font-size:46px;fill:#c8322a;font-weight:700;font-family:inherit}
#lp-game .le-die.le-big{width:96px;height:96px}
#lp-game .le-die.le-land{animation:le-land .5s ease-out}
#lp-game .le-die.le-spin{animation:le-spin .6s ease-out}
@keyframes le-land{0%{transform:scale(1.4) rotate(-20deg)}100%{transform:none}}
@keyframes le-spin{0%{transform:rotate(-200deg) scale(.6)}100%{transform:none}}
#lp-game .le-plus{font-size:24px}
#lp-game .le-verdict{font-size:17px;font-weight:500}
#lp-game .le-roll .lp-row{justify-content:center}
#lp-game details.le-real{margin-top:10px;text-align:left}
#lp-game details.le-real summary{cursor:pointer;color:var(--muted)}
#lp-game details.le-real label{display:inline-flex;gap:6px;align-items:center}

#lp-game .le-room{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
#lp-game .le-code{background:#1f5f3f;color:#fff;border-radius:14px;padding:8px 16px;text-align:center}
#lp-game .le-code small{display:block;font-size:12px;opacity:.85}
#lp-game .le-code b{font-size:34px;letter-spacing:3px}
#lp-game .le-teamsbox summary{cursor:pointer;margin-bottom:6px}
#lp-game .le-teams{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:6px}
#lp-game .le-team{display:flex;align-items:center;gap:6px;background:#f6f8f6;border-radius:10px;padding:6px 8px;border:2px solid transparent}
#lp-game .le-team.le-ready{border-color:#2fa866;background:#eaf7ef}
#lp-game .le-team b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

#lp-game .le-choice{display:flex;flex-wrap:wrap;gap:8px;align-items:center;background:#fff7ea;border-radius:12px;padding:10px;margin-bottom:10px}
#lp-game .le-choice>b{width:100%}
#lp-game .le-nums{display:grid;grid-template-columns:repeat(6,1fr);gap:5px;width:100%;max-width:340px}
#lp-game .le-nums button{background:#fff;border:2px solid #e3d6bf;border-radius:10px;padding:8px 0;font-size:17px;font-weight:600;color:var(--ink)}
#lp-game .le-nums button.lp-on{background:#c8322a;border-color:#c8322a;color:#fff}
#lp-game .le-split{background:#f3f8f4;border-radius:12px;padding:10px}
#lp-game .le-srow{display:grid;grid-template-columns:minmax(150px,1.3fr) auto minmax(60px,1fr);gap:10px;align-items:center;padding:5px 0}
#lp-game .le-sname small{color:var(--muted)}
#lp-game .le-sval{font-size:20px;font-weight:700;min-width:96px;text-align:center}
#lp-game .le-bar{height:10px;background:#e1ebe4;border-radius:5px;overflow:hidden}
#lp-game .le-bar i{display:block;height:100%;background:#2fa866}
#lp-game .le-p-f .le-bar i{background:#1f5f3f}
#lp-game .le-p-m .le-bar i{background:#6b3fa0}
@media (max-width:520px){#lp-game .le-srow{grid-template-columns:1fr auto}#lp-game .le-bar{display:none}}
#lp-game .le-list{margin:6px 0 10px;padding-left:20px}
#lp-game .le-list li{margin:3px 0}
#lp-game table.le-sheet{min-width:900px!important}
#lp-game table.le-sheet td.lp-blank{color:#b9c6bd}

#lp-game .le-end ol.le-board{list-style:none;margin:10px 0;padding:0}
#lp-game .le-board li{display:flex;gap:10px;align-items:center;padding:8px 10px;border-radius:10px;background:#f6f8f6;margin-bottom:5px}
#lp-game .le-board li b:nth-of-type(1){flex:1}
#lp-game .le-board li.le-you{background:#fff3c4}

#lp-game .le-ov{position:fixed;inset:0;background:rgba(20,37,79,.55);display:flex;align-items:center;justify-content:center;z-index:99999}
#lp-game .le-ov-card{background:#fff;border-radius:20px;padding:22px 28px;text-align:center;min-width:260px;box-shadow:0 10px 30px rgba(0,0,0,.3)}
#lp-game .le-ov-res{font-size:17px;font-weight:500;margin:10px 0 4px;min-height:3em}
#lp-game .le-ov-card small{color:var(--muted)}
#lp-game .le-flake{position:fixed;top:-30px;font-style:normal;font-size:22px;color:#9cc7ff;z-index:99998;pointer-events:none;animation:le-drop 4s linear forwards}
@keyframes le-drop{to{transform:translateY(110vh) rotate(260deg)}}
#lp-game details.le-evs{margin:6px 0 4px}
#lp-game details.le-evs>summary{cursor:pointer;color:#c8322a;font-weight:600;display:inline-block;padding:3px 10px;border-radius:999px;background:#fde8e5}
#lp-game details.le-evs>summary:hover{background:#fbd6d1}
#lp-game details.le-evs ul{margin:8px 0 0;padding-left:18px}
#lp-game details.le-evs li{margin:5px 0}
/* event summaries on the calendar (hover, focus or tap) */
#lp-game .le-d{position:relative}
#lp-game .le-d.le-tipd{cursor:help}
#lp-game .le-tip{display:none;position:absolute;z-index:50;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);width:230px;background:#14254f;color:#fff;font-size:13px;line-height:1.35;text-align:left;padding:8px 10px;border-radius:10px;box-shadow:0 6px 16px rgba(0,0,0,.25);pointer-events:none}
#lp-game .le-tip b{display:block;font-size:13px;font-weight:600;color:#ffd36b;margin-bottom:3px}
#lp-game .le-tip:after{content:"";position:absolute;top:100%;left:50%;margin-left:-6px;border:6px solid transparent;border-top-color:#14254f}
@media (min-width:641px){#lp-game .le-tip.le-l12{left:auto;right:-4px;transform:none}#lp-game .le-tip.le-l12:after{left:auto;right:18px}#lp-game .le-tip.le-r12{left:-4px;transform:none}#lp-game .le-tip.le-r12:after{left:22px}}
@media (max-width:640px){#lp-game .le-tip{width:190px}#lp-game .le-tip.le-l8{left:auto;right:-4px;transform:none}#lp-game .le-tip.le-l8:after{left:auto;right:14px}#lp-game .le-tip.le-r8{left:-4px;transform:none}#lp-game .le-tip.le-r8:after{left:16px}}
#lp-game .le-d.le-tipd:hover .le-tip,#lp-game .le-d.le-tipd:focus .le-tip{display:block}
#lp-game .le-cal{overflow:visible}
