/* First-entry flow uses the existing lime, paper and dark olive palette. */
.entry-shell{display:none}.entry-open body{padding:0;background:#d3e936}.entry-open .game-shell{display:none}.entry-open .entry-shell{display:flex}.entry-open #result-actions{display:none!important}
.entry-shell{width:min(100%,480px);min-height:100svh;margin:auto;padding:calc(14px + env(safe-area-inset-top)) 18px calc(12px + env(safe-area-inset-bottom));flex-direction:column;overflow:hidden;color:#252b1c;background:radial-gradient(circle at 84% 8%,#eff7a8 0,transparent 31%),linear-gradient(160deg,#d8ef39,#cfe335)}
.entry-shell button{touch-action:manipulation}.entry-masthead{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px}.entry-wordmark{font-size:22px;font-weight:900;letter-spacing:-1px;white-space:nowrap}.entry-masthead nav{display:flex;gap:14px}.entry-masthead button{border:0;background:none;padding:9px 0;font-size:12px;white-space:nowrap}
.entry-demo-card{position:relative;flex:1;min-height:350px;max-height:520px;margin-top:10px;border:1px solid #ffffffde;border-radius:22px;background:linear-gradient(150deg,#f8f8eff3,#f3f4e6eb);box-shadow:0 8px 22px #64714315;overflow:hidden}.entry-demo-title{position:absolute;z-index:5;left:0;right:0;top:0;height:49px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;background:#f8f8eff4;border-bottom:1px solid #cad3ad}.entry-demo-title strong{font-size:14px}.entry-demo-title span{font-size:9px;color:#647143}
.entry-race-shot{position:absolute;inset:49px 0 0;width:100%;height:calc(100% - 49px);object-fit:cover;object-position:center 43%;filter:saturate(.88)}.entry-demo-card figure{margin:0}.entry-editor-shot{position:absolute;z-index:3;left:13px;top:67px;width:112px;height:150px;border:2px solid #f8f8ef;border-radius:13px;background:#f8f8ef;box-shadow:0 8px 22px #252b1c38;overflow:hidden;transform:rotate(-2deg)}.entry-editor-shot img{width:100%;height:117px;object-fit:cover;object-position:center 42%;display:block}.entry-editor-shot figcaption{height:31px;padding:8px 7px;background:#f8f8ef;font-size:10px;font-weight:800}.entry-friends-shot{position:absolute;z-index:4;right:12px;top:70px;width:187px;border:2px solid #f8f8ef;border-radius:12px;background:#f8f8ef;box-shadow:0 8px 22px #252b1c38;overflow:hidden;transform:rotate(1.4deg)}.entry-friends-shot img{display:block;width:100%;height:88px;object-fit:cover;object-position:center}.entry-friends-shot figcaption{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:8px 9px}.entry-friends-shot b{font-size:10px}.entry-friends-shot span{font-size:8px;color:#647143}.entry-race-caption{position:absolute;z-index:4;left:14px;right:14px;bottom:13px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border:1px solid #ffffffc9;border-radius:11px;background:#f8f8efe8;box-shadow:0 5px 18px #252b1c24}.entry-race-caption b{font-size:11px}.entry-race-caption span{font-size:9px;color:#647143}
.entry-promise{padding:14px 3px 10px}.entry-promise p{margin:0 0 3px;font-size:13px;color:#586329}.entry-promise h1{margin:0;font-size:28px;line-height:1.1;letter-spacing:-1.5px;font-weight:900}
.entry-primary{width:100%;min-height:60px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;border:1px solid #252b1c;border-radius:14px;background:linear-gradient(115deg,#252b1c,#384329);color:#f8f8ef;box-shadow:0 5px 0 #849824;font-size:18px;font-weight:800}.entry-primary b{font-size:27px;font-weight:400}.entry-primary:active{transform:translateY(3px);box-shadow:0 2px 0 #849824}.entry-quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.entry-secondary{min-height:44px;padding:9px 7px;border:1px solid #9bad4b;border-radius:10px;background:#f8f8ef61;color:#4f5841;font-size:12px}.entry-secondary.friend{background:#f8f8efb8;font-weight:700}.entry-footnote{margin:10px 0 0;text-align:center;font-size:10px;line-height:1.5;color:#687436}
.entry-result-invite{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:4px 0 15px;padding:10px 0;border-bottom:1px solid #9bad4b66;font-size:11px;color:#596329}.entry-result-invite button{background:#f8f8efb8;border:1px solid #849824;border-radius:10px;min-height:44px;padding:8px 12px;font-size:12px;font-weight:750;white-space:nowrap}.entry-room-help{margin:0 0 10px;padding:9px 10px;border-radius:10px;background:#f8f8efaa;font-size:11px;line-height:1.5;color:#596329}.first-entry-draw .editor-toolbar>span{display:none}.first-entry-draw #editor-toolbar strong{font-size:14px}.first-entry-draw #close-editor{font-size:17px}.first-entry-race #whip-button{box-shadow:0 0 0 4px #f8f8ef99,0 4px 0 #849824}.first-entry-race #whip-button-copy{pointer-events:none}
@media(max-height:740px){.entry-shell{padding-top:8px}.entry-masthead{min-height:42px}.entry-demo-card{min-height:300px;margin-top:5px}.entry-editor-shot{height:128px;width:98px}.entry-editor-shot img{height:98px}.entry-friends-shot{width:170px}.entry-promise{padding:9px 3px 8px}.entry-promise h1{font-size:25px}.entry-primary{min-height:52px}.entry-quick-actions{margin-top:10px}.entry-footnote{margin-top:7px}}
@media(max-width:360px){.entry-shell{padding-left:14px;padding-right:14px}.entry-wordmark{font-size:20px}.entry-masthead nav{gap:9px}.entry-friends-shot{width:168px}.entry-promise h1{font-size:25px}.entry-race-caption{left:10px;right:10px;padding:9px 8px}.entry-race-caption span{font-size:8px}}
