/* Presentation only: one board, one engine, one responsive shell. */
.cu-shell{position:relative}
.cu-order-status{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:20px;font-size:12px;color:#36536a;padding:0 5px}.cu-order-status .cm-button{min-height:34px;padding:3px 10px}.cu-order-status .cm-button__label{font-size:12px;white-space:normal}
/* Order flow: compact character cards stay beside the live board at every viewport. */
.cu-order-flow .cu-merge-header,.cu-order-flow .cu-chain-strip{display:none!important}
.cu-order-host:empty{display:none}.cu-order-host{flex-shrink:0;min-width:0}
.cu-delivery-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding-top:48px;max-width:730px;margin:auto}
.cu-delivery-card{position:relative;min-width:0;border:2px solid #a9c5d1;border-radius:19px;background:linear-gradient(#fffdf5,#fff8eb);padding:5px 10px 8px;text-align:center;box-shadow:0 2px 0 #ffffff70 inset}
.cu-delivery-card.is-ready{border-color:#539765;background:#f0fbe8}.cu-order-character{position:absolute;left:50%;transform:translateX(-50%);top:-53px;width:73px!important;height:61px!important;z-index:0;object-fit:contain}
.cu-order-reward{position:relative;display:flex;align-items:center;justify-content:center;gap:4px;font-size:14px;min-height:22px;background:#e1eeff;border-radius:12px}.cu-order-reward .cu-art{width:20px;height:20px}
.cu-order-request{display:flex;align-items:center;justify-content:center;gap:5px;height:48px}.cu-order-request img{width:48px;height:48px}.cu-order-request span{font-weight:750;font-size:15px}.cu-order-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;border-bottom:3px solid var(--theme-color);margin-bottom:4px;padding-bottom:2px}
.cu-delivery-card .cm-button{width:100%;min-height:38px;padding:3px 7px!important}.cu-delivery-card .cm-button__label{font-size:14px!important}
.cu-order-flow .cu-merge-screen{max-width:1050px}.cu-order-flow .cu-merge-area{grid-template-columns:minmax(0,1fr) 240px}
.cu-map-screen{max-width:840px!important;gap:6px!important}.cu-map-heading{text-align:center}.cu-map-heading small{letter-spacing:3px;font-size:12px;color:#486d7e}.cu-map-controls{display:flex;align-items:center;justify-content:space-between;gap:14px}.cu-map-controls h2{font-size:20px;text-align:center}.cu-map-controls .cm-button{min-width:48px;min-height:44px;padding:2px 15px}
.cu-world-map{position:relative;width:100%;height:clamp(285px,49vh,500px);border-radius:38px;background:radial-gradient(ellipse at 50% 60%,#e6f7ef88 0 40%,transparent 41%),linear-gradient(160deg,#bde6f8,#9bd9ec);overflow:hidden;margin:10px 0;border:2px solid #ffffffa8}
.cu-world-map svg{position:absolute;inset:0;width:100%;height:100%}.cu-map-landmark{position:absolute;left:43%;top:28%;width:24%;height:27%;object-fit:contain;filter:drop-shadow(0 3px 3px #44694425)}
.cu-map-node.cm-button{position:absolute;transform:translate(-50%,-50%);min-width:56px;min-height:56px;width:56px;height:56px;padding:0;border-radius:50%;font-size:19px}.cu-map-node .cm-button__background{border-radius:50%;border-width:3px!important}.cu-map-node.is-cleared{--cm-button-color:#c8eacf}.cu-map-node.is-current{outline:5px solid #fff9;outline-offset:5px;--cm-button-color:#ffdf88}.cu-map-node.is-current:after{content:'PLAY';position:absolute;top:-27px;left:50%;transform:translateX(-50%);font-size:12px;background:#fff8eb;border-radius:12px;padding:2px 10px;color:#445444}
.cu-map-caption{display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px 20px;padding:12px 20px;background:#fff8ebc9;border-radius:22px}.cu-map-caption strong,.cu-map-caption .cm-progress,.cu-map-caption small{grid-column:1}.cu-map-caption>.cm-button{grid-column:2;grid-row:1/4;min-width:100px}.cu-blueprint-feature{text-align:center}.cu-blueprint-feature>.cm-button{display:flex;margin:12px auto!important}
@media(max-width:959px){.cu-order-flow .cu-merge-area{grid-template-columns:minmax(0,1fr)}.cu-order-flow .cu-board-sidebar{display:none}.cu-delivery-strip{max-width:550px;gap:7px;padding-top:37px}.cu-order-character{top:-41px;width:61px!important;height:48px!important}.cu-delivery-card{padding:3px 5px 5px;border-radius:15px}.cu-order-reward{font-size:12px;gap:2px}.cu-order-reward .cu-art{width:16px;height:16px}.cu-order-request{height:37px}.cu-order-request img{width:37px;height:37px}.cu-order-name{font-size:11px}.cu-delivery-card .cm-button{min-height:34px}.cu-delivery-card .cm-button__label{font-size:12px!important}}
@media(max-height:720px){.cu-delivery-strip{padding-top:25px}.cu-order-character{top:-28px;height:35px!important}.cu-order-request{height:31px}.cu-order-request img{width:31px;height:31px}.cu-order-name{margin-bottom:2px}.cu-delivery-card .cm-button{min-height:30px}.cu-order-flow .cu-selected-bar{min-height:48px!important}}
@media(max-height:520px) and (min-width:600px){.cu-order-flow .cu-merge-screen{display:grid;grid-template-columns:210px minmax(0,1fr);grid-template-rows:1fr auto}.cu-order-flow .cu-order-host{grid-column:1;grid-row:1/3;overflow:auto}.cu-order-flow .cu-delivery-strip{grid-template-columns:1fr;padding-top:30px;gap:33px}.cu-order-flow .cu-merge-area{grid-column:2;grid-row:1}.cu-order-flow .cu-selected-bar{grid-column:2;grid-row:2}.cu-order-flow .cu-board-sidebar{display:none}}
html:has(body.chrono-ui),body.chrono-ui{height:100%;overflow:hidden;margin:0;min-width:0;background:#b8e5ff}
body.chrono-ui{font-family:"Leelawadee UI","Noto Sans Thai",Tahoma,sans-serif;color:#25364a}
.cu-shell{height:100vh;height:100dvh;display:grid;grid-template-columns:188px minmax(0,1fr);grid-template-rows:84px minmax(0,1fr);padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:radial-gradient(ellipse at 90% 10%,#fff8eb91,transparent 55%),linear-gradient(160deg,var(--cm-sky),#d1eddb);font-family:var(--cm-font);overflow:hidden}
.cu-shell h1,.cu-shell h2,.cu-dialog h2{margin:0;font-family:inherit;line-height:1.45;color:var(--cm-ink);letter-spacing:0;font-weight:750;text-shadow:none}
.cu-shell h1{font-size:28px}.cu-shell h2,.cu-dialog h2{font-size:21px}.cu-shell p,.cu-dialog p{margin:8px 0;line-height:1.55}.cu-muted{color:var(--cm-ui-text-secondary,#4b5869);font-size:15px}.cu-eyebrow{font-size:15px;font-weight:700}
.cu-shell button,.cu-dialog button{font-family:inherit}.cu-shell [hidden]{display:none!important}
.cu-art{display:block;object-fit:contain;object-position:center;aspect-ratio:1;flex-shrink:0}.cu-art-error{background:#fff8eb;border:1px dashed #8b2535;color:#8b2535;font-size:12px}
.cu-hud{grid-column:1/-1;display:flex;justify-content:flex-end;align-items:center;gap:12px;padding:12px 24px;background:color-mix(in srgb,var(--cm-ui-surface-primary,#fff8eb) 80%,transparent);border-bottom:2px solid #ffffffad;z-index:2}
.cu-hud .cu-profile{margin-right:auto;padding:4px 10px;min-width:76px}.cu-profile .cm-button__icon{width:44px;height:44px}.cu-wallet{padding:5px 16px;min-width:120px}.cu-wallet .cm-button__icon{width:34px;height:34px}.cu-settings{padding:7px}.cu-settings .cm-button__icon{width:34px;height:34px}
.cu-nav{grid-column:1;grid-row:2;display:flex;flex-direction:column;gap:12px;justify-content:flex-start;padding:24px 12px;background:#fff8ebad;border-right:2px solid #fff9;z-index:3}
.cu-nav .cm-button{justify-content:flex-start;padding:10px 12px;min-height:70px}.cu-nav .cm-button__icon{width:42px;height:42px}.cu-nav .cm-button__label{font-size:15px}.cu-nav .cm-button[aria-current=page]{--cm-button-color:var(--cm-mint)}.cu-nav .cm-button[aria-current=page] .cm-button__background{border-color:#35704b}
.cu-host{grid-column:2;grid-row:2;overflow:auto;overscroll-behavior:contain;outline:none;min-height:0;padding:24px;scrollbar-gutter:stable}
.cu-screen{max-width:1180px;margin:0 auto;display:flex;flex-direction:column;gap:20px;padding-bottom:16px;animation:cu-route 180ms ease-out}
.cu-page-heading p{margin:3px 0 0}.cu-screen .cm-panel{flex-shrink:0}.cu-screen .cm-panel>.cm-button{margin:6px 8px 0 0}.cu-screen .cm-panel h2{font-size:20px}
.cu-home-hero{position:relative;isolation:isolate;min-height:310px;border-radius:32px;border:3px solid #fff8eb;overflow:hidden;display:flex;align-items:center;padding:28px 36px;background-color:#e6f3d9;background-image:linear-gradient(90deg,#fff8ebfa,#fff8eb99 50%,#fff8eb0a),var(--hero-art);background-size:auto,cover;background-position:center;box-shadow:2px 4px 12px #25364a14}
.cu-hero-copy{z-index:1;max-width:75%}.cu-hero-copy h1{font-size:clamp(30px,3vw,44px);color:#386444}.cu-hero-copy p{font-weight:650}.cu-hero-mascot{width:190px;height:190px;position:absolute;right:3%;bottom:5%;filter:drop-shadow(2px 4px 4px #25364a16);z-index:0}.cu-home-mission{display:grid;grid-template-columns:1fr auto;gap:8px 20px;align-items:center}.cu-home-mission h2,.cu-home-mission p{grid-column:1}.cu-home-mission .cm-button{grid-column:2;grid-row:1/4}
.cu-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.cu-quick.cm-button{display:grid;grid-template-columns:60px minmax(0,1fr);grid-template-rows:auto auto;justify-content:start;text-align:left;padding:16px;border-radius:24px;gap:0 10px;min-height:100px}.cu-quick .cm-button__icon{grid-row:1/3;width:60px;height:60px}.cu-quick .cm-button__label{font-size:19px}.cu-quick small{font-size:14px;font-weight:400;grid-column:2;white-space:normal;line-height:1.5}
.cu-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:20px}.cu-mascot{width:110px;height:110px;float:right;margin:0 0 10px 12px}.cu-card-emblem{width:58px;height:58px;float:right}.cu-objectives{clear:both;display:flex;flex-direction:column;gap:8px;margin:16px 0}.cu-objective{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:16px}.cu-objective b{flex-shrink:0;font-variant-numeric:tabular-nums}.cu-reward-line{color:#624614;background:var(--cm-yellow);border-radius:12px;padding:8px 12px}.cu-empty{min-height:125px}.cu-chip{padding:10px 16px;border-radius:16px;background:#fff8eb;color:#4b5869;border:1px solid #d6ba94;font-size:15px}.cu-chip.active{background:var(--cm-mint);color:#214d32}.cu-chips{display:flex;flex-wrap:wrap;gap:8px}
.cu-research-tree{position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;padding:26px;border-radius:32px;overflow:hidden;background-image:linear-gradient(#edf7eccc,#edf7ecdd),var(--scene-art);background-size:cover;background-position:center}.cu-research-tree:before{content:'';position:absolute;inset:10% 25%;border:7px dashed #94af94;border-radius:45%;z-index:-1}.cu-research-node{position:relative;text-align:center;border-color:#b4cda8}.cu-research-node.is-completed{border-color:#35704b;background:linear-gradient(#fffdf6,#d8eed5)}.cu-research-node .cu-item-art{margin:10px auto;width:116px;height:116px}.cu-node-number{position:absolute;top:-16px;left:20px;width:40px;height:40px;display:grid;place-items:center;border:2px solid #b9976b;border-radius:50%;background:var(--cm-yellow);font-size:20px;font-weight:700}.cu-requirements{font-size:15px}.cu-requirements p{margin:4px 0}
.cu-order-card .cu-item-art,.cu-shop-card .cu-item-art,.cu-inventory-card .cu-item-art{width:124px;height:124px;margin:10px auto}.cu-shop-card{text-align:center}.cu-cost{display:inline-flex;align-items:center;gap:5px;margin:4px 10px}.cu-cost img{width:28px;height:28px}.cu-shop-banner{min-height:150px;background:linear-gradient(120deg,#fff8eb,#e2d6ff)}
.cu-filter-bar{display:flex;gap:12px}.cu-filter-bar input,.cu-filter-bar select{min-width:0;min-height:48px;border:2px solid #d6ba94;border-radius:16px;background:#fffdf6;color:#25364a;font:inherit;padding:8px 14px}.cu-filter-bar input{flex:1}.cu-filter-bar select{max-width:46%}.cu-codex-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(156px,1fr));gap:16px}.cu-codex-card.cm-button{display:flex;flex-direction:column;justify-content:flex-start;gap:8px;padding:16px 10px;border-radius:24px}.cu-codex-card .cu-item-art{width:105px;height:105px}.cu-codex-card .cm-button__label{font-size:16px;text-align:center}.cu-codex-card small{font-size:14px;font-weight:400}.cu-unknown{width:80px;height:105px;opacity:.55}.cu-event-hero{background-image:linear-gradient(90deg,#fff8ebee,#fff8ebc9),var(--scene-art);background-size:cover;background-position:center;min-height:190px}.cu-day-track{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}.cu-day-slot{background:var(--cm-lavender);padding:10px;border-radius:16px;text-align:center}.cu-day-slot img{width:32px;height:40px;margin:auto}.cu-day-slot b{font-size:14px}.cu-setting{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;font-size:17px}.cu-setting input{min-height:44px;accent-color:#35704b}.cu-setting input[type=checkbox]{width:28px}.cu-setting input[type=range]{width:45%;max-width:260px}.cu-tool-link{display:inline-block;color:#245fa5;padding:14px 18px;min-height:48px}
.cu-host.is-board{overflow:hidden;padding:16px;scrollbar-gutter:auto}.cu-merge-screen{height:100%;min-height:0;display:flex;flex-direction:column;gap:12px;max-width:1220px;margin:auto}.cu-merge-header{display:flex;align-items:center;gap:12px;flex-shrink:0}.cu-merge-header h1{font-size:24px;margin-right:auto}.cu-merge-area{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;min-height:0;flex:1}.cu-board-sidebar{overflow:auto;min-height:0;display:flex;flex-direction:column;gap:14px}.cu-board-sidebar .cm-panel{padding:16px}.cu-board-sidebar .cm-button{width:100%}.cu-board-sidebar p{font-size:15px}.cu-board-sidebar .cu-mascot{width:76px;height:76px}
body.chrono-ui .game.cu-live-game{position:relative;width:100%;height:100%;max-width:none;min-width:0;min-height:0;margin:0;padding:12px;background:linear-gradient(145deg,#fff8eb,#e8eed7);border:2px solid #d6ba94;border-radius:28px;display:flex!important;flex-direction:column!important;gap:0;box-shadow:2px 4px 10px #25364a14;overflow:hidden}
.cu-live-game>.command-head,.cu-live-game>.quest,.cu-live-game>.orders{display:none!important}.cu-live-game>.board-wrap{padding:4px!important;flex:1!important;min-height:0!important;min-width:0;display:flex!important;justify-content:center;align-items:center;overflow:hidden!important;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important}
body.chrono-ui #board{flex:none;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;touch-action:none}
body.chrono-ui #board .cell{border-radius:clamp(5px,1vw,14px)!important;border:1px solid #d6d3b9!important;box-shadow:inset 0 1px 0 #ffffffa0!important;background:var(--board-tileLight,#fff1d8)!important;min-height:0!important;min-width:0!important;touch-action:none}
body.chrono-ui #board .cell.checker-dark{background:var(--board-tileDark,#e7edcf)!important}body.chrono-ui #board .cell.permanent-lock{background:var(--board-locked,#c5d5cc)!important;opacity:.66}body.chrono-ui #board .cell[aria-pressed=true]{outline:3px solid #8c6a00!important;outline-offset:-3px!important}body.chrono-ui #board .item{width:90%!important;height:90%!important;max-width:none;max-height:none}body.chrono-ui #board .item img{object-fit:contain!important}body.chrono-ui #board .gauge{bottom:2px;height:5px;left:8%;width:84%}.cu-selected-bar{display:flex;align-items:center;gap:12px;background:#fff8ebdb;border:2px solid #d6ba94;border-radius:20px;padding:6px 12px;min-height:64px;flex-shrink:0}.cu-selection-art{width:48px;height:48px}.cu-selected-bar>div{flex:1;min-width:0}.cu-selected-bar small{display:block;color:#4b5869;font-size:14px}.cu-selected-bar strong{font-size:16px;display:block}.cu-selected-bar p{flex:1;font-size:15px;margin:0}.cu-selected-bar .cm-button{padding:6px 14px;font-size:15px}.cu-selected-bar .cm-button__label{font-size:15px}
body.chrono-ui dialog{font-family:"Leelawadee UI","Noto Sans Thai",Tahoma,sans-serif;color:#25364a;background:linear-gradient(#fffdf6,#fff8eb);border:2px solid #d6ba94;border-radius:26px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;box-sizing:border-box}body.chrono-ui dialog::backdrop{background:#25364a70;backdrop-filter:blur(3px)}
body.chrono-ui .cu-dialog{width:min(540px,calc(100vw - 24px));margin:auto;padding:22px;text-align:center;box-shadow:2px 8px 22px #25364a20}body.chrono-ui .cu-dialog .cm-button{box-shadow:none!important;text-shadow:none!important}.cu-modal-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.cu-modal-heading h2{text-align:left}.cu-modal-heading .cm-button{padding:6px 10px}.cu-modal-heading .cm-button__icon{width:20px;height:20px}.cu-detail-art{width:166px;height:166px;margin:0 auto 12px}.cu-dialog>.cm-button{margin:8px 4px}.cu-notice{position:absolute;z-index:80;bottom:24px;left:50%;transform:translate(-50%,12px);opacity:0;pointer-events:none;background:#25364af2;color:#fff8eb;max-width:min(620px,calc(100vw - 28px));padding:12px 22px;border-radius:18px;font-size:16px;transition:opacity 180ms,transform 180ms;line-height:1.5}.cu-notice.show{opacity:1;transform:translate(-50%,0)}.cu-startup{position:fixed;inset:20px;z-index:100;display:grid;place-content:center;background:#fff8eb;color:#25364a;border-radius:24px;font:18px/1.5 "Leelawadee UI",Tahoma,sans-serif}.cu-startup.error{inset:auto 20px 20px;padding:16px;display:block;border:2px solid #8b2535}.cu-startup button{min-height:48px}
@keyframes cu-route{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:none}}
/* Retire the previous layout only inside the installed shell. */
body.chrono-ui .cu-nav{height:auto!important;min-height:0;border-radius:0;margin:0!important;display:flex!important}
body.chrono-ui .cu-live-game>.command-head,body.chrono-ui .cu-live-game>.quest,body.chrono-ui .cu-live-game>.orders,body.chrono-ui .cu-live-game>nav{display:none!important}
body.chrono-ui .cu-shell input,body.chrono-ui .cu-shell select{caret-color:auto;user-select:text;-webkit-user-select:text}
body.chrono-ui .cu-shell,body.chrono-ui .cu-shell button,body.chrono-ui .cu-shell input,body.chrono-ui .cu-shell select,body.chrono-ui .cu-dialog,body.chrono-ui .cu-dialog button{font-family:var(--cm-font,"Leelawadee UI",Tahoma,sans-serif)!important}
body.chrono-ui .game.cu-live-game{width:100%!important;height:100%!important;min-height:0!important;min-width:0!important;max-width:none!important;max-height:100%!important;aspect-ratio:auto!important;grid-area:auto!important;grid-template-areas:none!important;align-self:stretch!important}
body.chrono-ui .cu-live-game>.board-wrap,body.chrono-ui .cu-live-game>.board-wrap:has(#board[style]){height:auto!important;min-height:0!important;min-block-size:0!important;max-height:100%!important;grid-area:auto!important;align-items:center!important}
.cu-merge-area{grid-template-rows:minmax(0,1fr)}
.cu-clear-selection.cm-button{padding:6px!important;min-width:44px;flex-shrink:0}.cu-clear-selection .cm-button__icon{width:20px;height:20px}.cu-clear-selection .cm-button__label{display:none}
.cu-button-preview{display:flex;flex-wrap:wrap;gap:8px;background:#edf4e8;border-radius:18px;padding:14px;margin:12px 0}.cu-button-preview h3{width:100%;font-size:16px;margin:0 0 8px}.cu-dialog .cu-setting select{min-width:0;max-width:65%;min-height:44px;padding:8px;border:1px solid #d6ba94;border-radius:12px;background:#fffdf6;color:#25364a;font:inherit}.cu-dialog input[type=color]{width:64px;height:44px;min-height:44px}
body.chrono-ui.jelly-ui dialog button.jelly-button[data-ui-group]{--cm-button-color:var(--cm-ui-button-base,#b8e5ff);--button-ink:var(--cm-ui-button-ink,var(--cm-ink));color:var(--cm-ui-button-ink,var(--cm-ink));box-shadow:none!important;text-shadow:none!important;min-height:44px!important;font-size:16px!important;line-height:1.5!important}
body.chrono-ui.jelly-ui dialog button.jelly-button[data-ui-group=primary]{--cm-button-color:var(--cm-ui-button-base,#bde58c)}body.chrono-ui.jelly-ui dialog button.jelly-button[data-ui-group=confirm]{--cm-button-color:var(--cm-ui-button-base,#c8eacf)}body.chrono-ui.jelly-ui dialog button.jelly-button[data-ui-group=cancel]{--cm-button-color:var(--cm-ui-button-base,#fff8eb)}body.chrono-ui.jelly-ui dialog button.jelly-button[data-ui-group=danger]{--cm-button-color:var(--cm-ui-button-base,#ffd3d9)}
body.chrono-ui.jelly-ui dialog button.jelly-button[data-button-kind]::before{border:2px solid color-mix(in srgb,var(--cm-button-color),#536176 22%)!important;border-image:none!important;background:linear-gradient(150deg,color-mix(in srgb,var(--cm-button-color),white 22%),var(--cm-button-color))!important;border-radius:inherit;box-shadow:inset 0 2px 0 #ffffff8f!important}
body.chrono-ui.jelly-ui dialog button.jelly-button[data-button-kind]:disabled::before{background:var(--cm-ui-button-disabled,#e3e6e8)!important;border-color:#bdc4c9!important}
.cm-button[aria-busy=true] .cm-button__label::after{content:' ⋯'}.cu-hud .cu-profile,.cu-hud .cu-settings{min-width:44px!important}.cu-selected-bar p{font-size:14px!important}
body.chrono-ui.jelly-ui dialog button.jelly-button.close{min-width:44px!important;max-width:44px!important;min-height:44px!important;height:44px!important}
body.chrono-ui .app-dialog>small,body.chrono-ui .app-dialog>p,body.chrono-ui .expanded-settings,body.chrono-ui #roomActions{color:#4b5869!important;font-size:15px!important;line-height:1.5!important}
body.chrono-ui #roomStage{background:radial-gradient(ellipse at 50% 15%,#e2d6ff,#c8eacf 75%);border:2px solid #b4c9ab;box-shadow:inset 0 2px 8px #25364a10}
body.chrono-ui #roomStage::before{background:repeating-linear-gradient(90deg,transparent 0 49px,#fff8ebaa 50px 51px),repeating-linear-gradient(0deg,#e9f1d9 0 49px,#fff8ebaa 50px 51px)}
body.chrono-ui .room-fixture{background:#fff8ebd9;border:1px solid #b4c9ab;color:#4b5869;font-size:13px;min-width:48px;min-height:44px}
body.chrono-ui #roomShop article{background:#fff8eb;border:1px solid #d6ba94;color:#25364a;font-size:15px;grid-template-columns:48px minmax(0,1fr) auto}
body.chrono-ui .map-summary{background:#e2d6ff;color:#25364a}
body.chrono-ui #levelMap small{font-size:13px!important;color:#4b5869!important}body.chrono-ui #levelMap em{font-size:13px;color:#624614}
body.chrono-ui .project-requirement{background:#f4f3e5;border:1px solid #d6ba94;grid-template-columns:48px minmax(0,1fr) auto!important}
body.chrono-ui .project-requirement b{font-size:16px!important;color:#25364a;line-height:1.5}body.chrono-ui .project-requirement small{font-size:14px!important;color:#4b5869!important;line-height:1.5}
body.chrono-ui .project-help{background:#e2d6ff;color:#4b5869!important;font-size:14px!important;line-height:1.5!important}body.chrono-ui .project-reward-summary{background:#ffe49a;color:#624614}body.chrono-ui .project-reward-summary b,body.chrono-ui .project-reward-summary span{color:#624614;font-size:15px}
body.chrono-ui .project-send-button{width:auto!important;min-width:56px;height:auto!important;aspect-ratio:auto!important;padding:8px!important;box-shadow:none!important}
@media(max-width:359px),(max-height:520px){body.chrono-ui #board .gen-level,body.chrono-ui #board .generator-specialization{display:none}}
body.chrono-ui dialog,body.chrono-ui dialog button{font-family:var(--cm-font)!important}body.chrono-ui .map-wallet{display:flex;background:#e2d6ff;gap:12px;justify-content:center;padding:8px;border-radius:18px}body.chrono-ui .map-wallet>b{display:inline-flex;align-items:center;gap:4px;background:#fff8eb;padding:4px 9px;color:#25364a;font-size:16px}body.chrono-ui .map-wallet img{width:25px;height:25px}body.chrono-ui .map-wallet i{font-size:16px;font-style:normal}
/* Anchored room controls must retain their hit target while pressed. */
body.chrono-ui .room-fixture.ui-press,body.chrono-ui .room-fixture.ui-release{transform:translate(-50%,-50%)!important;animation:none!important}
.cu-scenic-heading{background-color:#fff8eb;background-image:linear-gradient(90deg,#fff8ebf2,#fff8eb99),var(--heading-art);background-size:cover;background-position:center;border:2px solid #ffffffaa;border-radius:24px;padding:16px 20px;min-height:90px}
.cu-chain-grid{display:flex;flex-direction:column;gap:16px}.cu-chain-row.cm-panel{padding:14px;min-width:0}.cu-chain-row h2{font-size:18px!important}.cu-chain-row>small{font-size:14px;color:#4b5869}.cu-chain-items{display:flex;gap:8px;overflow-x:auto;max-width:100%;padding:8px 0;overscroll-behavior:contain;touch-action:pan-x}.cu-chain-items .cu-codex-card.cm-button{flex:0 0 100px;min-width:100px;padding:8px 6px;border-radius:16px}.cu-chain-items .cu-codex-card .cu-item-art{width:64px;height:64px}.cu-chain-items .cu-codex-card .cu-unknown{width:48px;height:64px}.cu-chain-items .cu-codex-card .cm-button__label{font-size:14px}.cu-chain-items .cu-codex-card small{font-size:13px}
.cu-chain-strip{display:flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;min-height:62px;padding:5px 12px;border:1px solid #d6ba94;border-radius:18px;background:#fff8ebcc}.cu-chain-strip>strong{font-size:15px;max-width:180px;margin-right:auto}.cu-chain-mini.cm-button{display:flex;flex-direction:column;gap:0;min-width:64px;padding:4px 8px;border-radius:14px}.cu-chain-mini .cu-art{width:34px;height:34px}.cu-chain-mini .cm-button__label{font-size:12px}.cu-chain-mini .cm-button__background,.cu-chain-mini .cm-button__foreground{display:none}
@media(max-width:599px){.cu-scenic-heading{padding:12px 16px;min-height:86px}.cu-chain-strip{padding:4px;gap:1px;min-height:62px}.cu-chain-strip>strong{display:none}.cu-chain-mini.cm-button{flex:1;min-width:0;padding:2px;min-height:48px}.cu-chain-mini .cm-button__label{font-size:11px}.cu-chain-mini .cu-art{width:32px;height:32px}.cu-chain-items .cu-codex-card.cm-button{min-width:82px;flex-basis:82px}.cu-chain-row h2{font-size:17px!important}.cu-quest-card .cu-objectives{margin:8px 0;gap:4px}.cu-quest-card .cm-progress{height:14px}.cu-quest-card p.cu-muted{font-size:14px}.cu-quest-card .cu-card-emblem{width:44px;height:44px}.cu-quest-card.cm-panel{padding:14px}}
@media(max-width:599px) and (max-height:739px),(max-height:520px){.cu-chain-strip{display:none}}
@media(max-width:959px){.cu-shell{grid-template-columns:minmax(0,1fr);grid-template-rows:72px minmax(0,1fr) 86px}.cu-hud{grid-column:1;grid-row:1;padding:8px 12px;gap:8px}.cu-host{grid-column:1;grid-row:2;padding:16px}.cu-nav{grid-column:1;grid-row:3;flex-direction:row;gap:4px;padding:6px 8px;border-right:0;border-top:2px solid #fff9;background:#fff8ebf2}.cu-nav .cm-button{flex:1;min-width:0;min-height:68px;padding:4px 1px;flex-direction:column;gap:0;border-radius:16px;justify-content:center}.cu-nav .cm-button__icon{width:38px;height:38px}.cu-nav .cm-button__label{font-size:14px;white-space:nowrap}.cu-merge-area{grid-template-columns:minmax(0,1fr)}.cu-board-sidebar{display:none}.cu-live-game{max-width:650px!important;margin:auto!important}.cu-notice{bottom:98px}.cu-quick-grid{gap:10px}.cu-quick.cm-button{grid-template-columns:50px minmax(0,1fr);padding:14px 10px}.cu-quick .cm-button__icon{width:50px;height:50px}}
@media(max-width:599px){.cu-shell{grid-template-rows:66px minmax(0,1fr) 78px}.cu-hud{padding:6px 8px;gap:5px}.cu-hud .cu-profile{padding:3px 5px;min-width:43px;margin-right:0}.cu-profile .cm-button__icon{width:32px;height:32px}.cu-profile .cm-button__label{font-size:12px}.cu-wallet{flex:1;min-width:0;padding:4px 6px;gap:1px}.cu-wallet .cm-button__icon{width:27px;height:27px}.cu-wallet .cm-button__label{font-size:15px}.cu-settings{min-width:40px;padding:4px}.cu-settings .cm-button__icon{width:27px;height:27px}.cu-nav{padding:4px;gap:2px}.cu-nav .cm-button{min-height:64px;border-radius:14px}.cu-nav .cm-button__icon{width:35px;height:35px}.cu-nav .cm-button__label{font-size:12px}.cu-nav .cm-button__foreground{inset-inline:5px}.cu-host{padding:12px}.cu-screen{gap:14px}.cu-shell h1{font-size:24px}.cu-home-hero{min-height:238px;padding:20px;border-radius:24px;background-position:56% center}.cu-hero-copy{max-width:80%}.cu-hero-copy h1{font-size:30px}.cu-hero-copy p{font-size:14px}.cu-hero-mascot{width:105px;height:105px;right:0;bottom:0}.cu-home-mission{display:block}.cu-home-mission .cm-button{width:100%;margin-top:10px}.cu-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cu-quick.cm-button{grid-template-columns:40px minmax(0,1fr);gap:0 3px;padding:12px 8px;min-height:98px}.cu-quick .cm-button__icon{width:40px;height:40px}.cu-quick .cm-button__label{font-size:16px}.cu-quick small{font-size:12px;grid-column:1/-1;text-align:center}.cu-research-tree{grid-template-columns:minmax(0,1fr);gap:28px;padding:22px 12px}.cu-research-tree:before{inset:5% 45%}.cu-research-node .cu-item-art{width:96px;height:96px}.cu-codex-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cu-codex-card .cu-item-art{width:95px;height:95px}.cu-codex-card .cm-button__label{font-size:15px}.cu-codex-card.cm-button{padding:12px 8px}.cu-card-grid{gap:14px}.cu-day-track{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.cu-day-slot{padding:8px 4px}.cu-day-slot b{font-size:13px}.cu-host.is-board{padding:8px}.cu-merge-screen{gap:6px}.cu-merge-header{gap:6px}.cu-merge-header h1{font-size:20px}.cu-merge-header .cm-button{padding:6px 10px;gap:3px;min-height:44px}.cu-merge-header .cm-button__label{font-size:14px}.cu-merge-header .cm-button__icon{width:23px;height:23px}body.chrono-ui .game.cu-live-game{padding:6px;border-radius:20px}.cu-selected-bar{padding:4px 8px;gap:6px;min-height:60px}.cu-selected-bar .cm-button{padding:4px 8px;min-height:44px}.cu-selection-art{width:44px;height:44px}.cu-selected-bar strong{font-size:14px}.cu-selected-bar small,.cu-selected-bar p{font-size:12px}.cu-selected-bar .cm-button__label{font-size:14px}.cu-notice{bottom:88px;font-size:15px;padding:10px 14px}body.chrono-ui .cu-dialog{padding:16px}.cu-modal-heading h2{font-size:19px}}
@media(max-width:359px){.cu-shell{grid-template-rows:60px minmax(0,1fr) 72px}.cu-merge-header h1{font-size:17px}.cu-merge-header .cm-button__icon{display:none}.cu-profile .cm-button__label{display:none}.cu-hud .cu-profile{min-width:38px}.cu-wallet .cm-button__icon{width:22px;height:22px}.cu-wallet .cm-button__label{font-size:14px}.cu-merge-header .cm-button{padding:4px 8px}.cu-host.is-board{padding:4px}.cu-merge-screen{gap:4px}.cu-selected-bar{min-height:54px}.cu-selection-art{width:36px;height:36px}.cu-nav .cm-button__label{font-size:11px}.cu-nav .cm-button__icon{width:31px;height:31px}.cu-quick .cm-button__label{font-size:14px}}
@media(max-height:520px) and (min-width:600px){.cu-shell{grid-template-columns:80px minmax(0,1fr);grid-template-rows:58px minmax(0,1fr)}.cu-hud{grid-column:1/-1;padding:4px 12px}.cu-host{grid-column:2;grid-row:2;padding:8px}.cu-nav{grid-column:1;grid-row:2;flex-direction:column;justify-content:space-around;padding:4px;border-top:0}.cu-nav .cm-button{min-height:48px;flex:0;padding:2px;gap:0;flex-direction:column}.cu-nav .cm-button__icon{width:24px;height:24px}.cu-nav .cm-button__label{font-size:11px}.cu-merge-screen{gap:4px}.cu-merge-header{display:none}.cu-merge-area{grid-template-columns:minmax(0,1fr) 280px}.cu-board-sidebar{display:flex}.cu-selected-bar{min-height:50px}.cu-selection-art{width:36px;height:36px}.cu-selected-bar .cm-button{min-height:40px}.cu-notice{bottom:10px;left:60%}}
@media(prefers-reduced-motion:reduce){.cu-screen,.cu-notice{animation:none;transition:none}.chrono-ui .item{animation:none!important}}

@media(max-height:520px) and (min-width:600px){
 .cu-order-flow .cu-order-host{min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:3px}
 .cu-order-flow .cu-delivery-strip{height:auto;flex:1;min-height:0;width:100%;box-sizing:border-box;grid-template-rows:repeat(3,minmax(0,1fr));padding:0;gap:6px}
 .cu-order-flow .cu-delivery-card{min-height:0;padding:3px 5px 3px 46px;display:grid;grid-template-rows:18px minmax(22px,1fr) 36px}
 .cu-order-flow .cu-order-character{left:23px;top:18px;width:44px!important;height:48px!important}
 .cu-order-flow .cu-order-reward{min-height:0;font-size:11px}.cu-order-flow .cu-order-request{height:auto;min-height:0}.cu-order-flow .cu-order-request img{width:27px;height:27px}
 .cu-order-flow .cu-order-name{display:none}.cu-order-flow .cu-delivery-card .cm-button{min-height:34px}
}

/* PLAY flow refresh: compact chrome, artwork feedback, consistent bottom anchors. */
.cu-play-nav{grid-column:1/-1;grid-row:3;display:flex;align-items:center;gap:8px;padding:4px 8px;background:color-mix(in srgb,var(--cm-ui-surface-primary,#fff8eb) 93%,transparent);border-top:2px solid #ffffffa0;z-index:3}
.cu-play-nav .cm-button{min-height:48px;padding:3px 12px;gap:4px;flex:1;min-width:0}.cu-play-nav .cm-button__icon{width:32px;height:32px}.cu-play-nav .cm-button__label{font-size:14px}
.cu-order-flow.cu-shell{grid-template-columns:minmax(0,1fr);grid-template-rows:60px minmax(0,1fr) 58px}.cu-order-flow .cu-host{grid-column:1;grid-row:2}.cu-order-flow .cu-hud{padding:4px 8px}.cu-order-flow .cu-hud .cm-button{min-height:44px}
body.chrono-ui .cu-order-flow .cu-nav{display:none!important}.cu-order-flow .cu-merge-screen{max-width:1000px}.cu-order-flow .cu-board-sidebar{display:none}.cu-order-flow .cu-merge-area{grid-template-columns:minmax(0,1fr)}
.cu-order-status:empty{display:none}.cu-order-flow .cu-delivery-strip{padding-top:36px;gap:6px;max-width:none}.cu-order-flow .cu-delivery-card{padding:4px 5px;border-radius:14px}.cu-order-flow .cu-order-request{height:44px;gap:5px}.cu-order-flow .cu-order-request img{width:36px;height:36px}.cu-request-slot{border:2px solid #a7b0b4;border-radius:10px;background:#e4e9e5;padding:2px;filter:saturate(.7);transition:filter .25s,border-color .25s}.cu-request-slot.is-delivered{border-color:#78c8a2;background:#e2ffe4;filter:none;box-shadow:0 0 7px #9bebbc,inset 0 0 5px #fff}.cu-request-slot.is-delivered img{filter:drop-shadow(0 0 4px #96eeb6)}
.cu-order-flow .cu-order-character{top:-39px;width:58px!important;height:44px!important;transform-origin:50% 95%;animation:cu-order-breathe var(--breath-duration,3s) ease-in-out var(--breath-delay,0s) infinite}.cu-order-reward{font-size:12px}
@keyframes cu-order-breathe{0%,100%{transform:translateX(-50%) scale(1) rotate(-1deg)}50%{transform:translateX(-50%) scale(1.035,1.055) rotate(1deg)}}
body.chrono-ui #board .cell{background:var(--cm-ui-board-a,#fff0cf)!important;border-color:var(--cm-ui-board-border,#b8b892)!important}body.chrono-ui #board .cell.checker-dark{background:var(--cm-ui-board-b,#cbdba5)!important}body.chrono-ui #board .cell.permanent-lock{background:linear-gradient(135deg,var(--cm-ui-locked-surface,#edc0b7),var(--cm-ui-locked-surface-end,#dca296))!important;opacity:var(--cm-ui-locked-opacity,1)!important;border-color:var(--cm-ui-locked-border,#be827c)!important}.cu-lock-level{font-size:clamp(10px,2.5vw,19px);color:var(--cm-ui-locked-text,#874e4c);font-weight:800;background:color-mix(in srgb,var(--cm-ui-locked-surface,#edc0b7),white 45%);border:1px solid var(--cm-ui-locked-border,#be827c);border-radius:50%;padding:6px 3px;pointer-events:none}

/* Board presentation adapter: absolutely positioned sibling, never a grid child. */
body.chrono-ui .cu-live-game>.board-wrap{position:relative}
body.chrono-ui .cm-board-perimeter{position:absolute;min-height:0;max-width:none;padding:0;pointer-events:none!important;z-index:2;overflow:hidden;isolation:isolate}
.cm-board-perimeter *{pointer-events:none!important}
.cm-board-perimeter .cm-frame__surface{background:none!important;box-shadow:none}
.cm-board-perimeter .cm-frame__structure{opacity:.7}
.cm-board-perimeter .cm-frame__rim{stroke-width:var(--cm-board-rim-width,3px)}
.cm-board-perimeter .cm-frame__shine{stroke-width:calc(var(--cm-board-rim-width,3px) / 2)}
.cm-board-perimeter .cm-frame__ornament{width:var(--cm-board-corner-width,16px);height:auto;aspect-ratio:var(--cm-art-ratio);filter:drop-shadow(0 1px 1px #25364a18)}
.cm-board-perimeter .cm-frame__ornament[hidden]{display:none}
.cm-board-perimeter .cm-frame__ornament[data-anchor=top-left]{left:3px;top:3px}
.cm-board-perimeter .cm-frame__ornament[data-anchor=top-right]{right:3px;top:3px}
.cm-board-perimeter .cm-frame__ornament[data-anchor=bottom-left]{left:3px;bottom:3px}
.cm-board-perimeter .cm-frame__ornament[data-anchor=bottom-right]{right:3px;bottom:3px}
.cm-board-junctions{position:absolute;inset:0}
.cm-board-junction{position:absolute;object-fit:contain;transform:translate(-50%,-50%);opacity:.65}

/* STEP 6: visual rollout, preserving native DOM, handlers and preference keys. */
.cu-shell .cm-integrated-button.cm-button,.cu-dialog .cm-integrated-button.cm-button{min-width:0;min-height:44px}
.cm-integrated-button .cm-frame__ornament{width:18px;height:auto;aspect-ratio:var(--cm-art-ratio);filter:drop-shadow(0 1px 1px #25364a18)}
.cm-integrated-button .cm-frame__ornament[data-anchor=bottom-left]{left:2px;bottom:2px}
.cm-integrated-button .cm-frame__ornament[data-anchor=bottom-right]{right:2px;bottom:2px}
.cu-hud .cm-integrated-button{padding:4px 8px;min-height:44px;border-radius:24px}
.cu-hud .cm-integrated-button .cm-frame__structure{grid-template-columns:18px minmax(0,1fr) 18px;grid-template-rows:18px minmax(0,1fr) 18px}
.cu-play-nav .cm-integrated-button .cm-frame__ornament{width:14px}
.cm-integrated-panel{background:transparent!important;border-color:transparent!important;box-shadow:none!important}
.cm-integrated-panel>.cm-frame__layers{z-index:-1}
.cm-integrated-panel .cm-frame__ornament{width:24px;height:auto;aspect-ratio:var(--cm-art-ratio)}
.cm-integrated-panel .cm-frame__ornament[data-anchor=top-left]{left:-3px;top:-5px}
.cm-integrated-panel .cm-frame__ornament[data-anchor=top-right]{right:-3px;top:-5px}
.cm-integrated-panel .cm-frame__ornament[data-anchor=bottom-left]{left:-3px;bottom:-5px}
.cm-integrated-panel .cm-frame__ornament[data-anchor=bottom-right]{right:-3px;bottom:-5px}
body.chrono-ui .cm-integrated-button.jelly-button{color:var(--cm-ui-button-ink)!important}
body.chrono-ui .cm-integrated-button.jelly-button::before{border-image:none!important;border:2px solid var(--cm-ui-frame-edge,#d6ba94);background:linear-gradient(180deg,color-mix(in srgb,var(--cm-ui-button-base),white 24%),var(--cm-ui-button-base))!important}
body.chrono-ui .cm-integrated-button.jelly-button:disabled::before{background:#dce1e3!important;border-color:#bdc4c9}
body.chrono-ui .cm-integrated-button.jelly-button:disabled{color:#59616b!important}
.cm-integrated-button.jelly-button .cm-frame__surface{background:none!important;box-shadow:none}
.cm-integrated-button.jelly-button .cm-frame__layers{z-index:0}
.cm-integrated-button.jelly-button:focus-visible{outline:3px solid var(--cm-ui-accent,#35704b)!important;outline-offset:3px}
.cu-hud .cm-integrated-button{gap:4px;padding:4px 6px}
.cu-hud .cm-button__label{white-space:nowrap;font-size:clamp(14px,4.2vw,22px)}
.cu-hud .cm-button__icon{width:clamp(22px,5vw,34px);height:clamp(22px,5vw,34px)}
.cm-integrated-button .cm-frame__structure{opacity:.75}

/* STEP 7: bounded accents, no layout/hitbox changes or continuous animation. */
.cm-quest-motifs{position:absolute;inset:0;pointer-events:none!important;overflow:hidden;z-index:1}
.cm-quest-motifs *{pointer-events:none!important}
.cm-quest-motifs .cm-frame__ornament{width:clamp(7px,2vw,10px);height:auto;aspect-ratio:var(--cm-art-ratio);filter:drop-shadow(0 1px 1px #25364a18)}
.cm-quest-motifs .cm-frame__ornament[data-anchor=bottom-left]{left:2px;bottom:2px}
.cm-quest-motifs .cm-frame__ornament[data-anchor=bottom-right]{right:2px;bottom:2px}
.cm-ambient-mote{position:fixed;width:4px;height:4px;background:var(--mote-color);border-radius:50%;box-shadow:0 0 3px var(--mote-color);pointer-events:none!important;z-index:3;opacity:0}
.cm-ambient-mote:not(.is-bubble){clip-path:polygon(50% 0,63% 37%,100% 50%,63% 63%,50% 100%,37% 63%,0 50%,37% 37%)}
.cm-ambient-mote.is-bubble{width:5px;height:5px;background:transparent;border:1px solid var(--mote-color);box-shadow:inset 0 1px #fff8}
@media(prefers-reduced-motion:reduce){.cm-ambient-mote{display:none!important}}
@media(max-width:359px){.cm-quest-motifs{display:none}}
.cu-host,.cu-chain-items,.cu-board-sidebar,.cu-dialog{scrollbar-width:none}.cu-host::-webkit-scrollbar,.cu-chain-items::-webkit-scrollbar,.cu-dialog::-webkit-scrollbar{display:none}.cu-host:not(.is-board){touch-action:none;scrollbar-gutter:auto}.cu-chain-items{touch-action:none;cursor:grab}.cu-chain-items:active{cursor:grabbing}
.cu-shop-heading{display:flex;gap:10px;align-items:center;background:#fff8eb;border:2px solid #dbc6a2;border-radius:20px;padding:8px 12px}.cu-shop-heading>.cu-art{width:48px;height:48px}
.cu-blueprint-feature.cm-panel{display:grid;grid-template-columns:72px minmax(0,1fr);grid-template-rows:auto auto;gap:3px 10px;padding:10px 14px;align-items:center}.cu-blueprint-feature h2{grid-column:2;font-size:16px!important}.cu-blueprint-feature .cu-blueprint-art{grid-column:1;grid-row:1/3;width:70px;height:70px}.cu-blueprint-feature .cm-button{grid-column:2;min-height:38px;padding:4px}.cu-blueprint-feature .cm-button__label{font-size:13px;white-space:normal}.cu-blueprint-feature.is-available .cu-blueprint-art{animation:cu-blueprint-glow 2s ease-in-out infinite}
.cu-generator-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.cu-generator-grid .cu-shop-card.cm-panel{padding:8px 5px;min-width:0;overflow:visible;position:relative}.cu-generator-grid h2{font-size:13px!important;line-height:1.35;min-height:36px}.cu-generator-grid .cu-item-art{width:clamp(52px,15vw,98px);height:clamp(52px,15vw,98px);margin:3px auto;animation:cu-shop-jiggle 4.7s ease-in-out infinite}.cu-generator-grid .cm-button{padding:4px 2px;min-height:38px;width:100%}.cu-generator-grid .cm-button__label{font-size:12px;white-space:normal}.cu-generator-grid strong{display:block;font-size:12px;margin:3px 0}.cu-generator-grid .is-locked .cu-item-art{filter:brightness(0) opacity(.68);animation:none}.cu-generator-grid .is-locked .cm-button{background:#dce0e1}.cu-generator-grid .is-affordable{border-color:#9ec9b0}.cu-generator-grid .is-affordable .cu-item-art{animation:cu-shop-jiggle 3s ease-in-out infinite,cu-blueprint-glow 2.2s ease-in-out infinite}.cu-generator-grid .is-affordable:after{content:'✦';position:absolute;top:22%;right:8%;color:#e8ad34;pointer-events:none;animation:cu-sparkle 2.4s ease-in-out infinite}
@keyframes cu-blueprint-glow{0%,100%{filter:drop-shadow(0 0 3px var(--glow-color,#88ddbd)) brightness(1)}50%{filter:drop-shadow(0 0 12px var(--glow-color,#88ddbd)) drop-shadow(0 0 5px #fff) brightness(1.12)}}
@keyframes cu-shop-jiggle{0%,70%,100%{transform:none}78%{transform:rotate(-4deg) translateY(-2px)}86%{transform:rotate(4deg) translateY(-3px)}94%{transform:rotate(-2deg)}}
@keyframes cu-sparkle{0%,100%{opacity:.2;transform:scale(.6) rotate(0)}50%{opacity:1;transform:scale(1.2) rotate(100deg)}}
.cu-flight{object-fit:contain;filter:drop-shadow(0 3px 4px #fff8)}
@media(max-width:959px){.cu-order-flow .cu-host.is-board{padding:3px}.cu-order-flow .cu-merge-screen{gap:4px}.cu-order-flow .cu-selected-bar{min-height:46px;padding:2px 6px}.cu-order-flow .cu-selected-bar .cm-button{min-height:38px;padding:3px 6px}.cu-order-flow .cu-selection-art{width:36px;height:36px}body.chrono-ui .cu-order-flow .game.cu-live-game{padding:2px!important;border-radius:12px}body.chrono-ui .cu-order-flow .cu-live-game>.board-wrap{padding:0!important;justify-content:center!important;align-items:flex-start!important}.cu-order-flow .cu-merge-area{overflow-y:auto;scrollbar-width:none}.cu-order-flow .cu-live-game>.board-wrap{flex:none!important}}
@media(max-width:599px){.cu-order-flow.cu-shell{grid-template-rows:54px minmax(0,1fr) 54px}.cu-order-flow .cu-play-nav{gap:6px;padding:3px 6px}.cu-play-nav .cm-button{min-height:44px}.cu-play-nav .cm-button__icon{width:28px;height:28px}.cu-order-flow .cu-hud .cm-button{min-height:40px}.cu-order-flow .cu-delivery-strip{padding-top:30px}.cu-order-flow .cu-order-character{top:-33px;height:37px!important}.cu-order-flow .cu-order-reward .cu-art{width:14px;height:14px}.cu-order-flow .cu-order-reward{font-size:11px}.cu-order-flow .cu-order-request{height:40px}.cu-order-flow .cu-order-request img{width:31px;height:31px}.cu-selected-bar strong{font-size:12px}.cu-order-flow .cu-selected-bar .cm-button__label{font-size:12px}}
@media(max-height:520px) and (min-width:600px){.cu-order-flow .cu-merge-screen{display:flex}.cu-order-flow .cu-order-host{overflow:visible;flex-shrink:0}.cu-order-flow .cu-delivery-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto;gap:6px;padding-top:25px}.cu-order-flow .cu-delivery-card{display:block;padding:3px}.cu-order-flow .cu-order-character{left:50%;top:-26px;height:30px!important}.cu-order-flow .cu-order-request{height:32px}.cu-order-flow .cu-order-request img{width:24px;height:24px}}
@media(prefers-reduced-motion:reduce){.cu-order-character,.cu-shop-screen .cu-art,.cu-generator-grid .is-affordable:after{animation:none!important}}

body.chrono-ui .cu-play-nav{display:flex!important}body.chrono-ui .cu-play-nav[hidden]{display:none!important}.cu-map-heading{position:relative}.cu-map-library.cm-button{position:absolute;right:0;top:0;min-height:40px;padding:4px}.cu-map-library .cm-button__icon{width:30px;height:30px}.cu-map-library .cm-button__label{display:none}
body.chrono-ui .cu-play-nav{height:100%!important;min-height:0!important;box-sizing:border-box;margin:0!important;border-radius:0;overflow:hidden}

/* Keep the contextual sell action usable on narrow portrait screens. */
.cu-order-reward{flex-wrap:wrap;gap:1px 4px;padding:1px 2px}
.cu-order-currency{display:inline-flex;align-items:center;gap:1px;white-space:nowrap}
.cu-order-currency .cu-art{flex-shrink:0}
.cu-blueprint-feature .cm-button__label{display:inline-flex;align-items:center;gap:6px}
.cu-blueprint-feature .cm-button__label .cu-art{width:20px;height:20px;margin-left:5px}
@media(max-width:599px){.cu-selected-bar{gap:5px}.cu-selected-bar .cm-button{flex-shrink:0}.cu-selected-bar .cm-button__icon{width:20px;height:20px}.cu-selected-bar strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cu-selected-bar .cu-clear-selection{min-width:32px!important}}

/* Evolution journey: shared scenic backdrop and stable, nonblocking motion. */
body.chrono-ui .cu-shell{background:linear-gradient(#d9f4fb24,#bbebe83b),url('../../assets/backgrounds/evolution-lagoon.png') center/cover no-repeat}
.cu-order-flow .cu-host{background:transparent}.cu-order-flow .cu-live-game{background:#f5f7de70!important;backdrop-filter:blur(2px)}
.cu-order-flow .cu-shop-screen,.cu-order-flow .cu-screen{background:transparent}
.cu-order-flow .cu-delivery-strip{padding-top:3px;align-items:stretch}
.cu-order-flow .cu-delivery-card{padding:4px;overflow:visible;background:linear-gradient(150deg,var(--cm-ui-quest-surface,#fffbed),var(--cm-ui-quest-surface-end,#d6eeee));border-color:var(--cm-ui-quest-border,#a9c5d1)}
.cu-order-actor{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:center;min-height:76px}
.cu-order-flow .cu-order-character{position:relative;left:auto;top:auto;width:100%!important;height:76px!important;max-width:100%;object-fit:contain;transform:none;animation:cu-actor-breathe var(--breath-duration,3s) ease-in-out var(--breath-delay,0s) infinite}
.cu-order-flow .cu-order-reward{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;border:1px solid var(--cm-ui-quest-reward-border,#eac974);background:linear-gradient(150deg,var(--cm-ui-quest-reward-surface,#fff8d7),var(--cm-ui-quest-reward-end,#fffcef));border-radius:12px;padding:4px 2px;font-size:12px;box-shadow:0 2px 7px #617e731c;animation:cu-reward-float 3.4s ease-in-out var(--breath-delay,0s) infinite}
.cu-order-flow .cu-order-reward .cu-art{width:17px;height:17px}.cu-order-flow .cu-order-request{height:48px;border-top:1px solid #b9d6cd70;margin-top:2px}
@keyframes cu-actor-breathe{0%,100%{transform:scale(1) rotate(-1deg)}50%{transform:scale(1.025,1.04) rotate(1deg)}}
@keyframes cu-reward-float{0%,100%{transform:translateY(2px)}50%{transform:translateY(-3px)}}
.cu-blueprint-feature.cm-panel{grid-template-columns:minmax(0,1fr) minmax(0,2fr);grid-template-rows:auto auto auto;column-gap:10px}
.cu-blueprint-feature.cm-panel>.cu-blueprint-art{grid-column:1;grid-row:1/4;width:100%;height:100%;min-height:118px;max-height:180px;object-fit:contain;margin:0}
.cu-blueprint-feature.cm-panel>h2{grid-column:2;grid-row:1}.cu-blueprint-feature.cm-panel>p{grid-column:2;grid-row:2;margin:0;font-size:12px}.cu-blueprint-feature.cm-panel>.cm-button{grid-column:2;grid-row:3}
body.chrono-ui #board .generator .gauge em{background:linear-gradient(90deg,#0088ff,#02d9ff)!important;box-shadow:0 0 6px #00bfff,inset 0 1px #b6ffff!important}
body.chrono-ui #board .generator[data-gen-level="2"] .gauge em{background:linear-gradient(90deg,#7c28f5,#ed47ff)!important;box-shadow:0 0 7px #b546ff!important}
body.chrono-ui #board .generator[data-gen-level="3"] .gauge em{background:linear-gradient(90deg,#f59500,#ffe100)!important;box-shadow:0 0 7px #ffd600!important}
body.chrono-ui .ghost{z-index:1600!important}.cu-unlock-spark{position:fixed;pointer-events:none;z-index:1300;width:9px;height:9px;border-radius:30%;background:#fff1a5;box-shadow:0 0 12px #fff7a0}
.cu-profile{position:relative;overflow:hidden;isolation:isolate}.cu-profile>.cu-level-liquid{position:absolute;inset:auto 0 0;height:var(--level-fill,0%);background:linear-gradient(#26dfedb8,#00a6cedd);z-index:0;pointer-events:none;transition:height .65s ease-out}
.cu-level-liquid:before,.cu-level-liquid:after{content:'';position:absolute;width:180%;height:18px;left:-40%;top:-8px;border-radius:45%;background:#6debe9af;animation:cu-level-wave 3s ease-in-out infinite alternate}.cu-level-liquid:after{animation-delay:-1.5s;background:#25bada70;top:-5px}
.cu-profile .cm-button__icon,.cu-profile .cm-button__label{position:relative;z-index:2}.cu-profile .cm-button__label{text-shadow:0 1px #fff9}
@keyframes cu-level-wave{from{transform:translateX(-5%) rotate(-3deg)}to{transform:translateX(5%) rotate(3deg)}}
.cu-playtime{display:inline-block;background:#fff8eac9;border:1px solid #c8d8c8;border-radius:99px;padding:5px 12px;font-size:13px;margin:0 0 8px}.cu-era-period{font-weight:700;color:#3a6173;text-align:center;margin:0}.cu-era-summary{text-align:center;font-size:13px;line-height:1.55;max-width:60ch;margin:4px auto 10px;background:#fffaf0a8;border-radius:12px;padding:6px 12px}
@media(max-width:599px){.cu-order-actor{min-height:64px}.cu-order-flow .cu-order-character{height:64px!important}.cu-order-flow .cu-order-reward{font-size:10px;padding:3px 1px}.cu-order-flow .cu-order-reward .cu-art{width:14px;height:14px}.cu-order-flow .cu-order-request{height:42px}.cu-blueprint-feature.cm-panel>.cu-blueprint-art{min-height:104px}.cu-order-flow .cu-selected-bar{flex-wrap:wrap}.cu-selected-bar>div{min-width:55px}}
@media(max-height:520px) and (min-width:600px){.cu-order-actor{min-height:42px}.cu-order-flow .cu-order-character{height:42px!important}.cu-order-flow .cu-delivery-strip{padding-top:0}.cu-order-flow .cu-order-request{height:30px}}
@media(prefers-reduced-motion:reduce){.cu-order-flow .cu-order-character,.cu-order-flow .cu-order-reward,.cu-level-liquid:before,.cu-level-liquid:after{animation:none!important}.cu-profile>.cu-level-liquid{transition:none}}

@media(max-width:359px){.cu-order-flow .cu-profile .cm-button__label{display:inline;font-size:11px}.cu-order-flow .cu-profile .cm-button__icon{width:22px;height:22px}.cu-order-flow .cu-profile{gap:2px}.cu-order-flow .cu-wallet .cm-button__label{font-size:12px}}

.cu-theme-select{display:block;width:min(100%,480px);margin:6px auto 8px;padding:7px 10px;min-height:36px;border:1px solid #accec7;border-radius:12px;background:#fff8ebeb;font:inherit;color:#264659}

/* Short landscape keeps orders beside the board; stacked cards left only 7px cells. */
@media (min-width:600px) and (max-width:959px) and (max-height:520px){
 .cu-order-flow.cu-shell{grid-template-rows:48px minmax(0,1fr) 48px}
 .cu-order-flow .cu-hud{padding:2px 8px}
 .cu-order-flow .cu-play-nav{padding:2px 6px}
 .cu-order-flow .cu-merge-screen{display:grid;grid-template-columns:minmax(0,1fr) 260px;grid-template-rows:minmax(0,1fr) auto;gap:4px 12px}
 .cu-order-flow .cu-order-host{grid-column:2;grid-row:1 / 3;overflow:visible}
 .cu-order-flow .cu-delivery-strip{grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(3,minmax(0,1fr));height:100%;padding:0;gap:6px}
 .cu-order-flow .cu-order-reward{flex-direction:row;flex-wrap:wrap;gap:2px;padding:2px 1px;font-size:11px}
 .cu-order-flow .cu-merge-area{grid-column:1;grid-row:1}
 .cu-order-flow .cu-selected-bar{grid-column:1;grid-row:2;min-height:36px}
 body.chrono-ui .cu-order-flow .cu-live-game>.board-wrap{flex:1!important;align-items:center!important}
}

/* LV labels scale with their actual cell, including height-fitted landscape boards. */
.cu-order-flow .cu-lock-level{font-size:clamp(7px,calc(var(--cell-size,64px) * .24),19px);line-height:1.15;padding:clamp(0px,calc(var(--cell-size,64px) * .06),6px) 1px;max-width:100%;box-sizing:border-box;white-space:nowrap}

/* Production QuestCard uses the shared composition; only the front panel is a drop zone. */
.cu-order-flow .cu-delivery-strip{padding-top:0;align-items:stretch;gap:10px}
.cu-order-quest{--quest-portrait-size:96px;--quest-reveal:66px;padding-top:var(--quest-reveal);margin:0;min-width:0;text-align:center;isolation:isolate}
.cu-order-quest{--quest-portrait-size:96px;--quest-reveal:66px;display:flex;flex-direction:column}
.cu-order-quest>.cu-order-character{position:absolute;left:50%;top:0;translate:-50% 0;width:var(--quest-portrait-size)!important;height:auto!important;max-width:90%;max-height:none;z-index:0;object-fit:contain;pointer-events:none;transform-origin:50% 95%;animation:cu-actor-breathe var(--breath-duration,3s) ease-in-out var(--breath-delay,0s) infinite}
.cu-order-quest>.cu-delivery-card{display:flex;flex-direction:column;flex:1;padding:8px 10px;min-height:0;border:0;background:transparent;box-shadow:none;border-radius:18px;z-index:1}
.cu-order-quest>.cu-delivery-card>.cm-frame__content{display:flex;flex-direction:column;flex:1}
.cu-order-quest .cu-order-reward{display:flex;flex-direction:row;flex-wrap:wrap;gap:4px 8px;min-height:22px;padding:2px 0;line-height:1.4;font-size:14px;border:0;border-radius:0;background:none;box-shadow:none;animation:none}
.cu-order-quest .cu-order-request{height:auto;min-height:48px;margin:auto 0 0;padding:5px 0 0;border-top:1px solid var(--cm-ui-quest-border,#b9d6cd);gap:7px}
.cu-order-quest .cu-request-slot{box-sizing:border-box;padding:3px;flex:0 1 auto;max-width:45%}
.cu-order-quest .cu-request-slot img{width:48px;height:48px;max-width:100%;object-fit:contain}
.cu-order-quest .cm-frame__ornament{width:26px;height:auto;aspect-ratio:var(--cm-art-ratio);filter:drop-shadow(0 1px 1px #25364a18)}
.cu-order-quest .cm-frame__ornament[data-anchor=top-left]{left:-3px;top:-12px}.cu-order-quest .cm-frame__ornament[data-anchor=top-right]{right:-3px;top:-12px}
.cu-order-quest .cm-frame__ornament[data-anchor=bottom-left]{left:-3px;bottom:-4px}.cu-order-quest .cm-frame__ornament[data-anchor=bottom-right]{right:-3px;bottom:-4px}
.cu-order-quest.cu-departing{padding-top:var(--quest-reveal);isolation:isolate}.cu-order-quest.cu-departing *{pointer-events:none!important}
@media(max-width:599px){
 .cu-order-quest{--quest-portrait-size:78px;--quest-reveal:52px}
 .cu-order-flow .cu-delivery-strip{gap:8px}
 .cu-order-quest>.cu-delivery-card{padding:5px 6px;border-radius:14px}
 .cu-order-quest .cu-order-reward{font-size:11px;gap:2px 4px;min-height:20px}
 .cu-order-quest .cu-order-reward .cu-art{width:15px;height:15px}
 .cu-order-quest .cu-order-request{min-height:40px;gap:4px;margin-top:auto;padding-top:4px}
 .cu-order-quest .cu-request-slot{padding:2px}
 .cu-order-quest .cu-request-slot img{width:34px;height:34px}
 .cu-order-quest .cm-frame__ornament{width:18px}
}
@media(max-width:359px){.cu-order-quest{--quest-portrait-size:70px;--quest-reveal:47px}.cu-order-quest .cu-order-reward{font-size:10px;gap:2px}.cu-order-quest .cu-request-slot img{width:30px;height:30px}.cu-order-quest .cm-frame__ornament{width:15px}}
@media(max-width:359px){.cu-order-quest .cm-frame__ornament[data-anchor^=bottom]{width:11px}}
@media(min-width:600px) and (max-width:959px) and (max-height:520px){
 .cu-order-flow .cu-delivery-strip{align-items:stretch;gap:6px}
 .cu-order-quest{--quest-portrait-size:58px;--quest-reveal:30px}
 .cu-order-quest>.cu-delivery-card{padding:3px 8px;border-radius:12px}
 .cu-order-quest .cu-order-reward{font-size:11px;min-height:16px;padding:1px 0;gap:2px 5px}
 .cu-order-quest .cu-order-reward .cu-art{width:14px;height:14px}
 .cu-order-quest .cu-order-request{min-height:25px;margin-top:auto;padding-top:2px;gap:5px}
 .cu-order-quest .cu-request-slot{padding:1px}
 .cu-order-quest .cu-request-slot img{width:24px;height:24px}
 .cu-order-quest .cm-frame__ornament{width:14px}
}
@media(prefers-reduced-motion:reduce){.cu-order-quest>.cu-order-character{animation:none!important}}

@media(min-width:600px) and (max-width:959px) and (max-height:520px){
 .cu-order-flow .cu-order-host:has(.cu-order-status:not(:empty)){overflow-y:auto;overflow-x:hidden;scrollbar-width:none}
 .cu-order-flow .cu-order-host:has(.cu-order-status:not(:empty)) .cu-delivery-strip{flex:0 0 auto;height:auto;grid-template-rows:repeat(3,auto)}
}

/* Shared frame corrections: attached corners, compact radii, unobstructed content. */
.cu-hud .cm-integrated-button{border-radius:12px}
.cm-integrated-button.cm-frame{border-radius:var(--cm-frame-radius,12px)}
.cm-integrated-button .cm-frame__ornament[data-anchor=top-left],.cm-integrated-panel .cm-frame__ornament[data-anchor=top-left],.cu-order-quest .cm-frame__ornament[data-anchor=top-left]{left:0;top:0}
.cm-integrated-button .cm-frame__ornament[data-anchor=top-right],.cm-integrated-panel .cm-frame__ornament[data-anchor=top-right],.cu-order-quest .cm-frame__ornament[data-anchor=top-right]{right:0;top:0}
.cm-integrated-button .cm-frame__ornament[data-anchor=bottom-left],.cm-integrated-panel .cm-frame__ornament[data-anchor=bottom-left],.cu-order-quest .cm-frame__ornament[data-anchor=bottom-left]{left:0;bottom:0}
.cm-integrated-button .cm-frame__ornament[data-anchor=bottom-right],.cm-integrated-panel .cm-frame__ornament[data-anchor=bottom-right],.cu-order-quest .cm-frame__ornament[data-anchor=bottom-right]{right:0;bottom:0}
.cu-order-quest>.cu-delivery-card{border-radius:12px;--cm-joint-size:17px}
.cm-board-perimeter.cm-frame{--cm-joint-size:var(--cm-board-corner-width,20px)}
.cm-board-perimeter .cm-frame__ornament[data-anchor=top-left]{left:0;top:0}.cm-board-perimeter .cm-frame__ornament[data-anchor=top-right]{right:0;top:0}
.cm-board-perimeter .cm-frame__ornament[data-anchor=bottom-left]{left:0;bottom:0}.cm-board-perimeter .cm-frame__ornament[data-anchor=bottom-right]{right:0;bottom:0}
.cm-integrated-panel{--cm-joint-size:24px}
.cu-play-nav .cm-frame{--cm-joint-size:16px}
body.chrono-ui #board .cell:not(.permanent-lock){background-image:linear-gradient(var(--cm-board-wash),var(--cm-board-wash)),var(--cm-board-art-a,linear-gradient(145deg,#ffffff70,#ffffff00 50%,#2039451c))!important;background-size:100% 100%,contain!important;background-position:center!important;background-repeat:no-repeat!important;box-shadow:inset 0 2px 1px #fffb,inset 0 -2px 2px #263e4a24!important}
body.chrono-ui #board .cell.checker-dark:not(.permanent-lock){background-image:linear-gradient(var(--cm-board-wash),var(--cm-board-wash)),var(--cm-board-art-b,linear-gradient(145deg,#ffffff70,#ffffff00 50%,#2039451c))!important}
@media(max-width:599px){
 .cu-order-quest{--quest-portrait-size:100px;--quest-reveal:76px}
 .cu-order-quest>.cu-order-character{max-width:98%}
 .cu-order-flow .cu-delivery-strip{gap:8px}
}

body.chrono-ui #board .cell{--cm-board-wash:color-mix(in srgb,var(--cm-ui-board-a) calc((1 - var(--cm-ui-board-art-opacity,.48))*100%),transparent)}
body.chrono-ui #board .cell.checker-dark{--cm-board-wash:color-mix(in srgb,var(--cm-ui-board-b) calc((1 - var(--cm-ui-board-art-opacity,.48))*100%),transparent)}

/* Pilot frame hierarchy: artwork in front; inner catalog actions stay simple. */
.cu-generator-grid .cu-shop-card.cm-panel{border-radius:var(--cm-frame-radius,10px);padding:10px 8px 12px;overflow:visible}
.cu-generator-grid .cu-shop-card>.cm-button{min-width:0;min-height:38px;border-radius:7px;margin-top:3px}
.cu-generator-grid .cu-shop-card>.cm-button .cm-frame__structure,.cu-generator-grid .cu-shop-card>.cm-button>.cm-frame__ornaments{display:none}
.cu-generator-grid .cu-shop-card>.cm-button .cm-button__background{border:1px solid #a8b4ba;border-radius:7px;box-shadow:inset 0 1px #fff8}
.cu-generator-grid .cu-shop-card>.cm-button .cm-button__foreground{display:none}
.cu-generator-grid .cu-shop-card>.cm-button .cm-button__label{font-size:11px}
.cm-integrated-button[data-frame-rails] .cm-frame__structure{opacity:1}
body.chrono-ui .cm-board-perimeter[data-frame-rails]{overflow:visible;max-width:none;--cm-joint-size:var(--cm-board-corner-width,36px)}
body.chrono-ui .cm-board-perimeter[data-frame-rails] .cm-frame__structure{opacity:1}
body.chrono-ui .board-wrap:has(>.cm-board-perimeter[data-frame-rails]){padding:7px!important;overflow:visible}
body.chrono-ui .game.cu-live-game:has(.cm-board-perimeter[data-frame-rails]){border:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;overflow:visible}

/* v4: optional registered atmosphere, no opaque navigation holder. */
body.chrono-ui .cu-shell{background-image:linear-gradient(#f3fbfac9,#ecf7f4c9),var(--cm-game-pattern,linear-gradient(135deg,#eff6f1,#c7e8e7));background-size:auto,256px 256px;background-repeat:repeat}
.cu-shell[data-screen=merge] .cu-merge-screen,.cu-shell[data-screen=shop] .cu-shop-screen,.cu-shell[data-screen=inventory] .cu-inventory-screen{background:transparent}
body.chrono-ui .cu-play-nav{background:transparent;border:0;box-shadow:none;overflow:visible;gap:4px;padding:3px 5px}
body.chrono-ui .cu-play-nav .cm-button{min-height:48px;padding:4px 10px}
.cu-order-quest .cu-order-request{padding-bottom:9px}
.cu-order-quest .cm-frame__ornament[data-anchor=top-edge]{width:min(75%,128px);left:50%;top:0;translate:none;transform:translate(-50%,-65%);height:auto;max-height:30px;object-fit:contain}
.cu-map-screen{touch-action:pan-x;overflow:hidden;scrollbar-width:none}
.cu-map-region{min-width:0}
.cu-map-scene-art{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}
.cu-world-map.has-scene-art>svg{visibility:hidden}
.cu-world-map{border:0;background:radial-gradient(ellipse at center,#dbf8f080,transparent 70%)}
.cu-world-map.has-scene-art .cu-map-landmark{left:50%;top:33%;translate:-50% 0;width:26%;height:29%}
@media(prefers-reduced-motion:reduce){.cu-map-region{animation:none!important;transition:none!important}}

@media(max-width:599px){.cu-map-screen .cu-world-map{height:clamp(220px,35dvh,350px)}}
