@font-face{font-family:K2D;src:url('/assets/fonts/K2D-Regular.ttf')}@font-face{font-family:K2D;src:url('/assets/fonts/K2D-Bold.ttf');font-weight:700}
@font-face{font-family:Kanit;src:url('/assets/fonts/Kanit-Regular.ttf');font-display:swap}
:root{color-scheme:dark;--navy:#070d3b;--pink:#ff05b4;--cyan:#03ecf5;--pale:#dbe3ff}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;min-width:0;min-height:100dvh;color:white;font:16px/1.4 K2D,system-ui,sans-serif;background:radial-gradient(ellipse at 82% 39%,#252171 0,transparent 57%),var(--navy);isolation:isolate}
body::before,body::after{content:"";z-index:-1;position:fixed;pointer-events:none;width:clamp(100px,23vw,380px);height:clamp(100px,21vw,320px);opacity:.85;mask-image:radial-gradient(ellipse at top left,#000 10%,transparent 73%);background:radial-gradient(circle,var(--pink) 38%,transparent 44%) 0 0/17px 17px}
body::before{inset:0 auto auto 0}
body::after{inset:auto 0 0 auto;transform:rotate(180deg);background:radial-gradient(circle,var(--cyan) 38%,transparent 44%) 0 0/17px 17px}
header,main{width:min(1360px,100%);margin:auto;padding-inline:clamp(16px,4vw,62px)}
header{display:flex;align-items:center;gap:14px;padding-top:max(12px,env(safe-area-inset-top));min-height:70px}
.brand{display:flex;align-items:center;gap:13px}.brand img{object-fit:contain;width:clamp(106px,14vw,180px);height:auto;display:block}.brand img:last-child{width:clamp(98px,12vw,155px)}.brand span{height:30px;border-left:1px solid #747aa3}
h1,h2,p,figure{margin:0}
h1,h2{font-weight:700;font-style:italic;line-height:1.1}h1 span{color:var(--pink)}
button,.primary,.change,.back{font:inherit;font-weight:700;cursor:pointer;color:white;border:1px solid #999ec5;border-radius:10px;background:#0c1247;text-decoration:none;display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:6px 12px}
button:disabled{opacity:.45;cursor:default}
:focus-visible,.tools:has(.file:focus-visible) .change{outline:3px solid white;outline-offset:3px}
.primary{color:#070d3b;background:var(--cyan);border-color:transparent}
.primary:hover:not(:disabled){background:#7bfbff}
.primary svg{width:25px;height:25px}
.back{width:44px;flex:none;font-size:25px;padding:0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.is-landing{
  --landing-header-height:calc(60px + env(safe-area-inset-top));
  --landing-space:calc(100dvh - var(--landing-header-height) - env(safe-area-inset-bottom));
  background:#020b50;
  padding-bottom:env(safe-area-inset-bottom)
}
.is-landing::before,.is-landing::after{display:none}
.landing{display:grid;place-items:center;width:100%;min-height:var(--landing-space);padding:0}
.poster{width:min(100%,calc(var(--landing-space) * 1672 / 941));aspect-ratio:1672 / 941;position:relative}
.poster picture,.poster picture img{display:block;width:100%;height:100%}
.poster .brand{position:absolute;left:13%;top:3%;width:33%;height:14.5%;justify-content:center;gap:3%;background:radial-gradient(ellipse,#020b50 74%,#020b50ed 90%,transparent 100%)}
.poster .brand img{max-height:88%;width:45%;object-fit:contain}
.poster .brand img:last-child{width:38%}
.poster .brand span{height:47%}
.start{display:block;position:absolute;left:5%;top:63.6%;width:40%;height:17.5%;border-radius:11px}
.start:hover{background:#fff1}
.start:focus-visible{outline:3px solid white;outline-offset:2px}
.editor{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:clamp(14px,3vw,50px);padding-block:16px max(18px,env(safe-area-inset-bottom));align-items:start}
.work,.picker{min-width:0;display:grid;align-content:start;gap:10px}
.editor-heading{position:relative;width:min(100%,560px);aspect-ratio:837 / 154;overflow:hidden;justify-self:center;mask-image:linear-gradient(to bottom,transparent,#000 6%,#000 92%,transparent),linear-gradient(to right,transparent,#000 3%,#000 97%,transparent);mask-composite:intersect}
.editor-heading img{position:absolute;top:-72.73%;left:-7.29%;width:112.43%;height:auto;display:block;mix-blend-mode:lighten}
.preview-shell{display:grid;place-items:center}
.preview{position:relative;width:min(100%,max(250px,calc(100dvh - 274px)));max-width:545px;aspect-ratio:1;overflow:hidden;border:2px solid #d6efff;border-radius:14px;background:radial-gradient(ellipse at center,#232975,#0b1245)}
.preview { isolation: isolate; }
.preview canvas{position:relative;z-index:1;display:block;width:100%;height:100%;touch-action:none;cursor:grab}
.preview canvas[tabindex="-1"] { pointer-events: none; }
.preview canvas:active{cursor:grabbing}.preview canvas:focus-visible{outline-offset:-5px}
.empty {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  padding: 0;
  background: transparent;
  border: 0;
}
.empty img {
  display: block;
  width: 76%;
  height: auto;
  transform: translateY(-4%);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent),
    linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
  mask-composite: intersect;
  pointer-events: none;
}
/* The two VIP crowns sit above the artwork, while the 20 illustrated frames place their logos below it. */
.editor:has(.frame:nth-child(4)[aria-pressed=true], .frame:nth-child(5)[aria-pressed=true]) .empty img {
  width: 68%;
  transform: translateY(1%);
}
.editor:has(.frame:nth-child(n+6)[aria-pressed=true]) .empty img {
  transform: translateY(-13%);
}
.empty:hover img { filter: brightness(1.08); }
.empty:focus-visible { outline-offset: -5px; }
.tools{display:grid;grid-template-columns:auto 38px minmax(35px,1fr) 38px auto;align-items:center;gap:7px}
.tools input[type=range]{width:100%;margin:0;accent-color:var(--cyan)}
.tools button{padding:0;font-size:23px}.tools .change{border-color:var(--cyan);white-space:nowrap}
.file{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
.status{display:flex;align-items:center;justify-content:space-between;gap:7px;min-height:19px;font-size:13px;color:var(--pale)}
.status #photo-status:empty { display: none; }
.status .line-refresh {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 5px 12px;
  border: 1px solid var(--cyan);
  border-radius: 8px;
  background: #0c1247;
  color: var(--cyan);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.status .line-refresh:hover { background: #182358; }
.picker h2{font-size:clamp(24px,3.1vw,39px)}
.frame-carousel{position:relative;min-width:0}
.frames{display:grid;grid-auto-flow:column;gap:9px;padding:3px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scroll-padding-inline:3px;scrollbar-color:#30cadd #142151;scrollbar-width:thin}
.frame-nav{position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:44px;padding:0;color:var(--cyan);background:#080d39f5;border:1px solid var(--cyan);border-radius:50%;box-shadow:0 2px 9px #050726a0}
.frame-nav svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.frame-prev{left:-8px}.frame-next{right:-8px}
.frame-nav:disabled{opacity:1;color:#88a6c7;background:#0b1441e8;border-color:#426082;pointer-events:none}
.frame{display:block;min-height:0;aspect-ratio:1;position:relative;overflow:hidden;padding:0;background:transparent;border:2px solid #717ba9;border-radius:9px}
.frame{scroll-snap-align:start}
.frame img,.frame-preview{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.frame-preview:not([hidden])+img{visibility:hidden}
.frame span{display:none;position:absolute;right:4px;top:4px;width:25px;height:25px;line-height:25px;background:var(--cyan);color:var(--navy);border-radius:50%;z-index:2}
.frame[aria-pressed=true]{border-color:var(--cyan);box-shadow:0 0 0 2px var(--cyan)}.frame[aria-pressed=true] span{display:block}
.frame:focus-visible{outline-offset:-5px;z-index:2}
@media(any-pointer:fine){.frame:not(:disabled){cursor:grab}.frames.is-dragging,.frames.is-dragging .frame{cursor:grabbing}}
.frames.is-dragging{scroll-snap-type:none;user-select:none}
.photo-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.photo-actions button{flex:1 0 auto;min-height:44px;padding:7px 11px;font-size:clamp(15px,1.7vw,19px);border-radius:10px}
.photo-actions svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.photo-actions .download{border-color:var(--cyan);color:var(--cyan)}
.photo-actions .download:hover:not(:disabled){background:#182358}
@media(min-width:731px){
  .picker{container-type:inline-size}
  .frames{--tile:min(calc((100cqw - 24px) / 3), max(96px, calc((54dvh - 22px) / 2)));grid-auto-columns:var(--tile);grid-template-rows:var(--tile)}
  .frames:has(.frame:nth-child(4)){grid-template-rows:repeat(2,var(--tile))}
  .frames:not(:has(.frame:nth-child(7))){grid-auto-flow:row;grid-template-columns:repeat(3,var(--tile))}
}
@media(max-width:730px){
  header{min-height:0;padding-block:max(8px,env(safe-area-inset-top)) 3px;gap:9px}.brand{gap:8px}.brand img{max-height:46px}.brand span{height:24px}
  .is-editor{display:grid;grid-template-rows:auto minmax(0,1fr);height:100dvh}
  .editor{margin-block:0;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(min-content,1fr) auto;align-items:stretch;gap:8px;padding-top:4px}
  .work,.picker{gap:6px}.work{grid-template-rows:auto minmax(120px,1fr) auto auto}
  .preview-shell{container-type:size}
  .preview{width:min(100cqw,100cqh,420px)}
  .tools{gap:5px;max-width:470px;width:100%;justify-self:center}
  .status{font-size:12px;max-width:470px;width:100%;justify-self:center;min-height:17px}
  .picker h2{font-size:22px}
  .frames{grid-auto-columns:min(29%,108px);gap:7px}
  .frame-nav svg{width:20px;height:20px}
  .photo-actions{margin-top:1px}
}
@media(max-width:730px) and (max-height:670px){
  .frames{grid-auto-columns:min(28%,68px)}
}
@media(max-width:730px) and (max-height:520px){
  .editor{gap:4px;padding-bottom:max(4px,env(safe-area-inset-bottom))}
  .work,.picker{gap:4px}
  .picker h2{font-size:19px}
  .frames{grid-auto-columns:min(27%,60px)}
}

.is-editor{background-color:#040a34;background-image:radial-gradient(ellipse at 55% 50%,#0a144e 0,transparent 65%)}
.is-editor::before,.is-editor::after {
  inset: 0 auto 0 0;
  width: min(32vw, 460px);
  height: auto;
  transform: none;
  background: url('/assets/msnr-profile-photo/editor-doodle.webp') left center / auto 100% no-repeat;
  mix-blend-mode: lighten;
  opacity: .8;
  mask-image: linear-gradient(to right, #000 42%, transparent 100%);
}
.is-editor::after {
  inset: 0 0 0 auto;
  background-position: right center;
  mask-image: linear-gradient(to left, #000 42%, transparent 100%);
}
.is-editor header{position:relative;justify-content:center}
.is-editor header::before,.is-editor header::after{content:"";position:absolute;top:0;width:21%;height:100%;pointer-events:none;z-index:-1;background:var(--pink);clip-path:polygon(100% 0,83% 21%,90% 19%,59% 44%,76% 39%,36% 72%,24% 80%,32% 66%,0 100%,17% 72%,42% 39%,26% 56%,59% 18%,75% 3%)}
.is-editor header::before{left:8%}
.is-editor header::after{right:3%;background:var(--cyan)}
.is-editor .back{position:absolute;left:clamp(16px,4vw,62px);border-color:transparent;background:#050c3f}
.picker h2::after,.picker h2::before{content:"";display:block;height:.16em;background:var(--cyan);clip-path:polygon(0 85%,19% 49%,9% 55%,46% 19%,76% 5%,100% 0,84% 24%,95% 33%,48% 48%,33% 69%,49% 61%,16% 93%);}
.preview{border:3px solid white;border-radius:12px}
.status{justify-content:center;text-align:center}
.tools .change svg{width:20px;height:20px;flex:none}
.picker h2{display:flex;align-items:center;gap:13px}
.picker h2::after{width:min(30%,135px)}
.picker h2::before{display:none}
.frame{border-color:#e7edff}
.frame[aria-pressed=true]{border-color:var(--cyan)}
@media(max-width:730px){
 .is-editor::before,.is-editor::after {
   width: min(29vw, 150px);
   background-size: clamp(510px, 150vw, 690px) auto;
   opacity: .64;
 }
 .is-editor::before { background-position: left 8%; }
 .is-editor::after { background-position: right 88%; }
 .poster{width:min(100%,calc(var(--landing-space) * 1122 / 1402));aspect-ratio:1122 / 1402}
 .poster .brand{left:28%;top:1%;width:44%;height:9%}
 .start{left:6%;top:80%;width:89%;height:14.5%}
 .status{font-size:13px}
 .picker h2{justify-content:center}
 .picker h2::before{display:block;width:min(23%,88px)}
 .picker h2::after{width:min(23%,88px)}
 .tools .change svg{width:17px;height:17px}
 .frames{grid-auto-columns:min(30%,116px)}
}
@media(max-width:730px) and (max-height:670px){.frames{grid-auto-columns:min(30%,68px)}}
@media(max-width:730px) and (max-height:520px){
 .frames{grid-auto-columns:min(28%,60px)}
 .status{font-size:12px}
}

.profile-header{
  position:relative;
  z-index:4;
  padding-inline:max(clamp(16px,4vw,62px),env(safe-area-inset-left)) max(clamp(16px,4vw,62px),env(safe-area-inset-right))
}
.is-landing .profile-header{
  justify-content:flex-end;
  min-height:var(--landing-header-height);
  padding-top:env(safe-area-inset-top);
  padding-bottom:0
}
.profile-platform-navigation, .profile-night-navigation { display: none; }
@media (min-width: 731px) {
  .is-landing { --landing-header-height: calc(72px + env(safe-area-inset-top)); }
  .is-landing .profile-header {
    width: 100%;
    justify-content: center;
    background: linear-gradient(#082646, #071b41);
  }
  .is-landing .profile-header:has(.profile-platform-navigation) .profile-menu { display: none; }
  .profile-platform-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100%, 1240px);
    gap: 20px;
  }
  .profile-platform-brand { display: inline-flex; align-items: center; min-height: 44px; }
  .profile-platform-brand img { display: block; width: 176px; height: 60px; object-fit: contain; }
  .profile-platform-navigation nav { display: flex; align-items: center; gap: 16px; }
  .profile-platform-navigation nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: white;
    font-weight: 700;
    text-decoration: none;
  }
  .profile-platform-navigation nav a:hover { text-decoration: underline; }
  .profile-platform-navigation .public-nav-cta { padding: 0 18px; border-radius: 999px; background: #1269b4; }
  .is-landing .poster { width: 100%; }
  .is-landing .profile-header:has(.profile-night-navigation) {
    justify-content: space-between;
    background: #030609;
    border-bottom: 1px solid #1679ac;
  }
  .is-landing .profile-night-navigation { display: flex; align-items: center; }
  .profile-night-navigation > nav, .profile-night-actions { display: none; }
  .profile-night-navigation .night-brand { display: inline-flex; align-items: center; min-height: 44px; }
  .profile-night-navigation .night-brand img { display: block; width: 140px; height: 62px; object-fit: contain; }
  .profile-night-navigation .night-brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@media (min-width: 1361px) {
  .is-landing:has(.profile-night-navigation) { --landing-header-height: calc(82px + env(safe-area-inset-top)); }
  .is-landing .profile-header:has(.profile-night-navigation) { justify-content: center; }
  .is-landing .profile-header:has(.profile-night-navigation) .profile-menu { display: none; }
  .profile-night-navigation { width: min(100%, 1600px); justify-content: space-between; gap: 16px; }
  .profile-night-navigation > nav { display: flex; flex: 1; justify-content: center; gap: 4px; font: 16px/1.55 Kanit, K2D, system-ui, sans-serif; }
  .profile-night-navigation > nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 9px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    white-space: nowrap;
  }
  .profile-night-navigation > nav a:hover { background: #152736; }
  .profile-night-actions { display: flex; align-items: center; gap: 8px; }
  .profile-night-actions > a, .profile-night-actions summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    gap: 7px;
    color: white;
    text-decoration: none;
    white-space: nowrap;
    font-size: 14px;
  }
  .profile-night-actions svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .profile-night-actions .profile-night-cart { width: 44px; }
  .profile-night-actions .profile-night-signup { min-height: 48px; padding: 0 13px; border-radius: 8px; background: #f514a9; color: #13000c; font-weight: 700; }
  .profile-night-actions .profile-night-signup:hover { background: #ff55c7; }
  .profile-night-actions .night-account { position: relative; }
  .profile-night-actions summary { cursor: pointer; list-style: none; }
  .profile-night-actions summary::-webkit-details-marker { display: none; }
  .profile-night-actions .night-account-panel {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 180px;
    padding: 5px;
    border: 1px solid #355771;
    border-radius: 8px;
    background: #101d2a;
  }
  .profile-night-actions .night-account-panel a { display: flex; align-items: center; min-height: 44px; padding: 0 8px; color: white; text-decoration: none; }
  .profile-night-actions .night-account-panel a:hover { background: #152736; }
}
.is-editor .profile-header{
  display:grid;
  grid-template-columns:44px minmax(0,1fr) 44px;
  justify-items:center
}
.is-editor .profile-header .back{position:static;justify-self:start}
.profile-header .brand{min-width:0;justify-content:center}
.profile-header .brand img{min-width:0;flex-shrink:1}
@media (min-width: 1361px) {
  .is-editor .profile-header:has(> .profile-night-navigation) {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 82px;
    padding-inline: max(clamp(12px, 1.4vw, 24px), env(safe-area-inset-left)) max(clamp(12px, 1.4vw, 24px), env(safe-area-inset-right));
    background: #030609;
    border-bottom: 1px solid #1679ac;
  }
  .is-editor .profile-header:has(> .profile-night-navigation)::before,
  .is-editor .profile-header:has(> .profile-night-navigation)::after,
  .is-editor .profile-header:has(> .profile-night-navigation) > .brand,
  .is-editor .profile-header:has(> .profile-night-navigation) > .profile-menu { display: none; }
  .is-editor .profile-header > .profile-night-navigation {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 1600px;
    gap: 9px;
  }
  .profile-night-brands { display: flex; align-items: center; flex-shrink: 0; gap: 9px; }
  .profile-night-brands .night-brand img { width: 112px; }
  .profile-night-rotary { display: block; width: 91px; height: auto; }
  .is-editor .profile-night-navigation > nav { gap: 2px; }
  .is-editor .profile-night-navigation > nav a { padding-inline: 5px; }
  .profile-night-actions .night-account-panel button {
    width: 100%;
    justify-content: flex-start;
    padding: 0 8px;
    border: 0;
    background: transparent;
    font-weight: 400;
  }
  .profile-night-actions .night-account-panel button:hover { background: #152736; }
}
.profile-menu{position:relative}
.profile-menu summary{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  cursor:pointer;
  list-style:none;
  color:var(--cyan);
  background:#0c1247;
  border:1px solid #4c6caa;
  border-radius:10px
}
.profile-menu summary::-webkit-details-marker{display:none}
.profile-menu summary:hover,.profile-menu[open] summary{border-color:var(--cyan)}
.profile-menu summary svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.profile-menu .profile-menu-close,.profile-menu[open] .profile-menu-open{display:none}
.profile-menu[open] .profile-menu-close{display:block}
.profile-menu nav{
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  width:min(264px,calc(100vw - 32px - env(safe-area-inset-left) - env(safe-area-inset-right)));
  max-height:calc(100dvh - 82px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  overflow:auto;
  overscroll-behavior:contain;
  padding:6px;
  background:#0b1245;
  border:1px solid #4c6caa;
  border-radius:12px;
  box-shadow:0 12px 26px #010521a8
}
.profile-menu nav a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:5px 12px;
  color:white;
  text-decoration:none;
  border-radius:6px
}
.profile-menu nav a:hover,.profile-menu nav a:focus-visible{background:#1b2863}
.profile-menu nav a:focus-visible{outline-offset:-3px}
.profile-menu nav .profile-menu-register{color:var(--cyan);font-weight:700}

html:has(.save-photo-dialog[open]) { overflow: hidden; }
.save-photo-dialog {
  position: fixed;
  inset: 0;
  width: min(470px, calc(100% - 24px - env(safe-area-inset-left) - env(safe-area-inset-right)));
  max-height: calc(100dvh - max(12px, env(safe-area-inset-top)) - max(12px, env(safe-area-inset-bottom)));
  margin: auto;
  padding: 13px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #4c6caa;
  border-radius: 14px;
  background: #0b1245;
  color: white;
}
.save-photo-dialog::backdrop { background: #03071bd9; }
.save-photo-content { display: grid; gap: 8px; }
.save-photo-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.save-photo-heading h2 { font-size: 23px; font-style: normal; }
.save-photo-heading button { min-width: 44px; padding: 0; font-size: 24px; }
#save-photo-help { font-size: 14px; }
.save-photo-image {
  display: block;
  width: min(100%, max(104px, calc(100dvh - 245px)));
  height: auto;
  justify-self: center;
  border: 1px solid #657cac;
  border-radius: 8px;
  touch-action: auto;
  -webkit-touch-callout: default;
}
.save-photo-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.save-photo-actions > * { flex: 1 1 auto; }
.save-photo-file {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid var(--cyan);
  border-radius: 10px;
  color: var(--cyan);
  font-weight: 700;
  text-decoration: none;
}
.save-photo-note, .save-photo-status { color: var(--pale); font-size: 12px; }
.save-photo-status:empty { display: none; }
@media (max-width: 380px) {
  .save-photo-actions:has(.save-photo-native:not([hidden])) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .save-photo-actions > * { min-width: 0; padding-inline: 5px; font-size: 14px; text-align: center; }
}
@media (max-height: 520px) {
  .save-photo-dialog { padding: 11px; }
  .save-photo-content { gap: 6px; }
  .save-photo-image { width: min(100%, max(96px, calc(100dvh - 280px))); }
}
