.cake-screen.room-screen{height:var(--cake-height,100dvh)!important}.ck-game{display:flex;flex-direction:column;align-items:center;gap:9px;min-height:100%;padding:4px 0;text-align:center;color:#fff8e9;text-shadow:0 2px 7px #32182b;overflow-anchor:none}.cake-screen .room-stage{overflow-anchor:none}.cake-screen .ck-game h1{margin:0;font:32px/1.1 Georgia,serif}.ck-eyebrow{margin:0;font:10px/1.3 'Segoe UI',sans-serif;letter-spacing:1.5px;color:#ffe7b7}.ck-game>.ck-eyebrow:first-child{margin-top:auto}.ck-copy{margin:0;max-width:100%;font:15px/1.35 Georgia,serif;overflow-wrap:anywhere}.ck-player{margin:0;max-width:100%;font:italic 28px/1.2 Georgia,serif;overflow-wrap:anywhere}.ck-scene{width:100%;height:280px;flex-shrink:0;filter:drop-shadow(0 8px 8px #3116273b)}.ck-cake-art{display:block;width:100%;height:100%;overflow:visible}.ck-game button.ck-next,.ck-game button.ck-secondary{margin:0;padding:10px 22px;width:fit-content;max-width:100%;min-width:145px;min-height:44px;border:1px solid #deffef;border-radius:999px;background:#ace6d2d9;color:#214c44;font:18px/1.2 Georgia,serif;letter-spacing:0;text-shadow:none;box-shadow:0 5px 18px #14282c33}.ck-game button.ck-secondary{min-width:110px;border-color:#fff1d699;background:#fff0ce30;backdrop-filter:blur(8px);color:#fff6e5}.ck-actions{display:flex;gap:10px;justify-content:center;width:100%}.ck-feedback,.ck-wait{max-width:100%;margin:0;font:12px/1.35 'Segoe UI',sans-serif;overflow-wrap:anywhere}.ck-feedback:empty{display:none}.ck-feedback{color:#ffe8bb}.ck-verdict{max-width:100%;margin:0;font:17px/1.35 Georgia,serif}.ck-cert-note{font:12px/1.3 'Segoe UI',sans-serif;color:#fff0d5}.ck-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%}.ck-game button.ck-choice{margin:0;min-width:0;min-height:76px;padding:6px 3px;border:1px solid #fff1d680;border-radius:15px;background:#35212929;backdrop-filter:blur(7px);color:#fff7e9;font:12px/1.2 'Segoe UI',sans-serif;letter-spacing:0;box-shadow:none;text-shadow:0 1px 5px #2b1420}.ck-choice img{display:block;width:66px;height:42px;max-width:100%;margin:0 auto 3px;object-fit:contain}.ck-choice:focus-visible,.ck-next:focus-visible,.ck-secondary:focus-visible{outline:2px solid #ffe3a1;outline-offset:3px}.ck-game button:disabled{opacity:.5}.ck-nav{display:flex;justify-content:center;flex-shrink:0;margin-top:auto;width:100%}.ck-game button.ck-link{min-height:28px;width:fit-content;margin:0;padding:5px;background:none;border:0;box-shadow:none;color:#fff4e2;font:12px/1.3 'Segoe UI',sans-serif;text-decoration:underline;text-underline-offset:4px;text-shadow:0 2px 7px #2e1122;letter-spacing:0}.ck-error{margin:0;font:12px/1.35 'Segoe UI',sans-serif;color:#ffe6ac}.ck-error:empty{display:none}.ck-typing .room-stage{display:none}.ck-typing .room-compose{margin-top:auto}.ck-just-placed{animation:ck-drop .25s ease-out both}@keyframes ck-drop{from{opacity:.8;transform:translateY(-15px)}to{opacity:1;transform:none}}
@media(max-height:700px){.ck-game{gap:6px;padding:2px 0}.cake-screen .ck-game h1{font-size:25px}.ck-eyebrow{font-size:9px;letter-spacing:1px}.ck-copy{font-size:13px}.ck-player{font-size:24px}.ck-scene{height:146px}.ck-game[data-phase="CREAM"] .ck-scene,.ck-game[data-phase="DECOR"] .ck-scene{height:120px}.ck-game[data-phase="FINISH"] .ck-scene{height:158px}.ck-game button.ck-next,.ck-game button.ck-secondary{font-size:16px;min-width:126px;padding:9px 16px}.ck-game button.ck-secondary{min-width:100px}.ck-options{gap:6px}.ck-game button.ck-choice{min-height:67px;font-size:11px}.ck-choice img{height:34px}.ck-verdict{font-size:14px}.ck-feedback,.ck-wait{font-size:11px}.ck-cert-note{font-size:10px}.ck-game button.ck-link{font-size:11px}}
@media(prefers-reduced-motion:reduce){.ck-just-placed{animation:none}}

@media(max-height:700px){.ck-game[data-phase="FINISH"]{gap:4px;padding:0}}
.ck2-screen{background:linear-gradient(#241b1c55,#291b2466),url('/assets/generated/ceremony/cake-table-v119.webp') center/cover no-repeat!important}.ck2-screen .room-stage{overflow-y:auto;overscroll-behavior:contain}.ck2-game{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:7px;padding:4px 0;text-align:center;color:#fff9ec;text-shadow:0 2px 6px #302025;font-family:Georgia,serif}.ck2-game>*{flex-shrink:0}.ck2-game h1{margin:0;font:clamp(20px,3.4vh,29px)/1.1 Georgia,serif}.ck2-game p{margin:0;font:14px/1.25 Georgia,serif}.ck2-eyebrow{letter-spacing:1px;color:#fff0ca;font:11px 'Segoe UI',sans-serif!important}.ck2-art{width:min(240px,65vw);height:clamp(140px,24vh,220px)}.ck2-art>svg,.ck2-pair>div>svg,.room-cake-choices button>svg{width:100%;height:100%}.ck2-options{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;width:100%}.ck2-screen button.ck2-option{min-width:0;min-height:48px;margin:0;padding:6px;background:#f7eee1cf;color:#4e3432;border:1px solid #fff;border-radius:13px;font:14px/1.1 'Segoe UI',sans-serif;letter-spacing:0;text-shadow:none}.ck2-screen button.ck2-option[aria-pressed=true]{border:2px solid #a96e22;background:#fff2d8;box-shadow:0 0 0 2px #fff9d9}.ck2-actions{display:flex;gap:8px;justify-content:center}.ck2-screen button.ck2-button{width:auto;min-height:44px;margin:0;padding:7px 18px;border-radius:99px;border:1px solid #fce6ad;background:linear-gradient(#f9e9c3,#d3a758,#fff0c7);color:#543520;font:16px Georgia,serif;text-shadow:none}.ck2-button:disabled{opacity:.5}.ck2-pair{display:flex;width:100%;justify-content:space-around}.ck2-pair>div{width:45%;height:clamp(150px,25vh,220px);display:flex;flex-direction:column;align-items:center}.ck2-pair>div>svg{min-height:0;flex:1}.ck2-error:empty{display:none}.room-cake-choices{display:flex;gap:8px;justify-content:center}.room-cake-choices button{width:110px;height:120px;display:flex;flex-direction:column;align-items:center;background:#fff2dacc;color:#4a3028;border-radius:14px}.room-cake-choices button>svg{min-height:0;flex:1}.room-cake-vote:empty{display:none}@media(max-height:650px){.ck2-game{gap:4px}.ck2-art{height:140px}.ck2-game h1{font-size:20px}.ck2-screen button.ck2-option{font-size:12px;min-height:44px}.ck2-game p{font-size:12px}}
.ck2-served{display:flex;align-items:center;justify-content:center;width:100%;height:clamp(130px,22vh,200px)}.ck2-served img{width:48%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 5px #40302b66)}
.ck2-art{width:min(320px,90vw);height:clamp(165px,30vh,235px)}
.ck2-game[data-step=topper] .ck2-options{grid-template-columns:repeat(6,minmax(0,1fr))}.ck2-game[data-step=topper] .ck2-option{grid-column:span 2}.ck2-game[data-step=topper] .ck2-option:nth-child(4),.ck2-game[data-step=topper] .ck2-option:nth-child(5){grid-column:span 3}@media(max-height:700px){.ck2-game[data-step=topper] .ck2-art{height:clamp(120px,23vh,155px)}}
body:has(.ck2-screen) .sound-switch{display:none}.ck2-screen .ck2-sound{font-size:19px;line-height:1;z-index:10}
.room-cake-slice{display:block;width:110px;height:90px;object-fit:contain;margin:0 auto}
.ck2-screen{background-size:auto,auto 125%!important;background-position:center,center top!important}
@media(max-height:650px){.ck2-screen{background-size:auto,auto 115%!important}}
.ck2-screen .ck2-top-back{position:absolute;top:calc(12px + env(safe-area-inset-top));left:14px;z-index:9;width:42px;height:42px;min-height:42px;padding:0;margin:0;border:1px solid #fff0d9a6;border-radius:50%;background:#36252755;backdrop-filter:blur(7px);color:#fff8ed;font:32px/1 Georgia,serif;text-shadow:0 1px 4px #25171b;box-shadow:none}.ck2-screen .brand{padding-left:49px}
/* Cake assembly fits the available space between the chat and its composer. */
.ck2-screen{background-image:url('/assets/generated/ceremony/cake-table-v119.webp')!important;background-size:auto 160%!important;background-position:center 75%!important;touch-action:pan-x}
.ck2-screen .room-shell{min-height:0;gap:5px;overflow:hidden}
.ck2-screen .room-stage{min-height:0;overflow:hidden;overscroll-behavior:none;touch-action:pan-x}
.ck2-screen .room-compose{position:relative;z-index:2}
.ck2-game{height:100%;min-height:0;box-sizing:border-box;justify-content:flex-end;gap:5px;padding:0 0 3px}
.ck2-game .ck2-art{flex:1 1 auto;min-height:0;width:min(100%,360px);height:auto;max-height:none}
.ck2-art>svg{display:block;object-position:center bottom}
.ck2-game .ck2-options,.ck2-game .ck2-actions,.ck2-game h1,.ck2-game .ck2-eyebrow{flex:0 0 auto}
.ck2-screen button.ck2-option{min-height:44px}
.ck2-game[data-step=sideDecor] .ck2-options{grid-template-columns:repeat(2,minmax(0,1fr))}
.ck2-screen .room-log{touch-action:pan-y}
@media(max-height:700px){.ck2-screen .room-chat{flex-basis:60px}.ck2-screen .room-log{height:60px}.ck2-game{gap:3px}.ck2-game[data-step=topper] .ck2-art{height:auto}.ck2-screen button.ck2-option{min-height:40px}}
.ck2-art>svg{transform:translateY(calc(-1 * clamp(0px, calc(37vh - 206px), 130px)))}
.ck2-art>svg{transform:translateY(calc(-1 * (clamp(0px, calc(37vh - 206px), 130px) + clamp(0px, calc(512px - 80vh), 70px))))}
.ck2-screen.room-screen{height:100dvh!important;min-height:100dvh!important;max-height:100dvh!important;background:url('/assets/generated/ceremony/cake-table-v122.webp') center center/cover no-repeat!important}
.ck2-screen .ck2-art>svg{transform:none}
@media(min-width:540px){.ck2-screen.room-screen{height:min(844px,100dvh)!important;min-height:min(844px,100dvh)!important;max-height:min(844px,100dvh)!important}}

.ck2-game[data-step=sideFlowers] .ck2-options{grid-template-columns:repeat(2,minmax(0,1fr))}
.ck2-game[data-step=sideDecor] .ck2-art>svg{height:calc(100% + 46px);transform:translateY(-46px)}
.ck2-served .cake-slice-art{width:48%;height:100%;object-fit:contain}
.room-cake-slice .cake-slice-art{width:100%;height:100%}

.ck2-served{height:clamp(165px,31vh,230px)}
.ck2-game[data-phase=CUT]{justify-content:center;gap:6px}.ck2-game[data-phase=CUT] .ck2-served{height:clamp(115px,25vh,215px);flex:0 1 auto}.ck2-game[data-phase=CUT] p{margin:0;font-size:14px;line-height:1.2}.ck2-game[data-phase=CUT] .ck2-button{min-height:40px;padding:8px 16px}

.ck2-screen.room-screen{background:transparent!important}
