.gallery-more{width:auto!important;min-width:104px;padding:9px 14px!important;font-size:14px!important;display:flex;align-items:center;gap:7px}.gallery-more svg{width:19px;height:19px}.gallery-menu .advanced-section{font-size:12px;letter-spacing:.08em;color:#6b7279;margin:18px 8px 5px}.gallery-menu{max-height:85dvh;overflow:auto}.gallery-menu button{min-height:48px}.gallery-menu button span{display:inline-flex}.gallery-menu button:hover svg{transform:translateY(-2px) rotate(-5deg)}.website-dialog{width:min(860px,calc(100% - 24px));max-height:90dvh;overflow:auto;border:1px solid #e5e2ed;border-radius:24px;padding:24px;color:#173d47;background:#faf9fe}.website-dialog::backdrop{background:#18343b88}.website-dialog header{display:flex;justify-content:space-between;align-items:center;gap:16px}.website-dialog h2{margin:0;font-size:28px}.website-brand{font-size:20px;font-weight:600;overflow-wrap:anywhere}.website-dialog input{max-width:100%;display:block;margin:12px 0;padding:12px;border-radius:12px;border:1px solid #d6d4e0}.website-dialog button{min-height:44px;border-radius:14px;padding:10px 16px;margin:4px;border:1px solid #d9d6e5}.website-dialog .primary{background:#173d47;color:white}.website-dialog button:disabled{opacity:.45;cursor:not-allowed}.website-versions{display:grid;gap:12px;margin-top:20px}.website-version{background:white;border:1px solid #e7e4ef;border-radius:16px;padding:16px}.website-version strong,.website-version>span{display:block}.website-version>span{color:#6b7279;font-size:13px}.website-preview iframe{width:100%;height:460px;border:1px solid #d6d4e0;border-radius:16px;background:white}.website-terms{padding:16px;border-radius:16px;background:#ece7f5;font-size:13px}.website-status{color:#9b3e43;overflow-wrap:anywhere}.website-dialog[open]{animation:website-open .18s ease-out}@keyframes website-open{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@media(max-width:560px){.website-dialog{padding:18px}.website-dialog h2{font-size:23px}.website-preview iframe{height:400px}.website-dialog header{align-items:start}.gallery-more{min-width:92px;font-size:12px!important}}@media(prefers-reduced-motion:reduce){.website-dialog[open]{animation:none}.gallery-menu button svg{transition:none!important;transform:none!important}}

.gallery-more{width:46px!important;height:46px!important;min-width:46px!important;padding:11px!important;border-radius:16px!important;justify-content:center;background:#f0eaf9!important;border:1px solid #ddd3ed!important;color:#5e497d!important;box-shadow:0 3px 0 #e2d9ec;transition:background .18s,transform .18s,box-shadow .18s}.gallery-more svg{width:23px;height:23px;transition:transform .22s}.gallery-more:hover{background:#e7dcf7!important;transform:translateY(-2px)}.gallery-more:hover svg{transform:rotate(-8deg)}.gallery-more:active{transform:translateY(1px);box-shadow:none}.gallery-more:focus-visible{outline:3px solid #9a83bf;outline-offset:3px}@media(prefers-reduced-motion:reduce){.gallery-more,.gallery-more svg{transition:none!important;transform:none!important}}

/* A persistent label makes this action discoverable on touch screens. */
.gallery-more{width:auto!important;min-width:92px!important;height:46px!important;padding:10px 14px!important;gap:8px!important;background:#51406f!important;color:#fff!important;border:1px solid #43325e!important;box-shadow:0 3px 0 #342449,0 5px 12px #34244922;font-size:14px!important;font-weight:650;cursor:pointer}.gallery-more:hover{background:#654e88!important;box-shadow:0 4px 0 #342449,0 7px 15px #34244930}.gallery-more svg{width:21px;height:21px;flex-shrink:0}.gallery-more:active{box-shadow:0 1px 0 #342449}.gallery-more:focus-visible{outline:3px solid #b195d7;outline-offset:4px}

@keyframes settings-invite{0%,70%,100%{transform:rotate(0) scale(1)}76%{transform:rotate(-13deg) scale(1.12)}82%{transform:rotate(11deg) scale(1.12)}88%{transform:rotate(-7deg) scale(1.08)}94%{transform:rotate(0) scale(1)}}
.brand-card.in-view .gallery-more svg{transform-origin:center;animation:settings-invite 5s ease-in-out infinite}.brand-card:not(.in-view) .gallery-more svg,.gallery-paused .gallery-more svg{animation-play-state:paused}.gallery-more:hover svg,.gallery-more:focus-visible svg{animation-play-state:paused}.gallery-more:active svg{animation:none;transform:scale(.9)}@media(prefers-reduced-motion:reduce){.brand-card .gallery-more svg{animation:none!important;transform:none!important}}


.advanced-hint-wrap{position:relative}.advanced-hint-wrap>button{width:100%;text-align:left}.advanced-hover-hint{position:absolute;z-index:10;left:8px;right:8px;top:calc(100% - 3px);padding:13px 15px;border:1px solid #ffffff50;border-radius:13px;background:rgba(32,48,56,.88);color:#fff;box-shadow:0 8px 24px #10222c25;font-size:13px;line-height:1.65;opacity:0;visibility:hidden;transform:translateY(-3px);transition:opacity .15s ease,transform .15s ease,visibility .15s;pointer-events:none}.advanced-hint-wrap:focus-within:not(.hint-dismissed) .advanced-hover-hint{opacity:1;visibility:visible;transform:none;pointer-events:auto}@media(hover:hover){.advanced-hint-wrap:hover:not(.hint-dismissed) .advanced-hover-hint{opacity:1;visibility:visible;transform:none;pointer-events:auto;transition-delay:.3s}}@media(prefers-reduced-motion:reduce){.advanced-hover-hint{transition:none;transform:none}}
.gallery-menu>.advanced-hint-wrap>button{display:flex;width:100%;justify-content:flex-start;gap:16px;border:0;border-radius:12px;min-height:52px;background:transparent;padding:12px;font-size:15px}
.gallery-menu>.advanced-hint-wrap>button:hover{background:#edf2ee}
.gallery-menu>.advanced-hint-wrap>button>span{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#e7edde;color:#4e684c;font-size:21px}
.gallery-menu>.advanced-hint-wrap>button.danger{border-top:1px solid #e2e9e6;border-radius:0;margin-top:12px;padding-top:18px;color:#a43e52}
.gallery-menu>.advanced-hint-wrap>button.danger>span{background:#fae7e9;color:#a43e52}

.gallery-more{width:46px!important;min-width:46px!important;height:46px!important;padding:11px!important;gap:0!important}.gallery-more svg{width:23px;height:23px}

.gallery-menu .advanced-explanation{margin:14px 0 0;padding:14px 16px;min-height:110px;border-radius:14px;background:rgba(32,48,56,.86);border:1px solid #ffffff40;color:white;font-size:13px;line-height:1.65;box-shadow:0 5px 16px #18303918;overflow-wrap:anywhere}.gallery-menu{scrollbar-gutter:stable}

.gallery-menu .advanced-explanation{height:150px;min-height:150px;overflow:auto;box-sizing:border-box}
.advanced-explanation strong{display:block;color:white;font-size:14px}.gallery-menu .advanced-explanation p{margin:6px 0 0;color:white;font-size:13px}

.gallery-menu .advanced-floating-help{position:fixed;z-index:10000;box-sizing:border-box;margin:0;padding:13px 16px;border:1px solid rgba(255,255,255,.36);border-radius:14px;background:rgba(30,45,54,.78);color:#fff;box-shadow:0 8px 24px #17252d30;backdrop-filter:blur(8px);font-size:13px;line-height:1.65;pointer-events:auto;max-height:45vh;overflow:auto}.advanced-floating-help[hidden]{display:none!important}.gallery-menu .advanced-floating-help strong{display:block;color:#fff;font-size:14px}.gallery-menu .advanced-floating-help p{margin:5px 0 0;color:#fff;font-size:13px;line-height:1.65}
.gallery-menu .advanced-floating-help{position:absolute}
.gallery-menu .advanced-floating-help{background:rgba(25,39,48,.60);backdrop-filter:blur(6px);text-shadow:0 1px 2px #0006}
.gallery-menu .advanced-floating-help,.gallery-menu .advanced-floating-help *{pointer-events:none!important}
/* Visual upload studio */
.website-dialog.website-studio{width:min(820px,calc(100vw - 32px));box-sizing:border-box;padding:26px;background:#faf9f6;border:0;border-radius:28px}.website-studio header{position:static;background:none;padding:0}.website-studio .website-brand{font-size:13px;color:#77717f;margin:6px 0 18px}.website-drop{text-align:center;padding:12px 20px 22px;border:1.5px dashed #cbbada;border-radius:24px;background:#f0eaf7;transition:background .2s,border-color .2s}.website-drop.drag-over{background:#dfd0f0;border-color:#71539a}.website-illustration{max-width:340px;margin:auto;height:160px}.website-illustration svg{width:100%;height:100%}.website-drop h3{font-size:25px;letter-spacing:-.04em;margin:4px 0 16px}.website-drop .website-filename{display:block;margin:8px;font-size:12px;color:#71647c;overflow-wrap:anywhere}.website-drop button{background:white;border:0;cursor:pointer}.website-drop .primary{display:none;background:#71539a}.website-drop.has-file .primary{display:inline-block}.website-studio .website-versions{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.website-studio .website-version{min-width:0;overflow:hidden;padding:10px;border:1px solid #e9e3ed;border-radius:20px}.website-studio .website-version strong{font-size:14px;margin:12px 5px 5px}.website-studio .website-version>span{font-size:11px;margin:0 5px 8px}.website-studio .website-version button{padding:8px 12px;font-size:12px;margin:3px;min-height:40px;background:#f1ecf7;border:0}.website-thumbnail{height:145px;overflow:hidden;border-radius:12px;background:#e8e4dc;pointer-events:none}.website-thumbnail iframe{width:1000px;height:520px;transform:scale(.30);transform-origin:top left;border:0;pointer-events:none;background:white}.website-details{margin-top:20px;border-top:1px solid #e9e3ed;padding-top:16px;color:#807486;font-size:12px;line-height:1.7}.website-details summary{cursor:pointer}.website-details .website-terms{padding:0;background:none}.website-status:empty,.website-preview:empty{display:none}.website-preview{margin-top:18px}.website-studio .float-one{animation:studio-bob 5s ease-in-out infinite}.website-studio .float-two{animation:studio-bob 6s ease-in-out -2s infinite}.website-studio .float-three{animation:studio-bob 4s ease-in-out -1s infinite}@keyframes studio-bob{50%{transform:translateY(-6px)}}@media(max-width:520px){.website-dialog.website-studio{padding:18px;width:calc(100vw - 20px)}.website-studio .website-versions{grid-template-columns:1fr}.website-drop{padding:8px 12px 18px}.website-drop h3{font-size:22px}.website-illustration{height:135px}.website-thumbnail{height:150px}}@media(prefers-reduced-motion:reduce){.website-studio .float-one,.website-studio .float-two,.website-studio .float-three{animation:none}}
.website-thumbnail iframe{width:333.333%;height:500px}.website-studio .website-versions:has(>.website-version:only-child){grid-template-columns:1fr}.website-studio .website-version:only-child .website-thumbnail{height:150px}
/* Compact illustration: decoration should not dominate the upload action. */
.website-studio .website-illustration{height:84px;max-width:190px}.website-studio .website-drop{padding:10px 16px 12px}.website-studio .website-drop h3{font-size:20px;margin:2px 0 9px}.website-studio .website-drop .website-filename{margin:5px}.website-studio .website-drop button{margin:2px;min-height:40px;padding:8px 14px}.website-studio .website-thumbnail{height:110px}.website-studio .website-version:only-child .website-thumbnail{height:110px}@media(max-width:520px){.website-studio .website-illustration{height:72px;max-width:165px}.website-studio .website-drop h3{font-size:19px}}
.website-studio .website-versions{display:block;overflow-x:auto;border:1px solid #e5deec;border-radius:16px;background:white}.website-version-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}.website-version-table th{padding:12px 10px;background:#eee8f5;color:#705d83;font-weight:600;white-space:nowrap}.website-version-table td{padding:12px 10px;border-top:1px solid #ece7f0;vertical-align:middle}.website-version-table strong{display:block;font-size:12px;min-width:80px}.website-version-table small{display:block;color:#8c8193;margin-top:4px}.website-version-table td:nth-child(2){font-size:11px;color:#7c7184;min-width:85px}.website-version-badge{display:inline-block;padding:4px 7px;border-radius:8px;background:#eef2ea;color:#597052;white-space:nowrap}.website-studio .website-table-actions button{display:block;white-space:nowrap;margin:3px 0;padding:6px 9px;min-height:36px;font-size:12px;background:#f1ecf7;border:0}.website-studio .website-table-actions{width:90px}@media(max-width:520px){.website-version-table th,.website-version-table td{padding:9px 6px}.website-version-table{font-size:11px}}
.website-studio .website-preview:has(>label){padding:20px;background:#f0eaf7;border:1px solid #dfd4e9;border-radius:18px}.website-studio .website-preview>strong{display:block;font-size:18px;margin:0 0 12px;overflow-wrap:anywhere}.website-studio .website-preview>label{display:block;font-size:13px;line-height:1.7;color:#6c5b79}.website-studio .website-preview>label>input{display:block;box-sizing:border-box;width:100%;margin:10px 0 14px;background:#fff;border:1px solid #cdbedf;min-height:44px}.website-studio .website-preview>button{display:inline-flex;align-items:center;justify-content:center;margin:0 8px 0 0;min-height:44px}.website-studio .website-preview>button.primary{background:#71539a;color:white}
.website-studio .website-preview>label{margin-bottom:16px;font-size:14px}
.website-version-table .version-active{background:#e3f1e7;box-shadow:inset 4px 0 #3b8060}.website-version-table .version-active .website-version-badge{background:#276348;color:white;font-weight:700}.website-version-table .version-active strong{color:#225b42}
/* Real website covers: only visible cards load; previews cannot run scripts or submit forms. */
.gallery-site-preview{position:relative;background:#f7f6f2;contain:layout paint}
.gallery-site-preview iframe{position:absolute;inset:0;width:1200px;height:900px;border:0;transform-origin:top left;pointer-events:none;background:white}
.gallery-preview-open{position:absolute;inset:0;display:block;z-index:1;border-radius:inherit}
.gallery-preview-open span{position:absolute;right:10px;bottom:10px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#fffdf2e8;color:#173d47;box-shadow:0 2px 12px #173d4720}
.gallery-preview-open:focus-visible{outline:3px solid #7965ac;outline-offset:-3px}
/* Give the bilingual heading its own row on narrow phones. */
@media(max-width:380px){
 .brand-gallery .desk-intro{flex-direction:column;align-items:flex-start;gap:18px}
 .brand-gallery .desk-intro h1{width:100%;font-size:32px!important;letter-spacing:-1px;line-height:1.18}
 .brand-gallery .desk-add{align-self:flex-end;flex-shrink:0}
}
