/* The wish action shares the original globe's lower toolbar. All other controls keep
   their authored layout and appearance. The whole south-gate view remains draggable. */
.frame .lower{justify-content:space-between;align-items:flex-end;gap:16px}
.wish-dock{pointer-events:auto;flex:none;max-width:100%;padding:5px 6px 5px 15px;background:rgba(30,38,39,.84);color:#f2f1e8;border-radius:16px;box-shadow:inset 0 0 0 1px #ffffff30,0 3px 16px #11223024;-webkit-backdrop-filter:blur(18px) saturate(1.08);backdrop-filter:blur(18px) saturate(1.08)}
.wish-row,.wish-actions,.wish-primary,.wish-secondary,.wish-head,.wish-foot,.wish-close,.wish-download{display:flex;align-items:center}
.wish-row{gap:16px;justify-content:space-between}.wish-summary{flex:none}.wish-summary h2{font-size:11px;line-height:1.35;letter-spacing:.09em;font-weight:560;color:#f1d6a3;margin:0 0 1px}.wish-summary p{margin:0;line-height:1.4;font-size:11px;color:#e6e9e3;white-space:nowrap}
.wish-summary strong{font-family:var(--mono,monospace);font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;margin:0 3px}
.wish-actions{gap:3px}.wish-primary,.wish-secondary,.wish-close,.wish-download{appearance:none;justify-content:center;min-height:44px;color:inherit;border:0;border-radius:11px;font:560 13px/1.25 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;white-space:nowrap;touch-action:manipulation;cursor:pointer}
.wish-primary{padding:0 13px;color:#322e23;background:#f1d9a6;gap:6px}.wish-primary:hover:enabled{background:#ffe7b6}.wish-primary svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.5;fill:none}
.wish-primary:disabled{cursor:default;background:#b2ab98;color:#373a34}
.wish-primary[data-owned=true]{background:#32413b;color:#e0e9d5;box-shadow:inset 0 0 0 1px #b1bd9442}
.wish-secondary{padding:0 9px;color:#f1e8d5;background:transparent}
.wish-secondary:hover,.wish-close:hover,.wish-download:hover{background:#ffffff15}
.wish-message{font-size:11px;line-height:1.5;margin:4px 6px 4px 0;padding-top:5px;border-top:1px solid #ffffff24;color:#e4e5dc;max-width:31em}
.wish-dock [hidden],#wish-dialog [hidden]{display:none!important}
#wish-dialog{color-scheme:dark;width:min(374px,calc(100vw - 26px));max-height:calc(100vh - 24px);max-height:calc(100dvh - 20px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));position:fixed;margin:auto;padding:0;border:1px solid #a6aca65f;border-radius:19px;color:#f6f3e9;background:#202c2b;box-shadow:0 18px 75px #07120ecd;overflow:auto;overscroll-behavior:contain}
#wish-dialog:not([open]){display:none}#wish-dialog::backdrop{background:#071012c4}
#wish-dialog.wish-legacy[open]{display:block;inset:50% auto auto 50%;transform:translate(-50%,-50%);margin:0;z-index:10;box-shadow:0 0 0 100vmax #071112ca}
.wish-dialog-body{padding:14px}.wish-head,.wish-foot{justify-content:space-between;gap:8px}.wish-head{padding:0 0 10px}
.wish-location{margin:0;color:#e1ca9a;font-size:10px;letter-spacing:.07em}.wish-head h2{margin:1px 0 0;font:550 21px/1.35 "Songti SC","STSong",serif;letter-spacing:.07em}
.wish-close{min-width:44px;width:44px;height:44px;background:transparent;border:1px solid #b8c0b644;border-radius:50%}.wish-close svg{width:17px;height:17px}
.wish-image-frame{min-height:72px;display:grid;place-items:center;background:#141d20;border-radius:5px;overflow:hidden}#wish-img{max-width:100%;width:auto;height:auto;max-height:59vh;max-height:59dvh;display:block;user-select:auto;-webkit-user-select:auto;-webkit-touch-callout:default}
#wish-poster-status{padding:13px;text-align:center;color:#c6cec9;font-size:12px}
.wish-foot{margin-top:8px}.wish-foot p{margin:0;line-height:1.5;color:#c6cec9;font-size:11px}.wish-download{padding:0 13px;border:1px solid #c9cfc36b;color:#f4daad;text-decoration:none}
@media(max-width:900px){
 .frame .lower{gap:7px}.wish-dock{padding-left:10px}.wish-row{gap:7px}.wish-primary{padding:0 9px}
}
@media(max-width:740px),(max-width:1050px) and (max-height:500px){
 .frame .lower{flex-direction:column;align-items:flex-end;gap:6px}
 .wish-dock{border-radius:14px;width:fit-content;max-width:min(390px,100%);align-self:flex-end;padding:2px 4px 2px 11px}
 .wish-row{gap:9px}.wish-summary p{font-size:10px}.wish-summary h2{font-size:10px}.wish-primary,.wish-secondary{font-size:12px}
 .wish-message{max-width:min(30em,76vw)}
}
@media(min-aspect-ratio:1.4/1) and (max-height:500px) and (min-width:620px){
 .frame .lower{flex-direction:row;gap:6px}.wish-dock{max-width:43%}
 .wish-message{max-width:25em}.wish-actions{gap:0}.wish-secondary{padding:0 6px}
 #wish-dialog{width:min(510px,calc(100vw - 24px))}.wish-dialog-body{display:grid;grid-template-columns:minmax(95px,1fr) 1fr;column-gap:15px}.wish-head,.wish-foot{grid-column:2}
 .wish-head{align-items:flex-start}.wish-foot{flex-direction:column;align-items:flex-start;justify-content:flex-end}
 .wish-image-frame{grid-column:1;grid-row:1/3}#wish-img{max-height:76vh;max-height:76dvh}
}
@media(max-width:350px){
 .wish-actions{gap:0}.wish-row{gap:6px}.wish-primary,.wish-secondary{padding:0 7px}
 .wish-dock[data-owned=true] .wish-primary svg{display:none}
}
.work-help p:has(.wish-limit){width:min(252px,78vw);white-space:normal}.wish-limit{display:block;white-space:normal;margin-top:6px;border-top:1px solid #ffffff2c;padding-top:6px;line-height:1.55;color:#e2d8c2}
/* Retain the complete weather strip even when a network notice or a second
   action expands the wish card on an iPad Mini or a landscape phone. */
.wish-actions{min-width:0;flex-wrap:wrap;justify-content:flex-end}
@media(min-width:741px) and (max-width:900px) and (min-height:501px){.wish-dock{max-width:calc(100% - 395px)}}
@media(min-aspect-ratio:1.4/1) and (max-height:500px) and (min-width:620px){.wish-dock{max-width:min(43%,calc(100% - 356px))}}
