@font-face{font-family:Orchard;src:local("Georgia");font-display:swap}
:root{color-scheme:dark;--ink:#302340;--indigo:#3c2858;--lilac:#b786c7;--cream:#ffe5c2;--copper:#e6a170;--paper:#d5b5e3}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;color:var(--cream);background:#251b38;font:15px/1.5 system-ui,-apple-system,Segoe UI,sans-serif}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}a{color:inherit;text-underline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,canvas:focus-visible{outline:3px solid #fff4d8;outline-offset:3px}button:disabled{cursor:default;opacity:.5}[hidden]{display:none!important}
.first-screen{height:100vh;height:100dvh;min-height:590px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:max(8px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));background:radial-gradient(ellipse at 50% 25%,#795783 0,#3e2d53 52%,#251b38 100%)}
.topline{width:min(100%,510px);display:flex;align-items:center;justify-content:space-between;min-height:44px;font-size:12px;color:#dcc4e8}.topline a{display:flex;align-items:center;min-height:44px;text-decoration:none}
.cabinet{width:min(100%,510px);max-height:calc(100% - 76px);display:flex;flex-direction:column;flex:1 1 auto;border:3px solid #a777b1;border-radius:24px;background:#b98ac9;box-shadow:0 16px 60px #130a2759,0 0 0 2px #4b345e,inset 0 0 0 3px #d7b5df;overflow:hidden;position:relative;touch-action:none;user-select:none;-webkit-user-select:none}
.game-header{flex:none;background:#ac7cba url('/assets/play/orchardblast/paper.webp') repeat;box-shadow:0 5px 10px #2c1b5266;z-index:2;padding-bottom:7px}.title-art{display:block;width:100%;height:auto;max-height:79px;object-fit:cover}.hud{height:44px;display:flex;align-items:center;justify-content:space-around;gap:6px;padding:0 12px}.health,.clock{display:flex;align-items:center;justify-content:center;min-height:34px;border:3px solid #d49269;border-radius:20px;background:#513557;box-shadow:inset 0 2px 3px #2e173e,0 2px 2px #784c86;padding:0 9px}.health{gap:3px}.health span{font-size:25px;line-height:1;color:#f79ab9;text-shadow:0 2px #b55f86,1px -1px #ffd5e0}.health span.empty{color:#6c4a72;text-shadow:none}.clock{font-size:21px;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:1px;gap:5px}.clock.low{color:#ffb5ab}.chimes{display:flex;gap:6px}.chimes span{width:31px;height:31px;display:grid;place-items:center;border:2px solid #cf946e;border-radius:50%;background:#725078;box-shadow:inset 0 2px 3px #33213e;font-size:21px;color:#b696b8}.chimes span.earned{color:#fff0cb;background:#b57967;box-shadow:0 0 12px #ffc88880}.room-line{min-height:27px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:3px 13px;background:#51345f;color:#f3deef;font-size:10px;font-weight:800;letter-spacing:1px;z-index:1}.room-line span:last-child{color:#ffd6a4;font-size:9px}
.scene{width:100%;aspect-ratio:480/410;min-height:0;position:relative;flex:1 1 auto;background:#8b66aa;overflow:hidden;touch-action:none}.scene canvas{display:block;width:100%;height:100%;touch-action:none}.scene-note{position:absolute;left:10%;right:10%;top:7px;text-align:center;pointer-events:none;font-size:12px;font-weight:700;text-shadow:0 1px 5px #291537;min-height:20px}.scene-note:empty{display:none}
.game-card{position:absolute;left:7%;right:7%;top:50%;transform:translateY(-50%);background:linear-gradient(135deg,#f1dbedfa,#dcc0e5f5);color:var(--ink);border:2px solid #f9e4cb;border-radius:18px;padding:18px 20px;box-shadow:0 9px 0 #67477566,0 12px 40px #25142e77;text-align:center;touch-action:none}.eyebrow{font-size:9px;letter-spacing:1.6px;font-weight:900;margin:0 0 8px}.game-card h2{font-family:Orchard,Georgia,serif;font-size:30px;letter-spacing:-.7px;line-height:1.08;margin:4px 0 9px;color:#493156}.game-card p{font-size:13px;line-height:1.45;margin:8px 0}.game-card .eyebrow{font-size:8px}.hero-choice{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid #b394ba;border-radius:12px;padding:3px 10px;margin:13px 0 11px;background:#e6d1ec;color:#463052;text-align:left;min-height:60px}.hero-choice img{width:48px;height:48px;object-fit:contain}.hero-choice strong{font-size:17px}.hero-choice small{display:block;font-size:10px}.hero-choice>span:last-child{color:#86573c;font-size:24px;margin-left:auto}.primary{min-height:48px;width:100%;border:2px solid #ffd9aa;border-radius:12px;background:linear-gradient(#df9f76,#b87657);box-shadow:0 4px 0 #8e5260,inset 0 1px #ffe5bc;color:#33213b;font-weight:900;font-size:16px;padding:9px 12px}.primary span{float:right}.primary:active{transform:translateY(2px);box-shadow:0 2px 0 #8e5260}.secondary{min-height:44px;background:transparent;border:0;text-decoration:underline;color:#5a3d68;font-weight:700;width:100%;margin-top:8px}.game-card .card-foot{font-size:9px;margin:12px 0 0;color:#73587f}.result-stats{border-block:1px solid #b89fc4;padding:9px 0;font-variant-numeric:tabular-nums}
.control-deck{display:flex;align-items:center;justify-content:space-around;gap:4px;padding:9px 13px 7px;flex:none;background:linear-gradient(#c89bd6,#ac7dbd);border-top:3px solid #e1b6db;box-shadow:inset 0 3px 0 #8a5e9d}.play-control{border:0;background:transparent;position:relative;padding:0;width:20%;min-width:48px;min-height:69px;line-height:1;touch-action:none}.play-control img{display:block;width:100%;height:73px;object-fit:fill;border-radius:24%;pointer-events:none;filter:drop-shadow(0 3px 1px #73458455)}.play-control span{display:block;font-size:9px;font-weight:900;color:#412951;letter-spacing:1px;margin-top:5px}.play-control:active,.play-control.held{transform:translateY(2px);filter:brightness(1.12)}.action-control{min-width:56px;min-height:56px}.deck-divider{font-size:22px;color:#f4d7df;width:10%;text-align:center;text-shadow:0 2px #7f558e}.utility-deck{display:grid;grid-template-columns:repeat(4,1fr);background:#825c96;border-top:1px solid #d7abdf;padding:0 7px}.utility-deck button{min-height:48px;border:0;background:transparent;font-size:18px;color:#ffe5ce;display:flex;align-items:center;justify-content:center;gap:5px}.utility-deck button span{font-size:10px}.utility-deck button:hover{background:#936ca5}.under-game{width:min(100%,510px);min-height:34px;margin:5px 0 0;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#d2badd;gap:8px}.keyboard-hint{font-size:9px}
.help{max-width:780px;margin:0 auto;padding:64px 24px 90px;font-size:16px;line-height:1.8;color:#dfcde8}.help .eyebrow{color:#c79bd4}.help h1{font-family:Georgia,serif;font-size:36px;line-height:1.2;color:#f8e3d2}.help h2{color:#f1d5ba;margin-top:32px}.help a{display:inline-block;min-height:48px}.help p{max-width:70ch}dialog{width:min(90vw,390px);border:2px solid #e0b7d8;border-radius:20px;padding:24px;background:#e9d6eb;color:#493253;box-shadow:0 20px 100px #160c31}dialog::backdrop{background:#21142bbb}dialog h2{font-family:Georgia,serif;font-size:26px;line-height:1.2;margin:0 0 16px}dialog label{display:flex;align-items:center;gap:12px;min-height:52px}dialog input{width:24px;height:24px;accent-color:#825296}dialog p{font-size:12px}dialog .primary{margin-top:8px}
@media(max-height:750px){.first-screen{min-height:0;padding-top:4px}.topline{min-height:44px}.topline a{min-height:44px}.cabinet{max-height:calc(100% - 55px);border-radius:18px}.title-art{max-height:57px}.hud{height:38px}.room-line{min-height:23px}.play-control img{height:58px}.control-deck{padding-block:5px}.utility-deck button{min-height:48px}.under-game{min-height:22px;font-size:9px}.game-card{padding:12px 14px;left:6%;right:6%}.game-card h2{font-size:26px}.game-card p{font-size:11px}.hero-choice{margin:8px 0;min-height:50px}.hero-choice img{width:40px;height:40px}.game-card .card-foot{margin-top:9px;font-size:8px}}
@media(min-width:800px){.first-screen{padding-block:12px}.cabinet{width:480px}.topline,.under-game{width:480px}.topline{font-size:13px}.help{padding-top:80px}}
/* Keep the shared navigation, but spend the first screen on the orchard. */
body[data-mobile-std="1"] #egm-play-header{height:48px;min-height:48px;max-height:48px;flex-wrap:nowrap;gap:12px;padding:0 14px;background:#30223f;border-color:#624873}
body[data-mobile-std="1"] #egm-play-header .egm-play-search,body[data-mobile-std="1"] #egm-play-header>a:not(:first-child){display:none}
body[data-mobile-std="1"] #egm-play-header>a:first-child{min-height:48px;display:flex;align-items:center;font-size:12px;color:#eed3eb}
body[data-mobile-std="1"] #egm-play-header .egm-play-title{flex:1;white-space:nowrap;font-size:12px;color:#eac7a9}
body:has(#egm-play-header) .first-screen{height:calc(100vh - 48px);height:calc(100dvh - 48px)}
.game-card{left:12%;right:12%;padding:14px 16px}.game-card h2{font-size:27px}.game-card .eyebrow{font-size:7px;letter-spacing:1.2px}.hero-choice{margin:9px 0;min-height:52px}.hero-choice img{width:41px;height:41px}.game-card .card-foot{font-size:8px}.game-card p{font-size:12px}
.game-header{background:linear-gradient(110deg,#a779b7,#bd8bca 48%,#a779b7)}
.chimes span{font-size:0;background:#674471 url('/assets/play/orchardblast/bell.webp') center/17px 23px no-repeat;filter:saturate(.6);opacity:.55}
.chimes span.earned{font-size:0;background:#b57967 url('/assets/play/orchardblast/bell.webp') center/17px 23px no-repeat;filter:none;opacity:1}
#orchardblast-setup{top:13px;transform:none;left:12%;right:12%;padding:12px 15px;background:linear-gradient(135deg,#f1dbedf5,#dcc0e5ef)}
#orchardblast-setup .eyebrow{display:none}#orchardblast-setup h2{font-size:25px;margin-top:0}#orchardblast-setup .mg-panel>p:not(.card-foot){font-size:11px;margin:5px 0}
#orchardblast-setup .hero-choice{min-height:46px;margin:8px 0}#orchardblast-setup .hero-choice img{width:36px;height:36px}#orchardblast-setup .card-foot{font-size:7px;margin-top:10px}
@media(max-height:750px){.game-card{left:9%;right:9%;padding:10px 12px}.game-card h2{font-size:24px}.game-card .eyebrow{font-size:7px}.game-card p{margin-block:6px;font-size:10px}.hero-choice{min-height:44px;margin-block:6px}.hero-choice img{width:34px;height:34px}.game-card .card-foot{font-size:7px}}
.game-card .eyebrow,.game-card .card-foot,#orchardblast-setup .card-foot,.hero-choice small,.under-game{font-size:11px}
#orchardblast-setup{bottom:auto;display:block;overflow:visible;backdrop-filter:none}
#orchardblast-setup>.mg-panel{background:none;border:0;border-radius:0;padding:0;max-width:none;max-height:none;overflow:visible;box-shadow:none}
.scene canvas{overscroll-behavior:contain}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
