html,body{margin:0;width:100%;height:100%;overflow:hidden}body{background:#17324D}button{font:inherit}.ny-board{color:#17324D;font-family:Fredoka,system-ui,sans-serif}.ny-task{width:100%;height:100%;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:4px}.ny-feedback{font-size:clamp(17px,2.1vmin,24px);line-height:1.3;margin:0;text-align:center;max-width:50ch;flex:none;background:#FFF8E6;border-radius:12px;padding:8px 14px}.ny-action-note{font-size:16px;line-height:1.2;margin:0;text-align:center;flex:none;background:#FFF8E6;padding:5px 9px;border-radius:8px}.ny-piece,.ny-slot,.ny-road-cell,.ny-return{box-sizing:border-box;border:3px solid #8A552C;border-radius:14px;background:#FFF8E6;color:#17324D;padding:4px;min-width:52px;min-height:52px;touch-action:none;cursor:pointer;display:flex;align-items:center;justify-content:center}.ny-piece[aria-pressed=true]{border-color:#174A7E;outline:3px solid #F2C141;outline-offset:2px}.ny-board button:focus-visible,.ny-target:focus-visible{outline:4px solid #174A7E;outline-offset:3px}.ny-piece:hover,.ny-slot:hover,.ny-road-cell:hover{background:#F6E7C8}.ny-piece img,.ny-slot img{width:64px;height:64px;object-fit:contain;pointer-events:none}.ny-palette{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;flex:none}.ny-unit{display:flex;gap:6px;padding:6px 18px;border-radius:12px;background:#FFF8E6}.ny-unit img{width:32px;height:32px;object-fit:contain}.ny-garland{display:grid;grid-template-columns:repeat(4,minmax(52px,86px));gap:12px;justify-content:center;max-width:100%}.ny-garland .ny-slot{border-top:6px solid #C98F5A;aspect-ratio:1}.ny-notice{outline:4px dashed #C07836;outline-offset:2px}.ny-number{font-size:34px;font-weight:600;line-height:1}.ny-dots{display:grid;grid-template-columns:repeat(5,6px);gap:3px;min-height:15px;align-content:start}.ny-dots i{display:block;width:6px;height:6px;border-radius:50%;background:#174A7E}.ny-countdown{display:grid;grid-template-columns:repeat(var(--cards),minmax(48px,80px));gap:8px;list-style:none;padding:0;margin:0;justify-content:center;max-width:100%}.ny-countdown li{min-width:0}.ny-countdown .ny-piece{width:100%;flex-direction:column;gap:5px;min-height:84px}.ny-serving{display:flex;flex-wrap:wrap;gap:6px;align-content:center;justify-content:center;min-height:64px;max-width:100%;width:min(100%,610px);border-radius:16px;background:#F6E7C8;padding:9px;position:relative;touch-action:none}.ny-serving .ny-piece,.ny-plate .ny-piece{width:48px;height:48px;min-width:48px;min-height:48px;padding:0;border:0;background:transparent}.ny-serving .ny-piece img,.ny-plate .ny-piece img{width:42px;height:42px}.ny-location-label{font-size:17px;font-weight:600;line-height:1;min-height:20px;display:block;text-align:center;flex-basis:100%;position:relative}.ny-plates{display:grid;grid-template-columns:repeat(2,minmax(104px,225px));gap:10px;width:min(100%,490px);justify-content:center}.ny-plate{min-height:110px;padding:10px 8px 24px;position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;touch-action:none;cursor:pointer}.ny-plate-art{position:absolute;inset:0;pointer-events:none}.ny-plate-art img{width:100%;height:100%;object-fit:fill;margin:auto}.ny-crackers{position:relative;display:grid;grid-template-columns:repeat(4,48px);gap:0;justify-content:center;min-height:48px}.ny-plate .ny-piece{width:48px;min-width:48px}.ny-plate .ny-location-label{position:absolute;bottom:7px;left:0;right:0}.ny-road-scene{display:grid;grid-template-columns:40px minmax(0,300px) 40px;grid-template-rows:repeat(3,minmax(48px,80px));justify-content:center;width:100%;min-height:0;align-items:stretch}.ny-road-grid{display:grid;grid-template-columns:repeat(3,minmax(48px,1fr));grid-template-rows:repeat(var(--rows),minmax(48px,80px));grid-column:2;grid-row:1/4;align-self:start;gap:0}.ny-road-cell{aspect-ratio:1;border:0;border-radius:0;background:#EDFCFA;padding:0;min-width:0;min-height:48px;position:relative}.ny-road-cell::before{content:'';position:absolute;inset:3px;border:2px dashed #174A7E;border-radius:7px;opacity:.28;pointer-events:none}.ny-road-cell img{width:100%;height:100%;max-width:100%;max-height:100%;pointer-events:none}.ny-fixed{cursor:default}.ny-blocked{background:#174A7E;border-radius:8px;margin:5px;min-width:0}.ny-road-end{display:flex;align-items:center;justify-content:center}.ny-road-start{grid-column:1}.ny-road-finish{grid-column:3}.ny-road-end img{width:100%;height:auto;object-fit:contain}.ny-roads{gap:6px}.ny-roads .ny-piece{width:52px;height:52px;padding:0;min-width:48px;min-height:48px}.ny-roads .ny-piece img{width:100%;height:100%;max-width:100%;max-height:100%}.ny-return{font-size:15px;max-width:80px}.ny-hand{position:fixed;width:48px;height:62px;object-fit:contain;z-index:80;pointer-events:none;max-width:none!important;max-height:none!important}.ny-hand[hidden]{display:none}.ny-drag{position:fixed;z-index:70;pointer-events:none;transform:translate(-50%,-50%);width:64px;height:64px;opacity:.85;border:0;background:#FFF8E6;border-radius:12px;display:flex;align-items:center;justify-content:center}.ny-drag img{width:56px;height:56px;object-fit:contain}.ny-drag .ny-number{font-size:36px}.ny-drag .ny-dots{display:none}
@media(orientation:landscape) and (max-height:650px){.ny-task{gap:6px}.ny-feedback{font-size:17px;padding:4px 10px}.ny-action-note{font-size:14px}.ny-piece img,.ny-slot img{width:48px;height:48px}.ny-garland{grid-template-columns:repeat(6,minmax(48px,62px));gap:8px}.ny-roads .ny-piece{width:48px;height:48px}.ny-road-scene{grid-template-columns:34px minmax(0,180px) 34px;grid-template-rows:repeat(3,52px)}.ny-road-grid{grid-template-rows:repeat(var(--rows),52px)}.ny-plates{grid-template-columns:repeat(2,minmax(120px,260px));width:100%}.ny-crackers{grid-template-columns:repeat(4,48px)}.ny-plate .ny-piece{width:48px;min-width:48px;height:48px}.ny-plate .ny-piece img{width:34px;height:34px}.ny-countdown .ny-piece{min-height:65px}.ny-unit img{width:24px;height:24px}}
@media(orientation:portrait){.ny-feedback{font-size:17px;padding:6px 10px}.ny-task{gap:8px}.ny-action-note{font-size:14px}.ny-palette{gap:10px}.ny-piece img,.ny-slot img{width:48px;height:48px}.ny-garland{grid-template-columns:repeat(4,minmax(48px,65px));gap:8px}.ny-countdown{gap:5px;grid-template-columns:repeat(var(--cards),minmax(48px,60px))}.ny-countdown .ny-piece{min-width:48px;min-height:76px;padding:2px;border-width:2px}.ny-number{font-size:30px}.ny-dots{grid-template-columns:repeat(5,5px);gap:2px}.ny-dots i{width:5px;height:5px}.ny-serving{padding:5px;gap:2px;min-height:58px}.ny-serving .ny-piece{width:48px}.ny-serving .ny-piece img{width:40px;height:40px}.ny-plates{gap:5px;grid-template-columns:repeat(2,minmax(100px,1fr))}.ny-plate{min-height:104px;padding:8px 4px 20px}.ny-crackers{grid-template-columns:repeat(3,48px)}.ny-plate .ny-piece{width:48px;min-width:48px;height:48px}.ny-plate .ny-piece img{width:38px;height:38px}.ny-road-scene{grid-template-columns:26px minmax(0,234px) 26px;grid-template-rows:repeat(3,minmax(48px,64px))}.ny-road-grid{grid-template-rows:repeat(var(--rows),minmax(48px,64px))}.ny-roads{gap:4px;max-width:290px}.ny-roads .ny-piece{width:48px;height:48px}.ny-return{font-size:14px;min-height:48px}.ny-location-label{font-size:15px}}
@media(max-width:375px){.ny-countdown{gap:4px}.ny-countdown .ny-piece{min-width:48px}.ny-feedback{font-size:16px}.ny-task{gap:5px}.ny-roads{gap:3px}.ny-plate{min-height:100px}}

.ny-opening-story{position:absolute;inset:24% 5% 26%;display:grid;grid-template-columns:minmax(70px,1fr) minmax(150px,1.7fr) minmax(70px,1fr);gap:16px;align-items:center;justify-content:center;pointer-events:none}.ny-intro-actor{width:100%;max-width:360px;height:100%;max-height:380px;object-fit:contain;justify-self:center}.ny-intro-model{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;min-width:0}.ny-intro-line,.ny-intro-unit{display:flex;align-items:center;justify-content:center;gap:9px;max-width:100%}.ny-intro-line>img,.ny-intro-unit img{width:64px;height:64px;object-fit:contain}.ny-intro-unit{background:#FFF8E6;border-radius:16px;padding:10px 20px}.ny-intro-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:#FFF8E6;border:3px solid #8A552C;border-radius:12px;width:70px;height:80px;padding:3px;box-sizing:border-box}.ny-intro-card img{width:100%;height:100%;object-fit:contain}.ny-intro-card b{font-size:38px;line-height:1;color:#17324D}.ny-intro-focus{outline:4px solid #F2C141;outline-offset:4px}.ny-intro-hand{position:absolute;left:44%;top:48%;width:54px;height:70px;object-fit:contain}.ny-intro-plates{display:flex;gap:10px;width:100%}.ny-intro-plate{position:relative;display:block;width:50%;aspect-ratio:1.4}.ny-intro-plate img:first-child{width:100%;height:100%;object-fit:contain}.ny-intro-plate img:last-child{position:absolute;top:30%;left:30%;width:40%;height:40%;object-fit:contain}.ny-intro-road{gap:0}.ny-intro-road .ny-intro-card{border-radius:0;padding:0;width:65px;height:65px;border:0;background:#EDFCFA;outline:2px dashed #174A7E;outline-offset:-3px}.ny-intro-road>img{width:48px;height:58px}.ny-intro-result{margin-top:12px}.ny-intro-result .ny-intro-card{background:#D2F9F6}
@media(orientation:portrait){.ny-opening-story{inset:25% 3% 25%;grid-template-columns:minmax(60px,1fr) minmax(145px,1.65fr) minmax(60px,1fr);gap:4px}.ny-intro-actor{max-height:330px}.ny-intro-line,.ny-intro-unit{gap:4px}.ny-intro-line>img,.ny-intro-unit img{width:38px;height:38px}.ny-intro-card{width:43px;height:60px;border-width:2px;gap:5px}.ny-intro-card b{font-size:30px}.ny-intro-unit{padding:6px 10px}.ny-intro-model{gap:18px}.ny-intro-hand{width:36px;height:50px;left:40%;top:48%}.ny-intro-road .ny-intro-card{width:34px;height:38px}.ny-intro-road>img{width:24px;height:35px}}

/* The shared guide already gives the instruction; keep the model unobstructed. */
.ny-feedback:empty{display:none}
.ny-intro-plate img:only-child{position:static;width:100%;height:100%}
@media(orientation:landscape) and (max-height:650px){
.ny-board[data-kind="new-year-garland"] .ny-task{display:grid;grid-template-columns:auto auto;align-content:center;justify-content:center}
.ny-board[data-kind="new-year-garland"] .ny-feedback,.ny-garland{grid-column:1/-1}
.ny-garland{grid-template-columns:repeat(8,minmax(48px,62px))}
.ny-plates{display:flex;align-items:center;justify-content:center;width:100%;gap:6px}
.ny-plate{flex:0 1 auto;min-width:100px;min-height:90px;padding:5px 8px 24px}
.ny-crackers{grid-template-columns:repeat(var(--on-plate),48px)}
.ny-serving{min-height:48px;padding:4px;gap:2px}
.ny-serving .ny-location-label{position:absolute;left:5px;top:2px;font-size:12px;min-height:12px}
.ny-board[data-kind="lantern-delivery"] .ny-task{display:grid;grid-template-columns:160px minmax(0,250px);align-content:center;justify-content:center;gap:6px 16px}
.ny-board[data-kind="lantern-delivery"] .ny-feedback{grid-column:1/-1}
.ny-roads{display:grid;grid-template-columns:repeat(3,48px);gap:5px}
.ny-return{min-width:48px;padding:2px}
}

@media(orientation:landscape) and (max-height:650px){
.ny-board[data-kind="party-sharing"].ny-hint .ny-task{display:grid;grid-template-columns:1fr;align-content:center;justify-items:center}
.ny-board[data-kind="party-sharing"].ny-hint .ny-feedback{grid-area:1/1;justify-self:start;width:220px;z-index:1;font-size:16px;padding:3px 8px;pointer-events:none}
.ny-board[data-kind="party-sharing"].ny-hint .ny-serving{grid-area:1/1;width:100%;max-width:none;padding-left:230px}
.ny-board[data-kind="party-sharing"].ny-hint .ny-serving .ny-location-label{display:none}
.ny-board[data-kind="party-sharing"].ny-hint .ny-plates{grid-area:2/1}
.ny-board[data-kind="countdown-parade"].ny-hint .ny-task{display:grid;grid-template-columns:170px auto;align-content:center;justify-content:center}
.ny-board[data-kind="countdown-parade"].ny-hint .ny-feedback{font-size:17px}
.ny-board[data-kind="lantern-delivery"].ny-hint .ny-task{grid-template-columns:140px 160px minmax(0,250px)}
.ny-board[data-kind="lantern-delivery"].ny-hint .ny-feedback{grid-column:1;font-size:17px}
}

/* Garland: the activity is the centrepiece; size its own artwork to the space available. */
body[data-adventure="new-year-garland"] .ny-opening-story{inset:17% 4% 23%;grid-template-columns:1fr 1.7fr 1fr;gap:2vw}
body[data-adventure="new-year-garland"] .ny-intro-actor{max-width:none;max-height:none}
body[data-adventure="new-year-garland"] .ny-intro-model{gap:3vh}
body[data-adventure="new-year-garland"] .ny-intro-line{width:100%;gap:1vw}
body[data-adventure="new-year-garland"] .ny-intro-card{width:calc((100% - 3vw)/4);height:auto;aspect-ratio:.9;padding:5px}
body[data-adventure="new-year-garland"] .ny-intro-unit img{width:clamp(38px,6vw,78px);height:clamp(38px,6vw,78px)}
body[data-adventure="new-year-garland"] .ny-intro-hand{width:clamp(38px,5vw,64px);height:auto;top:57%;left:36%}
body[data-adventure="new-year-garland"] .ny-task{container-type:size;box-sizing:border-box;gap:clamp(8px,2cqh,20px);padding:8px}
body[data-adventure="new-year-garland"] .ny-garland{grid-template-columns:repeat(4,var(--garland-piece));gap:clamp(8px,2cqw,16px)}
body[data-adventure="new-year-garland"] .ny-task{--garland-piece:min(21cqw,20cqh,132px)}
body[data-adventure="new-year-garland"] .ny-slot{width:var(--garland-piece);height:var(--garland-piece);min-width:48px;min-height:48px;padding:6px}
body[data-adventure="new-year-garland"] .ny-slot img{width:100%;height:100%}
body[data-adventure="new-year-garland"] .ny-palette{gap:clamp(10px,2cqw,18px)}
body[data-adventure="new-year-garland"] .ny-palette .ny-piece{width:min(21cqw,17cqh,112px);height:min(21cqw,17cqh,112px);padding:6px}
body[data-adventure="new-year-garland"] .ny-palette .ny-piece img{width:100%;height:100%}
body[data-adventure="new-year-garland"] .ny-unit{gap:10px;padding:8px 20px}
body[data-adventure="new-year-garland"] .ny-unit img{width:clamp(32px,8cqh,58px);height:clamp(32px,8cqh,58px)}
@media(orientation:portrait){
 body[data-adventure="new-year-garland"] .ny-opening-story{grid-template-columns:1fr 1fr;grid-template-rows:55% 45%;gap:0 5%;inset:17% 6% 23%}
 body[data-adventure="new-year-garland"] .ny-intro-actor{width:100%;height:100%;align-self:end}
 body[data-adventure="new-year-garland"] .ny-intro-model{grid-column:1/-1;grid-row:2;width:100%;gap:2.5vh;align-self:center}
 body[data-adventure="new-year-garland"] .ny-intro-card{max-width:140px;aspect-ratio:1.08}
 body[data-adventure="new-year-garland"] .ny-intro-unit img{width:clamp(38px,9vw,64px);height:clamp(38px,9vw,64px)}
}
@media(orientation:landscape) and (max-height:650px){
 body[data-adventure="new-year-garland"] .ny-opening-story{inset:21% 4% 48%;grid-template-rows:minmax(0,1fr)}
 body[data-adventure="new-year-garland"] .ny-intro-model{gap:10px}
 body[data-adventure="new-year-garland"] .ny-intro-card{max-height:18vh;aspect-ratio:1}
 body[data-adventure="new-year-garland"] .ny-intro-unit{padding:4px 12px}
 body[data-adventure="new-year-garland"] .ny-intro-unit img{width:9vh;height:9vh}
 body[data-adventure="new-year-garland"] .ny-task{--garland-piece:min(10cqw,31cqh,88px);gap:6px 18px}
 body[data-adventure="new-year-garland"] .ny-garland{grid-template-columns:repeat(8,var(--garland-piece));gap:8px}
 body[data-adventure="new-year-garland"] .ny-palette .ny-piece{width:min(10cqw,28cqh,76px);height:min(10cqw,28cqh,76px)}
 body[data-adventure="new-year-garland"] .ny-unit img{width:clamp(24px,17cqh,40px);height:clamp(24px,17cqh,40px)}
}

@media(orientation:portrait) and (min-width:600px){
 body[data-adventure="new-year-garland"] .ny-task:has(.ny-slot:nth-child(5)){padding-bottom:88px}
}

@media(orientation:portrait){
 body:is([data-adventure="new-year-garland"],[data-adventure="countdown-parade"],[data-adventure="lantern-delivery"]) .wm-opening .wm-intro-image{transform:scale(1.25);transform-origin:50% 50%}
}

/* Party Sharing keeps the food and plates prominent inside the native activity area. */
body[data-adventure="party-sharing"] .ny-task{container-type:size;box-sizing:border-box;padding:16px 24px 64px;gap:16px;justify-content:center}
body[data-adventure="party-sharing"] .ny-serving{box-sizing:border-box;flex:none;display:flex;align-items:center;align-content:center;gap:4px;width:fit-content;min-width:180px;max-width:90cqw;min-height:64px;padding:24px 16px 10px;border:2px solid #C89F63;background:#F6E7C8;box-shadow:0 4px 8px #573B2420}
body[data-adventure="party-sharing"] .ny-serving:not(:has(.ny-piece)){padding:24px 16px 8px;min-height:52px}
body[data-adventure="party-sharing"] .ny-serving .ny-location-label{position:absolute;top:5px;left:12px;right:12px;bottom:auto;min-height:16px;font-size:15px;line-height:1.1}
body[data-adventure="party-sharing"] .ny-serving .ny-piece{width:clamp(44px,7cqw,74px);height:clamp(44px,7cqw,74px);min-width:44px;min-height:44px}
body[data-adventure="party-sharing"] .ny-serving .ny-piece img{width:86%;height:86%}
body[data-adventure="party-sharing"] .ny-plates{--plate-size:min(40cqw,60cqh,380px);display:grid;grid-template-columns:repeat(2,var(--plate-size));justify-content:center;align-items:center;gap:16px;width:100%;flex:none}
body[data-adventure="party-sharing"] .ny-plates:has(.ny-plate:nth-child(3)){--plate-size:min(32cqw,30cqh,280px);gap:12px}
body[data-adventure="party-sharing"] .ny-plate{box-sizing:border-box;width:var(--plate-size);height:var(--plate-size);aspect-ratio:1;min-width:0;min-height:0;padding:0;display:grid;place-items:center;border-radius:50%}
body[data-adventure="party-sharing"] .ny-plate-art{inset:-4%}
body[data-adventure="party-sharing"] .ny-plate-art img{object-fit:contain;width:100%;height:100%}
body[data-adventure="party-sharing"] .ny-crackers{--cracker-size:clamp(44px,calc(var(--plate-size)*.66/max(var(--cracker-cols),var(--cracker-rows))),80px);display:flex;flex-wrap:wrap;justify-content:center;align-content:center;gap:0;width:calc(var(--cracker-cols)*var(--cracker-size));min-height:var(--cracker-size);padding:0;margin-bottom:12%}
body[data-adventure="party-sharing"] .ny-plate .ny-piece{width:var(--cracker-size);height:var(--cracker-size);min-width:44px;min-height:44px;flex:none}
body[data-adventure="party-sharing"] .ny-plate .ny-piece img{width:78%;height:78%}
body[data-adventure="party-sharing"] .ny-plate[style*="--on-plate:10;"] .ny-piece:first-child{margin-left:calc(var(--cracker-size)/2)}
body[data-adventure="party-sharing"] .ny-plate[style*="--on-plate:10;"] .ny-piece:nth-child(3){margin-right:calc(var(--cracker-size)/2)}
body[data-adventure="party-sharing"] .ny-plate .ny-location-label{bottom:15%;font-size:clamp(16px,2.5cqw,24px);min-height:18px;pointer-events:none}
body[data-adventure="party-sharing"] .ny-plate-crowded .ny-location-label{bottom:10%}
body[data-adventure="party-sharing"] .ny-plates:has(.ny-plate:nth-child(3)):has(.ny-plate-crowded){grid-template-columns:repeat(3,minmax(0,1fr));width:min(100%,700px)}
body[data-adventure="party-sharing"] .ny-plates:has(.ny-plate:nth-child(3)):has(.ny-plate-crowded) .ny-plate:not(.ny-plate-crowded){--plate-size:min(24cqw,20cqh);justify-self:center}
body[data-adventure="party-sharing"] .ny-plates:has(.ny-plate:nth-child(3)) .ny-plate-crowded{--plate-size:min(70cqw,44cqh,300px);grid-column:1/-1;grid-row:1;justify-self:center}
body[data-adventure="party-sharing"] .ny-plates:has(.ny-plate-crowded) .ny-plate:not(.ny-plate-crowded):last-child{grid-column:auto}
body[data-adventure="party-sharing"] .ny-plate:nth-child(3):last-child{grid-column:1/-1;justify-self:center}
body[data-adventure="party-sharing"] .ny-feedback{flex:none;max-width:100%;box-sizing:border-box;font-size:17px;padding:6px 12px}
body[data-adventure="party-sharing"] .ny-board.ny-hint .ny-task{display:flex;align-content:normal;justify-content:center;justify-items:normal;grid-template-columns:none}
body[data-adventure="party-sharing"] .ny-board.ny-hint .ny-feedback{grid-area:auto;justify-self:auto;width:auto;z-index:auto;pointer-events:auto}
body[data-adventure="party-sharing"] .ny-board.ny-hint .ny-serving{grid-area:auto;width:fit-content;max-width:90cqw;padding-left:16px}
body[data-adventure="party-sharing"] .ny-board.ny-hint .ny-serving .ny-location-label{display:block}
body[data-adventure="party-sharing"] .ny-board.ny-hint .ny-plates{grid-area:auto}
@media(orientation:portrait) and (max-width:600px){
 body[data-adventure="party-sharing"] .ny-task{padding:8px 4px 60px;gap:12px}
 body[data-adventure="party-sharing"] .ny-plates{--plate-size:min(46cqw,38cqh);gap:8px}
 body[data-adventure="party-sharing"] .ny-plates:has(.ny-plate:nth-child(3)){--plate-size:min(44cqw,27cqh);gap:8px}
 body[data-adventure="party-sharing"] .ny-serving{max-width:94cqw;padding:24px 8px 8px;gap:0}
 body[data-adventure="party-sharing"] .ny-serving .ny-piece{width:44px;height:44px}
 body[data-adventure="party-sharing"] .ny-plates:has(.ny-plate-crowded){grid-template-columns:repeat(3,minmax(0,1fr));--plate-size:min(28cqw,19cqh)}
 body[data-adventure="party-sharing"] .ny-plates:has(.ny-plate-crowded) .ny-plate:not(.ny-plate-crowded){--plate-size:min(28cqw,19cqh);justify-self:center}
 body[data-adventure="party-sharing"] .ny-plate-crowded{--plate-size:min(70cqw,44cqh);grid-column:1/-1;grid-row:1;justify-self:center}
 body[data-adventure="party-sharing"] .ny-plates:has(.ny-plate-crowded) .ny-plate:not(.ny-plate-crowded):last-child{grid-column:auto}
 body[data-adventure="party-sharing"] .ny-plates:not(:has(.ny-plate:nth-child(3))):has(.ny-plate-crowded) .ny-plate:not(.ny-plate-crowded){grid-column:1/-1}
 body[data-adventure="party-sharing"] .ny-plates:has(.ny-plate:nth-child(3)):not(:has(.ny-plate:nth-child(4))):has(.ny-plate-crowded){grid-template-columns:repeat(4,minmax(0,1fr))}
 body[data-adventure="party-sharing"] .ny-plates:has(.ny-plate:nth-child(3)):not(:has(.ny-plate:nth-child(4))):has(.ny-plate-crowded) .ny-plate:not(.ny-plate-crowded){grid-column:span 2}
 body[data-adventure="party-sharing"] .ny-plate .ny-piece img{width:min(78%,34px);height:min(78%,34px)}
}
@media(orientation:landscape) and (max-height:650px){
 body[data-adventure="party-sharing"] .ny-task{display:grid;grid-template-columns:minmax(180px,30%) minmax(0,1fr);grid-template-rows:auto;align-content:center;align-items:center;padding:4px 72px 4px 8px;gap:8px 16px}
 body[data-adventure="party-sharing"] .ny-serving{width:100%;max-width:none;padding:22px 4px 4px;gap:0;justify-self:center;min-width:0}
 body[data-adventure="party-sharing"] .ny-serving .ny-piece{width:44px;height:44px}
 body[data-adventure="party-sharing"] .ny-plates,body[data-adventure="party-sharing"] .ny-plates:has(.ny-plate:nth-child(3)){--plate-size:min(21cqw,86cqh);grid-template-columns:repeat(var(--plates),minmax(0,1fr));gap:8px}
 body[data-adventure="party-sharing"] .ny-plate{width:100%;height:auto;max-width:var(--plate-size);justify-self:center}
 body[data-adventure="party-sharing"] .ny-plate:nth-child(3):last-child{grid-column:auto}
 body[data-adventure="party-sharing"] .ny-plates:has(.ny-plate-crowded){display:flex;justify-content:center;width:100%}
 body[data-adventure="party-sharing"] .ny-plates:has(.ny-plate:nth-child(3)):has(.ny-plate-crowded){display:flex;width:100%}
 body[data-adventure="party-sharing"] .ny-plates:has(.ny-plate-crowded) .ny-plate,body[data-adventure="party-sharing"] .ny-plates:has(.ny-plate:nth-child(3)):has(.ny-plate-crowded) .ny-plate:not(.ny-plate-crowded){--plate-size:min(12cqw,48cqh);width:var(--plate-size);flex:none}
 body[data-adventure="party-sharing"] .ny-plates:has(.ny-plate-crowded) .ny-plate.ny-plate-crowded{--plate-size:min(25cqw,96cqh);--cracker-size:44px}
 body[data-adventure="party-sharing"] .ny-plate-crowded .ny-crackers{--cracker-size:44px}
 body[data-adventure="party-sharing"] .ny-plate-crowded .ny-plate-art{inset:-11%}
 body[data-adventure="party-sharing"] .ny-plates .ny-plate-crowded .ny-piece img{width:28px;height:28px}
 body[data-adventure="party-sharing"] .ny-plate .ny-piece img{width:min(78%,34px);height:min(78%,34px)}
 body[data-adventure="party-sharing"] .ny-board.ny-hint .ny-task{display:grid;grid-template-columns:minmax(180px,30%) minmax(0,1fr);grid-template-rows:auto auto;gap:4px 16px}
 body[data-adventure="party-sharing"] .ny-board.ny-hint .ny-feedback{grid-column:1;grid-row:1;padding:3px 8px;font-size:15px}
 body[data-adventure="party-sharing"] .ny-board.ny-hint .ny-serving{grid-column:1;grid-row:2;width:100%;padding-left:4px}
 body[data-adventure="party-sharing"] .ny-board.ny-hint .ny-plates{grid-column:2;grid-row:1/3}
}
@media(orientation:landscape) and (min-height:651px) and (max-height:720px){
 body[data-adventure="party-sharing"] .ny-task:has(.ny-plates .ny-plate:nth-child(3)):has(.ny-plate-crowded){padding-bottom:24px}
 body[data-adventure="party-sharing"] .ny-plate-crowded .ny-piece img{width:28px;height:28px}
}
