/* W66: small, focused owner template switcher. */
.w66-open{display:block;width:100%;border:1px solid #74568a;color:#f4dfff;background:#2a1b37;border-radius:12px;padding:13px 16px;font:700 14px system-ui;cursor:pointer;margin:10px 0}
.w66-mask[hidden],.w66-view[hidden],.w66-more[hidden]{display:none!important}
.w66-mask{position:fixed;inset:0;background:#090510d9;z-index:1100;display:flex;align-items:flex-end;justify-content:center}
.w66-sheet{background:#1c1428;color:#f7eeff;border:1px solid #675078;border-radius:22px 22px 0 0;width:min(620px,100%);max-height:94dvh;overflow:auto;padding:18px 16px 28px;box-sizing:border-box;box-shadow:0 -25px 70px #0008}
.w66-header{display:flex;justify-content:space-between;align-items:center;font:750 19px system-ui}.w66-header button{background:none;color:#fff;border:0;font-size:22px;padding:6px 11px;cursor:pointer}.w66-hint{font:13px system-ui;color:#b7a2c5;margin:5px 0 16px}
.w66-grid[hidden]{display:none!important}.w66-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.w66-tile{display:flex;flex-direction:column;gap:6px;background:#2b1e36;border:2px solid transparent;border-radius:14px;color:#fff;text-align:left;padding:7px;cursor:pointer;min-width:0}.w66-tile[aria-current=true]{border-color:#ce91f2}.w66-tile img{width:100%;height:132px;object-fit:cover;border-radius:9px;background:#403049}.w66-tile strong{font:700 12px system-ui;padding:2px 3px 6px}.w66-tile small{color:#dbaff8}
.w66-more{border:1px solid #795987;background:#342641;color:#eee;border-radius:12px;width:100%;padding:12px;margin-top:13px;font:700 13px system-ui;cursor:pointer}
.w66-view iframe{width:100%;height:min(53dvh,600px);border:1px solid #5f4970;border-radius:12px;background:white}.w66-controls{display:flex;gap:10px;padding-top:12px}.w66-controls button{flex:1;padding:13px 8px;background:#322541;border:1px solid #75538e;color:#fff;border-radius:12px;font:700 13px system-ui;cursor:pointer}.w66-controls #w66-apply{background:#d5a6ec;color:#1c1427}.w66-controls button:disabled{opacity:.5}
#w66-status{color:#eec5fd;font:13px system-ui}.w66-view{margin-top:12px}
@media(min-width:700px){.w66-mask{align-items:center}.w66-sheet{border-radius:22px}.w66-tile img{height:160px}}
