/* Adapted from the holographic card supplied by the user (Pug/SCSS -> HTML/CSS). */
@property --ratio-x{syntax:"<number>";inherits:true;initial-value:0}
@property --ratio-y{syntax:"<number>";inherits:true;initial-value:0}
@property --correction{syntax:"<percentage>";inherits:true;initial-value:0%}
:root{--c1:#f5d3ff;--muted:#eeeaff;--accent:#b6d9ff}
body{perspective:2400px;background:radial-gradient(ellipse at 50% 50%,#151578,#000 85%);overflow-x:clip}
.app-card.card{
  --ratio-x:0;--ratio-y:0;--correction:100%;--tilt-angle:20deg;
  container-type:inline-size;
  color:var(--text);background:#343e80;
  transform-style:preserve-3d;
  transform:none;
  opacity:1;filter:none;backdrop-filter:none;
  will-change:auto;
  transition:border-color .3s,box-shadow .3s;
  border-color:#acd6ff66;box-shadow:0 24px 75px #0008,0 0 28px #68c3ff12,inset 0 1px 0 #fff3;
}
.app-card.card:is(:hover,:focus-within){--correction:0%;border-color:#b6dcff99;box-shadow:0 24px 75px #0008,0 0 35px #68c3ff20,inset 0 1px 0 #fff4}
.holo-effects{position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;overflow:hidden}
.holo-bg{position:absolute;inset:0;border-radius:inherit;
 background:radial-gradient(ellipse at calc(90% - var(--ratio-x)*20%) calc(0% - var(--ratio-y)*20%),rgba(255,255,255,.7),var(--c1) 1%,hsl(306 100% 63% / .76) 20%,transparent),
 linear-gradient(110deg,#0093ff calc(10% - var(--ratio-x)*20%),#51d6fd calc(20% - var(--ratio-x)*20%),#0093ff calc(30% - var(--ratio-x)*20%),hsl(306 100% 63% / .76) calc(60% - var(--ratio-x)*20%),transparent calc(100% - var(--ratio-x)*20%));
 transition:opacity .8s ease;mix-blend-mode:hard-light;opacity:.85;
}
.holo-lines{position:absolute;inset:.001rem;border-radius:inherit;pointer-events:none;
 mask-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDYwIDc2MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIxLjUiPjxjaXJjbGUgY3g9IjUzMCIgY3k9IjM4MCIgcj0iMTYwIi8+PGNpcmNsZSBjeD0iNTMwIiBjeT0iMzgwIiByPSIxMjUiLz48Y2lyY2xlIGN4PSI1MzAiIGN5PSIzODAiIHI9IjkwIi8+PC9zdmc+");mask-size:100% 100%;mask-repeat:no-repeat;
 background:linear-gradient(110deg,#0093ff calc(10% - var(--ratio-x)*20% - var(--correction)),#51d6fd calc(20% - var(--ratio-x)*20% - var(--correction)),#0093ff calc(30% - var(--ratio-x)*20% - var(--correction)),hsl(192 83% calc(77% - 20% * var(--ratio-x))) calc(40% - var(--ratio-x)*20% - var(--correction)),transparent calc(60% - var(--ratio-x)*20% - var(--correction)),magenta calc(70% - var(--ratio-x)*20% - var(--correction)),black calc(80% - var(--ratio-x)*20% - var(--correction)));
 opacity:1;mix-blend-mode:screen;
}
.circles{position:absolute;inset:0;border-radius:inherit;overflow:hidden;opacity:.7;transition:opacity .8s ease}
.circles:before,.circles:after{content:"";position:absolute;inset:0;aspect-ratio:1;background:radial-gradient(ellipse at 50% 50%,hsl(194 98% 65% / .41) .25rem,transparent .25rem) repeat;background-size:1rem 1rem}
.circles:before{transform:translate(-50%,-50%) rotate(45deg)}.circles:after{transform:translate(50%,100%) rotate(45deg)}
.card:is(:hover,:focus-within) .holo-bg,.card.rotate .holo-bg{opacity:.9}
.card:is(:hover,:focus-within) .circles,.card.rotate .circles{opacity:1}
.card.rotate{--correction:30%}
.card.rotate .holo-effects{animation:holo-rotate 10s ease-in-out infinite}
@keyframes holo-rotate{from,to{--ratio-x:1.2;--ratio-y:1.2}30%{--ratio-x:-1.5;--ratio-y:.2}50%{--ratio-x:.5;--ratio-y:.2}70%{--ratio-x:-1.5;--ratio-y:-1.2}}
/* Keep the foil luminous: no dark overlay over its colors. */
.holo-effects:after{content:none}
.logo{position:relative;color:#fff;transform:perspective(600px) translateZ(calc(.01rem + .5rem * var(--ratio-x))) translate(calc(var(--ratio-x)*-1rem),calc(var(--ratio-y)*-1rem)) rotateY(calc(-10deg * var(--ratio-x))) rotateX(calc(10deg * var(--ratio-y)));text-shadow:calc(var(--ratio-x)*4px) calc(var(--ratio-y)*4px) 0 #15105799;transition:transform .2s linear}
.app-subtitle,.mode-copy small,.section-hint,.log-caption,.privacy-note,.app-footer{color:var(--muted)}
.mode-card{background:#10152b}.mode-card:has(:checked){border-color:#91d6ff99;background:#182d4c}
.drop-zone{background:#090e24;border-color:#b2d9ff55}.drop-zone.is-over{background:#193762;border-color:#c5e9ff}
.journal-surface{background:#070b1c}.field select,.field input{background:#10152b}
.btn-primary{background:linear-gradient(110deg,#234673,#543469);border-color:#acb9ef99}
.btn-primary:not(:disabled):hover{background:linear-gradient(110deg,#315f99,#75488e);box-shadow:0 0 24px #84bcff3d}
.motion-paused .card{animation:none!important;transform:none;--ratio-x:0;--ratio-y:0;--correction:0%}
@media(max-width:799px),(hover:none){.app-card.card{--tilt-angle:0deg}.card.rotate .holo-effects{animation:none;--ratio-x:0;--ratio-y:0}.logo{transform:none}}
@media(prefers-reduced-motion:reduce){.app-card.card{animation:none!important;transform:none!important;--ratio-x:0!important;--ratio-y:0!important;--correction:0%}.logo{transform:none}.holo-bg{opacity:1}.circles{opacity:.25}}

/* High-contrast labels remain readable over bright foil. */
.app-header,.mode-group legend,.section-head,.export-panel legend,.field-label,.log-heading,.privacy-note,.app-footer{ text-shadow:0 1px 2px #0c1634,0 0 4px #0c1634a6; }
.app-card.card{border-color:#daedffb3;box-shadow:0 20px 70px #0008,inset 0 1px 0 #fff8}
.motion-toggle{color:#fff;background:#20144a80;border-color:#ffffff60}
.motion-paused .logo{transform:none;text-shadow:none}

/* Enlarged 72px version of the supplied chase2k25 checkbox. */
.checkbox-container{position:relative;width:72px;height:72px;flex:none;display:flex;justify-content:center;align-items:center;--toggle-green:#00ff00}
.checkbox-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.checkbox-label{position:relative;width:100%;height:100%;background:#1a1a1a;border:2px solid var(--toggle-green);border-radius:50%;box-shadow:0 0 12px #00ff0080;cursor:pointer;transition:box-shadow .3s ease,transform .3s ease,background .3s ease;overflow:hidden;display:flex;justify-content:center;align-items:center;touch-action:manipulation}
.checkbox-input:focus-visible+.checkbox-label{outline:3px solid white;outline-offset:5px}
.checkbox-label .grid-bg{position:absolute;inset:0;background:repeating-linear-gradient(45deg,#00ff001a,#00ff001a 2px,transparent 2px,transparent 6px);opacity:.3;transition:opacity .3s ease;z-index:0;animation:toggle-grid-shift 1.5s linear infinite paused}
.checkbox-label .checkmark{position:absolute;width:43px;height:43px;border:3px solid var(--toggle-green);border-radius:50%;opacity:0;transition:opacity .3s ease,transform .3s ease;z-index:2}
.checkbox-label .checkmark:before{content:"";position:absolute;top:50%;left:50%;width:18px;height:9px;border-left:3px solid var(--toggle-green);border-bottom:3px solid var(--toggle-green);transform:translate(-50%,-70%) rotate(-45deg);opacity:0;transition:opacity .3s ease}
.checkbox-label .glitch-overlay-h,.checkbox-label .glitch-overlay-v{position:absolute;inset:0;opacity:0;transition:opacity .3s ease;z-index:1}
.checkbox-label .glitch-overlay-h{background:linear-gradient(90deg,transparent,#00ff0033,transparent)}
.checkbox-label .glitch-overlay-v{background:linear-gradient(0deg,transparent,#00ff0026,transparent)}
.checkbox-label .binary-particles{position:absolute;top:-28px;left:0;width:100%;height:115px;pointer-events:none;z-index:3}
.checkbox-label .particle{position:absolute;color:var(--toggle-green);font:12px Consolas,monospace;opacity:0;animation:toggle-particle-rise 1.2s linear infinite;animation-play-state:paused}
@media(hover:hover){.checkbox-label:hover{box-shadow:0 0 20px var(--toggle-green);transform:scale(1.05)}.checkbox-label:hover .glitch-overlay-h{opacity:1;animation:toggle-glitch-h 1s infinite}.checkbox-label:hover .glitch-overlay-v{opacity:1;animation:toggle-glitch-v .8s infinite}}
.checkbox-input:checked+.checkbox-label{background:#063706;border-color:var(--toggle-green);box-shadow:0 0 25px #00ff0099}
.checkbox-input:checked+.checkbox-label .grid-bg{opacity:.6;animation-play-state:running}
.checkbox-input:checked+.checkbox-label .checkmark{opacity:1;transform:rotate(360deg);animation:toggle-check-rotate .5s ease-in-out}
.checkbox-input:checked+.checkbox-label .checkmark:before{opacity:1;animation:toggle-check-bounce .4s ease-in-out .1s}
.checkbox-input:checked+.checkbox-label .glitch-overlay-h{opacity:.8;animation:toggle-glitch-h .6s infinite}
.checkbox-input:checked+.checkbox-label .glitch-overlay-v{opacity:.8;animation:toggle-glitch-v .5s infinite}
.checkbox-input:checked+.checkbox-label .particle{animation-play-state:running}
@keyframes toggle-grid-shift{to{background-position:6px 6px}}
@keyframes toggle-glitch-h{0%{transform:translateX(-100%)}20%,100%{transform:translateX(100%) skewX(5deg)}}
@keyframes toggle-glitch-v{0%{transform:translateY(-100%)}30%,100%{transform:translateY(100%) skewY(3deg)}}
@keyframes toggle-check-rotate{0%{transform:scale(0) rotate(0)}50%{transform:scale(1.1) rotate(180deg)}100%{transform:scale(1) rotate(360deg)}}
@keyframes toggle-check-bounce{0%{opacity:0;transform:translate(-50%,-70%) rotate(-45deg) scale(0)}50%{opacity:1;transform:translate(-50%,-70%) rotate(-45deg) scale(1.2)}100%{opacity:1;transform:translate(-50%,-70%) rotate(-45deg) scale(1)}}
@keyframes toggle-particle-rise{0%{opacity:0;transform:translateY(58px)}20%{opacity:.7}100%{opacity:0;transform:translateY(-28px)}}
@media(max-width:420px){.checkbox-container{width:64px;height:64px}}
@media(prefers-reduced-motion:reduce){.checkbox-container *,.checkbox-container *:before{animation:none!important;transition:none!important}.checkbox-label:hover{transform:none}.checkbox-label .binary-particles{display:none}}

/* Enlarge the switch without increasing the dashboard height. */
.header-top{position:relative;min-height:44px}
.header-top .checkbox-container{position:absolute;right:0;top:50%;transform:translateY(-50%)}

/* Gaming wordmark: Russo One display face, steel fill and cyan cut accents. */
@font-face{font-family:"Russo One";src:url("assets/russo-one.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
.header-top{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:72px;margin-bottom:14px}
.header-top .checkbox-container{position:relative;top:auto;right:auto;transform:none}
.header-top .app-title.logo{
  position:relative;isolation:isolate;flex:0 1 auto;min-width:0;
  margin:0;padding:0 3px 10px 22px;
  font-family:"Russo One","Arial Black",sans-serif;
  font-size:clamp(26px,4.5vw,46px);font-weight:400;font-style:italic;
  line-height:1.15;letter-spacing:-.035em;white-space:nowrap;
  transform:none;text-shadow:none;filter:none;
}
.logo-master,.logo-file{position:relative;display:inline-block;padding-right:.16em;margin-right:-.16em;-webkit-text-stroke:1px #091b39;paint-order:stroke fill;
  text-shadow:none;filter:drop-shadow(0 2px 0 #153667) drop-shadow(0 1px 0 #071329) drop-shadow(0 3px 4px #06112b80)}
.logo-master{color:#f4fbff;background:linear-gradient(#fff 15%,#f0f9ff 43%,#b4c8e4 47%,#fff 53%,#c8ddf4 90%);background-clip:text;-webkit-text-fill-color:transparent}
.logo-file{color:#a9f8ff;background:linear-gradient(#f3ffff 8%,#b5faff 38%,#28d5ff 47%,#a9f6ff 56%,#4cb6ff 95%);background-clip:text;-webkit-text-fill-color:transparent}
.header-top .app-title:before{content:"";position:absolute;left:0;top:7%;width:14px;height:67%;background:linear-gradient(90deg,#8dfaff 0 35%,transparent 35% 60%,#fff 60%);transform:skewX(-17deg);filter:drop-shadow(0 0 5px #25dbff66)}
.header-top .app-title:after{content:"";position:absolute;bottom:0;left:18px;right:0;height:4px;background:linear-gradient(90deg,#8dfaff,#fff 55%,#38c7ff 80%,transparent);clip-path:polygon(0 0,100% 0,96% 100%,0 100%)}
@media(max-width:420px){.header-top{gap:14px;min-height:64px}.header-top .app-title.logo{font-size:clamp(21px,6vw,26px);padding-left:16px}.header-top .app-title:before{width:10px}.header-top .app-title:after{left:12px;height:3px}}
@media(forced-colors:active){.logo-master,.logo-file{-webkit-text-fill-color:CanvasText;-webkit-text-stroke:0;text-shadow:none}}

/* Bright brushed-silver section lettering, with a continuous horizontal reflection. */
:root{--silver-ink:#f5f7fc;--silver-low:#8998af;--silver-edge:#14213e;--silver-sweep-duration:3.4s}
.silver-label{
  display:inline-block;max-width:100%;position:relative;
  padding:1px 2px 2px 0;
  font-family:"Be Vietnam Pro","Segoe UI",sans-serif;
  font-weight:800;font-style:italic;font-size:18px;line-height:1.45;
  letter-spacing:-.025em;color:var(--silver-ink);
  -webkit-text-stroke:.35px #101b30;paint-order:stroke fill;
  text-shadow:none;
  filter:drop-shadow(0 1px 0 #080d19) drop-shadow(0 1px 0 #26344e);
}
.field-label .silver-label,.mode-copy .silver-label{font-size:16px}
@supports (background-clip:text){
  .silver-label{
    background-image:
      linear-gradient(105deg,transparent 32%,#ffffff0d 39%,#ffffffa6 45%,#fff 48%,#fff 52%,#ffffffa6 55%,#ffffff0d 61%,transparent 68%),
      linear-gradient(180deg,#fff 4%,#f1f5fc 28%,#b7c4d7 42%,var(--silver-low) 49%,#f9fcff 53%,#fff 64%,#bdc9dc 82%,#eaf2ff 100%);
    background-size:240% 100%,100% 100%;background-repeat:no-repeat;
    background-position:180% 0,0 0;
    background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;
    animation:silver-letter-sweep var(--silver-sweep-duration) linear infinite;
  }
}
@keyframes silver-letter-sweep{from{background-position:180% 0,0 0}to{background-position:-180% 0,0 0}}
@media(prefers-reduced-motion:reduce){.silver-label{animation:none;background-position:50% 0,0 0}}
@media(forced-colors:active){.silver-label{background:none;-webkit-text-fill-color:CanvasText;filter:none;animation:none}}

/* Keep supporting copy subordinate to the animated silver headings. */
.mode-copy small,.drop-zone #file-detail,.journal-caption{color:#bac4d7;font-weight:400}
.drop-zone #file-name{color:#d4dceb;font-size:13px;font-weight:500}
.download-field select{color:#d4dceb;font-weight:400}
.mode-copy strong{display:block;line-height:1.5}
@media(max-width:420px){.mode-copy{flex-direction:column;align-items:flex-start;gap:2px}.mode-copy .silver-label{font-size:16px}.silver-label{font-size:17px}}

/* Local panel palette: indigo #252d60, violet #392e62, steel #b9c9ef, cyan #94e7ff. */
.mode-card{background:linear-gradient(125deg,#293767,#392e62);border-color:#b9c9ef52;box-shadow:inset 0 1px 0 #ffffff14}
.mode-card:has(:checked){background:linear-gradient(125deg,#31547f,#4b3b7c);border-color:#94e7ffb3;box-shadow:inset 0 1px 0 #ffffff26,0 0 12px #80dfff15}
.drop-zone{background:linear-gradient(135deg,#24355c,#342951);border-color:#b9c9ef70;box-shadow:inset 0 1px 0 #ffffff12}
.drop-zone.is-over{background:linear-gradient(135deg,#345b81,#503c7a);border-color:#94e7ff}
.journal-surface{background:linear-gradient(145deg,#26345a,#30264b);border-color:#b9c9ef52}
.journal-surface .terminal-bar{background:#a9bcff0c;border-bottom-color:#b9c9ef33}
.download-field.field{background:linear-gradient(120deg,#2b3965,#3a2d60);border-color:#b9c9ef66}
.download-field select{background:transparent}
.field input{background:#2a355e;border-color:#b9c9ef66}
#choose{background:linear-gradient(110deg,#395c80,#59427e);border-color:#c0dcff80;box-shadow:inset 0 1px 0 #ffffff26}
#choose:hover:not(:disabled){background:linear-gradient(110deg,#476e95,#6a5192);border-color:#c9efff;box-shadow:inset 0 1px 0 #ffffff33,0 0 16px #9bccff20}
.btn-primary{background:linear-gradient(110deg,#497ba1,#7963a6);border-color:#d1dbff99;box-shadow:inset 0 1px 0 #ffffff40}
.btn-primary:not(:disabled):hover{background:linear-gradient(110deg,#598fb6,#9077bd);box-shadow:inset 0 1px 0 #ffffff50,0 0 20px #acbaff30}

/* Image Shadow sample, scoped exclusively to the small tool panels. */
.image-shadow-panel{position:relative;isolation:isolate}
.mode-card.image-shadow-panel,.mode-card.image-shadow-panel:has(:checked),.drop-zone.image-shadow-panel,.drop-zone.image-shadow-panel.is-over,.journal-surface.image-shadow-panel,.download-field.field.image-shadow-panel{background:transparent;overflow:visible;box-shadow:none}
.image-shadow-panel:before,.image-shadow-panel:after{content:"";position:absolute;pointer-events:none;border-radius:inherit;background-image:var(--panel-photo,url("assets/panel-smoke.jpg"));background-size:cover;background-position:center}
.image-shadow-panel:before{inset:0;z-index:-1;background-image:linear-gradient(110deg,#141c3ea6,#29203a85),var(--panel-photo,url("assets/panel-smoke.jpg"))}
.image-shadow-panel:after{left:5%;right:5%;top:15px;bottom:-12px;z-index:-2;filter:blur(12px);opacity:.32}
.mode-card.image-shadow-panel{transition:transform .3s cubic-bezier(.25,.45,.45,.95),border-color .2s}
.mode-card.image-shadow-panel:has(:checked){border-color:#b5f0ff;box-shadow:inset 0 0 0 1px #b5f0ff40}
.journal-surface.image-shadow-panel .terminal-bar{border-radius:11px 11px 0 0}
.download-field.image-shadow-panel select{border-radius:0 0 10px 10px}
@media(hover:hover){.mode-card.image-shadow-panel:hover{transform:scale(1.02)}}
@media(prefers-reduced-motion:reduce){.mode-card.image-shadow-panel:hover{transform:none}}

/* Distribute all four source images across five panels; the shared image returns once. */
.mode-card.image-shadow-panel:first-child{--panel-photo:url("assets/panel-leaves.jpg")}
.mode-card.image-shadow-panel:last-child{--panel-photo:url("assets/panel-smoke.jpg")}
.drop-zone.image-shadow-panel{--panel-photo:url("assets/panel-nature.jpg")}
.download-field.image-shadow-panel{--panel-photo:url("assets/panel-fourth.jpg")}
.journal-surface.image-shadow-panel{--panel-photo:url("assets/panel-leaves.jpg")}

/* The focus indicator belongs to the whole Download panel, not an inner rectangle. */
.download-field select:focus-visible{outline:none}
.download-field:has(select:focus-visible){outline:2px solid #b5eaff;outline-offset:3px}
.download-field select option{background-color:#243251;color:#f3f7ff}
@supports (appearance:base-select){
  .download-field #export-format,.download-field #export-format::picker(select){appearance:base-select}
  .download-field #export-format{display:flex;align-items:center;min-height:44px;height:auto;padding:10px 36px 10px 12px;cursor:pointer;transition:background-color .18s ease}
  .download-field #export-format:hover{background-color:#b5eaff12}
  .download-field #export-format::picker-icon{display:none}
  .download-field #export-format::picker(select){
    margin-top:8px;padding:6px;min-width:anchor-size(width);max-width:calc(100vw - 24px);
    border:1px solid #badfff99;border-radius:12px;color:#f3f7ff;
    background:linear-gradient(120deg,#152746ed,#322147e8),url("assets/panel-fourth.jpg") center/cover;
    box-shadow:0 12px 30px #08122c80,inset 0 1px 0 #ffffff26;
    opacity:0;transform:translateY(-5px);
    transition:opacity .18s ease,transform .18s ease,display .18s allow-discrete,overlay .18s allow-discrete;
  }
  .download-field #export-format::picker(select):popover-open{opacity:1;transform:translateY(0)}
  @starting-style{.download-field #export-format::picker(select):popover-open{opacity:0;transform:translateY(-5px)}}
  .download-field #export-format option{display:flex;align-items:center;gap:10px;min-height:44px;padding:10px 12px;border-radius:8px;border:1px solid transparent;background:transparent;color:#e5edfc;font:500 12px/1.5 "Be Vietnam Pro","Segoe UI",sans-serif;cursor:pointer;transition:background-color .16s ease,border-color .16s ease}
  .download-field #export-format option:checked{background:linear-gradient(110deg,#3b6688b3,#73558a99);border-color:#bbdfff5c;color:#fff}
  .download-field #export-format option:is(:hover,:focus-visible){background-color:#c3e5ff26;border-color:#c9e6ff80;outline:none}
  .download-field #export-format option::checkmark{color:#b9efff;order:1;margin-left:auto}
  .download-field .select-chevron{transition:transform .18s ease}
  .download-field:has(select:open) .select-chevron{transform:rotate(180deg)}
}
@media(prefers-reduced-motion:reduce){.download-field #export-format,.download-field #export-format::picker(select),.download-field #export-format option,.download-field .select-chevron{transition:none!important}}

/* Animated slate overlay adapted from the supplied Vue skeleton example. */
.image-shadow-panel:before{
  background-image:linear-gradient(-45deg,#33415580,#1e293b66),var(--panel-photo,url("assets/panel-smoke.jpg"));
  background-size:200% 200%,cover;
  background-position:0% 50%,center;
  animation:panel-overlay-gradient 1s ease infinite;
  animation-delay:var(--panel-overlay-delay,.25s);
}
.mode-card.image-shadow-panel:first-child{--panel-overlay-delay:.25s}
.mode-card.image-shadow-panel:last-child{--panel-overlay-delay:.5s}
.drop-zone.image-shadow-panel{--panel-overlay-delay:.75s}
.download-field.image-shadow-panel{--panel-overlay-delay:1s}
.journal-surface.image-shadow-panel{--panel-overlay-delay:1.25s}
@keyframes panel-overlay-gradient{0%,100%{background-position:0% 50%,center}50%{background-position:100% 50%,center}}
@media(prefers-reduced-motion:reduce){.image-shadow-panel:before{animation:none;background-position:50% 50%,center}}

/* Bubble decoration from the supplied HTML/SCSS; no global resets. */
.header-top .pl{--bubble-hue:223;display:flex;justify-content:space-between;align-items:center;filter:drop-shadow(.9em .9em 4px #0006);width:12em;height:72px;font-size:8px;flex:none;margin-left:auto;pointer-events:none}
.pl__bubble{position:relative;width:3em;height:3em}
.pl__bubble-drop{width:.125em;height:.5em;transform:translate(-50%,-3em);transform-origin:50% 0}
.pl__bubble:before,.pl__bubble:after,.pl__bubble-drop{position:absolute}
.pl__bubble:before,.pl__bubble:after,.pl__bubble-drop:before{content:"";display:block;animation:header-bubble-rise-before 1.5s linear infinite}
.pl__bubble:before,.pl__bubble:after{border-radius:50%}
.pl__bubble:after,.pl__bubble-drop{top:50%;left:50%}
.pl__bubble:before{box-shadow:0 -.0625em 0 .0625em hsl(var(--bubble-hue) 90% 90%) inset,0 0 0 .0625em hsl(var(--bubble-hue) 90% 70%) inset,0 0 .25em .25em hsl(var(--bubble-hue) 90% 70% / .7) inset;transform:translate(0,4.5em) scale(0)}
.pl__bubble:after{animation-name:header-bubble-rise-after;background-image:radial-gradient(25% 10% at 50% 5%,#fff 48%,#fff0 50%);width:87.5%;height:87.5%;transform:translate(-50%,-50%) translate(0,4.5em) rotate(-45deg) scale(0)}
.pl__bubble:before,.pl__bubble-drop:before{width:100%;height:100%}
.pl__bubble-drop:before{animation-name:header-bubble-drop;background-color:hsl(var(--bubble-hue) 90% 80%);border-radius:.0625em;transform:translateY(0) scaleY(0);transform-origin:50% 0}
.pl__bubble-drop:nth-child(2){transform:translate(-50%,-3em) rotate(51.42857142857143deg)}
.pl__bubble-drop:nth-child(3){transform:translate(-50%,-3em) rotate(102.85714285714286deg)}
.pl__bubble-drop:nth-child(4){transform:translate(-50%,-3em) rotate(154.28571428571428deg)}
.pl__bubble-drop:nth-child(5){transform:translate(-50%,-3em) rotate(205.71428571428572deg)}
.pl__bubble-drop:nth-child(6){transform:translate(-50%,-3em) rotate(257.14285714285717deg)}
.pl__bubble-drop:nth-child(7){transform:translate(-50%,-3em) rotate(308.57142857142856deg)}
.pl__bubble:nth-child(2):before,.pl__bubble:nth-child(2):after,.pl__bubble:nth-child(2) .pl__bubble-drop:before{animation-delay:0.15s}
.pl__bubble:nth-child(3):before,.pl__bubble:nth-child(3):after,.pl__bubble:nth-child(3) .pl__bubble-drop:before{animation-delay:0.3s}
@keyframes header-bubble-rise-before {
	from {
		animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0);
		transform: translate(0,4.5em) scale(0);
	}
	30% {
		animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1);
		transform: translate(0,0.75em) scale(1);
	}
	60% {
		animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0);
		opacity: 1;
		transform: translate(0,-3em) scale(1);
	}
	70%,
	to {
		opacity: 0;
		transform: translate(0,-3em) scale(0.25);
	}
}
@keyframes header-bubble-rise-after {
	from {
		animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0);
		transform: translate(-50%,-50%) translate(0,4.5em) rotate(-45deg) scale(0);
	}
	30% {
		animation-timing-function: cubic-bezier(0.61, 1, 0.88, 1);
		transform: translate(-50%,-50%) translate(0,0.75em) rotate(-45deg) scale(1);
	}
	60% {
		animation-timing-function: cubic-bezier(0.12, 0, 0.39, 0);
		opacity: 1;
		transform: translate(-50%,-50%) translate(0,-3em) rotate(-45deg) scale(1);
	}
	70%,
	to {
		opacity: 0;
		transform: translate(-50%,-50%) translate(0,-3em) rotate(-45deg) scale(0.25);
	}
}
@keyframes header-bubble-drop {
	from {
		animation-timing-function: steps(1,end);
		visibility: hidden;
		transform: translateY(0) scaleY(1);
	}
	65% {
		animation-timing-function: cubic-bezier(0.33,1,0.68,1);
		visibility: visible;
		transform: translateY(0) scaleY(1);
	}
	80%,
	to {
		transform: translateY(400%) scaleY(0);
	}
}
@media(max-width:620px){.header-top{gap:8px}.header-top .pl{font-size:3.5px;height:40px;margin-left:auto}}
@media(max-width:360px){.header-top .pl{display:none}}
@media(prefers-reduced-motion:reduce){.pl__bubble:before,.pl__bubble:after,.pl__bubble-drop:before{animation:none}.pl__bubble:before{transform:none;opacity:.8}.pl__bubble-drop{display:none}}

/* Keep the enlarged glossy bubbles next to the wordmark. */
.header-top .pl{margin-left:4px;margin-right:0;font-size:11px;width:12em;height:72px;filter:drop-shadow(0 0 5px #b6e8ff99) drop-shadow(0 4px 5px #17275f66)}
.header-top .checkbox-container{margin-left:auto}
.pl__bubble:before{box-shadow:0 -.08em 0 .09em #fff inset,0 0 0 .08em #b4dcff inset,0 0 .3em .12em #80bdffb3 inset,0 0 .28em #c0eeff80}
.pl__bubble:after{background-image:radial-gradient(30% 13% at 50% 7%,#fff 45%,#ffffffbb 55%,#fff0 75%),radial-gradient(12% 25% at 17% 40%,#ffffffb3,#fff0)}
@media(max-width:620px){.header-top .pl{font-size:4px;width:12em;height:40px;margin-left:0}.header-top{gap:6px}}
@media(max-width:360px){.header-top .pl{display:flex;font-size:2.8px;width:12em}.header-top{gap:3px}}

/* Glossy bubbles sit behind the wordmark, not beside it. */
.header-top .app-title.logo .pl{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:88%;height:72px;margin:0;font-size:11px;z-index:0;pointer-events:none}
.header-top .app-title.logo .logo-master,.header-top .app-title.logo .logo-file{z-index:1}
.header-top .app-title.logo:before,.header-top .app-title.logo:after{z-index:2}
@media(max-width:620px){.header-top .app-title.logo .pl{font-size:7px;height:48px}}

/* Clear original panel images: no gray overlay, animated veil, or blurred shadow. */
.image-shadow-panel:before{background-image:var(--panel-photo,url("assets/panel-smoke.jpg"));background-size:cover;background-position:center;animation:none;filter:none;opacity:1}
.image-shadow-panel:after{display:none}
#choose,.btn-primary,.mode-card.image-shadow-panel{filter:none;backdrop-filter:none}
.btn:disabled{opacity:1;filter:none;box-shadow:none;cursor:not-allowed}

/* Body/control font requested by the user; logo and silver headings retain their own families. */
@font-face{font-family:"Hammersmith One";src:url("assets/hammersmith-one.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}
body,.app-subtitle,.mode-copy small,.drop-zone #file-name,.drop-zone #file-detail,.btn,.btn .button-label,.field-label,.field input,.field select,.field select option,.download-field #export-format option,.journal-caption,.journal-output,.journal-output>div,.terminal-bar,.app-footer,.privacy-note,.processing,.status-label{font-family:"Hammersmith One","Be Vietnam Pro","Segoe UI",sans-serif}
