/* v012 compact composition. Playfield/TV geometry remains untouched. */
.cx-machine-page{display:flex;flex-direction:column;height:100%;overflow:hidden;padding:8px 12px 12px}.cx-machine-head{display:flex;align-items:center;justify-content:space-between;flex:0 0 44px;max-width:480px;width:100%;margin:auto;color:#f7df9b;font-size:18px}.cx-machine-head button{width:44px;border:1px solid #a79061;border-radius:50%;background:#173d33cc;color:#f4dfa5;font-size:24px!important}.cx-machine-area{position:relative;flex:1 1 auto;min-height:0;width:100%;max-width:480px;margin:0 auto}.cx-machine{position:absolute;top:50%;left:50%;width:100%;height:100%;padding-top:0;max-width:none;margin:0;transform:translate(-50%,-50%)}.cx-machine-body{object-fit:contain}.cx-machine-page .cx-machine h1{display:none}.cx-ticket-line{flex:0 0 40px;display:flex;flex-direction:column;justify-content:center;margin:5px auto 8px}.cx-ticket-line strong{font-size:19px;color:#ffe8aa}.cx-ticket-line span{margin:3px 0 0;max-width:none;text-align:center;font-size:11px}.cx-machine-nav{flex:0 0 50px;width:100%;max-width:450px;margin:0 auto}.cx-machine-nav button{min-width:0;white-space:nowrap}.cx-open{top:auto;bottom:12%;min-height:50px;height:9%}.cx-display{top:25%;height:auto;padding-top:63%;width:42%;left:29%}.cx-display>.cx-card{position:absolute;top:0;left:0;width:100%;height:100%;padding-top:0}.cx-display .cx-name,.cx-display .cx-flowers,.cx-display .cx-grade{display:none}.cx-display:after{content:'幸运展示';position:absolute;bottom:0;left:0;width:100%;text-align:center;color:#fff4c9;background:#183f30a8;font:10px/1.8 sans-serif}.cx-machine-page #cx-save-status:empty{display:none}.cx-machine-page #cx-save-status{flex:0 0 auto;max-height:38px;overflow:auto;margin:4px 0;font-size:11px}.cx-toolbar{display:flex;align-items:center;justify-content:space-between}.cx-toolbar>button{margin-right:8px;border:1px solid #b7a36d;border-radius:12px;background:#d5bf83;color:#3f4e32;padding:4px 12px;font:12px sans-serif}.cx-locked{background:#6b7c68;box-shadow:0 2px 5px #132c25;filter:none}.cx-locked .cx-card-image{filter:grayscale(1) brightness(0);transform:scale(.72);opacity:.58}.cx-locked:after{display:none}.cx-lock-veil{position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;color:#d7d0ab;font:13px sans-serif;background:linear-gradient(145deg,#cbd4b21c,#18382c33);padding-top:50%;pointer-events:none}.cx-locked .cx-name,.cx-locked .cx-grade,.cx-locked .cx-flowers{z-index:2}.cx-locked .cx-flowers{opacity:.35}.cx-locked .cx-name{font-size:12px}#cx-detail-card .cx-locked .cx-name{font-size:20px}.cx-v12-dialog{position:fixed;top:0;left:0;right:0;bottom:0;width:100%;height:100%;max-width:none;max-height:none;padding:0;border:0;margin:0;background:radial-gradient(ellipse at 50% 30%,#47614e,#153c32);color:#f6e1ad}.cx-v12-dialog::backdrop{background:#09251ff5}.cx-v12-panel{height:100%;overflow-y:auto;max-width:560px;margin:auto;padding:12px 18px 24px}.cx-v12-head{position:sticky;top:0;z-index:3;background:#214839ed;display:flex;align-items:center;justify-content:space-between;min-height:52px}.cx-v12-head h2{font-size:22px;margin:0}.cx-v12-dialog button,.cx-share-actions a{border:1px solid #bb9d67;border-radius:12px;background:linear-gradient(#96704a,#563e29);color:#ffedbb;min-height:44px;padding:8px 13px;font:14px sans-serif;cursor:pointer}.cx-v12-dialog button:disabled{opacity:.5}.cx-v12-copy{font:14px/1.9 sans-serif}.cx-v12-dialog .cx-v12-primary{background:linear-gradient(#f5d48b,#c9954d);color:#463b25;font-weight:bold}.cx-gift-card{width:76%;max-width:300px;display:block;margin:16px auto;box-shadow:0 0 24px #edda7b6b;border-radius:15px;object-fit:contain}.cx-gift-note{font:12px/1.6 sans-serif;color:#d5d5b5}.cx-v12-status{font:13px/1.7 sans-serif;min-height:24px}.cx-v12-actions{display:flex;flex-wrap:wrap;justify-content:center}.cx-v12-actions>*{margin:5px}.cx-share-image{width:100%;height:auto;display:block;border-radius:14px;margin:14px auto;box-shadow:0 8px 22px #08291f66}.cx-share-copy{font:13px/1.8 sans-serif;background:#102f2655;padding:12px;border-radius:12px;white-space:pre-line;user-select:text;-webkit-user-select:text}.cx-v12-periods{display:flex;margin:12px 0}.cx-v12-periods button{flex:1;margin:0 5px}.cx-v12-periods button[aria-pressed=true]{background:#d4b77c;color:#3b402b}.cx-rank-row{display:flex;justify-content:space-between;padding:14px 5px;border-bottom:1px solid #b6c29a44;font:14px sans-serif}.cx-rank-row span:nth-child(2){flex:1;padding:0 15px}.cx-rank-trigger{border:0;background:none;color:#f6dea1;font-size:11px;text-decoration:underline;padding:0 0 0 6px;min-height:28px}.cx-detail-share{display:flex;justify-content:center;margin:10px}.cx-detail-share button{border:1px solid #d0af77;border-radius:12px;background:#b4864d;color:#fff2c8;padding:8px 15px}.cx-gift-placeholder{width:70%;height:220px;display:flex;align-items:center;justify-content:center;border:1px solid #afad75;border-radius:15px;margin:15px auto;color:#e4daa7}
@media(max-height:700px){.cx-machine-page{padding-top:3px;padding-bottom:6px}.cx-machine-head{flex-basis:40px}.cx-ticket-line{margin:2px auto 5px;flex-basis:38px}.cx-machine-nav{flex-basis:46px}.cx-open{min-height:44px}.cx-open span{font-size:13px}}@media(prefers-reduced-motion:reduce){.cx-gift-card{animation:none}}

#view-cards.view{height:100vh;min-height:100vh}@supports(height:100dvh){#view-cards.view{height:100dvh;min-height:100dvh}}

#view-game .forest-best.has-rank{position:relative;padding-right:42px}#view-game .forest-best .cx-rank-trigger{position:absolute;right:0;top:50%;transform:translateY(-50%);height:32px;min-height:32px;min-width:40px;line-height:16px;padding:8px 2px;border:0;background:transparent;color:#704c2a;font:11px/16px sans-serif;text-decoration:underline}

/* A153 native body/standalone button, 1024x1536 authored coordinates. */
+.cx-machine-head>span{visibility:hidden}.cx-machine-page .cx-machine h1{display:flex;left:22%;top:7.7%;width:56%;height:6.9%;font-size:28px;line-height:1;margin:0;color:#53371c;text-shadow:0 1px #fff2bf;letter-spacing:1px}.cx-machine-page .cx-machine h1 span{color:#b44727}.cx-machine:before{content:'';position:absolute;left:31.3477%;top:21.7448%;width:40.1367%;height:50.0651%;background:radial-gradient(ellipse at center,#254c40,#112e29);border-radius:24px;z-index:-1}.cx-machine-page .cx-display{left:33.1055%;top:28.4831%;width:36.5234%;height:36.5234%;padding-top:0;overflow:hidden}.cx-machine-page .cx-open{left:28.5%;top:85.5%;bottom:auto;width:43%;height:46px;min-height:46px;border:0;border-radius:0;padding:0;background-color:transparent;background-repeat:no-repeat;background-position:center;background-size:contain;box-shadow:none}.cx-machine-page .cx-open span{display:flex;width:100%;height:100%;margin:0;border:0;border-radius:0;background:none;box-shadow:none;color:#583d22;text-shadow:0 1px #fff4c8;font-size:14px;font-weight:bold}.cx-machine-page .cx-open:active:not(:disabled){transform:translateY(3px)}@media(min-width:400px){.cx-machine-page .cx-machine h1{font-size:32px}}@media(max-height:700px){.cx-machine-page .cx-machine h1{font-size:26px}.cx-machine-page .cx-open span{font-size:12px}}

.cx-machine-page .cx-display{overflow:visible}.cx-machine-page .cx-display:after{bottom:-20px;background:transparent;color:#ead7a2;text-shadow:0 1px 3px #112d26}

/* Compact album navigation and equal-width machine shortcuts. */
.cx-machine-nav button { flex: 1 1 0; padding-left: 4px; padding-right: 4px; }
#cx-tabs, #cx-subtabs {
  display: flex;
  justify-content: center;
  max-width: 650px;
  margin: 5px auto 2px;
}
#cx-tabs button, #cx-subtabs button {
  flex: 1 1 0;
  min-width: 0;
  min-height: 34px;
  margin: 0 2px;
  padding: 3px 2px;
  font-size: 12px;
  white-space: nowrap;
}
#cx-subtabs button {
  border: 1px solid #ad9361;
  border-radius: 8px;
  color: #f6e8bf;
  background: #203e34;
}
#cx-subtabs button[aria-pressed="true"] { color: #fff1c8; background: #87523c; }
#cx-subtabs[hidden], #cx-subtabs button[hidden] { display: none; }
